[2025-02-09 00:00:02] Production.INFO: ==2566== Lock acquired, processing the job...
[2025-02-09 00:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:00:02] Production.INFO: neon service started
[2025-02-09 00:00:02] Production.INFO: neon service started
[2025-02-09 00:00:02] Production.INFO: ==2566== Releasing lock...
[2025-02-09 00:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:00:02] Production.INFO: ==2570== Lock acquired, processing the job...
[2025-02-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:00:02] Production.INFO: ==2570== Releasing lock...
[2025-02-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:00:02] Production.INFO: ==2568== Lock acquired, processing the job...
[2025-02-08 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:00:03] Production.INFO: ==2568== Releasing lock...
[2025-02-08 19:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:00:04] Production.INFO: ==2573== Lock acquired, processing the job...
[2025-02-08 19:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 19:00:04] Production.INFO: ==2575== Lock acquired, processing the job...
[2025-02-08 19:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 19:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 19:00:04] Production.INFO: ==2573== Releasing lock...
[2025-02-08 19:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 19:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 19:00:04] Production.INFO: ==2577== Lock acquired, processing the job...
[2025-02-08 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:00:04] Production.INFO: ==2579== Lock acquired, processing the job...
[2025-02-08 19:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:00:04] Production.INFO: ==2585== Lock acquired, processing the job...
[2025-02-08 19:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 19:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:00:04] Production.INFO: ==2581== Lock acquired, processing the job...
[2025-02-08 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:00:04] Production.INFO: ==2587== Lock acquired, processing the job...
[2025-02-08 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:00:04] Production.INFO: ==2583== Lock acquired, processing the job...
[2025-02-08 19:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:00:04] Production.INFO: Account Balance Start.
[2025-02-08 19:00:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:00:04] Production.INFO: 117
[2025-02-08 19:00:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:00:04] Production.INFO: count ==21
[2025-02-08 19:00:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:00:04] Production.INFO: count ==21
[2025-02-08 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431708') start
[2025-02-08 19:00:04] Production.INFO: ==2577== Releasing lock...
[2025-02-08 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:00:05] Production.INFO: Total Charge 0
[2025-02-08 19:00:05] Production.INFO: CreateAllLog End
[2025-02-08 19:00:05] Production.ERROR: done
[2025-02-08 19:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:00:05] Production.ERROR: done
[2025-02-08 19:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14431708') end
[2025-02-08 19:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:00:05] Production.INFO: 1
[2025-02-08 19:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:00:05] Production.INFO: ==2587== Releasing lock...
[2025-02-08 19:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:00:05] Production.ERROR: done
[2025-02-08 19:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 19:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431710', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 19:00:05] Production.INFO: Account Balance End.
[2025-02-08 19:00:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:00:05] Production.INFO: ==2581== Releasing lock...
[2025-02-08 19:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:00:06
[end_date_ymd] => 2025-02-08 19:00:06
[RateCDR] => 1
)
[2025-02-08 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-02-08 16:00:06' and `end` < '2025-02-08 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-02-08 19:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431710', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 19:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 19:00:10] Production.INFO: ProcessCDR(1,14431710,1,1,2)
[2025-02-08 19:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14431710,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14431710,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:00:10] Production.INFO: ==2585== Releasing lock...
[2025-02-08 19:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 19:00:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 19:00:16] Production.ERROR: CronJobId end10
[2025-02-08 19:00:16] Production.INFO: ==2579== Releasing lock...
[2025-02-08 19:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:00:17] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:00:17] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:00:17] Production.INFO: call_cost start
[2025-02-08 19:00:17] Production.INFO: call_cost end
[2025-02-08 19:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:00:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:00:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:00:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:00:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:00:18] Production.INFO: ==2575== Releasing lock...
[2025-02-08 19:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:00:20] Production.INFO: count ==1767
[2025-02-08 19:00:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:00:06 - End Time 2025-02-08 19:00:06
[2025-02-08 19:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431711', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431711', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431711', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431711', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:00:20] Production.INFO: ProcessCDR(1,14431711,1,1,2)
[2025-02-08 19:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431711', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431711', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:00:25] Production.INFO: ==2583== Releasing lock...
[2025-02-08 19:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:00:25] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:01:01] Production.INFO: ==2652== Lock acquired, processing the job...
[2025-02-09 00:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:01:01] Production.INFO: neon service started
[2025-02-09 00:01:01] Production.INFO: neon service started
[2025-02-09 00:01:01] Production.INFO: ==2652== Releasing lock...
[2025-02-09 00:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:01:02] Production.INFO: ==2664== Lock acquired, processing the job...
[2025-02-08 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:01:02] Production.INFO: ==2664== Releasing lock...
[2025-02-08 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:01:02] Production.INFO: ==2666== Lock acquired, processing the job...
[2025-02-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:01:02] Production.INFO: ==2666== Releasing lock...
[2025-02-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:01:03] Production.INFO: ==2676== Lock acquired, processing the job...
[2025-02-08 19:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:01:03] Production.INFO: ==2678== Lock acquired, processing the job...
[2025-02-08 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:01:03] Production.INFO: ==2668== Lock acquired, processing the job...
[2025-02-08 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:01:03] Production.INFO: count ==21
[2025-02-08 19:01:03] Production.INFO: ==2670== Lock acquired, processing the job...
[2025-02-08 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:01:03] Production.INFO: count ==21
[2025-02-08 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431712') start
[2025-02-08 19:01:03] Production.INFO: ==2672== Lock acquired, processing the job...
[2025-02-08 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:01:03] Production.INFO: ==2674== Lock acquired, processing the job...
[2025-02-08 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431712') end
[2025-02-08 19:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:01:03] Production.INFO: 1
[2025-02-08 19:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:01:03] Production.ERROR: done
[2025-02-08 19:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:01:03] Production.INFO: ==2678== Releasing lock...
[2025-02-08 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:01:03] Production.INFO: Account Balance Start.
[2025-02-08 19:01:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:01:03] Production.INFO: 117
[2025-02-08 19:01:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:01:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:01:04] Production.INFO: Total Charge 0
[2025-02-08 19:01:04] Production.INFO: CreateAllLog End
[2025-02-08 19:01:04] Production.INFO: ==2670== Releasing lock...
[2025-02-08 19:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:01:04] Production.ERROR: done
[2025-02-08 19:01:04] Production.INFO: Account Balance End.
[2025-02-08 19:01:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:01:04] Production.INFO: ==2674== Releasing lock...
[2025-02-08 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:01:05
[end_date_ymd] => 2025-02-08 19:01:05
[RateCDR] => 1
)
[2025-02-08 19:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 16:01:05' and `end` < '2025-02-08 19:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-08 19:01:12] Production.ERROR: CronJobId end10
[2025-02-08 19:01:12] Production.INFO: ==2672== Releasing lock...
[2025-02-08 19:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:01:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:01:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:01:16] Production.INFO: call_cost start
[2025-02-08 19:01:16] Production.INFO: call_cost end
[2025-02-08 19:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:01:17] Production.INFO: ==2668== Releasing lock...
[2025-02-08 19:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:01:21] Production.INFO: count ==1827
[2025-02-08 19:01:21] Production.ERROR: pbx CDR StartTime 2025-02-08 16:01:05 - End Time 2025-02-08 19:01:05
[2025-02-08 19:01:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431716', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431716', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431716', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:01:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431716', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:01:21] Production.INFO: ProcessCDR(1,14431716,1,1,2)
[2025-02-08 19:01:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431716', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431716', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:01:26] Production.INFO: ==2676== Releasing lock...
[2025-02-08 19:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:01:26] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:02:02] Production.INFO: ==2826== Lock acquired, processing the job...
[2025-02-09 00:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:02:02] Production.INFO: neon service started
[2025-02-09 00:02:02] Production.INFO: neon service started
[2025-02-09 00:02:02] Production.INFO: ==2826== Releasing lock...
[2025-02-09 00:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:02:02] Production.INFO: ==2828== Lock acquired, processing the job...
[2025-02-08 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:02:03] Production.INFO: ==2828== Releasing lock...
[2025-02-08 19:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:02:03] Production.INFO: ==2830== Lock acquired, processing the job...
[2025-02-09 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:02:03] Production.INFO: ==2830== Releasing lock...
[2025-02-09 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:02:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:02:03] Production.INFO: ==2832== Lock acquired, processing the job...
[2025-02-08 19:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:02:03] Production.INFO: ==2836== Lock acquired, processing the job...
[2025-02-08 19:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:02:03] Production.INFO: ==2838== Lock acquired, processing the job...
[2025-02-08 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:02:04] Production.INFO: Account Balance Start.
[2025-02-08 19:02:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:02:04] Production.INFO: 117
[2025-02-08 19:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:02:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:02:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:02:04] Production.INFO: Total Charge 0
[2025-02-08 19:02:04] Production.INFO: CreateAllLog End
[2025-02-08 19:02:04] Production.INFO: ==2834== Lock acquired, processing the job...
[2025-02-08 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:02:04] Production.INFO: ==2840== Lock acquired, processing the job...
[2025-02-08 19:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:02:04] Production.INFO: ==2842== Lock acquired, processing the job...
[2025-02-08 19:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:02:04] Production.INFO: Account Balance End.
[2025-02-08 19:02:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:02:04] Production.INFO: ==2838== Releasing lock...
[2025-02-08 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:02:04] Production.INFO: ==2834== Releasing lock...
[2025-02-08 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:02:04] Production.ERROR: done
[2025-02-08 19:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:02:04] Production.INFO: count ==21
[2025-02-08 19:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:02:04] Production.INFO: count ==21
[2025-02-08 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431720') start
[2025-02-08 19:02:04] Production.ERROR: done
[2025-02-08 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431720') end
[2025-02-08 19:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:02:04] Production.INFO: 1
[2025-02-08 19:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:02:05] Production.INFO: ==2842== Releasing lock...
[2025-02-08 19:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:02:05
[end_date_ymd] => 2025-02-08 19:02:05
[RateCDR] => 1
)
[2025-02-08 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` >= '2025-02-08 16:02:05' and `end` < '2025-02-08 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 ,'')
[2025-02-08 19:02:13] Production.ERROR: CronJobId end10
[2025-02-08 19:02:13] Production.INFO: ==2836== Releasing lock...
[2025-02-08 19:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:02:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:02:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:02:15] Production.INFO: call_cost start
[2025-02-08 19:02:15] Production.INFO: call_cost end
[2025-02-08 19:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:02:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:02:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:02:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:02:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:02:16] Production.INFO: ==2832== Releasing lock...
[2025-02-08 19:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:02:19] Production.INFO: count ==1830
[2025-02-08 19:02:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:02:05 - End Time 2025-02-08 19:02:05
[2025-02-08 19:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431721', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431721', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431721', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431721', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:02:19] Production.INFO: ProcessCDR(1,14431721,1,1,2)
[2025-02-08 19:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431721', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431721', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:02:24] Production.INFO: ==2840== Releasing lock...
[2025-02-08 19:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:02:24] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 00:03:01] Production.INFO: ==2911== Lock acquired, processing the job...
[2025-02-09 00:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:03:01] Production.INFO: neon service started
[2025-02-09 00:03:01] Production.INFO: neon service started
[2025-02-09 00:03:01] Production.INFO: ==2911== Releasing lock...
[2025-02-09 00:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:03:02] Production.INFO: ==2913== Lock acquired, processing the job...
[2025-02-08 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:03:02] Production.INFO: ==2913== Releasing lock...
[2025-02-08 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:03:02] Production.INFO: ==2915== Lock acquired, processing the job...
[2025-02-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:03:02] Production.INFO: ==2915== Releasing lock...
[2025-02-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:03:03] Production.INFO: ==2919== Lock acquired, processing the job...
[2025-02-08 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:03:03] Production.INFO: ==2917== Lock acquired, processing the job...
[2025-02-08 19:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:03:03] Production.INFO: ==2923== Lock acquired, processing the job...
[2025-02-08 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:03:03] Production.INFO: ==2921== Lock acquired, processing the job...
[2025-02-08 19:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:03:03] Production.INFO: ==2925== Lock acquired, processing the job...
[2025-02-08 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:03:03] Production.INFO: Account Balance Start.
[2025-02-08 19:03:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:03:03] Production.INFO: 117
[2025-02-08 19:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:03:03] Production.INFO: ==2927== Lock acquired, processing the job...
[2025-02-08 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:03:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:03:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:03:03] Production.INFO: Total Charge 0
[2025-02-08 19:03:03] Production.INFO: CreateAllLog End
[2025-02-08 19:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:03:03] Production.INFO: ==2919== Releasing lock...
[2025-02-08 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:03:03] Production.INFO: Account Balance End.
[2025-02-08 19:03:03] Production.INFO: count ==21
[2025-02-08 19:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:03:03] Production.ERROR: CronJobId end 12
[2025-02-08 19:03:03] Production.INFO: ==2923== Releasing lock...
[2025-02-08 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:03:03] Production.INFO: count ==21
[2025-02-08 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431725') start
[2025-02-08 19:03:03] Production.ERROR: done
[2025-02-08 19:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431725') end
[2025-02-08 19:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:03:04] Production.INFO: 1
[2025-02-08 19:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:03:04] Production.INFO: ==2927== Releasing lock...
[2025-02-08 19:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:03:04] Production.ERROR: done
[2025-02-08 19:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:03:05
[end_date_ymd] => 2025-02-08 19:03:05
[RateCDR] => 1
)
[2025-02-08 19:03: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` >= '2025-02-08 16:03:05' and `end` < '2025-02-08 19:03: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 ,'')
[2025-02-08 19:03:13] Production.ERROR: CronJobId end10
[2025-02-08 19:03:13] Production.INFO: ==2921== Releasing lock...
[2025-02-08 19:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:03:15] Production.INFO: call_cost start
[2025-02-08 19:03:15] Production.INFO: call_cost end
[2025-02-08 19:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:03:16] Production.INFO: ==2917== Releasing lock...
[2025-02-08 19:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:03:20] Production.INFO: count ==1819
[2025-02-08 19:03:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:03:05 - End Time 2025-02-08 19:03:05
[2025-02-08 19:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431726', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431726', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431726', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431726', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:03:20] Production.INFO: ProcessCDR(1,14431726,1,1,2)
[2025-02-08 19:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431726', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431726', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:03:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:03:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:03:25] Production.INFO: ==2925== Releasing lock...
[2025-02-08 19:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:03:25] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:04:02] Production.INFO: ==2994== Lock acquired, processing the job...
[2025-02-09 00:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:04:02] Production.INFO: neon service started
[2025-02-09 00:04:02] Production.INFO: neon service started
[2025-02-09 00:04:02] Production.INFO: ==2994== Releasing lock...
[2025-02-09 00:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:04:02] Production.INFO: ==2996== Lock acquired, processing the job...
[2025-02-08 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:04:02] Production.INFO: ==2998== Lock acquired, processing the job...
[2025-02-09 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 19:04:02] Production.INFO: ==2996== Releasing lock...
[2025-02-08 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:04:02] Production.INFO: ==2998== Releasing lock...
[2025-02-09 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:04:03] Production.INFO: ==3006== Lock acquired, processing the job...
[2025-02-08 19:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:04:03] Production.INFO: ==3000== Lock acquired, processing the job...
[2025-02-08 19:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:04:03] Production.INFO: ==3010== Lock acquired, processing the job...
[2025-02-08 19:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:04:03] Production.INFO: ==3002== Lock acquired, processing the job...
[2025-02-08 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:04:03] Production.INFO: Account Balance Start.
[2025-02-08 19:04:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:04:03] Production.INFO: 117
[2025-02-08 19:04:03] Production.INFO: ==3004== Lock acquired, processing the job...
[2025-02-08 19:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:04:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:04:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:04:04] Production.INFO: ==3008== Lock acquired, processing the job...
[2025-02-08 19:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:04:04] Production.INFO: Total Charge 0
[2025-02-08 19:04:04] Production.INFO: count ==21
[2025-02-08 19:04:04] Production.INFO: CreateAllLog End
[2025-02-08 19:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:04:04] Production.INFO: count ==21
[2025-02-08 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431729') start
[2025-02-08 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431729') end
[2025-02-08 19:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:04:04] Production.INFO: 1
[2025-02-08 19:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:04:04] Production.ERROR: done
[2025-02-08 19:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:04:04] Production.INFO: ==3010== Releasing lock...
[2025-02-08 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:04:04] Production.INFO: ==3002== Releasing lock...
[2025-02-08 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:04:04] Production.INFO: Account Balance End.
[2025-02-08 19:04:04] Production.ERROR: done
[2025-02-08 19:04:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:04:04] Production.INFO: ==3006== Releasing lock...
[2025-02-08 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:04:05
[end_date_ymd] => 2025-02-08 19:04:05
[RateCDR] => 1
)
[2025-02-08 19:04: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` >= '2025-02-08 16:04:05' and `end` < '2025-02-08 19:04: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 ,'')
[2025-02-08 19:04:12] Production.ERROR: CronJobId end10
[2025-02-08 19:04:12] Production.INFO: ==3004== Releasing lock...
[2025-02-08 19:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:04:14] Production.INFO: call_cost start
[2025-02-08 19:04:14] Production.INFO: call_cost end
[2025-02-08 19:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:04:15] Production.INFO: ==3000== Releasing lock...
[2025-02-08 19:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:04:22] Production.INFO: count ==1821
[2025-02-08 19:04:22] Production.ERROR: pbx CDR StartTime 2025-02-08 16:04:05 - End Time 2025-02-08 19:04:05
[2025-02-08 19:04:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431731', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431731', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431731', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431731', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:04:22] Production.INFO: ProcessCDR(1,14431731,1,1,2)
[2025-02-08 19:04:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:04:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431731', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:04:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431731', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:04:27] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:04:27] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:04:27] Production.INFO: ==3008== Releasing lock...
[2025-02-08 19:04:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:04:27] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:05:01] Production.INFO: ==3157== Lock acquired, processing the job...
[2025-02-09 00:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:05:01] Production.INFO: neon service started
[2025-02-09 00:05:01] Production.INFO: neon service started
[2025-02-09 00:05:01] Production.INFO: ==3157== Releasing lock...
[2025-02-09 00:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:05:01] Production.INFO: ==3159== Lock acquired, processing the job...
[2025-02-08 19:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:05:02] Production.INFO: ==3159== Releasing lock...
[2025-02-08 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:05:02] Production.INFO: ==3161== Lock acquired, processing the job...
[2025-02-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:05:02] Production.INFO: ==3161== Releasing lock...
[2025-02-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:05:03] Production.INFO: ==3167== Lock acquired, processing the job...
[2025-02-08 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:05:03] Production.INFO: ==3163== Lock acquired, processing the job...
[2025-02-08 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:05:03] Production.INFO: ==3171== Lock acquired, processing the job...
[2025-02-08 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:05:03] Production.INFO: ==3165== Lock acquired, processing the job...
[2025-02-08 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:05:03] Production.INFO: ==3169== Lock acquired, processing the job...
[2025-02-08 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:05:03] Production.INFO: ==3173== Lock acquired, processing the job...
[2025-02-08 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:05:03] Production.INFO: Account Balance Start.
[2025-02-08 19:05:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:05:03] Production.INFO: 117
[2025-02-08 19:05:03] Production.INFO: count ==21
[2025-02-08 19:05:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:05:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:05:03] Production.INFO: count ==21
[2025-02-08 19:05:03] Production.ERROR: done
[2025-02-08 19:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:05:03] Production.INFO: ==3165== Releasing lock...
[2025-02-08 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431734') start
[2025-02-08 19:05:03] Production.INFO: Total Charge 0
[2025-02-08 19:05:03] Production.INFO: CreateAllLog End
[2025-02-08 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431734') end
[2025-02-08 19:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:05:03] Production.INFO: 1
[2025-02-08 19:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:05:04] Production.ERROR: done
[2025-02-08 19:05:04] Production.INFO: ==3173== Releasing lock...
[2025-02-08 19:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:05:04] Production.INFO: Account Balance End.
[2025-02-08 19:05:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:05:04] Production.INFO: ==3169== Releasing lock...
[2025-02-08 19:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:05:05
[end_date_ymd] => 2025-02-08 19:05:05
[RateCDR] => 1
)
[2025-02-08 19:05: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` >= '2025-02-08 16:05:05' and `end` < '2025-02-08 19:05: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 ,'')
[2025-02-08 19:05:12] Production.ERROR: CronJobId end10
[2025-02-08 19:05:12] Production.INFO: ==3167== Releasing lock...
[2025-02-08 19:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:05:14] Production.INFO: call_cost start
[2025-02-08 19:05:14] Production.INFO: call_cost end
[2025-02-08 19:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:05:15] Production.INFO: ==3163== Releasing lock...
[2025-02-08 19:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:05:18] Production.INFO: count ==1822
[2025-02-08 19:05:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:05:05 - End Time 2025-02-08 19:05:05
[2025-02-08 19:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431736', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431736', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431736', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431736', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:05:18] Production.INFO: ProcessCDR(1,14431736,1,1,2)
[2025-02-08 19:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431736', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431736', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:05:23] Production.INFO: ==3171== Releasing lock...
[2025-02-08 19:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:05:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:06:02] Production.INFO: ==3244== Lock acquired, processing the job...
[2025-02-09 00:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:06:02] Production.INFO: neon service started
[2025-02-09 00:06:02] Production.INFO: neon service started
[2025-02-09 00:06:02] Production.INFO: ==3244== Releasing lock...
[2025-02-09 00:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:06:02] Production.INFO: ==3246== Lock acquired, processing the job...
[2025-02-08 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:06:02] Production.INFO: ==3246== Releasing lock...
[2025-02-08 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:06:02] Production.INFO: ==3248== Lock acquired, processing the job...
[2025-02-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:06:02] Production.INFO: ==3248== Releasing lock...
[2025-02-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:06:03] Production.INFO: ==3255== Lock acquired, processing the job...
[2025-02-08 19:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:06:03] Production.INFO: ==3259== Lock acquired, processing the job...
[2025-02-08 19:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:06:03] Production.INFO: ==3251== Lock acquired, processing the job...
[2025-02-08 19:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:06:03] Production.INFO: ==3253== Lock acquired, processing the job...
[2025-02-08 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:06:03] Production.INFO: ==3257== Lock acquired, processing the job...
[2025-02-08 19:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:06:03] Production.INFO: ==3261== Lock acquired, processing the job...
[2025-02-08 19:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:06:04] Production.INFO: count ==21
[2025-02-08 19:06:04] Production.INFO: Account Balance Start.
[2025-02-08 19:06:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:06:04] Production.INFO: 117
[2025-02-08 19:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:06:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:06:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:06:04] Production.INFO: count ==21
[2025-02-08 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431739') start
[2025-02-08 19:06:04] Production.INFO: ==3253== Releasing lock...
[2025-02-08 19:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:06:04] Production.INFO: Total Charge 0
[2025-02-08 19:06:04] Production.ERROR: done
[2025-02-08 19:06:04] Production.INFO: CreateAllLog End
[2025-02-08 19:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431739') end
[2025-02-08 19:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:06:04] Production.INFO: 1
[2025-02-08 19:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:06:04] Production.ERROR: done
[2025-02-08 19:06:04] Production.INFO: ==3261== Releasing lock...
[2025-02-08 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:06:04] Production.INFO: Account Balance End.
[2025-02-08 19:06:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:06:04] Production.INFO: ==3257== Releasing lock...
[2025-02-08 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:06:05
[end_date_ymd] => 2025-02-08 19:06:05
[RateCDR] => 1
)
[2025-02-08 19:06: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` >= '2025-02-08 16:06:05' and `end` < '2025-02-08 19:06: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 ,'')
[2025-02-08 19:06:12] Production.ERROR: CronJobId end10
[2025-02-08 19:06:12] Production.INFO: ==3255== Releasing lock...
[2025-02-08 19:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:06:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:06:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:06:15] Production.INFO: call_cost start
[2025-02-08 19:06:15] Production.INFO: call_cost end
[2025-02-08 19:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:06:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:06:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:06:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:06:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:06:16] Production.INFO: ==3251== Releasing lock...
[2025-02-08 19:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:06:18] Production.INFO: count ==1825
[2025-02-08 19:06:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:06:05 - End Time 2025-02-08 19:06:05
[2025-02-08 19:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431741', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431741', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431741', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431741', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:06:18] Production.INFO: ProcessCDR(1,14431741,1,1,2)
[2025-02-08 19:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431741', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431741', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:06:23] Production.INFO: ==3259== Releasing lock...
[2025-02-08 19:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:06:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:07:01] Production.INFO: ==3320== Lock acquired, processing the job...
[2025-02-09 00:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:07:01] Production.INFO: neon service started
[2025-02-09 00:07:01] Production.INFO: neon service started
[2025-02-09 00:07:01] Production.INFO: ==3320== Releasing lock...
[2025-02-09 00:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:07:01] Production.INFO: ==3322== Lock acquired, processing the job...
[2025-02-08 19:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:07:02] Production.INFO: ==3322== Releasing lock...
[2025-02-08 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:07:02] Production.INFO: ==3324== Lock acquired, processing the job...
[2025-02-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:07:02] Production.INFO: ==3324== Releasing lock...
[2025-02-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:07:03] Production.INFO: ==3338== Lock acquired, processing the job...
[2025-02-08 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:07:03] Production.INFO: ==3336== Lock acquired, processing the job...
[2025-02-08 19:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:07:03] Production.INFO: ==3327== Lock acquired, processing the job...
[2025-02-08 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:07:03] Production.INFO: ==3329== Lock acquired, processing the job...
[2025-02-08 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:07:03] Production.INFO: ==3332== Lock acquired, processing the job...
[2025-02-08 19:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:07:03] Production.INFO: count ==21
[2025-02-08 19:07:03] Production.INFO: ==3334== Lock acquired, processing the job...
[2025-02-08 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:07:03] Production.INFO: count ==21
[2025-02-08 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431742') start
[2025-02-08 19:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431742') end
[2025-02-08 19:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:07:03] Production.INFO: 1
[2025-02-08 19:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:07:03] Production.INFO: Account Balance Start.
[2025-02-08 19:07:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:07:03] Production.INFO: 117
[2025-02-08 19:07:03] Production.INFO: ==3338== Releasing lock...
[2025-02-08 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:07:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:07:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:07:03] Production.INFO: Total Charge 0
[2025-02-08 19:07:03] Production.INFO: CreateAllLog End
[2025-02-08 19:07:03] Production.ERROR: done
[2025-02-08 19:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:07:03] Production.INFO: ==3329== Releasing lock...
[2025-02-08 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:07:03] Production.ERROR: done
[2025-02-08 19:07:03] Production.INFO: Account Balance End.
[2025-02-08 19:07:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:07:04] Production.INFO: ==3334== Releasing lock...
[2025-02-08 19:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:07:04
[end_date_ymd] => 2025-02-08 19:07:04
[RateCDR] => 1
)
[2025-02-08 19:07:04] 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-02-08 16:07:04' and `end` < '2025-02-08 19:07:04'
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-02-08 19:07:11] Production.ERROR: CronJobId end10
[2025-02-08 19:07:11] Production.INFO: ==3332== Releasing lock...
[2025-02-08 19:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:07:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:07:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:07:14] Production.INFO: call_cost start
[2025-02-08 19:07:14] Production.INFO: call_cost end
[2025-02-08 19:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:07:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:07:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:07:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:07:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:07:15] Production.INFO: ==3327== Releasing lock...
[2025-02-08 19:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:07:18] Production.INFO: count ==1824
[2025-02-08 19:07:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:07:04 - End Time 2025-02-08 19:07:04
[2025-02-08 19:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431746', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431746', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431746', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431746', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:07:18] Production.INFO: ProcessCDR(1,14431746,1,1,2)
[2025-02-08 19:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431746', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431746', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:07:22] Production.INFO: ==3336== Releasing lock...
[2025-02-08 19:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:07:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:08:01] Production.INFO: ==3479== Lock acquired, processing the job...
[2025-02-09 00:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:08:01] Production.INFO: neon service started
[2025-02-09 00:08:01] Production.INFO: neon service started
[2025-02-09 00:08:01] Production.INFO: ==3479== Releasing lock...
[2025-02-09 00:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:08:02] Production.INFO: ==3481== Lock acquired, processing the job...
[2025-02-08 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:08:02] Production.INFO: ==3481== Releasing lock...
[2025-02-08 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:08:02] Production.INFO: ==3483== Lock acquired, processing the job...
[2025-02-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:08:02] Production.INFO: ==3483== Releasing lock...
[2025-02-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:08:03] Production.INFO: ==3485== Lock acquired, processing the job...
[2025-02-08 19:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:08:03] Production.INFO: ==3493== Lock acquired, processing the job...
[2025-02-08 19:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:08:03] Production.INFO: ==3487== Lock acquired, processing the job...
[2025-02-08 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:08:03] Production.INFO: ==3495== Lock acquired, processing the job...
[2025-02-08 19:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:08:03] Production.INFO: ==3489== Lock acquired, processing the job...
[2025-02-08 19:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:08:03] Production.INFO: ==3491== Lock acquired, processing the job...
[2025-02-08 19:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:08:03] Production.INFO: count ==21
[2025-02-08 19:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:08:03] Production.INFO: Account Balance Start.
[2025-02-08 19:08:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:08:03] Production.INFO: 117
[2025-02-08 19:08:03] Production.INFO: count ==21
[2025-02-08 19:08:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431748') start
[2025-02-08 19:08:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:08:04] Production.ERROR: done
[2025-02-08 19:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:08:04] Production.INFO: Total Charge 0
[2025-02-08 19:08:04] Production.INFO: CreateAllLog End
[2025-02-08 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431748') end
[2025-02-08 19:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:08:04] Production.INFO: 1
[2025-02-08 19:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:08:04] Production.INFO: ==3487== Releasing lock...
[2025-02-08 19:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:08:04] Production.ERROR: done
[2025-02-08 19:08:04] Production.INFO: ==3495== Releasing lock...
[2025-02-08 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:08:04] Production.INFO: Account Balance End.
[2025-02-08 19:08:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:08:04] Production.INFO: ==3491== Releasing lock...
[2025-02-08 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:08:05
[end_date_ymd] => 2025-02-08 19:08:05
[RateCDR] => 1
)
[2025-02-08 19:08: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` >= '2025-02-08 16:08:05' and `end` < '2025-02-08 19:08: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 ,'')
[2025-02-08 19:08:12] Production.ERROR: CronJobId end10
[2025-02-08 19:08:12] Production.INFO: ==3489== Releasing lock...
[2025-02-08 19:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:08:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:08:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:08:14] Production.INFO: call_cost start
[2025-02-08 19:08:14] Production.INFO: call_cost end
[2025-02-08 19:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:08:15] Production.INFO: ==3485== Releasing lock...
[2025-02-08 19:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:08:18] Production.INFO: count ==1823
[2025-02-08 19:08:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:08:05 - End Time 2025-02-08 19:08:05
[2025-02-08 19:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431751', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431751', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431751', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431751', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:08:19] Production.INFO: ProcessCDR(1,14431751,1,1,2)
[2025-02-08 19:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431751', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431751', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:08:24] Production.INFO: ==3493== Releasing lock...
[2025-02-08 19:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:08:24] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:09:01] Production.INFO: ==3559== Lock acquired, processing the job...
[2025-02-09 00:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:09:01] Production.INFO: neon service started
[2025-02-09 00:09:01] Production.INFO: neon service started
[2025-02-09 00:09:01] Production.INFO: ==3559== Releasing lock...
[2025-02-09 00:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:09:01] Production.INFO: ==3561== Lock acquired, processing the job...
[2025-02-08 19:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:09:02] Production.INFO: ==3563== Lock acquired, processing the job...
[2025-02-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 19:09:02] Production.INFO: ==3561== Releasing lock...
[2025-02-08 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:09:02] Production.INFO: ==3563== Releasing lock...
[2025-02-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:09:02] Production.INFO: ==3565== Lock acquired, processing the job...
[2025-02-08 19:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:09:02] Production.INFO: ==3571== Lock acquired, processing the job...
[2025-02-08 19:09:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:09:03] Production.INFO: Account Balance Start.
[2025-02-08 19:09:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:09:03] Production.INFO: 117
[2025-02-08 19:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:09:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:09:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:09:03] Production.INFO: Total Charge 0
[2025-02-08 19:09:03] Production.INFO: CreateAllLog End
[2025-02-08 19:09:03] Production.INFO: ==3567== Lock acquired, processing the job...
[2025-02-08 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:09:03] Production.INFO: ==3569== Lock acquired, processing the job...
[2025-02-08 19:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:09:03] Production.INFO: ==3573== Lock acquired, processing the job...
[2025-02-08 19:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:09:03] Production.INFO: ==3575== Lock acquired, processing the job...
[2025-02-08 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:09:03] Production.INFO: Account Balance End.
[2025-02-08 19:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:09:03] Production.ERROR: CronJobId end 12
[2025-02-08 19:09:03] Production.INFO: ==3571== Releasing lock...
[2025-02-08 19:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:09:03] Production.INFO: count ==21
[2025-02-08 19:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:09:03] Production.INFO: count ==21
[2025-02-08 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431755') start
[2025-02-08 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431755') end
[2025-02-08 19:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:09:04] Production.INFO: 1
[2025-02-08 19:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:09:04] Production.INFO: ==3567== Releasing lock...
[2025-02-08 19:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:09:04] Production.ERROR: done
[2025-02-08 19:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:09:04] Production.INFO: ==3575== Releasing lock...
[2025-02-08 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:09:04] Production.ERROR: done
[2025-02-08 19:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:09:05
[end_date_ymd] => 2025-02-08 19:09:05
[RateCDR] => 1
)
[2025-02-08 19:09: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` >= '2025-02-08 16:09:05' and `end` < '2025-02-08 19:09: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 ,'')
[2025-02-08 19:09:12] Production.ERROR: CronJobId end10
[2025-02-08 19:09:12] Production.INFO: ==3569== Releasing lock...
[2025-02-08 19:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:09:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:09:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:09:14] Production.INFO: call_cost start
[2025-02-08 19:09:14] Production.INFO: call_cost end
[2025-02-08 19:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:09:15] Production.INFO: ==3565== Releasing lock...
[2025-02-08 19:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:09:18] Production.INFO: count ==1821
[2025-02-08 19:09:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:09:05 - End Time 2025-02-08 19:09:05
[2025-02-08 19:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431756', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431756', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431756', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431756', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:09:18] Production.INFO: ProcessCDR(1,14431756,1,1,2)
[2025-02-08 19:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431756', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431756', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:09:22] Production.INFO: ==3573== Releasing lock...
[2025-02-08 19:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:09:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:10:01] Production.INFO: ==3642== Lock acquired, processing the job...
[2025-02-09 00:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:10:01] Production.INFO: neon service started
[2025-02-09 00:10:01] Production.INFO: neon service started
[2025-02-09 00:10:01] Production.INFO: ==3642== Releasing lock...
[2025-02-09 00:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:10:02] Production.INFO: ==3644== Lock acquired, processing the job...
[2025-02-08 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:10:02] Production.INFO: ==3646== Lock acquired, processing the job...
[2025-02-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:10:02] Production.INFO: ==3646== Releasing lock...
[2025-02-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:10:02] Production.INFO: ==3644== Releasing lock...
[2025-02-08 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:10:03] Production.INFO: ==3649== Lock acquired, processing the job...
[2025-02-08 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 19:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 19:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 19:10:03] Production.INFO: ==3649== Releasing lock...
[2025-02-08 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 19:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 19:10:03] Production.INFO: ==3655== Lock acquired, processing the job...
[2025-02-08 19:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:10:04] Production.INFO: ==3657== Lock acquired, processing the job...
[2025-02-08 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:10:04] Production.INFO: ==3663== Lock acquired, processing the job...
[2025-02-08 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:10:04] Production.INFO: ==3651== Lock acquired, processing the job...
[2025-02-08 19:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:10:04] Production.INFO: ==3653== Lock acquired, processing the job...
[2025-02-08 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:10:04] Production.INFO: Account Balance Start.
[2025-02-08 19:10:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:10:04] Production.INFO: 117
[2025-02-08 19:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:10:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:10:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:10:04] Production.INFO: ==3659== Lock acquired, processing the job...
[2025-02-08 19:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:10:04] Production.INFO: Total Charge 0
[2025-02-08 19:10:04] Production.INFO: ==3661== Lock acquired, processing the job...
[2025-02-08 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 19:10:04] Production.INFO: CreateAllLog End
[2025-02-08 19:10:04] Production.INFO: count ==21
[2025-02-08 19:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:10:04] Production.INFO: count ==21
[2025-02-08 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431758') start
[2025-02-08 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431758') end
[2025-02-08 19:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:10:04] Production.INFO: 1
[2025-02-08 19:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:10:04] Production.INFO: ==3653== Releasing lock...
[2025-02-08 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:10:04] Production.INFO: ==3663== Releasing lock...
[2025-02-08 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:10:04] Production.ERROR: done
[2025-02-08 19:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:10:04] Production.ERROR: done
[2025-02-08 19:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 19:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431761', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 19:10:05] Production.ERROR: done
[2025-02-08 19:10:05] Production.INFO: Account Balance End.
[2025-02-08 19:10:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:10:05] Production.INFO: ==3657== Releasing lock...
[2025-02-08 19:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:10:06
[end_date_ymd] => 2025-02-08 19:10:06
[RateCDR] => 1
)
[2025-02-08 19:10: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-02-08 16:10:06' and `end` < '2025-02-08 19:10: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-02-08 19:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431761', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 19:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 19:10:09] Production.INFO: ProcessCDR(1,14431761,1,1,2)
[2025-02-08 19:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14431761,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14431761,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:10:09] Production.INFO: ==3661== Releasing lock...
[2025-02-08 19:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 19:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 19:10:14] Production.ERROR: CronJobId end10
[2025-02-08 19:10:14] Production.INFO: ==3655== Releasing lock...
[2025-02-08 19:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:10:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:10:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:10:16] Production.INFO: call_cost start
[2025-02-08 19:10:16] Production.INFO: call_cost end
[2025-02-08 19:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:10:17] Production.INFO: ==3651== Releasing lock...
[2025-02-08 19:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:10:19] Production.INFO: count ==1819
[2025-02-08 19:10:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:10:06 - End Time 2025-02-08 19:10:06
[2025-02-08 19:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431762', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431762', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431762', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431762', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:10:19] Production.INFO: ProcessCDR(1,14431762,1,1,2)
[2025-02-08 19:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431762', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431762', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:10:22] Production.INFO: ==3659== Releasing lock...
[2025-02-08 19:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:10:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:11:02] Production.INFO: ==3720== Lock acquired, processing the job...
[2025-02-09 00:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:11:02] Production.INFO: neon service started
[2025-02-09 00:11:02] Production.INFO: neon service started
[2025-02-09 00:11:02] Production.INFO: ==3720== Releasing lock...
[2025-02-09 00:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:11:02] Production.INFO: ==3722== Lock acquired, processing the job...
[2025-02-08 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:11:02] Production.INFO: ==3724== Lock acquired, processing the job...
[2025-02-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 19:11:02] Production.INFO: ==3722== Releasing lock...
[2025-02-08 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:11:02] Production.INFO: ==3724== Releasing lock...
[2025-02-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:11:03] Production.INFO: ==3727== Lock acquired, processing the job...
[2025-02-08 19:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:11:03] Production.INFO: ==3735== Lock acquired, processing the job...
[2025-02-08 19:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:11:03] Production.INFO: ==3737== Lock acquired, processing the job...
[2025-02-08 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:11:04] Production.INFO: ==3729== Lock acquired, processing the job...
[2025-02-08 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:11:04] Production.INFO: ==3731== Lock acquired, processing the job...
[2025-02-08 19:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:11:04] Production.INFO: ==3733== Lock acquired, processing the job...
[2025-02-08 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:11:04] Production.INFO: count ==21
[2025-02-08 19:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:11:04] Production.INFO: count ==21
[2025-02-08 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431764') start
[2025-02-08 19:11:04] Production.INFO: Account Balance Start.
[2025-02-08 19:11:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:11:04] Production.INFO: 117
[2025-02-08 19:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:11:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:11:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431764') end
[2025-02-08 19:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:11:04] Production.INFO: 1
[2025-02-08 19:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:11:04] Production.ERROR: done
[2025-02-08 19:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:11:04] Production.INFO: ==3737== Releasing lock...
[2025-02-08 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:11:04] Production.INFO: ==3729== Releasing lock...
[2025-02-08 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:11:04] Production.INFO: Total Charge 0
[2025-02-08 19:11:04] Production.INFO: CreateAllLog End
[2025-02-08 19:11:04] Production.ERROR: done
[2025-02-08 19:11:04] Production.INFO: Account Balance End.
[2025-02-08 19:11:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:11:04] Production.INFO: ==3733== Releasing lock...
[2025-02-08 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:11:05
[end_date_ymd] => 2025-02-08 19:11:05
[RateCDR] => 1
)
[2025-02-08 19:11: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` >= '2025-02-08 16:11:05' and `end` < '2025-02-08 19:11: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 ,'')
[2025-02-08 19:11:13] Production.ERROR: CronJobId end10
[2025-02-08 19:11:13] Production.INFO: ==3731== Releasing lock...
[2025-02-08 19:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:11:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:11:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:11:15] Production.INFO: call_cost start
[2025-02-08 19:11:15] Production.INFO: call_cost end
[2025-02-08 19:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:11:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:11:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:11:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:11:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:11:16] Production.INFO: ==3727== Releasing lock...
[2025-02-08 19:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:11:20] Production.INFO: count ==1815
[2025-02-08 19:11:21] Production.ERROR: pbx CDR StartTime 2025-02-08 16:11:05 - End Time 2025-02-08 19:11:05
[2025-02-08 19:11:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431767', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431767', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431767', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431767', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:11:21] Production.INFO: ProcessCDR(1,14431767,1,1,2)
[2025-02-08 19:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431767', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431767', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:11:25] Production.INFO: ==3735== Releasing lock...
[2025-02-08 19:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:11:25] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:12:01] Production.INFO: ==3912== Lock acquired, processing the job...
[2025-02-09 00:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:12:01] Production.INFO: neon service started
[2025-02-09 00:12:01] Production.INFO: neon service started
[2025-02-09 00:12:01] Production.INFO: ==3912== Releasing lock...
[2025-02-09 00:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:12:01] Production.INFO: ==3914== Lock acquired, processing the job...
[2025-02-08 19:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:12:02] Production.INFO: ==3914== Releasing lock...
[2025-02-08 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:12:02] Production.INFO: ==3916== Lock acquired, processing the job...
[2025-02-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:12:02] Production.INFO: ==3916== Releasing lock...
[2025-02-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:12:03] Production.INFO: ==3920== Lock acquired, processing the job...
[2025-02-08 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:12:03] Production.INFO: ==3922== Lock acquired, processing the job...
[2025-02-08 19:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:12:03] Production.INFO: ==3924== Lock acquired, processing the job...
[2025-02-08 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:12:03] Production.INFO: Account Balance Start.
[2025-02-08 19:12:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:12:03] Production.INFO: 117
[2025-02-08 19:12:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:12:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:12:03] Production.INFO: ==3920== Releasing lock...
[2025-02-08 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:12:03] Production.INFO: Total Charge 0
[2025-02-08 19:12:03] Production.INFO: CreateAllLog End
[2025-02-08 19:12:03] Production.INFO: ==3918== Lock acquired, processing the job...
[2025-02-08 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:12:03] Production.INFO: ==3926== Lock acquired, processing the job...
[2025-02-08 19:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:12:03] Production.INFO: ==3928== Lock acquired, processing the job...
[2025-02-08 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:12:03] Production.INFO: Account Balance End.
[2025-02-08 19:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:12:03] Production.ERROR: CronJobId end 12
[2025-02-08 19:12:03] Production.INFO: ==3924== Releasing lock...
[2025-02-08 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:12:03] Production.INFO: count ==21
[2025-02-08 19:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:12:03] Production.ERROR: done
[2025-02-08 19:12:03] Production.INFO: count ==21
[2025-02-08 19:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431771') start
[2025-02-08 19:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431771') end
[2025-02-08 19:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:12:04] Production.INFO: 1
[2025-02-08 19:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:12:04] Production.ERROR: done
[2025-02-08 19:12:04] Production.INFO: ==3928== Releasing lock...
[2025-02-08 19:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:12:05
[end_date_ymd] => 2025-02-08 19:12:05
[RateCDR] => 1
)
[2025-02-08 19:12: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` >= '2025-02-08 16:12:05' and `end` < '2025-02-08 19:12: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 ,'')
[2025-02-08 19:12:12] Production.ERROR: CronJobId end10
[2025-02-08 19:12:12] Production.INFO: ==3922== Releasing lock...
[2025-02-08 19:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:12:14] Production.INFO: call_cost start
[2025-02-08 19:12:14] Production.INFO: call_cost end
[2025-02-08 19:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:12:15] Production.INFO: ==3918== Releasing lock...
[2025-02-08 19:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:12:18] Production.INFO: count ==1814
[2025-02-08 19:12:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:12:05 - End Time 2025-02-08 19:12:05
[2025-02-08 19:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431772', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431772', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431772', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431772', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:12:18] Production.INFO: ProcessCDR(1,14431772,1,1,2)
[2025-02-08 19:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431772', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431772', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:12:23] Production.INFO: ==3926== Releasing lock...
[2025-02-08 19:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:12:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 00:13:01] Production.INFO: ==3988== Lock acquired, processing the job...
[2025-02-09 00:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:13:01] Production.INFO: neon service started
[2025-02-09 00:13:01] Production.INFO: neon service started
[2025-02-09 00:13:02] Production.INFO: ==3988== Releasing lock...
[2025-02-09 00:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:13:02] Production.INFO: ==3992== Lock acquired, processing the job...
[2025-02-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:13:02] Production.INFO: ==3992== Releasing lock...
[2025-02-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:13:02] Production.INFO: ==3990== Lock acquired, processing the job...
[2025-02-08 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:13:02] Production.INFO: ==3990== Releasing lock...
[2025-02-08 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:13:03] Production.INFO: ==3998== Lock acquired, processing the job...
[2025-02-08 19:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:13:03] Production.INFO: ==3994== Lock acquired, processing the job...
[2025-02-08 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:13:03] Production.INFO: ==4005== Lock acquired, processing the job...
[2025-02-08 19:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:13:03] Production.INFO: ==3996== Lock acquired, processing the job...
[2025-02-08 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:13:03] Production.INFO: ==4000== Lock acquired, processing the job...
[2025-02-08 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:13:03] Production.INFO: count ==21
[2025-02-08 19:13:03] Production.INFO: ==4002== Lock acquired, processing the job...
[2025-02-08 19:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:13:03] Production.INFO: count ==21
[2025-02-08 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431774') start
[2025-02-08 19:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:13:04] Production.INFO: Account Balance Start.
[2025-02-08 19:13:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:13:04] Production.INFO: 117
[2025-02-08 19:13:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:13:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:13:04] Production.INFO: Total Charge 0
[2025-02-08 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431774') end
[2025-02-08 19:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:13:04] Production.INFO: 1
[2025-02-08 19:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:13:04] Production.INFO: CreateAllLog End
[2025-02-08 19:13:04] Production.INFO: ==3996== Releasing lock...
[2025-02-08 19:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:13:04] Production.INFO: ==4005== Releasing lock...
[2025-02-08 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:13:04] Production.ERROR: done
[2025-02-08 19:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:13:04] Production.INFO: Account Balance End.
[2025-02-08 19:13:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:13:04] Production.INFO: ==4000== Releasing lock...
[2025-02-08 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:13:04] Production.ERROR: done
[2025-02-08 19:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:13:05
[end_date_ymd] => 2025-02-08 19:13:05
[RateCDR] => 1
)
[2025-02-08 19:13: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` >= '2025-02-08 16:13:05' and `end` < '2025-02-08 19:13: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 ,'')
[2025-02-08 19:13:12] Production.ERROR: CronJobId end10
[2025-02-08 19:13:12] Production.INFO: ==3998== Releasing lock...
[2025-02-08 19:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:13:14] Production.INFO: call_cost start
[2025-02-08 19:13:14] Production.INFO: call_cost end
[2025-02-08 19:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:13:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:13:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:13:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:13:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:13:15] Production.INFO: ==3994== Releasing lock...
[2025-02-08 19:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:13:19] Production.INFO: count ==1808
[2025-02-08 19:13:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:13:05 - End Time 2025-02-08 19:13:05
[2025-02-08 19:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431777', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431777', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431777', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431777', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:13:19] Production.INFO: ProcessCDR(1,14431777,1,1,2)
[2025-02-08 19:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431777', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431777', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:13:22] Production.INFO: ==4002== Releasing lock...
[2025-02-08 19:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:13:22] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 00:14:01] Production.INFO: ==4062== Lock acquired, processing the job...
[2025-02-09 00:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:14:01] Production.INFO: neon service started
[2025-02-09 00:14:01] Production.INFO: neon service started
[2025-02-09 00:14:01] Production.INFO: ==4062== Releasing lock...
[2025-02-09 00:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:14:01] Production.INFO: ==4064== Lock acquired, processing the job...
[2025-02-08 19:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:14:02] Production.INFO: ==4066== Lock acquired, processing the job...
[2025-02-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 19:14:02] Production.INFO: ==4064== Releasing lock...
[2025-02-08 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:14:02] Production.INFO: ==4066== Releasing lock...
[2025-02-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:14:03] Production.INFO: ==4068== Lock acquired, processing the job...
[2025-02-08 19:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:14:03] Production.INFO: ==4074== Lock acquired, processing the job...
[2025-02-08 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:14:03] Production.INFO: ==4076== Lock acquired, processing the job...
[2025-02-08 19:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:14:03] Production.INFO: ==4070== Lock acquired, processing the job...
[2025-02-08 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:14:03] Production.INFO: ==4072== Lock acquired, processing the job...
[2025-02-08 19:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:14:03] Production.INFO: Account Balance Start.
[2025-02-08 19:14:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:14:03] Production.INFO: 117
[2025-02-08 19:14:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:14:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:14:03] Production.INFO: Total Charge 0
[2025-02-08 19:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:14:03] Production.INFO: ==4078== Lock acquired, processing the job...
[2025-02-08 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:14:03] Production.INFO: CreateAllLog End
[2025-02-08 19:14:03] Production.INFO: ==4070== Releasing lock...
[2025-02-08 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:14:03] Production.ERROR: done
[2025-02-08 19:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:14:03] Production.INFO: count ==21
[2025-02-08 19:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:14:03] Production.INFO: count ==21
[2025-02-08 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431781') start
[2025-02-08 19:14:03] Production.INFO: Account Balance End.
[2025-02-08 19:14:03] Production.ERROR: CronJobId end 12
[2025-02-08 19:14:03] Production.INFO: ==4074== Releasing lock...
[2025-02-08 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:14:03] Production.ERROR: done
[2025-02-08 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431781') end
[2025-02-08 19:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:14:03] Production.INFO: 1
[2025-02-08 19:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:14:04] Production.INFO: ==4078== Releasing lock...
[2025-02-08 19:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:14:05
[end_date_ymd] => 2025-02-08 19:14:05
[RateCDR] => 1
)
[2025-02-08 19:14: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` >= '2025-02-08 16:14:05' and `end` < '2025-02-08 19:14: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 ,'')
[2025-02-08 19:14:11] Production.ERROR: CronJobId end10
[2025-02-08 19:14:11] Production.INFO: ==4072== Releasing lock...
[2025-02-08 19:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:14:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:14:13] Production.INFO: call_cost start
[2025-02-08 19:14:13] Production.INFO: call_cost end
[2025-02-08 19:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:14:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:14:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:14:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:14:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:14:14] Production.INFO: ==4068== Releasing lock...
[2025-02-08 19:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:14:18] Production.INFO: count ==1808
[2025-02-08 19:14:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:14:05 - End Time 2025-02-08 19:14:05
[2025-02-08 19:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431782', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431782', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431782', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431782', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:14:18] Production.INFO: ProcessCDR(1,14431782,1,1,2)
[2025-02-08 19:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431782', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431782', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:14:23] Production.INFO: ==4076== Releasing lock...
[2025-02-08 19:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:14:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 00:15:01] Production.INFO: ==4214== Lock acquired, processing the job...
[2025-02-09 00:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:15:01] Production.INFO: neon service started
[2025-02-09 00:15:01] Production.INFO: neon service started
[2025-02-09 00:15:01] Production.INFO: ==4214== Releasing lock...
[2025-02-09 00:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:15:02] Production.INFO: ==4216== Lock acquired, processing the job...
[2025-02-08 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:15:02] Production.INFO: ==4218== Lock acquired, processing the job...
[2025-02-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:15:02] Production.INFO: ==4218== Releasing lock...
[2025-02-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:15:02] Production.INFO: ==4216== Releasing lock...
[2025-02-08 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:15:03] Production.INFO: ==4225== Lock acquired, processing the job...
[2025-02-08 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:15:03] Production.INFO: ==4221== Lock acquired, processing the job...
[2025-02-08 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:15:03] Production.INFO: ==4223== Lock acquired, processing the job...
[2025-02-08 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:15:03] Production.INFO: ==4229== Lock acquired, processing the job...
[2025-02-08 19:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:15:03] Production.INFO: ==4231== Lock acquired, processing the job...
[2025-02-08 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:15:03] Production.INFO: ==4227== Lock acquired, processing the job...
[2025-02-08 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:15:03] Production.INFO: ==4223== Releasing lock...
[2025-02-08 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:15:04] Production.INFO: Account Balance Start.
[2025-02-08 19:15:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:15:04] Production.INFO: 117
[2025-02-08 19:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:15:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:15:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:15:04] Production.INFO: count ==21
[2025-02-08 19:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:15:04] Production.ERROR: done
[2025-02-08 19:15:04] Production.INFO: count ==21
[2025-02-08 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431785') start
[2025-02-08 19:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:15:04] Production.INFO: Total Charge 0
[2025-02-08 19:15:04] Production.INFO: CreateAllLog End
[2025-02-08 19:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431785') end
[2025-02-08 19:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:15:04] Production.INFO: 1
[2025-02-08 19:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:15:04] Production.INFO: ==4231== Releasing lock...
[2025-02-08 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:15:04] Production.ERROR: done
[2025-02-08 19:15:04] Production.INFO: Account Balance End.
[2025-02-08 19:15:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:15:04] Production.INFO: ==4227== Releasing lock...
[2025-02-08 19:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:15:05
[end_date_ymd] => 2025-02-08 19:15:05
[RateCDR] => 1
)
[2025-02-08 19:15: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` >= '2025-02-08 16:15:05' and `end` < '2025-02-08 19:15: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 ,'')
[2025-02-08 19:15:11] Production.ERROR: CronJobId end10
[2025-02-08 19:15:11] Production.INFO: ==4225== Releasing lock...
[2025-02-08 19:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:15:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:15:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:15:14] Production.INFO: call_cost start
[2025-02-08 19:15:14] Production.INFO: call_cost end
[2025-02-08 19:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:15:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:15:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:15:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:15:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:15:15] Production.INFO: ==4221== Releasing lock...
[2025-02-08 19:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:15:18] Production.INFO: count ==1797
[2025-02-08 19:15:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:15:05 - End Time 2025-02-08 19:15:05
[2025-02-08 19:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431787', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431787', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431787', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431787', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:15:18] Production.INFO: ProcessCDR(1,14431787,1,1,2)
[2025-02-08 19:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431787', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431787', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:15:23] Production.INFO: ==4229== Releasing lock...
[2025-02-08 19:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:15:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 00:16:02] Production.INFO: ==4292== Lock acquired, processing the job...
[2025-02-09 00:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:16:02] Production.INFO: neon service started
[2025-02-09 00:16:02] Production.INFO: neon service started
[2025-02-09 00:16:02] Production.INFO: ==4292== Releasing lock...
[2025-02-09 00:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:16:02] Production.INFO: ==4294== Lock acquired, processing the job...
[2025-02-08 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:16:02] Production.INFO: ==4294== Releasing lock...
[2025-02-08 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:16:03] Production.INFO: ==4296== Lock acquired, processing the job...
[2025-02-09 00:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:16:03] Production.INFO: ==4296== Releasing lock...
[2025-02-09 00:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:16:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:16:03] Production.INFO: ==4303== Lock acquired, processing the job...
[2025-02-08 19:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:16:04] Production.INFO: ==4299== Lock acquired, processing the job...
[2025-02-08 19:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:16:04] Production.INFO: ==4301== Lock acquired, processing the job...
[2025-02-08 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:16:04] Production.INFO: ==4305== Lock acquired, processing the job...
[2025-02-08 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:16:04] Production.INFO: ==4309== Lock acquired, processing the job...
[2025-02-08 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:16:04] Production.INFO: ==4307== Lock acquired, processing the job...
[2025-02-08 19:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:16:04] Production.INFO: Account Balance Start.
[2025-02-08 19:16:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:16:04] Production.INFO: 117
[2025-02-08 19:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:16:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:16:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:16:04] Production.INFO: count ==21
[2025-02-08 19:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:16:04] Production.INFO: count ==21
[2025-02-08 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431791') start
[2025-02-08 19:16:04] Production.INFO: Total Charge 0
[2025-02-08 19:16:04] Production.INFO: CreateAllLog End
[2025-02-08 19:16:04] Production.INFO: ==4301== Releasing lock...
[2025-02-08 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14431791') end
[2025-02-08 19:16:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:16:05] Production.INFO: 1
[2025-02-08 19:16:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:16:05] Production.INFO: ==4309== Releasing lock...
[2025-02-08 19:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:16:05] Production.ERROR: done
[2025-02-08 19:16:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:16:05] Production.INFO: Account Balance End.
[2025-02-08 19:16:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:16:05] Production.INFO: ==4305== Releasing lock...
[2025-02-08 19:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:16:05] Production.ERROR: done
[2025-02-08 19:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:16:06
[end_date_ymd] => 2025-02-08 19:16:06
[RateCDR] => 1
)
[2025-02-08 19:16: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-02-08 16:16:06' and `end` < '2025-02-08 19:16: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-02-08 19:16:12] Production.ERROR: CronJobId end10
[2025-02-08 19:16:12] Production.INFO: ==4303== Releasing lock...
[2025-02-08 19:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:16:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:16:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:16:15] Production.INFO: call_cost start
[2025-02-08 19:16:15] Production.INFO: call_cost end
[2025-02-08 19:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:16:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:16:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:16:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:16:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:16:16] Production.INFO: ==4299== Releasing lock...
[2025-02-08 19:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:16:20] Production.INFO: count ==1789
[2025-02-08 19:16:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:16:06 - End Time 2025-02-08 19:16:06
[2025-02-08 19:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431792', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431792', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431792', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431792', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:16:20] Production.INFO: ProcessCDR(1,14431792,1,1,2)
[2025-02-08 19:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431792', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431792', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:16:24] Production.INFO: ==4307== Releasing lock...
[2025-02-08 19:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:16:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:17:01] Production.INFO: ==4389== Lock acquired, processing the job...
[2025-02-09 00:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:17:01] Production.INFO: neon service started
[2025-02-09 00:17:01] Production.INFO: neon service started
[2025-02-09 00:17:01] Production.INFO: ==4389== Releasing lock...
[2025-02-09 00:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:17:02] Production.INFO: ==4391== Lock acquired, processing the job...
[2025-02-08 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:17:02] Production.INFO: ==4393== Lock acquired, processing the job...
[2025-02-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:17:02] Production.INFO: ==4393== Releasing lock...
[2025-02-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:17:02] Production.INFO: ==4391== Releasing lock...
[2025-02-08 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:17:03] Production.INFO: ==4396== Lock acquired, processing the job...
[2025-02-08 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:17:03] Production.INFO: ==4400== Lock acquired, processing the job...
[2025-02-08 19:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:17:03] Production.INFO: ==4402== Lock acquired, processing the job...
[2025-02-08 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:17:03] Production.INFO: ==4398== Lock acquired, processing the job...
[2025-02-08 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:17:03] Production.INFO: Account Balance Start.
[2025-02-08 19:17:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:17:03] Production.INFO: 117
[2025-02-08 19:17:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:17:03] Production.INFO: ==4404== Lock acquired, processing the job...
[2025-02-08 19:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:17:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:17:03] Production.INFO: ==4406== Lock acquired, processing the job...
[2025-02-08 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:17:04] Production.INFO: Total Charge 0
[2025-02-08 19:17:04] Production.INFO: CreateAllLog End
[2025-02-08 19:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:17:04] Production.INFO: count ==21
[2025-02-08 19:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:17:04] Production.INFO: count ==21
[2025-02-08 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431796') start
[2025-02-08 19:17:04] Production.INFO: ==4398== Releasing lock...
[2025-02-08 19:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431796') end
[2025-02-08 19:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:17:04] Production.INFO: 1
[2025-02-08 19:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:17:04] Production.ERROR: done
[2025-02-08 19:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:17:04] Production.INFO: Account Balance End.
[2025-02-08 19:17:04] Production.INFO: ==4406== Releasing lock...
[2025-02-08 19:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:17:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:17:04] Production.INFO: ==4402== Releasing lock...
[2025-02-08 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:17:04] Production.ERROR: done
[2025-02-08 19:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:17:05
[end_date_ymd] => 2025-02-08 19:17:05
[RateCDR] => 1
)
[2025-02-08 19:17: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` >= '2025-02-08 16:17:05' and `end` < '2025-02-08 19:17: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 ,'')
[2025-02-08 19:17:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-08 19:17:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:17:11] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:17:11] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:17:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:17:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:17:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:17:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:17:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:17:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:17:11] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:17:11] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:17:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:17:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:17:11] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:17:11] Production.INFO: call_cost start
[2025-02-08 19:17:11] Production.INFO: call_cost end
[2025-02-08 19:17:12] Production.ERROR: CronJobId end10
[2025-02-08 19:17:12] Production.INFO: ==4400== Releasing lock...
[2025-02-08 19:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:17:12] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:17:12] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:17:12] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:17:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:17:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:17:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:17:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:17:12] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:17:12] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:17:12] Production.INFO: ==4396== Releasing lock...
[2025-02-08 19:17:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:17:12] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:17:19] Production.INFO: count ==1777
[2025-02-08 19:17:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:17:05 - End Time 2025-02-08 19:17:05
[2025-02-08 19:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431797', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431797', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431797', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431797', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:17:19] Production.INFO: ProcessCDR(1,14431797,1,1,2)
[2025-02-08 19:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431797', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431797', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:17:22] Production.INFO: ==4404== Releasing lock...
[2025-02-08 19:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:17:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:18:02] Production.INFO: ==4464== Lock acquired, processing the job...
[2025-02-09 00:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:18:02] Production.INFO: neon service started
[2025-02-09 00:18:02] Production.INFO: neon service started
[2025-02-09 00:18:02] Production.INFO: ==4464== Releasing lock...
[2025-02-09 00:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:18:02] Production.INFO: ==4468== Lock acquired, processing the job...
[2025-02-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:18:02] Production.INFO: ==4468== Releasing lock...
[2025-02-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:18:02] Production.INFO: ==4466== Lock acquired, processing the job...
[2025-02-08 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:18:03] Production.INFO: ==4466== Releasing lock...
[2025-02-08 19:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:18:03] Production.INFO: ==4475== Lock acquired, processing the job...
[2025-02-08 19:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:18:04] Production.INFO: ==4481== Lock acquired, processing the job...
[2025-02-08 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:18:04] Production.INFO: ==4471== Lock acquired, processing the job...
[2025-02-08 19:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:18:04] Production.INFO: ==4473== Lock acquired, processing the job...
[2025-02-08 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:18:04] Production.INFO: ==4477== Lock acquired, processing the job...
[2025-02-08 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:18:04] Production.INFO: count ==21
[2025-02-08 19:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:18:04] Production.INFO: count ==21
[2025-02-08 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431798') start
[2025-02-08 19:18:04] Production.INFO: ==4479== Lock acquired, processing the job...
[2025-02-08 19:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:18:04] Production.INFO: Account Balance Start.
[2025-02-08 19:18:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:18:04] Production.INFO: 117
[2025-02-08 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431798') end
[2025-02-08 19:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:18:04] Production.INFO: 1
[2025-02-08 19:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:18:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:18:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:18:04] Production.INFO: ==4481== Releasing lock...
[2025-02-08 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:18:04] Production.INFO: ==4473== Releasing lock...
[2025-02-08 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:18:04] Production.INFO: Total Charge 0
[2025-02-08 19:18:04] Production.ERROR: done
[2025-02-08 19:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:18:04] Production.INFO: CreateAllLog End
[2025-02-08 19:18:04] Production.ERROR: done
[2025-02-08 19:18:04] Production.INFO: Account Balance End.
[2025-02-08 19:18:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:18:05] Production.INFO: ==4477== Releasing lock...
[2025-02-08 19:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:18:06
[end_date_ymd] => 2025-02-08 19:18:06
[RateCDR] => 1
)
[2025-02-08 19:18: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-02-08 16:18:06' and `end` < '2025-02-08 19:18: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-02-08 19:18:13] Production.ERROR: CronJobId end10
[2025-02-08 19:18:13] Production.INFO: ==4475== Releasing lock...
[2025-02-08 19:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:18:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:18:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:18:15] Production.INFO: call_cost start
[2025-02-08 19:18:15] Production.INFO: call_cost end
[2025-02-08 19:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:18:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:18:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:18:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:18:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:18:16] Production.INFO: ==4471== Releasing lock...
[2025-02-08 19:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:18:20] Production.INFO: count ==1775
[2025-02-08 19:18:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:18:06 - End Time 2025-02-08 19:18:06
[2025-02-08 19:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431802', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431802', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431802', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431802', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:18:20] Production.INFO: ProcessCDR(1,14431802,1,1,2)
[2025-02-08 19:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431802', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431802', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:18:23] Production.INFO: ==4479== Releasing lock...
[2025-02-08 19:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:18:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:19:01] Production.INFO: ==4539== Lock acquired, processing the job...
[2025-02-09 00:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:19:01] Production.INFO: neon service started
[2025-02-09 00:19:01] Production.INFO: neon service started
[2025-02-09 00:19:01] Production.INFO: ==4539== Releasing lock...
[2025-02-09 00:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:19:02] Production.INFO: ==4541== Lock acquired, processing the job...
[2025-02-08 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:19:02] Production.INFO: ==4543== Lock acquired, processing the job...
[2025-02-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:19:02] Production.INFO: ==4543== Releasing lock...
[2025-02-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:19:02] Production.INFO: 26 MB #Memory Used#
[2025-02-08 19:19:02] Production.INFO: ==4541== Releasing lock...
[2025-02-08 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:19:03] Production.INFO: ==4550== Lock acquired, processing the job...
[2025-02-08 19:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:19:03] Production.INFO: ==4556== Lock acquired, processing the job...
[2025-02-08 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:19:03] Production.INFO: count ==21
[2025-02-08 19:19:03] Production.INFO: ==4546== Lock acquired, processing the job...
[2025-02-08 19:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:19:03] Production.INFO: count ==21
[2025-02-08 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431803') start
[2025-02-08 19:19:03] Production.INFO: ==4548== Lock acquired, processing the job...
[2025-02-08 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431803') end
[2025-02-08 19:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:19:03] Production.INFO: 1
[2025-02-08 19:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:19:04] Production.INFO: ==4552== Lock acquired, processing the job...
[2025-02-08 19:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:19:04] Production.INFO: ==4556== Releasing lock...
[2025-02-08 19:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:19:04] Production.INFO: ==4554== Lock acquired, processing the job...
[2025-02-08 19:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:19:04] Production.INFO: Account Balance Start.
[2025-02-08 19:19:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:19:04] Production.INFO: 117
[2025-02-08 19:19:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:19:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:19:04] Production.INFO: Total Charge 0
[2025-02-08 19:19:04] Production.INFO: CreateAllLog End
[2025-02-08 19:19:04] Production.INFO: ==4548== Releasing lock...
[2025-02-08 19:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:19:04] Production.ERROR: done
[2025-02-08 19:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:19:04] Production.INFO: Account Balance End.
[2025-02-08 19:19:04] Production.ERROR: done
[2025-02-08 19:19:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:19:04] Production.INFO: ==4552== Releasing lock...
[2025-02-08 19:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:19:05
[end_date_ymd] => 2025-02-08 19:19:05
[RateCDR] => 1
)
[2025-02-08 19:19: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` >= '2025-02-08 16:19:05' and `end` < '2025-02-08 19:19: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 ,'')
[2025-02-08 19:19:12] Production.ERROR: CronJobId end10
[2025-02-08 19:19:12] Production.INFO: ==4550== Releasing lock...
[2025-02-08 19:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:19:13] Production.INFO: call_cost start
[2025-02-08 19:19:13] Production.INFO: call_cost end
[2025-02-08 19:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:19:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:19:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:19:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:19:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:19:14] Production.INFO: ==4546== Releasing lock...
[2025-02-08 19:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:19:18] Production.INFO: count ==1777
[2025-02-08 19:19:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:19:05 - End Time 2025-02-08 19:19:05
[2025-02-08 19:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431807', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431807', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431807', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431807', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:19:19] Production.INFO: ProcessCDR(1,14431807,1,1,2)
[2025-02-08 19:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431807', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431807', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:19:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:19:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:19:24] Production.INFO: ==4554== Releasing lock...
[2025-02-08 19:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:19:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:20:02] Production.INFO: ==4621== Lock acquired, processing the job...
[2025-02-09 00:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:20:02] Production.INFO: neon service started
[2025-02-09 00:20:02] Production.INFO: neon service started
[2025-02-09 00:20:02] Production.INFO: ==4621== Releasing lock...
[2025-02-09 00:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:20:02] Production.INFO: ==4623== Lock acquired, processing the job...
[2025-02-08 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:20:02] Production.INFO: ==4625== Lock acquired, processing the job...
[2025-02-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:20:02] Production.INFO: ==4625== Releasing lock...
[2025-02-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:20:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:20:03] Production.INFO: ==4623== Releasing lock...
[2025-02-08 19:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:20:04] Production.INFO: ==4629== Lock acquired, processing the job...
[2025-02-08 19:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:20:04] Production.INFO: ==4636== Lock acquired, processing the job...
[2025-02-08 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:20:04] Production.INFO: ==4638== Lock acquired, processing the job...
[2025-02-08 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:20:04] Production.INFO: ==4627== Lock acquired, processing the job...
[2025-02-08 19:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 19:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 19:20:04] Production.INFO: Account Balance Start.
[2025-02-08 19:20:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:20:04] Production.ERROR: CronJob PID - 4629
[2025-02-08 19:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 19:20:04] Production.ERROR: CronJob ID - 5
[2025-02-08 19:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:20:00
[2025-02-08 19:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:20:04] Production.ERROR: CronJob PID - 4636
[2025-02-08 19:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-08 19:20:04] Production.ERROR: CronJob ID - 12
[2025-02-08 19:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:20:00
[2025-02-08 19:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:20:04] Production.ERROR: CronJob PID - 4638
[2025-02-08 19:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-08 19:20:04] Production.ERROR: CronJob ID - 16
[2025-02-08 19:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:20:00
[2025-02-08 19:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:20:04] Production.INFO: 117
[2025-02-08 19:20:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:20:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 19:20:04] Production.INFO: ==4627== Releasing lock...
[2025-02-08 19:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 19:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 19:20:04] Production.INFO: ==4631== Lock acquired, processing the job...
[2025-02-08 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:20:04] Production.INFO: ==4634== Lock acquired, processing the job...
[2025-02-08 19:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:20:04] Production.INFO: ==4640== Lock acquired, processing the job...
[2025-02-08 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 19:20:04] Production.INFO: ==4642== Lock acquired, processing the job...
[2025-02-08 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:20:04] Production.INFO: Total Charge 0
[2025-02-08 19:20:04] Production.INFO: CreateAllLog End
[2025-02-08 19:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:20:04] Production.ERROR: done
[2025-02-08 19:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:20:04] Production.INFO: count ==21
[2025-02-08 19:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:20:04] Production.INFO: count ==21
[2025-02-08 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431811') start
[2025-02-08 19:20:04] Production.ERROR: done
[2025-02-08 19:20:04] Production.INFO: ==4631== Releasing lock...
[2025-02-08 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:20:05] Production.ERROR: done
[2025-02-08 19:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14431811') end
[2025-02-08 19:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:20:05] Production.INFO: 1
[2025-02-08 19:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:20:05] Production.INFO: ==4642== Releasing lock...
[2025-02-08 19:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:20:05] Production.INFO: Account Balance End.
[2025-02-08 19:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 19:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431813', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 19:20:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:20:05] Production.INFO: ==4636== Releasing lock...
[2025-02-08 19:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:20:06
[end_date_ymd] => 2025-02-08 19:20:06
[RateCDR] => 1
)
[2025-02-08 19:20: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-02-08 16:20:06' and `end` < '2025-02-08 19:20: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-02-08 19:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431813', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 19:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 19:20:09] Production.INFO: ProcessCDR(1,14431813,1,1,2)
[2025-02-08 19:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14431813,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14431813,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:20:09] Production.INFO: ==4640== Releasing lock...
[2025-02-08 19:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 19:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 19:20:14] Production.ERROR: CronJobId end10
[2025-02-08 19:20:14] Production.INFO: ==4634== Releasing lock...
[2025-02-08 19:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:20:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:20:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:20:15] Production.INFO: call_cost start
[2025-02-08 19:20:15] Production.INFO: call_cost end
[2025-02-08 19:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:20:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:20:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:20:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:20:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:20:16] Production.INFO: ==4629== Releasing lock...
[2025-02-08 19:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:20:20] Production.INFO: count ==1772
[2025-02-08 19:20:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:20:06 - End Time 2025-02-08 19:20:06
[2025-02-08 19:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431812', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431812', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431812', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431812', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:20:20] Production.INFO: ProcessCDR(1,14431812,1,1,2)
[2025-02-08 19:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431812', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431812', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:20:23] Production.INFO: ==4638== Releasing lock...
[2025-02-08 19:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:20:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:21:01] Production.INFO: ==4698== Lock acquired, processing the job...
[2025-02-09 00:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:21:01] Production.INFO: neon service started
[2025-02-09 00:21:01] Production.INFO: neon service started
[2025-02-09 00:21:01] Production.INFO: ==4698== Releasing lock...
[2025-02-09 00:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:21:02] Production.INFO: ==4700== Lock acquired, processing the job...
[2025-02-08 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:21:02] Production.INFO: ==4700== Releasing lock...
[2025-02-08 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:21:02] Production.INFO: ==4702== Lock acquired, processing the job...
[2025-02-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:21:02] Production.INFO: ==4702== Releasing lock...
[2025-02-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:21:03] Production.INFO: ==4714== Lock acquired, processing the job...
[2025-02-08 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:21:03] Production.INFO: ==4710== Lock acquired, processing the job...
[2025-02-08 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:21:03] Production.INFO: ==4704== Lock acquired, processing the job...
[2025-02-08 19:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:21:03] Production.INFO: ==4706== Lock acquired, processing the job...
[2025-02-08 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:21:03] Production.INFO: Account Balance Start.
[2025-02-08 19:21:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:21:03] Production.INFO: 117
[2025-02-08 19:21:03] Production.INFO: count ==21
[2025-02-08 19:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:21:03] Production.INFO: ==4708== Lock acquired, processing the job...
[2025-02-08 19:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:21:03] Production.INFO: count ==21
[2025-02-08 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431814') start
[2025-02-08 19:21:03] Production.INFO: ==4712== Lock acquired, processing the job...
[2025-02-08 19:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:21:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:21:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:21:03] Production.INFO: Total Charge 0
[2025-02-08 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431814') end
[2025-02-08 19:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:21:03] Production.INFO: 1
[2025-02-08 19:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:21:03] Production.INFO: CreateAllLog End
[2025-02-08 19:21:03] Production.INFO: ==4714== Releasing lock...
[2025-02-08 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:21:04] Production.INFO: ==4706== Releasing lock...
[2025-02-08 19:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:21:04] Production.ERROR: done
[2025-02-08 19:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:21:04] Production.ERROR: done
[2025-02-08 19:21:04] Production.INFO: Account Balance End.
[2025-02-08 19:21:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:21:04] Production.INFO: ==4710== Releasing lock...
[2025-02-08 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:21:05
[end_date_ymd] => 2025-02-08 19:21:05
[RateCDR] => 1
)
[2025-02-08 19:21: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` >= '2025-02-08 16:21:05' and `end` < '2025-02-08 19:21: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 ,'')
[2025-02-08 19:21:12] Production.ERROR: CronJobId end10
[2025-02-08 19:21:12] Production.INFO: ==4708== Releasing lock...
[2025-02-08 19:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:21:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:21:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:21:14] Production.INFO: call_cost start
[2025-02-08 19:21:14] Production.INFO: call_cost end
[2025-02-08 19:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:21:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:21:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:21:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:21:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:21:15] Production.INFO: ==4704== Releasing lock...
[2025-02-08 19:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:21:18] Production.INFO: count ==1785
[2025-02-08 19:21:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:21:05 - End Time 2025-02-08 19:21:05
[2025-02-08 19:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431818', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431818', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431818', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431818', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:21:19] Production.INFO: ProcessCDR(1,14431818,1,1,2)
[2025-02-08 19:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431818', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431818', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:21:22] Production.INFO: ==4712== Releasing lock...
[2025-02-08 19:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:21:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:22:02] Production.INFO: ==4773== Lock acquired, processing the job...
[2025-02-09 00:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:22:02] Production.INFO: neon service started
[2025-02-09 00:22:02] Production.INFO: neon service started
[2025-02-09 00:22:02] Production.INFO: ==4773== Releasing lock...
[2025-02-09 00:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:22:02] Production.INFO: ==4777== Lock acquired, processing the job...
[2025-02-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:22:02] Production.INFO: ==4777== Releasing lock...
[2025-02-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:22:02] Production.INFO: ==4775== Lock acquired, processing the job...
[2025-02-08 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:22:03] Production.INFO: ==4775== Releasing lock...
[2025-02-08 19:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:22:03] Production.INFO: ==4779== Lock acquired, processing the job...
[2025-02-08 19:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:22:03] Production.INFO: ==4781== Lock acquired, processing the job...
[2025-02-08 19:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:22:03] Production.INFO: ==4788== Lock acquired, processing the job...
[2025-02-08 19:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:22:04] Production.INFO: ==4783== Lock acquired, processing the job...
[2025-02-08 19:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:22:04] Production.INFO: ==4786== Lock acquired, processing the job...
[2025-02-08 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:22:04] Production.INFO: ==4781== Releasing lock...
[2025-02-08 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:22:04] Production.INFO: ==4790== Lock acquired, processing the job...
[2025-02-08 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:22:04] Production.INFO: Account Balance Start.
[2025-02-08 19:22:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:22:04] Production.INFO: 117
[2025-02-08 19:22:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:22:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:22:04] Production.ERROR: done
[2025-02-08 19:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:22:04] Production.INFO: Total Charge 0
[2025-02-08 19:22:04] Production.INFO: CreateAllLog End
[2025-02-08 19:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:22:04] Production.INFO: count ==21
[2025-02-08 19:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:22:04] Production.ERROR: done
[2025-02-08 19:22:04] Production.INFO: count ==21
[2025-02-08 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431822') start
[2025-02-08 19:22:04] Production.INFO: Account Balance End.
[2025-02-08 19:22:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:22:04] Production.INFO: ==4786== Releasing lock...
[2025-02-08 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431822') end
[2025-02-08 19:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:22:04] Production.INFO: 1
[2025-02-08 19:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:22:04] Production.INFO: ==4790== Releasing lock...
[2025-02-08 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:22:05
[end_date_ymd] => 2025-02-08 19:22:05
[RateCDR] => 1
)
[2025-02-08 19:22: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` >= '2025-02-08 16:22:05' and `end` < '2025-02-08 19:22: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 ,'')
[2025-02-08 19:22:12] Production.ERROR: CronJobId end10
[2025-02-08 19:22:12] Production.INFO: ==4783== Releasing lock...
[2025-02-08 19:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:22:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:22:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:22:14] Production.INFO: call_cost start
[2025-02-08 19:22:14] Production.INFO: call_cost end
[2025-02-08 19:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:22:15] Production.INFO: ==4779== Releasing lock...
[2025-02-08 19:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:22:18] Production.INFO: count ==1778
[2025-02-08 19:22:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:22:05 - End Time 2025-02-08 19:22:05
[2025-02-08 19:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431823', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431823', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431823', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431823', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:22:19] Production.INFO: ProcessCDR(1,14431823,1,1,2)
[2025-02-08 19:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431823', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431823', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:22:22] Production.INFO: ==4788== Releasing lock...
[2025-02-08 19:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:22:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:23:01] Production.INFO: ==4846== Lock acquired, processing the job...
[2025-02-09 00:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:23:01] Production.INFO: neon service started
[2025-02-09 00:23:01] Production.INFO: neon service started
[2025-02-09 00:23:01] Production.INFO: ==4846== Releasing lock...
[2025-02-09 00:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:23:01] Production.INFO: ==4848== Lock acquired, processing the job...
[2025-02-08 19:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:23:02] Production.INFO: ==4848== Releasing lock...
[2025-02-08 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:23:02] Production.INFO: ==4850== Lock acquired, processing the job...
[2025-02-09 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:23:02] Production.INFO: ==4850== Releasing lock...
[2025-02-09 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:23:02] Production.INFO: ==4856== Lock acquired, processing the job...
[2025-02-08 19:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:23:03] Production.INFO: ==4854== Lock acquired, processing the job...
[2025-02-08 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:23:03] Production.INFO: ==4858== Lock acquired, processing the job...
[2025-02-08 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:23:03] Production.INFO: ==4856== Releasing lock...
[2025-02-08 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:23:03] Production.INFO: ==4862== Lock acquired, processing the job...
[2025-02-08 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:23:03] Production.INFO: ==4860== Lock acquired, processing the job...
[2025-02-08 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:23:03] Production.INFO: ==4864== Lock acquired, processing the job...
[2025-02-08 19:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:23:03] Production.INFO: Account Balance Start.
[2025-02-08 19:23:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:23:03] Production.INFO: 117
[2025-02-08 19:23:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:23:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:23:03] Production.INFO: Total Charge 0
[2025-02-08 19:23:03] Production.INFO: CreateAllLog End
[2025-02-08 19:23:03] Production.INFO: count ==21
[2025-02-08 19:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:23:03] Production.INFO: count ==21
[2025-02-08 19:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431827') start
[2025-02-08 19:23:03] Production.INFO: Account Balance End.
[2025-02-08 19:23:03] Production.ERROR: CronJobId end 12
[2025-02-08 19:23:03] Production.INFO: ==4860== Releasing lock...
[2025-02-08 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431827') end
[2025-02-08 19:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:23:03] Production.INFO: 1
[2025-02-08 19:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:23:04] Production.ERROR: done
[2025-02-08 19:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:23:04] Production.INFO: ==4864== Releasing lock...
[2025-02-08 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:23:04] Production.ERROR: done
[2025-02-08 19:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:23:05
[end_date_ymd] => 2025-02-08 19:23:05
[RateCDR] => 1
)
[2025-02-08 19:23: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` >= '2025-02-08 16:23:05' and `end` < '2025-02-08 19:23: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 ,'')
[2025-02-08 19:23:12] Production.ERROR: CronJobId end10
[2025-02-08 19:23:12] Production.INFO: ==4858== Releasing lock...
[2025-02-08 19:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:23:13] Production.INFO: call_cost start
[2025-02-08 19:23:13] Production.INFO: call_cost end
[2025-02-08 19:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:23:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:23:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:23:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:23:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:23:14] Production.INFO: ==4854== Releasing lock...
[2025-02-08 19:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:23:19] Production.INFO: count ==1776
[2025-02-08 19:23:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:23:05 - End Time 2025-02-08 19:23:05
[2025-02-08 19:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431828', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431828', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431828', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431828', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:23:19] Production.INFO: ProcessCDR(1,14431828,1,1,2)
[2025-02-08 19:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431828', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431828', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:23:22] Production.INFO: ==4862== Releasing lock...
[2025-02-08 19:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:23:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:24:02] Production.INFO: ==4922== Lock acquired, processing the job...
[2025-02-09 00:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:24:02] Production.INFO: neon service started
[2025-02-09 00:24:02] Production.INFO: neon service started
[2025-02-09 00:24:02] Production.INFO: ==4922== Releasing lock...
[2025-02-09 00:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:24:02] Production.INFO: ==4925== Lock acquired, processing the job...
[2025-02-08 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:24:02] Production.INFO: ==4927== Lock acquired, processing the job...
[2025-02-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:24:02] Production.INFO: ==4927== Releasing lock...
[2025-02-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:24:03] Production.INFO: ==4925== Releasing lock...
[2025-02-08 19:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:24:04] Production.INFO: ==4934== Lock acquired, processing the job...
[2025-02-08 19:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:24:04] Production.INFO: ==4940== Lock acquired, processing the job...
[2025-02-08 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:24:04] Production.INFO: ==4930== Lock acquired, processing the job...
[2025-02-08 19:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:24:04] Production.INFO: ==4936== Lock acquired, processing the job...
[2025-02-08 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:24:04] Production.INFO: count ==21
[2025-02-08 19:24:04] Production.INFO: ==4932== Lock acquired, processing the job...
[2025-02-08 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:24:04] Production.INFO: ==4938== Lock acquired, processing the job...
[2025-02-08 19:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:24:04] Production.INFO: count ==21
[2025-02-08 19:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431829') start
[2025-02-08 19:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:24:04] Production.INFO: Account Balance Start.
[2025-02-08 19:24:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:24:04] Production.INFO: 117
[2025-02-08 19:24:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431829') end
[2025-02-08 19:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:24:04] Production.INFO: 1
[2025-02-08 19:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:24:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:24:04] Production.INFO: ==4940== Releasing lock...
[2025-02-08 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:24:04] Production.INFO: Total Charge 0
[2025-02-08 19:24:04] Production.INFO: CreateAllLog End
[2025-02-08 19:24:05] Production.INFO: ==4932== Releasing lock...
[2025-02-08 19:24:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:24:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:24:05] Production.ERROR: done
[2025-02-08 19:24:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:24:05] Production.ERROR: done
[2025-02-08 19:24:05] Production.INFO: Account Balance End.
[2025-02-08 19:24:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:24:05] Production.INFO: ==4936== Releasing lock...
[2025-02-08 19:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:24:06
[end_date_ymd] => 2025-02-08 19:24:06
[RateCDR] => 1
)
[2025-02-08 19:24: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-02-08 16:24:06' and `end` < '2025-02-08 19:24: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-02-08 19:24:13] Production.ERROR: CronJobId end10
[2025-02-08 19:24:13] Production.INFO: ==4934== Releasing lock...
[2025-02-08 19:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:24:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:24:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:24:16] Production.INFO: call_cost start
[2025-02-08 19:24:16] Production.INFO: call_cost end
[2025-02-08 19:24:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:24:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:24:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:24:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:24:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:24:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:24:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:24:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:24:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:24:17] Production.INFO: ==4930== Releasing lock...
[2025-02-08 19:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:24:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:24:19] Production.INFO: count ==1772
[2025-02-08 19:24:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:24:06 - End Time 2025-02-08 19:24:06
[2025-02-08 19:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431833', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431833', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431833', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431833', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:24:19] Production.INFO: ProcessCDR(1,14431833,1,1,2)
[2025-02-08 19:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:24:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:24:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431833', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431833', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:24:24] Production.INFO: ==4938== Releasing lock...
[2025-02-08 19:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:24:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:25:01] Production.INFO: ==4995== Lock acquired, processing the job...
[2025-02-09 00:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:25:01] Production.INFO: neon service started
[2025-02-09 00:25:01] Production.INFO: neon service started
[2025-02-09 00:25:01] Production.INFO: ==4995== Releasing lock...
[2025-02-09 00:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:25:01] Production.INFO: ==4997== Lock acquired, processing the job...
[2025-02-08 19:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:25:02] Production.INFO: ==4997== Releasing lock...
[2025-02-08 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:25:02] Production.INFO: ==4999== Lock acquired, processing the job...
[2025-02-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:25:02] Production.INFO: ==4999== Releasing lock...
[2025-02-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:25:03] Production.INFO: ==5003== Lock acquired, processing the job...
[2025-02-08 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:25:03] Production.INFO: ==5010== Lock acquired, processing the job...
[2025-02-08 19:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:25:03] Production.INFO: ==5001== Lock acquired, processing the job...
[2025-02-08 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:25:03] Production.INFO: ==5007== Lock acquired, processing the job...
[2025-02-08 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:25:03] Production.INFO: ==5005== Lock acquired, processing the job...
[2025-02-08 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:25:03] Production.INFO: ==5012== Lock acquired, processing the job...
[2025-02-08 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:25:03] Production.ERROR: done
[2025-02-08 19:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:25:03] Production.INFO: Account Balance Start.
[2025-02-08 19:25:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:25:03] Production.INFO: 117
[2025-02-08 19:25:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:25:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:25:03] Production.INFO: Total Charge 0
[2025-02-08 19:25:03] Production.INFO: CreateAllLog End
[2025-02-08 19:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:25:04] Production.INFO: count ==21
[2025-02-08 19:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:25:04] Production.INFO: ==5003== Releasing lock...
[2025-02-08 19:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:25:04] Production.INFO: count ==21
[2025-02-08 19:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431837') start
[2025-02-08 19:25:04] Production.ERROR: done
[2025-02-08 19:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431837') end
[2025-02-08 19:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:25:04] Production.INFO: 1
[2025-02-08 19:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:25:04] Production.INFO: Account Balance End.
[2025-02-08 19:25:04] Production.INFO: ==5012== Releasing lock...
[2025-02-08 19:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:25:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:25:04] Production.INFO: ==5007== Releasing lock...
[2025-02-08 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:25:05
[end_date_ymd] => 2025-02-08 19:25:05
[RateCDR] => 1
)
[2025-02-08 19:25: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` >= '2025-02-08 16:25:05' and `end` < '2025-02-08 19:25: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 ,'')
[2025-02-08 19:25:12] Production.ERROR: CronJobId end10
[2025-02-08 19:25:12] Production.INFO: ==5005== Releasing lock...
[2025-02-08 19:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:25:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:25:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:25:15] Production.INFO: call_cost start
[2025-02-08 19:25:15] Production.INFO: call_cost end
[2025-02-08 19:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:25:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:25:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:25:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:25:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:25:16] Production.INFO: ==5001== Releasing lock...
[2025-02-08 19:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:25:18] Production.INFO: count ==1770
[2025-02-08 19:25:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:25:05 - End Time 2025-02-08 19:25:05
[2025-02-08 19:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431838', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431838', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431838', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431838', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:25:18] Production.INFO: ProcessCDR(1,14431838,1,1,2)
[2025-02-08 19:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431838', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431838', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:25:24] Production.INFO: ==5010== Releasing lock...
[2025-02-08 19:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:25:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:26:02] Production.INFO: ==5069== Lock acquired, processing the job...
[2025-02-09 00:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:26:02] Production.INFO: neon service started
[2025-02-09 00:26:02] Production.INFO: neon service started
[2025-02-09 00:26:02] Production.INFO: ==5069== Releasing lock...
[2025-02-09 00:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:26:02] Production.INFO: ==5072== Lock acquired, processing the job...
[2025-02-08 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:26:02] Production.INFO: ==5072== Releasing lock...
[2025-02-08 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:26:02] Production.INFO: ==5074== Lock acquired, processing the job...
[2025-02-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:26:03] Production.INFO: ==5074== Releasing lock...
[2025-02-09 00:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:26:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:26:03] Production.INFO: ==5084== Lock acquired, processing the job...
[2025-02-08 19:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:26:03] Production.INFO: ==5082== Lock acquired, processing the job...
[2025-02-08 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:26:04] Production.INFO: ==5076== Lock acquired, processing the job...
[2025-02-08 19:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:26:04] Production.INFO: ==5078== Lock acquired, processing the job...
[2025-02-08 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:26:04] Production.INFO: ==5080== Lock acquired, processing the job...
[2025-02-08 19:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:26:04] Production.INFO: ==5086== Lock acquired, processing the job...
[2025-02-08 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:26:04] Production.INFO: Account Balance Start.
[2025-02-08 19:26:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:26:04] Production.INFO: 117
[2025-02-08 19:26:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:26:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:26:04] Production.INFO: Total Charge 0
[2025-02-08 19:26:04] Production.INFO: CreateAllLog End
[2025-02-08 19:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:26:04] Production.ERROR: done
[2025-02-08 19:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:26:04] Production.INFO: count ==21
[2025-02-08 19:26:04] Production.INFO: Account Balance End.
[2025-02-08 19:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:26:04] Production.INFO: count ==21
[2025-02-08 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431842') start
[2025-02-08 19:26:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:26:04] Production.INFO: ==5082== Releasing lock...
[2025-02-08 19:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:26:04] Production.ERROR: done
[2025-02-08 19:26:04] Production.INFO: ==5078== Releasing lock...
[2025-02-08 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431842') end
[2025-02-08 19:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:26:04] Production.INFO: 1
[2025-02-08 19:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:26:04] Production.INFO: ==5086== Releasing lock...
[2025-02-08 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:26:05
[end_date_ymd] => 2025-02-08 19:26:05
[RateCDR] => 1
)
[2025-02-08 19:26: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` >= '2025-02-08 16:26:05' and `end` < '2025-02-08 19:26: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 ,'')
[2025-02-08 19:26:14] Production.ERROR: CronJobId end10
[2025-02-08 19:26:14] Production.INFO: ==5080== Releasing lock...
[2025-02-08 19:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:26:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:26:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:26:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:26:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:26:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:26:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:26:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:26:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:26:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:26:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:26:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:26:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:26:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:26:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:26:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:26:17] Production.INFO: call_cost start
[2025-02-08 19:26:17] Production.INFO: call_cost end
[2025-02-08 19:26:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:26:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:26:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:26:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:26:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:26:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:26:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:26:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:26:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:26:18] Production.INFO: ==5076== Releasing lock...
[2025-02-08 19:26:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:26:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:26:18] Production.INFO: count ==1774
[2025-02-08 19:26:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:26:05 - End Time 2025-02-08 19:26:05
[2025-02-08 19:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431843', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431843', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431843', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431843', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:26:19] Production.INFO: ProcessCDR(1,14431843,1,1,2)
[2025-02-08 19:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431843', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431843', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:26:22] Production.INFO: ==5084== Releasing lock...
[2025-02-08 19:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:26:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:27:01] Production.INFO: ==5182== Lock acquired, processing the job...
[2025-02-09 00:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:27:01] Production.INFO: neon service started
[2025-02-09 00:27:01] Production.INFO: neon service started
[2025-02-09 00:27:01] Production.INFO: ==5182== Releasing lock...
[2025-02-09 00:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:27:01] Production.INFO: ==5185== Lock acquired, processing the job...
[2025-02-08 19:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:27:02] Production.INFO: ==5185== Releasing lock...
[2025-02-08 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:27:02] Production.INFO: ==5187== Lock acquired, processing the job...
[2025-02-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:27:02] Production.INFO: ==5187== Releasing lock...
[2025-02-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:27:03] Production.INFO: ==5191== Lock acquired, processing the job...
[2025-02-08 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:27:03] Production.INFO: ==5197== Lock acquired, processing the job...
[2025-02-08 19:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:27:03] Production.INFO: ==5189== Lock acquired, processing the job...
[2025-02-08 19:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:27:03] Production.INFO: ==5199== Lock acquired, processing the job...
[2025-02-08 19:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:27:03] Production.INFO: ==5193== Lock acquired, processing the job...
[2025-02-08 19:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:27:03] Production.INFO: ==5195== Lock acquired, processing the job...
[2025-02-08 19:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:27:03] Production.INFO: count ==21
[2025-02-08 19:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:27:03] Production.INFO: count ==21
[2025-02-08 19:27:03] Production.ERROR: done
[2025-02-08 19:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431846') start
[2025-02-08 19:27:03] Production.INFO: Account Balance Start.
[2025-02-08 19:27:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:27:03] Production.INFO: 117
[2025-02-08 19:27:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:27:03] Production.INFO: ==5191== Releasing lock...
[2025-02-08 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:27:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:27:03] Production.ERROR: done
[2025-02-08 19:27:03] Production.INFO: Total Charge 0
[2025-02-08 19:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431846') end
[2025-02-08 19:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:27:03] Production.INFO: 1
[2025-02-08 19:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:27:03] Production.INFO: CreateAllLog End
[2025-02-08 19:27:04] Production.INFO: ==5199== Releasing lock...
[2025-02-08 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:27:04] Production.INFO: Account Balance End.
[2025-02-08 19:27:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:27:04] Production.INFO: ==5195== Releasing lock...
[2025-02-08 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:27:05
[end_date_ymd] => 2025-02-08 19:27:05
[RateCDR] => 1
)
[2025-02-08 19:27: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` >= '2025-02-08 16:27:05' and `end` < '2025-02-08 19:27: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 ,'')
[2025-02-08 19:27:12] Production.ERROR: CronJobId end10
[2025-02-08 19:27:12] Production.INFO: ==5193== Releasing lock...
[2025-02-08 19:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:27:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:27:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:27:15] Production.INFO: call_cost start
[2025-02-08 19:27:15] Production.INFO: call_cost end
[2025-02-08 19:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:27:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:27:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:27:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:27:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:27:16] Production.INFO: ==5189== Releasing lock...
[2025-02-08 19:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:27:18] Production.INFO: count ==1766
[2025-02-08 19:27:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:27:05 - End Time 2025-02-08 19:27:05
[2025-02-08 19:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431848', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431848', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431848', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431848', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:27:18] Production.INFO: ProcessCDR(1,14431848,1,1,2)
[2025-02-08 19:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431848', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431848', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:27:22] Production.INFO: ==5197== Releasing lock...
[2025-02-08 19:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:27:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:28:02] Production.INFO: ==5257== Lock acquired, processing the job...
[2025-02-09 00:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:28:02] Production.INFO: neon service started
[2025-02-09 00:28:02] Production.INFO: neon service started
[2025-02-09 00:28:02] Production.INFO: ==5257== Releasing lock...
[2025-02-09 00:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:28:02] Production.INFO: ==5260== Lock acquired, processing the job...
[2025-02-08 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:28:02] Production.INFO: ==5262== Lock acquired, processing the job...
[2025-02-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:28:02] Production.INFO: ==5262== Releasing lock...
[2025-02-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:28:03] Production.INFO: ==5260== Releasing lock...
[2025-02-08 19:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:28:04] Production.INFO: ==5270== Lock acquired, processing the job...
[2025-02-08 19:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:28:04] Production.INFO: ==5274== Lock acquired, processing the job...
[2025-02-08 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:28:04] Production.INFO: ==5264== Lock acquired, processing the job...
[2025-02-08 19:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:28:04] Production.INFO: ==5266== Lock acquired, processing the job...
[2025-02-08 19:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:28:04] Production.INFO: Account Balance Start.
[2025-02-08 19:28:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:28:04] Production.INFO: 117
[2025-02-08 19:28:04] Production.INFO: ==5268== Lock acquired, processing the job...
[2025-02-08 19:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:28:04] Production.INFO: count ==21
[2025-02-08 19:28:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:28:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:28:04] Production.INFO: count ==21
[2025-02-08 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431850') start
[2025-02-08 19:28:04] Production.INFO: Total Charge 0
[2025-02-08 19:28:04] Production.INFO: ==5272== Lock acquired, processing the job...
[2025-02-08 19:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:28:04] Production.INFO: CreateAllLog End
[2025-02-08 19:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431850') end
[2025-02-08 19:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:28:04] Production.INFO: 1
[2025-02-08 19:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:28:04] Production.INFO: ==5274== Releasing lock...
[2025-02-08 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:28:04] Production.INFO: ==5266== Releasing lock...
[2025-02-08 19:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:28:04] Production.ERROR: done
[2025-02-08 19:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:28:04] Production.INFO: Account Balance End.
[2025-02-08 19:28:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:28:05] Production.INFO: ==5270== Releasing lock...
[2025-02-08 19:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:28:05] Production.ERROR: done
[2025-02-08 19:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:28:06
[end_date_ymd] => 2025-02-08 19:28:06
[RateCDR] => 1
)
[2025-02-08 19:28: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-02-08 16:28:06' and `end` < '2025-02-08 19:28: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-02-08 19:28:14] Production.ERROR: CronJobId end10
[2025-02-08 19:28:14] Production.INFO: ==5268== Releasing lock...
[2025-02-08 19:28:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:28:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:28:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:28:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:28:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:28:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:28:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:28:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:28:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:28:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:28:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:28:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:28:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:28:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:28:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:28:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:28:16] Production.INFO: call_cost start
[2025-02-08 19:28:16] Production.INFO: call_cost end
[2025-02-08 19:28:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:28:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:28:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:28:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:28:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:28:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:28:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:28:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:28:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:28:17] Production.INFO: ==5264== Releasing lock...
[2025-02-08 19:28:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:28:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:28:19] Production.INFO: count ==1758
[2025-02-08 19:28:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:28:06 - End Time 2025-02-08 19:28:06
[2025-02-08 19:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431853', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431853', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431853', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431853', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:28:19] Production.INFO: ProcessCDR(1,14431853,1,1,2)
[2025-02-08 19:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431853', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431853', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:28:23] Production.INFO: ==5272== Releasing lock...
[2025-02-08 19:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:28:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:29:01] Production.INFO: ==5329== Lock acquired, processing the job...
[2025-02-09 00:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:29:01] Production.INFO: neon service started
[2025-02-09 00:29:01] Production.INFO: neon service started
[2025-02-09 00:29:01] Production.INFO: ==5329== Releasing lock...
[2025-02-09 00:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:29:02] Production.INFO: ==5334== Lock acquired, processing the job...
[2025-02-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:29:02] Production.INFO: ==5334== Releasing lock...
[2025-02-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:29:02] Production.INFO: ==5332== Lock acquired, processing the job...
[2025-02-08 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:29:02] Production.INFO: ==5332== Releasing lock...
[2025-02-08 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:29:03] Production.INFO: ==5336== Lock acquired, processing the job...
[2025-02-08 19:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:29:03] Production.INFO: ==5347== Lock acquired, processing the job...
[2025-02-08 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:29:03] Production.INFO: ==5344== Lock acquired, processing the job...
[2025-02-08 19:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:29:04] Production.INFO: count ==21
[2025-02-08 19:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:29:04] Production.INFO: ==5338== Lock acquired, processing the job...
[2025-02-08 19:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:29:04] Production.INFO: count ==21
[2025-02-08 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431855') start
[2025-02-08 19:29:04] Production.INFO: ==5342== Lock acquired, processing the job...
[2025-02-08 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:29:04] Production.INFO: ==5340== Lock acquired, processing the job...
[2025-02-08 19:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:29:04] Production.INFO: Account Balance Start.
[2025-02-08 19:29:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:29:04] Production.INFO: 117
[2025-02-08 19:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:29:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:29:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:29:04] Production.ERROR: done
[2025-02-08 19:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431855') end
[2025-02-08 19:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:29:04] Production.INFO: 1
[2025-02-08 19:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:29:04] Production.INFO: Total Charge 0
[2025-02-08 19:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:29:04] Production.INFO: CreateAllLog End
[2025-02-08 19:29:04] Production.INFO: ==5347== Releasing lock...
[2025-02-08 19:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:29:04] Production.INFO: ==5338== Releasing lock...
[2025-02-08 19:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:29:04] Production.ERROR: done
[2025-02-08 19:29:04] Production.INFO: Account Balance End.
[2025-02-08 19:29:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:29:04] Production.INFO: ==5342== Releasing lock...
[2025-02-08 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:29:05
[end_date_ymd] => 2025-02-08 19:29:05
[RateCDR] => 1
)
[2025-02-08 19:29: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` >= '2025-02-08 16:29:05' and `end` < '2025-02-08 19:29: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 ,'')
[2025-02-08 19:29:12] Production.ERROR: CronJobId end10
[2025-02-08 19:29:12] Production.INFO: ==5340== Releasing lock...
[2025-02-08 19:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:29:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:29:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:29:15] Production.INFO: call_cost start
[2025-02-08 19:29:15] Production.INFO: call_cost end
[2025-02-08 19:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:29:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:29:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:29:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:29:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:29:16] Production.INFO: ==5336== Releasing lock...
[2025-02-08 19:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:29:19] Production.INFO: count ==1755
[2025-02-08 19:29:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:29:05 - End Time 2025-02-08 19:29:05
[2025-02-08 19:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431858', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431858', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431858', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431858', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:29:20] Production.INFO: ProcessCDR(1,14431858,1,1,2)
[2025-02-08 19:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431858', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431858', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:29:23] Production.INFO: ==5344== Releasing lock...
[2025-02-08 19:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:29:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:30:02] Production.INFO: ==5408== Lock acquired, processing the job...
[2025-02-09 00:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:30:02] Production.INFO: neon service started
[2025-02-09 00:30:02] Production.INFO: neon service started
[2025-02-09 00:30:02] Production.INFO: ==5408== Releasing lock...
[2025-02-09 00:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:30:02] Production.INFO: ==5410== Lock acquired, processing the job...
[2025-02-08 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:30:02] Production.INFO: ==5412== Lock acquired, processing the job...
[2025-02-09 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:30:02] Production.INFO: ==5412== Releasing lock...
[2025-02-09 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:30:02] Production.INFO: ==5410== Releasing lock...
[2025-02-08 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:30:03] Production.INFO: ==5415== Lock acquired, processing the job...
[2025-02-08 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 19:30:03] Production.INFO: ==5417== Lock acquired, processing the job...
[2025-02-08 19:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:30:03] Production.ERROR: CronJob PID - 5417
[2025-02-08 19:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 19:30:03] Production.ERROR: CronJob ID - 5
[2025-02-08 19:30:03] Production.ERROR: CronJob Last Run Time 2025-02-08 19:30:00
[2025-02-08 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 19:30:03] Production.INFO: ==5415== Releasing lock...
[2025-02-08 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 19:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 19:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:30:03] Production.INFO: ==5419== Lock acquired, processing the job...
[2025-02-08 19:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:30:04] Production.INFO: ==5425== Lock acquired, processing the job...
[2025-02-08 19:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:30:04] Production.INFO: ==5421== Lock acquired, processing the job...
[2025-02-08 19:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:30:04] Production.INFO: ==5423== Lock acquired, processing the job...
[2025-02-08 19:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:30:04] Production.INFO: ==5419== Releasing lock...
[2025-02-08 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:30:04] Production.INFO: ==5427== Lock acquired, processing the job...
[2025-02-08 19:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 19:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:30:04] Production.INFO: Account Balance Start.
[2025-02-08 19:30:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:30:04] Production.INFO: 117
[2025-02-08 19:30:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:30:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:30:04] Production.ERROR: done
[2025-02-08 19:30:04] Production.INFO: ==5429== Lock acquired, processing the job...
[2025-02-08 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:30:04] Production.INFO: Total Charge 0
[2025-02-08 19:30:04] Production.INFO: CreateAllLog End
[2025-02-08 19:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:30:04] Production.ERROR: done
[2025-02-08 19:30:04] Production.INFO: count ==21
[2025-02-08 19:30:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:30:05] Production.INFO: count ==21
[2025-02-08 19:30:05] Production.INFO: Account Balance End.
[2025-02-08 19:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14431862') start
[2025-02-08 19:30:05] Production.ERROR: done
[2025-02-08 19:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14431862') end
[2025-02-08 19:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:30:05] Production.INFO: 1
[2025-02-08 19:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:30:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:30:05] Production.INFO: ==5423== Releasing lock...
[2025-02-08 19:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 19:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431864', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 19:30:05] Production.INFO: ==5429== Releasing lock...
[2025-02-08 19:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:30:06
[end_date_ymd] => 2025-02-08 19:30:06
[RateCDR] => 1
)
[2025-02-08 19:30: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-02-08 16:30:06' and `end` < '2025-02-08 19:30: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-02-08 19:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431864', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 19:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 19:30:09] Production.INFO: ProcessCDR(1,14431864,1,1,2)
[2025-02-08 19:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14431864,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14431864,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:30:10] Production.INFO: ==5427== Releasing lock...
[2025-02-08 19:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 19:30:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 19:30:15] Production.ERROR: CronJobId end10
[2025-02-08 19:30:15] Production.INFO: ==5421== Releasing lock...
[2025-02-08 19:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:30:17] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:30:17] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:30:17] Production.INFO: call_cost start
[2025-02-08 19:30:17] Production.INFO: call_cost end
[2025-02-08 19:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:30:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:30:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:30:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:30:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:30:18] Production.INFO: ==5417== Releasing lock...
[2025-02-08 19:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:30:19] Production.INFO: count ==1748
[2025-02-08 19:30:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:30:06 - End Time 2025-02-08 19:30:06
[2025-02-08 19:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431863', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431863', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431863', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431863', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:30:19] Production.INFO: ProcessCDR(1,14431863,1,1,2)
[2025-02-08 19:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431863', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431863', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:30:23] Production.INFO: ==5425== Releasing lock...
[2025-02-08 19:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:30:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:31:01] Production.INFO: ==5482== Lock acquired, processing the job...
[2025-02-09 00:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:31:01] Production.INFO: neon service started
[2025-02-09 00:31:01] Production.INFO: neon service started
[2025-02-09 00:31:01] Production.INFO: ==5482== Releasing lock...
[2025-02-09 00:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:31:02] Production.INFO: ==5484== Lock acquired, processing the job...
[2025-02-08 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:31:02] Production.INFO: ==5486== Lock acquired, processing the job...
[2025-02-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:31:02] Production.INFO: ==5486== Releasing lock...
[2025-02-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:31:02] Production.INFO: ==5484== Releasing lock...
[2025-02-08 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:31:03] Production.INFO: ==5489== Lock acquired, processing the job...
[2025-02-08 19:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:31:03] Production.INFO: ==5491== Lock acquired, processing the job...
[2025-02-08 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:31:03] Production.INFO: ==5495== Lock acquired, processing the job...
[2025-02-08 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:31:03] Production.INFO: ==5493== Lock acquired, processing the job...
[2025-02-08 19:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:31:03] Production.INFO: Account Balance Start.
[2025-02-08 19:31:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:31:03] Production.INFO: 117
[2025-02-08 19:31:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:31:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:31:03] Production.INFO: ==5497== Lock acquired, processing the job...
[2025-02-08 19:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:31:03] Production.INFO: Total Charge 0
[2025-02-08 19:31:03] Production.INFO: CreateAllLog End
[2025-02-08 19:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:31:04] Production.INFO: ==5499== Lock acquired, processing the job...
[2025-02-08 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:31:04] Production.INFO: ==5491== Releasing lock...
[2025-02-08 19:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:31:04] Production.INFO: Account Balance End.
[2025-02-08 19:31:04] Production.INFO: count ==21
[2025-02-08 19:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:31:04] Production.INFO: count ==21
[2025-02-08 19:31:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:31:04] Production.INFO: ==5495== Releasing lock...
[2025-02-08 19:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431868') start
[2025-02-08 19:31:04] Production.ERROR: done
[2025-02-08 19:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431868') end
[2025-02-08 19:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:31:04] Production.INFO: 1
[2025-02-08 19:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:31:04] Production.INFO: ==5499== Releasing lock...
[2025-02-08 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:31:04] Production.ERROR: done
[2025-02-08 19:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:31:05
[end_date_ymd] => 2025-02-08 19:31:05
[RateCDR] => 1
)
[2025-02-08 19:31: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` >= '2025-02-08 16:31:05' and `end` < '2025-02-08 19:31: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 ,'')
[2025-02-08 19:31:12] Production.ERROR: CronJobId end10
[2025-02-08 19:31:12] Production.INFO: ==5493== Releasing lock...
[2025-02-08 19:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:31:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:31:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:31:14] Production.INFO: call_cost start
[2025-02-08 19:31:14] Production.INFO: call_cost end
[2025-02-08 19:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:31:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:31:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:31:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:31:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:31:15] Production.INFO: ==5489== Releasing lock...
[2025-02-08 19:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:31:18] Production.INFO: count ==1759
[2025-02-08 19:31:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:31:05 - End Time 2025-02-08 19:31:05
[2025-02-08 19:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431869', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431869', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431869', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431869', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:31:19] Production.INFO: ProcessCDR(1,14431869,1,1,2)
[2025-02-08 19:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431869', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431869', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:31:22] Production.INFO: ==5497== Releasing lock...
[2025-02-08 19:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:31:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:32:02] Production.INFO: ==5557== Lock acquired, processing the job...
[2025-02-09 00:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:32:02] Production.INFO: neon service started
[2025-02-09 00:32:02] Production.INFO: neon service started
[2025-02-09 00:32:02] Production.INFO: ==5557== Releasing lock...
[2025-02-09 00:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:32:02] Production.INFO: ==5559== Lock acquired, processing the job...
[2025-02-08 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:32:02] Production.INFO: ==5559== Releasing lock...
[2025-02-08 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:32:02] Production.INFO: ==5561== Lock acquired, processing the job...
[2025-02-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:32:03] Production.INFO: ==5561== Releasing lock...
[2025-02-09 00:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:32:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:32:03] Production.INFO: ==5563== Lock acquired, processing the job...
[2025-02-08 19:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:32:03] Production.INFO: ==5565== Lock acquired, processing the job...
[2025-02-08 19:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:32:03] Production.INFO: ==5569== Lock acquired, processing the job...
[2025-02-08 19:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:32:03] Production.INFO: ==5571== Lock acquired, processing the job...
[2025-02-08 19:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:32:03] Production.INFO: ==5574== Lock acquired, processing the job...
[2025-02-08 19:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:32:04] Production.INFO: ==5567== Lock acquired, processing the job...
[2025-02-08 19:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:32:04] Production.INFO: ==5565== Releasing lock...
[2025-02-08 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:32:04] Production.INFO: Account Balance Start.
[2025-02-08 19:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:32:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:32:04] Production.INFO: 117
[2025-02-08 19:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:32:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:32:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:32:04] Production.INFO: count ==21
[2025-02-08 19:32:04] Production.ERROR: done
[2025-02-08 19:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:32:04] Production.INFO: count ==21
[2025-02-08 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431872') start
[2025-02-08 19:32:04] Production.INFO: Total Charge 0
[2025-02-08 19:32:04] Production.INFO: CreateAllLog End
[2025-02-08 19:32:04] Production.ERROR: done
[2025-02-08 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431872') end
[2025-02-08 19:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:32:04] Production.INFO: 1
[2025-02-08 19:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:32:04] Production.INFO: ==5574== Releasing lock...
[2025-02-08 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:32:04] Production.INFO: Account Balance End.
[2025-02-08 19:32:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:32:04] Production.INFO: ==5569== Releasing lock...
[2025-02-08 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:32:05
[end_date_ymd] => 2025-02-08 19:32:05
[RateCDR] => 1
)
[2025-02-08 19:32: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` >= '2025-02-08 16:32:05' and `end` < '2025-02-08 19:32: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 ,'')
[2025-02-08 19:32:14] Production.ERROR: CronJobId end10
[2025-02-08 19:32:14] Production.INFO: ==5567== Releasing lock...
[2025-02-08 19:32:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:32:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:32:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:32:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:32:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:32:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:32:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:32:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:32:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:32:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:32:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:32:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:32:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:32:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:32:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:32:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:32:16] Production.INFO: call_cost start
[2025-02-08 19:32:16] Production.INFO: call_cost end
[2025-02-08 19:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:32:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:32:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:32:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:32:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:32:17] Production.INFO: ==5563== Releasing lock...
[2025-02-08 19:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:32:19] Production.INFO: count ==1755
[2025-02-08 19:32:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:32:05 - End Time 2025-02-08 19:32:05
[2025-02-08 19:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431874', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431874', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431874', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431874', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:32:20] Production.INFO: ProcessCDR(1,14431874,1,1,2)
[2025-02-08 19:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431874', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431874', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:32:23] Production.INFO: ==5571== Releasing lock...
[2025-02-08 19:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:32:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:33:01] Production.INFO: ==5635== Lock acquired, processing the job...
[2025-02-09 00:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:33:01] Production.INFO: neon service started
[2025-02-09 00:33:01] Production.INFO: neon service started
[2025-02-09 00:33:01] Production.INFO: ==5635== Releasing lock...
[2025-02-09 00:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:33:02] Production.INFO: ==5637== Lock acquired, processing the job...
[2025-02-08 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:33:02] Production.INFO: ==5637== Releasing lock...
[2025-02-08 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:33:02] Production.INFO: ==5639== Lock acquired, processing the job...
[2025-02-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:33:02] Production.INFO: ==5639== Releasing lock...
[2025-02-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:33:03] Production.INFO: ==5647== Lock acquired, processing the job...
[2025-02-08 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:33:03] Production.INFO: ==5652== Lock acquired, processing the job...
[2025-02-08 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:33:03] Production.INFO: Account Balance Start.
[2025-02-08 19:33:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:33:03] Production.INFO: 117
[2025-02-08 19:33:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:33:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:33:03] Production.INFO: Total Charge 0
[2025-02-08 19:33:03] Production.INFO: ==5641== Lock acquired, processing the job...
[2025-02-08 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:33:03] Production.INFO: ==5643== Lock acquired, processing the job...
[2025-02-08 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:33:03] Production.INFO: CreateAllLog End
[2025-02-08 19:33:03] Production.INFO: count ==21
[2025-02-08 19:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:33:03] Production.INFO: count ==21
[2025-02-08 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431876') start
[2025-02-08 19:33:03] Production.INFO: ==5645== Lock acquired, processing the job...
[2025-02-08 19:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:33:03] Production.INFO: ==5650== Lock acquired, processing the job...
[2025-02-08 19:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:33:03] Production.INFO: Account Balance End.
[2025-02-08 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431876') end
[2025-02-08 19:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:33:03] Production.INFO: 1
[2025-02-08 19:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:33:03] Production.ERROR: CronJobId end 12
[2025-02-08 19:33:03] Production.INFO: ==5647== Releasing lock...
[2025-02-08 19:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:33:03] Production.INFO: ==5652== Releasing lock...
[2025-02-08 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:33:04] Production.ERROR: done
[2025-02-08 19:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:33:04] Production.ERROR: done
[2025-02-08 19:33:04] Production.INFO: ==5643== Releasing lock...
[2025-02-08 19:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:33:05
[end_date_ymd] => 2025-02-08 19:33:05
[RateCDR] => 1
)
[2025-02-08 19:33: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` >= '2025-02-08 16:33:05' and `end` < '2025-02-08 19:33: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 ,'')
[2025-02-08 19:33:12] Production.ERROR: CronJobId end10
[2025-02-08 19:33:12] Production.INFO: ==5645== Releasing lock...
[2025-02-08 19:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:33:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:33:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:33:15] Production.INFO: call_cost start
[2025-02-08 19:33:15] Production.INFO: call_cost end
[2025-02-08 19:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:33:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:33:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:33:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:33:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:33:16] Production.INFO: ==5641== Releasing lock...
[2025-02-08 19:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:33:19] Production.INFO: count ==1757
[2025-02-08 19:33:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:33:05 - End Time 2025-02-08 19:33:05
[2025-02-08 19:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431879', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431879', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431879', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431879', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:33:19] Production.INFO: ProcessCDR(1,14431879,1,1,2)
[2025-02-08 19:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431879', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431879', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:33:23] Production.INFO: ==5650== Releasing lock...
[2025-02-08 19:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:33:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:34:02] Production.INFO: ==5709== Lock acquired, processing the job...
[2025-02-09 00:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:34:02] Production.INFO: neon service started
[2025-02-09 00:34:02] Production.INFO: neon service started
[2025-02-09 00:34:02] Production.INFO: ==5709== Releasing lock...
[2025-02-09 00:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:34:02] Production.INFO: ==5711== Lock acquired, processing the job...
[2025-02-08 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:34:02] Production.INFO: ==5713== Lock acquired, processing the job...
[2025-02-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:34:02] Production.INFO: ==5713== Releasing lock...
[2025-02-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:34:03] Production.INFO: ==5711== Releasing lock...
[2025-02-08 19:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:34:04] Production.INFO: ==5716== Lock acquired, processing the job...
[2025-02-08 19:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:34:04] Production.INFO: ==5720== Lock acquired, processing the job...
[2025-02-08 19:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:34:04] Production.INFO: ==5722== Lock acquired, processing the job...
[2025-02-08 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:34:04] Production.INFO: ==5718== Lock acquired, processing the job...
[2025-02-08 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:34:04] Production.INFO: Account Balance Start.
[2025-02-08 19:34:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:34:04] Production.INFO: 117
[2025-02-08 19:34:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:34:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:34:04] Production.INFO: Total Charge 0
[2025-02-08 19:34:04] Production.INFO: CreateAllLog End
[2025-02-08 19:34:04] Production.INFO: ==5724== Lock acquired, processing the job...
[2025-02-08 19:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:34:04] Production.INFO: ==5726== Lock acquired, processing the job...
[2025-02-08 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:34:04] Production.INFO: ==5718== Releasing lock...
[2025-02-08 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:34:04] Production.INFO: count ==21
[2025-02-08 19:34:04] Production.ERROR: done
[2025-02-08 19:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:34:04] Production.INFO: count ==21
[2025-02-08 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431883') start
[2025-02-08 19:34:04] Production.INFO: Account Balance End.
[2025-02-08 19:34:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:34:05] Production.INFO: ==5722== Releasing lock...
[2025-02-08 19:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:34:05] Production.ERROR: PBX CALL prc_importPBXExtension('14431883') end
[2025-02-08 19:34:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:34:05] Production.INFO: 1
[2025-02-08 19:34:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:34:05] Production.ERROR: done
[2025-02-08 19:34:05] Production.INFO: ==5726== Releasing lock...
[2025-02-08 19:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:34:06
[end_date_ymd] => 2025-02-08 19:34:06
[RateCDR] => 1
)
[2025-02-08 19:34: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-02-08 16:34:06' and `end` < '2025-02-08 19:34: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-02-08 19:34:14] Production.ERROR: CronJobId end10
[2025-02-08 19:34:14] Production.INFO: ==5720== Releasing lock...
[2025-02-08 19:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:34:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:34:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:34:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:34:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:34:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:34:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:34:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:34:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:34:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:34:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:34:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:34:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:34:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:34:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:34:16] Production.INFO: call_cost start
[2025-02-08 19:34:16] Production.INFO: call_cost end
[2025-02-08 19:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:34:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:34:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:34:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:34:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:34:17] Production.INFO: ==5716== Releasing lock...
[2025-02-08 19:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:34:19] Production.INFO: count ==1763
[2025-02-08 19:34:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:34:06 - End Time 2025-02-08 19:34:06
[2025-02-08 19:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431884', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431884', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431884', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431884', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:34:20] Production.INFO: ProcessCDR(1,14431884,1,1,2)
[2025-02-08 19:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431884', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431884', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:34:23] Production.INFO: ==5724== Releasing lock...
[2025-02-08 19:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:34:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:35:01] Production.INFO: ==5781== Lock acquired, processing the job...
[2025-02-09 00:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:35:01] Production.INFO: neon service started
[2025-02-09 00:35:01] Production.INFO: neon service started
[2025-02-09 00:35:01] Production.INFO: ==5781== Releasing lock...
[2025-02-09 00:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:35:02] Production.INFO: ==5783== Lock acquired, processing the job...
[2025-02-08 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:35:02] Production.INFO: ==5783== Releasing lock...
[2025-02-08 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:35:02] Production.INFO: ==5785== Lock acquired, processing the job...
[2025-02-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:35:02] Production.INFO: ==5785== Releasing lock...
[2025-02-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:35:03] Production.INFO: ==5788== Lock acquired, processing the job...
[2025-02-08 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:35:03] Production.INFO: ==5794== Lock acquired, processing the job...
[2025-02-08 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:35:03] Production.INFO: ==5792== Lock acquired, processing the job...
[2025-02-08 19:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:35:03] Production.INFO: Account Balance Start.
[2025-02-08 19:35:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:35:03] Production.INFO: 117
[2025-02-08 19:35:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:35:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:35:03] Production.INFO: ==5790== Lock acquired, processing the job...
[2025-02-08 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:35:03] Production.INFO: Total Charge 0
[2025-02-08 19:35:03] Production.INFO: CreateAllLog End
[2025-02-08 19:35:03] Production.INFO: ==5796== Lock acquired, processing the job...
[2025-02-08 19:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:35:03] Production.INFO: ==5798== Lock acquired, processing the job...
[2025-02-08 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:35:03] Production.INFO: Account Balance End.
[2025-02-08 19:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:35:04] Production.INFO: count ==21
[2025-02-08 19:35:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:35:04] Production.INFO: ==5794== Releasing lock...
[2025-02-08 19:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:35:04] Production.INFO: ==5790== Releasing lock...
[2025-02-08 19:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:35:04] Production.INFO: count ==21
[2025-02-08 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431888') start
[2025-02-08 19:35:04] Production.ERROR: done
[2025-02-08 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431888') end
[2025-02-08 19:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:35:04] Production.INFO: 1
[2025-02-08 19:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:35:04] Production.INFO: ==5798== Releasing lock...
[2025-02-08 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:35:04] Production.ERROR: done
[2025-02-08 19:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:35:05
[end_date_ymd] => 2025-02-08 19:35:05
[RateCDR] => 1
)
[2025-02-08 19:35: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` >= '2025-02-08 16:35:05' and `end` < '2025-02-08 19:35: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 ,'')
[2025-02-08 19:35:12] Production.ERROR: CronJobId end10
[2025-02-08 19:35:12] Production.INFO: ==5792== Releasing lock...
[2025-02-08 19:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:35:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:35:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:35:15] Production.INFO: call_cost start
[2025-02-08 19:35:15] Production.INFO: call_cost end
[2025-02-08 19:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:35:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:35:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:35:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:35:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:35:16] Production.INFO: ==5788== Releasing lock...
[2025-02-08 19:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:35:18] Production.INFO: count ==1761
[2025-02-08 19:35:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:35:05 - End Time 2025-02-08 19:35:05
[2025-02-08 19:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431889', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431889', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431889', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431889', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:35:19] Production.INFO: ProcessCDR(1,14431889,1,1,2)
[2025-02-08 19:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431889', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431889', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:35:22] Production.INFO: ==5796== Releasing lock...
[2025-02-08 19:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:35:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:36:02] Production.INFO: ==5854== Lock acquired, processing the job...
[2025-02-09 00:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:36:02] Production.INFO: neon service started
[2025-02-09 00:36:02] Production.INFO: neon service started
[2025-02-09 00:36:02] Production.INFO: ==5854== Releasing lock...
[2025-02-09 00:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:36:02] Production.INFO: ==5858== Lock acquired, processing the job...
[2025-02-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:36:02] Production.INFO: ==5858== Releasing lock...
[2025-02-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:36:02] Production.INFO: ==5856== Lock acquired, processing the job...
[2025-02-08 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:36:03] Production.INFO: ==5856== Releasing lock...
[2025-02-08 19:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:36:03] Production.INFO: ==5869== Lock acquired, processing the job...
[2025-02-08 19:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:36:04] Production.INFO: ==5871== Lock acquired, processing the job...
[2025-02-08 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:36:04] Production.INFO: ==5861== Lock acquired, processing the job...
[2025-02-08 19:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:36:04] Production.INFO: ==5863== Lock acquired, processing the job...
[2025-02-08 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:36:04] Production.INFO: ==5865== Lock acquired, processing the job...
[2025-02-08 19:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:36:04] Production.INFO: ==5867== Lock acquired, processing the job...
[2025-02-08 19:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:36:04] Production.INFO: count ==21
[2025-02-08 19:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:36:04] Production.INFO: count ==21
[2025-02-08 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431890') start
[2025-02-08 19:36:04] Production.INFO: Account Balance Start.
[2025-02-08 19:36:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:36:04] Production.INFO: 117
[2025-02-08 19:36:04] Production.ERROR: done
[2025-02-08 19:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:36:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:36:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:36:04] Production.INFO: Total Charge 0
[2025-02-08 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431890') end
[2025-02-08 19:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:36:04] Production.INFO: 1
[2025-02-08 19:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:36:04] Production.INFO: CreateAllLog End
[2025-02-08 19:36:04] Production.INFO: ==5871== Releasing lock...
[2025-02-08 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:36:04] Production.INFO: ==5863== Releasing lock...
[2025-02-08 19:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:36:04] Production.ERROR: done
[2025-02-08 19:36:04] Production.INFO: Account Balance End.
[2025-02-08 19:36:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:36:05] Production.INFO: ==5867== Releasing lock...
[2025-02-08 19:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:36:05
[end_date_ymd] => 2025-02-08 19:36:05
[RateCDR] => 1
)
[2025-02-08 19:36: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` >= '2025-02-08 16:36:05' and `end` < '2025-02-08 19:36: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 ,'')
[2025-02-08 19:36:12] Production.ERROR: CronJobId end10
[2025-02-08 19:36:12] Production.INFO: ==5865== Releasing lock...
[2025-02-08 19:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:36:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:36:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:36:16] Production.INFO: call_cost start
[2025-02-08 19:36:16] Production.INFO: call_cost end
[2025-02-08 19:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:36:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:36:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:36:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:36:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:36:17] Production.INFO: ==5861== Releasing lock...
[2025-02-08 19:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:36:19] Production.INFO: count ==1764
[2025-02-08 19:36:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:36:05 - End Time 2025-02-08 19:36:05
[2025-02-08 19:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431894', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431894', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431894', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431894', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:36:19] Production.INFO: ProcessCDR(1,14431894,1,1,2)
[2025-02-08 19:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431894', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431894', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:36:24] Production.INFO: ==5869== Releasing lock...
[2025-02-08 19:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:36:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:37:01] Production.INFO: ==5926== Lock acquired, processing the job...
[2025-02-09 00:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:37:01] Production.INFO: neon service started
[2025-02-09 00:37:01] Production.INFO: neon service started
[2025-02-09 00:37:01] Production.INFO: ==5926== Releasing lock...
[2025-02-09 00:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:37:02] Production.INFO: ==5930== Lock acquired, processing the job...
[2025-02-08 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:37:02] Production.INFO: ==5930== Releasing lock...
[2025-02-08 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:37:02] Production.INFO: ==5932== Lock acquired, processing the job...
[2025-02-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:37:02] Production.INFO: ==5932== Releasing lock...
[2025-02-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:37:03] Production.INFO: ==5942== Lock acquired, processing the job...
[2025-02-08 19:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:37:03] Production.INFO: ==5944== Lock acquired, processing the job...
[2025-02-08 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:37:03] Production.INFO: ==5934== Lock acquired, processing the job...
[2025-02-08 19:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:37:03] Production.INFO: ==5938== Lock acquired, processing the job...
[2025-02-08 19:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:37:03] Production.INFO: ==5936== Lock acquired, processing the job...
[2025-02-08 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:37:03] Production.INFO: count ==21
[2025-02-08 19:37:03] Production.INFO: ==5940== Lock acquired, processing the job...
[2025-02-08 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:37:03] Production.INFO: count ==21
[2025-02-08 19:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431895') start
[2025-02-08 19:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:37:03] Production.INFO: Account Balance Start.
[2025-02-08 19:37:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:37:03] Production.INFO: 117
[2025-02-08 19:37:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431895') end
[2025-02-08 19:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:37:03] Production.INFO: 1
[2025-02-08 19:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:37:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:37:03] Production.INFO: ==5944== Releasing lock...
[2025-02-08 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:37:04] Production.ERROR: done
[2025-02-08 19:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:37:04] Production.INFO: Total Charge 0
[2025-02-08 19:37:04] Production.INFO: CreateAllLog End
[2025-02-08 19:37:04] Production.INFO: ==5936== Releasing lock...
[2025-02-08 19:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:37:04] Production.ERROR: done
[2025-02-08 19:37:04] Production.INFO: Account Balance End.
[2025-02-08 19:37:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:37:04] Production.INFO: ==5940== Releasing lock...
[2025-02-08 19:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:37:05
[end_date_ymd] => 2025-02-08 19:37:05
[RateCDR] => 1
)
[2025-02-08 19:37: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` >= '2025-02-08 16:37:05' and `end` < '2025-02-08 19:37: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 ,'')
[2025-02-08 19:37:13] Production.ERROR: CronJobId end10
[2025-02-08 19:37:13] Production.INFO: ==5938== Releasing lock...
[2025-02-08 19:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:37:15] Production.INFO: call_cost start
[2025-02-08 19:37:15] Production.INFO: call_cost end
[2025-02-08 19:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:37:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:37:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:37:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:37:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:37:16] Production.INFO: ==5934== Releasing lock...
[2025-02-08 19:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:37:18] Production.INFO: count ==1770
[2025-02-08 19:37:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:37:05 - End Time 2025-02-08 19:37:05
[2025-02-08 19:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431899', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431899', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431899', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431899', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:37:18] Production.INFO: ProcessCDR(1,14431899,1,1,2)
[2025-02-08 19:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431899', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431899', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:37:22] Production.INFO: ==5942== Releasing lock...
[2025-02-08 19:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:37:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:38:02] Production.INFO: ==6000== Lock acquired, processing the job...
[2025-02-09 00:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:38:02] Production.INFO: neon service started
[2025-02-09 00:38:02] Production.INFO: neon service started
[2025-02-09 00:38:02] Production.INFO: ==6000== Releasing lock...
[2025-02-09 00:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:38:02] Production.INFO: ==6002== Lock acquired, processing the job...
[2025-02-08 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:38:02] Production.INFO: ==6002== Releasing lock...
[2025-02-08 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:38:02] Production.INFO: ==6004== Lock acquired, processing the job...
[2025-02-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:38:03] Production.INFO: ==6004== Releasing lock...
[2025-02-09 00:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:38:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:38:03] Production.INFO: ==6011== Lock acquired, processing the job...
[2025-02-08 19:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:38:03] Production.INFO: ==6017== Lock acquired, processing the job...
[2025-02-08 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:38:04] Production.INFO: ==6007== Lock acquired, processing the job...
[2025-02-08 19:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:38:04] Production.INFO: ==6009== Lock acquired, processing the job...
[2025-02-08 19:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:38:04] Production.INFO: ==6013== Lock acquired, processing the job...
[2025-02-08 19:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:38:04] Production.INFO: count ==21
[2025-02-08 19:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:38:04] Production.INFO: count ==21
[2025-02-08 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431900') start
[2025-02-08 19:38:04] Production.INFO: Account Balance Start.
[2025-02-08 19:38:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:38:04] Production.INFO: 117
[2025-02-08 19:38:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:38:04] Production.INFO: ==6015== Lock acquired, processing the job...
[2025-02-08 19:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:38:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:38:04] Production.INFO: Total Charge 0
[2025-02-08 19:38:04] Production.INFO: CreateAllLog End
[2025-02-08 19:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431900') end
[2025-02-08 19:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:38:04] Production.INFO: 1
[2025-02-08 19:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:38:04] Production.INFO: ==6017== Releasing lock...
[2025-02-08 19:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:38:04] Production.INFO: ==6009== Releasing lock...
[2025-02-08 19:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:38:04] Production.INFO: Account Balance End.
[2025-02-08 19:38:04] Production.ERROR: done
[2025-02-08 19:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:38:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:38:04] Production.INFO: ==6013== Releasing lock...
[2025-02-08 19:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:38:04] Production.ERROR: done
[2025-02-08 19:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:38:06
[end_date_ymd] => 2025-02-08 19:38:06
[RateCDR] => 1
)
[2025-02-08 19:38: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-02-08 16:38:06' and `end` < '2025-02-08 19:38: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-02-08 19:38:13] Production.ERROR: CronJobId end10
[2025-02-08 19:38:13] Production.INFO: ==6011== Releasing lock...
[2025-02-08 19:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:38:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:38:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:38:16] Production.INFO: call_cost start
[2025-02-08 19:38:16] Production.INFO: call_cost end
[2025-02-08 19:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:38:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:38:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:38:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:38:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:38:17] Production.INFO: ==6007== Releasing lock...
[2025-02-08 19:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:38:20] Production.INFO: count ==1769
[2025-02-08 19:38:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:38:06 - End Time 2025-02-08 19:38:06
[2025-02-08 19:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431904', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431904', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431904', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431904', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:38:20] Production.INFO: ProcessCDR(1,14431904,1,1,2)
[2025-02-08 19:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431904', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431904', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:38:23] Production.INFO: ==6015== Releasing lock...
[2025-02-08 19:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:38:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:39:01] Production.INFO: ==6075== Lock acquired, processing the job...
[2025-02-09 00:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:39:01] Production.INFO: neon service started
[2025-02-09 00:39:01] Production.INFO: neon service started
[2025-02-09 00:39:01] Production.INFO: ==6075== Releasing lock...
[2025-02-09 00:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:39:02] Production.INFO: ==6077== Lock acquired, processing the job...
[2025-02-08 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:39:02] Production.INFO: ==6077== Releasing lock...
[2025-02-08 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:39:02] Production.INFO: ==6079== Lock acquired, processing the job...
[2025-02-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:39:02] Production.INFO: ==6079== Releasing lock...
[2025-02-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:39:03] Production.INFO: ==6090== Lock acquired, processing the job...
[2025-02-08 19:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:39:03] Production.INFO: ==6092== Lock acquired, processing the job...
[2025-02-08 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:39:03] Production.INFO: ==6082== Lock acquired, processing the job...
[2025-02-08 19:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:39:03] Production.INFO: ==6084== Lock acquired, processing the job...
[2025-02-08 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:39:03] Production.INFO: ==6088== Lock acquired, processing the job...
[2025-02-08 19:39:03] Production.INFO: ==6086== Lock acquired, processing the job...
[2025-02-08 19:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:39:03] Production.INFO: count ==21
[2025-02-08 19:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:39:03] Production.INFO: count ==21
[2025-02-08 19:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431905') start
[2025-02-08 19:39:03] Production.ERROR: done
[2025-02-08 19:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:39:03] Production.INFO: Account Balance Start.
[2025-02-08 19:39:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:39:03] Production.INFO: 117
[2025-02-08 19:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:39:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:39:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:39:03] Production.INFO: Total Charge 0
[2025-02-08 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431905') end
[2025-02-08 19:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:39:04] Production.INFO: 1
[2025-02-08 19:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:39:04] Production.INFO: CreateAllLog End
[2025-02-08 19:39:04] Production.ERROR: done
[2025-02-08 19:39:04] Production.INFO: ==6092== Releasing lock...
[2025-02-08 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:39:04] Production.INFO: ==6084== Releasing lock...
[2025-02-08 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:39:04] Production.INFO: Account Balance End.
[2025-02-08 19:39:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:39:04] Production.INFO: ==6088== Releasing lock...
[2025-02-08 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:39:05
[end_date_ymd] => 2025-02-08 19:39:05
[RateCDR] => 1
)
[2025-02-08 19:39: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` >= '2025-02-08 16:39:05' and `end` < '2025-02-08 19:39: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 ,'')
[2025-02-08 19:39:13] Production.ERROR: CronJobId end10
[2025-02-08 19:39:13] Production.INFO: ==6086== Releasing lock...
[2025-02-08 19:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:39:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:39:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:39:15] Production.INFO: call_cost start
[2025-02-08 19:39:15] Production.INFO: call_cost end
[2025-02-08 19:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:39:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:39:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:39:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:39:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:39:16] Production.INFO: ==6082== Releasing lock...
[2025-02-08 19:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:39:18] Production.INFO: count ==1768
[2025-02-08 19:39:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:39:05 - End Time 2025-02-08 19:39:05
[2025-02-08 19:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431909', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431909', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431909', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431909', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:39:18] Production.INFO: ProcessCDR(1,14431909,1,1,2)
[2025-02-08 19:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431909', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431909', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:39:22] Production.INFO: ==6090== Releasing lock...
[2025-02-08 19:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:39:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:40:02] Production.INFO: ==6146== Lock acquired, processing the job...
[2025-02-09 00:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:40:02] Production.INFO: neon service started
[2025-02-09 00:40:02] Production.INFO: neon service started
[2025-02-09 00:40:02] Production.INFO: ==6146== Releasing lock...
[2025-02-09 00:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:40:02] Production.INFO: ==6148== Lock acquired, processing the job...
[2025-02-08 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:40:02] Production.INFO: ==6150== Lock acquired, processing the job...
[2025-02-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 19:40:02] Production.INFO: ==6148== Releasing lock...
[2025-02-08 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:40:02] Production.INFO: ==6150== Releasing lock...
[2025-02-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:40:04] Production.INFO: ==6161== Lock acquired, processing the job...
[2025-02-08 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:40:04] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-02-08 19:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 19:40:04] Production.INFO: ==6155== Lock acquired, processing the job...
[2025-02-08 19:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:40:04] Production.INFO: ==6159== Lock acquired, processing the job...
[2025-02-08 19:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:40:04] Production.INFO: ==6157== Lock acquired, processing the job...
[2025-02-08 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:40:04] Production.INFO: ==6153== Lock acquired, processing the job...
[2025-02-08 19:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:40:04] Production.INFO: Account Balance Start.
[2025-02-08 19:40:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:40:04] Production.INFO: 117
[2025-02-08 19:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 19:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:40:04] Production.ERROR: CronJob PID - 6159
[2025-02-08 19:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-08 19:40:04] Production.ERROR: CronJob ID - 10
[2025-02-08 19:40:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:40:00
[2025-02-08 19:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:40:04] Production.ERROR: CronJob PID - 6161
[2025-02-08 19:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-08 19:40:04] Production.ERROR: CronJob ID - 12
[2025-02-08 19:40:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:40:00
[2025-02-08 19:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:40:04] Production.ERROR: CronJob PID - 6165
[2025-02-08 19:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-08 19:40:04] Production.ERROR: CronJob ID - 17
[2025-02-08 19:40:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:40:00
[2025-02-08 19:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:40:04] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-02-08 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:40:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 19:40:04] Production.INFO: ==6153== Releasing lock...
[2025-02-08 19:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 19:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 19:40:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:40:04] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-02-08 19:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:40:04] Production.INFO: Total Charge 0
[2025-02-08 19:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:40:04] Production.INFO: CreateAllLog End
[2025-02-08 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:40:04] Production.INFO: count ==21
[2025-02-08 19:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:40:04] Production.INFO: count ==21
[2025-02-08 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431913') start
[2025-02-08 19:40:04] Production.INFO: ==6157== Releasing lock...
[2025-02-08 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:40:04] Production.ERROR: done
[2025-02-08 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431913') end
[2025-02-08 19:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:40:04] Production.INFO: 1
[2025-02-08 19:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 19:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431914', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 19:40:04] Production.INFO: ==6167== Releasing lock...
[2025-02-08 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:40:04] Production.INFO: Account Balance End.
[2025-02-08 19:40:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:40:04] Production.INFO: ==6161== Releasing lock...
[2025-02-08 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:40:05] Production.ERROR: done
[2025-02-08 19:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:40:05] Production.ERROR: done
[2025-02-08 19:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:40:06
[end_date_ymd] => 2025-02-08 19:40:06
[RateCDR] => 1
)
[2025-02-08 19:40: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-02-08 16:40:06' and `end` < '2025-02-08 19:40: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-02-08 19:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431914', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 19:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 19:40:09] Production.INFO: ProcessCDR(1,14431914,1,1,2)
[2025-02-08 19:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14431914,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14431914,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:40:10] Production.INFO: ==6165== Releasing lock...
[2025-02-08 19:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 19:40:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 19:40:15] Production.ERROR: CronJobId end10
[2025-02-08 19:40:15] Production.INFO: ==6159== Releasing lock...
[2025-02-08 19:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:40:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:40:18] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:40:18] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:40:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:40:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:40:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:40:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:40:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:40:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:40:18] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:40:18] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:40:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:40:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:40:18] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:40:18] Production.INFO: call_cost start
[2025-02-08 19:40:18] Production.INFO: call_cost end
[2025-02-08 19:40:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:40:19] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:40:19] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:40:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:40:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:40:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:40:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:40:19] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:40:19] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:40:19] Production.INFO: ==6155== Releasing lock...
[2025-02-08 19:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:40:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:40:19] Production.INFO: count ==1768
[2025-02-08 19:40:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:40:06 - End Time 2025-02-08 19:40:06
[2025-02-08 19:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431915', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431915', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431915', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431915', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:40:20] Production.INFO: ProcessCDR(1,14431915,1,1,2)
[2025-02-08 19:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431915', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431915', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:40:23] Production.INFO: ==6163== Releasing lock...
[2025-02-08 19:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:40:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:41:01] Production.INFO: ==6223== Lock acquired, processing the job...
[2025-02-09 00:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:41:01] Production.INFO: neon service started
[2025-02-09 00:41:01] Production.INFO: neon service started
[2025-02-09 00:41:01] Production.INFO: ==6223== Releasing lock...
[2025-02-09 00:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:41:01] Production.INFO: ==6227== Lock acquired, processing the job...
[2025-02-09 00:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:41:01] Production.INFO: ==6227== Releasing lock...
[2025-02-09 00:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:41:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:41:02] Production.INFO: ==6225== Lock acquired, processing the job...
[2025-02-08 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:41:02] Production.INFO: ==6225== Releasing lock...
[2025-02-08 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:41:03] Production.INFO: ==6232== Lock acquired, processing the job...
[2025-02-08 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:41:03] Production.INFO: ==6234== Lock acquired, processing the job...
[2025-02-08 19:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:41:03] Production.INFO: ==6236== Lock acquired, processing the job...
[2025-02-08 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:41:03] Production.INFO: Account Balance Start.
[2025-02-08 19:41:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:41:03] Production.INFO: 117
[2025-02-08 19:41:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:41:03] Production.INFO: ==6230== Lock acquired, processing the job...
[2025-02-08 19:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:41:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:41:03] Production.INFO: Total Charge 0
[2025-02-08 19:41:03] Production.INFO: CreateAllLog End
[2025-02-08 19:41:03] Production.INFO: ==6238== Lock acquired, processing the job...
[2025-02-08 19:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:41:03] Production.INFO: ==6232== Releasing lock...
[2025-02-08 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:41:03] Production.INFO: Account Balance End.
[2025-02-08 19:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:41:03] Production.ERROR: CronJobId end 12
[2025-02-08 19:41:03] Production.INFO: ==6236== Releasing lock...
[2025-02-08 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:41:03] Production.INFO: ==6240== Lock acquired, processing the job...
[2025-02-08 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:41:03] Production.ERROR: done
[2025-02-08 19:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:41:03] Production.INFO: count ==21
[2025-02-08 19:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:41:03] Production.INFO: count ==21
[2025-02-08 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431919') start
[2025-02-08 19:41:04] Production.ERROR: done
[2025-02-08 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431919') end
[2025-02-08 19:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:41:04] Production.INFO: 1
[2025-02-08 19:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:41:04] Production.INFO: ==6240== Releasing lock...
[2025-02-08 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:41:04
[end_date_ymd] => 2025-02-08 19:41:04
[RateCDR] => 1
)
[2025-02-08 19:41: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` >= '2025-02-08 16:41:04' and `end` < '2025-02-08 19:41:04'
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-02-08 19:41:13] Production.ERROR: CronJobId end10
[2025-02-08 19:41:13] Production.INFO: ==6234== Releasing lock...
[2025-02-08 19:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:41:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:41:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:41:15] Production.INFO: call_cost start
[2025-02-08 19:41:15] Production.INFO: call_cost end
[2025-02-08 19:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:41:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:41:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:41:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:41:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:41:16] Production.INFO: ==6230== Releasing lock...
[2025-02-08 19:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:41:18] Production.INFO: count ==1776
[2025-02-08 19:41:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:41:04 - End Time 2025-02-08 19:41:04
[2025-02-08 19:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431920', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431920', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431920', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431920', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:41:18] Production.INFO: ProcessCDR(1,14431920,1,1,2)
[2025-02-08 19:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431920', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431920', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:41:22] Production.INFO: ==6238== Releasing lock...
[2025-02-08 19:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:41:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:42:01] Production.INFO: ==6298== Lock acquired, processing the job...
[2025-02-09 00:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:42:01] Production.INFO: neon service started
[2025-02-09 00:42:01] Production.INFO: neon service started
[2025-02-09 00:42:01] Production.INFO: ==6298== Releasing lock...
[2025-02-09 00:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:42:02] Production.INFO: ==6300== Lock acquired, processing the job...
[2025-02-08 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:42:02] Production.INFO: ==6302== Lock acquired, processing the job...
[2025-02-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:42:02] Production.INFO: ==6302== Releasing lock...
[2025-02-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:42:02] Production.INFO: ==6300== Releasing lock...
[2025-02-08 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:42:03] Production.INFO: ==6349== Lock acquired, processing the job...
[2025-02-08 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:42:03] Production.INFO: ==6353== Lock acquired, processing the job...
[2025-02-08 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:42:03] Production.INFO: Account Balance Start.
[2025-02-08 19:42:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:42:03] Production.INFO: 117
[2025-02-08 19:42:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:42:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:42:03] Production.INFO: Total Charge 0
[2025-02-08 19:42:03] Production.INFO: CreateAllLog End
[2025-02-08 19:42:03] Production.INFO: ==6343== Lock acquired, processing the job...
[2025-02-08 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:42:03] Production.INFO: count ==21
[2025-02-08 19:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:42:03] Production.INFO: count ==21
[2025-02-08 19:42:03] Production.INFO: ==6345== Lock acquired, processing the job...
[2025-02-08 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:42:03] Production.INFO: Account Balance End.
[2025-02-08 19:42:03] Production.INFO: ==6347== Lock acquired, processing the job...
[2025-02-08 19:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431922') start
[2025-02-08 19:42:03] Production.ERROR: CronJobId end 12
[2025-02-08 19:42:03] Production.INFO: ==6349== Releasing lock...
[2025-02-08 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431922') end
[2025-02-08 19:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:42:03] Production.INFO: 1
[2025-02-08 19:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:42:03] Production.INFO: ==6351== Lock acquired, processing the job...
[2025-02-08 19:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:42:03] Production.INFO: ==6353== Releasing lock...
[2025-02-08 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:42:04] Production.INFO: ==6345== Releasing lock...
[2025-02-08 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:42:04] Production.ERROR: done
[2025-02-08 19:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:42:04] Production.ERROR: done
[2025-02-08 19:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:42:05
[end_date_ymd] => 2025-02-08 19:42:05
[RateCDR] => 1
)
[2025-02-08 19:42: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` >= '2025-02-08 16:42:05' and `end` < '2025-02-08 19:42: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 ,'')
[2025-02-08 19:42:13] Production.ERROR: CronJobId end10
[2025-02-08 19:42:13] Production.INFO: ==6347== Releasing lock...
[2025-02-08 19:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:42:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:42:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:42:16] Production.INFO: call_cost start
[2025-02-08 19:42:16] Production.INFO: call_cost end
[2025-02-08 19:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:42:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:42:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:42:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:42:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:42:17] Production.INFO: ==6343== Releasing lock...
[2025-02-08 19:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:42:20] Production.INFO: count ==1775
[2025-02-08 19:42:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:42:05 - End Time 2025-02-08 19:42:05
[2025-02-08 19:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431925', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431925', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431925', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431925', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:42:20] Production.INFO: ProcessCDR(1,14431925,1,1,2)
[2025-02-08 19:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431925', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431925', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:42:23] Production.INFO: ==6351== Releasing lock...
[2025-02-08 19:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:42:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:43:02] Production.INFO: ==6408== Lock acquired, processing the job...
[2025-02-09 00:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:43:02] Production.INFO: neon service started
[2025-02-09 00:43:02] Production.INFO: neon service started
[2025-02-09 00:43:02] Production.INFO: ==6408== Releasing lock...
[2025-02-09 00:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:43:02] Production.INFO: ==6412== Lock acquired, processing the job...
[2025-02-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:43:02] Production.INFO: ==6412== Releasing lock...
[2025-02-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:43:03] Production.INFO: ==6410== Lock acquired, processing the job...
[2025-02-08 19:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:43:03] Production.INFO: ==6410== Releasing lock...
[2025-02-08 19:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:43:04] Production.INFO: ==6416== Lock acquired, processing the job...
[2025-02-08 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:43:04] Production.INFO: ==6418== Lock acquired, processing the job...
[2025-02-08 19:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:43:04] Production.INFO: ==6425== Lock acquired, processing the job...
[2025-02-08 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:43:04] Production.INFO: ==6416== Releasing lock...
[2025-02-08 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:43:04] Production.INFO: count ==21
[2025-02-08 19:43:04] Production.INFO: ==6414== Lock acquired, processing the job...
[2025-02-08 19:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:43:04] Production.INFO: count ==21
[2025-02-08 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431927') start
[2025-02-08 19:43:04] Production.INFO: ==6423== Lock acquired, processing the job...
[2025-02-08 19:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:43:04] Production.INFO: ==6421== Lock acquired, processing the job...
[2025-02-08 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431927') end
[2025-02-08 19:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:43:04] Production.INFO: 1
[2025-02-08 19:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:43:04] Production.INFO: Account Balance Start.
[2025-02-08 19:43:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:43:04] Production.INFO: 117
[2025-02-08 19:43:05] Production.INFO: ==6425== Releasing lock...
[2025-02-08 19:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:43:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:43:05] Production.INFO: Date 2025-02-08
[2025-02-08 19:43:05] Production.INFO: Reseller ==> 0
[2025-02-08 19:43:05] Production.INFO: Total Charge 0
[2025-02-08 19:43:05] Production.INFO: CreateAllLog End
[2025-02-08 19:43:05] Production.ERROR: done
[2025-02-08 19:43:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:43:05] Production.ERROR: done
[2025-02-08 19:43:05] Production.INFO: Account Balance End.
[2025-02-08 19:43:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:43:05] Production.INFO: ==6421== Releasing lock...
[2025-02-08 19:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:43:06
[end_date_ymd] => 2025-02-08 19:43:06
[RateCDR] => 1
)
[2025-02-08 19:43: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-02-08 16:43:06' and `end` < '2025-02-08 19:43: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-02-08 19:43:13] Production.ERROR: CronJobId end10
[2025-02-08 19:43:13] Production.INFO: ==6418== Releasing lock...
[2025-02-08 19:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:43:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:43:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:43:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:43:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:43:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:43:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:43:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:43:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:43:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:43:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:43:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:43:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:43:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:43:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:43:16] Production.INFO: call_cost start
[2025-02-08 19:43:16] Production.INFO: call_cost end
[2025-02-08 19:43:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:43:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:43:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:43:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:43:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:43:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:43:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:43:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:43:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:43:17] Production.INFO: ==6414== Releasing lock...
[2025-02-08 19:43:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:43:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:43:19] Production.INFO: count ==1770
[2025-02-08 19:43:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:43:06 - End Time 2025-02-08 19:43:06
[2025-02-08 19:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431930', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431930', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431930', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431930', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:43:20] Production.INFO: ProcessCDR(1,14431930,1,1,2)
[2025-02-08 19:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431930', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431930', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:43:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:43:25] Production.INFO: ==6423== Releasing lock...
[2025-02-08 19:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:43:25] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:44:01] Production.INFO: ==6479== Lock acquired, processing the job...
[2025-02-09 00:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:44:02] Production.INFO: neon service started
[2025-02-09 00:44:02] Production.INFO: neon service started
[2025-02-09 00:44:02] Production.INFO: ==6479== Releasing lock...
[2025-02-09 00:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:44:02] Production.INFO: ==6481== Lock acquired, processing the job...
[2025-02-08 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:44:02] Production.INFO: ==6481== Releasing lock...
[2025-02-08 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:44:02] Production.INFO: ==6483== Lock acquired, processing the job...
[2025-02-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:44:02] Production.INFO: ==6483== Releasing lock...
[2025-02-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:44:03] Production.INFO: ==6493== Lock acquired, processing the job...
[2025-02-08 19:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:44:03] Production.INFO: ==6495== Lock acquired, processing the job...
[2025-02-08 19:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:44:04] Production.INFO: ==6485== Lock acquired, processing the job...
[2025-02-08 19:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:44:04] Production.INFO: ==6487== Lock acquired, processing the job...
[2025-02-08 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:44:04] Production.INFO: ==6489== Lock acquired, processing the job...
[2025-02-08 19:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:44:04] Production.INFO: ==6491== Lock acquired, processing the job...
[2025-02-08 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:44:04] Production.INFO: count ==21
[2025-02-08 19:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:44:04] Production.INFO: count ==21
[2025-02-08 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431931') start
[2025-02-08 19:44:04] Production.ERROR: done
[2025-02-08 19:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431931') end
[2025-02-08 19:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:44:04] Production.INFO: 1
[2025-02-08 19:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:44:04] Production.INFO: ==6495== Releasing lock...
[2025-02-08 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:44:04] Production.INFO: Account Balance Start.
[2025-02-08 19:44:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:44:04] Production.INFO: 117
[2025-02-08 19:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:44:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:44:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:44:04] Production.INFO: Total Charge 0
[2025-02-08 19:44:04] Production.INFO: CreateAllLog End
[2025-02-08 19:44:04] Production.ERROR: done
[2025-02-08 19:44:04] Production.INFO: ==6487== Releasing lock...
[2025-02-08 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:44:04] Production.INFO: Account Balance End.
[2025-02-08 19:44:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:44:04] Production.INFO: ==6491== Releasing lock...
[2025-02-08 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:44:05
[end_date_ymd] => 2025-02-08 19:44:05
[RateCDR] => 1
)
[2025-02-08 19:44: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` >= '2025-02-08 16:44:05' and `end` < '2025-02-08 19:44: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 ,'')
[2025-02-08 19:44:14] Production.ERROR: CronJobId end10
[2025-02-08 19:44:14] Production.INFO: ==6489== Releasing lock...
[2025-02-08 19:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:44:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:44:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:44:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:44:16] Production.INFO: call_cost start
[2025-02-08 19:44:16] Production.INFO: call_cost end
[2025-02-08 19:44:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:44:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:44:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:44:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:44:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:44:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:44:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:44:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:44:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:44:17] Production.INFO: ==6485== Releasing lock...
[2025-02-08 19:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:44:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:44:19] Production.INFO: count ==1770
[2025-02-08 19:44:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:44:05 - End Time 2025-02-08 19:44:05
[2025-02-08 19:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431935', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431935', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431935', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431935', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:44:19] Production.INFO: ProcessCDR(1,14431935,1,1,2)
[2025-02-08 19:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431935', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431935', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:44:24] Production.INFO: ==6493== Releasing lock...
[2025-02-08 19:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:44:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:45:01] Production.INFO: ==6553== Lock acquired, processing the job...
[2025-02-09 00:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:45:01] Production.INFO: neon service started
[2025-02-09 00:45:01] Production.INFO: neon service started
[2025-02-09 00:45:01] Production.INFO: ==6553== Releasing lock...
[2025-02-09 00:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:45:01] Production.INFO: ==6555== Lock acquired, processing the job...
[2025-02-08 19:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:45:02] Production.INFO: ==6555== Releasing lock...
[2025-02-08 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:45:02] Production.INFO: ==6557== Lock acquired, processing the job...
[2025-02-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:45:02] Production.INFO: ==6557== Releasing lock...
[2025-02-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:45:03] Production.INFO: ==6563== Lock acquired, processing the job...
[2025-02-08 19:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:45:03] Production.INFO: ==6569== Lock acquired, processing the job...
[2025-02-08 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:45:03] Production.INFO: ==6559== Lock acquired, processing the job...
[2025-02-08 19:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:45:03] Production.INFO: count ==21
[2025-02-08 19:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:45:03] Production.INFO: count ==21
[2025-02-08 19:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431936') start
[2025-02-08 19:45:03] Production.INFO: ==6561== Lock acquired, processing the job...
[2025-02-08 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:45:03] Production.INFO: ==6565== Lock acquired, processing the job...
[2025-02-08 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:45:03] Production.INFO: ==6567== Lock acquired, processing the job...
[2025-02-08 19:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431936') end
[2025-02-08 19:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:45:03] Production.INFO: 1
[2025-02-08 19:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:45:03] Production.INFO: ==6569== Releasing lock...
[2025-02-08 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:45:03] Production.INFO: Account Balance Start.
[2025-02-08 19:45:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:45:03] Production.INFO: 117
[2025-02-08 19:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:45:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:45:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:45:03] Production.INFO: Total Charge 0
[2025-02-08 19:45:03] Production.INFO: CreateAllLog End
[2025-02-08 19:45:04] Production.INFO: ==6561== Releasing lock...
[2025-02-08 19:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:45:04] Production.INFO: Account Balance End.
[2025-02-08 19:45:04] Production.ERROR: done
[2025-02-08 19:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:45:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:45:04] Production.INFO: ==6565== Releasing lock...
[2025-02-08 19:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:45:04] Production.ERROR: done
[2025-02-08 19:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:45:05
[end_date_ymd] => 2025-02-08 19:45:05
[RateCDR] => 1
)
[2025-02-08 19:45: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` >= '2025-02-08 16:45:05' and `end` < '2025-02-08 19:45: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 ,'')
[2025-02-08 19:45:12] Production.ERROR: CronJobId end10
[2025-02-08 19:45:12] Production.INFO: ==6563== Releasing lock...
[2025-02-08 19:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:45:15] Production.INFO: call_cost start
[2025-02-08 19:45:15] Production.INFO: call_cost end
[2025-02-08 19:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:45:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:45:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:45:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:45:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:45:16] Production.INFO: ==6559== Releasing lock...
[2025-02-08 19:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:45:19] Production.INFO: count ==1772
[2025-02-08 19:45:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:45:05 - End Time 2025-02-08 19:45:05
[2025-02-08 19:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431940', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431940', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431940', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431940', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:45:19] Production.INFO: ProcessCDR(1,14431940,1,1,2)
[2025-02-08 19:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431940', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431940', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:45:24] Production.INFO: ==6567== Releasing lock...
[2025-02-08 19:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:45:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:46:01] Production.INFO: ==6625== Lock acquired, processing the job...
[2025-02-09 00:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:46:01] Production.INFO: neon service started
[2025-02-09 00:46:01] Production.INFO: neon service started
[2025-02-09 00:46:01] Production.INFO: ==6625== Releasing lock...
[2025-02-09 00:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:46:02] Production.INFO: ==6627== Lock acquired, processing the job...
[2025-02-08 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:46:02] Production.INFO: ==6627== Releasing lock...
[2025-02-08 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:46:02] Production.INFO: ==6629== Lock acquired, processing the job...
[2025-02-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:46:02] Production.INFO: ==6629== Releasing lock...
[2025-02-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:46:03] Production.INFO: ==6632== Lock acquired, processing the job...
[2025-02-08 19:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:46:03] Production.INFO: ==6634== Lock acquired, processing the job...
[2025-02-08 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:46:03] Production.INFO: ==6636== Lock acquired, processing the job...
[2025-02-08 19:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:46:04] Production.INFO: ==6642== Lock acquired, processing the job...
[2025-02-08 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:46:04] Production.INFO: ==6640== Lock acquired, processing the job...
[2025-02-08 19:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:46:04] Production.INFO: ==6634== Releasing lock...
[2025-02-08 19:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:46:04] Production.INFO: ==6638== Lock acquired, processing the job...
[2025-02-08 19:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:46:04] Production.INFO: count ==21
[2025-02-08 19:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:46:04] Production.INFO: count ==21
[2025-02-08 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431943') start
[2025-02-08 19:46:04] Production.INFO: Account Balance Start.
[2025-02-08 19:46:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:46:04] Production.INFO: 117
[2025-02-08 19:46:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:46:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431943') end
[2025-02-08 19:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:46:04] Production.INFO: 1
[2025-02-08 19:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:46:04] Production.INFO: ==6642== Releasing lock...
[2025-02-08 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:46:04] Production.INFO: Total Charge 0
[2025-02-08 19:46:04] Production.ERROR: done
[2025-02-08 19:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:46:04] Production.INFO: CreateAllLog End
[2025-02-08 19:46:04] Production.ERROR: done
[2025-02-08 19:46:04] Production.INFO: Account Balance End.
[2025-02-08 19:46:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:46:05] Production.INFO: ==6638== Releasing lock...
[2025-02-08 19:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:46:06
[end_date_ymd] => 2025-02-08 19:46:06
[RateCDR] => 1
)
[2025-02-08 19:46: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-02-08 16:46:06' and `end` < '2025-02-08 19:46: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-02-08 19:46:13] Production.ERROR: CronJobId end10
[2025-02-08 19:46:13] Production.INFO: ==6636== Releasing lock...
[2025-02-08 19:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:46:14] Production.INFO: call_cost start
[2025-02-08 19:46:14] Production.INFO: call_cost end
[2025-02-08 19:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:46:15] Production.INFO: ==6632== Releasing lock...
[2025-02-08 19:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:46:19] Production.INFO: count ==1777
[2025-02-08 19:46:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:46:06 - End Time 2025-02-08 19:46:06
[2025-02-08 19:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431945', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431945', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431945', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431945', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:46:19] Production.INFO: ProcessCDR(1,14431945,1,1,2)
[2025-02-08 19:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431945', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431945', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:46:24] Production.INFO: ==6640== Releasing lock...
[2025-02-08 19:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:46:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:47:02] Production.INFO: ==6700== Lock acquired, processing the job...
[2025-02-09 00:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:47:02] Production.INFO: neon service started
[2025-02-09 00:47:02] Production.INFO: neon service started
[2025-02-09 00:47:02] Production.INFO: ==6700== Releasing lock...
[2025-02-09 00:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:47:02] Production.INFO: ==6702== Lock acquired, processing the job...
[2025-02-08 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:47:03] Production.INFO: ==6702== Releasing lock...
[2025-02-08 19:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:47:03] Production.INFO: ==6704== Lock acquired, processing the job...
[2025-02-09 00:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:47:03] Production.INFO: ==6704== Releasing lock...
[2025-02-09 00:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:47:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:47:04] Production.INFO: ==6711== Lock acquired, processing the job...
[2025-02-08 19:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:47:04] Production.INFO: ==6715== Lock acquired, processing the job...
[2025-02-08 19:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:47:04] Production.INFO: ==6709== Lock acquired, processing the job...
[2025-02-08 19:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:47:04] Production.INFO: ==6707== Lock acquired, processing the job...
[2025-02-08 19:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:47:04] Production.INFO: ==6713== Lock acquired, processing the job...
[2025-02-08 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:47:04] Production.INFO: ==6717== Lock acquired, processing the job...
[2025-02-08 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:47:04] Production.INFO: Account Balance Start.
[2025-02-08 19:47:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:47:04] Production.INFO: 117
[2025-02-08 19:47:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:47:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:47:04] Production.ERROR: done
[2025-02-08 19:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:47:04] Production.INFO: ==6709== Releasing lock...
[2025-02-08 19:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:47:04] Production.INFO: Total Charge 0
[2025-02-08 19:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:47:04] Production.INFO: CreateAllLog End
[2025-02-08 19:47:04] Production.ERROR: done
[2025-02-08 19:47:04] Production.INFO: count ==21
[2025-02-08 19:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:47:04] Production.INFO: count ==21
[2025-02-08 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431949') start
[2025-02-08 19:47:04] Production.INFO: Account Balance End.
[2025-02-08 19:47:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:47:04] Production.INFO: ==6713== Releasing lock...
[2025-02-08 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:47:05] Production.ERROR: PBX CALL prc_importPBXExtension('14431949') end
[2025-02-08 19:47:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:47:05] Production.INFO: 1
[2025-02-08 19:47:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:47:05] Production.INFO: ==6717== Releasing lock...
[2025-02-08 19:47:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:47:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:47:05
[end_date_ymd] => 2025-02-08 19:47:05
[RateCDR] => 1
)
[2025-02-08 19:47: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` >= '2025-02-08 16:47:05' and `end` < '2025-02-08 19:47: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 ,'')
[2025-02-08 19:47:12] Production.ERROR: CronJobId end10
[2025-02-08 19:47:12] Production.INFO: ==6711== Releasing lock...
[2025-02-08 19:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:47:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:47:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:47:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:47:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:47:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:47:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:47:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:47:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:47:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:47:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:47:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:47:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:47:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:47:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:47:16] Production.INFO: call_cost start
[2025-02-08 19:47:16] Production.INFO: call_cost end
[2025-02-08 19:47:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:47:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:47:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:47:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:47:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:47:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:47:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:47:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:47:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:47:17] Production.INFO: ==6707== Releasing lock...
[2025-02-08 19:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:47:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:47:19] Production.INFO: count ==1781
[2025-02-08 19:47:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:47:05 - End Time 2025-02-08 19:47:05
[2025-02-08 19:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431950', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431950', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431950', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431950', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:47:19] Production.INFO: ProcessCDR(1,14431950,1,1,2)
[2025-02-08 19:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431950', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431950', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:47:24] Production.INFO: ==6715== Releasing lock...
[2025-02-08 19:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:47:24] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 00:48:01] Production.INFO: ==6773== Lock acquired, processing the job...
[2025-02-09 00:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:48:01] Production.INFO: neon service started
[2025-02-09 00:48:01] Production.INFO: neon service started
[2025-02-09 00:48:01] Production.INFO: ==6773== Releasing lock...
[2025-02-09 00:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:48:02] Production.INFO: ==6777== Lock acquired, processing the job...
[2025-02-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:48:02] Production.INFO: ==6777== Releasing lock...
[2025-02-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:48:02] Production.INFO: ==6775== Lock acquired, processing the job...
[2025-02-08 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:48:02] Production.INFO: ==6775== Releasing lock...
[2025-02-08 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:48:03] Production.INFO: ==6780== Lock acquired, processing the job...
[2025-02-08 19:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:48:03] Production.INFO: ==6784== Lock acquired, processing the job...
[2025-02-08 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:48:03] Production.INFO: ==6782== Lock acquired, processing the job...
[2025-02-08 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:48:03] Production.INFO: ==6786== Lock acquired, processing the job...
[2025-02-08 19:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:48:03] Production.INFO: ==6788== Lock acquired, processing the job...
[2025-02-08 19:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:48:04] Production.INFO: ==6790== Lock acquired, processing the job...
[2025-02-08 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:48:04] Production.INFO: Account Balance Start.
[2025-02-08 19:48:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:48:04] Production.INFO: 117
[2025-02-08 19:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:48:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:48:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:48:04] Production.INFO: Total Charge 0
[2025-02-08 19:48:04] Production.INFO: CreateAllLog End
[2025-02-08 19:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:48:04] Production.INFO: count ==21
[2025-02-08 19:48:04] Production.INFO: ==6782== Releasing lock...
[2025-02-08 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:48:04] Production.INFO: count ==21
[2025-02-08 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431954') start
[2025-02-08 19:48:04] Production.INFO: Account Balance End.
[2025-02-08 19:48:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:48:04] Production.INFO: ==6786== Releasing lock...
[2025-02-08 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:48:04] Production.ERROR: done
[2025-02-08 19:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431954') end
[2025-02-08 19:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:48:04] Production.INFO: 1
[2025-02-08 19:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:48:04] Production.INFO: ==6790== Releasing lock...
[2025-02-08 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:48:04] Production.ERROR: done
[2025-02-08 19:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:48:05
[end_date_ymd] => 2025-02-08 19:48:05
[RateCDR] => 1
)
[2025-02-08 19:48: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` >= '2025-02-08 16:48:05' and `end` < '2025-02-08 19:48: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 ,'')
[2025-02-08 19:48:14] Production.ERROR: CronJobId end10
[2025-02-08 19:48:14] Production.INFO: ==6784== Releasing lock...
[2025-02-08 19:48:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:48:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:48:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:48:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:48:16] Production.INFO: call_cost start
[2025-02-08 19:48:16] Production.INFO: call_cost end
[2025-02-08 19:48:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:48:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:48:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:48:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:48:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:48:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:48:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:48:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:48:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:48:17] Production.INFO: ==6780== Releasing lock...
[2025-02-08 19:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:48:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:48:19] Production.INFO: count ==1780
[2025-02-08 19:48:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:48:05 - End Time 2025-02-08 19:48:05
[2025-02-08 19:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431955', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431955', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431955', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431955', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:48:19] Production.INFO: ProcessCDR(1,14431955,1,1,2)
[2025-02-08 19:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431955', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431955', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:48:22] Production.INFO: ==6788== Releasing lock...
[2025-02-08 19:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:48:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:49:02] Production.INFO: ==6852== Lock acquired, processing the job...
[2025-02-09 00:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:49:02] Production.INFO: neon service started
[2025-02-09 00:49:02] Production.INFO: neon service started
[2025-02-09 00:49:02] Production.INFO: ==6852== Releasing lock...
[2025-02-09 00:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:49:02] Production.INFO: ==6854== Lock acquired, processing the job...
[2025-02-08 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:49:02] Production.INFO: ==6854== Releasing lock...
[2025-02-08 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:49:03] Production.INFO: ==6856== Lock acquired, processing the job...
[2025-02-09 00:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:49:03] Production.INFO: ==6856== Releasing lock...
[2025-02-09 00:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:49:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:49:04] Production.INFO: ==6859== Lock acquired, processing the job...
[2025-02-08 19:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:49:04] Production.INFO: ==6867== Lock acquired, processing the job...
[2025-02-08 19:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:49:04] Production.INFO: ==6869== Lock acquired, processing the job...
[2025-02-08 19:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:49:04] Production.INFO: ==6861== Lock acquired, processing the job...
[2025-02-08 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:49:04] Production.INFO: ==6863== Lock acquired, processing the job...
[2025-02-08 19:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:49:04] Production.INFO: count ==21
[2025-02-08 19:49:04] Production.INFO: ==6865== Lock acquired, processing the job...
[2025-02-08 19:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:49:04] Production.INFO: count ==21
[2025-02-08 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431957') start
[2025-02-08 19:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:49:04] Production.INFO: Account Balance Start.
[2025-02-08 19:49:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:49:04] Production.INFO: 117
[2025-02-08 19:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431957') end
[2025-02-08 19:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:49:04] Production.INFO: 1
[2025-02-08 19:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:49:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:49:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:49:04] Production.INFO: ==6869== Releasing lock...
[2025-02-08 19:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:49:04] Production.ERROR: done
[2025-02-08 19:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:49:04] Production.INFO: Total Charge 0
[2025-02-08 19:49:04] Production.INFO: CreateAllLog End
[2025-02-08 19:49:04] Production.INFO: ==6861== Releasing lock...
[2025-02-08 19:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:49:04] Production.ERROR: done
[2025-02-08 19:49:04] Production.INFO: Account Balance End.
[2025-02-08 19:49:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:49:04] Production.INFO: ==6865== Releasing lock...
[2025-02-08 19:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:49:05
[end_date_ymd] => 2025-02-08 19:49:05
[RateCDR] => 1
)
[2025-02-08 19:49: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` >= '2025-02-08 16:49:05' and `end` < '2025-02-08 19:49: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 ,'')
[2025-02-08 19:49:13] Production.ERROR: CronJobId end10
[2025-02-08 19:49:13] Production.INFO: ==6863== Releasing lock...
[2025-02-08 19:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:49:15] Production.INFO: call_cost start
[2025-02-08 19:49:15] Production.INFO: call_cost end
[2025-02-08 19:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:49:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:49:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:49:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:49:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:49:16] Production.INFO: ==6859== Releasing lock...
[2025-02-08 19:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:49:18] Production.INFO: count ==1781
[2025-02-08 19:49:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:49:05 - End Time 2025-02-08 19:49:05
[2025-02-08 19:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431960', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431960', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431960', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431960', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:49:19] Production.INFO: ProcessCDR(1,14431960,1,1,2)
[2025-02-08 19:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431960', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431960', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:49:24] Production.INFO: ==6867== Releasing lock...
[2025-02-08 19:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:49:24] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 00:50:01] Production.INFO: ==6924== Lock acquired, processing the job...
[2025-02-09 00:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:50:01] Production.INFO: neon service started
[2025-02-09 00:50:01] Production.INFO: neon service started
[2025-02-09 00:50:01] Production.INFO: ==6924== Releasing lock...
[2025-02-09 00:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:50:02] Production.INFO: ==6926== Lock acquired, processing the job...
[2025-02-08 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:50:02] Production.INFO: ==6926== Releasing lock...
[2025-02-08 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:50:02] Production.INFO: ==6928== Lock acquired, processing the job...
[2025-02-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:50:02] Production.INFO: ==6928== Releasing lock...
[2025-02-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:50:03] Production.INFO: ==6936== Lock acquired, processing the job...
[2025-02-08 19:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:50:03] Production.INFO: ==6938== Lock acquired, processing the job...
[2025-02-08 19:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:50:03] Production.INFO: ==6930== Lock acquired, processing the job...
[2025-02-08 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 19:50:03] Production.INFO: ==6932== Lock acquired, processing the job...
[2025-02-08 19:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:50:03] Production.INFO: ==6945== Lock acquired, processing the job...
[2025-02-08 19:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:50:03] Production.INFO: ==6934== Lock acquired, processing the job...
[2025-02-08 19:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:50:04] Production.INFO: Account Balance Start.
[2025-02-08 19:50:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:50:04] Production.ERROR: CronJob PID - 6932
[2025-02-08 19:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 19:50:04] Production.ERROR: CronJob ID - 5
[2025-02-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:50:00
[2025-02-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:50:04] Production.ERROR: CronJob PID - 6936
[2025-02-08 19:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-08 19:50:04] Production.ERROR: CronJob ID - 10
[2025-02-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:50:00
[2025-02-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:50:04] Production.ERROR: CronJob PID - 6938
[2025-02-08 19:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-08 19:50:04] Production.ERROR: CronJob ID - 12
[2025-02-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:50:00
[2025-02-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 19:50:04] Production.ERROR: CronJob PID - 6945
[2025-02-08 19:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-08 19:50:04] Production.ERROR: CronJob ID - 19
[2025-02-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-02-08 19:50:00
[2025-02-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 19:50:04] Production.INFO: 117
[2025-02-08 19:50:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:50:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 19:50:04] Production.INFO: ==6930== Releasing lock...
[2025-02-08 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 19:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 19:50:04] Production.INFO: ==6940== Lock acquired, processing the job...
[2025-02-08 19:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:50:04] Production.INFO: Total Charge 0
[2025-02-08 19:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:50:04] Production.INFO: CreateAllLog End
[2025-02-08 19:50:04] Production.INFO: ==6942== Lock acquired, processing the job...
[2025-02-08 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 19:50:04] Production.INFO: count ==21
[2025-02-08 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:50:04] Production.INFO: count ==21
[2025-02-08 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431963') start
[2025-02-08 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:50:04] Production.INFO: Account Balance End.
[2025-02-08 19:50:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:50:04] Production.INFO: ==6938== Releasing lock...
[2025-02-08 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:50:04] Production.ERROR: done
[2025-02-08 19:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431963') end
[2025-02-08 19:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:50:04] Production.INFO: 1
[2025-02-08 19:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:50:04] Production.INFO: ==6945== Releasing lock...
[2025-02-08 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:50:04] Production.INFO: ==6934== Releasing lock...
[2025-02-08 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:50:04] Production.ERROR: done
[2025-02-08 19:50:04] Production.ERROR: done
[2025-02-08 19:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 19:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431966', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 19:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:50:05
[end_date_ymd] => 2025-02-08 19:50:05
[RateCDR] => 1
)
[2025-02-08 19:50: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` >= '2025-02-08 16:50:05' and `end` < '2025-02-08 19:50: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 ,'')
[2025-02-08 19:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14431966', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 19:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 19:50:10] Production.INFO: ProcessCDR(1,14431966,1,1,2)
[2025-02-08 19:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14431966,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14431966,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:50:10] Production.INFO: ==6942== Releasing lock...
[2025-02-08 19:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 19:50:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 19:50:15] Production.ERROR: CronJobId end10
[2025-02-08 19:50:15] Production.INFO: ==6936== Releasing lock...
[2025-02-08 19:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:50:17] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:50:17] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:50:18] Production.INFO: call_cost start
[2025-02-08 19:50:18] Production.INFO: call_cost end
[2025-02-08 19:50:19] Production.INFO: count ==1783
[2025-02-08 19:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:50:19] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:50:19] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:50:19] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:50:19] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:50:19] Production.INFO: ==6932== Releasing lock...
[2025-02-08 19:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:50:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:50:05 - End Time 2025-02-08 19:50:05
[2025-02-08 19:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431965', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431965', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431965', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431965', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:50:19] Production.INFO: ProcessCDR(1,14431965,1,1,2)
[2025-02-08 19:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431965', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431965', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:50:24] Production.INFO: ==6940== Releasing lock...
[2025-02-08 19:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:50:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:51:02] Production.INFO: ==7004== Lock acquired, processing the job...
[2025-02-09 00:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:51:02] Production.INFO: neon service started
[2025-02-09 00:51:02] Production.INFO: neon service started
[2025-02-09 00:51:02] Production.INFO: ==7004== Releasing lock...
[2025-02-09 00:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:51:02] Production.INFO: ==7006== Lock acquired, processing the job...
[2025-02-08 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:51:03] Production.INFO: ==7006== Releasing lock...
[2025-02-08 19:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:51:03] Production.INFO: ==7008== Lock acquired, processing the job...
[2025-02-09 00:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:51:03] Production.INFO: ==7008== Releasing lock...
[2025-02-09 00:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:51:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:51:03] Production.INFO: ==7015== Lock acquired, processing the job...
[2025-02-08 19:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:51:04] Production.INFO: ==7011== Lock acquired, processing the job...
[2025-02-08 19:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:51:04] Production.INFO: ==7019== Lock acquired, processing the job...
[2025-02-08 19:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:51:04] Production.INFO: ==7013== Lock acquired, processing the job...
[2025-02-08 19:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:51:04] Production.INFO: ==7017== Lock acquired, processing the job...
[2025-02-08 19:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:51:04] Production.INFO: ==7021== Lock acquired, processing the job...
[2025-02-08 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:51:04] Production.INFO: Account Balance Start.
[2025-02-08 19:51:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:51:04] Production.INFO: 117
[2025-02-08 19:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:51:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:51:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:51:04] Production.INFO: ==7013== Releasing lock...
[2025-02-08 19:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:51:04] Production.INFO: count ==21
[2025-02-08 19:51:04] Production.ERROR: done
[2025-02-08 19:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:51:04] Production.INFO: Total Charge 0
[2025-02-08 19:51:04] Production.INFO: count ==21
[2025-02-08 19:51:04] Production.INFO: CreateAllLog End
[2025-02-08 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431970') start
[2025-02-08 19:51:04] Production.ERROR: done
[2025-02-08 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431970') end
[2025-02-08 19:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:51:04] Production.INFO: 1
[2025-02-08 19:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:51:04] Production.INFO: Account Balance End.
[2025-02-08 19:51:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:51:04] Production.INFO: ==7017== Releasing lock...
[2025-02-08 19:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:51:04] Production.INFO: ==7021== Releasing lock...
[2025-02-08 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:51:06
[end_date_ymd] => 2025-02-08 19:51:06
[RateCDR] => 1
)
[2025-02-08 19:51: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-02-08 16:51:06' and `end` < '2025-02-08 19:51: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-02-08 19:51:13] Production.ERROR: CronJobId end10
[2025-02-08 19:51:13] Production.INFO: ==7015== Releasing lock...
[2025-02-08 19:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:51:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:51:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:51:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:51:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:51:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:51:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:51:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:51:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:51:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:51:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:51:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:51:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:51:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:51:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:51:16] Production.INFO: call_cost start
[2025-02-08 19:51:16] Production.INFO: call_cost end
[2025-02-08 19:51:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:51:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:51:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:51:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:51:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:51:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:51:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:51:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:51:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:51:17] Production.INFO: ==7011== Releasing lock...
[2025-02-08 19:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:51:19] Production.INFO: count ==1768
[2025-02-08 19:51:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:51:06 - End Time 2025-02-08 19:51:06
[2025-02-08 19:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431971', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431971', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431971', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431971', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:51:19] Production.INFO: ProcessCDR(1,14431971,1,1,2)
[2025-02-08 19:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431971', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431971', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:51:22] Production.INFO: ==7019== Releasing lock...
[2025-02-08 19:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:51:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 00:52:01] Production.INFO: ==7075== Lock acquired, processing the job...
[2025-02-09 00:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:52:01] Production.INFO: neon service started
[2025-02-09 00:52:01] Production.INFO: neon service started
[2025-02-09 00:52:01] Production.INFO: ==7075== Releasing lock...
[2025-02-09 00:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:52:02] Production.INFO: ==7077== Lock acquired, processing the job...
[2025-02-08 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:52:02] Production.INFO: ==7077== Releasing lock...
[2025-02-08 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:52:02] Production.INFO: ==7079== Lock acquired, processing the job...
[2025-02-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:52:02] Production.INFO: ==7079== Releasing lock...
[2025-02-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:52:03] Production.INFO: ==7090== Lock acquired, processing the job...
[2025-02-08 19:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:52:03] Production.INFO: ==7092== Lock acquired, processing the job...
[2025-02-08 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:52:03] Production.INFO: ==7082== Lock acquired, processing the job...
[2025-02-08 19:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:52:03] Production.INFO: ==7084== Lock acquired, processing the job...
[2025-02-08 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:52:03] Production.INFO: count ==21
[2025-02-08 19:52:03] Production.INFO: ==7086== Lock acquired, processing the job...
[2025-02-08 19:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:52:03] Production.INFO: ==7088== Lock acquired, processing the job...
[2025-02-08 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:52:03] Production.INFO: count ==21
[2025-02-08 19:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14431972') start
[2025-02-08 19:52:03] Production.ERROR: done
[2025-02-08 19:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:52:04] Production.INFO: Account Balance Start.
[2025-02-08 19:52:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:52:04] Production.INFO: 117
[2025-02-08 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431972') end
[2025-02-08 19:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:52:04] Production.INFO: 1
[2025-02-08 19:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:52:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:52:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:52:04] Production.INFO: ==7092== Releasing lock...
[2025-02-08 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:52:04] Production.ERROR: done
[2025-02-08 19:52:04] Production.INFO: ==7084== Releasing lock...
[2025-02-08 19:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:52:04] Production.INFO: Total Charge 0
[2025-02-08 19:52:04] Production.INFO: CreateAllLog End
[2025-02-08 19:52:04] Production.INFO: Account Balance End.
[2025-02-08 19:52:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:52:04] Production.INFO: ==7088== Releasing lock...
[2025-02-08 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:52:05
[end_date_ymd] => 2025-02-08 19:52:05
[RateCDR] => 1
)
[2025-02-08 19:52: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` >= '2025-02-08 16:52:05' and `end` < '2025-02-08 19:52: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 ,'')
[2025-02-08 19:52:13] Production.ERROR: CronJobId end10
[2025-02-08 19:52:13] Production.INFO: ==7086== Releasing lock...
[2025-02-08 19:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:52:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:52:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:52:16] Production.INFO: call_cost start
[2025-02-08 19:52:16] Production.INFO: call_cost end
[2025-02-08 19:52:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:52:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:52:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:52:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:52:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:52:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:52:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:52:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:52:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:52:17] Production.INFO: ==7082== Releasing lock...
[2025-02-08 19:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:52:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:52:20] Production.INFO: count ==1773
[2025-02-08 19:52:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:52:05 - End Time 2025-02-08 19:52:05
[2025-02-08 19:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431976', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431976', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431976', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431976', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:52:21] Production.INFO: ProcessCDR(1,14431976,1,1,2)
[2025-02-08 19:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431976', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431976', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:52:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:52:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:52:26] Production.INFO: ==7090== Releasing lock...
[2025-02-08 19:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:52:26] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:53:02] Production.INFO: ==7150== Lock acquired, processing the job...
[2025-02-09 00:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:53:02] Production.INFO: neon service started
[2025-02-09 00:53:02] Production.INFO: neon service started
[2025-02-09 00:53:02] Production.INFO: ==7150== Releasing lock...
[2025-02-09 00:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:53:02] Production.INFO: ==7152== Lock acquired, processing the job...
[2025-02-08 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:53:02] Production.INFO: ==7154== Lock acquired, processing the job...
[2025-02-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:53:02] Production.INFO: ==7154== Releasing lock...
[2025-02-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:53:03] Production.INFO: ==7152== Releasing lock...
[2025-02-08 19:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:53:04] Production.INFO: ==7163== Lock acquired, processing the job...
[2025-02-08 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:53:04] Production.INFO: ==7165== Lock acquired, processing the job...
[2025-02-08 19:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:53:04] Production.INFO: Account Balance Start.
[2025-02-08 19:53:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:53:04] Production.INFO: 117
[2025-02-08 19:53:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:53:04] Production.INFO: ==7157== Lock acquired, processing the job...
[2025-02-08 19:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:53:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:53:04] Production.INFO: ==7159== Lock acquired, processing the job...
[2025-02-08 19:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:53:04] Production.INFO: Total Charge 0
[2025-02-08 19:53:04] Production.INFO: CreateAllLog End
[2025-02-08 19:53:04] Production.INFO: ==7161== Lock acquired, processing the job...
[2025-02-08 19:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:53:04] Production.INFO: ==7167== Lock acquired, processing the job...
[2025-02-08 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:53:04] Production.INFO: Account Balance End.
[2025-02-08 19:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:53:04] Production.INFO: count ==21
[2025-02-08 19:53:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:53:04] Production.INFO: ==7163== Releasing lock...
[2025-02-08 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:53:04] Production.INFO: count ==21
[2025-02-08 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431978') start
[2025-02-08 19:53:04] Production.ERROR: done
[2025-02-08 19:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:53:04] Production.INFO: ==7159== Releasing lock...
[2025-02-08 19:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431978') end
[2025-02-08 19:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:53:04] Production.INFO: 1
[2025-02-08 19:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:53:04] Production.ERROR: done
[2025-02-08 19:53:05] Production.INFO: ==7167== Releasing lock...
[2025-02-08 19:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:53:06
[end_date_ymd] => 2025-02-08 19:53:06
[RateCDR] => 1
)
[2025-02-08 19:53: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-02-08 16:53:06' and `end` < '2025-02-08 19:53: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-02-08 19:53:12] Production.ERROR: CronJobId end10
[2025-02-08 19:53:12] Production.INFO: ==7161== Releasing lock...
[2025-02-08 19:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:53:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:53:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:53:15] Production.INFO: call_cost start
[2025-02-08 19:53:15] Production.INFO: call_cost end
[2025-02-08 19:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:53:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:53:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:53:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:53:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:53:16] Production.INFO: ==7157== Releasing lock...
[2025-02-08 19:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:53:19] Production.INFO: count ==1772
[2025-02-08 19:53:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:53:06 - End Time 2025-02-08 19:53:06
[2025-02-08 19:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431981', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431981', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431981', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431981', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:53:20] Production.INFO: ProcessCDR(1,14431981,1,1,2)
[2025-02-08 19:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431981', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431981', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:53:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:53:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:53:25] Production.INFO: ==7165== Releasing lock...
[2025-02-08 19:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:53:25] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:54:01] Production.INFO: ==7222== Lock acquired, processing the job...
[2025-02-09 00:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:54:01] Production.INFO: neon service started
[2025-02-09 00:54:01] Production.INFO: neon service started
[2025-02-09 00:54:01] Production.INFO: ==7222== Releasing lock...
[2025-02-09 00:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:54:02] Production.INFO: ==7224== Lock acquired, processing the job...
[2025-02-08 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:54:02] Production.INFO: ==7224== Releasing lock...
[2025-02-08 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:54:02] Production.INFO: ==7226== Lock acquired, processing the job...
[2025-02-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:54:02] Production.INFO: ==7226== Releasing lock...
[2025-02-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:54:03] Production.INFO: ==7229== Lock acquired, processing the job...
[2025-02-08 19:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:54:03] Production.INFO: ==7233== Lock acquired, processing the job...
[2025-02-08 19:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:54:03] Production.INFO: ==7237== Lock acquired, processing the job...
[2025-02-08 19:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:54:03] Production.INFO: ==7231== Lock acquired, processing the job...
[2025-02-08 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:54:03] Production.INFO: ==7239== Lock acquired, processing the job...
[2025-02-08 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:54:03] Production.INFO: ==7235== Lock acquired, processing the job...
[2025-02-08 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:54:03] Production.ERROR: done
[2025-02-08 19:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:54:03] Production.INFO: Account Balance Start.
[2025-02-08 19:54:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:54:03] Production.INFO: 117
[2025-02-08 19:54:03] Production.INFO: count ==21
[2025-02-08 19:54:03] Production.ERROR: done
[2025-02-08 19:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:54:03] Production.INFO: count ==21
[2025-02-08 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431983') start
[2025-02-08 19:54:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:54:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:54:04] Production.INFO: Total Charge 0
[2025-02-08 19:54:04] Production.INFO: CreateAllLog End
[2025-02-08 19:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431983') end
[2025-02-08 19:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:54:04] Production.INFO: 1
[2025-02-08 19:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:54:04] Production.INFO: ==7231== Releasing lock...
[2025-02-08 19:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:54:04] Production.INFO: ==7239== Releasing lock...
[2025-02-08 19:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:54:04] Production.INFO: Account Balance End.
[2025-02-08 19:54:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:54:04] Production.INFO: ==7235== Releasing lock...
[2025-02-08 19:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:54:05
[end_date_ymd] => 2025-02-08 19:54:05
[RateCDR] => 1
)
[2025-02-08 19:54: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` >= '2025-02-08 16:54:05' and `end` < '2025-02-08 19:54: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 ,'')
[2025-02-08 19:54:12] Production.ERROR: CronJobId end10
[2025-02-08 19:54:12] Production.INFO: ==7233== Releasing lock...
[2025-02-08 19:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:54:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:54:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:54:15] Production.INFO: call_cost start
[2025-02-08 19:54:15] Production.INFO: call_cost end
[2025-02-08 19:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:54:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:54:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:54:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:54:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:54:16] Production.INFO: ==7229== Releasing lock...
[2025-02-08 19:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:54:18] Production.INFO: count ==1767
[2025-02-08 19:54:18] Production.ERROR: pbx CDR StartTime 2025-02-08 16:54:05 - End Time 2025-02-08 19:54:05
[2025-02-08 19:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431986', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431986', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431986', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431986', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:54:18] Production.INFO: ProcessCDR(1,14431986,1,1,2)
[2025-02-08 19:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431986', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431986', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:54:22] Production.INFO: ==7237== Releasing lock...
[2025-02-08 19:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:54:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:55:02] Production.INFO: ==7293== Lock acquired, processing the job...
[2025-02-09 00:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:55:02] Production.INFO: neon service started
[2025-02-09 00:55:02] Production.INFO: neon service started
[2025-02-09 00:55:02] Production.INFO: ==7293== Releasing lock...
[2025-02-09 00:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:55:02] Production.INFO: ==7295== Lock acquired, processing the job...
[2025-02-08 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:55:02] Production.INFO: ==7297== Lock acquired, processing the job...
[2025-02-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:55:03] Production.INFO: ==7297== Releasing lock...
[2025-02-09 00:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:55:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:55:03] Production.INFO: ==7295== Releasing lock...
[2025-02-08 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:55:04] Production.INFO: ==7302== Lock acquired, processing the job...
[2025-02-08 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:55:04] Production.INFO: ==7310== Lock acquired, processing the job...
[2025-02-08 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:55:04] Production.INFO: ==7300== Lock acquired, processing the job...
[2025-02-08 19:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:55:04] Production.INFO: ==7302== Releasing lock...
[2025-02-08 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:55:04] Production.INFO: count ==21
[2025-02-08 19:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:55:04] Production.INFO: count ==21
[2025-02-08 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431988') start
[2025-02-08 19:55:04] Production.INFO: ==7304== Lock acquired, processing the job...
[2025-02-08 19:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:55:04] Production.INFO: ==7308== Lock acquired, processing the job...
[2025-02-08 19:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:55:04] Production.INFO: ==7306== Lock acquired, processing the job...
[2025-02-08 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431988') end
[2025-02-08 19:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:55:04] Production.INFO: 1
[2025-02-08 19:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:55:04] Production.INFO: ==7310== Releasing lock...
[2025-02-08 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:55:04] Production.INFO: Account Balance Start.
[2025-02-08 19:55:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:55:04] Production.INFO: 117
[2025-02-08 19:55:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:55:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:55:04] Production.INFO: Total Charge 0
[2025-02-08 19:55:04] Production.INFO: CreateAllLog End
[2025-02-08 19:55:05] Production.ERROR: done
[2025-02-08 19:55:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:55:05] Production.ERROR: done
[2025-02-08 19:55:05] Production.INFO: Account Balance End.
[2025-02-08 19:55:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:55:05] Production.INFO: ==7306== Releasing lock...
[2025-02-08 19:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:55:06
[end_date_ymd] => 2025-02-08 19:55:06
[RateCDR] => 1
)
[2025-02-08 19:55: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-02-08 16:55:06' and `end` < '2025-02-08 19:55: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-02-08 19:55:13] Production.ERROR: CronJobId end10
[2025-02-08 19:55:13] Production.INFO: ==7304== Releasing lock...
[2025-02-08 19:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:55:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:55:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:55:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:55:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:55:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:55:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:55:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:55:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:55:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:55:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:55:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:55:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:55:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:55:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:55:17] Production.INFO: call_cost start
[2025-02-08 19:55:17] Production.INFO: call_cost end
[2025-02-08 19:55:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:55:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:55:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:55:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:55:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:55:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:55:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:55:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:55:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:55:18] Production.INFO: ==7300== Releasing lock...
[2025-02-08 19:55:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:55:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:55:21] Production.INFO: count ==1769
[2025-02-08 19:55:21] Production.ERROR: pbx CDR StartTime 2025-02-08 16:55:06 - End Time 2025-02-08 19:55:06
[2025-02-08 19:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431991', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431991', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431991', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431991', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:55:21] Production.INFO: ProcessCDR(1,14431991,1,1,2)
[2025-02-08 19:55:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:55:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:55:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431991', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431991', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:55:24] Production.INFO: ==7308== Releasing lock...
[2025-02-08 19:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:55:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:56:01] Production.INFO: ==7367== Lock acquired, processing the job...
[2025-02-09 00:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:56:01] Production.INFO: neon service started
[2025-02-09 00:56:01] Production.INFO: neon service started
[2025-02-09 00:56:01] Production.INFO: ==7367== Releasing lock...
[2025-02-09 00:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:56:02] Production.INFO: ==7370== Lock acquired, processing the job...
[2025-02-08 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:56:02] Production.INFO: ==7372== Lock acquired, processing the job...
[2025-02-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 19:56:02] Production.INFO: ==7370== Releasing lock...
[2025-02-08 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:56:02] Production.INFO: ==7372== Releasing lock...
[2025-02-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:56:03] Production.INFO: ==7374== Lock acquired, processing the job...
[2025-02-08 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:56:03] Production.INFO: ==7376== Lock acquired, processing the job...
[2025-02-08 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:56:03] Production.INFO: ==7378== Lock acquired, processing the job...
[2025-02-08 19:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:56:03] Production.INFO: ==7380== Lock acquired, processing the job...
[2025-02-08 19:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:56:03] Production.INFO: ==7382== Lock acquired, processing the job...
[2025-02-08 19:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:56:03] Production.INFO: Account Balance Start.
[2025-02-08 19:56:03] Production.INFO: CreateAllLog Start
[2025-02-08 19:56:03] Production.INFO: 117
[2025-02-08 19:56:03] Production.INFO: Date 2025-02-08
[2025-02-08 19:56:03] Production.INFO: Reseller ==> 0
[2025-02-08 19:56:03] Production.INFO: ==7376== Releasing lock...
[2025-02-08 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:56:03] Production.INFO: Total Charge 0
[2025-02-08 19:56:03] Production.INFO: CreateAllLog End
[2025-02-08 19:56:03] Production.INFO: ==7384== Lock acquired, processing the job...
[2025-02-08 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:56:04] Production.INFO: count ==21
[2025-02-08 19:56:04] Production.ERROR: done
[2025-02-08 19:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:56:04] Production.INFO: count ==21
[2025-02-08 19:56:04] Production.INFO: Account Balance End.
[2025-02-08 19:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431995') start
[2025-02-08 19:56:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:56:04] Production.INFO: ==7380== Releasing lock...
[2025-02-08 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:56:04] Production.ERROR: done
[2025-02-08 19:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431995') end
[2025-02-08 19:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:56:04] Production.INFO: 1
[2025-02-08 19:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:56:04] Production.INFO: ==7384== Releasing lock...
[2025-02-08 19:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:56:05
[end_date_ymd] => 2025-02-08 19:56:05
[RateCDR] => 1
)
[2025-02-08 19:56: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` >= '2025-02-08 16:56:05' and `end` < '2025-02-08 19:56: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 ,'')
[2025-02-08 19:56:13] Production.ERROR: CronJobId end10
[2025-02-08 19:56:13] Production.INFO: ==7378== Releasing lock...
[2025-02-08 19:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:56:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:56:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:56:15] Production.INFO: call_cost start
[2025-02-08 19:56:15] Production.INFO: call_cost end
[2025-02-08 19:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:56:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:56:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:56:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:56:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:56:16] Production.INFO: ==7374== Releasing lock...
[2025-02-08 19:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:56:18] Production.INFO: count ==1765
[2025-02-08 19:56:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:56:05 - End Time 2025-02-08 19:56:05
[2025-02-08 19:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431996', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14431996', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431996', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14431996', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:56:19] Production.INFO: ProcessCDR(1,14431996,1,1,2)
[2025-02-08 19:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14431996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14431996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14431996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14431996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431996', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14431996', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:56:22] Production.INFO: ==7382== Releasing lock...
[2025-02-08 19:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:56:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:57:02] Production.INFO: ==7439== Lock acquired, processing the job...
[2025-02-09 00:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:57:02] Production.INFO: neon service started
[2025-02-09 00:57:02] Production.INFO: neon service started
[2025-02-09 00:57:02] Production.INFO: ==7439== Releasing lock...
[2025-02-09 00:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 19:57:02] Production.INFO: ==7441== Lock acquired, processing the job...
[2025-02-08 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:57:02] Production.INFO: ==7443== Lock acquired, processing the job...
[2025-02-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:57:02] Production.INFO: ==7443== Releasing lock...
[2025-02-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:57:03] Production.INFO: ==7441== Releasing lock...
[2025-02-08 19:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:57:04] Production.INFO: ==7452== Lock acquired, processing the job...
[2025-02-08 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:57:04] Production.INFO: Account Balance Start.
[2025-02-08 19:57:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:57:04] Production.INFO: 117
[2025-02-08 19:57:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:57:04] Production.INFO: ==7457== Lock acquired, processing the job...
[2025-02-08 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:57:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:57:04] Production.INFO: ==7446== Lock acquired, processing the job...
[2025-02-08 19:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:57:04] Production.INFO: Total Charge 0
[2025-02-08 19:57:04] Production.INFO: CreateAllLog End
[2025-02-08 19:57:04] Production.INFO: ==7448== Lock acquired, processing the job...
[2025-02-08 19:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:57:04] Production.INFO: Account Balance End.
[2025-02-08 19:57:04] Production.INFO: ==7450== Lock acquired, processing the job...
[2025-02-08 19:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:57:04] Production.INFO: count ==21
[2025-02-08 19:57:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:57:04] Production.INFO: ==7452== Releasing lock...
[2025-02-08 19:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:57:04] Production.INFO: count ==21
[2025-02-08 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431998') start
[2025-02-08 19:57:04] Production.INFO: ==7454== Lock acquired, processing the job...
[2025-02-08 19:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14431998') end
[2025-02-08 19:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:57:04] Production.INFO: 1
[2025-02-08 19:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:57:04] Production.INFO: ==7457== Releasing lock...
[2025-02-08 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:57:05] Production.INFO: ==7448== Releasing lock...
[2025-02-08 19:57:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:57:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:57:05] Production.ERROR: done
[2025-02-08 19:57:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:57:05] Production.ERROR: done
[2025-02-08 19:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:57:06
[end_date_ymd] => 2025-02-08 19:57:06
[RateCDR] => 1
)
[2025-02-08 19:57: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-02-08 16:57:06' and `end` < '2025-02-08 19:57: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-02-08 19:57:14] Production.ERROR: CronJobId end10
[2025-02-08 19:57:14] Production.INFO: ==7450== Releasing lock...
[2025-02-08 19:57:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:57:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:57:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:57:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:57:16] Production.INFO: call_cost start
[2025-02-08 19:57:16] Production.INFO: call_cost end
[2025-02-08 19:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:57:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:57:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:57:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:57:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:57:17] Production.INFO: ==7446== Releasing lock...
[2025-02-08 19:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:57:22] Production.INFO: count ==1765
[2025-02-08 19:57:22] Production.ERROR: pbx CDR StartTime 2025-02-08 16:57:06 - End Time 2025-02-08 19:57:06
[2025-02-08 19:57:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432001', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432001', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432001', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432001', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:57:22] Production.INFO: ProcessCDR(1,14432001,1,1,2)
[2025-02-08 19:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:57:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:57:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:57:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432001', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:57:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432001', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:57:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:57:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:57:26] Production.INFO: ==7454== Releasing lock...
[2025-02-08 19:57:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:57:26] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:58:01] Production.INFO: ==7552== Lock acquired, processing the job...
[2025-02-09 00:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:58:01] Production.INFO: neon service started
[2025-02-09 00:58:01] Production.INFO: neon service started
[2025-02-09 00:58:01] Production.INFO: ==7552== Releasing lock...
[2025-02-09 00:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:58:01] Production.INFO: ==7557== Lock acquired, processing the job...
[2025-02-09 00:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:58:01] Production.INFO: ==7557== Releasing lock...
[2025-02-09 00:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:58:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:58:02] Production.INFO: ==7555== Lock acquired, processing the job...
[2025-02-08 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:58:02] Production.INFO: ==7555== Releasing lock...
[2025-02-08 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:58:03] Production.INFO: ==7561== Lock acquired, processing the job...
[2025-02-08 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:58:03] Production.INFO: ==7563== Lock acquired, processing the job...
[2025-02-08 19:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:58:03] Production.INFO: ==7567== Lock acquired, processing the job...
[2025-02-08 19:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:58:03] Production.INFO: ==7559== Lock acquired, processing the job...
[2025-02-08 19:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:58:03] Production.INFO: ==7565== Lock acquired, processing the job...
[2025-02-08 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:58:03] Production.INFO: ==7569== Lock acquired, processing the job...
[2025-02-08 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:58:03] Production.INFO: ==7561== Releasing lock...
[2025-02-08 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:58:04] Production.INFO: Account Balance Start.
[2025-02-08 19:58:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:58:04] Production.INFO: 117
[2025-02-08 19:58:04] Production.ERROR: done
[2025-02-08 19:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:58:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:58:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:58:04] Production.INFO: count ==21
[2025-02-08 19:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:58:04] Production.INFO: count ==21
[2025-02-08 19:58:04] Production.INFO: Total Charge 0
[2025-02-08 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432005') start
[2025-02-08 19:58:04] Production.INFO: CreateAllLog End
[2025-02-08 19:58:04] Production.ERROR: done
[2025-02-08 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432005') end
[2025-02-08 19:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:58:04] Production.INFO: 1
[2025-02-08 19:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:58:04] Production.INFO: Account Balance End.
[2025-02-08 19:58:04] Production.INFO: ==7569== Releasing lock...
[2025-02-08 19:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:58:04] Production.ERROR: CronJobId end 12
[2025-02-08 19:58:04] Production.INFO: ==7565== Releasing lock...
[2025-02-08 19:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:58:05
[end_date_ymd] => 2025-02-08 19:58:05
[RateCDR] => 1
)
[2025-02-08 19:58: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` >= '2025-02-08 16:58:05' and `end` < '2025-02-08 19:58: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 ,'')
[2025-02-08 19:58:12] Production.ERROR: CronJobId end10
[2025-02-08 19:58:12] Production.INFO: ==7563== Releasing lock...
[2025-02-08 19:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:58:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:58:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:58:14] Production.INFO: call_cost start
[2025-02-08 19:58:14] Production.INFO: call_cost end
[2025-02-08 19:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:58:15] Production.INFO: ==7559== Releasing lock...
[2025-02-08 19:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:58:19] Production.INFO: count ==1757
[2025-02-08 19:58:19] Production.ERROR: pbx CDR StartTime 2025-02-08 16:58:05 - End Time 2025-02-08 19:58:05
[2025-02-08 19:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432006', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432006', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432006', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432006', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:58:19] Production.INFO: ProcessCDR(1,14432006,1,1,2)
[2025-02-08 19:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432006', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432006', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:58:24] Production.INFO: ==7567== Releasing lock...
[2025-02-08 19:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:58:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 00:59:01] Production.INFO: ==7630== Lock acquired, processing the job...
[2025-02-09 00:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 00:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 00:59:02] Production.INFO: neon service started
[2025-02-09 00:59:02] Production.INFO: neon service started
[2025-02-09 00:59:02] Production.INFO: ==7630== Releasing lock...
[2025-02-09 00:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 00:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:59:02] Production.INFO: ==7634== Lock acquired, processing the job...
[2025-02-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:59:02] Production.INFO: ==7634== Releasing lock...
[2025-02-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 00:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 19:59:02] Production.INFO: ==7632== Lock acquired, processing the job...
[2025-02-08 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 19:59:02] Production.INFO: ==7632== Releasing lock...
[2025-02-08 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 19:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 19:59:03] Production.INFO: ==7641== Lock acquired, processing the job...
[2025-02-08 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 19:59:03] Production.INFO: ==7647== Lock acquired, processing the job...
[2025-02-08 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 19:59:04] Production.INFO: ==7636== Lock acquired, processing the job...
[2025-02-08 19:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 19:59:04] Production.INFO: ==7638== Lock acquired, processing the job...
[2025-02-08 19:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 19:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 19:59:04] Production.INFO: count ==21
[2025-02-08 19:59:04] Production.INFO: ==7643== Lock acquired, processing the job...
[2025-02-08 19:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 19:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 19:59:04] Production.INFO: count ==21
[2025-02-08 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432007') start
[2025-02-08 19:59:04] Production.INFO: ==7645== Lock acquired, processing the job...
[2025-02-08 19:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 19:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432007') end
[2025-02-08 19:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 19:59:04] Production.INFO: 1
[2025-02-08 19:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 19:59:04] Production.INFO: Account Balance Start.
[2025-02-08 19:59:04] Production.INFO: CreateAllLog Start
[2025-02-08 19:59:04] Production.INFO: 117
[2025-02-08 19:59:04] Production.INFO: Date 2025-02-08
[2025-02-08 19:59:04] Production.INFO: Reseller ==> 0
[2025-02-08 19:59:04] Production.INFO: ==7647== Releasing lock...
[2025-02-08 19:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 19:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 19:59:04] Production.INFO: Total Charge 0
[2025-02-08 19:59:04] Production.INFO: CreateAllLog End
[2025-02-08 19:59:04] Production.INFO: ==7638== Releasing lock...
[2025-02-08 19:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 19:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 19:59:04] Production.ERROR: done
[2025-02-08 19:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 19:59:04] Production.ERROR: done
[2025-02-08 19:59:05] Production.INFO: Account Balance End.
[2025-02-08 19:59:05] Production.ERROR: CronJobId end 12
[2025-02-08 19:59:05] Production.INFO: ==7643== Releasing lock...
[2025-02-08 19:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 19:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 19:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 16:59:05
[end_date_ymd] => 2025-02-08 19:59:05
[RateCDR] => 1
)
[2025-02-08 19:59: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` >= '2025-02-08 16:59:05' and `end` < '2025-02-08 19:59: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 ,'')
[2025-02-08 19:59:13] Production.ERROR: CronJobId end10
[2025-02-08 19:59:13] Production.INFO: ==7641== Releasing lock...
[2025-02-08 19:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 19:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 19:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 19:59:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 19:59:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 19:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 19:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 19:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 19:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 19:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 19:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 19:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 19:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 19:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 19:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 19:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 19:59:16] Production.INFO: call_cost start
[2025-02-08 19:59:16] Production.INFO: call_cost end
[2025-02-08 19:59:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 19:59:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 19:59:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 19:59:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 19:59:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 19:59:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 19:59:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 19:59:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 19:59:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 19:59:17] Production.INFO: ==7636== Releasing lock...
[2025-02-08 19:59:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 19:59:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 19:59:20] Production.INFO: count ==1766
[2025-02-08 19:59:20] Production.ERROR: pbx CDR StartTime 2025-02-08 16:59:05 - End Time 2025-02-08 19:59:05
[2025-02-08 19:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 19:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432011', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432011', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432011', 'tblTempVendorCDR_20' ) start
[2025-02-08 19:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432011', 'tblTempVendorCDR_20' ) end
[2025-02-08 19:59:20] Production.INFO: ProcessCDR(1,14432011,1,1,2)
[2025-02-08 19:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:59:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 19:59:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 19:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432011', 'tblTempUsageDetail_20' ) start
[2025-02-08 19:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432011', 'tblTempUsageDetail_20' ) end
[2025-02-08 19:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 19:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 19:59:24] Production.INFO: ==7645== Releasing lock...
[2025-02-08 19:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 19:59:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:00:01] Production.INFO: ==7705== Lock acquired, processing the job...
[2025-02-09 01:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:00:01] Production.INFO: neon service started
[2025-02-09 01:00:01] Production.INFO: neon service started
[2025-02-09 01:00:01] Production.INFO: ==7705== Releasing lock...
[2025-02-09 01:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:00:01] Production.INFO: ==7707== Lock acquired, processing the job...
[2025-02-08 20:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:00:02] Production.INFO: ==7707== Releasing lock...
[2025-02-08 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:00:02] Production.INFO: ==7709== Lock acquired, processing the job...
[2025-02-09 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:00:02] Production.INFO: ==7709== Releasing lock...
[2025-02-09 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:00:03] Production.INFO: ==7717== Lock acquired, processing the job...
[2025-02-08 20:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:00:03] Production.INFO: ==7715== Lock acquired, processing the job...
[2025-02-08 20:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:00:03] Production.INFO: ==7725== Lock acquired, processing the job...
[2025-02-08 20:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:00:03] Production.INFO: ==7713== Lock acquired, processing the job...
[2025-02-08 20:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:00:03] Production.INFO: ==7711== Lock acquired, processing the job...
[2025-02-08 20:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 20:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:00:03] Production.INFO: count ==21
[2025-02-08 20:00:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:00:03] Production.INFO: count ==21
[2025-02-08 20:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432013') start
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:00:03] Production.ERROR: CronJob PID - 7713
[2025-02-08 20:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 20:00:03] Production.ERROR: CronJob ID - 5
[2025-02-08 20:00:03] Production.ERROR: CronJob Last Run Time 2025-02-08 20:00:00
[2025-02-08 20:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:00:03] Production.ERROR: CronJob PID - 7715
[2025-02-08 20:00:03] Production.ERROR: CronJob Title - Account Block
[2025-02-08 20:00:03] Production.ERROR: CronJob ID - 7
[2025-02-08 20:00:03] Production.ERROR: CronJob Last Run Time 2025-02-08 20:00:00
[2025-02-08 20:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:00:03] Production.ERROR: CronJob PID - 7717
[2025-02-08 20:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-08 20:00:03] Production.ERROR: CronJob ID - 10
[2025-02-08 20:00:03] Production.ERROR: CronJob Last Run Time 2025-02-08 20:00:00
[2025-02-08 20:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:00:03] Production.ERROR: CronJob PID - 7725
[2025-02-08 20:00:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-08 20:00:03] Production.ERROR: CronJob ID - 19
[2025-02-08 20:00:03] Production.ERROR: CronJob Last Run Time 2025-02-08 20:00:00
[2025-02-08 20:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 20:00:03] Production.INFO: ==7711== Releasing lock...
[2025-02-08 20:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 20:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 20:00:03] Production.INFO: ==7719== Lock acquired, processing the job...
[2025-02-08 20:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:00:04] Production.INFO: ==7715== Releasing lock...
[2025-02-08 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:00:04] Production.INFO: ==7721== Lock acquired, processing the job...
[2025-02-08 20:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432013') end
[2025-02-08 20:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:00:04] Production.INFO: 1
[2025-02-08 20:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:00:04] Production.INFO: ==7723== Lock acquired, processing the job...
[2025-02-08 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:00:04] Production.INFO: ==7725== Releasing lock...
[2025-02-08 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:00:04] Production.INFO: Account Balance Start.
[2025-02-08 20:00:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:00:04] Production.INFO: 117
[2025-02-08 20:00:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:00:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:00:04] Production.INFO: Total Charge 0
[2025-02-08 20:00:04] Production.INFO: CreateAllLog End
[2025-02-08 20:00:04] Production.ERROR: done
[2025-02-08 20:00:04] Production.ERROR: done
[2025-02-08 20:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 20:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432016', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 20:00:04] Production.ERROR: done
[2025-02-08 20:00:04] Production.INFO: Account Balance End.
[2025-02-08 20:00:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:00:04] Production.INFO: ==7719== Releasing lock...
[2025-02-08 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:00:06
[end_date_ymd] => 2025-02-08 20:00:06
[RateCDR] => 1
)
[2025-02-08 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-02-08 17:00:06' and `end` < '2025-02-08 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-02-08 20:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432016', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 20:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 20:00:09] Production.INFO: ProcessCDR(1,14432016,1,1,2)
[2025-02-08 20:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432016,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432016,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:00:09] Production.INFO: ==7723== Releasing lock...
[2025-02-08 20:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 20:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 20:00:14] Production.ERROR: CronJobId end10
[2025-02-08 20:00:14] Production.INFO: ==7717== Releasing lock...
[2025-02-08 20:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:00:16] Production.INFO: call_cost start
[2025-02-08 20:00:16] Production.INFO: call_cost end
[2025-02-08 20:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:00:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:00:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:00:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:00:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:00:17] Production.INFO: ==7713== Releasing lock...
[2025-02-08 20:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:00:19] Production.INFO: count ==1776
[2025-02-08 20:00:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:00:06 - End Time 2025-02-08 20:00:06
[2025-02-08 20:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432017', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432017', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432017', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432017', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:00:19] Production.INFO: ProcessCDR(1,14432017,1,1,2)
[2025-02-08 20:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432017', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432017', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:00:23] Production.INFO: ==7721== Releasing lock...
[2025-02-08 20:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:00:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 01:01:01] Production.INFO: ==7819== Lock acquired, processing the job...
[2025-02-09 01:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:01:02] Production.INFO: neon service started
[2025-02-09 01:01:02] Production.INFO: neon service started
[2025-02-09 01:01:02] Production.INFO: ==7819== Releasing lock...
[2025-02-09 01:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:01:02] Production.INFO: ==7832== Lock acquired, processing the job...
[2025-02-08 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:01:02] Production.INFO: ==7834== Lock acquired, processing the job...
[2025-02-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:01:02] Production.INFO: ==7834== Releasing lock...
[2025-02-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:01:03] Production.INFO: ==7832== Releasing lock...
[2025-02-08 20:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:01:04] Production.INFO: ==7837== Lock acquired, processing the job...
[2025-02-08 20:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:01:04] Production.INFO: ==7843== Lock acquired, processing the job...
[2025-02-08 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:01:04] Production.INFO: ==7845== Lock acquired, processing the job...
[2025-02-08 20:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:01:04] Production.INFO: Account Balance Start.
[2025-02-08 20:01:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:01:04] Production.INFO: 117
[2025-02-08 20:01:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:01:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:01:04] Production.INFO: Total Charge 0
[2025-02-08 20:01:04] Production.INFO: CreateAllLog End
[2025-02-08 20:01:04] Production.INFO: ==7841== Lock acquired, processing the job...
[2025-02-08 20:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:01:04] Production.INFO: ==7839== Lock acquired, processing the job...
[2025-02-08 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:01:04] Production.INFO: ==7847== Lock acquired, processing the job...
[2025-02-08 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:01:04] Production.ERROR: done
[2025-02-08 20:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:01:04] Production.INFO: Account Balance End.
[2025-02-08 20:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:01:04] Production.INFO: count ==21
[2025-02-08 20:01:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:01:04] Production.INFO: ==7843== Releasing lock...
[2025-02-08 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:01:04] Production.ERROR: done
[2025-02-08 20:01:04] Production.INFO: ==7839== Releasing lock...
[2025-02-08 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:01:04] Production.INFO: count ==21
[2025-02-08 20:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432021') start
[2025-02-08 20:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432021') end
[2025-02-08 20:01:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:01:05] Production.INFO: 1
[2025-02-08 20:01:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:01:05] Production.INFO: ==7847== Releasing lock...
[2025-02-08 20:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:01:06
[end_date_ymd] => 2025-02-08 20:01:06
[RateCDR] => 1
)
[2025-02-08 20:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 17:01:06' and `end` < '2025-02-08 20:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-08 20:01:14] Production.ERROR: CronJobId end10
[2025-02-08 20:01:14] Production.INFO: ==7841== Releasing lock...
[2025-02-08 20:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:01:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:01:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:01:16] Production.INFO: call_cost start
[2025-02-08 20:01:16] Production.INFO: call_cost end
[2025-02-08 20:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:01:17] Production.INFO: ==7837== Releasing lock...
[2025-02-08 20:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:01:20] Production.INFO: count ==1767
[2025-02-08 20:01:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:01:06 - End Time 2025-02-08 20:01:06
[2025-02-08 20:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432022', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432022', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432022', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432022', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:01:20] Production.INFO: ProcessCDR(1,14432022,1,1,2)
[2025-02-08 20:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432022', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432022', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:01:25] Production.INFO: ==7845== Releasing lock...
[2025-02-08 20:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:01:25] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:02:01] Production.INFO: ==7902== Lock acquired, processing the job...
[2025-02-09 01:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:02:01] Production.INFO: neon service started
[2025-02-09 01:02:01] Production.INFO: neon service started
[2025-02-09 01:02:01] Production.INFO: ==7902== Releasing lock...
[2025-02-09 01:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:02:01] Production.INFO: ==7904== Lock acquired, processing the job...
[2025-02-08 20:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:02:02] Production.INFO: ==7906== Lock acquired, processing the job...
[2025-02-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 20:02:02] Production.INFO: ==7904== Releasing lock...
[2025-02-08 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:02:02] Production.INFO: ==7906== Releasing lock...
[2025-02-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:02:03] Production.INFO: ==7908== Lock acquired, processing the job...
[2025-02-08 20:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:02:03] Production.INFO: ==7910== Lock acquired, processing the job...
[2025-02-08 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:02:03] Production.INFO: ==7917== Lock acquired, processing the job...
[2025-02-08 20:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:02:03] Production.INFO: ==7912== Lock acquired, processing the job...
[2025-02-08 20:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:02:03] Production.INFO: ==7915== Lock acquired, processing the job...
[2025-02-08 20:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:02:03] Production.INFO: ==7910== Releasing lock...
[2025-02-08 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:02:03] Production.INFO: ==7919== Lock acquired, processing the job...
[2025-02-08 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:02:03] Production.ERROR: done
[2025-02-08 20:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:02:04] Production.INFO: Account Balance Start.
[2025-02-08 20:02:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:02:04] Production.INFO: 117
[2025-02-08 20:02:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:02:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:02:04] Production.INFO: count ==21
[2025-02-08 20:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:02:04] Production.INFO: count ==21
[2025-02-08 20:02:04] Production.ERROR: done
[2025-02-08 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432026') start
[2025-02-08 20:02:04] Production.INFO: Total Charge 0
[2025-02-08 20:02:04] Production.INFO: CreateAllLog End
[2025-02-08 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432026') end
[2025-02-08 20:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:02:04] Production.INFO: 1
[2025-02-08 20:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:02:04] Production.INFO: ==7919== Releasing lock...
[2025-02-08 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:02:04] Production.INFO: Account Balance End.
[2025-02-08 20:02:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:02:04] Production.INFO: ==7915== Releasing lock...
[2025-02-08 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:02:05
[end_date_ymd] => 2025-02-08 20:02:05
[RateCDR] => 1
)
[2025-02-08 20:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 17:02:05' and `end` < '2025-02-08 20:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-08 20:02:13] Production.ERROR: CronJobId end10
[2025-02-08 20:02:13] Production.INFO: ==7912== Releasing lock...
[2025-02-08 20:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:02:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:02:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:02:15] Production.INFO: call_cost start
[2025-02-08 20:02:15] Production.INFO: call_cost end
[2025-02-08 20:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:02:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:02:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:02:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:02:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:02:16] Production.INFO: ==7908== Releasing lock...
[2025-02-08 20:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:02:19] Production.INFO: count ==1767
[2025-02-08 20:02:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:02:05 - End Time 2025-02-08 20:02:05
[2025-02-08 20:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432027', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432027', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432027', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432027', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:02:19] Production.INFO: ProcessCDR(1,14432027,1,1,2)
[2025-02-08 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432027', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432027', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:02:22] Production.INFO: ==7917== Releasing lock...
[2025-02-08 20:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:02:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:03:01] Production.INFO: ==7973== Lock acquired, processing the job...
[2025-02-09 01:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:03:01] Production.INFO: neon service started
[2025-02-09 01:03:01] Production.INFO: neon service started
[2025-02-09 01:03:01] Production.INFO: ==7973== Releasing lock...
[2025-02-09 01:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:03:02] Production.INFO: ==7977== Lock acquired, processing the job...
[2025-02-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:03:02] Production.INFO: ==7977== Releasing lock...
[2025-02-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:03:02] Production.INFO: ==7975== Lock acquired, processing the job...
[2025-02-08 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:03:02] Production.INFO: ==7975== Releasing lock...
[2025-02-08 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:03:03] Production.INFO: ==7980== Lock acquired, processing the job...
[2025-02-08 20:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:03:03] Production.INFO: ==7984== Lock acquired, processing the job...
[2025-02-08 20:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:03:03] Production.INFO: ==7986== Lock acquired, processing the job...
[2025-02-08 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:03:03] Production.INFO: Account Balance Start.
[2025-02-08 20:03:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:03:03] Production.INFO: 117
[2025-02-08 20:03:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:03:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:03:03] Production.INFO: Total Charge 0
[2025-02-08 20:03:03] Production.INFO: CreateAllLog End
[2025-02-08 20:03:04] Production.INFO: ==7988== Lock acquired, processing the job...
[2025-02-08 20:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:03:04] Production.INFO: ==7982== Lock acquired, processing the job...
[2025-02-08 20:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:03:04] Production.INFO: ==7990== Lock acquired, processing the job...
[2025-02-08 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:03:04] Production.INFO: Account Balance End.
[2025-02-08 20:03:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:03:04] Production.INFO: ==7986== Releasing lock...
[2025-02-08 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:03:04] Production.ERROR: done
[2025-02-08 20:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:03:04] Production.INFO: count ==21
[2025-02-08 20:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:03:04] Production.INFO: count ==21
[2025-02-08 20:03:04] Production.INFO: ==7982== Releasing lock...
[2025-02-08 20:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432031') start
[2025-02-08 20:03:04] Production.ERROR: done
[2025-02-08 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432031') end
[2025-02-08 20:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:03:04] Production.INFO: 1
[2025-02-08 20:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:03:04] Production.INFO: ==7990== Releasing lock...
[2025-02-08 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:03:05
[end_date_ymd] => 2025-02-08 20:03:05
[RateCDR] => 1
)
[2025-02-08 20:03: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` >= '2025-02-08 17:03:05' and `end` < '2025-02-08 20:03: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 ,'')
[2025-02-08 20:03:13] Production.ERROR: CronJobId end10
[2025-02-08 20:03:13] Production.INFO: ==7984== Releasing lock...
[2025-02-08 20:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:03:15] Production.INFO: call_cost start
[2025-02-08 20:03:15] Production.INFO: call_cost end
[2025-02-08 20:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:03:16] Production.INFO: ==7980== Releasing lock...
[2025-02-08 20:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:03:19] Production.INFO: count ==1769
[2025-02-08 20:03:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:03:05 - End Time 2025-02-08 20:03:05
[2025-02-08 20:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432032', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432032', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432032', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432032', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:03:19] Production.INFO: ProcessCDR(1,14432032,1,1,2)
[2025-02-08 20:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432032', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432032', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:03:23] Production.INFO: ==7988== Releasing lock...
[2025-02-08 20:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:03:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:04:01] Production.INFO: ==8045== Lock acquired, processing the job...
[2025-02-09 01:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:04:01] Production.INFO: neon service started
[2025-02-09 01:04:01] Production.INFO: neon service started
[2025-02-09 01:04:01] Production.INFO: ==8045== Releasing lock...
[2025-02-09 01:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:04:01] Production.INFO: ==8047== Lock acquired, processing the job...
[2025-02-08 20:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:04:02] Production.INFO: ==8047== Releasing lock...
[2025-02-08 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:04:02] Production.INFO: ==8049== Lock acquired, processing the job...
[2025-02-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:04:02] Production.INFO: ==8049== Releasing lock...
[2025-02-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:04:03] Production.INFO: ==8058== Lock acquired, processing the job...
[2025-02-08 20:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:04:03] Production.INFO: ==8062== Lock acquired, processing the job...
[2025-02-08 20:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:04:03] Production.INFO: ==8052== Lock acquired, processing the job...
[2025-02-08 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:04:03] Production.INFO: Account Balance Start.
[2025-02-08 20:04:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:04:03] Production.INFO: 117
[2025-02-08 20:04:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:04:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:04:03] Production.INFO: ==8056== Lock acquired, processing the job...
[2025-02-08 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:04:03] Production.INFO: ==8054== Lock acquired, processing the job...
[2025-02-08 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:04:03] Production.INFO: Total Charge 0
[2025-02-08 20:04:03] Production.INFO: ==8060== Lock acquired, processing the job...
[2025-02-08 20:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:04:03] Production.INFO: count ==21
[2025-02-08 20:04:03] Production.INFO: CreateAllLog End
[2025-02-08 20:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:04:03] Production.INFO: count ==21
[2025-02-08 20:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432034') start
[2025-02-08 20:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432034') end
[2025-02-08 20:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:04:03] Production.INFO: 1
[2025-02-08 20:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:04:03] Production.INFO: Account Balance End.
[2025-02-08 20:04:03] Production.INFO: ==8054== Releasing lock...
[2025-02-08 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:04:03] Production.ERROR: CronJobId end 12
[2025-02-08 20:04:03] Production.INFO: ==8058== Releasing lock...
[2025-02-08 20:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:04:03] Production.INFO: ==8062== Releasing lock...
[2025-02-08 20:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:04:03] Production.ERROR: done
[2025-02-08 20:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:04:04] Production.ERROR: done
[2025-02-08 20:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:04:05
[end_date_ymd] => 2025-02-08 20:04:05
[RateCDR] => 1
)
[2025-02-08 20:04: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` >= '2025-02-08 17:04:05' and `end` < '2025-02-08 20:04: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 ,'')
[2025-02-08 20:04:12] Production.ERROR: CronJobId end10
[2025-02-08 20:04:12] Production.INFO: ==8056== Releasing lock...
[2025-02-08 20:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:04:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:04:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:04:15] Production.INFO: call_cost start
[2025-02-08 20:04:15] Production.INFO: call_cost end
[2025-02-08 20:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:04:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:04:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:04:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:04:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:04:16] Production.INFO: ==8052== Releasing lock...
[2025-02-08 20:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:04:18] Production.INFO: count ==1769
[2025-02-08 20:04:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:04:05 - End Time 2025-02-08 20:04:05
[2025-02-08 20:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432037', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432037', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432037', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432037', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:04:18] Production.INFO: ProcessCDR(1,14432037,1,1,2)
[2025-02-08 20:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432037', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432037', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:04:23] Production.INFO: ==8060== Releasing lock...
[2025-02-08 20:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:04:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 01:05:01] Production.INFO: ==8118== Lock acquired, processing the job...
[2025-02-09 01:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:05:01] Production.INFO: neon service started
[2025-02-09 01:05:01] Production.INFO: neon service started
[2025-02-09 01:05:01] Production.INFO: ==8118== Releasing lock...
[2025-02-09 01:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:05:02] Production.INFO: ==8120== Lock acquired, processing the job...
[2025-02-08 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:05:02] Production.INFO: ==8120== Releasing lock...
[2025-02-08 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:05:02] Production.INFO: ==8122== Lock acquired, processing the job...
[2025-02-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:05:02] Production.INFO: ==8122== Releasing lock...
[2025-02-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:05:03] Production.INFO: ==8125== Lock acquired, processing the job...
[2025-02-08 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:05:03] Production.INFO: ==8127== Lock acquired, processing the job...
[2025-02-08 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:05:03] Production.INFO: ==8133== Lock acquired, processing the job...
[2025-02-08 20:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:05:03] Production.INFO: ==8129== Lock acquired, processing the job...
[2025-02-08 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:05:03] Production.INFO: ==8131== Lock acquired, processing the job...
[2025-02-08 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:05:04] Production.INFO: Account Balance Start.
[2025-02-08 20:05:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:05:04] Production.INFO: 117
[2025-02-08 20:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:05:04] Production.INFO: ==8135== Lock acquired, processing the job...
[2025-02-08 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:05:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:05:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:05:04] Production.INFO: Total Charge 0
[2025-02-08 20:05:04] Production.INFO: CreateAllLog End
[2025-02-08 20:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:05:04] Production.INFO: count ==21
[2025-02-08 20:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:05:04] Production.INFO: count ==21
[2025-02-08 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432041') start
[2025-02-08 20:05:04] Production.ERROR: done
[2025-02-08 20:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:05:04] Production.INFO: ==8127== Releasing lock...
[2025-02-08 20:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:05:04] Production.INFO: Account Balance End.
[2025-02-08 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432041') end
[2025-02-08 20:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:05:04] Production.INFO: 1
[2025-02-08 20:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:05:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:05:04] Production.INFO: ==8131== Releasing lock...
[2025-02-08 20:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:05:04] Production.INFO: ==8135== Releasing lock...
[2025-02-08 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:05:04] Production.ERROR: done
[2025-02-08 20:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:05:05
[end_date_ymd] => 2025-02-08 20:05:05
[RateCDR] => 1
)
[2025-02-08 20:05: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` >= '2025-02-08 17:05:05' and `end` < '2025-02-08 20:05: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 ,'')
[2025-02-08 20:05:13] Production.ERROR: CronJobId end10
[2025-02-08 20:05:13] Production.INFO: ==8129== Releasing lock...
[2025-02-08 20:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:05:14] Production.INFO: call_cost start
[2025-02-08 20:05:14] Production.INFO: call_cost end
[2025-02-08 20:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:05:15] Production.INFO: ==8125== Releasing lock...
[2025-02-08 20:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:05:19] Production.INFO: count ==1763
[2025-02-08 20:05:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:05:05 - End Time 2025-02-08 20:05:05
[2025-02-08 20:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432042', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432042', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432042', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432042', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:05:19] Production.INFO: ProcessCDR(1,14432042,1,1,2)
[2025-02-08 20:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432042', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432042', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:05:22] Production.INFO: ==8133== Releasing lock...
[2025-02-08 20:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:05:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:06:02] Production.INFO: ==8193== Lock acquired, processing the job...
[2025-02-09 01:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:06:02] Production.INFO: neon service started
[2025-02-09 01:06:02] Production.INFO: neon service started
[2025-02-09 01:06:02] Production.INFO: ==8193== Releasing lock...
[2025-02-09 01:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:06:02] Production.INFO: ==8197== Lock acquired, processing the job...
[2025-02-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:06:02] Production.INFO: ==8197== Releasing lock...
[2025-02-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:06:03] Production.INFO: ==8195== Lock acquired, processing the job...
[2025-02-08 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:06:03] Production.INFO: ==8195== Releasing lock...
[2025-02-08 20:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:06:04] Production.INFO: ==8200== Lock acquired, processing the job...
[2025-02-08 20:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:06:04] Production.INFO: ==8204== Lock acquired, processing the job...
[2025-02-08 20:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:06:04] Production.INFO: ==8206== Lock acquired, processing the job...
[2025-02-08 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:06:04] Production.INFO: ==8202== Lock acquired, processing the job...
[2025-02-08 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:06:04] Production.INFO: Account Balance Start.
[2025-02-08 20:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:06:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:06:04] Production.INFO: 117
[2025-02-08 20:06:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:06:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:06:04] Production.INFO: Total Charge 0
[2025-02-08 20:06:04] Production.INFO: ==8208== Lock acquired, processing the job...
[2025-02-08 20:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:06:04] Production.INFO: CreateAllLog End
[2025-02-08 20:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:06:04] Production.INFO: ==8210== Lock acquired, processing the job...
[2025-02-08 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:06:04] Production.INFO: ==8202== Releasing lock...
[2025-02-08 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:06:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:06:05] Production.INFO: Account Balance End.
[2025-02-08 20:06:05] Production.INFO: count ==21
[2025-02-08 20:06:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:06:05] Production.INFO: ==8206== Releasing lock...
[2025-02-08 20:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:06:05] Production.ERROR: done
[2025-02-08 20:06:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:06:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:06:05] Production.INFO: count ==21
[2025-02-08 20:06:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432046') start
[2025-02-08 20:06:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432046') end
[2025-02-08 20:06:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:06:05] Production.INFO: 1
[2025-02-08 20:06:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:06:05] Production.ERROR: done
[2025-02-08 20:06:05] Production.INFO: ==8210== Releasing lock...
[2025-02-08 20:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:06:06
[end_date_ymd] => 2025-02-08 20:06:06
[RateCDR] => 1
)
[2025-02-08 20:06: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-02-08 17:06:06' and `end` < '2025-02-08 20:06: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-02-08 20:06:14] Production.ERROR: CronJobId end10
[2025-02-08 20:06:14] Production.INFO: ==8204== Releasing lock...
[2025-02-08 20:06:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:06:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:06:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:06:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:06:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:06:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:06:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:06:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:06:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:06:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:06:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:06:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:06:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:06:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:06:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:06:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:06:16] Production.INFO: call_cost start
[2025-02-08 20:06:16] Production.INFO: call_cost end
[2025-02-08 20:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:06:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:06:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:06:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:06:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:06:17] Production.INFO: ==8200== Releasing lock...
[2025-02-08 20:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:06:20] Production.INFO: count ==1761
[2025-02-08 20:06:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:06:06 - End Time 2025-02-08 20:06:06
[2025-02-08 20:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432047', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432047', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432047', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432047', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:06:20] Production.INFO: ProcessCDR(1,14432047,1,1,2)
[2025-02-08 20:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432047', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432047', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:06:24] Production.INFO: ==8208== Releasing lock...
[2025-02-08 20:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:06:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:07:01] Production.INFO: ==8266== Lock acquired, processing the job...
[2025-02-09 01:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:07:01] Production.INFO: neon service started
[2025-02-09 01:07:01] Production.INFO: neon service started
[2025-02-09 01:07:01] Production.INFO: ==8266== Releasing lock...
[2025-02-09 01:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:07:02] Production.INFO: ==8268== Lock acquired, processing the job...
[2025-02-08 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:07:02] Production.INFO: ==8270== Lock acquired, processing the job...
[2025-02-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:07:02] Production.INFO: ==8270== Releasing lock...
[2025-02-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:07:02] Production.INFO: ==8268== Releasing lock...
[2025-02-08 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:07:03] Production.INFO: ==8275== Lock acquired, processing the job...
[2025-02-08 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:07:03] Production.INFO: ==8277== Lock acquired, processing the job...
[2025-02-08 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:07:03] Production.INFO: ==8283== Lock acquired, processing the job...
[2025-02-08 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:07:03] Production.INFO: ==8273== Lock acquired, processing the job...
[2025-02-08 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:07:03] Production.INFO: count ==21
[2025-02-08 20:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:07:03] Production.INFO: count ==21
[2025-02-08 20:07:03] Production.INFO: ==8275== Releasing lock...
[2025-02-08 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432049') start
[2025-02-08 20:07:03] Production.INFO: ==8279== Lock acquired, processing the job...
[2025-02-08 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:07:04] Production.INFO: ==8281== Lock acquired, processing the job...
[2025-02-08 20:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432049') end
[2025-02-08 20:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:07:04] Production.INFO: 1
[2025-02-08 20:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:07:04] Production.INFO: ==8283== Releasing lock...
[2025-02-08 20:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:07:04] Production.INFO: Account Balance Start.
[2025-02-08 20:07:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:07:04] Production.INFO: 117
[2025-02-08 20:07:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:07:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:07:04] Production.INFO: Total Charge 0
[2025-02-08 20:07:04] Production.INFO: CreateAllLog End
[2025-02-08 20:07:04] Production.ERROR: done
[2025-02-08 20:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:07:04] Production.ERROR: done
[2025-02-08 20:07:04] Production.INFO: Account Balance End.
[2025-02-08 20:07:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:07:04] Production.INFO: ==8279== Releasing lock...
[2025-02-08 20:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:07:06
[end_date_ymd] => 2025-02-08 20:07:06
[RateCDR] => 1
)
[2025-02-08 20:07: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-02-08 17:07:06' and `end` < '2025-02-08 20:07: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-02-08 20:07:13] Production.ERROR: CronJobId end10
[2025-02-08 20:07:13] Production.INFO: ==8277== Releasing lock...
[2025-02-08 20:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:07:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:07:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:07:15] Production.INFO: call_cost start
[2025-02-08 20:07:15] Production.INFO: call_cost end
[2025-02-08 20:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:07:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:07:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:07:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:07:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:07:16] Production.INFO: ==8273== Releasing lock...
[2025-02-08 20:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:07:19] Production.INFO: count ==1763
[2025-02-08 20:07:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:07:06 - End Time 2025-02-08 20:07:06
[2025-02-08 20:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432052', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432052', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432052', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432052', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:07:19] Production.INFO: ProcessCDR(1,14432052,1,1,2)
[2025-02-08 20:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432052', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432052', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:07:23] Production.INFO: ==8281== Releasing lock...
[2025-02-08 20:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:07:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:08:02] Production.INFO: ==8344== Lock acquired, processing the job...
[2025-02-09 01:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:08:02] Production.INFO: neon service started
[2025-02-09 01:08:02] Production.INFO: neon service started
[2025-02-09 01:08:02] Production.INFO: ==8344== Releasing lock...
[2025-02-09 01:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:08:02] Production.INFO: ==8346== Lock acquired, processing the job...
[2025-02-08 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:08:03] Production.INFO: ==8348== Lock acquired, processing the job...
[2025-02-09 01:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 20:08:03] Production.INFO: ==8346== Releasing lock...
[2025-02-08 20:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:08:03] Production.INFO: ==8348== Releasing lock...
[2025-02-09 01:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:08:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:08:03] Production.INFO: ==8350== Lock acquired, processing the job...
[2025-02-08 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:08:04] Production.INFO: ==8359== Lock acquired, processing the job...
[2025-02-08 20:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:08:04] Production.INFO: ==8361== Lock acquired, processing the job...
[2025-02-08 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:08:04] Production.INFO: ==8352== Lock acquired, processing the job...
[2025-02-08 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:08:04] Production.INFO: ==8356== Lock acquired, processing the job...
[2025-02-08 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:08:04] Production.ERROR: done
[2025-02-08 20:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:08:04] Production.INFO: ==8354== Lock acquired, processing the job...
[2025-02-08 20:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:08:04] Production.INFO: Account Balance Start.
[2025-02-08 20:08:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:08:04] Production.INFO: 117
[2025-02-08 20:08:04] Production.INFO: count ==21
[2025-02-08 20:08:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:08:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:08:04] Production.INFO: count ==21
[2025-02-08 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432054') start
[2025-02-08 20:08:04] Production.ERROR: done
[2025-02-08 20:08:04] Production.INFO: Total Charge 0
[2025-02-08 20:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:08:04] Production.INFO: CreateAllLog End
[2025-02-08 20:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432054') end
[2025-02-08 20:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:08:04] Production.INFO: 1
[2025-02-08 20:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:08:04] Production.INFO: ==8361== Releasing lock...
[2025-02-08 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:08:04] Production.INFO: Account Balance End.
[2025-02-08 20:08:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:08:04] Production.INFO: ==8356== Releasing lock...
[2025-02-08 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:08:04] Production.INFO: ==8352== Releasing lock...
[2025-02-08 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:08:05
[end_date_ymd] => 2025-02-08 20:08:05
[RateCDR] => 1
)
[2025-02-08 20:08: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` >= '2025-02-08 17:08:05' and `end` < '2025-02-08 20:08: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 ,'')
[2025-02-08 20:08:13] Production.ERROR: CronJobId end10
[2025-02-08 20:08:13] Production.INFO: ==8354== Releasing lock...
[2025-02-08 20:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:08:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:08:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:08:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:08:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:08:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:08:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:08:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:08:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:08:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:08:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:08:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:08:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:08:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:08:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:08:15] Production.INFO: call_cost start
[2025-02-08 20:08:15] Production.INFO: call_cost end
[2025-02-08 20:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:08:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:08:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:08:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:08:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:08:16] Production.INFO: ==8350== Releasing lock...
[2025-02-08 20:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:08:18] Production.INFO: count ==1756
[2025-02-08 20:08:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:08:05 - End Time 2025-02-08 20:08:05
[2025-02-08 20:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432056', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432056', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432056', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432056', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:08:19] Production.INFO: ProcessCDR(1,14432056,1,1,2)
[2025-02-08 20:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432056', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432056', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:08:22] Production.INFO: ==8359== Releasing lock...
[2025-02-08 20:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:08:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:09:01] Production.INFO: ==8416== Lock acquired, processing the job...
[2025-02-09 01:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:09:01] Production.INFO: neon service started
[2025-02-09 01:09:01] Production.INFO: neon service started
[2025-02-09 01:09:01] Production.INFO: ==8416== Releasing lock...
[2025-02-09 01:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:09:02] Production.INFO: ==8418== Lock acquired, processing the job...
[2025-02-08 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:09:02] Production.INFO: ==8420== Lock acquired, processing the job...
[2025-02-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:09:02] Production.INFO: ==8420== Releasing lock...
[2025-02-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:09:02] Production.INFO: ==8418== Releasing lock...
[2025-02-08 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:09:03] Production.INFO: ==8423== Lock acquired, processing the job...
[2025-02-08 20:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:09:03] Production.INFO: ==8425== Lock acquired, processing the job...
[2025-02-08 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:09:03] Production.INFO: ==8427== Lock acquired, processing the job...
[2025-02-08 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:09:04] Production.INFO: ==8429== Lock acquired, processing the job...
[2025-02-08 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:09:04] Production.INFO: ==8431== Lock acquired, processing the job...
[2025-02-08 20:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:09:04] Production.INFO: Account Balance Start.
[2025-02-08 20:09:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:09:04] Production.INFO: 117
[2025-02-08 20:09:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:09:04] Production.INFO: ==8425== Releasing lock...
[2025-02-08 20:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:09:04] Production.INFO: ==8433== Lock acquired, processing the job...
[2025-02-08 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:09:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:09:04] Production.INFO: Total Charge 0
[2025-02-08 20:09:04] Production.INFO: CreateAllLog End
[2025-02-08 20:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:09:04] Production.INFO: count ==21
[2025-02-08 20:09:04] Production.ERROR: done
[2025-02-08 20:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:09:04] Production.INFO: count ==21
[2025-02-08 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432061') start
[2025-02-08 20:09:04] Production.INFO: Account Balance End.
[2025-02-08 20:09:04] Production.ERROR: done
[2025-02-08 20:09:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:09:04] Production.INFO: ==8429== Releasing lock...
[2025-02-08 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432061') end
[2025-02-08 20:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:09:04] Production.INFO: 1
[2025-02-08 20:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:09:05] Production.INFO: ==8433== Releasing lock...
[2025-02-08 20:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:09:06
[end_date_ymd] => 2025-02-08 20:09:06
[RateCDR] => 1
)
[2025-02-08 20:09: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-02-08 17:09:06' and `end` < '2025-02-08 20:09: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-02-08 20:09:12] Production.ERROR: CronJobId end10
[2025-02-08 20:09:12] Production.INFO: ==8427== Releasing lock...
[2025-02-08 20:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:09:14] Production.INFO: call_cost start
[2025-02-08 20:09:14] Production.INFO: call_cost end
[2025-02-08 20:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:09:15] Production.INFO: ==8423== Releasing lock...
[2025-02-08 20:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:09:20] Production.INFO: count ==1759
[2025-02-08 20:09:21] Production.ERROR: pbx CDR StartTime 2025-02-08 17:09:06 - End Time 2025-02-08 20:09:06
[2025-02-08 20:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432062', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432062', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432062', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432062', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:09:21] Production.INFO: ProcessCDR(1,14432062,1,1,2)
[2025-02-08 20:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432062', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432062', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:09:24] Production.INFO: ==8431== Releasing lock...
[2025-02-08 20:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:09:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:10:02] Production.INFO: ==8488== Lock acquired, processing the job...
[2025-02-09 01:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:10:02] Production.INFO: neon service started
[2025-02-09 01:10:02] Production.INFO: neon service started
[2025-02-09 01:10:02] Production.INFO: ==8488== Releasing lock...
[2025-02-09 01:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:10:02] Production.INFO: ==8490== Lock acquired, processing the job...
[2025-02-08 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:10:03] Production.INFO: ==8490== Releasing lock...
[2025-02-08 20:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:10:03] Production.INFO: ==8492== Lock acquired, processing the job...
[2025-02-09 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:10:03] Production.INFO: ==8492== Releasing lock...
[2025-02-09 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:10:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:10:04] Production.INFO: ==8496== Lock acquired, processing the job...
[2025-02-08 20:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:10:04] Production.INFO: ==8498== Lock acquired, processing the job...
[2025-02-08 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:10:04] Production.INFO: ==8494== Lock acquired, processing the job...
[2025-02-08 20:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 20:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 20:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:10:04] Production.ERROR: CronJob PID - 8496
[2025-02-08 20:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 20:10:04] Production.ERROR: CronJob ID - 5
[2025-02-08 20:10:04] Production.ERROR: CronJob Last Run Time 2025-02-08 20:10:00
[2025-02-08 20:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:10:04] Production.ERROR: CronJob PID - 8498
[2025-02-08 20:10:04] Production.ERROR: CronJob Title - Account Block
[2025-02-08 20:10:04] Production.ERROR: CronJob ID - 7
[2025-02-08 20:10:04] Production.ERROR: CronJob Last Run Time 2025-02-08 20:10:00
[2025-02-08 20:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:10:04] Production.INFO: ==8502== Lock acquired, processing the job...
[2025-02-08 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 20:10:04] Production.INFO: ==8494== Releasing lock...
[2025-02-08 20:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 20:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 20:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:10:04] Production.INFO: Account Balance Start.
[2025-02-08 20:10:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:10:04] Production.INFO: 117
[2025-02-08 20:10:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:10:04] Production.INFO: ==8500== Lock acquired, processing the job...
[2025-02-08 20:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:10:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:10:04] Production.INFO: Total Charge 0
[2025-02-08 20:10:04] Production.INFO: CreateAllLog End
[2025-02-08 20:10:04] Production.INFO: ==8498== Releasing lock...
[2025-02-08 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:10:04] Production.INFO: ==8508== Lock acquired, processing the job...
[2025-02-08 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:10:04] Production.INFO: ==8504== Lock acquired, processing the job...
[2025-02-08 20:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:10:04] Production.INFO: ==8506== Lock acquired, processing the job...
[2025-02-08 20:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 20:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:10:04] Production.INFO: Account Balance End.
[2025-02-08 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:10:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:10:04] Production.INFO: ==8502== Releasing lock...
[2025-02-08 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:10:04] Production.INFO: count ==21
[2025-02-08 20:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:10:04] Production.INFO: count ==21
[2025-02-08 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432066') start
[2025-02-08 20:10:05] Production.ERROR: done
[2025-02-08 20:10:05] Production.ERROR: done
[2025-02-08 20:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432066') end
[2025-02-08 20:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:10:05] Production.INFO: 1
[2025-02-08 20:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:10:05] Production.INFO: ==8508== Releasing lock...
[2025-02-08 20:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 20:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432067', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 20:10:05] Production.ERROR: done
[2025-02-08 20:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:10:06
[end_date_ymd] => 2025-02-08 20:10:06
[RateCDR] => 1
)
[2025-02-08 20:10: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-02-08 17:10:06' and `end` < '2025-02-08 20:10: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-02-08 20:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432067', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 20:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 20:10:10] Production.INFO: ProcessCDR(1,14432067,1,1,2)
[2025-02-08 20:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432067,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432067,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:10:10] Production.INFO: ==8506== Releasing lock...
[2025-02-08 20:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 20:10:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 20:10:14] Production.ERROR: CronJobId end10
[2025-02-08 20:10:14] Production.INFO: ==8500== Releasing lock...
[2025-02-08 20:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:10:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:10:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:10:17] Production.INFO: call_cost start
[2025-02-08 20:10:17] Production.INFO: call_cost end
[2025-02-08 20:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:10:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:10:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:10:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:10:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:10:18] Production.INFO: ==8496== Releasing lock...
[2025-02-08 20:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:10:19] Production.INFO: count ==1758
[2025-02-08 20:10:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:10:06 - End Time 2025-02-08 20:10:06
[2025-02-08 20:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432068', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432068', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432068', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432068', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:10:20] Production.INFO: ProcessCDR(1,14432068,1,1,2)
[2025-02-08 20:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432068', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432068', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:10:23] Production.INFO: ==8504== Releasing lock...
[2025-02-08 20:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:10:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:11:01] Production.INFO: ==8564== Lock acquired, processing the job...
[2025-02-09 01:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:11:01] Production.INFO: neon service started
[2025-02-09 01:11:01] Production.INFO: neon service started
[2025-02-09 01:11:01] Production.INFO: ==8564== Releasing lock...
[2025-02-09 01:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:11:02] Production.INFO: ==8566== Lock acquired, processing the job...
[2025-02-08 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:11:02] Production.INFO: ==8568== Lock acquired, processing the job...
[2025-02-09 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:11:02] Production.INFO: ==8568== Releasing lock...
[2025-02-09 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:11:02] Production.INFO: ==8566== Releasing lock...
[2025-02-08 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:11:03] Production.INFO: ==8571== Lock acquired, processing the job...
[2025-02-08 20:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:11:03] Production.INFO: ==8573== Lock acquired, processing the job...
[2025-02-08 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:11:03] Production.INFO: ==8579== Lock acquired, processing the job...
[2025-02-08 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:11:03] Production.INFO: ==8577== Lock acquired, processing the job...
[2025-02-08 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:11:04] Production.INFO: ==8575== Lock acquired, processing the job...
[2025-02-08 20:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:11:04] Production.INFO: ==8573== Releasing lock...
[2025-02-08 20:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:11:04] Production.INFO: ==8582== Lock acquired, processing the job...
[2025-02-08 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:11:04] Production.ERROR: done
[2025-02-08 20:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:11:04] Production.INFO: Account Balance Start.
[2025-02-08 20:11:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:11:04] Production.INFO: 117
[2025-02-08 20:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:11:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:11:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:11:04] Production.INFO: count ==21
[2025-02-08 20:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:11:04] Production.INFO: count ==21
[2025-02-08 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432071') start
[2025-02-08 20:11:04] Production.INFO: Total Charge 0
[2025-02-08 20:11:04] Production.INFO: CreateAllLog End
[2025-02-08 20:11:04] Production.ERROR: done
[2025-02-08 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432071') end
[2025-02-08 20:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:11:04] Production.INFO: 1
[2025-02-08 20:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:11:04] Production.INFO: ==8582== Releasing lock...
[2025-02-08 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:11:04] Production.INFO: Account Balance End.
[2025-02-08 20:11:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:11:04] Production.INFO: ==8577== Releasing lock...
[2025-02-08 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:11:05
[end_date_ymd] => 2025-02-08 20:11:05
[RateCDR] => 1
)
[2025-02-08 20:11: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` >= '2025-02-08 17:11:05' and `end` < '2025-02-08 20:11: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 ,'')
[2025-02-08 20:11:12] Production.ERROR: CronJobId end10
[2025-02-08 20:11:12] Production.INFO: ==8575== Releasing lock...
[2025-02-08 20:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:11:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:11:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:11:15] Production.INFO: call_cost start
[2025-02-08 20:11:15] Production.INFO: call_cost end
[2025-02-08 20:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:11:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:11:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:11:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:11:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:11:16] Production.INFO: ==8571== Releasing lock...
[2025-02-08 20:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:11:19] Production.INFO: count ==1770
[2025-02-08 20:11:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:11:05 - End Time 2025-02-08 20:11:05
[2025-02-08 20:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432073', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432073', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432073', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432073', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:11:19] Production.INFO: ProcessCDR(1,14432073,1,1,2)
[2025-02-08 20:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432073', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432073', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:11:22] Production.INFO: ==8579== Releasing lock...
[2025-02-08 20:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:11:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:12:02] Production.INFO: ==8638== Lock acquired, processing the job...
[2025-02-09 01:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:12:02] Production.INFO: neon service started
[2025-02-09 01:12:02] Production.INFO: neon service started
[2025-02-09 01:12:02] Production.INFO: ==8638== Releasing lock...
[2025-02-09 01:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:12:02] Production.INFO: ==8640== Lock acquired, processing the job...
[2025-02-08 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:12:02] Production.INFO: ==8640== Releasing lock...
[2025-02-08 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:12:03] Production.INFO: ==8642== Lock acquired, processing the job...
[2025-02-09 01:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:12:03] Production.INFO: ==8642== Releasing lock...
[2025-02-09 01:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:12:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:12:03] Production.INFO: ==8644== Lock acquired, processing the job...
[2025-02-08 20:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:12:03] Production.INFO: ==8653== Lock acquired, processing the job...
[2025-02-08 20:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:12:04] Production.INFO: ==8649== Lock acquired, processing the job...
[2025-02-08 20:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:12:04] Production.INFO: ==8647== Lock acquired, processing the job...
[2025-02-08 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:12:04] Production.INFO: ==8651== Lock acquired, processing the job...
[2025-02-08 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:12:04] Production.INFO: ==8655== Lock acquired, processing the job...
[2025-02-08 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:12:04] Production.INFO: Account Balance Start.
[2025-02-08 20:12:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:12:04] Production.INFO: 117
[2025-02-08 20:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:12:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:12:04] Production.ERROR: done
[2025-02-08 20:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:12:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:12:04] Production.INFO: count ==21
[2025-02-08 20:12:04] Production.INFO: Total Charge 0
[2025-02-08 20:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:12:04] Production.INFO: CreateAllLog End
[2025-02-08 20:12:04] Production.INFO: count ==21
[2025-02-08 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432077') start
[2025-02-08 20:12:04] Production.ERROR: done
[2025-02-08 20:12:04] Production.INFO: ==8647== Releasing lock...
[2025-02-08 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432077') end
[2025-02-08 20:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:12:04] Production.INFO: 1
[2025-02-08 20:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:12:04] Production.INFO: Account Balance End.
[2025-02-08 20:12:04] Production.INFO: ==8655== Releasing lock...
[2025-02-08 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:12:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:12:04] Production.INFO: ==8651== Releasing lock...
[2025-02-08 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:12:05
[end_date_ymd] => 2025-02-08 20:12:05
[RateCDR] => 1
)
[2025-02-08 20:12: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` >= '2025-02-08 17:12:05' and `end` < '2025-02-08 20:12: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 ,'')
[2025-02-08 20:12:13] Production.ERROR: CronJobId end10
[2025-02-08 20:12:13] Production.INFO: ==8649== Releasing lock...
[2025-02-08 20:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:12:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:12:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:12:16] Production.INFO: call_cost start
[2025-02-08 20:12:16] Production.INFO: call_cost end
[2025-02-08 20:12:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:12:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:12:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:12:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:12:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:12:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:12:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:12:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:12:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:12:17] Production.INFO: ==8644== Releasing lock...
[2025-02-08 20:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:12:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:12:20] Production.INFO: count ==1766
[2025-02-08 20:12:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:12:05 - End Time 2025-02-08 20:12:05
[2025-02-08 20:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432078', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432078', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432078', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432078', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:12:20] Production.INFO: ProcessCDR(1,14432078,1,1,2)
[2025-02-08 20:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432078', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432078', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:12:23] Production.INFO: ==8653== Releasing lock...
[2025-02-08 20:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:12:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:13:01] Production.INFO: ==8748== Lock acquired, processing the job...
[2025-02-09 01:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:13:01] Production.INFO: neon service started
[2025-02-09 01:13:01] Production.INFO: neon service started
[2025-02-09 01:13:01] Production.INFO: ==8748== Releasing lock...
[2025-02-09 01:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:13:02] Production.INFO: ==8752== Lock acquired, processing the job...
[2025-02-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:13:02] Production.INFO: ==8752== Releasing lock...
[2025-02-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:13:02] Production.INFO: ==8750== Lock acquired, processing the job...
[2025-02-08 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:13:02] Production.INFO: ==8750== Releasing lock...
[2025-02-08 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:13:03] Production.INFO: ==8755== Lock acquired, processing the job...
[2025-02-08 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:13:03] Production.INFO: ==8761== Lock acquired, processing the job...
[2025-02-08 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:13:03] Production.INFO: ==8763== Lock acquired, processing the job...
[2025-02-08 20:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:13:03] Production.INFO: Account Balance Start.
[2025-02-08 20:13:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:13:03] Production.INFO: 117
[2025-02-08 20:13:03] Production.INFO: ==8757== Lock acquired, processing the job...
[2025-02-08 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:13:03] Production.INFO: ==8765== Lock acquired, processing the job...
[2025-02-08 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:13:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:13:03] Production.INFO: ==8759== Lock acquired, processing the job...
[2025-02-08 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:13:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:13:03] Production.INFO: Total Charge 0
[2025-02-08 20:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:13:03] Production.INFO: CreateAllLog End
[2025-02-08 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:13:03] Production.INFO: count ==21
[2025-02-08 20:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:13:03] Production.INFO: count ==21
[2025-02-08 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432082') start
[2025-02-08 20:13:03] Production.ERROR: done
[2025-02-08 20:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432082') end
[2025-02-08 20:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:13:04] Production.INFO: 1
[2025-02-08 20:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:13:04] Production.INFO: ==8757== Releasing lock...
[2025-02-08 20:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:13:04] Production.INFO: ==8765== Releasing lock...
[2025-02-08 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:13:04] Production.INFO: Account Balance End.
[2025-02-08 20:13:04] Production.ERROR: done
[2025-02-08 20:13:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:13:04] Production.INFO: ==8761== Releasing lock...
[2025-02-08 20:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:13:05
[end_date_ymd] => 2025-02-08 20:13:05
[RateCDR] => 1
)
[2025-02-08 20:13: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` >= '2025-02-08 17:13:05' and `end` < '2025-02-08 20:13: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 ,'')
[2025-02-08 20:13:13] Production.ERROR: CronJobId end10
[2025-02-08 20:13:13] Production.INFO: ==8759== Releasing lock...
[2025-02-08 20:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:13:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:13:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:13:14] Production.INFO: call_cost start
[2025-02-08 20:13:14] Production.INFO: call_cost end
[2025-02-08 20:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:13:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:13:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:13:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:13:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:13:15] Production.INFO: ==8755== Releasing lock...
[2025-02-08 20:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:13:18] Production.INFO: count ==1766
[2025-02-08 20:13:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:13:05 - End Time 2025-02-08 20:13:05
[2025-02-08 20:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432083', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432083', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432083', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432083', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:13:18] Production.INFO: ProcessCDR(1,14432083,1,1,2)
[2025-02-08 20:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432083', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432083', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:13:23] Production.INFO: ==8763== Releasing lock...
[2025-02-08 20:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:13:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:14:02] Production.INFO: ==8821== Lock acquired, processing the job...
[2025-02-09 01:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:14:02] Production.INFO: neon service started
[2025-02-09 01:14:02] Production.INFO: neon service started
[2025-02-09 01:14:02] Production.INFO: ==8821== Releasing lock...
[2025-02-09 01:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:14:02] Production.INFO: ==8823== Lock acquired, processing the job...
[2025-02-08 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:14:02] Production.INFO: ==8823== Releasing lock...
[2025-02-08 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:14:02] Production.INFO: ==8825== Lock acquired, processing the job...
[2025-02-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:14:03] Production.INFO: ==8825== Releasing lock...
[2025-02-09 01:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:14:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:14:03] Production.INFO: ==8835== Lock acquired, processing the job...
[2025-02-08 20:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:14:03] Production.INFO: ==8837== Lock acquired, processing the job...
[2025-02-08 20:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:14:04] Production.INFO: count ==21
[2025-02-08 20:14:04] Production.INFO: ==8827== Lock acquired, processing the job...
[2025-02-08 20:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:14:04] Production.INFO: count ==21
[2025-02-08 20:14:04] Production.INFO: ==8831== Lock acquired, processing the job...
[2025-02-08 20:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432084') start
[2025-02-08 20:14:04] Production.INFO: ==8833== Lock acquired, processing the job...
[2025-02-08 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:14:04] Production.INFO: ==8829== Lock acquired, processing the job...
[2025-02-08 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:14:04] Production.ERROR: done
[2025-02-08 20:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:14:04] Production.INFO: Account Balance Start.
[2025-02-08 20:14:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:14:04] Production.INFO: 117
[2025-02-08 20:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:14:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:14:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432084') end
[2025-02-08 20:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:14:04] Production.INFO: 1
[2025-02-08 20:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:14:04] Production.INFO: Total Charge 0
[2025-02-08 20:14:04] Production.INFO: CreateAllLog End
[2025-02-08 20:14:04] Production.INFO: ==8837== Releasing lock...
[2025-02-08 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:14:04] Production.ERROR: done
[2025-02-08 20:14:04] Production.INFO: ==8829== Releasing lock...
[2025-02-08 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:14:04] Production.INFO: Account Balance End.
[2025-02-08 20:14:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:14:04] Production.INFO: ==8833== Releasing lock...
[2025-02-08 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:14:05
[end_date_ymd] => 2025-02-08 20:14:05
[RateCDR] => 1
)
[2025-02-08 20:14: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` >= '2025-02-08 17:14:05' and `end` < '2025-02-08 20:14: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 ,'')
[2025-02-08 20:14:13] Production.ERROR: CronJobId end10
[2025-02-08 20:14:13] Production.INFO: ==8831== Releasing lock...
[2025-02-08 20:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:14:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:14:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:14:16] Production.INFO: call_cost start
[2025-02-08 20:14:16] Production.INFO: call_cost end
[2025-02-08 20:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:14:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:14:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:14:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:14:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:14:17] Production.INFO: ==8827== Releasing lock...
[2025-02-08 20:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:14:19] Production.INFO: count ==1775
[2025-02-08 20:14:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:14:05 - End Time 2025-02-08 20:14:05
[2025-02-08 20:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432088', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432088', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432088', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432088', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:14:19] Production.INFO: ProcessCDR(1,14432088,1,1,2)
[2025-02-08 20:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432088', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432088', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:14:24] Production.INFO: ==8835== Releasing lock...
[2025-02-08 20:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:14:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 01:15:01] Production.INFO: ==8891== Lock acquired, processing the job...
[2025-02-09 01:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:15:01] Production.INFO: neon service started
[2025-02-09 01:15:01] Production.INFO: neon service started
[2025-02-09 01:15:01] Production.INFO: ==8891== Releasing lock...
[2025-02-09 01:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:15:01] Production.INFO: ==8893== Lock acquired, processing the job...
[2025-02-08 20:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:15:02] Production.INFO: ==8893== Releasing lock...
[2025-02-08 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:15:02] Production.INFO: ==8895== Lock acquired, processing the job...
[2025-02-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:15:02] Production.INFO: ==8895== Releasing lock...
[2025-02-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:15:03] Production.INFO: ==8899== Lock acquired, processing the job...
[2025-02-08 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:15:03] Production.INFO: ==8897== Lock acquired, processing the job...
[2025-02-08 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:15:03] Production.INFO: ==8907== Lock acquired, processing the job...
[2025-02-08 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:15:03] Production.INFO: ==8901== Lock acquired, processing the job...
[2025-02-08 20:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:15:03] Production.INFO: ==8903== Lock acquired, processing the job...
[2025-02-08 20:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:15:03] Production.INFO: count ==21
[2025-02-08 20:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:15:03] Production.INFO: ==8905== Lock acquired, processing the job...
[2025-02-08 20:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:15:03] Production.INFO: count ==21
[2025-02-08 20:15:03] Production.INFO: Account Balance Start.
[2025-02-08 20:15:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:15:03] Production.INFO: 117
[2025-02-08 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432091') start
[2025-02-08 20:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:15:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:15:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:15:03] Production.INFO: ==8899== Releasing lock...
[2025-02-08 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432091') end
[2025-02-08 20:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:15:03] Production.INFO: 1
[2025-02-08 20:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:15:03] Production.INFO: Total Charge 0
[2025-02-08 20:15:04] Production.INFO: CreateAllLog End
[2025-02-08 20:15:04] Production.INFO: ==8907== Releasing lock...
[2025-02-08 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:15:04] Production.ERROR: done
[2025-02-08 20:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:15:04] Production.ERROR: done
[2025-02-08 20:15:04] Production.INFO: Account Balance End.
[2025-02-08 20:15:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:15:04] Production.INFO: ==8903== Releasing lock...
[2025-02-08 20:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:15:05
[end_date_ymd] => 2025-02-08 20:15:05
[RateCDR] => 1
)
[2025-02-08 20:15: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` >= '2025-02-08 17:15:05' and `end` < '2025-02-08 20:15: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 ,'')
[2025-02-08 20:15:13] Production.ERROR: CronJobId end10
[2025-02-08 20:15:13] Production.INFO: ==8901== Releasing lock...
[2025-02-08 20:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:15:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:15:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:15:16] Production.INFO: call_cost start
[2025-02-08 20:15:16] Production.INFO: call_cost end
[2025-02-08 20:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:15:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:15:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:15:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:15:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:15:17] Production.INFO: ==8897== Releasing lock...
[2025-02-08 20:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:15:18] Production.INFO: count ==1774
[2025-02-08 20:15:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:15:05 - End Time 2025-02-08 20:15:05
[2025-02-08 20:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432093', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432093', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432093', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432093', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:15:19] Production.INFO: ProcessCDR(1,14432093,1,1,2)
[2025-02-08 20:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432093', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432093', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:15:22] Production.INFO: ==8905== Releasing lock...
[2025-02-08 20:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:15:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 01:16:02] Production.INFO: ==8965== Lock acquired, processing the job...
[2025-02-09 01:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:16:02] Production.INFO: neon service started
[2025-02-09 01:16:02] Production.INFO: neon service started
[2025-02-09 01:16:02] Production.INFO: ==8965== Releasing lock...
[2025-02-09 01:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:16:02] Production.INFO: ==8967== Lock acquired, processing the job...
[2025-02-08 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:16:02] Production.INFO: ==8967== Releasing lock...
[2025-02-08 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:16:02] Production.INFO: ==8970== Lock acquired, processing the job...
[2025-02-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:16:02] Production.INFO: ==8970== Releasing lock...
[2025-02-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:16:03] Production.INFO: ==8974== Lock acquired, processing the job...
[2025-02-08 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:16:03] Production.INFO: ==8972== Lock acquired, processing the job...
[2025-02-08 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:16:03] Production.INFO: ==8982== Lock acquired, processing the job...
[2025-02-08 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:16:04] Production.INFO: ==8976== Lock acquired, processing the job...
[2025-02-08 20:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:16:04] Production.INFO: ==8978== Lock acquired, processing the job...
[2025-02-08 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:16:04] Production.INFO: count ==21
[2025-02-08 20:16:04] Production.INFO: ==8980== Lock acquired, processing the job...
[2025-02-08 20:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:16:04] Production.INFO: ==8974== Releasing lock...
[2025-02-08 20:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:16:04] Production.INFO: count ==21
[2025-02-08 20:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432095') start
[2025-02-08 20:16:04] Production.INFO: Account Balance Start.
[2025-02-08 20:16:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:16:04] Production.INFO: 117
[2025-02-08 20:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:16:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:16:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:16:04] Production.INFO: Total Charge 0
[2025-02-08 20:16:04] Production.INFO: CreateAllLog End
[2025-02-08 20:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432095') end
[2025-02-08 20:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:16:04] Production.INFO: 1
[2025-02-08 20:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:16:04] Production.INFO: ==8982== Releasing lock...
[2025-02-08 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:16:04] Production.INFO: Account Balance End.
[2025-02-08 20:16:04] Production.ERROR: done
[2025-02-08 20:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:16:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:16:04] Production.INFO: ==8978== Releasing lock...
[2025-02-08 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:16:04] Production.ERROR: done
[2025-02-08 20:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:16:05
[end_date_ymd] => 2025-02-08 20:16:05
[RateCDR] => 1
)
[2025-02-08 20:16: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` >= '2025-02-08 17:16:05' and `end` < '2025-02-08 20:16: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 ,'')
[2025-02-08 20:16:13] Production.ERROR: CronJobId end10
[2025-02-08 20:16:13] Production.INFO: ==8976== Releasing lock...
[2025-02-08 20:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:16:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:16:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:16:15] Production.INFO: call_cost start
[2025-02-08 20:16:15] Production.INFO: call_cost end
[2025-02-08 20:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:16:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:16:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:16:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:16:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:16:16] Production.INFO: ==8972== Releasing lock...
[2025-02-08 20:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:16:19] Production.INFO: count ==1783
[2025-02-08 20:16:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:16:05 - End Time 2025-02-08 20:16:05
[2025-02-08 20:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432098', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432098', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432098', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432098', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:16:20] Production.INFO: ProcessCDR(1,14432098,1,1,2)
[2025-02-08 20:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432098', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432098', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:16:23] Production.INFO: ==8980== Releasing lock...
[2025-02-08 20:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:16:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 01:17:01] Production.INFO: ==9037== Lock acquired, processing the job...
[2025-02-09 01:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:17:01] Production.INFO: neon service started
[2025-02-09 01:17:01] Production.INFO: neon service started
[2025-02-09 01:17:01] Production.INFO: ==9037== Releasing lock...
[2025-02-09 01:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:17:01] Production.INFO: ==9041== Lock acquired, processing the job...
[2025-02-09 01:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:17:01] Production.INFO: ==9041== Releasing lock...
[2025-02-09 01:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:17:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:17:02] Production.INFO: ==9039== Lock acquired, processing the job...
[2025-02-08 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:17:02] Production.INFO: ==9039== Releasing lock...
[2025-02-08 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:17:03] Production.INFO: ==9043== Lock acquired, processing the job...
[2025-02-08 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:17:03] Production.INFO: ==9045== Lock acquired, processing the job...
[2025-02-08 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:17:03] Production.INFO: ==9047== Lock acquired, processing the job...
[2025-02-08 20:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:17:03] Production.INFO: ==9050== Lock acquired, processing the job...
[2025-02-08 20:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:17:03] Production.INFO: ==9052== Lock acquired, processing the job...
[2025-02-08 20:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:17:03] Production.INFO: Account Balance Start.
[2025-02-08 20:17:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:17:03] Production.INFO: 117
[2025-02-08 20:17:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:17:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:17:03] Production.INFO: ==9055== Lock acquired, processing the job...
[2025-02-08 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:17:03] Production.INFO: ==9045== Releasing lock...
[2025-02-08 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:17:03] Production.INFO: Total Charge 0
[2025-02-08 20:17:03] Production.INFO: CreateAllLog End
[2025-02-08 20:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:17:04] Production.INFO: count ==21
[2025-02-08 20:17:04] Production.ERROR: done
[2025-02-08 20:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:17:04] Production.INFO: count ==21
[2025-02-08 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432102') start
[2025-02-08 20:17:04] Production.INFO: Account Balance End.
[2025-02-08 20:17:04] Production.ERROR: done
[2025-02-08 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432102') end
[2025-02-08 20:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:17:04] Production.INFO: 1
[2025-02-08 20:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:17:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:17:04] Production.INFO: ==9050== Releasing lock...
[2025-02-08 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:17:04] Production.INFO: ==9055== Releasing lock...
[2025-02-08 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:17:05
[end_date_ymd] => 2025-02-08 20:17:05
[RateCDR] => 1
)
[2025-02-08 20:17: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` >= '2025-02-08 17:17:05' and `end` < '2025-02-08 20:17: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 ,'')
[2025-02-08 20:17:12] Production.ERROR: CronJobId end10
[2025-02-08 20:17:12] Production.INFO: ==9047== Releasing lock...
[2025-02-08 20:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:17:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:17:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:17:15] Production.INFO: call_cost start
[2025-02-08 20:17:15] Production.INFO: call_cost end
[2025-02-08 20:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:17:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:17:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:17:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:17:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:17:16] Production.INFO: ==9043== Releasing lock...
[2025-02-08 20:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:17:20] Production.INFO: count ==1786
[2025-02-08 20:17:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:17:05 - End Time 2025-02-08 20:17:05
[2025-02-08 20:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432103', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432103', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432103', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432103', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:17:20] Production.INFO: ProcessCDR(1,14432103,1,1,2)
[2025-02-08 20:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432103', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432103', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:17:24] Production.INFO: ==9052== Releasing lock...
[2025-02-08 20:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:17:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 01:18:01] Production.INFO: ==9119== Lock acquired, processing the job...
[2025-02-09 01:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:18:01] Production.INFO: neon service started
[2025-02-09 01:18:01] Production.INFO: neon service started
[2025-02-09 01:18:01] Production.INFO: ==9119== Releasing lock...
[2025-02-09 01:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:18:02] Production.INFO: ==9123== Lock acquired, processing the job...
[2025-02-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 20:18:02] Production.INFO: ==9121== Lock acquired, processing the job...
[2025-02-08 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:18:02] Production.INFO: ==9123== Releasing lock...
[2025-02-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:18:03] Production.INFO: ==9121== Releasing lock...
[2025-02-08 20:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:18:04] Production.INFO: ==9132== Lock acquired, processing the job...
[2025-02-08 20:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:18:04] Production.INFO: ==9136== Lock acquired, processing the job...
[2025-02-08 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:18:04] Production.INFO: Account Balance Start.
[2025-02-08 20:18:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:18:04] Production.INFO: 117
[2025-02-08 20:18:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:18:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:18:04] Production.INFO: Total Charge 0
[2025-02-08 20:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:18:04] Production.INFO: CreateAllLog End
[2025-02-08 20:18:04] Production.INFO: ==9126== Lock acquired, processing the job...
[2025-02-08 20:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:18:04] Production.INFO: count ==21
[2025-02-08 20:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:18:04] Production.INFO: count ==21
[2025-02-08 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432105') start
[2025-02-08 20:18:04] Production.INFO: ==9130== Lock acquired, processing the job...
[2025-02-08 20:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:18:04] Production.INFO: ==9128== Lock acquired, processing the job...
[2025-02-08 20:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:18:04] Production.INFO: Account Balance End.
[2025-02-08 20:18:04] Production.INFO: ==9134== Lock acquired, processing the job...
[2025-02-08 20:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:18:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:18:04] Production.INFO: ==9132== Releasing lock...
[2025-02-08 20:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432105') end
[2025-02-08 20:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:18:04] Production.INFO: 1
[2025-02-08 20:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:18:04] Production.INFO: ==9136== Releasing lock...
[2025-02-08 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:18:04] Production.ERROR: done
[2025-02-08 20:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:18:04] Production.ERROR: done
[2025-02-08 20:18:05] Production.INFO: ==9128== Releasing lock...
[2025-02-08 20:18:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:18:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:18:05
[end_date_ymd] => 2025-02-08 20:18:05
[RateCDR] => 1
)
[2025-02-08 20:18: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` >= '2025-02-08 17:18:05' and `end` < '2025-02-08 20:18: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 ,'')
[2025-02-08 20:18:13] Production.ERROR: CronJobId end10
[2025-02-08 20:18:13] Production.INFO: ==9130== Releasing lock...
[2025-02-08 20:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:18:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:18:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:18:16] Production.INFO: call_cost start
[2025-02-08 20:18:16] Production.INFO: call_cost end
[2025-02-08 20:18:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:18:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:18:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:18:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:18:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:18:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:18:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:18:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:18:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:18:17] Production.INFO: ==9126== Releasing lock...
[2025-02-08 20:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:18:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:18:19] Production.INFO: count ==1792
[2025-02-08 20:18:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:18:05 - End Time 2025-02-08 20:18:05
[2025-02-08 20:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432108', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432108', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432108', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432108', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:18:19] Production.INFO: ProcessCDR(1,14432108,1,1,2)
[2025-02-08 20:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432108', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432108', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:18:24] Production.INFO: ==9134== Releasing lock...
[2025-02-08 20:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:18:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 01:19:02] Production.INFO: ==9195== Lock acquired, processing the job...
[2025-02-09 01:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:19:02] Production.INFO: neon service started
[2025-02-09 01:19:02] Production.INFO: neon service started
[2025-02-09 01:19:02] Production.INFO: ==9195== Releasing lock...
[2025-02-09 01:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:19:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 01:19:02] Production.INFO: ==9199== Lock acquired, processing the job...
[2025-02-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:19:02] Production.INFO: ==9199== Releasing lock...
[2025-02-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:19:02] Production.INFO: ==9197== Lock acquired, processing the job...
[2025-02-08 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:19:03] Production.INFO: ==9197== Releasing lock...
[2025-02-08 20:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:19:04] Production.INFO: ==9206== Lock acquired, processing the job...
[2025-02-08 20:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:19:04] Production.INFO: ==9208== Lock acquired, processing the job...
[2025-02-08 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:19:04] Production.INFO: Account Balance Start.
[2025-02-08 20:19:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:19:04] Production.INFO: 117
[2025-02-08 20:19:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:19:04] Production.INFO: ==9202== Lock acquired, processing the job...
[2025-02-08 20:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:19:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:19:04] Production.INFO: ==9204== Lock acquired, processing the job...
[2025-02-08 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:19:04] Production.INFO: Total Charge 0
[2025-02-08 20:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:19:04] Production.INFO: CreateAllLog End
[2025-02-08 20:19:04] Production.INFO: ==9210== Lock acquired, processing the job...
[2025-02-08 20:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:19:04] Production.INFO: ==9212== Lock acquired, processing the job...
[2025-02-08 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:19:04] Production.INFO: Account Balance End.
[2025-02-08 20:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:19:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:19:04] Production.INFO: ==9208== Releasing lock...
[2025-02-08 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:19:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:19:05] Production.INFO: count ==21
[2025-02-08 20:19:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:19:05] Production.INFO: count ==21
[2025-02-08 20:19:05] Production.INFO: ==9204== Releasing lock...
[2025-02-08 20:19:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:19:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432112') start
[2025-02-08 20:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432112') end
[2025-02-08 20:19:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:19:05] Production.INFO: 1
[2025-02-08 20:19:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:19:05] Production.INFO: ==9212== Releasing lock...
[2025-02-08 20:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:19:05] Production.ERROR: done
[2025-02-08 20:19:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:19:05] Production.ERROR: done
[2025-02-08 20:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:19:06
[end_date_ymd] => 2025-02-08 20:19:06
[RateCDR] => 1
)
[2025-02-08 20:19: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-02-08 17:19:06' and `end` < '2025-02-08 20:19: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-02-08 20:19:13] Production.ERROR: CronJobId end10
[2025-02-08 20:19:13] Production.INFO: ==9206== Releasing lock...
[2025-02-08 20:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:19:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:19:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:19:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:19:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:19:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:19:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:19:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:19:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:19:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:19:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:19:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:19:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:19:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:19:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:19:16] Production.INFO: call_cost start
[2025-02-08 20:19:16] Production.INFO: call_cost end
[2025-02-08 20:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:19:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:19:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:19:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:19:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:19:17] Production.INFO: ==9202== Releasing lock...
[2025-02-08 20:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:19:19] Production.INFO: count ==1789
[2025-02-08 20:19:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:19:06 - End Time 2025-02-08 20:19:06
[2025-02-08 20:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432113', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432113', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432113', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432113', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:19:20] Production.INFO: ProcessCDR(1,14432113,1,1,2)
[2025-02-08 20:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432113', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432113', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:19:23] Production.INFO: ==9210== Releasing lock...
[2025-02-08 20:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:19:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 01:20:01] Production.INFO: ==9268== Lock acquired, processing the job...
[2025-02-09 01:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:20:01] Production.INFO: neon service started
[2025-02-09 01:20:01] Production.INFO: neon service started
[2025-02-09 01:20:01] Production.INFO: ==9268== Releasing lock...
[2025-02-09 01:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:20:02] Production.INFO: ==9270== Lock acquired, processing the job...
[2025-02-08 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:20:02] Production.INFO: ==9270== Releasing lock...
[2025-02-08 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:20:02] Production.INFO: ==9272== Lock acquired, processing the job...
[2025-02-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:20:03] Production.INFO: ==9272== Releasing lock...
[2025-02-09 01:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:20:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:20:04] Production.INFO: ==9276== Lock acquired, processing the job...
[2025-02-08 20:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:20:04] Production.INFO: ==9274== Lock acquired, processing the job...
[2025-02-08 20:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 20:20:04] Production.INFO: ==9278== Lock acquired, processing the job...
[2025-02-08 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:20:04] Production.INFO: ==9283== Lock acquired, processing the job...
[2025-02-08 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:20:04] Production.INFO: ==9285== Lock acquired, processing the job...
[2025-02-08 20:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:20:04] Production.INFO: ==9280== Lock acquired, processing the job...
[2025-02-08 20:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:20:04] Production.INFO: ==9289== Lock acquired, processing the job...
[2025-02-08 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:20:04] Production.ERROR: CronJob PID - 9276
[2025-02-08 20:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 20:20:04] Production.ERROR: CronJob ID - 5
[2025-02-08 20:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 20:20:00
[2025-02-08 20:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:20:04] Production.ERROR: CronJob PID - 9278
[2025-02-08 20:20:04] Production.ERROR: CronJob Title - Account Block
[2025-02-08 20:20:04] Production.ERROR: CronJob ID - 7
[2025-02-08 20:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 20:20:00
[2025-02-08 20:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:20:04] Production.ERROR: CronJob PID - 9280
[2025-02-08 20:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-08 20:20:04] Production.ERROR: CronJob ID - 10
[2025-02-08 20:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 20:20:00
[2025-02-08 20:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:20:04] Production.ERROR: CronJob PID - 9283
[2025-02-08 20:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-08 20:20:04] Production.ERROR: CronJob ID - 12
[2025-02-08 20:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 20:20:00
[2025-02-08 20:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:20:04] Production.ERROR: CronJob PID - 9285
[2025-02-08 20:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-08 20:20:04] Production.ERROR: CronJob ID - 16
[2025-02-08 20:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 20:20:00
[2025-02-08 20:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:20:04] Production.INFO: ==9287== Lock acquired, processing the job...
[2025-02-08 20:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 20:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:20:04] Production.INFO: Account Balance Start.
[2025-02-08 20:20:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:20:04] Production.INFO: 117
[2025-02-08 20:20:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:20:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 20:20:04] Production.INFO: ==9274== Releasing lock...
[2025-02-08 20:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 20:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 20:20:04] Production.INFO: Total Charge 0
[2025-02-08 20:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:20:04] Production.INFO: CreateAllLog End
[2025-02-08 20:20:04] Production.ERROR: done
[2025-02-08 20:20:04] Production.INFO: count ==21
[2025-02-08 20:20:04] Production.INFO: ==9278== Releasing lock...
[2025-02-08 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:20:04] Production.INFO: count ==21
[2025-02-08 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432117') start
[2025-02-08 20:20:04] Production.ERROR: done
[2025-02-08 20:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432118', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432117') end
[2025-02-08 20:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:20:04] Production.INFO: 1
[2025-02-08 20:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:20:04] Production.INFO: ==9289== Releasing lock...
[2025-02-08 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:20:04] Production.INFO: Account Balance End.
[2025-02-08 20:20:05] Production.ERROR: done
[2025-02-08 20:20:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:20:05] Production.INFO: ==9283== Releasing lock...
[2025-02-08 20:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:20:06
[end_date_ymd] => 2025-02-08 20:20:06
[RateCDR] => 1
)
[2025-02-08 20:20: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-02-08 17:20:06' and `end` < '2025-02-08 20:20: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-02-08 20:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432118', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 20:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 20:20:10] Production.INFO: ProcessCDR(1,14432118,1,1,2)
[2025-02-08 20:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432118,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432118,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:20:10] Production.INFO: ==9287== Releasing lock...
[2025-02-08 20:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 20:20:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 20:20:15] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-08 20:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:20:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:20:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:20:15] Production.ERROR: CronJobId end10
[2025-02-08 20:20:15] Production.INFO: ==9280== Releasing lock...
[2025-02-08 20:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:20:15] Production.INFO: call_cost start
[2025-02-08 20:20:15] Production.INFO: call_cost end
[2025-02-08 20:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:20:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:20:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:20:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:20:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:20:16] Production.INFO: ==9276== Releasing lock...
[2025-02-08 20:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:20:19] Production.INFO: count ==1793
[2025-02-08 20:20:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:20:06 - End Time 2025-02-08 20:20:06
[2025-02-08 20:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432119', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432119', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432119', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432119', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:20:19] Production.INFO: ProcessCDR(1,14432119,1,1,2)
[2025-02-08 20:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432119', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432119', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:20:23] Production.INFO: ==9285== Releasing lock...
[2025-02-08 20:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:20:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 01:21:02] Production.INFO: ==9343== Lock acquired, processing the job...
[2025-02-09 01:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:21:02] Production.INFO: neon service started
[2025-02-09 01:21:02] Production.INFO: neon service started
[2025-02-09 01:21:02] Production.INFO: ==9343== Releasing lock...
[2025-02-09 01:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:21:02] Production.INFO: ==9345== Lock acquired, processing the job...
[2025-02-08 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:21:03] Production.INFO: ==9345== Releasing lock...
[2025-02-08 20:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:21:03] Production.INFO: ==9347== Lock acquired, processing the job...
[2025-02-09 01:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:21:03] Production.INFO: ==9347== Releasing lock...
[2025-02-09 01:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:21:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:21:04] Production.INFO: ==9355== Lock acquired, processing the job...
[2025-02-08 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:21:04] Production.INFO: ==9358== Lock acquired, processing the job...
[2025-02-08 20:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:21:04] Production.INFO: ==9349== Lock acquired, processing the job...
[2025-02-08 20:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:21:04] Production.INFO: Account Balance Start.
[2025-02-08 20:21:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:21:04] Production.INFO: 117
[2025-02-08 20:21:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:21:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:21:04] Production.INFO: ==9351== Lock acquired, processing the job...
[2025-02-08 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:21:04] Production.INFO: ==9353== Lock acquired, processing the job...
[2025-02-08 20:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:21:04] Production.INFO: Total Charge 0
[2025-02-08 20:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:21:04] Production.INFO: ==9360== Lock acquired, processing the job...
[2025-02-08 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:21:04] Production.INFO: CreateAllLog End
[2025-02-08 20:21:04] Production.ERROR: done
[2025-02-08 20:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:21:04] Production.INFO: count ==21
[2025-02-08 20:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:21:04] Production.INFO: count ==21
[2025-02-08 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432123') start
[2025-02-08 20:21:04] Production.ERROR: done
[2025-02-08 20:21:04] Production.INFO: Account Balance End.
[2025-02-08 20:21:04] Production.INFO: ==9351== Releasing lock...
[2025-02-08 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:21:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:21:04] Production.INFO: ==9355== Releasing lock...
[2025-02-08 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432123') end
[2025-02-08 20:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:21:04] Production.INFO: 1
[2025-02-08 20:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:21:05] Production.INFO: ==9360== Releasing lock...
[2025-02-08 20:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:21:05
[end_date_ymd] => 2025-02-08 20:21:05
[RateCDR] => 1
)
[2025-02-08 20:21: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-02-08 17:21:05' and `end` < '2025-02-08 20:21: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 ,'')
[2025-02-08 20:21:13] Production.ERROR: CronJobId end10
[2025-02-08 20:21:13] Production.INFO: ==9353== Releasing lock...
[2025-02-08 20:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:21:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:21:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:21:15] Production.INFO: call_cost start
[2025-02-08 20:21:15] Production.INFO: call_cost end
[2025-02-08 20:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:21:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:21:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:21:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:21:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:21:16] Production.INFO: ==9349== Releasing lock...
[2025-02-08 20:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:21:19] Production.INFO: count ==1758
[2025-02-08 20:21:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:21:05 - End Time 2025-02-08 20:21:05
[2025-02-08 20:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432124', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432124', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432124', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432124', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:21:19] Production.INFO: ProcessCDR(1,14432124,1,1,2)
[2025-02-08 20:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432124', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432124', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:21:23] Production.INFO: ==9358== Releasing lock...
[2025-02-08 20:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:21:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:22:01] Production.INFO: ==9416== Lock acquired, processing the job...
[2025-02-09 01:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:22:01] Production.INFO: neon service started
[2025-02-09 01:22:01] Production.INFO: neon service started
[2025-02-09 01:22:01] Production.INFO: ==9416== Releasing lock...
[2025-02-09 01:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:22:02] Production.INFO: ==9418== Lock acquired, processing the job...
[2025-02-08 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:22:02] Production.INFO: ==9418== Releasing lock...
[2025-02-08 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:22:02] Production.INFO: ==9420== Lock acquired, processing the job...
[2025-02-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:22:02] Production.INFO: ==9420== Releasing lock...
[2025-02-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:22:03] Production.INFO: ==9428== Lock acquired, processing the job...
[2025-02-08 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:22:03] Production.INFO: ==9433== Lock acquired, processing the job...
[2025-02-08 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:22:03] Production.INFO: ==9422== Lock acquired, processing the job...
[2025-02-08 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:22:03] Production.INFO: count ==21
[2025-02-08 20:22:03] Production.INFO: Account Balance Start.
[2025-02-08 20:22:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:22:03] Production.INFO: 117
[2025-02-08 20:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:22:03] Production.INFO: count ==21
[2025-02-08 20:22:03] Production.INFO: ==9424== Lock acquired, processing the job...
[2025-02-08 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:22:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432125') start
[2025-02-08 20:22:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:22:03] Production.INFO: ==9426== Lock acquired, processing the job...
[2025-02-08 20:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:22:03] Production.INFO: ==9431== Lock acquired, processing the job...
[2025-02-08 20:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:22:03] Production.INFO: Total Charge 0
[2025-02-08 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432125') end
[2025-02-08 20:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:22:03] Production.INFO: 1
[2025-02-08 20:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:22:04] Production.INFO: CreateAllLog End
[2025-02-08 20:22:04] Production.INFO: ==9433== Releasing lock...
[2025-02-08 20:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:22:04] Production.INFO: ==9424== Releasing lock...
[2025-02-08 20:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:22:04] Production.ERROR: done
[2025-02-08 20:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:22:04] Production.INFO: Account Balance End.
[2025-02-08 20:22:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:22:04] Production.INFO: ==9428== Releasing lock...
[2025-02-08 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:22:04] Production.ERROR: done
[2025-02-08 20:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:22:05
[end_date_ymd] => 2025-02-08 20:22:05
[RateCDR] => 1
)
[2025-02-08 20:22: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` >= '2025-02-08 17:22:05' and `end` < '2025-02-08 20:22: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 ,'')
[2025-02-08 20:22:12] Production.ERROR: CronJobId end10
[2025-02-08 20:22:12] Production.INFO: ==9426== Releasing lock...
[2025-02-08 20:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:22:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:22:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:22:14] Production.INFO: call_cost start
[2025-02-08 20:22:14] Production.INFO: call_cost end
[2025-02-08 20:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:22:15] Production.INFO: ==9422== Releasing lock...
[2025-02-08 20:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:22:19] Production.INFO: count ==1758
[2025-02-08 20:22:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:22:05 - End Time 2025-02-08 20:22:05
[2025-02-08 20:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432129', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432129', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432129', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432129', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:22:19] Production.INFO: ProcessCDR(1,14432129,1,1,2)
[2025-02-08 20:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:22:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432129', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432129', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:22:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:22:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:22:25] Production.INFO: ==9431== Releasing lock...
[2025-02-08 20:22:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:22:25] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:23:02] Production.INFO: ==9489== Lock acquired, processing the job...
[2025-02-09 01:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:23:02] Production.INFO: neon service started
[2025-02-09 01:23:02] Production.INFO: neon service started
[2025-02-09 01:23:02] Production.INFO: ==9489== Releasing lock...
[2025-02-09 01:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:23:02] Production.INFO: ==9491== Lock acquired, processing the job...
[2025-02-08 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:23:03] Production.INFO: ==9491== Releasing lock...
[2025-02-08 20:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:23:03] Production.INFO: ==9494== Lock acquired, processing the job...
[2025-02-09 01:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:23:03] Production.INFO: ==9494== Releasing lock...
[2025-02-09 01:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:23:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:23:03] Production.INFO: ==9496== Lock acquired, processing the job...
[2025-02-08 20:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:23:03] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-02-08 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:23:04] Production.INFO: ==9504== Lock acquired, processing the job...
[2025-02-08 20:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:23:04] Production.INFO: ==9498== Releasing lock...
[2025-02-08 20:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:23:04] Production.INFO: ==9500== Lock acquired, processing the job...
[2025-02-08 20:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:23:04] Production.INFO: ==9502== Lock acquired, processing the job...
[2025-02-08 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:23:04] Production.INFO: ==9506== Lock acquired, processing the job...
[2025-02-08 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:23:04] Production.ERROR: done
[2025-02-08 20:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:23:04] Production.INFO: Account Balance Start.
[2025-02-08 20:23:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:23:04] Production.INFO: 117
[2025-02-08 20:23:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:23:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:23:04] Production.INFO: Total Charge 0
[2025-02-08 20:23:04] Production.INFO: CreateAllLog End
[2025-02-08 20:23:04] Production.ERROR: done
[2025-02-08 20:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:23:04] Production.INFO: Account Balance End.
[2025-02-08 20:23:04] Production.INFO: count ==21
[2025-02-08 20:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:23:05] Production.INFO: count ==21
[2025-02-08 20:23:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:23:05] Production.INFO: ==9502== Releasing lock...
[2025-02-08 20:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:23:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432133') start
[2025-02-08 20:23:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432133') end
[2025-02-08 20:23:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:23:05] Production.INFO: 1
[2025-02-08 20:23:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:23:05] Production.INFO: ==9506== Releasing lock...
[2025-02-08 20:23:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:23:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:23:05
[end_date_ymd] => 2025-02-08 20:23:05
[RateCDR] => 1
)
[2025-02-08 20:23: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` >= '2025-02-08 17:23:05' and `end` < '2025-02-08 20:23: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 ,'')
[2025-02-08 20:23:14] Production.ERROR: CronJobId end10
[2025-02-08 20:23:14] Production.INFO: ==9500== Releasing lock...
[2025-02-08 20:23:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:23:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:23:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:23:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:23:15] Production.INFO: call_cost start
[2025-02-08 20:23:15] Production.INFO: call_cost end
[2025-02-08 20:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:23:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:23:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:23:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:23:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:23:16] Production.INFO: ==9496== Releasing lock...
[2025-02-08 20:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:23:19] Production.INFO: count ==1758
[2025-02-08 20:23:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:23:05 - End Time 2025-02-08 20:23:05
[2025-02-08 20:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432134', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432134', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432134', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432134', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:23:19] Production.INFO: ProcessCDR(1,14432134,1,1,2)
[2025-02-08 20:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432134', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432134', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:23:24] Production.INFO: ==9504== Releasing lock...
[2025-02-08 20:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:23:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:24:01] Production.INFO: ==9559== Lock acquired, processing the job...
[2025-02-09 01:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:24:01] Production.INFO: neon service started
[2025-02-09 01:24:01] Production.INFO: neon service started
[2025-02-09 01:24:01] Production.INFO: ==9559== Releasing lock...
[2025-02-09 01:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:24:02] Production.INFO: ==9561== Lock acquired, processing the job...
[2025-02-08 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:24:02] Production.INFO: ==9563== Lock acquired, processing the job...
[2025-02-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:24:02] Production.INFO: ==9563== Releasing lock...
[2025-02-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:24:02] Production.INFO: ==9561== Releasing lock...
[2025-02-08 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:24:03] Production.INFO: ==9566== Lock acquired, processing the job...
[2025-02-08 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:24:03] Production.INFO: ==9572== Lock acquired, processing the job...
[2025-02-08 20:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:24:03] Production.INFO: ==9574== Lock acquired, processing the job...
[2025-02-08 20:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:24:04] Production.INFO: Account Balance Start.
[2025-02-08 20:24:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:24:04] Production.INFO: 117
[2025-02-08 20:24:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:24:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:24:04] Production.INFO: Total Charge 0
[2025-02-08 20:24:04] Production.INFO: ==9568== Lock acquired, processing the job...
[2025-02-08 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:24:04] Production.INFO: CreateAllLog End
[2025-02-08 20:24:04] Production.INFO: ==9570== Lock acquired, processing the job...
[2025-02-08 20:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:24:04] Production.INFO: ==9576== Lock acquired, processing the job...
[2025-02-08 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:24:04] Production.ERROR: done
[2025-02-08 20:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:24:04] Production.INFO: Account Balance End.
[2025-02-08 20:24:04] Production.INFO: count ==21
[2025-02-08 20:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:24:04] Production.INFO: count ==21
[2025-02-08 20:24:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:24:04] Production.INFO: ==9572== Releasing lock...
[2025-02-08 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432138') start
[2025-02-08 20:24:04] Production.INFO: ==9568== Releasing lock...
[2025-02-08 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:24:04] Production.ERROR: done
[2025-02-08 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432138') end
[2025-02-08 20:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:24:04] Production.INFO: 1
[2025-02-08 20:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:24:04] Production.INFO: ==9576== Releasing lock...
[2025-02-08 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:24:05
[end_date_ymd] => 2025-02-08 20:24:05
[RateCDR] => 1
)
[2025-02-08 20:24: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` >= '2025-02-08 17:24:05' and `end` < '2025-02-08 20:24: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 ,'')
[2025-02-08 20:24:12] Production.ERROR: CronJobId end10
[2025-02-08 20:24:12] Production.INFO: ==9570== Releasing lock...
[2025-02-08 20:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:24:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:24:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:24:15] Production.INFO: call_cost start
[2025-02-08 20:24:15] Production.INFO: call_cost end
[2025-02-08 20:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:24:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:24:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:24:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:24:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:24:16] Production.INFO: ==9566== Releasing lock...
[2025-02-08 20:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:24:18] Production.INFO: count ==1759
[2025-02-08 20:24:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:24:05 - End Time 2025-02-08 20:24:05
[2025-02-08 20:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432139', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432139', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432139', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432139', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:24:19] Production.INFO: ProcessCDR(1,14432139,1,1,2)
[2025-02-08 20:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432139', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432139', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:24:24] Production.INFO: ==9574== Releasing lock...
[2025-02-08 20:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:24:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 01:25:02] Production.INFO: ==9634== Lock acquired, processing the job...
[2025-02-09 01:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:25:02] Production.INFO: neon service started
[2025-02-09 01:25:02] Production.INFO: neon service started
[2025-02-09 01:25:02] Production.INFO: ==9634== Releasing lock...
[2025-02-09 01:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:25:02] Production.INFO: ==9636== Lock acquired, processing the job...
[2025-02-08 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:25:02] Production.INFO: ==9636== Releasing lock...
[2025-02-08 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:25:03] Production.INFO: ==9638== Lock acquired, processing the job...
[2025-02-09 01:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:25:03] Production.INFO: ==9638== Releasing lock...
[2025-02-09 01:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:25:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:25:04] Production.INFO: ==9648== Lock acquired, processing the job...
[2025-02-08 20:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:25:04] Production.INFO: ==9650== Lock acquired, processing the job...
[2025-02-08 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:25:04] Production.INFO: ==9640== Lock acquired, processing the job...
[2025-02-08 20:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:25:04] Production.INFO: ==9642== Lock acquired, processing the job...
[2025-02-08 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:25:04] Production.INFO: ==9646== Lock acquired, processing the job...
[2025-02-08 20:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:25:04] Production.INFO: count ==21
[2025-02-08 20:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:25:04] Production.INFO: count ==21
[2025-02-08 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432140') start
[2025-02-08 20:25:04] Production.INFO: ==9644== Lock acquired, processing the job...
[2025-02-08 20:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:25:04] Production.INFO: Account Balance Start.
[2025-02-08 20:25:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:25:04] Production.INFO: 117
[2025-02-08 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432140') end
[2025-02-08 20:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:25:04] Production.INFO: 1
[2025-02-08 20:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:25:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:25:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:25:04] Production.INFO: Total Charge 0
[2025-02-08 20:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:25:04] Production.INFO: ==9650== Releasing lock...
[2025-02-08 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:25:04] Production.ERROR: done
[2025-02-08 20:25:04] Production.INFO: CreateAllLog End
[2025-02-08 20:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:25:04] Production.INFO: ==9642== Releasing lock...
[2025-02-08 20:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:25:04] Production.ERROR: done
[2025-02-08 20:25:04] Production.INFO: Account Balance End.
[2025-02-08 20:25:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:25:04] Production.INFO: ==9646== Releasing lock...
[2025-02-08 20:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:25:05
[end_date_ymd] => 2025-02-08 20:25:05
[RateCDR] => 1
)
[2025-02-08 20:25: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` >= '2025-02-08 17:25:05' and `end` < '2025-02-08 20:25: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 ,'')
[2025-02-08 20:25:12] Production.ERROR: CronJobId end10
[2025-02-08 20:25:12] Production.INFO: ==9644== Releasing lock...
[2025-02-08 20:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:25:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:25:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:25:15] Production.INFO: call_cost start
[2025-02-08 20:25:15] Production.INFO: call_cost end
[2025-02-08 20:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:25:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:25:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:25:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:25:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:25:16] Production.INFO: ==9640== Releasing lock...
[2025-02-08 20:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:25:21] Production.INFO: count ==1715
[2025-02-08 20:25:21] Production.ERROR: pbx CDR StartTime 2025-02-08 17:25:05 - End Time 2025-02-08 20:25:05
[2025-02-08 20:25:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432144', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432144', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432144', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:25:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432144', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:25:21] Production.INFO: ProcessCDR(1,14432144,1,1,2)
[2025-02-08 20:25:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:25:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:25:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:25:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:25:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432144', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:25:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432144', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:25:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:25:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:25:25] Production.INFO: ==9648== Releasing lock...
[2025-02-08 20:25:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:25:25] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 01:26:01] Production.INFO: ==9708== Lock acquired, processing the job...
[2025-02-09 01:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:26:01] Production.INFO: neon service started
[2025-02-09 01:26:01] Production.INFO: neon service started
[2025-02-09 01:26:01] Production.INFO: ==9708== Releasing lock...
[2025-02-09 01:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:26:02] Production.INFO: ==9712== Lock acquired, processing the job...
[2025-02-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:26:02] Production.INFO: ==9712== Releasing lock...
[2025-02-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:26:02] Production.INFO: ==9710== Lock acquired, processing the job...
[2025-02-08 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:26:02] Production.INFO: ==9710== Releasing lock...
[2025-02-08 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:26:03] Production.INFO: ==9723== Lock acquired, processing the job...
[2025-02-08 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:26:03] Production.INFO: ==9718== Lock acquired, processing the job...
[2025-02-08 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:26:03] Production.INFO: ==9714== Lock acquired, processing the job...
[2025-02-08 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:26:03] Production.INFO: ==9716== Lock acquired, processing the job...
[2025-02-08 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:26:03] Production.INFO: ==9720== Lock acquired, processing the job...
[2025-02-08 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:26:03] Production.INFO: ==9725== Lock acquired, processing the job...
[2025-02-08 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:26:04] Production.INFO: Account Balance Start.
[2025-02-08 20:26:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:26:04] Production.INFO: 117
[2025-02-08 20:26:04] Production.ERROR: done
[2025-02-08 20:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:26:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:26:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:26:04] Production.INFO: count ==21
[2025-02-08 20:26:04] Production.INFO: Total Charge 0
[2025-02-08 20:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:26:04] Production.INFO: CreateAllLog End
[2025-02-08 20:26:04] Production.INFO: count ==21
[2025-02-08 20:26:04] Production.ERROR: done
[2025-02-08 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432148') start
[2025-02-08 20:26:04] Production.INFO: ==9716== Releasing lock...
[2025-02-08 20:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432148') end
[2025-02-08 20:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:26:04] Production.INFO: 1
[2025-02-08 20:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:26:04] Production.INFO: ==9725== Releasing lock...
[2025-02-08 20:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:26:04] Production.INFO: Account Balance End.
[2025-02-08 20:26:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:26:04] Production.INFO: ==9720== Releasing lock...
[2025-02-08 20:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:26:05
[end_date_ymd] => 2025-02-08 20:26:05
[RateCDR] => 1
)
[2025-02-08 20:26: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` >= '2025-02-08 17:26:05' and `end` < '2025-02-08 20:26: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 ,'')
[2025-02-08 20:26:12] Production.ERROR: CronJobId end10
[2025-02-08 20:26:12] Production.INFO: ==9718== Releasing lock...
[2025-02-08 20:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:26:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:26:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:26:15] Production.INFO: call_cost start
[2025-02-08 20:26:15] Production.INFO: call_cost end
[2025-02-08 20:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:26:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:26:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:26:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:26:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:26:16] Production.INFO: ==9714== Releasing lock...
[2025-02-08 20:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:26:19] Production.INFO: count ==1658
[2025-02-08 20:26:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:26:05 - End Time 2025-02-08 20:26:05
[2025-02-08 20:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432149', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432149', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432149', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432149', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:26:19] Production.INFO: ProcessCDR(1,14432149,1,1,2)
[2025-02-08 20:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432149', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432149', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:26:24] Production.INFO: ==9723== Releasing lock...
[2025-02-08 20:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:26:24] Production.INFO: 40 MB #Memory Used#
[2025-02-09 01:27:02] Production.INFO: ==9778== Lock acquired, processing the job...
[2025-02-09 01:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:27:02] Production.INFO: neon service started
[2025-02-09 01:27:02] Production.INFO: neon service started
[2025-02-09 01:27:02] Production.INFO: ==9778== Releasing lock...
[2025-02-09 01:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:27:02] Production.INFO: ==9780== Lock acquired, processing the job...
[2025-02-08 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:27:02] Production.INFO: ==9780== Releasing lock...
[2025-02-08 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:27:02] Production.INFO: ==9782== Lock acquired, processing the job...
[2025-02-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:27:03] Production.INFO: ==9782== Releasing lock...
[2025-02-09 01:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:27:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:27:03] Production.INFO: ==9785== Lock acquired, processing the job...
[2025-02-08 20:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:27:03] Production.INFO: ==9793== Lock acquired, processing the job...
[2025-02-08 20:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:27:03] Production.INFO: ==9787== Lock acquired, processing the job...
[2025-02-08 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:27:04] Production.INFO: ==9795== Lock acquired, processing the job...
[2025-02-08 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:27:04] Production.INFO: ==9789== Lock acquired, processing the job...
[2025-02-08 20:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:27:04] Production.INFO: ==9787== Releasing lock...
[2025-02-08 20:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:27:04] Production.INFO: ==9791== Lock acquired, processing the job...
[2025-02-08 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:27:04] Production.INFO: count ==21
[2025-02-08 20:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:27:04] Production.INFO: count ==21
[2025-02-08 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432152') start
[2025-02-08 20:27:04] Production.ERROR: done
[2025-02-08 20:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:27:04] Production.INFO: Account Balance Start.
[2025-02-08 20:27:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:27:04] Production.INFO: 117
[2025-02-08 20:27:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:27:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:27:04] Production.INFO: Total Charge 0
[2025-02-08 20:27:04] Production.INFO: CreateAllLog End
[2025-02-08 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432152') end
[2025-02-08 20:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:27:04] Production.INFO: 1
[2025-02-08 20:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:27:04] Production.ERROR: done
[2025-02-08 20:27:04] Production.INFO: ==9795== Releasing lock...
[2025-02-08 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:27:04] Production.INFO: Account Balance End.
[2025-02-08 20:27:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:27:04] Production.INFO: ==9791== Releasing lock...
[2025-02-08 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:27:05
[end_date_ymd] => 2025-02-08 20:27:05
[RateCDR] => 1
)
[2025-02-08 20:27: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` >= '2025-02-08 17:27:05' and `end` < '2025-02-08 20:27: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 ,'')
[2025-02-08 20:27:13] Production.ERROR: CronJobId end10
[2025-02-08 20:27:13] Production.INFO: ==9789== Releasing lock...
[2025-02-08 20:27:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:27:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:27:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:27:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:27:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:27:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:27:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:27:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:27:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:27:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:27:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:27:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:27:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:27:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:27:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:27:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:27:15] Production.INFO: call_cost start
[2025-02-08 20:27:15] Production.INFO: call_cost end
[2025-02-08 20:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:27:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:27:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:27:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:27:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:27:16] Production.INFO: ==9785== Releasing lock...
[2025-02-08 20:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:27:18] Production.INFO: count ==1660
[2025-02-08 20:27:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:27:05 - End Time 2025-02-08 20:27:05
[2025-02-08 20:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432154', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432154', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432154', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432154', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:27:18] Production.INFO: ProcessCDR(1,14432154,1,1,2)
[2025-02-08 20:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432154', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432154', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:27:22] Production.INFO: ==9793== Releasing lock...
[2025-02-08 20:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:27:22] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 01:28:01] Production.INFO: ==9857== Lock acquired, processing the job...
[2025-02-09 01:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:28:01] Production.INFO: neon service started
[2025-02-09 01:28:01] Production.INFO: neon service started
[2025-02-09 01:28:01] Production.INFO: ==9857== Releasing lock...
[2025-02-09 01:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:28:01] Production.INFO: ==9862== Lock acquired, processing the job...
[2025-02-09 01:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:28:02] Production.INFO: ==9862== Releasing lock...
[2025-02-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:28:02] Production.INFO: ==9860== Lock acquired, processing the job...
[2025-02-08 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:28:02] Production.INFO: ==9860== Releasing lock...
[2025-02-08 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:28:03] Production.INFO: ==9870== Lock acquired, processing the job...
[2025-02-08 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:28:03] Production.INFO: ==9872== Lock acquired, processing the job...
[2025-02-08 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:28:03] Production.INFO: Account Balance Start.
[2025-02-08 20:28:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:28:03] Production.INFO: 117
[2025-02-08 20:28:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:28:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:28:03] Production.INFO: Total Charge 0
[2025-02-08 20:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:28:03] Production.INFO: CreateAllLog End
[2025-02-08 20:28:03] Production.INFO: ==9864== Lock acquired, processing the job...
[2025-02-08 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:28:03] Production.INFO: ==9868== Lock acquired, processing the job...
[2025-02-08 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:28:03] Production.INFO: ==9866== Lock acquired, processing the job...
[2025-02-08 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:28:03] Production.INFO: ==9874== Lock acquired, processing the job...
[2025-02-08 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:28:04] Production.ERROR: done
[2025-02-08 20:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:28:04] Production.INFO: count ==21
[2025-02-08 20:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:28:04] Production.INFO: count ==21
[2025-02-08 20:28:04] Production.INFO: Account Balance End.
[2025-02-08 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432158') start
[2025-02-08 20:28:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:28:04] Production.INFO: ==9870== Releasing lock...
[2025-02-08 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:28:04] Production.INFO: ==9866== Releasing lock...
[2025-02-08 20:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:28:04] Production.ERROR: done
[2025-02-08 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432158') end
[2025-02-08 20:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:28:04] Production.INFO: 1
[2025-02-08 20:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:28:04] Production.INFO: ==9874== Releasing lock...
[2025-02-08 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:28:05
[end_date_ymd] => 2025-02-08 20:28:05
[RateCDR] => 1
)
[2025-02-08 20:28: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` >= '2025-02-08 17:28:05' and `end` < '2025-02-08 20:28: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 ,'')
[2025-02-08 20:28:12] Production.ERROR: CronJobId end10
[2025-02-08 20:28:12] Production.INFO: ==9868== Releasing lock...
[2025-02-08 20:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:28:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:28:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:28:14] Production.INFO: call_cost start
[2025-02-08 20:28:14] Production.INFO: call_cost end
[2025-02-08 20:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:28:15] Production.INFO: ==9864== Releasing lock...
[2025-02-08 20:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:28:18] Production.INFO: count ==1663
[2025-02-08 20:28:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:28:05 - End Time 2025-02-08 20:28:05
[2025-02-08 20:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432159', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432159', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432159', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432159', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:28:18] Production.INFO: ProcessCDR(1,14432159,1,1,2)
[2025-02-08 20:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432159', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432159', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:28:22] Production.INFO: ==9872== Releasing lock...
[2025-02-08 20:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:28:22] Production.INFO: 40 MB #Memory Used#
[2025-02-09 01:29:02] Production.INFO: ==9968== Lock acquired, processing the job...
[2025-02-09 01:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:29:02] Production.INFO: neon service started
[2025-02-09 01:29:02] Production.INFO: neon service started
[2025-02-09 01:29:02] Production.INFO: ==9968== Releasing lock...
[2025-02-09 01:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:29:02] Production.INFO: ==9972== Lock acquired, processing the job...
[2025-02-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:29:02] Production.INFO: ==9972== Releasing lock...
[2025-02-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:29:02] Production.INFO: ==9970== Lock acquired, processing the job...
[2025-02-08 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:29:03] Production.INFO: ==9970== Releasing lock...
[2025-02-08 20:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:29:04] Production.INFO: ==9977== Lock acquired, processing the job...
[2025-02-08 20:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:29:04] Production.INFO: ==9975== Lock acquired, processing the job...
[2025-02-08 20:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:29:04] Production.INFO: ==9983== Lock acquired, processing the job...
[2025-02-08 20:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:29:04] Production.INFO: ==9979== Lock acquired, processing the job...
[2025-02-08 20:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:29:04] Production.INFO: ==9981== Lock acquired, processing the job...
[2025-02-08 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:29:04] Production.INFO: ==9985== Lock acquired, processing the job...
[2025-02-08 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:29:04] Production.INFO: ==9977== Releasing lock...
[2025-02-08 20:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:29:04] Production.ERROR: done
[2025-02-08 20:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:29:04] Production.INFO: Account Balance Start.
[2025-02-08 20:29:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:29:04] Production.INFO: 117
[2025-02-08 20:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:29:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:29:04] Production.INFO: count ==21
[2025-02-08 20:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:29:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:29:04] Production.INFO: count ==21
[2025-02-08 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432163') start
[2025-02-08 20:29:04] Production.INFO: Total Charge 0
[2025-02-08 20:29:04] Production.INFO: CreateAllLog End
[2025-02-08 20:29:04] Production.ERROR: done
[2025-02-08 20:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432163') end
[2025-02-08 20:29:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:29:05] Production.INFO: 1
[2025-02-08 20:29:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:29:05] Production.INFO: ==9985== Releasing lock...
[2025-02-08 20:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:29:05] Production.INFO: Account Balance End.
[2025-02-08 20:29:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:29:05] Production.INFO: ==9981== Releasing lock...
[2025-02-08 20:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:29:06
[end_date_ymd] => 2025-02-08 20:29:06
[RateCDR] => 1
)
[2025-02-08 20:29: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-02-08 17:29:06' and `end` < '2025-02-08 20:29: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-02-08 20:29:13] Production.ERROR: CronJobId end10
[2025-02-08 20:29:13] Production.INFO: ==9979== Releasing lock...
[2025-02-08 20:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:29:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:29:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:29:15] Production.INFO: call_cost start
[2025-02-08 20:29:15] Production.INFO: call_cost end
[2025-02-08 20:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:29:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:29:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:29:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:29:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:29:16] Production.INFO: ==9975== Releasing lock...
[2025-02-08 20:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:29:19] Production.INFO: count ==1647
[2025-02-08 20:29:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:29:06 - End Time 2025-02-08 20:29:06
[2025-02-08 20:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432164', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432164', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432164', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432164', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:29:19] Production.INFO: ProcessCDR(1,14432164,1,1,2)
[2025-02-08 20:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432164', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432164', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:29:23] Production.INFO: ==9983== Releasing lock...
[2025-02-08 20:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:29:23] Production.INFO: 40 MB #Memory Used#
[2025-02-09 01:30:01] Production.INFO: ==10042== Lock acquired, processing the job...
[2025-02-09 01:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:30:01] Production.INFO: neon service started
[2025-02-09 01:30:01] Production.INFO: neon service started
[2025-02-09 01:30:01] Production.INFO: ==10042== Releasing lock...
[2025-02-09 01:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:30:01] Production.INFO: ==10046== Lock acquired, processing the job...
[2025-02-09 01:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:30:02] Production.INFO: ==10046== Releasing lock...
[2025-02-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:30:02] Production.INFO: ==10044== Lock acquired, processing the job...
[2025-02-08 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:30:02] Production.INFO: ==10044== Releasing lock...
[2025-02-08 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:30:03] Production.INFO: ==10049== Lock acquired, processing the job...
[2025-02-08 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 20:30:03] Production.INFO: ==10055== Lock acquired, processing the job...
[2025-02-08 20:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:30:03] Production.INFO: ==10051== Lock acquired, processing the job...
[2025-02-08 20:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 20:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:30:03] Production.ERROR: CronJob PID - 10055
[2025-02-08 20:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-08 20:30:03] Production.ERROR: CronJob ID - 10
[2025-02-08 20:30:03] Production.ERROR: CronJob Last Run Time 2025-02-08 20:30:00
[2025-02-08 20:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 20:30:03] Production.INFO: ==10049== Releasing lock...
[2025-02-08 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 20:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 20:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:30:03] Production.INFO: ==10059== Lock acquired, processing the job...
[2025-02-08 20:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:30:03] Production.INFO: ==10063== Lock acquired, processing the job...
[2025-02-08 20:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:30:03] Production.INFO: ==10053== Lock acquired, processing the job...
[2025-02-08 20:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:30:04] Production.INFO: ==10061== Lock acquired, processing the job...
[2025-02-08 20:30:04] Production.INFO: ==10057== Lock acquired, processing the job...
[2025-02-08 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:30:04] Production.INFO: Account Balance Start.
[2025-02-08 20:30:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:30:04] Production.INFO: 117
[2025-02-08 20:30:04] Production.INFO: count ==21
[2025-02-08 20:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:30:04] Production.INFO: count ==21
[2025-02-08 20:30:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432166') start
[2025-02-08 20:30:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:30:04] Production.INFO: Total Charge 0
[2025-02-08 20:30:04] Production.INFO: CreateAllLog End
[2025-02-08 20:30:04] Production.ERROR: done
[2025-02-08 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432166') end
[2025-02-08 20:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:30:04] Production.INFO: 1
[2025-02-08 20:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:30:04] Production.ERROR: done
[2025-02-08 20:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 20:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432169', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 20:30:04] Production.INFO: ==10053== Releasing lock...
[2025-02-08 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:30:04] Production.INFO: ==10063== Releasing lock...
[2025-02-08 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:30:04] Production.INFO: Account Balance End.
[2025-02-08 20:30:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:30:05] Production.INFO: ==10057== Releasing lock...
[2025-02-08 20:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:30:05] Production.ERROR: done
[2025-02-08 20:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:30:06
[end_date_ymd] => 2025-02-08 20:30:06
[RateCDR] => 1
)
[2025-02-08 20:30: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-02-08 17:30:06' and `end` < '2025-02-08 20:30: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-02-08 20:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432169', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 20:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 20:30:09] Production.INFO: ProcessCDR(1,14432169,1,1,2)
[2025-02-08 20:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432169,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432169,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:30:09] Production.INFO: ==10061== Releasing lock...
[2025-02-08 20:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 20:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 20:30:14] Production.ERROR: CronJobId end10
[2025-02-08 20:30:14] Production.INFO: ==10055== Releasing lock...
[2025-02-08 20:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:30:17] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:30:17] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:30:18] Production.INFO: call_cost start
[2025-02-08 20:30:18] Production.INFO: call_cost end
[2025-02-08 20:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:30:19] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:30:19] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:30:19] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:30:19] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:30:19] Production.INFO: ==10051== Releasing lock...
[2025-02-08 20:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:30:19] Production.INFO: count ==1650
[2025-02-08 20:30:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:30:06 - End Time 2025-02-08 20:30:06
[2025-02-08 20:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432170', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432170', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432170', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432170', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:30:19] Production.INFO: ProcessCDR(1,14432170,1,1,2)
[2025-02-08 20:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432170', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432170', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:30:24] Production.INFO: ==10059== Releasing lock...
[2025-02-08 20:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:30:24] Production.INFO: 40 MB #Memory Used#
[2025-02-09 01:31:01] Production.INFO: ==10119== Lock acquired, processing the job...
[2025-02-09 01:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:31:02] Production.INFO: neon service started
[2025-02-09 01:31:02] Production.INFO: neon service started
[2025-02-09 01:31:02] Production.INFO: ==10119== Releasing lock...
[2025-02-09 01:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:31:02] Production.INFO: ==10123== Lock acquired, processing the job...
[2025-02-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:31:02] Production.INFO: ==10123== Releasing lock...
[2025-02-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:31:02] Production.INFO: ==10121== Lock acquired, processing the job...
[2025-02-08 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:31:02] Production.INFO: ==10121== Releasing lock...
[2025-02-08 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:31:03] Production.INFO: ==10130== Lock acquired, processing the job...
[2025-02-08 20:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:31:03] Production.INFO: ==10136== Lock acquired, processing the job...
[2025-02-08 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:31:04] Production.INFO: ==10126== Lock acquired, processing the job...
[2025-02-08 20:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:31:04] Production.INFO: count ==21
[2025-02-08 20:31:04] Production.INFO: ==10128== Lock acquired, processing the job...
[2025-02-08 20:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:31:04] Production.INFO: ==10132== Lock acquired, processing the job...
[2025-02-08 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:31:04] Production.INFO: ==10134== Lock acquired, processing the job...
[2025-02-08 20:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:31:04] Production.INFO: count ==21
[2025-02-08 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432171') start
[2025-02-08 20:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:31:04] Production.INFO: Account Balance Start.
[2025-02-08 20:31:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:31:04] Production.INFO: 117
[2025-02-08 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432171') end
[2025-02-08 20:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:31:04] Production.INFO: 1
[2025-02-08 20:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:31:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:31:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:31:04] Production.INFO: ==10136== Releasing lock...
[2025-02-08 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:31:04] Production.INFO: Total Charge 0
[2025-02-08 20:31:04] Production.INFO: CreateAllLog End
[2025-02-08 20:31:04] Production.INFO: ==10128== Releasing lock...
[2025-02-08 20:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:31:04] Production.ERROR: done
[2025-02-08 20:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:31:04] Production.INFO: Account Balance End.
[2025-02-08 20:31:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:31:04] Production.INFO: ==10132== Releasing lock...
[2025-02-08 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:31:05] Production.ERROR: done
[2025-02-08 20:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:31:06
[end_date_ymd] => 2025-02-08 20:31:06
[RateCDR] => 1
)
[2025-02-08 20:31: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-02-08 17:31:06' and `end` < '2025-02-08 20:31: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-02-08 20:31:13] Production.ERROR: CronJobId end10
[2025-02-08 20:31:13] Production.INFO: ==10130== Releasing lock...
[2025-02-08 20:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:31:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:31:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:31:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:31:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:31:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:31:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:31:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:31:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:31:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:31:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:31:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:31:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:31:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:31:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:31:16] Production.INFO: call_cost start
[2025-02-08 20:31:16] Production.INFO: call_cost end
[2025-02-08 20:31:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:31:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:31:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:31:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:31:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:31:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:31:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:31:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:31:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:31:17] Production.INFO: ==10126== Releasing lock...
[2025-02-08 20:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:31:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:31:19] Production.INFO: count ==1623
[2025-02-08 20:31:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:31:06 - End Time 2025-02-08 20:31:06
[2025-02-08 20:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432175', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432175', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432175', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432175', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:31:20] Production.INFO: ProcessCDR(1,14432175,1,1,2)
[2025-02-08 20:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432175', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432175', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:31:25] Production.INFO: ==10134== Releasing lock...
[2025-02-08 20:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:31:25] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 01:32:01] Production.INFO: ==10190== Lock acquired, processing the job...
[2025-02-09 01:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:32:01] Production.INFO: neon service started
[2025-02-09 01:32:01] Production.INFO: neon service started
[2025-02-09 01:32:01] Production.INFO: ==10190== Releasing lock...
[2025-02-09 01:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:32:02] Production.INFO: ==10192== Lock acquired, processing the job...
[2025-02-08 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:32:02] Production.INFO: ==10194== Lock acquired, processing the job...
[2025-02-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:32:02] Production.INFO: ==10194== Releasing lock...
[2025-02-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:32:02] Production.INFO: ==10192== Releasing lock...
[2025-02-08 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:32:03] Production.INFO: ==10203== Lock acquired, processing the job...
[2025-02-08 20:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:32:03] Production.INFO: ==10205== Lock acquired, processing the job...
[2025-02-08 20:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:32:03] Production.INFO: Account Balance Start.
[2025-02-08 20:32:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:32:03] Production.INFO: ==10197== Lock acquired, processing the job...
[2025-02-08 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:32:03] Production.INFO: 117
[2025-02-08 20:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:32:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:32:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:32:03] Production.INFO: Total Charge 0
[2025-02-08 20:32:03] Production.INFO: CreateAllLog End
[2025-02-08 20:32:03] Production.INFO: ==10199== Lock acquired, processing the job...
[2025-02-08 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:32:03] Production.INFO: ==10201== Lock acquired, processing the job...
[2025-02-08 20:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:32:04] Production.INFO: ==10207== Lock acquired, processing the job...
[2025-02-08 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:32:04] Production.INFO: Account Balance End.
[2025-02-08 20:32:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:32:04] Production.INFO: ==10203== Releasing lock...
[2025-02-08 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:32:04] Production.ERROR: done
[2025-02-08 20:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:32:04] Production.INFO: count ==21
[2025-02-08 20:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:32:04] Production.INFO: count ==21
[2025-02-08 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432178') start
[2025-02-08 20:32:04] Production.ERROR: done
[2025-02-08 20:32:04] Production.INFO: ==10199== Releasing lock...
[2025-02-08 20:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432178') end
[2025-02-08 20:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:32:04] Production.INFO: 1
[2025-02-08 20:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:32:04] Production.INFO: ==10207== Releasing lock...
[2025-02-08 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:32:05
[end_date_ymd] => 2025-02-08 20:32:05
[RateCDR] => 1
)
[2025-02-08 20:32: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` >= '2025-02-08 17:32:05' and `end` < '2025-02-08 20:32: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 ,'')
[2025-02-08 20:32:12] Production.ERROR: CronJobId end10
[2025-02-08 20:32:12] Production.INFO: ==10201== Releasing lock...
[2025-02-08 20:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:32:15] Production.INFO: call_cost start
[2025-02-08 20:32:15] Production.INFO: call_cost end
[2025-02-08 20:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:32:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:32:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:32:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:32:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:32:16] Production.INFO: ==10197== Releasing lock...
[2025-02-08 20:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:32:18] Production.INFO: count ==1622
[2025-02-08 20:32:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:32:05 - End Time 2025-02-08 20:32:05
[2025-02-08 20:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432180', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432180', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432180', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432180', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:32:18] Production.INFO: ProcessCDR(1,14432180,1,1,2)
[2025-02-08 20:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432180', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432180', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:32:22] Production.INFO: ==10205== Releasing lock...
[2025-02-08 20:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:32:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 01:33:01] Production.INFO: ==10261== Lock acquired, processing the job...
[2025-02-09 01:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:33:01] Production.INFO: neon service started
[2025-02-09 01:33:01] Production.INFO: neon service started
[2025-02-09 01:33:01] Production.INFO: ==10261== Releasing lock...
[2025-02-09 01:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:33:02] Production.INFO: ==10263== Lock acquired, processing the job...
[2025-02-08 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:33:02] Production.INFO: ==10263== Releasing lock...
[2025-02-08 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:33:02] Production.INFO: ==10265== Lock acquired, processing the job...
[2025-02-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:33:03] Production.INFO: ==10265== Releasing lock...
[2025-02-09 01:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:33:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:33:03] Production.INFO: ==10272== Lock acquired, processing the job...
[2025-02-08 20:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:33:03] Production.INFO: ==10278== Lock acquired, processing the job...
[2025-02-08 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:33:03] Production.INFO: ==10268== Lock acquired, processing the job...
[2025-02-08 20:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:33:04] Production.INFO: ==10270== Lock acquired, processing the job...
[2025-02-08 20:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:33:04] Production.INFO: ==10274== Lock acquired, processing the job...
[2025-02-08 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:33:04] Production.INFO: ==10276== Lock acquired, processing the job...
[2025-02-08 20:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:33:04] Production.INFO: count ==21
[2025-02-08 20:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:33:04] Production.INFO: count ==21
[2025-02-08 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432181') start
[2025-02-08 20:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:33:04] Production.INFO: Account Balance Start.
[2025-02-08 20:33:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:33:04] Production.INFO: 117
[2025-02-08 20:33:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432181') end
[2025-02-08 20:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:33:04] Production.INFO: 1
[2025-02-08 20:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:33:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:33:04] Production.INFO: ==10278== Releasing lock...
[2025-02-08 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:33:04] Production.INFO: Total Charge 0
[2025-02-08 20:33:04] Production.INFO: CreateAllLog End
[2025-02-08 20:33:04] Production.INFO: ==10270== Releasing lock...
[2025-02-08 20:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:33:04] Production.ERROR: done
[2025-02-08 20:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:33:04] Production.INFO: Account Balance End.
[2025-02-08 20:33:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:33:04] Production.INFO: ==10274== Releasing lock...
[2025-02-08 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:33:05] Production.ERROR: done
[2025-02-08 20:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:33:06
[end_date_ymd] => 2025-02-08 20:33:06
[RateCDR] => 1
)
[2025-02-08 20:33: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-02-08 17:33:06' and `end` < '2025-02-08 20:33: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-02-08 20:33:12] Production.ERROR: CronJobId end10
[2025-02-08 20:33:12] Production.INFO: ==10272== Releasing lock...
[2025-02-08 20:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:33:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:33:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:33:14] Production.INFO: call_cost start
[2025-02-08 20:33:14] Production.INFO: call_cost end
[2025-02-08 20:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:33:15] Production.INFO: ==10268== Releasing lock...
[2025-02-08 20:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:33:20] Production.INFO: count ==1622
[2025-02-08 20:33:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:33:06 - End Time 2025-02-08 20:33:06
[2025-02-08 20:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432185', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432185', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432185', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432185', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:33:20] Production.INFO: ProcessCDR(1,14432185,1,1,2)
[2025-02-08 20:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432185', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432185', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:33:23] Production.INFO: ==10276== Releasing lock...
[2025-02-08 20:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:33:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 01:34:01] Production.INFO: ==10334== Lock acquired, processing the job...
[2025-02-09 01:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:34:01] Production.INFO: neon service started
[2025-02-09 01:34:01] Production.INFO: neon service started
[2025-02-09 01:34:01] Production.INFO: ==10334== Releasing lock...
[2025-02-09 01:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:34:02] Production.INFO: ==10336== Lock acquired, processing the job...
[2025-02-08 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:34:02] Production.INFO: ==10338== Lock acquired, processing the job...
[2025-02-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:34:02] Production.INFO: ==10338== Releasing lock...
[2025-02-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:34:02] Production.INFO: ==10336== Releasing lock...
[2025-02-08 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:34:03] Production.INFO: ==10343== Lock acquired, processing the job...
[2025-02-08 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:34:03] Production.INFO: ==10347== Lock acquired, processing the job...
[2025-02-08 20:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:34:03] Production.INFO: ==10349== Lock acquired, processing the job...
[2025-02-08 20:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:34:03] Production.INFO: Account Balance Start.
[2025-02-08 20:34:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:34:03] Production.INFO: 117
[2025-02-08 20:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:34:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:34:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:34:03] Production.INFO: Total Charge 0
[2025-02-08 20:34:03] Production.INFO: ==10341== Lock acquired, processing the job...
[2025-02-08 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:34:03] Production.INFO: CreateAllLog End
[2025-02-08 20:34:03] Production.INFO: ==10345== Lock acquired, processing the job...
[2025-02-08 20:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:34:03] Production.INFO: ==10351== Lock acquired, processing the job...
[2025-02-08 20:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:34:03] Production.INFO: ==10343== Releasing lock...
[2025-02-08 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:34:03] Production.ERROR: done
[2025-02-08 20:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:34:03] Production.INFO: Account Balance End.
[2025-02-08 20:34:03] Production.INFO: count ==21
[2025-02-08 20:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:34:03] Production.INFO: count ==21
[2025-02-08 20:34:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:34:04] Production.INFO: ==10347== Releasing lock...
[2025-02-08 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432189') start
[2025-02-08 20:34:04] Production.ERROR: done
[2025-02-08 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432189') end
[2025-02-08 20:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:34:04] Production.INFO: 1
[2025-02-08 20:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:34:04] Production.INFO: ==10351== Releasing lock...
[2025-02-08 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:34:05
[end_date_ymd] => 2025-02-08 20:34:05
[RateCDR] => 1
)
[2025-02-08 20:34: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` >= '2025-02-08 17:34:05' and `end` < '2025-02-08 20:34: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 ,'')
[2025-02-08 20:34:11] Production.ERROR: CronJobId end10
[2025-02-08 20:34:11] Production.INFO: ==10345== Releasing lock...
[2025-02-08 20:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:34:14] Production.INFO: call_cost start
[2025-02-08 20:34:14] Production.INFO: call_cost end
[2025-02-08 20:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:34:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:34:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:34:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:34:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:34:15] Production.INFO: ==10341== Releasing lock...
[2025-02-08 20:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:34:18] Production.INFO: count ==1619
[2025-02-08 20:34:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:34:05 - End Time 2025-02-08 20:34:05
[2025-02-08 20:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432190', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432190', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432190', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432190', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:34:18] Production.INFO: ProcessCDR(1,14432190,1,1,2)
[2025-02-08 20:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432190', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432190', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:34:21] Production.INFO: ==10349== Releasing lock...
[2025-02-08 20:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:34:21] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 01:35:01] Production.INFO: ==10407== Lock acquired, processing the job...
[2025-02-09 01:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:35:01] Production.INFO: neon service started
[2025-02-09 01:35:01] Production.INFO: neon service started
[2025-02-09 01:35:01] Production.INFO: ==10407== Releasing lock...
[2025-02-09 01:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:35:02] Production.INFO: ==10409== Lock acquired, processing the job...
[2025-02-08 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:35:02] Production.INFO: ==10411== Lock acquired, processing the job...
[2025-02-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:35:02] Production.INFO: ==10411== Releasing lock...
[2025-02-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:35:02] Production.INFO: ==10409== Releasing lock...
[2025-02-08 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:35:03] Production.INFO: ==10415== Lock acquired, processing the job...
[2025-02-08 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:35:03] Production.INFO: ==10418== Lock acquired, processing the job...
[2025-02-08 20:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:35:03] Production.INFO: ==10413== Lock acquired, processing the job...
[2025-02-08 20:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:35:03] Production.INFO: ==10420== Lock acquired, processing the job...
[2025-02-08 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:35:04] Production.INFO: ==10424== Lock acquired, processing the job...
[2025-02-08 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:35:04] Production.INFO: Account Balance Start.
[2025-02-08 20:35:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:35:04] Production.INFO: 117
[2025-02-08 20:35:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:35:04] Production.INFO: ==10415== Releasing lock...
[2025-02-08 20:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:35:04] Production.INFO: ==10422== Lock acquired, processing the job...
[2025-02-08 20:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:35:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:35:04] Production.INFO: count ==21
[2025-02-08 20:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:35:04] Production.INFO: count ==21
[2025-02-08 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432194') start
[2025-02-08 20:35:04] Production.INFO: Total Charge 0
[2025-02-08 20:35:04] Production.INFO: CreateAllLog End
[2025-02-08 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432194') end
[2025-02-08 20:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:35:04] Production.INFO: 1
[2025-02-08 20:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:35:04] Production.INFO: ==10424== Releasing lock...
[2025-02-08 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:35:04] Production.ERROR: done
[2025-02-08 20:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:35:04] Production.INFO: Account Balance End.
[2025-02-08 20:35:04] Production.ERROR: done
[2025-02-08 20:35:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:35:05] Production.INFO: ==10420== Releasing lock...
[2025-02-08 20:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:35:06
[end_date_ymd] => 2025-02-08 20:35:06
[RateCDR] => 1
)
[2025-02-08 20:35: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-02-08 17:35:06' and `end` < '2025-02-08 20:35: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-02-08 20:35:13] Production.ERROR: CronJobId end10
[2025-02-08 20:35:13] Production.INFO: ==10418== Releasing lock...
[2025-02-08 20:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:35:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:35:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:35:16] Production.INFO: call_cost start
[2025-02-08 20:35:16] Production.INFO: call_cost end
[2025-02-08 20:35:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:35:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:35:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:35:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:35:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:35:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:35:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:35:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:35:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:35:17] Production.INFO: ==10413== Releasing lock...
[2025-02-08 20:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:35:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:35:19] Production.INFO: count ==1623
[2025-02-08 20:35:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:35:06 - End Time 2025-02-08 20:35:06
[2025-02-08 20:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432195', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432195', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432195', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432195', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:35:19] Production.INFO: ProcessCDR(1,14432195,1,1,2)
[2025-02-08 20:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432195', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432195', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:35:23] Production.INFO: ==10422== Releasing lock...
[2025-02-08 20:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:35:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 01:36:02] Production.INFO: ==10477== Lock acquired, processing the job...
[2025-02-09 01:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:36:02] Production.INFO: neon service started
[2025-02-09 01:36:02] Production.INFO: neon service started
[2025-02-09 01:36:02] Production.INFO: ==10477== Releasing lock...
[2025-02-09 01:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:36:02] Production.INFO: ==10482== Lock acquired, processing the job...
[2025-02-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:36:02] Production.INFO: ==10482== Releasing lock...
[2025-02-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:36:02] Production.INFO: ==10480== Lock acquired, processing the job...
[2025-02-08 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:36:03] Production.INFO: ==10480== Releasing lock...
[2025-02-08 20:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:36:04] Production.INFO: ==10486== Lock acquired, processing the job...
[2025-02-08 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:36:04] Production.INFO: ==10490== Lock acquired, processing the job...
[2025-02-08 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:36:04] Production.INFO: ==10492== Lock acquired, processing the job...
[2025-02-08 20:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:36:04] Production.INFO: Account Balance Start.
[2025-02-08 20:36:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:36:04] Production.INFO: 117
[2025-02-08 20:36:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:36:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:36:04] Production.INFO: Total Charge 0
[2025-02-08 20:36:04] Production.INFO: CreateAllLog End
[2025-02-08 20:36:04] Production.INFO: ==10484== Lock acquired, processing the job...
[2025-02-08 20:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:36:04] Production.INFO: ==10488== Lock acquired, processing the job...
[2025-02-08 20:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:36:04] Production.INFO: ==10486== Releasing lock...
[2025-02-08 20:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:36:04] Production.INFO: ==10494== Lock acquired, processing the job...
[2025-02-08 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:36:04] Production.INFO: Account Balance End.
[2025-02-08 20:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:36:04] Production.ERROR: done
[2025-02-08 20:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:36:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:36:04] Production.INFO: ==10490== Releasing lock...
[2025-02-08 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:36:04] Production.INFO: count ==21
[2025-02-08 20:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:36:04] Production.INFO: count ==21
[2025-02-08 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432199') start
[2025-02-08 20:36:04] Production.ERROR: done
[2025-02-08 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432199') end
[2025-02-08 20:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:36:04] Production.INFO: 1
[2025-02-08 20:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:36:04] Production.INFO: ==10494== Releasing lock...
[2025-02-08 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:36:05
[end_date_ymd] => 2025-02-08 20:36:05
[RateCDR] => 1
)
[2025-02-08 20:36: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` >= '2025-02-08 17:36:05' and `end` < '2025-02-08 20:36: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 ,'')
[2025-02-08 20:36:13] Production.ERROR: CronJobId end10
[2025-02-08 20:36:13] Production.INFO: ==10488== Releasing lock...
[2025-02-08 20:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:36:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:36:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:36:15] Production.INFO: call_cost start
[2025-02-08 20:36:15] Production.INFO: call_cost end
[2025-02-08 20:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:36:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:36:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:36:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:36:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:36:16] Production.INFO: ==10484== Releasing lock...
[2025-02-08 20:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:36:20] Production.INFO: count ==1623
[2025-02-08 20:36:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:36:05 - End Time 2025-02-08 20:36:05
[2025-02-08 20:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432200', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432200', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432200', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432200', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:36:21] Production.INFO: ProcessCDR(1,14432200,1,1,2)
[2025-02-08 20:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432200', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432200', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:36:24] Production.INFO: ==10492== Releasing lock...
[2025-02-08 20:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:36:24] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 01:37:01] Production.INFO: ==10550== Lock acquired, processing the job...
[2025-02-09 01:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:37:01] Production.INFO: neon service started
[2025-02-09 01:37:01] Production.INFO: neon service started
[2025-02-09 01:37:01] Production.INFO: ==10550== Releasing lock...
[2025-02-09 01:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:37:02] Production.INFO: ==10552== Lock acquired, processing the job...
[2025-02-08 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:37:02] Production.INFO: ==10554== Lock acquired, processing the job...
[2025-02-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:37:02] Production.INFO: ==10554== Releasing lock...
[2025-02-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:37:02] Production.INFO: ==10552== Releasing lock...
[2025-02-08 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:37:03] Production.INFO: ==10565== Lock acquired, processing the job...
[2025-02-08 20:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:37:03] Production.INFO: ==10567== Lock acquired, processing the job...
[2025-02-08 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:37:04] Production.INFO: ==10557== Lock acquired, processing the job...
[2025-02-08 20:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:37:04] Production.INFO: ==10559== Lock acquired, processing the job...
[2025-02-08 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:37:04] Production.INFO: ==10561== Lock acquired, processing the job...
[2025-02-08 20:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:37:04] Production.INFO: ==10563== Lock acquired, processing the job...
[2025-02-08 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:37:04] Production.INFO: count ==21
[2025-02-08 20:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:37:04] Production.INFO: count ==21
[2025-02-08 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432201') start
[2025-02-08 20:37:04] Production.INFO: Account Balance Start.
[2025-02-08 20:37:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:37:04] Production.INFO: 117
[2025-02-08 20:37:04] Production.ERROR: done
[2025-02-08 20:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:37:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432201') end
[2025-02-08 20:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:37:04] Production.INFO: 1
[2025-02-08 20:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:37:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:37:04] Production.INFO: ==10567== Releasing lock...
[2025-02-08 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:37:04] Production.INFO: Total Charge 0
[2025-02-08 20:37:04] Production.INFO: CreateAllLog End
[2025-02-08 20:37:04] Production.ERROR: done
[2025-02-08 20:37:04] Production.INFO: ==10559== Releasing lock...
[2025-02-08 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:37:04] Production.INFO: Account Balance End.
[2025-02-08 20:37:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:37:04] Production.INFO: ==10563== Releasing lock...
[2025-02-08 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:37:05
[end_date_ymd] => 2025-02-08 20:37:05
[RateCDR] => 1
)
[2025-02-08 20:37: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` >= '2025-02-08 17:37:05' and `end` < '2025-02-08 20:37: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 ,'')
[2025-02-08 20:37:13] Production.ERROR: CronJobId end10
[2025-02-08 20:37:13] Production.INFO: ==10561== Releasing lock...
[2025-02-08 20:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:37:15] Production.INFO: call_cost start
[2025-02-08 20:37:15] Production.INFO: call_cost end
[2025-02-08 20:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:37:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:37:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:37:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:37:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:37:16] Production.INFO: ==10557== Releasing lock...
[2025-02-08 20:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:37:18] Production.INFO: count ==1622
[2025-02-08 20:37:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:37:05 - End Time 2025-02-08 20:37:05
[2025-02-08 20:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432205', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432205', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432205', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432205', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:37:18] Production.INFO: ProcessCDR(1,14432205,1,1,2)
[2025-02-08 20:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432205', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432205', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:37:22] Production.INFO: ==10565== Releasing lock...
[2025-02-08 20:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:37:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 01:38:02] Production.INFO: ==10624== Lock acquired, processing the job...
[2025-02-09 01:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:38:02] Production.INFO: neon service started
[2025-02-09 01:38:02] Production.INFO: neon service started
[2025-02-09 01:38:02] Production.INFO: ==10624== Releasing lock...
[2025-02-09 01:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:38:02] Production.INFO: ==10626== Lock acquired, processing the job...
[2025-02-08 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:38:03] Production.INFO: ==10626== Releasing lock...
[2025-02-08 20:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:38:03] Production.INFO: ==10628== Lock acquired, processing the job...
[2025-02-09 01:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:38:03] Production.INFO: ==10628== Releasing lock...
[2025-02-09 01:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:38:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:38:03] Production.INFO: ==10635== Lock acquired, processing the job...
[2025-02-08 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:38:04] Production.INFO: ==10641== Lock acquired, processing the job...
[2025-02-08 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:38:04] Production.INFO: ==10631== Lock acquired, processing the job...
[2025-02-08 20:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:38:04] Production.INFO: ==10633== Lock acquired, processing the job...
[2025-02-08 20:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:38:04] Production.INFO: ==10637== Lock acquired, processing the job...
[2025-02-08 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:38:04] Production.INFO: ==10639== Lock acquired, processing the job...
[2025-02-08 20:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:38:04] Production.INFO: count ==21
[2025-02-08 20:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:38:04] Production.INFO: count ==21
[2025-02-08 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432206') start
[2025-02-08 20:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:38:04] Production.INFO: Account Balance Start.
[2025-02-08 20:38:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:38:04] Production.INFO: 117
[2025-02-08 20:38:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:38:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432206') end
[2025-02-08 20:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:38:04] Production.INFO: 1
[2025-02-08 20:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:38:04] Production.INFO: Total Charge 0
[2025-02-08 20:38:04] Production.INFO: CreateAllLog End
[2025-02-08 20:38:04] Production.INFO: ==10641== Releasing lock...
[2025-02-08 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:38:04] Production.INFO: ==10633== Releasing lock...
[2025-02-08 20:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:38:04] Production.ERROR: done
[2025-02-08 20:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:38:04] Production.INFO: Account Balance End.
[2025-02-08 20:38:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:38:04] Production.INFO: ==10637== Releasing lock...
[2025-02-08 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:38:04] Production.ERROR: done
[2025-02-08 20:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:38:06
[end_date_ymd] => 2025-02-08 20:38:06
[RateCDR] => 1
)
[2025-02-08 20:38: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-02-08 17:38:06' and `end` < '2025-02-08 20:38: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-02-08 20:38:14] Production.ERROR: CronJobId end10
[2025-02-08 20:38:14] Production.INFO: ==10635== Releasing lock...
[2025-02-08 20:38:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:38:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:38:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:38:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:38:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:38:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:38:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:38:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:38:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:38:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:38:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:38:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:38:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:38:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:38:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:38:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:38:16] Production.INFO: call_cost start
[2025-02-08 20:38:16] Production.INFO: call_cost end
[2025-02-08 20:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:38:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:38:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:38:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:38:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:38:17] Production.INFO: ==10631== Releasing lock...
[2025-02-08 20:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:38:19] Production.INFO: count ==1622
[2025-02-08 20:38:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:38:06 - End Time 2025-02-08 20:38:06
[2025-02-08 20:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432210', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432210', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432210', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432210', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:38:19] Production.INFO: ProcessCDR(1,14432210,1,1,2)
[2025-02-08 20:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432210', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432210', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:38:22] Production.INFO: ==10639== Releasing lock...
[2025-02-08 20:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:38:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 01:39:01] Production.INFO: ==10694== Lock acquired, processing the job...
[2025-02-09 01:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:39:01] Production.INFO: neon service started
[2025-02-09 01:39:01] Production.INFO: neon service started
[2025-02-09 01:39:01] Production.INFO: ==10694== Releasing lock...
[2025-02-09 01:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:39:02] Production.INFO: ==10696== Lock acquired, processing the job...
[2025-02-08 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:39:02] Production.INFO: ==10698== Lock acquired, processing the job...
[2025-02-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:39:02] Production.INFO: ==10698== Releasing lock...
[2025-02-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:39:02] Production.INFO: ==10696== Releasing lock...
[2025-02-08 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:39:03] Production.INFO: ==10705== Lock acquired, processing the job...
[2025-02-08 20:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:39:03] Production.INFO: ==10709== Lock acquired, processing the job...
[2025-02-08 20:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:39:03] Production.INFO: ==10701== Lock acquired, processing the job...
[2025-02-08 20:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:39:04] Production.INFO: ==10703== Lock acquired, processing the job...
[2025-02-08 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:39:04] Production.INFO: ==10707== Lock acquired, processing the job...
[2025-02-08 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:39:04] Production.INFO: ==10711== Lock acquired, processing the job...
[2025-02-08 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:39:04] Production.ERROR: done
[2025-02-08 20:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:39:04] Production.INFO: Account Balance Start.
[2025-02-08 20:39:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:39:04] Production.INFO: 117
[2025-02-08 20:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:39:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:39:04] Production.INFO: count ==21
[2025-02-08 20:39:04] Production.ERROR: done
[2025-02-08 20:39:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:39:04] Production.INFO: count ==21
[2025-02-08 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432214') start
[2025-02-08 20:39:04] Production.INFO: Total Charge 0
[2025-02-08 20:39:04] Production.INFO: CreateAllLog End
[2025-02-08 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432214') end
[2025-02-08 20:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:39:04] Production.INFO: 1
[2025-02-08 20:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:39:04] Production.INFO: Account Balance End.
[2025-02-08 20:39:04] Production.INFO: ==10703== Releasing lock...
[2025-02-08 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:39:04] Production.INFO: ==10711== Releasing lock...
[2025-02-08 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:39:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:39:04] Production.INFO: ==10707== Releasing lock...
[2025-02-08 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:39:05
[end_date_ymd] => 2025-02-08 20:39:05
[RateCDR] => 1
)
[2025-02-08 20:39: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` >= '2025-02-08 17:39:05' and `end` < '2025-02-08 20:39: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 ,'')
[2025-02-08 20:39:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-08 20:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:39:12] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:39:12] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:39:12] Production.INFO: call_cost start
[2025-02-08 20:39:12] Production.INFO: call_cost end
[2025-02-08 20:39:13] Production.ERROR: CronJobId end10
[2025-02-08 20:39:13] Production.INFO: ==10705== Releasing lock...
[2025-02-08 20:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:39:13] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:39:13] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:39:13] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:39:13] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:39:13] Production.INFO: ==10701== Releasing lock...
[2025-02-08 20:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:39:18] Production.INFO: count ==1617
[2025-02-08 20:39:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:39:05 - End Time 2025-02-08 20:39:05
[2025-02-08 20:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432215', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432215', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432215', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432215', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:39:18] Production.INFO: ProcessCDR(1,14432215,1,1,2)
[2025-02-08 20:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432215', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432215', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:39:22] Production.INFO: ==10709== Releasing lock...
[2025-02-08 20:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:39:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 01:40:02] Production.INFO: ==10777== Lock acquired, processing the job...
[2025-02-09 01:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:40:02] Production.INFO: neon service started
[2025-02-09 01:40:02] Production.INFO: neon service started
[2025-02-09 01:40:02] Production.INFO: ==10777== Releasing lock...
[2025-02-09 01:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:40:02] Production.INFO: ==10781== Lock acquired, processing the job...
[2025-02-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:40:02] Production.INFO: ==10781== Releasing lock...
[2025-02-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:40:02] Production.INFO: ==10779== Lock acquired, processing the job...
[2025-02-08 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:40:03] Production.INFO: ==10779== Releasing lock...
[2025-02-08 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:40:04] Production.INFO: ==10783== Lock acquired, processing the job...
[2025-02-08 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 20:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 20:40:04] Production.INFO: ==10787== Lock acquired, processing the job...
[2025-02-08 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 20:40:04] Production.INFO: ==10783== Releasing lock...
[2025-02-08 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 20:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 20:40:04] Production.INFO: ==10789== Lock acquired, processing the job...
[2025-02-08 20:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:40:04] Production.INFO: ==10785== Lock acquired, processing the job...
[2025-02-08 20:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:40:04] Production.INFO: ==10798== Lock acquired, processing the job...
[2025-02-08 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:40:04] Production.INFO: ==10787== Releasing lock...
[2025-02-08 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:40:04] Production.INFO: ==10791== Lock acquired, processing the job...
[2025-02-08 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:40:04] Production.INFO: count ==21
[2025-02-08 20:40:04] Production.INFO: ==10794== Lock acquired, processing the job...
[2025-02-08 20:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:40:04] Production.INFO: count ==21
[2025-02-08 20:40:04] Production.INFO: ==10796== Lock acquired, processing the job...
[2025-02-08 20:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432217') start
[2025-02-08 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:40:04] Production.INFO: Account Balance Start.
[2025-02-08 20:40:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:40:04] Production.INFO: 117
[2025-02-08 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:40:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:40:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:40:04] Production.INFO: Total Charge 0
[2025-02-08 20:40:04] Production.INFO: CreateAllLog End
[2025-02-08 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432217') end
[2025-02-08 20:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:40:04] Production.INFO: 1
[2025-02-08 20:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:40:05] Production.INFO: ==10798== Releasing lock...
[2025-02-08 20:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:40:05] Production.ERROR: done
[2025-02-08 20:40:05] Production.ERROR: done
[2025-02-08 20:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 20:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432220', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 20:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:40:05] Production.INFO: Account Balance End.
[2025-02-08 20:40:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:40:05] Production.INFO: ==10791== Releasing lock...
[2025-02-08 20:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:40:05] Production.ERROR: done
[2025-02-08 20:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:40:06
[end_date_ymd] => 2025-02-08 20:40:06
[RateCDR] => 1
)
[2025-02-08 20:40: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-02-08 17:40:06' and `end` < '2025-02-08 20:40: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-02-08 20:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432220', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 20:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 20:40:09] Production.INFO: ProcessCDR(1,14432220,1,1,2)
[2025-02-08 20:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432220,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432220,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:40:09] Production.INFO: ==10796== Releasing lock...
[2025-02-08 20:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 20:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 20:40:15] Production.ERROR: CronJobId end10
[2025-02-08 20:40:15] Production.INFO: ==10789== Releasing lock...
[2025-02-08 20:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:40:16] Production.INFO: call_cost start
[2025-02-08 20:40:16] Production.INFO: call_cost end
[2025-02-08 20:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:40:17] Production.INFO: ==10785== Releasing lock...
[2025-02-08 20:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:40:20] Production.INFO: count ==1615
[2025-02-08 20:40:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:40:06 - End Time 2025-02-08 20:40:06
[2025-02-08 20:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432221', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432221', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432221', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432221', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:40:20] Production.INFO: ProcessCDR(1,14432221,1,1,2)
[2025-02-08 20:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432221', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432221', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:40:24] Production.INFO: ==10794== Releasing lock...
[2025-02-08 20:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:40:24] Production.INFO: 40 MB #Memory Used#
[2025-02-09 01:41:01] Production.INFO: ==10853== Lock acquired, processing the job...
[2025-02-09 01:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:41:01] Production.INFO: neon service started
[2025-02-09 01:41:01] Production.INFO: neon service started
[2025-02-09 01:41:01] Production.INFO: ==10853== Releasing lock...
[2025-02-09 01:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:41:02] Production.INFO: ==10856== Lock acquired, processing the job...
[2025-02-08 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:41:02] Production.INFO: ==10856== Releasing lock...
[2025-02-08 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:41:02] Production.INFO: ==10858== Lock acquired, processing the job...
[2025-02-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:41:02] Production.INFO: ==10858== Releasing lock...
[2025-02-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:41:03] Production.INFO: ==10869== Lock acquired, processing the job...
[2025-02-08 20:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:41:03] Production.INFO: ==10871== Lock acquired, processing the job...
[2025-02-08 20:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:41:03] Production.INFO: ==10860== Lock acquired, processing the job...
[2025-02-08 20:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:41:03] Production.INFO: ==10862== Lock acquired, processing the job...
[2025-02-08 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:41:03] Production.INFO: ==10864== Lock acquired, processing the job...
[2025-02-08 20:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:41:03] Production.INFO: ==10867== Lock acquired, processing the job...
[2025-02-08 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:41:03] Production.INFO: count ==21
[2025-02-08 20:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:41:03] Production.INFO: count ==21
[2025-02-08 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432223') start
[2025-02-08 20:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:41:03] Production.INFO: Account Balance Start.
[2025-02-08 20:41:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:41:03] Production.INFO: 117
[2025-02-08 20:41:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:41:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:41:04] Production.ERROR: done
[2025-02-08 20:41:04] Production.INFO: Total Charge 0
[2025-02-08 20:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432223') end
[2025-02-08 20:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:41:04] Production.INFO: 1
[2025-02-08 20:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:41:04] Production.INFO: CreateAllLog End
[2025-02-08 20:41:04] Production.INFO: ==10871== Releasing lock...
[2025-02-08 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:41:04] Production.ERROR: done
[2025-02-08 20:41:04] Production.INFO: ==10862== Releasing lock...
[2025-02-08 20:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:41:04] Production.INFO: Account Balance End.
[2025-02-08 20:41:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:41:04] Production.INFO: ==10867== Releasing lock...
[2025-02-08 20:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:41:05
[end_date_ymd] => 2025-02-08 20:41:05
[RateCDR] => 1
)
[2025-02-08 20:41: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` >= '2025-02-08 17:41:05' and `end` < '2025-02-08 20:41: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 ,'')
[2025-02-08 20:41:13] Production.ERROR: CronJobId end10
[2025-02-08 20:41:13] Production.INFO: ==10864== Releasing lock...
[2025-02-08 20:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:41:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:41:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:41:15] Production.INFO: call_cost start
[2025-02-08 20:41:15] Production.INFO: call_cost end
[2025-02-08 20:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:41:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:41:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:41:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:41:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:41:16] Production.INFO: ==10860== Releasing lock...
[2025-02-08 20:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:41:19] Production.INFO: count ==1586
[2025-02-08 20:41:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:41:05 - End Time 2025-02-08 20:41:05
[2025-02-08 20:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432226', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432226', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432226', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432226', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:41:19] Production.INFO: ProcessCDR(1,14432226,1,1,2)
[2025-02-08 20:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432226', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432226', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:41:24] Production.INFO: ==10869== Releasing lock...
[2025-02-08 20:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:41:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:42:02] Production.INFO: ==10930== Lock acquired, processing the job...
[2025-02-09 01:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:42:02] Production.INFO: neon service started
[2025-02-09 01:42:02] Production.INFO: neon service started
[2025-02-09 01:42:02] Production.INFO: ==10930== Releasing lock...
[2025-02-09 01:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:42:02] Production.INFO: ==10934== Lock acquired, processing the job...
[2025-02-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:42:02] Production.INFO: ==10934== Releasing lock...
[2025-02-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:42:02] Production.INFO: ==10932== Lock acquired, processing the job...
[2025-02-08 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:42:03] Production.INFO: ==10932== Releasing lock...
[2025-02-08 20:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:42:03] Production.INFO: ==10937== Lock acquired, processing the job...
[2025-02-08 20:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:42:03] Production.INFO: ==10941== Lock acquired, processing the job...
[2025-02-08 20:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:42:04] Production.INFO: ==10945== Lock acquired, processing the job...
[2025-02-08 20:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:42:04] Production.INFO: ==10939== Lock acquired, processing the job...
[2025-02-08 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:42:04] Production.INFO: ==10943== Lock acquired, processing the job...
[2025-02-08 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:42:04] Production.INFO: ==10947== Lock acquired, processing the job...
[2025-02-08 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:42:04] Production.ERROR: done
[2025-02-08 20:42:04] Production.INFO: Account Balance Start.
[2025-02-08 20:42:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:42:04] Production.INFO: 117
[2025-02-08 20:42:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:42:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:42:04] Production.INFO: count ==21
[2025-02-08 20:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:42:04] Production.INFO: count ==21
[2025-02-08 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432230') start
[2025-02-08 20:42:04] Production.INFO: Total Charge 0
[2025-02-08 20:42:04] Production.INFO: CreateAllLog End
[2025-02-08 20:42:04] Production.ERROR: done
[2025-02-08 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432230') end
[2025-02-08 20:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:42:04] Production.INFO: 1
[2025-02-08 20:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:42:04] Production.INFO: ==10939== Releasing lock...
[2025-02-08 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:42:04] Production.INFO: Account Balance End.
[2025-02-08 20:42:04] Production.INFO: ==10947== Releasing lock...
[2025-02-08 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:42:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:42:04] Production.INFO: ==10943== Releasing lock...
[2025-02-08 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:42:05
[end_date_ymd] => 2025-02-08 20:42:05
[RateCDR] => 1
)
[2025-02-08 20:42: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` >= '2025-02-08 17:42:05' and `end` < '2025-02-08 20:42: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 ,'')
[2025-02-08 20:42:12] Production.ERROR: CronJobId end10
[2025-02-08 20:42:12] Production.INFO: ==10941== Releasing lock...
[2025-02-08 20:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:42:14] Production.INFO: call_cost start
[2025-02-08 20:42:14] Production.INFO: call_cost end
[2025-02-08 20:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:42:15] Production.INFO: ==10937== Releasing lock...
[2025-02-08 20:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:42:20] Production.INFO: count ==1582
[2025-02-08 20:42:21] Production.ERROR: pbx CDR StartTime 2025-02-08 17:42:05 - End Time 2025-02-08 20:42:05
[2025-02-08 20:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432231', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432231', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432231', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432231', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:42:21] Production.INFO: ProcessCDR(1,14432231,1,1,2)
[2025-02-08 20:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:42:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:42:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:42:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432231', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:42:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432231', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:42:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:42:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:42:26] Production.INFO: ==10945== Releasing lock...
[2025-02-08 20:42:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:42:26] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:43:01] Production.INFO: ==11005== Lock acquired, processing the job...
[2025-02-09 01:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:43:01] Production.INFO: neon service started
[2025-02-09 01:43:01] Production.INFO: neon service started
[2025-02-09 01:43:01] Production.INFO: ==11005== Releasing lock...
[2025-02-09 01:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:43:01] Production.INFO: ==11007== Lock acquired, processing the job...
[2025-02-08 20:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:43:02] Production.INFO: ==11009== Lock acquired, processing the job...
[2025-02-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:43:02] Production.INFO: ==11009== Releasing lock...
[2025-02-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:43:02] Production.INFO: ==11007== Releasing lock...
[2025-02-08 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:43:03] Production.INFO: ==11016== Lock acquired, processing the job...
[2025-02-08 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:43:03] Production.INFO: ==11020== Lock acquired, processing the job...
[2025-02-08 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:43:03] Production.INFO: ==11012== Lock acquired, processing the job...
[2025-02-08 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:43:03] Production.INFO: ==11014== Lock acquired, processing the job...
[2025-02-08 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:43:03] Production.INFO: ==11018== Lock acquired, processing the job...
[2025-02-08 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:43:03] Production.INFO: ==11022== Lock acquired, processing the job...
[2025-02-08 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:43:03] Production.INFO: Account Balance Start.
[2025-02-08 20:43:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:43:03] Production.INFO: 117
[2025-02-08 20:43:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:43:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:43:03] Production.INFO: count ==21
[2025-02-08 20:43:03] Production.INFO: Total Charge 0
[2025-02-08 20:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:43:03] Production.INFO: count ==21
[2025-02-08 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432234') start
[2025-02-08 20:43:03] Production.INFO: CreateAllLog End
[2025-02-08 20:43:03] Production.ERROR: done
[2025-02-08 20:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432234') end
[2025-02-08 20:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:43:04] Production.INFO: 1
[2025-02-08 20:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:43:04] Production.INFO: ==11014== Releasing lock...
[2025-02-08 20:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:43:04] Production.INFO: ==11022== Releasing lock...
[2025-02-08 20:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:43:04] Production.ERROR: done
[2025-02-08 20:43:04] Production.INFO: Account Balance End.
[2025-02-08 20:43:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:43:04] Production.INFO: ==11018== Releasing lock...
[2025-02-08 20:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:43:05
[end_date_ymd] => 2025-02-08 20:43:05
[RateCDR] => 1
)
[2025-02-08 20:43: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` >= '2025-02-08 17:43:05' and `end` < '2025-02-08 20:43: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 ,'')
[2025-02-08 20:43:13] Production.ERROR: CronJobId end10
[2025-02-08 20:43:13] Production.INFO: ==11016== Releasing lock...
[2025-02-08 20:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:43:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:43:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:43:15] Production.INFO: call_cost start
[2025-02-08 20:43:15] Production.INFO: call_cost end
[2025-02-08 20:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:43:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:43:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:43:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:43:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:43:16] Production.INFO: ==11012== Releasing lock...
[2025-02-08 20:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:43:19] Production.INFO: count ==1583
[2025-02-08 20:43:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:43:05 - End Time 2025-02-08 20:43:05
[2025-02-08 20:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432236', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432236', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432236', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432236', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:43:19] Production.INFO: ProcessCDR(1,14432236,1,1,2)
[2025-02-08 20:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432236', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432236', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:43:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:43:25] Production.INFO: ==11020== Releasing lock...
[2025-02-08 20:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:43:25] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:44:01] Production.INFO: ==11118== Lock acquired, processing the job...
[2025-02-09 01:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:44:01] Production.INFO: neon service started
[2025-02-09 01:44:01] Production.INFO: neon service started
[2025-02-09 01:44:01] Production.INFO: ==11118== Releasing lock...
[2025-02-09 01:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:44:02] Production.INFO: ==11120== Lock acquired, processing the job...
[2025-02-08 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:44:02] Production.INFO: ==11120== Releasing lock...
[2025-02-08 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:44:02] Production.INFO: ==11122== Lock acquired, processing the job...
[2025-02-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:44:02] Production.INFO: ==11122== Releasing lock...
[2025-02-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:44:03] Production.INFO: ==11128== Lock acquired, processing the job...
[2025-02-08 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:44:03] Production.INFO: ==11132== Lock acquired, processing the job...
[2025-02-08 20:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:44:03] Production.INFO: ==11124== Lock acquired, processing the job...
[2025-02-08 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:44:03] Production.INFO: ==11126== Lock acquired, processing the job...
[2025-02-08 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:44:03] Production.INFO: ==11134== Lock acquired, processing the job...
[2025-02-08 20:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:44:03] Production.INFO: ==11130== Lock acquired, processing the job...
[2025-02-08 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:44:03] Production.INFO: Account Balance Start.
[2025-02-08 20:44:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:44:03] Production.INFO: 117
[2025-02-08 20:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:44:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:44:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:44:04] Production.INFO: Total Charge 0
[2025-02-08 20:44:04] Production.INFO: count ==21
[2025-02-08 20:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:44:04] Production.INFO: count ==21
[2025-02-08 20:44:04] Production.ERROR: done
[2025-02-08 20:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:44:04] Production.INFO: CreateAllLog End
[2025-02-08 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432238') start
[2025-02-08 20:44:04] Production.ERROR: done
[2025-02-08 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432238') end
[2025-02-08 20:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:44:04] Production.INFO: 1
[2025-02-08 20:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:44:04] Production.INFO: ==11126== Releasing lock...
[2025-02-08 20:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:44:04] Production.INFO: Account Balance End.
[2025-02-08 20:44:04] Production.INFO: ==11134== Releasing lock...
[2025-02-08 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:44:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:44:04] Production.INFO: ==11130== Releasing lock...
[2025-02-08 20:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:44:05
[end_date_ymd] => 2025-02-08 20:44:05
[RateCDR] => 1
)
[2025-02-08 20:44: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` >= '2025-02-08 17:44:05' and `end` < '2025-02-08 20:44: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 ,'')
[2025-02-08 20:44:12] Production.ERROR: CronJobId end10
[2025-02-08 20:44:12] Production.INFO: ==11128== Releasing lock...
[2025-02-08 20:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:44:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:44:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:44:14] Production.INFO: call_cost start
[2025-02-08 20:44:14] Production.INFO: call_cost end
[2025-02-08 20:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:44:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:44:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:44:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:44:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:44:15] Production.INFO: ==11124== Releasing lock...
[2025-02-08 20:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:44:18] Production.INFO: count ==1584
[2025-02-08 20:44:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:44:05 - End Time 2025-02-08 20:44:05
[2025-02-08 20:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432241', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432241', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432241', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432241', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:44:19] Production.INFO: ProcessCDR(1,14432241,1,1,2)
[2025-02-08 20:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432241', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432241', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:44:24] Production.INFO: ==11132== Releasing lock...
[2025-02-08 20:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:44:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:45:01] Production.INFO: ==11193== Lock acquired, processing the job...
[2025-02-09 01:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:45:01] Production.INFO: neon service started
[2025-02-09 01:45:01] Production.INFO: neon service started
[2025-02-09 01:45:01] Production.INFO: ==11193== Releasing lock...
[2025-02-09 01:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:45:01] Production.INFO: ==11195== Lock acquired, processing the job...
[2025-02-08 20:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:45:02] Production.INFO: ==11195== Releasing lock...
[2025-02-08 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:45:02] Production.INFO: ==11197== Lock acquired, processing the job...
[2025-02-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:45:02] Production.INFO: ==11197== Releasing lock...
[2025-02-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:45:03] Production.INFO: ==11200== Lock acquired, processing the job...
[2025-02-08 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:45:03] Production.INFO: ==11208== Lock acquired, processing the job...
[2025-02-08 20:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:45:03] Production.INFO: ==11206== Lock acquired, processing the job...
[2025-02-08 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:45:03] Production.INFO: ==11202== Lock acquired, processing the job...
[2025-02-08 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:45:03] Production.INFO: ==11204== Lock acquired, processing the job...
[2025-02-08 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:45:03] Production.INFO: Account Balance Start.
[2025-02-08 20:45:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:45:03] Production.INFO: 117
[2025-02-08 20:45:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:45:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:45:03] Production.INFO: Total Charge 0
[2025-02-08 20:45:03] Production.INFO: CreateAllLog End
[2025-02-08 20:45:03] Production.INFO: ==11210== Lock acquired, processing the job...
[2025-02-08 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:45:03] Production.INFO: count ==21
[2025-02-08 20:45:03] Production.ERROR: done
[2025-02-08 20:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:45:03] Production.INFO: count ==21
[2025-02-08 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432245') start
[2025-02-08 20:45:03] Production.ERROR: done
[2025-02-08 20:45:03] Production.INFO: Account Balance End.
[2025-02-08 20:45:03] Production.INFO: ==11202== Releasing lock...
[2025-02-08 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432245') end
[2025-02-08 20:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:45:03] Production.INFO: 1
[2025-02-08 20:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:45:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:45:04] Production.INFO: ==11206== Releasing lock...
[2025-02-08 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:45:04] Production.INFO: ==11210== Releasing lock...
[2025-02-08 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:45:05
[end_date_ymd] => 2025-02-08 20:45:05
[RateCDR] => 1
)
[2025-02-08 20:45: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` >= '2025-02-08 17:45:05' and `end` < '2025-02-08 20:45: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 ,'')
[2025-02-08 20:45:12] Production.ERROR: CronJobId end10
[2025-02-08 20:45:12] Production.INFO: ==11204== Releasing lock...
[2025-02-08 20:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:45:14] Production.INFO: call_cost start
[2025-02-08 20:45:14] Production.INFO: call_cost end
[2025-02-08 20:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:45:15] Production.INFO: ==11200== Releasing lock...
[2025-02-08 20:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:45:18] Production.INFO: count ==1584
[2025-02-08 20:45:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:45:05 - End Time 2025-02-08 20:45:05
[2025-02-08 20:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432246', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432246', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432246', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432246', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:45:18] Production.INFO: ProcessCDR(1,14432246,1,1,2)
[2025-02-08 20:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432246', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432246', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:45:22] Production.INFO: ==11208== Releasing lock...
[2025-02-08 20:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:45:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:46:01] Production.INFO: ==11270== Lock acquired, processing the job...
[2025-02-09 01:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:46:01] Production.INFO: neon service started
[2025-02-09 01:46:01] Production.INFO: neon service started
[2025-02-09 01:46:01] Production.INFO: ==11270== Releasing lock...
[2025-02-09 01:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:46:02] Production.INFO: ==11272== Lock acquired, processing the job...
[2025-02-08 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:46:02] Production.INFO: ==11274== Lock acquired, processing the job...
[2025-02-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:46:02] Production.INFO: ==11274== Releasing lock...
[2025-02-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:46:03] Production.INFO: ==11272== Releasing lock...
[2025-02-08 20:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:46:04] Production.INFO: ==11277== Lock acquired, processing the job...
[2025-02-08 20:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:46:04] Production.INFO: ==11283== Lock acquired, processing the job...
[2025-02-08 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:46:04] Production.INFO: ==11279== Lock acquired, processing the job...
[2025-02-08 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:46:04] Production.INFO: ==11281== Lock acquired, processing the job...
[2025-02-08 20:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:46:04] Production.INFO: ==11285== Lock acquired, processing the job...
[2025-02-08 20:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:46:04] Production.INFO: Account Balance Start.
[2025-02-08 20:46:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:46:04] Production.INFO: 117
[2025-02-08 20:46:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:46:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:46:04] Production.INFO: Total Charge 0
[2025-02-08 20:46:04] Production.INFO: CreateAllLog End
[2025-02-08 20:46:04] Production.INFO: ==11287== Lock acquired, processing the job...
[2025-02-08 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:46:04] Production.INFO: count ==21
[2025-02-08 20:46:04] Production.ERROR: done
[2025-02-08 20:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:46:04] Production.INFO: count ==21
[2025-02-08 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432250') start
[2025-02-08 20:46:04] Production.INFO: ==11279== Releasing lock...
[2025-02-08 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:46:04] Production.ERROR: done
[2025-02-08 20:46:04] Production.INFO: Account Balance End.
[2025-02-08 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432250') end
[2025-02-08 20:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:46:04] Production.INFO: 1
[2025-02-08 20:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:46:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:46:05] Production.INFO: ==11283== Releasing lock...
[2025-02-08 20:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:46:05] Production.INFO: ==11287== Releasing lock...
[2025-02-08 20:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:46:05
[end_date_ymd] => 2025-02-08 20:46:05
[RateCDR] => 1
)
[2025-02-08 20:46: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` >= '2025-02-08 17:46:05' and `end` < '2025-02-08 20:46: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 ,'')
[2025-02-08 20:46:12] Production.ERROR: CronJobId end10
[2025-02-08 20:46:12] Production.INFO: ==11281== Releasing lock...
[2025-02-08 20:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:46:15] Production.INFO: call_cost start
[2025-02-08 20:46:15] Production.INFO: call_cost end
[2025-02-08 20:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:46:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:46:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:46:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:46:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:46:16] Production.INFO: ==11277== Releasing lock...
[2025-02-08 20:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:46:18] Production.INFO: count ==1585
[2025-02-08 20:46:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:46:05 - End Time 2025-02-08 20:46:05
[2025-02-08 20:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432251', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432251', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432251', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432251', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:46:19] Production.INFO: ProcessCDR(1,14432251,1,1,2)
[2025-02-08 20:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432251', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432251', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:46:22] Production.INFO: ==11285== Releasing lock...
[2025-02-08 20:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:46:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:47:02] Production.INFO: ==11347== Lock acquired, processing the job...
[2025-02-09 01:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:47:02] Production.INFO: neon service started
[2025-02-09 01:47:02] Production.INFO: neon service started
[2025-02-09 01:47:02] Production.INFO: ==11347== Releasing lock...
[2025-02-09 01:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:47:03] Production.INFO: ==11351== Lock acquired, processing the job...
[2025-02-09 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 20:47:03] Production.INFO: ==11349== Lock acquired, processing the job...
[2025-02-08 20:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:47:03] Production.INFO: ==11351== Releasing lock...
[2025-02-09 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:47:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:47:03] Production.INFO: ==11349== Releasing lock...
[2025-02-08 20:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:47:04] Production.INFO: ==11356== Lock acquired, processing the job...
[2025-02-08 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:47:04] Production.INFO: ==11364== Lock acquired, processing the job...
[2025-02-08 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:47:04] Production.INFO: ==11354== Lock acquired, processing the job...
[2025-02-08 20:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:47:04] Production.INFO: ==11358== Lock acquired, processing the job...
[2025-02-08 20:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:47:04] Production.INFO: count ==21
[2025-02-08 20:47:04] Production.INFO: ==11360== Lock acquired, processing the job...
[2025-02-08 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:47:04] Production.INFO: count ==21
[2025-02-08 20:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:47:04] Production.INFO: ==11356== Releasing lock...
[2025-02-08 20:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432253') start
[2025-02-08 20:47:04] Production.INFO: ==11362== Lock acquired, processing the job...
[2025-02-08 20:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:47:04] Production.INFO: Account Balance Start.
[2025-02-08 20:47:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:47:04] Production.INFO: 117
[2025-02-08 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432253') end
[2025-02-08 20:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:47:04] Production.INFO: 1
[2025-02-08 20:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:47:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:47:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:47:04] Production.INFO: ==11364== Releasing lock...
[2025-02-08 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:47:04] Production.INFO: Total Charge 0
[2025-02-08 20:47:04] Production.INFO: CreateAllLog End
[2025-02-08 20:47:05] Production.ERROR: done
[2025-02-08 20:47:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:47:05] Production.INFO: Account Balance End.
[2025-02-08 20:47:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:47:05] Production.INFO: ==11360== Releasing lock...
[2025-02-08 20:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:47:05] Production.ERROR: done
[2025-02-08 20:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:47:06
[end_date_ymd] => 2025-02-08 20:47:06
[RateCDR] => 1
)
[2025-02-08 20:47: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-02-08 17:47:06' and `end` < '2025-02-08 20:47: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-02-08 20:47:14] Production.ERROR: CronJobId end10
[2025-02-08 20:47:14] Production.INFO: ==11358== Releasing lock...
[2025-02-08 20:47:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:47:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:47:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:47:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:47:15] Production.INFO: call_cost start
[2025-02-08 20:47:15] Production.INFO: call_cost end
[2025-02-08 20:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:47:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:47:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:47:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:47:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:47:16] Production.INFO: ==11354== Releasing lock...
[2025-02-08 20:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:47:19] Production.INFO: count ==1581
[2025-02-08 20:47:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:47:06 - End Time 2025-02-08 20:47:06
[2025-02-08 20:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432256', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432256', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432256', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432256', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:47:19] Production.INFO: ProcessCDR(1,14432256,1,1,2)
[2025-02-08 20:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432256', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432256', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:47:24] Production.INFO: ==11362== Releasing lock...
[2025-02-08 20:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:47:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:48:01] Production.INFO: ==11420== Lock acquired, processing the job...
[2025-02-09 01:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:48:01] Production.INFO: neon service started
[2025-02-09 01:48:01] Production.INFO: neon service started
[2025-02-09 01:48:01] Production.INFO: ==11420== Releasing lock...
[2025-02-09 01:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:48:02] Production.INFO: ==11425== Lock acquired, processing the job...
[2025-02-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:48:02] Production.INFO: ==11425== Releasing lock...
[2025-02-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:48:02] Production.INFO: ==11423== Lock acquired, processing the job...
[2025-02-08 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:48:02] Production.INFO: ==11423== Releasing lock...
[2025-02-08 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:48:03] Production.INFO: ==11427== Lock acquired, processing the job...
[2025-02-08 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:48:03] Production.INFO: ==11435== Lock acquired, processing the job...
[2025-02-08 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:48:03] Production.INFO: ==11433== Lock acquired, processing the job...
[2025-02-08 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:48:03] Production.INFO: ==11429== Lock acquired, processing the job...
[2025-02-08 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:48:03] Production.INFO: ==11437== Lock acquired, processing the job...
[2025-02-08 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:48:03] Production.INFO: ==11431== Lock acquired, processing the job...
[2025-02-08 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:48:04] Production.INFO: Account Balance Start.
[2025-02-08 20:48:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:48:04] Production.INFO: 117
[2025-02-08 20:48:04] Production.ERROR: done
[2025-02-08 20:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:48:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:48:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:48:04] Production.INFO: count ==21
[2025-02-08 20:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:48:04] Production.INFO: count ==21
[2025-02-08 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432259') start
[2025-02-08 20:48:04] Production.INFO: Total Charge 0
[2025-02-08 20:48:04] Production.INFO: CreateAllLog End
[2025-02-08 20:48:04] Production.ERROR: done
[2025-02-08 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432259') end
[2025-02-08 20:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:48:04] Production.INFO: 1
[2025-02-08 20:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:48:04] Production.INFO: ==11437== Releasing lock...
[2025-02-08 20:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:48:04] Production.INFO: Account Balance End.
[2025-02-08 20:48:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:48:04] Production.INFO: ==11433== Releasing lock...
[2025-02-08 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:48:04] Production.INFO: ==11429== Releasing lock...
[2025-02-08 20:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:48:05
[end_date_ymd] => 2025-02-08 20:48:05
[RateCDR] => 1
)
[2025-02-08 20:48: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` >= '2025-02-08 17:48:05' and `end` < '2025-02-08 20:48: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 ,'')
[2025-02-08 20:48:12] Production.ERROR: CronJobId end10
[2025-02-08 20:48:12] Production.INFO: ==11431== Releasing lock...
[2025-02-08 20:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:48:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:48:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:48:14] Production.INFO: call_cost start
[2025-02-08 20:48:14] Production.INFO: call_cost end
[2025-02-08 20:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:48:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:48:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:48:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:48:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:48:15] Production.INFO: ==11427== Releasing lock...
[2025-02-08 20:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:48:18] Production.INFO: count ==1582
[2025-02-08 20:48:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:48:05 - End Time 2025-02-08 20:48:05
[2025-02-08 20:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432261', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432261', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432261', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432261', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:48:19] Production.INFO: ProcessCDR(1,14432261,1,1,2)
[2025-02-08 20:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432261', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432261', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:48:24] Production.INFO: ==11435== Releasing lock...
[2025-02-08 20:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:48:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:49:02] Production.INFO: ==11495== Lock acquired, processing the job...
[2025-02-09 01:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:49:02] Production.INFO: neon service started
[2025-02-09 01:49:02] Production.INFO: neon service started
[2025-02-09 01:49:02] Production.INFO: ==11495== Releasing lock...
[2025-02-09 01:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:49:02] Production.INFO: ==11497== Lock acquired, processing the job...
[2025-02-08 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:49:03] Production.INFO: ==11499== Lock acquired, processing the job...
[2025-02-09 01:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:49:03] Production.INFO: ==11499== Releasing lock...
[2025-02-09 01:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:49:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:49:03] Production.INFO: ==11497== Releasing lock...
[2025-02-08 20:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:49:04] Production.INFO: ==11502== Lock acquired, processing the job...
[2025-02-08 20:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:49:04] Production.INFO: ==11504== Lock acquired, processing the job...
[2025-02-08 20:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:49:04] Production.INFO: ==11510== Lock acquired, processing the job...
[2025-02-08 20:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:49:04] Production.INFO: ==11504== Releasing lock...
[2025-02-08 20:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:49:04] Production.INFO: ==11506== Lock acquired, processing the job...
[2025-02-08 20:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:49:04] Production.INFO: ==11508== Lock acquired, processing the job...
[2025-02-08 20:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:49:04] Production.INFO: ==11512== Lock acquired, processing the job...
[2025-02-08 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:49:04] Production.INFO: Account Balance Start.
[2025-02-08 20:49:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:49:04] Production.INFO: 117
[2025-02-08 20:49:04] Production.ERROR: done
[2025-02-08 20:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:49:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:49:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:49:04] Production.INFO: Total Charge 0
[2025-02-08 20:49:04] Production.INFO: CreateAllLog End
[2025-02-08 20:49:04] Production.INFO: count ==21
[2025-02-08 20:49:04] Production.ERROR: done
[2025-02-08 20:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:49:05] Production.INFO: count ==21
[2025-02-08 20:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432265') start
[2025-02-08 20:49:05] Production.INFO: Account Balance End.
[2025-02-08 20:49:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:49:05] Production.INFO: ==11508== Releasing lock...
[2025-02-08 20:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:49:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432265') end
[2025-02-08 20:49:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:49:05] Production.INFO: 1
[2025-02-08 20:49:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:49:05] Production.INFO: ==11512== Releasing lock...
[2025-02-08 20:49:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:49:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:49:06
[end_date_ymd] => 2025-02-08 20:49:06
[RateCDR] => 1
)
[2025-02-08 20:49: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-02-08 17:49:06' and `end` < '2025-02-08 20:49: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-02-08 20:49:13] Production.ERROR: CronJobId end10
[2025-02-08 20:49:13] Production.INFO: ==11506== Releasing lock...
[2025-02-08 20:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:49:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:49:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:49:15] Production.INFO: call_cost start
[2025-02-08 20:49:15] Production.INFO: call_cost end
[2025-02-08 20:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:49:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:49:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:49:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:49:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:49:16] Production.INFO: ==11502== Releasing lock...
[2025-02-08 20:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:49:19] Production.INFO: count ==1578
[2025-02-08 20:49:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:49:06 - End Time 2025-02-08 20:49:06
[2025-02-08 20:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432266', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432266', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432266', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432266', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:49:20] Production.INFO: ProcessCDR(1,14432266,1,1,2)
[2025-02-08 20:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432266', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432266', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:49:23] Production.INFO: ==11510== Releasing lock...
[2025-02-08 20:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:49:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:50:01] Production.INFO: ==11567== Lock acquired, processing the job...
[2025-02-09 01:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:50:01] Production.INFO: neon service started
[2025-02-09 01:50:01] Production.INFO: neon service started
[2025-02-09 01:50:01] Production.INFO: ==11567== Releasing lock...
[2025-02-09 01:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:50:02] Production.INFO: ==11569== Lock acquired, processing the job...
[2025-02-08 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:50:02] Production.INFO: ==11571== Lock acquired, processing the job...
[2025-02-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 20:50:02] Production.INFO: ==11569== Releasing lock...
[2025-02-08 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:50:02] Production.INFO: ==11571== Releasing lock...
[2025-02-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:50:03] Production.INFO: ==11576== Lock acquired, processing the job...
[2025-02-08 20:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:50:03] Production.INFO: ==11574== Lock acquired, processing the job...
[2025-02-08 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 20:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:50:03] Production.INFO: ==11578== Lock acquired, processing the job...
[2025-02-08 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 20:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 20:50:03] Production.ERROR: CronJob PID - 11576
[2025-02-08 20:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 20:50:03] Production.ERROR: CronJob ID - 5
[2025-02-08 20:50:03] Production.ERROR: CronJob Last Run Time 2025-02-08 20:50:00
[2025-02-08 20:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 20:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 20:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 20:50:03] Production.INFO: ==11574== Releasing lock...
[2025-02-08 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 20:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 20:50:03] Production.INFO: ==11586== Lock acquired, processing the job...
[2025-02-08 20:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:50:04] Production.INFO: ==11580== Lock acquired, processing the job...
[2025-02-08 20:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:50:04] Production.INFO: ==11582== Lock acquired, processing the job...
[2025-02-08 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:50:04] Production.INFO: ==11584== Lock acquired, processing the job...
[2025-02-08 20:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:50:04] Production.INFO: ==11578== Releasing lock...
[2025-02-08 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:50:04] Production.INFO: ==11588== Lock acquired, processing the job...
[2025-02-08 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:50:04] Production.INFO: Account Balance Start.
[2025-02-08 20:50:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:50:04] Production.INFO: 117
[2025-02-08 20:50:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:50:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:50:04] Production.ERROR: done
[2025-02-08 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432270', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 20:50:04] Production.INFO: Total Charge 0
[2025-02-08 20:50:04] Production.INFO: CreateAllLog End
[2025-02-08 20:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:50:04] Production.INFO: count ==21
[2025-02-08 20:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:50:04] Production.INFO: count ==21
[2025-02-08 20:50:04] Production.ERROR: done
[2025-02-08 20:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432271') start
[2025-02-08 20:50:04] Production.INFO: Account Balance End.
[2025-02-08 20:50:04] Production.ERROR: done
[2025-02-08 20:50:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:50:05] Production.INFO: ==11582== Releasing lock...
[2025-02-08 20:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432271') end
[2025-02-08 20:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:50:05] Production.INFO: 1
[2025-02-08 20:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:50:05] Production.INFO: ==11588== Releasing lock...
[2025-02-08 20:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:50:06
[end_date_ymd] => 2025-02-08 20:50:06
[RateCDR] => 1
)
[2025-02-08 20:50: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-02-08 17:50:06' and `end` < '2025-02-08 20:50: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-02-08 20:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432270', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 20:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 20:50:08] Production.INFO: ProcessCDR(1,14432270,1,1,2)
[2025-02-08 20:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432270,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432270,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:50:08] Production.INFO: ==11586== Releasing lock...
[2025-02-08 20:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 20:50:08] Production.INFO: 26 MB #Memory Used#
[2025-02-08 20:50:13] Production.ERROR: CronJobId end10
[2025-02-08 20:50:13] Production.INFO: ==11580== Releasing lock...
[2025-02-08 20:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:50:16] Production.INFO: call_cost start
[2025-02-08 20:50:16] Production.INFO: call_cost end
[2025-02-08 20:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:50:17] Production.INFO: ==11576== Releasing lock...
[2025-02-08 20:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:50:21] Production.INFO: count ==1577
[2025-02-08 20:50:21] Production.ERROR: pbx CDR StartTime 2025-02-08 17:50:06 - End Time 2025-02-08 20:50:06
[2025-02-08 20:50:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432272', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432272', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432272', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432272', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:50:21] Production.INFO: ProcessCDR(1,14432272,1,1,2)
[2025-02-08 20:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432272', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432272', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:50:24] Production.INFO: ==11584== Releasing lock...
[2025-02-08 20:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:50:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 01:51:02] Production.INFO: ==11646== Lock acquired, processing the job...
[2025-02-09 01:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:51:02] Production.INFO: neon service started
[2025-02-09 01:51:02] Production.INFO: neon service started
[2025-02-09 01:51:02] Production.INFO: ==11646== Releasing lock...
[2025-02-09 01:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:51:02] Production.INFO: ==11648== Lock acquired, processing the job...
[2025-02-08 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:51:02] Production.INFO: ==11648== Releasing lock...
[2025-02-08 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:51:03] Production.INFO: ==11650== Lock acquired, processing the job...
[2025-02-09 01:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:51:03] Production.INFO: ==11650== Releasing lock...
[2025-02-09 01:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:51:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:51:03] Production.INFO: ==11653== Lock acquired, processing the job...
[2025-02-08 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:51:03] Production.INFO: ==11655== Lock acquired, processing the job...
[2025-02-08 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:51:03] Production.INFO: ==11659== Lock acquired, processing the job...
[2025-02-08 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:51:04] Production.INFO: ==11657== Lock acquired, processing the job...
[2025-02-08 20:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:51:04] Production.INFO: ==11663== Lock acquired, processing the job...
[2025-02-08 20:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:51:04] Production.INFO: ==11661== Lock acquired, processing the job...
[2025-02-08 20:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:51:04] Production.INFO: Account Balance Start.
[2025-02-08 20:51:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:51:04] Production.INFO: 117
[2025-02-08 20:51:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:51:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:51:04] Production.INFO: count ==21
[2025-02-08 20:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:51:04] Production.INFO: count ==21
[2025-02-08 20:51:04] Production.INFO: ==11655== Releasing lock...
[2025-02-08 20:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432276') start
[2025-02-08 20:51:04] Production.INFO: Total Charge 0
[2025-02-08 20:51:04] Production.INFO: CreateAllLog End
[2025-02-08 20:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432276') end
[2025-02-08 20:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:51:04] Production.INFO: 1
[2025-02-08 20:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:51:04] Production.INFO: ==11663== Releasing lock...
[2025-02-08 20:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:51:04] Production.INFO: Account Balance End.
[2025-02-08 20:51:04] Production.ERROR: done
[2025-02-08 20:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:51:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:51:04] Production.INFO: ==11659== Releasing lock...
[2025-02-08 20:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:51:04] Production.ERROR: done
[2025-02-08 20:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:51:05
[end_date_ymd] => 2025-02-08 20:51:05
[RateCDR] => 1
)
[2025-02-08 20:51: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` >= '2025-02-08 17:51:05' and `end` < '2025-02-08 20:51: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 ,'')
[2025-02-08 20:51:13] Production.ERROR: CronJobId end10
[2025-02-08 20:51:13] Production.INFO: ==11657== Releasing lock...
[2025-02-08 20:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:51:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:51:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:51:16] Production.INFO: call_cost start
[2025-02-08 20:51:16] Production.INFO: call_cost end
[2025-02-08 20:51:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:51:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:51:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:51:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:51:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:51:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:51:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:51:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:51:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:51:17] Production.INFO: ==11653== Releasing lock...
[2025-02-08 20:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:51:18] Production.INFO: count ==1539
[2025-02-08 20:51:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:51:05 - End Time 2025-02-08 20:51:05
[2025-02-08 20:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432277', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432277', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432277', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432277', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:51:19] Production.INFO: ProcessCDR(1,14432277,1,1,2)
[2025-02-08 20:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432277', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432277', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:51:22] Production.INFO: ==11661== Releasing lock...
[2025-02-08 20:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:51:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 01:52:01] Production.INFO: ==11721== Lock acquired, processing the job...
[2025-02-09 01:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:52:01] Production.INFO: neon service started
[2025-02-09 01:52:01] Production.INFO: neon service started
[2025-02-09 01:52:01] Production.INFO: ==11721== Releasing lock...
[2025-02-09 01:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:52:02] Production.INFO: ==11723== Lock acquired, processing the job...
[2025-02-08 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:52:02] Production.INFO: ==11723== Releasing lock...
[2025-02-08 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:52:02] Production.INFO: ==11725== Lock acquired, processing the job...
[2025-02-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:52:02] Production.INFO: ==11725== Releasing lock...
[2025-02-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:52:03] Production.INFO: ==11730== Lock acquired, processing the job...
[2025-02-08 20:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:52:03] Production.INFO: ==11728== Lock acquired, processing the job...
[2025-02-08 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:52:03] Production.INFO: ==11736== Lock acquired, processing the job...
[2025-02-08 20:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:52:03] Production.INFO: ==11732== Lock acquired, processing the job...
[2025-02-08 20:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:52:03] Production.INFO: ==11734== Lock acquired, processing the job...
[2025-02-08 20:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:52:03] Production.INFO: ==11738== Lock acquired, processing the job...
[2025-02-08 20:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:52:03] Production.INFO: Account Balance Start.
[2025-02-08 20:52:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:52:03] Production.INFO: 117
[2025-02-08 20:52:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:52:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:52:04] Production.ERROR: done
[2025-02-08 20:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:52:04] Production.INFO: Total Charge 0
[2025-02-08 20:52:04] Production.INFO: ==11730== Releasing lock...
[2025-02-08 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:52:04] Production.INFO: CreateAllLog End
[2025-02-08 20:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:52:04] Production.INFO: count ==21
[2025-02-08 20:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:52:04] Production.INFO: count ==21
[2025-02-08 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432281') start
[2025-02-08 20:52:04] Production.ERROR: done
[2025-02-08 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432281') end
[2025-02-08 20:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:52:04] Production.INFO: 1
[2025-02-08 20:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:52:04] Production.INFO: ==11738== Releasing lock...
[2025-02-08 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:52:04] Production.INFO: Account Balance End.
[2025-02-08 20:52:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:52:04] Production.INFO: ==11734== Releasing lock...
[2025-02-08 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:52:05
[end_date_ymd] => 2025-02-08 20:52:05
[RateCDR] => 1
)
[2025-02-08 20:52: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` >= '2025-02-08 17:52:05' and `end` < '2025-02-08 20:52: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 ,'')
[2025-02-08 20:52:13] Production.ERROR: CronJobId end10
[2025-02-08 20:52:13] Production.INFO: ==11732== Releasing lock...
[2025-02-08 20:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:52:15] Production.INFO: call_cost start
[2025-02-08 20:52:15] Production.INFO: call_cost end
[2025-02-08 20:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:52:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:52:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:52:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:52:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:52:16] Production.INFO: ==11728== Releasing lock...
[2025-02-08 20:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:52:18] Production.INFO: count ==1534
[2025-02-08 20:52:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:52:05 - End Time 2025-02-08 20:52:05
[2025-02-08 20:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432282', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432282', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432282', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432282', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:52:18] Production.INFO: ProcessCDR(1,14432282,1,1,2)
[2025-02-08 20:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432282', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432282', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:52:22] Production.INFO: ==11736== Releasing lock...
[2025-02-08 20:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:52:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 01:53:02] Production.INFO: ==11800== Lock acquired, processing the job...
[2025-02-09 01:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:53:02] Production.INFO: neon service started
[2025-02-09 01:53:02] Production.INFO: neon service started
[2025-02-09 01:53:02] Production.INFO: ==11800== Releasing lock...
[2025-02-09 01:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:53:02] Production.INFO: ==11802== Lock acquired, processing the job...
[2025-02-08 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:53:02] Production.INFO: ==11804== Lock acquired, processing the job...
[2025-02-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 20:53:02] Production.INFO: ==11802== Releasing lock...
[2025-02-08 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:53:02] Production.INFO: ==11804== Releasing lock...
[2025-02-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:53:03] Production.INFO: ==11816== Lock acquired, processing the job...
[2025-02-08 20:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:53:04] Production.ERROR: done
[2025-02-08 20:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:53:04] Production.INFO: ==11808== Lock acquired, processing the job...
[2025-02-08 20:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:53:04] Production.ERROR: done
[2025-02-08 20:53:04] Production.INFO: ==11810== Lock acquired, processing the job...
[2025-02-08 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:53:04] Production.INFO: ==11812== Lock acquired, processing the job...
[2025-02-08 20:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:53:04] Production.INFO: ==11814== Lock acquired, processing the job...
[2025-02-08 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:53:04] Production.INFO: Account Balance Start.
[2025-02-08 20:53:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:53:04] Production.INFO: 117
[2025-02-08 20:53:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:53:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:53:04] Production.INFO: ==11818== Lock acquired, processing the job...
[2025-02-08 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:53:04] Production.INFO: Total Charge 0
[2025-02-08 20:53:04] Production.INFO: CreateAllLog End
[2025-02-08 20:53:04] Production.INFO: ==11810== Releasing lock...
[2025-02-08 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:53:04] Production.INFO: Account Balance End.
[2025-02-08 20:53:04] Production.INFO: count ==21
[2025-02-08 20:53:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:53:04] Production.INFO: ==11814== Releasing lock...
[2025-02-08 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:53:04] Production.INFO: count ==21
[2025-02-08 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432287') start
[2025-02-08 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432287') end
[2025-02-08 20:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:53:04] Production.INFO: 1
[2025-02-08 20:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:53:05] Production.INFO: ==11818== Releasing lock...
[2025-02-08 20:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:53:05
[end_date_ymd] => 2025-02-08 20:53:05
[RateCDR] => 1
)
[2025-02-08 20:53: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` >= '2025-02-08 17:53:05' and `end` < '2025-02-08 20:53: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 ,'')
[2025-02-08 20:53:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-02-08 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-08 20:53:12] Production.ERROR: CronJobId end10
[2025-02-08 20:53:12] Production.INFO: ==11812== Releasing lock...
[2025-02-08 20:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:53:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:53:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:53:15] Production.INFO: call_cost start
[2025-02-08 20:53:15] Production.INFO: call_cost end
[2025-02-08 20:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:53:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:53:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:53:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:53:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:53:16] Production.INFO: ==11808== Releasing lock...
[2025-02-08 20:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:53:18] Production.INFO: count ==1534
[2025-02-08 20:53:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:53:05 - End Time 2025-02-08 20:53:05
[2025-02-08 20:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432283', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432283', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432283', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432283', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:53:18] Production.INFO: ProcessCDR(1,14432283,1,1,2)
[2025-02-08 20:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432283', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432283', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:53:22] Production.INFO: ==11816== Releasing lock...
[2025-02-08 20:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:53:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 01:54:01] Production.INFO: ==11874== Lock acquired, processing the job...
[2025-02-09 01:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:54:01] Production.INFO: neon service started
[2025-02-09 01:54:01] Production.INFO: neon service started
[2025-02-09 01:54:01] Production.INFO: ==11874== Releasing lock...
[2025-02-09 01:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:54:02] Production.INFO: ==11876== Lock acquired, processing the job...
[2025-02-08 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:54:02] Production.INFO: ==11876== Releasing lock...
[2025-02-08 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:54:02] Production.INFO: ==11878== Lock acquired, processing the job...
[2025-02-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:54:02] Production.INFO: ==11878== Releasing lock...
[2025-02-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:54:03] Production.INFO: ==11887== Lock acquired, processing the job...
[2025-02-08 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:54:03] Production.INFO: ==11889== Lock acquired, processing the job...
[2025-02-08 20:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:54:03] Production.INFO: Account Balance Start.
[2025-02-08 20:54:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:54:03] Production.INFO: 117
[2025-02-08 20:54:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:54:03] Production.INFO: ==11881== Lock acquired, processing the job...
[2025-02-08 20:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:54:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:54:03] Production.INFO: ==11883== Lock acquired, processing the job...
[2025-02-08 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:54:03] Production.INFO: Total Charge 0
[2025-02-08 20:54:03] Production.INFO: ==11885== Lock acquired, processing the job...
[2025-02-08 20:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:54:03] Production.INFO: CreateAllLog End
[2025-02-08 20:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:54:03] Production.INFO: ==11891== Lock acquired, processing the job...
[2025-02-08 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:54:04] Production.ERROR: done
[2025-02-08 20:54:04] Production.INFO: count ==21
[2025-02-08 20:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:54:04] Production.INFO: count ==21
[2025-02-08 20:54:04] Production.INFO: ==11883== Releasing lock...
[2025-02-08 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432291') start
[2025-02-08 20:54:04] Production.INFO: Account Balance End.
[2025-02-08 20:54:04] Production.ERROR: done
[2025-02-08 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432291') end
[2025-02-08 20:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:54:04] Production.INFO: 1
[2025-02-08 20:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:54:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:54:04] Production.INFO: ==11887== Releasing lock...
[2025-02-08 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:54:04] Production.INFO: ==11891== Releasing lock...
[2025-02-08 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:54:05
[end_date_ymd] => 2025-02-08 20:54:05
[RateCDR] => 1
)
[2025-02-08 20:54: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` >= '2025-02-08 17:54:05' and `end` < '2025-02-08 20:54: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 ,'')
[2025-02-08 20:54:12] Production.ERROR: CronJobId end10
[2025-02-08 20:54:12] Production.INFO: ==11885== Releasing lock...
[2025-02-08 20:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:54:14] Production.INFO: call_cost start
[2025-02-08 20:54:14] Production.INFO: call_cost end
[2025-02-08 20:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:54:15] Production.INFO: ==11881== Releasing lock...
[2025-02-08 20:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:54:18] Production.INFO: count ==1516
[2025-02-08 20:54:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:54:05 - End Time 2025-02-08 20:54:05
[2025-02-08 20:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432292', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432292', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432292', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432292', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:54:19] Production.INFO: ProcessCDR(1,14432292,1,1,2)
[2025-02-08 20:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432292', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432292', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:54:22] Production.INFO: ==11889== Releasing lock...
[2025-02-08 20:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:54:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 01:55:02] Production.INFO: ==11948== Lock acquired, processing the job...
[2025-02-09 01:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:55:02] Production.INFO: neon service started
[2025-02-09 01:55:02] Production.INFO: neon service started
[2025-02-09 01:55:02] Production.INFO: ==11948== Releasing lock...
[2025-02-09 01:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:55:02] Production.INFO: ==11950== Lock acquired, processing the job...
[2025-02-08 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:55:02] Production.INFO: ==11952== Lock acquired, processing the job...
[2025-02-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 20:55:02] Production.INFO: ==11950== Releasing lock...
[2025-02-08 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:55:02] Production.INFO: ==11952== Releasing lock...
[2025-02-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:55:04] Production.INFO: ==11957== Lock acquired, processing the job...
[2025-02-08 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:55:04] Production.INFO: ==11955== Lock acquired, processing the job...
[2025-02-08 20:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:55:04] Production.INFO: ==11965== Lock acquired, processing the job...
[2025-02-08 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:55:04] Production.INFO: count ==21
[2025-02-08 20:55:04] Production.INFO: ==11959== Lock acquired, processing the job...
[2025-02-08 20:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:55:04] Production.INFO: count ==21
[2025-02-08 20:55:04] Production.INFO: ==11961== Lock acquired, processing the job...
[2025-02-08 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432294') start
[2025-02-08 20:55:04] Production.INFO: ==11963== Lock acquired, processing the job...
[2025-02-08 20:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432294') end
[2025-02-08 20:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:55:04] Production.INFO: 1
[2025-02-08 20:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:55:04] Production.INFO: ==11965== Releasing lock...
[2025-02-08 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:55:04] Production.INFO: Account Balance Start.
[2025-02-08 20:55:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:55:04] Production.INFO: 117
[2025-02-08 20:55:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:55:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:55:04] Production.INFO: ==11957== Releasing lock...
[2025-02-08 20:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:55:04] Production.INFO: Total Charge 0
[2025-02-08 20:55:04] Production.INFO: CreateAllLog End
[2025-02-08 20:55:04] Production.ERROR: done
[2025-02-08 20:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:55:04] Production.INFO: Account Balance End.
[2025-02-08 20:55:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:55:05] Production.INFO: ==11961== Releasing lock...
[2025-02-08 20:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:55:05] Production.ERROR: done
[2025-02-08 20:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:55:06
[end_date_ymd] => 2025-02-08 20:55:06
[RateCDR] => 1
)
[2025-02-08 20:55: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-02-08 17:55:06' and `end` < '2025-02-08 20:55: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-02-08 20:55:13] Production.ERROR: CronJobId end10
[2025-02-08 20:55:13] Production.INFO: ==11959== Releasing lock...
[2025-02-08 20:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:55:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:55:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:55:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:55:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:55:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:55:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:55:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:55:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:55:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:55:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:55:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:55:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:55:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:55:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:55:16] Production.INFO: call_cost start
[2025-02-08 20:55:16] Production.INFO: call_cost end
[2025-02-08 20:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:55:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:55:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:55:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:55:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:55:17] Production.INFO: ==11955== Releasing lock...
[2025-02-08 20:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:55:19] Production.INFO: count ==1515
[2025-02-08 20:55:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:55:06 - End Time 2025-02-08 20:55:06
[2025-02-08 20:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432297', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432297', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432297', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432297', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:55:19] Production.INFO: ProcessCDR(1,14432297,1,1,2)
[2025-02-08 20:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432297', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432297', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:55:23] Production.INFO: ==11963== Releasing lock...
[2025-02-08 20:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:55:23] Production.INFO: 39 MB #Memory Used#
[2025-02-09 01:56:01] Production.INFO: ==12022== Lock acquired, processing the job...
[2025-02-09 01:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:56:01] Production.INFO: neon service started
[2025-02-09 01:56:01] Production.INFO: neon service started
[2025-02-09 01:56:01] Production.INFO: ==12022== Releasing lock...
[2025-02-09 01:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:56:02] Production.INFO: ==12026== Lock acquired, processing the job...
[2025-02-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:56:02] Production.INFO: ==12026== Releasing lock...
[2025-02-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:56:02] Production.INFO: ==12024== Lock acquired, processing the job...
[2025-02-08 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:56:02] Production.INFO: ==12024== Releasing lock...
[2025-02-08 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:56:03] Production.INFO: ==12035== Lock acquired, processing the job...
[2025-02-08 20:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:56:03] Production.INFO: ==12037== Lock acquired, processing the job...
[2025-02-08 20:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:56:03] Production.INFO: Account Balance Start.
[2025-02-08 20:56:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:56:03] Production.INFO: 117
[2025-02-08 20:56:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:56:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:56:03] Production.INFO: Total Charge 0
[2025-02-08 20:56:03] Production.INFO: CreateAllLog End
[2025-02-08 20:56:03] Production.INFO: ==12029== Lock acquired, processing the job...
[2025-02-08 20:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:56:03] Production.INFO: ==12031== Lock acquired, processing the job...
[2025-02-08 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:56:03] Production.INFO: ==12033== Lock acquired, processing the job...
[2025-02-08 20:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:56:04] Production.INFO: ==12039== Lock acquired, processing the job...
[2025-02-08 20:56:04] Production.ERROR: done
[2025-02-08 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:56:04] Production.INFO: Account Balance End.
[2025-02-08 20:56:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:56:04] Production.INFO: ==12035== Releasing lock...
[2025-02-08 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:56:04] Production.ERROR: done
[2025-02-08 20:56:04] Production.INFO: count ==21
[2025-02-08 20:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:56:04] Production.INFO: count ==21
[2025-02-08 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432301') start
[2025-02-08 20:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432301') end
[2025-02-08 20:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:56:04] Production.INFO: 1
[2025-02-08 20:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:56:04] Production.INFO: ==12039== Releasing lock...
[2025-02-08 20:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:56:04] Production.INFO: ==12031== Releasing lock...
[2025-02-08 20:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:56:05
[end_date_ymd] => 2025-02-08 20:56:05
[RateCDR] => 1
)
[2025-02-08 20:56: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` >= '2025-02-08 17:56:05' and `end` < '2025-02-08 20:56: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 ,'')
[2025-02-08 20:56:13] Production.ERROR: CronJobId end10
[2025-02-08 20:56:13] Production.INFO: ==12033== Releasing lock...
[2025-02-08 20:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:56:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:56:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:56:15] Production.INFO: call_cost start
[2025-02-08 20:56:15] Production.INFO: call_cost end
[2025-02-08 20:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:56:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:56:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:56:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:56:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:56:16] Production.INFO: ==12029== Releasing lock...
[2025-02-08 20:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:56:18] Production.INFO: count ==1518
[2025-02-08 20:56:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:56:05 - End Time 2025-02-08 20:56:05
[2025-02-08 20:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432302', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432302', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432302', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432302', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:56:18] Production.INFO: ProcessCDR(1,14432302,1,1,2)
[2025-02-08 20:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432302', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432302', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:56:22] Production.INFO: ==12037== Releasing lock...
[2025-02-08 20:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:56:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 01:57:02] Production.INFO: ==12099== Lock acquired, processing the job...
[2025-02-09 01:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:57:02] Production.INFO: neon service started
[2025-02-09 01:57:02] Production.INFO: neon service started
[2025-02-09 01:57:02] Production.INFO: ==12099== Releasing lock...
[2025-02-09 01:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:57:02] Production.INFO: ==12101== Lock acquired, processing the job...
[2025-02-08 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:57:02] Production.INFO: ==12103== Lock acquired, processing the job...
[2025-02-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 20:57:02] Production.INFO: ==12101== Releasing lock...
[2025-02-08 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:57:02] Production.INFO: ==12103== Releasing lock...
[2025-02-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:57:03] Production.INFO: ==12110== Lock acquired, processing the job...
[2025-02-08 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:57:03] Production.INFO: ==12106== Lock acquired, processing the job...
[2025-02-08 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:57:03] Production.INFO: ==12116== Lock acquired, processing the job...
[2025-02-08 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:57:04] Production.INFO: ==12108== Lock acquired, processing the job...
[2025-02-08 20:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:57:04] Production.INFO: count ==21
[2025-02-08 20:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:57:04] Production.INFO: count ==21
[2025-02-08 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432303') start
[2025-02-08 20:57:04] Production.INFO: ==12112== Lock acquired, processing the job...
[2025-02-08 20:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:57:04] Production.INFO: ==12114== Lock acquired, processing the job...
[2025-02-08 20:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432303') end
[2025-02-08 20:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:57:04] Production.INFO: 1
[2025-02-08 20:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:57:04] Production.INFO: Account Balance Start.
[2025-02-08 20:57:04] Production.INFO: CreateAllLog Start
[2025-02-08 20:57:04] Production.INFO: 117
[2025-02-08 20:57:04] Production.INFO: Date 2025-02-08
[2025-02-08 20:57:04] Production.INFO: Reseller ==> 0
[2025-02-08 20:57:04] Production.INFO: ==12116== Releasing lock...
[2025-02-08 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:57:04] Production.INFO: ==12108== Releasing lock...
[2025-02-08 20:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:57:04] Production.INFO: Total Charge 0
[2025-02-08 20:57:04] Production.INFO: CreateAllLog End
[2025-02-08 20:57:04] Production.ERROR: done
[2025-02-08 20:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:57:04] Production.INFO: Account Balance End.
[2025-02-08 20:57:04] Production.ERROR: done
[2025-02-08 20:57:05] Production.ERROR: CronJobId end 12
[2025-02-08 20:57:05] Production.INFO: ==12112== Releasing lock...
[2025-02-08 20:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:57:05
[end_date_ymd] => 2025-02-08 20:57:05
[RateCDR] => 1
)
[2025-02-08 20:57: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` >= '2025-02-08 17:57:05' and `end` < '2025-02-08 20:57: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 ,'')
[2025-02-08 20:57:12] Production.ERROR: CronJobId end10
[2025-02-08 20:57:12] Production.INFO: ==12110== Releasing lock...
[2025-02-08 20:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:57:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:57:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:57:14] Production.INFO: call_cost start
[2025-02-08 20:57:14] Production.INFO: call_cost end
[2025-02-08 20:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:57:15] Production.INFO: ==12106== Releasing lock...
[2025-02-08 20:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:57:18] Production.INFO: count ==1517
[2025-02-08 20:57:19] Production.ERROR: pbx CDR StartTime 2025-02-08 17:57:05 - End Time 2025-02-08 20:57:05
[2025-02-08 20:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432307', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432307', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432307', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432307', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:57:19] Production.INFO: ProcessCDR(1,14432307,1,1,2)
[2025-02-08 20:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432307', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432307', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:57:22] Production.INFO: ==12114== Releasing lock...
[2025-02-08 20:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:57:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 01:58:01] Production.INFO: ==12174== Lock acquired, processing the job...
[2025-02-09 01:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:58:01] Production.INFO: neon service started
[2025-02-09 01:58:01] Production.INFO: neon service started
[2025-02-09 01:58:01] Production.INFO: ==12174== Releasing lock...
[2025-02-09 01:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:58:01] Production.INFO: ==12178== Lock acquired, processing the job...
[2025-02-09 01:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:58:02] Production.INFO: ==12178== Releasing lock...
[2025-02-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:58:02] Production.INFO: ==12176== Lock acquired, processing the job...
[2025-02-08 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:58:02] Production.INFO: ==12176== Releasing lock...
[2025-02-08 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 20:58:03] Production.INFO: ==12187== Lock acquired, processing the job...
[2025-02-08 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:58:03] Production.INFO: ==12189== Lock acquired, processing the job...
[2025-02-08 20:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:58:03] Production.INFO: ==12181== Lock acquired, processing the job...
[2025-02-08 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:58:03] Production.INFO: ==12183== Lock acquired, processing the job...
[2025-02-08 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:58:03] Production.INFO: ==12185== Lock acquired, processing the job...
[2025-02-08 20:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:58:03] Production.INFO: Account Balance Start.
[2025-02-08 20:58:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:58:03] Production.INFO: 117
[2025-02-08 20:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:58:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:58:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:58:03] Production.INFO: Total Charge 0
[2025-02-08 20:58:03] Production.INFO: ==12191== Lock acquired, processing the job...
[2025-02-08 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:58:03] Production.INFO: CreateAllLog End
[2025-02-08 20:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:58:03] Production.ERROR: done
[2025-02-08 20:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:58:03] Production.INFO: count ==21
[2025-02-08 20:58:03] Production.INFO: Account Balance End.
[2025-02-08 20:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:58:04] Production.INFO: count ==21
[2025-02-08 20:58:04] Production.ERROR: done
[2025-02-08 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432311') start
[2025-02-08 20:58:04] Production.INFO: ==12183== Releasing lock...
[2025-02-08 20:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:58:04] Production.ERROR: CronJobId end 12
[2025-02-08 20:58:04] Production.INFO: ==12187== Releasing lock...
[2025-02-08 20:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432311') end
[2025-02-08 20:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:58:04] Production.INFO: 1
[2025-02-08 20:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:58:04] Production.INFO: ==12191== Releasing lock...
[2025-02-08 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:58:05
[end_date_ymd] => 2025-02-08 20:58:05
[RateCDR] => 1
)
[2025-02-08 20:58: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` >= '2025-02-08 17:58:05' and `end` < '2025-02-08 20:58: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 ,'')
[2025-02-08 20:58:13] Production.ERROR: CronJobId end10
[2025-02-08 20:58:13] Production.INFO: ==12185== Releasing lock...
[2025-02-08 20:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:58:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:58:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:58:15] Production.INFO: call_cost start
[2025-02-08 20:58:15] Production.INFO: call_cost end
[2025-02-08 20:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:58:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:58:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:58:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:58:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:58:16] Production.INFO: ==12181== Releasing lock...
[2025-02-08 20:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:58:18] Production.INFO: count ==1542
[2025-02-08 20:58:18] Production.ERROR: pbx CDR StartTime 2025-02-08 17:58:05 - End Time 2025-02-08 20:58:05
[2025-02-08 20:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432312', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432312', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432312', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432312', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:58:18] Production.INFO: ProcessCDR(1,14432312,1,1,2)
[2025-02-08 20:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432312', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432312', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:58:22] Production.INFO: ==12189== Releasing lock...
[2025-02-08 20:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:58:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 01:59:01] Production.INFO: ==12248== Lock acquired, processing the job...
[2025-02-09 01:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 01:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 01:59:01] Production.INFO: neon service started
[2025-02-09 01:59:02] Production.INFO: neon service started
[2025-02-09 01:59:02] Production.INFO: ==12248== Releasing lock...
[2025-02-09 01:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 01:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 20:59:02] Production.INFO: ==12250== Lock acquired, processing the job...
[2025-02-08 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 20:59:02] Production.INFO: ==12250== Releasing lock...
[2025-02-08 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 20:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:59:02] Production.INFO: ==12252== Lock acquired, processing the job...
[2025-02-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:59:02] Production.INFO: ==12252== Releasing lock...
[2025-02-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 01:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 20:59:03] Production.INFO: ==12261== Lock acquired, processing the job...
[2025-02-08 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 20:59:03] Production.INFO: Account Balance Start.
[2025-02-08 20:59:03] Production.INFO: CreateAllLog Start
[2025-02-08 20:59:03] Production.INFO: 117
[2025-02-08 20:59:03] Production.INFO: Date 2025-02-08
[2025-02-08 20:59:03] Production.INFO: Reseller ==> 0
[2025-02-08 20:59:03] Production.INFO: Total Charge 0
[2025-02-08 20:59:03] Production.INFO: CreateAllLog End
[2025-02-08 20:59:03] Production.INFO: Account Balance End.
[2025-02-08 20:59:03] Production.ERROR: CronJobId end 12
[2025-02-08 20:59:03] Production.INFO: ==12261== Releasing lock...
[2025-02-08 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 20:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 20:59:04] Production.INFO: ==12255== Lock acquired, processing the job...
[2025-02-08 20:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 20:59:04] Production.INFO: ==12257== Lock acquired, processing the job...
[2025-02-08 20:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 20:59:04] Production.INFO: ==12259== Lock acquired, processing the job...
[2025-02-08 20:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 20:59:04] Production.INFO: ==12265== Lock acquired, processing the job...
[2025-02-08 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 20:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 20:59:04] Production.INFO: ==12263== Lock acquired, processing the job...
[2025-02-08 20:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 20:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 20:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 20:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 20:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 20:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 20:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:59:04] Production.INFO: count ==21
[2025-02-08 20:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 20:59:04] Production.INFO: count ==21
[2025-02-08 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432316') start
[2025-02-08 20:59:04] Production.INFO: ==12257== Releasing lock...
[2025-02-08 20:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 20:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432316') end
[2025-02-08 20:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 20:59:04] Production.INFO: 1
[2025-02-08 20:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 20:59:04] Production.INFO: ==12265== Releasing lock...
[2025-02-08 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 20:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 20:59:04] Production.ERROR: done
[2025-02-08 20:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 20:59:04] Production.ERROR: done
[2025-02-08 20:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 17:59:05
[end_date_ymd] => 2025-02-08 20:59:05
[RateCDR] => 1
)
[2025-02-08 20:59: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` >= '2025-02-08 17:59:05' and `end` < '2025-02-08 20:59: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 ,'')
[2025-02-08 20:59:13] Production.ERROR: CronJobId end10
[2025-02-08 20:59:13] Production.INFO: ==12259== Releasing lock...
[2025-02-08 20:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 20:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 20:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 20:59:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 20:59:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 20:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 20:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 20:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 20:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 20:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 20:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 20:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 20:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 20:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 20:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 20:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 20:59:15] Production.INFO: call_cost start
[2025-02-08 20:59:15] Production.INFO: call_cost end
[2025-02-08 20:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 20:59:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 20:59:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 20:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 20:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 20:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 20:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 20:59:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 20:59:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 20:59:16] Production.INFO: ==12255== Releasing lock...
[2025-02-08 20:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 20:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 20:59:19] Production.INFO: count ==1581
[2025-02-08 20:59:20] Production.ERROR: pbx CDR StartTime 2025-02-08 17:59:05 - End Time 2025-02-08 20:59:05
[2025-02-08 20:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 20:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432317', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432317', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432317', 'tblTempVendorCDR_20' ) start
[2025-02-08 20:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432317', 'tblTempVendorCDR_20' ) end
[2025-02-08 20:59:20] Production.INFO: ProcessCDR(1,14432317,1,1,2)
[2025-02-08 20:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 20:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 20:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432317', 'tblTempUsageDetail_20' ) start
[2025-02-08 20:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432317', 'tblTempUsageDetail_20' ) end
[2025-02-08 20:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 20:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 20:59:23] Production.INFO: ==12263== Releasing lock...
[2025-02-08 20:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 20:59:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 02:00:01] Production.INFO: ==12360== Lock acquired, processing the job...
[2025-02-09 02:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:00:01] Production.INFO: neon service started
[2025-02-09 02:00:01] Production.INFO: neon service started
[2025-02-09 02:00:01] Production.INFO: ==12360== Releasing lock...
[2025-02-09 02:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:00:02] Production.INFO: ==12362== Lock acquired, processing the job...
[2025-02-08 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:00:02] Production.INFO: ==12364== Lock acquired, processing the job...
[2025-02-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:00:02] Production.INFO: ==12364== Releasing lock...
[2025-02-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:00:02] Production.INFO: ==12362== Releasing lock...
[2025-02-08 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:00:03] Production.INFO: ==12369== Lock acquired, processing the job...
[2025-02-08 21:00:03] Production.INFO: ==12367== Lock acquired, processing the job...
[2025-02-08 21:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 21:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 21:00:03] Production.INFO: ==12377== Lock acquired, processing the job...
[2025-02-08 21:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:00:03] Production.INFO: ==12373== Lock acquired, processing the job...
[2025-02-08 21:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:00:04] Production.ERROR: CronJob PID - 12369
[2025-02-08 21:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 21:00:04] Production.ERROR: CronJob ID - 5
[2025-02-08 21:00:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:00:00
[2025-02-08 21:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:00:04] Production.INFO: ==12371== Lock acquired, processing the job...
[2025-02-08 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 21:00:04] Production.INFO: ==12367== Releasing lock...
[2025-02-08 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 21:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:00:04] Production.INFO: ==12375== Lock acquired, processing the job...
[2025-02-08 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:00:04] Production.INFO: ==12379== Lock acquired, processing the job...
[2025-02-08 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 21:00:04] Production.INFO: ==12381== Lock acquired, processing the job...
[2025-02-08 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:00:04] Production.INFO: Account Balance Start.
[2025-02-08 21:00:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:00:04] Production.INFO: 117
[2025-02-08 21:00:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:00:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:00:04] Production.INFO: count ==21
[2025-02-08 21:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:00:04] Production.INFO: count ==21
[2025-02-08 21:00:04] Production.INFO: Total Charge 0
[2025-02-08 21:00:04] Production.INFO: ==12371== Releasing lock...
[2025-02-08 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:00:04] Production.INFO: CreateAllLog End
[2025-02-08 21:00:04] Production.ERROR: done
[2025-02-08 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432321') start
[2025-02-08 21:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:00:04] Production.ERROR: done
[2025-02-08 21:00:04] Production.ERROR: done
[2025-02-08 21:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432321') end
[2025-02-08 21:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:00:05] Production.INFO: 1
[2025-02-08 21:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 21:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432322', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 21:00:05] Production.INFO: Account Balance End.
[2025-02-08 21:00:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:00:05] Production.INFO: ==12375== Releasing lock...
[2025-02-08 21:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:00:05] Production.INFO: ==12381== Releasing lock...
[2025-02-08 21:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:00:06
[end_date_ymd] => 2025-02-08 21:00:06
[RateCDR] => 1
)
[2025-02-08 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-02-08 18:00:06' and `end` < '2025-02-08 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-02-08 21:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432322', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 21:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 21:00:10] Production.INFO: ProcessCDR(1,14432322,1,1,2)
[2025-02-08 21:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432322,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432322,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:00:10] Production.INFO: ==12379== Releasing lock...
[2025-02-08 21:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 21:00:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 21:00:15] Production.ERROR: CronJobId end10
[2025-02-08 21:00:15] Production.INFO: ==12373== Releasing lock...
[2025-02-08 21:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:00:17] Production.INFO: call_cost start
[2025-02-08 21:00:17] Production.INFO: call_cost end
[2025-02-08 21:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:00:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:00:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:00:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:00:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:00:18] Production.INFO: ==12369== Releasing lock...
[2025-02-08 21:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:00:20] Production.INFO: count ==1629
[2025-02-08 21:00:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:00:06 - End Time 2025-02-08 21:00:06
[2025-02-08 21:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432323', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432323', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432323', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432323', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:00:20] Production.INFO: ProcessCDR(1,14432323,1,1,2)
[2025-02-08 21:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432323', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432323', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:00:25] Production.INFO: ==12377== Releasing lock...
[2025-02-08 21:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:00:25] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 02:01:01] Production.INFO: ==12449== Lock acquired, processing the job...
[2025-02-09 02:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:01:01] Production.INFO: neon service started
[2025-02-09 02:01:01] Production.INFO: neon service started
[2025-02-09 02:01:01] Production.INFO: ==12449== Releasing lock...
[2025-02-09 02:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:01:02] Production.INFO: ==12456== Lock acquired, processing the job...
[2025-02-08 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:01:02] Production.INFO: ==12456== Releasing lock...
[2025-02-08 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:01:02] Production.INFO: ==12458== Lock acquired, processing the job...
[2025-02-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:01:03] Production.INFO: ==12458== Releasing lock...
[2025-02-09 02:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:01:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:01:03] Production.INFO: ==12462== Lock acquired, processing the job...
[2025-02-08 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:01:03] Production.INFO: ==12470== Lock acquired, processing the job...
[2025-02-08 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:01:03] Production.INFO: ==12460== Lock acquired, processing the job...
[2025-02-08 21:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:01:03] Production.INFO: count ==21
[2025-02-08 21:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:01:03] Production.INFO: count ==21
[2025-02-08 21:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432324') start
[2025-02-08 21:01:04] Production.INFO: ==12464== Lock acquired, processing the job...
[2025-02-08 21:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:01:04] Production.INFO: ==12466== Lock acquired, processing the job...
[2025-02-08 21:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:01:04] Production.INFO: ==12468== Lock acquired, processing the job...
[2025-02-08 21:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:01:04] Production.INFO: Account Balance Start.
[2025-02-08 21:01:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:01:04] Production.INFO: 117
[2025-02-08 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432324') end
[2025-02-08 21:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:01:04] Production.INFO: 1
[2025-02-08 21:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:01:04] Production.INFO: ==12462== Releasing lock...
[2025-02-08 21:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:01:04] Production.INFO: ==12470== Releasing lock...
[2025-02-08 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:01:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:01:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:01:04] Production.INFO: Total Charge 0
[2025-02-08 21:01:04] Production.INFO: CreateAllLog End
[2025-02-08 21:01:04] Production.ERROR: done
[2025-02-08 21:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:01:04] Production.INFO: Account Balance End.
[2025-02-08 21:01:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:01:04] Production.INFO: ==12466== Releasing lock...
[2025-02-08 21:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:01:04] Production.ERROR: done
[2025-02-08 21:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:01:06
[end_date_ymd] => 2025-02-08 21:01:06
[RateCDR] => 1
)
[2025-02-08 21:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 18:01:06' and `end` < '2025-02-08 21:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-08 21:01:14] Production.ERROR: CronJobId end10
[2025-02-08 21:01:14] Production.INFO: ==12464== Releasing lock...
[2025-02-08 21:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:01:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:01:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:01:16] Production.INFO: call_cost start
[2025-02-08 21:01:16] Production.INFO: call_cost end
[2025-02-08 21:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:01:17] Production.INFO: ==12460== Releasing lock...
[2025-02-08 21:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:01:19] Production.INFO: count ==1704
[2025-02-08 21:01:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:01:06 - End Time 2025-02-08 21:01:06
[2025-02-08 21:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432328', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432328', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432328', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432328', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:01:19] Production.INFO: ProcessCDR(1,14432328,1,1,2)
[2025-02-08 21:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432328', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432328', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:01:23] Production.INFO: ==12468== Releasing lock...
[2025-02-08 21:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:01:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 02:02:01] Production.INFO: ==12526== Lock acquired, processing the job...
[2025-02-09 02:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:02:01] Production.INFO: neon service started
[2025-02-09 02:02:01] Production.INFO: neon service started
[2025-02-09 02:02:01] Production.INFO: ==12526== Releasing lock...
[2025-02-09 02:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:02:01] Production.INFO: ==12528== Lock acquired, processing the job...
[2025-02-08 21:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:02:02] Production.INFO: ==12528== Releasing lock...
[2025-02-08 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:02:02] Production.INFO: ==12530== Lock acquired, processing the job...
[2025-02-09 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:02:02] Production.INFO: ==12530== Releasing lock...
[2025-02-09 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:02:03] Production.INFO: ==12537== Lock acquired, processing the job...
[2025-02-08 21:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:02:03] Production.INFO: ==12543== Lock acquired, processing the job...
[2025-02-08 21:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:02:03] Production.INFO: ==12533== Lock acquired, processing the job...
[2025-02-08 21:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:02:03] Production.INFO: ==12535== Lock acquired, processing the job...
[2025-02-08 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:02:03] Production.INFO: ==12539== Lock acquired, processing the job...
[2025-02-08 21:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:02:03] Production.INFO: ==12541== Lock acquired, processing the job...
[2025-02-08 21:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:02:03] Production.INFO: Account Balance Start.
[2025-02-08 21:02:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:02:03] Production.INFO: 117
[2025-02-08 21:02:03] Production.INFO: count ==21
[2025-02-08 21:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:02:03] Production.INFO: count ==21
[2025-02-08 21:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432329') start
[2025-02-08 21:02:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:02:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:02:03] Production.INFO: Total Charge 0
[2025-02-08 21:02:03] Production.INFO: CreateAllLog End
[2025-02-08 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432329') end
[2025-02-08 21:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:02:04] Production.INFO: 1
[2025-02-08 21:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:02:04] Production.INFO: ==12535== Releasing lock...
[2025-02-08 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:02:04] Production.INFO: ==12543== Releasing lock...
[2025-02-08 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:02:04] Production.ERROR: done
[2025-02-08 21:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:02:04] Production.INFO: Account Balance End.
[2025-02-08 21:02:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:02:04] Production.INFO: ==12539== Releasing lock...
[2025-02-08 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:02:04] Production.ERROR: done
[2025-02-08 21:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:02:05
[end_date_ymd] => 2025-02-08 21:02:05
[RateCDR] => 1
)
[2025-02-08 21:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 18:02:05' and `end` < '2025-02-08 21:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-08 21:02:11] Production.ERROR: CronJobId end10
[2025-02-08 21:02:11] Production.INFO: ==12537== Releasing lock...
[2025-02-08 21:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:02:15] Production.INFO: call_cost start
[2025-02-08 21:02:15] Production.INFO: call_cost end
[2025-02-08 21:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:02:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:02:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:02:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:02:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:02:16] Production.INFO: ==12533== Releasing lock...
[2025-02-08 21:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:02:20] Production.INFO: count ==1710
[2025-02-08 21:02:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:02:05 - End Time 2025-02-08 21:02:05
[2025-02-08 21:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432333', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432333', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432333', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432333', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:02:20] Production.INFO: ProcessCDR(1,14432333,1,1,2)
[2025-02-08 21:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432333', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432333', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:02:24] Production.INFO: ==12541== Releasing lock...
[2025-02-08 21:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:02:24] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 02:03:01] Production.INFO: ==12608== Lock acquired, processing the job...
[2025-02-09 02:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:03:01] Production.INFO: neon service started
[2025-02-09 02:03:01] Production.INFO: neon service started
[2025-02-09 02:03:01] Production.INFO: ==12608== Releasing lock...
[2025-02-09 02:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:03:02] Production.INFO: ==12610== Lock acquired, processing the job...
[2025-02-08 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:03:02] Production.INFO: ==12610== Releasing lock...
[2025-02-08 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:03:02] Production.INFO: ==12612== Lock acquired, processing the job...
[2025-02-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:03:02] Production.INFO: ==12612== Releasing lock...
[2025-02-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:03:03] Production.INFO: ==12619== Lock acquired, processing the job...
[2025-02-08 21:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:03:03] Production.INFO: ==12623== Lock acquired, processing the job...
[2025-02-08 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:03:03] Production.INFO: ==12615== Lock acquired, processing the job...
[2025-02-08 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:03:03] Production.INFO: ==12617== Lock acquired, processing the job...
[2025-02-08 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:03:03] Production.INFO: ==12621== Lock acquired, processing the job...
[2025-02-08 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:03:03] Production.INFO: ==12625== Lock acquired, processing the job...
[2025-02-08 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:03:03] Production.INFO: Account Balance Start.
[2025-02-08 21:03:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:03:03] Production.INFO: 117
[2025-02-08 21:03:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:03:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:03:04] Production.INFO: count ==21
[2025-02-08 21:03:04] Production.ERROR: done
[2025-02-08 21:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:03:04] Production.INFO: count ==21
[2025-02-08 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432337') start
[2025-02-08 21:03:04] Production.INFO: Total Charge 0
[2025-02-08 21:03:04] Production.INFO: CreateAllLog End
[2025-02-08 21:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432337') end
[2025-02-08 21:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:03:04] Production.INFO: 1
[2025-02-08 21:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:03:04] Production.INFO: ==12625== Releasing lock...
[2025-02-08 21:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:03:04] Production.INFO: ==12617== Releasing lock...
[2025-02-08 21:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:03:04] Production.ERROR: done
[2025-02-08 21:03:04] Production.INFO: Account Balance End.
[2025-02-08 21:03:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:03:04] Production.INFO: ==12621== Releasing lock...
[2025-02-08 21:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:03:05
[end_date_ymd] => 2025-02-08 21:03:05
[RateCDR] => 1
)
[2025-02-08 21:03: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` >= '2025-02-08 18:03:05' and `end` < '2025-02-08 21:03: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 ,'')
[2025-02-08 21:03:11] Production.ERROR: CronJobId end10
[2025-02-08 21:03:11] Production.INFO: ==12619== Releasing lock...
[2025-02-08 21:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:03:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:03:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:03:14] Production.INFO: call_cost start
[2025-02-08 21:03:14] Production.INFO: call_cost end
[2025-02-08 21:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:03:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:03:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:03:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:03:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:03:15] Production.INFO: ==12615== Releasing lock...
[2025-02-08 21:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:03:18] Production.INFO: count ==1712
[2025-02-08 21:03:18] Production.ERROR: pbx CDR StartTime 2025-02-08 18:03:05 - End Time 2025-02-08 21:03:05
[2025-02-08 21:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432338', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432338', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432338', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432338', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:03:18] Production.INFO: ProcessCDR(1,14432338,1,1,2)
[2025-02-08 21:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432338', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432338', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:03:23] Production.INFO: ==12623== Releasing lock...
[2025-02-08 21:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:03:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 02:04:01] Production.INFO: ==12687== Lock acquired, processing the job...
[2025-02-09 02:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:04:01] Production.INFO: neon service started
[2025-02-09 02:04:01] Production.INFO: neon service started
[2025-02-09 02:04:01] Production.INFO: ==12687== Releasing lock...
[2025-02-09 02:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:04:01] Production.INFO: ==12689== Lock acquired, processing the job...
[2025-02-08 21:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:04:02] Production.INFO: ==12689== Releasing lock...
[2025-02-08 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:04:02] Production.INFO: ==12691== Lock acquired, processing the job...
[2025-02-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:04:02] Production.INFO: ==12691== Releasing lock...
[2025-02-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:04:03] Production.INFO: ==12701== Lock acquired, processing the job...
[2025-02-08 21:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:04:03] Production.INFO: ==12703== Lock acquired, processing the job...
[2025-02-08 21:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:04:03] Production.INFO: ==12693== Lock acquired, processing the job...
[2025-02-08 21:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:04:03] Production.INFO: ==12695== Lock acquired, processing the job...
[2025-02-08 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:04:03] Production.INFO: ==12697== Lock acquired, processing the job...
[2025-02-08 21:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:04:03] Production.INFO: ==12699== Lock acquired, processing the job...
[2025-02-08 21:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:04:03] Production.INFO: count ==21
[2025-02-08 21:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:04:03] Production.INFO: count ==21
[2025-02-08 21:04:03] Production.INFO: Account Balance Start.
[2025-02-08 21:04:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:04:03] Production.INFO: 117
[2025-02-08 21:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432339') start
[2025-02-08 21:04:03] Production.ERROR: done
[2025-02-08 21:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:04:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:04:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:04:03] Production.INFO: Total Charge 0
[2025-02-08 21:04:03] Production.INFO: CreateAllLog End
[2025-02-08 21:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432339') end
[2025-02-08 21:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:04:03] Production.INFO: 1
[2025-02-08 21:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:04:03] Production.INFO: ==12703== Releasing lock...
[2025-02-08 21:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:04:04] Production.INFO: ==12695== Releasing lock...
[2025-02-08 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:04:04] Production.ERROR: done
[2025-02-08 21:04:04] Production.INFO: Account Balance End.
[2025-02-08 21:04:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:04:04] Production.INFO: ==12699== Releasing lock...
[2025-02-08 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:04:05
[end_date_ymd] => 2025-02-08 21:04:05
[RateCDR] => 1
)
[2025-02-08 21:04: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` >= '2025-02-08 18:04:05' and `end` < '2025-02-08 21:04: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 ,'')
[2025-02-08 21:04:11] Production.ERROR: CronJobId end10
[2025-02-08 21:04:11] Production.INFO: ==12697== Releasing lock...
[2025-02-08 21:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:04:14] Production.INFO: call_cost start
[2025-02-08 21:04:14] Production.INFO: call_cost end
[2025-02-08 21:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:04:15] Production.INFO: ==12693== Releasing lock...
[2025-02-08 21:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:04:18] Production.INFO: count ==1719
[2025-02-08 21:04:18] Production.ERROR: pbx CDR StartTime 2025-02-08 18:04:05 - End Time 2025-02-08 21:04:05
[2025-02-08 21:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432343', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432343', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432343', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432343', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:04:18] Production.INFO: ProcessCDR(1,14432343,1,1,2)
[2025-02-08 21:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432343', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432343', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:04:22] Production.INFO: ==12701== Releasing lock...
[2025-02-08 21:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:04:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 02:05:01] Production.INFO: ==12763== Lock acquired, processing the job...
[2025-02-09 02:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:05:01] Production.INFO: neon service started
[2025-02-09 02:05:01] Production.INFO: neon service started
[2025-02-09 02:05:01] Production.INFO: ==12763== Releasing lock...
[2025-02-09 02:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:05:02] Production.INFO: ==12768== Lock acquired, processing the job...
[2025-02-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:05:02] Production.INFO: ==12768== Releasing lock...
[2025-02-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:05:02] Production.INFO: ==12766== Lock acquired, processing the job...
[2025-02-08 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:05:02] Production.INFO: ==12766== Releasing lock...
[2025-02-08 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:05:03] Production.INFO: ==12774== Lock acquired, processing the job...
[2025-02-08 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:05:03] Production.INFO: ==12780== Lock acquired, processing the job...
[2025-02-08 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:05:03] Production.INFO: ==12770== Lock acquired, processing the job...
[2025-02-08 21:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:05:03] Production.INFO: count ==21
[2025-02-08 21:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:05:04] Production.INFO: count ==21
[2025-02-08 21:05:04] Production.INFO: ==12772== Lock acquired, processing the job...
[2025-02-08 21:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432344') start
[2025-02-08 21:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:05:04] Production.INFO: ==12776== Lock acquired, processing the job...
[2025-02-08 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432344') end
[2025-02-08 21:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:05:04] Production.INFO: 1
[2025-02-08 21:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:05:04] Production.INFO: ==12778== Lock acquired, processing the job...
[2025-02-08 21:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:05:04] Production.INFO: ==12780== Releasing lock...
[2025-02-08 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:05:04] Production.INFO: Account Balance Start.
[2025-02-08 21:05:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:05:04] Production.INFO: 117
[2025-02-08 21:05:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:05:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:05:04] Production.INFO: Total Charge 0
[2025-02-08 21:05:04] Production.INFO: CreateAllLog End
[2025-02-08 21:05:04] Production.ERROR: done
[2025-02-08 21:05:04] Production.INFO: ==12772== Releasing lock...
[2025-02-08 21:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:05:04] Production.INFO: Account Balance End.
[2025-02-08 21:05:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:05:04] Production.INFO: ==12776== Releasing lock...
[2025-02-08 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:05:04] Production.ERROR: done
[2025-02-08 21:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:05:05
[end_date_ymd] => 2025-02-08 21:05:05
[RateCDR] => 1
)
[2025-02-08 21:05: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` >= '2025-02-08 18:05:05' and `end` < '2025-02-08 21:05: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 ,'')
[2025-02-08 21:05:14] Production.ERROR: CronJobId end10
[2025-02-08 21:05:14] Production.INFO: ==12774== Releasing lock...
[2025-02-08 21:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:05:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:05:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:05:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:05:15] Production.INFO: call_cost start
[2025-02-08 21:05:15] Production.INFO: call_cost end
[2025-02-08 21:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:05:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:05:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:05:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:05:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:05:16] Production.INFO: ==12770== Releasing lock...
[2025-02-08 21:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:05:18] Production.INFO: count ==1740
[2025-02-08 21:05:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:05:05 - End Time 2025-02-08 21:05:05
[2025-02-08 21:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432348', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432348', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432348', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432348', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:05:19] Production.INFO: ProcessCDR(1,14432348,1,1,2)
[2025-02-08 21:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432348', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432348', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:05:23] Production.INFO: ==12778== Releasing lock...
[2025-02-08 21:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:05:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 02:06:02] Production.INFO: ==12845== Lock acquired, processing the job...
[2025-02-09 02:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:06:02] Production.INFO: neon service started
[2025-02-09 02:06:02] Production.INFO: neon service started
[2025-02-09 02:06:02] Production.INFO: ==12845== Releasing lock...
[2025-02-09 02:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:06:02] Production.INFO: ==12848== Lock acquired, processing the job...
[2025-02-08 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:06:03] Production.INFO: ==12848== Releasing lock...
[2025-02-08 21:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:06:03] Production.INFO: ==12850== Lock acquired, processing the job...
[2025-02-09 02:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:06:03] Production.INFO: ==12850== Releasing lock...
[2025-02-09 02:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:06:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:06:04] Production.INFO: ==12854== Lock acquired, processing the job...
[2025-02-08 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:06:04] Production.INFO: ==12860== Lock acquired, processing the job...
[2025-02-08 21:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:06:04] Production.INFO: ==12852== Lock acquired, processing the job...
[2025-02-08 21:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:06:04] Production.INFO: ==12856== Lock acquired, processing the job...
[2025-02-08 21:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:06:04] Production.INFO: ==12858== Lock acquired, processing the job...
[2025-02-08 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:06:04] Production.INFO: ==12862== Lock acquired, processing the job...
[2025-02-08 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:06:04] Production.ERROR: done
[2025-02-08 21:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:06:04] Production.INFO: ==12854== Releasing lock...
[2025-02-08 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:06:04] Production.INFO: Account Balance Start.
[2025-02-08 21:06:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:06:04] Production.INFO: 117
[2025-02-08 21:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:06:04] Production.INFO: count ==21
[2025-02-08 21:06:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:06:04] Production.INFO: count ==21
[2025-02-08 21:06:04] Production.ERROR: done
[2025-02-08 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432352') start
[2025-02-08 21:06:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:06:04] Production.INFO: Total Charge 0
[2025-02-08 21:06:04] Production.INFO: CreateAllLog End
[2025-02-08 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432352') end
[2025-02-08 21:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:06:04] Production.INFO: 1
[2025-02-08 21:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:06:04] Production.INFO: ==12862== Releasing lock...
[2025-02-08 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:06:05] Production.INFO: Account Balance End.
[2025-02-08 21:06:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:06:05] Production.INFO: ==12858== Releasing lock...
[2025-02-08 21:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:06:06
[end_date_ymd] => 2025-02-08 21:06:06
[RateCDR] => 1
)
[2025-02-08 21:06: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-02-08 18:06:06' and `end` < '2025-02-08 21:06: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-02-08 21:06:13] Production.ERROR: CronJobId end10
[2025-02-08 21:06:13] Production.INFO: ==12856== Releasing lock...
[2025-02-08 21:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:06:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:06:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:06:15] Production.INFO: call_cost start
[2025-02-08 21:06:15] Production.INFO: call_cost end
[2025-02-08 21:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:06:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:06:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:06:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:06:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:06:16] Production.INFO: ==12852== Releasing lock...
[2025-02-08 21:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:06:19] Production.INFO: count ==1742
[2025-02-08 21:06:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:06:06 - End Time 2025-02-08 21:06:06
[2025-02-08 21:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432353', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432353', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432353', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432353', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:06:19] Production.INFO: ProcessCDR(1,14432353,1,1,2)
[2025-02-08 21:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432353', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432353', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:06:23] Production.INFO: ==12860== Releasing lock...
[2025-02-08 21:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:06:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 02:07:01] Production.INFO: ==12925== Lock acquired, processing the job...
[2025-02-09 02:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:07:01] Production.INFO: neon service started
[2025-02-09 02:07:01] Production.INFO: neon service started
[2025-02-09 02:07:01] Production.INFO: ==12925== Releasing lock...
[2025-02-09 02:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:07:02] Production.INFO: ==12927== Lock acquired, processing the job...
[2025-02-08 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:07:02] Production.INFO: ==12927== Releasing lock...
[2025-02-08 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:07:02] Production.INFO: ==12929== Lock acquired, processing the job...
[2025-02-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:07:02] Production.INFO: ==12929== Releasing lock...
[2025-02-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:07:03] Production.INFO: ==12935== Lock acquired, processing the job...
[2025-02-08 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:07:03] Production.INFO: ==12941== Lock acquired, processing the job...
[2025-02-08 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:07:03] Production.INFO: ==12931== Lock acquired, processing the job...
[2025-02-08 21:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:07:03] Production.INFO: count ==21
[2025-02-08 21:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:07:03] Production.INFO: ==12933== Lock acquired, processing the job...
[2025-02-08 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:07:03] Production.INFO: count ==21
[2025-02-08 21:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432354') start
[2025-02-08 21:07:03] Production.INFO: ==12937== Lock acquired, processing the job...
[2025-02-08 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:07:03] Production.INFO: ==12939== Lock acquired, processing the job...
[2025-02-08 21:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:07:03] Production.INFO: Account Balance Start.
[2025-02-08 21:07:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432354') end
[2025-02-08 21:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:07:03] Production.INFO: 1
[2025-02-08 21:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:07:03] Production.INFO: 117
[2025-02-08 21:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:07:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:07:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:07:03] Production.INFO: Total Charge 0
[2025-02-08 21:07:03] Production.INFO: CreateAllLog End
[2025-02-08 21:07:03] Production.INFO: ==12941== Releasing lock...
[2025-02-08 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:07:04] Production.INFO: ==12933== Releasing lock...
[2025-02-08 21:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:07:04] Production.ERROR: done
[2025-02-08 21:07:04] Production.INFO: Account Balance End.
[2025-02-08 21:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:07:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:07:04] Production.INFO: ==12937== Releasing lock...
[2025-02-08 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:07:04] Production.ERROR: done
[2025-02-08 21:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:07:05
[end_date_ymd] => 2025-02-08 21:07:05
[RateCDR] => 1
)
[2025-02-08 21:07: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` >= '2025-02-08 18:07:05' and `end` < '2025-02-08 21:07: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 ,'')
[2025-02-08 21:07:12] Production.ERROR: CronJobId end10
[2025-02-08 21:07:12] Production.INFO: ==12935== Releasing lock...
[2025-02-08 21:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:07:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:07:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:07:15] Production.INFO: call_cost start
[2025-02-08 21:07:15] Production.INFO: call_cost end
[2025-02-08 21:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:07:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:07:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:07:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:07:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:07:16] Production.INFO: ==12931== Releasing lock...
[2025-02-08 21:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:07:18] Production.INFO: count ==1737
[2025-02-08 21:07:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:07:05 - End Time 2025-02-08 21:07:05
[2025-02-08 21:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432358', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432358', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432358', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432358', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:07:19] Production.INFO: ProcessCDR(1,14432358,1,1,2)
[2025-02-08 21:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432358', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432358', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:07:22] Production.INFO: ==12939== Releasing lock...
[2025-02-08 21:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:07:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 02:08:02] Production.INFO: ==13002== Lock acquired, processing the job...
[2025-02-09 02:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:08:02] Production.INFO: neon service started
[2025-02-09 02:08:02] Production.INFO: neon service started
[2025-02-09 02:08:02] Production.INFO: ==13002== Releasing lock...
[2025-02-09 02:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:08:02] Production.INFO: ==13006== Lock acquired, processing the job...
[2025-02-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:08:02] Production.INFO: ==13006== Releasing lock...
[2025-02-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:08:02] Production.INFO: ==13004== Lock acquired, processing the job...
[2025-02-08 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:08:03] Production.INFO: ==13004== Releasing lock...
[2025-02-08 21:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:08:04] Production.INFO: ==13013== Lock acquired, processing the job...
[2025-02-08 21:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:08:04] Production.INFO: ==13017== Lock acquired, processing the job...
[2025-02-08 21:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:08:04] Production.INFO: ==13009== Lock acquired, processing the job...
[2025-02-08 21:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:08:04] Production.INFO: ==13011== Lock acquired, processing the job...
[2025-02-08 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:08:04] Production.INFO: ==13015== Lock acquired, processing the job...
[2025-02-08 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:08:04] Production.INFO: ==13019== Lock acquired, processing the job...
[2025-02-08 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:08:04] Production.ERROR: done
[2025-02-08 21:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:08:04] Production.INFO: Account Balance Start.
[2025-02-08 21:08:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:08:04] Production.INFO: 117
[2025-02-08 21:08:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:08:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:08:04] Production.ERROR: done
[2025-02-08 21:08:04] Production.INFO: Total Charge 0
[2025-02-08 21:08:04] Production.INFO: CreateAllLog End
[2025-02-08 21:08:04] Production.INFO: ==13011== Releasing lock...
[2025-02-08 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:08:04] Production.INFO: count ==21
[2025-02-08 21:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:08:04] Production.INFO: count ==21
[2025-02-08 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432363') start
[2025-02-08 21:08:05] Production.INFO: Account Balance End.
[2025-02-08 21:08:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432363') end
[2025-02-08 21:08:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:08:05] Production.INFO: 1
[2025-02-08 21:08:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:08:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:08:05] Production.INFO: ==13015== Releasing lock...
[2025-02-08 21:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:08:05] Production.INFO: ==13019== Releasing lock...
[2025-02-08 21:08:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:08:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:08:06
[end_date_ymd] => 2025-02-08 21:08:06
[RateCDR] => 1
)
[2025-02-08 21:08: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-02-08 18:08:06' and `end` < '2025-02-08 21:08: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-02-08 21:08:12] Production.ERROR: CronJobId end10
[2025-02-08 21:08:12] Production.INFO: ==13013== Releasing lock...
[2025-02-08 21:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:08:15] Production.INFO: call_cost start
[2025-02-08 21:08:15] Production.INFO: call_cost end
[2025-02-08 21:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:08:15] Production.INFO: ==13009== Releasing lock...
[2025-02-08 21:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:08:19] Production.INFO: count ==1755
[2025-02-08 21:08:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:08:06 - End Time 2025-02-08 21:08:06
[2025-02-08 21:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432362', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432362', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432362', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432362', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:08:19] Production.INFO: ProcessCDR(1,14432362,1,1,2)
[2025-02-08 21:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432362', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432362', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:08:23] Production.INFO: ==13017== Releasing lock...
[2025-02-08 21:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:08:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 02:09:01] Production.INFO: ==13079== Lock acquired, processing the job...
[2025-02-09 02:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:09:01] Production.INFO: neon service started
[2025-02-09 02:09:01] Production.INFO: neon service started
[2025-02-09 02:09:01] Production.INFO: ==13079== Releasing lock...
[2025-02-09 02:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:09:02] Production.INFO: ==13081== Lock acquired, processing the job...
[2025-02-08 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:09:02] Production.INFO: ==13081== Releasing lock...
[2025-02-08 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:09:02] Production.INFO: ==13083== Lock acquired, processing the job...
[2025-02-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:09:02] Production.INFO: ==13083== Releasing lock...
[2025-02-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:09:03] Production.INFO: ==13086== Lock acquired, processing the job...
[2025-02-08 21:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:09:03] Production.INFO: ==13088== Lock acquired, processing the job...
[2025-02-08 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:09:03] Production.INFO: ==13092== Lock acquired, processing the job...
[2025-02-08 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:09:03] Production.INFO: ==13094== Lock acquired, processing the job...
[2025-02-08 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:09:03] Production.INFO: ==13090== Lock acquired, processing the job...
[2025-02-08 21:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:09:03] Production.INFO: ==13096== Lock acquired, processing the job...
[2025-02-08 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:09:03] Production.INFO: Account Balance Start.
[2025-02-08 21:09:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:09:03] Production.INFO: 117
[2025-02-08 21:09:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:09:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:09:03] Production.INFO: Total Charge 0
[2025-02-08 21:09:03] Production.INFO: CreateAllLog End
[2025-02-08 21:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:09:03] Production.INFO: count ==21
[2025-02-08 21:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:09:04] Production.INFO: count ==21
[2025-02-08 21:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432367') start
[2025-02-08 21:09:04] Production.INFO: ==13088== Releasing lock...
[2025-02-08 21:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:09:04] Production.ERROR: done
[2025-02-08 21:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:09:04] Production.INFO: Account Balance End.
[2025-02-08 21:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432367') end
[2025-02-08 21:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:09:04] Production.INFO: 1
[2025-02-08 21:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:09:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:09:04] Production.INFO: ==13092== Releasing lock...
[2025-02-08 21:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:09:04] Production.ERROR: done
[2025-02-08 21:09:04] Production.INFO: ==13096== Releasing lock...
[2025-02-08 21:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:09:05
[end_date_ymd] => 2025-02-08 21:09:05
[RateCDR] => 1
)
[2025-02-08 21:09: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` >= '2025-02-08 18:09:05' and `end` < '2025-02-08 21:09: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 ,'')
[2025-02-08 21:09:12] Production.ERROR: CronJobId end10
[2025-02-08 21:09:12] Production.INFO: ==13090== Releasing lock...
[2025-02-08 21:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:09:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:09:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:09:15] Production.INFO: call_cost start
[2025-02-08 21:09:15] Production.INFO: call_cost end
[2025-02-08 21:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:09:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:09:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:09:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:09:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:09:16] Production.INFO: ==13086== Releasing lock...
[2025-02-08 21:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:09:18] Production.INFO: count ==1759
[2025-02-08 21:09:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:09:05 - End Time 2025-02-08 21:09:05
[2025-02-08 21:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432368', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432368', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432368', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432368', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:09:19] Production.INFO: ProcessCDR(1,14432368,1,1,2)
[2025-02-08 21:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432368', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432368', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:09:23] Production.INFO: ==13094== Releasing lock...
[2025-02-08 21:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:09:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 02:10:02] Production.INFO: ==13159== Lock acquired, processing the job...
[2025-02-09 02:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:10:02] Production.INFO: neon service started
[2025-02-09 02:10:02] Production.INFO: neon service started
[2025-02-09 02:10:02] Production.INFO: ==13159== Releasing lock...
[2025-02-09 02:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:10:02] Production.INFO: ==13163== Lock acquired, processing the job...
[2025-02-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:10:02] Production.INFO: ==13163== Releasing lock...
[2025-02-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:10:02] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-02-08 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:10:03] Production.INFO: ==13161== Releasing lock...
[2025-02-08 21:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:10:04] Production.INFO: ==13170== Lock acquired, processing the job...
[2025-02-08 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:10:04] Production.INFO: ==13166== Lock acquired, processing the job...
[2025-02-08 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 21:10:04] Production.INFO: ==13176== Lock acquired, processing the job...
[2025-02-08 21:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:10:04] Production.INFO: ==13168== Lock acquired, processing the job...
[2025-02-08 21:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:10:04] Production.INFO: ==13178== Lock acquired, processing the job...
[2025-02-08 21:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 21:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:10:04] Production.ERROR: CronJob PID - 13170
[2025-02-08 21:10:04] Production.ERROR: CronJob Title - Account Block
[2025-02-08 21:10:04] Production.ERROR: CronJob ID - 7
[2025-02-08 21:10:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:10:00
[2025-02-08 21:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:10:04] Production.ERROR: CronJob PID - 13176
[2025-02-08 21:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-08 21:10:04] Production.ERROR: CronJob ID - 16
[2025-02-08 21:10:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:10:00
[2025-02-08 21:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:10:04] Production.INFO: ==13172== Lock acquired, processing the job...
[2025-02-08 21:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:10:04] Production.INFO: ==13174== Lock acquired, processing the job...
[2025-02-08 21:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 21:10:04] Production.INFO: ==13166== Releasing lock...
[2025-02-08 21:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 21:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 21:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:10:04] Production.INFO: ==13170== Releasing lock...
[2025-02-08 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:10:04] Production.INFO: Account Balance Start.
[2025-02-08 21:10:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:10:04] Production.INFO: ==13180== Lock acquired, processing the job...
[2025-02-08 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:10:04] Production.INFO: 117
[2025-02-08 21:10:05] Production.ERROR: done
[2025-02-08 21:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:10:05] Production.INFO: Date 2025-02-08
[2025-02-08 21:10:05] Production.INFO: Reseller ==> 0
[2025-02-08 21:10:05] Production.INFO: Total Charge 0
[2025-02-08 21:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:10:05] Production.INFO: CreateAllLog End
[2025-02-08 21:10:05] Production.INFO: count ==21
[2025-02-08 21:10:05] Production.ERROR: done
[2025-02-08 21:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:10:05] Production.INFO: count ==21
[2025-02-08 21:10:05] Production.ERROR: done
[2025-02-08 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432372') start
[2025-02-08 21:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 21:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432373', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 21:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432372') end
[2025-02-08 21:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:10:05] Production.INFO: 1
[2025-02-08 21:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:10:05] Production.INFO: ==13180== Releasing lock...
[2025-02-08 21:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:10:05] Production.INFO: Account Balance End.
[2025-02-08 21:10:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:10:05] Production.INFO: ==13174== Releasing lock...
[2025-02-08 21:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:10:06
[end_date_ymd] => 2025-02-08 21:10:06
[RateCDR] => 1
)
[2025-02-08 21:10: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-02-08 18:10:06' and `end` < '2025-02-08 21:10: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-02-08 21:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432373', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 21:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 21:10:08] Production.INFO: ProcessCDR(1,14432373,1,1,2)
[2025-02-08 21:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432373,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432373,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:10:08] Production.INFO: ==13178== Releasing lock...
[2025-02-08 21:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 21:10:08] Production.INFO: 26 MB #Memory Used#
[2025-02-08 21:10:15] Production.ERROR: CronJobId end10
[2025-02-08 21:10:15] Production.INFO: ==13172== Releasing lock...
[2025-02-08 21:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:10:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:10:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:10:17] Production.INFO: call_cost start
[2025-02-08 21:10:17] Production.INFO: call_cost end
[2025-02-08 21:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:10:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:10:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:10:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:10:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:10:18] Production.INFO: ==13168== Releasing lock...
[2025-02-08 21:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:10:20] Production.INFO: count ==1763
[2025-02-08 21:10:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:10:06 - End Time 2025-02-08 21:10:06
[2025-02-08 21:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432374', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432374', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432374', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432374', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:10:20] Production.INFO: ProcessCDR(1,14432374,1,1,2)
[2025-02-08 21:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432374', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432374', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:10:23] Production.INFO: ==13176== Releasing lock...
[2025-02-08 21:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:10:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 02:11:01] Production.INFO: ==13239== Lock acquired, processing the job...
[2025-02-09 02:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:11:01] Production.INFO: neon service started
[2025-02-09 02:11:01] Production.INFO: neon service started
[2025-02-09 02:11:01] Production.INFO: ==13239== Releasing lock...
[2025-02-09 02:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:11:01] Production.INFO: ==13241== Lock acquired, processing the job...
[2025-02-08 21:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:11:02] Production.INFO: ==13243== Lock acquired, processing the job...
[2025-02-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 21:11:02] Production.INFO: ==13241== Releasing lock...
[2025-02-08 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:11:02] Production.INFO: ==13243== Releasing lock...
[2025-02-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:11:03] Production.INFO: ==13251== Lock acquired, processing the job...
[2025-02-08 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:11:03] Production.INFO: Account Balance Start.
[2025-02-08 21:11:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:11:03] Production.INFO: 117
[2025-02-08 21:11:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:11:03] Production.INFO: ==13256== Lock acquired, processing the job...
[2025-02-08 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:11:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:11:03] Production.INFO: ==13245== Lock acquired, processing the job...
[2025-02-08 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:11:03] Production.INFO: Total Charge 0
[2025-02-08 21:11:03] Production.INFO: CreateAllLog End
[2025-02-08 21:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:11:03] Production.INFO: count ==21
[2025-02-08 21:11:03] Production.INFO: ==13247== Lock acquired, processing the job...
[2025-02-08 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:11:03] Production.INFO: Account Balance End.
[2025-02-08 21:11:03] Production.INFO: count ==21
[2025-02-08 21:11:03] Production.INFO: ==13249== Lock acquired, processing the job...
[2025-02-08 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:11:03] Production.ERROR: CronJobId end 12
[2025-02-08 21:11:03] Production.INFO: ==13251== Releasing lock...
[2025-02-08 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432376') start
[2025-02-08 21:11:03] Production.INFO: ==13254== Lock acquired, processing the job...
[2025-02-08 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432376') end
[2025-02-08 21:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:11:03] Production.INFO: 1
[2025-02-08 21:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:11:03] Production.INFO: ==13256== Releasing lock...
[2025-02-08 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:11:03] Production.ERROR: done
[2025-02-08 21:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:11:04] Production.INFO: ==13247== Releasing lock...
[2025-02-08 21:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:11:04] Production.ERROR: done
[2025-02-08 21:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:11:05
[end_date_ymd] => 2025-02-08 21:11:05
[RateCDR] => 1
)
[2025-02-08 21:11: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` >= '2025-02-08 18:11:05' and `end` < '2025-02-08 21:11: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 ,'')
[2025-02-08 21:11:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-02-08 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-08 21:11:11] Production.ERROR: CronJobId end10
[2025-02-08 21:11:11] Production.INFO: ==13249== Releasing lock...
[2025-02-08 21:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:11:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:11:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:11:15] Production.INFO: call_cost start
[2025-02-08 21:11:15] Production.INFO: call_cost end
[2025-02-08 21:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:11:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:11:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:11:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:11:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:11:16] Production.INFO: ==13245== Releasing lock...
[2025-02-08 21:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:11:18] Production.INFO: count ==1772
[2025-02-08 21:11:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:11:05 - End Time 2025-02-08 21:11:05
[2025-02-08 21:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432379', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432379', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432379', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432379', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:11:19] Production.INFO: ProcessCDR(1,14432379,1,1,2)
[2025-02-08 21:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432379', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432379', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:11:24] Production.INFO: ==13254== Releasing lock...
[2025-02-08 21:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:11:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 02:12:02] Production.INFO: ==13315== Lock acquired, processing the job...
[2025-02-09 02:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:12:02] Production.INFO: neon service started
[2025-02-09 02:12:02] Production.INFO: neon service started
[2025-02-09 02:12:02] Production.INFO: ==13315== Releasing lock...
[2025-02-09 02:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:12:02] Production.INFO: ==13317== Lock acquired, processing the job...
[2025-02-08 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:12:02] Production.INFO: ==13319== Lock acquired, processing the job...
[2025-02-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:12:02] Production.INFO: ==13319== Releasing lock...
[2025-02-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:12:03] Production.INFO: ==13317== Releasing lock...
[2025-02-08 21:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:12:03] Production.INFO: ==13322== Lock acquired, processing the job...
[2025-02-08 21:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:12:03] Production.INFO: ==13326== Lock acquired, processing the job...
[2025-02-08 21:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:12:04] Production.INFO: ==13330== Lock acquired, processing the job...
[2025-02-08 21:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:12:04] Production.INFO: ==13324== Lock acquired, processing the job...
[2025-02-08 21:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:12:04] Production.INFO: ==13328== Lock acquired, processing the job...
[2025-02-08 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:12:04] Production.INFO: ==13332== Lock acquired, processing the job...
[2025-02-08 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:12:04] Production.INFO: Account Balance Start.
[2025-02-08 21:12:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:12:04] Production.INFO: 117
[2025-02-08 21:12:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:12:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:12:04] Production.ERROR: done
[2025-02-08 21:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:12:04] Production.INFO: ==13324== Releasing lock...
[2025-02-08 21:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:12:04] Production.INFO: Total Charge 0
[2025-02-08 21:12:04] Production.INFO: CreateAllLog End
[2025-02-08 21:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:12:04] Production.INFO: count ==21
[2025-02-08 21:12:04] Production.ERROR: done
[2025-02-08 21:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:12:04] Production.INFO: count ==21
[2025-02-08 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432383') start
[2025-02-08 21:12:04] Production.INFO: Account Balance End.
[2025-02-08 21:12:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:12:04] Production.INFO: ==13328== Releasing lock...
[2025-02-08 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432383') end
[2025-02-08 21:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:12:04] Production.INFO: 1
[2025-02-08 21:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:12:04] Production.INFO: ==13332== Releasing lock...
[2025-02-08 21:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:12:05
[end_date_ymd] => 2025-02-08 21:12:05
[RateCDR] => 1
)
[2025-02-08 21:12: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` >= '2025-02-08 18:12:05' and `end` < '2025-02-08 21:12: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 ,'')
[2025-02-08 21:12:13] Production.ERROR: CronJobId end10
[2025-02-08 21:12:13] Production.INFO: ==13326== Releasing lock...
[2025-02-08 21:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:12:15] Production.INFO: call_cost start
[2025-02-08 21:12:15] Production.INFO: call_cost end
[2025-02-08 21:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:12:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:12:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:12:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:12:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:12:16] Production.INFO: ==13322== Releasing lock...
[2025-02-08 21:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:12:18] Production.INFO: count ==1772
[2025-02-08 21:12:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:12:05 - End Time 2025-02-08 21:12:05
[2025-02-08 21:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432384', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432384', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432384', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432384', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:12:19] Production.INFO: ProcessCDR(1,14432384,1,1,2)
[2025-02-08 21:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432384', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432384', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:12:22] Production.INFO: ==13330== Releasing lock...
[2025-02-08 21:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:12:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 02:13:01] Production.INFO: ==13391== Lock acquired, processing the job...
[2025-02-09 02:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:13:01] Production.INFO: neon service started
[2025-02-09 02:13:01] Production.INFO: neon service started
[2025-02-09 02:13:01] Production.INFO: ==13391== Releasing lock...
[2025-02-09 02:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:13:01] Production.INFO: ==13393== Lock acquired, processing the job...
[2025-02-08 21:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:13:02] Production.INFO: ==13393== Releasing lock...
[2025-02-08 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:13:02] Production.INFO: ==13395== Lock acquired, processing the job...
[2025-02-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:13:02] Production.INFO: ==13395== Releasing lock...
[2025-02-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:13:03] Production.INFO: ==13398== Lock acquired, processing the job...
[2025-02-08 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:13:03] Production.INFO: ==13406== Lock acquired, processing the job...
[2025-02-08 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:13:03] Production.INFO: ==13400== Lock acquired, processing the job...
[2025-02-08 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:13:03] Production.INFO: ==13408== Lock acquired, processing the job...
[2025-02-08 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:13:03] Production.INFO: ==13402== Lock acquired, processing the job...
[2025-02-08 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:13:03] Production.INFO: ==13404== Lock acquired, processing the job...
[2025-02-08 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:13:03] Production.INFO: count ==21
[2025-02-08 21:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:13:03] Production.INFO: count ==21
[2025-02-08 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432386') start
[2025-02-08 21:13:03] Production.INFO: Account Balance Start.
[2025-02-08 21:13:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:13:03] Production.INFO: 117
[2025-02-08 21:13:03] Production.INFO: ==13400== Releasing lock...
[2025-02-08 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:13:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:13:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432386') end
[2025-02-08 21:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:13:03] Production.INFO: 1
[2025-02-08 21:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:13:03] Production.INFO: ==13408== Releasing lock...
[2025-02-08 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:13:03] Production.INFO: Total Charge 0
[2025-02-08 21:13:04] Production.INFO: CreateAllLog End
[2025-02-08 21:13:04] Production.ERROR: done
[2025-02-08 21:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:13:04] Production.ERROR: done
[2025-02-08 21:13:04] Production.INFO: Account Balance End.
[2025-02-08 21:13:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:13:04] Production.INFO: ==13404== Releasing lock...
[2025-02-08 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:13:05
[end_date_ymd] => 2025-02-08 21:13:05
[RateCDR] => 1
)
[2025-02-08 21:13: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` >= '2025-02-08 18:13:05' and `end` < '2025-02-08 21:13: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 ,'')
[2025-02-08 21:13:13] Production.ERROR: CronJobId end10
[2025-02-08 21:13:13] Production.INFO: ==13402== Releasing lock...
[2025-02-08 21:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:13:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:13:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:13:15] Production.INFO: call_cost start
[2025-02-08 21:13:15] Production.INFO: call_cost end
[2025-02-08 21:13:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:13:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:13:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:13:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:13:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:13:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:13:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:13:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:13:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:13:17] Production.INFO: ==13398== Releasing lock...
[2025-02-08 21:13:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:13:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:13:18] Production.INFO: count ==1803
[2025-02-08 21:13:18] Production.ERROR: pbx CDR StartTime 2025-02-08 18:13:05 - End Time 2025-02-08 21:13:05
[2025-02-08 21:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432389', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432389', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432389', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432389', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:13:18] Production.INFO: ProcessCDR(1,14432389,1,1,2)
[2025-02-08 21:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432389', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432389', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:13:22] Production.INFO: ==13406== Releasing lock...
[2025-02-08 21:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:13:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:14:01] Production.INFO: ==13468== Lock acquired, processing the job...
[2025-02-09 02:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:14:01] Production.INFO: neon service started
[2025-02-09 02:14:01] Production.INFO: neon service started
[2025-02-09 02:14:01] Production.INFO: ==13468== Releasing lock...
[2025-02-09 02:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:14:02] Production.INFO: ==13472== Lock acquired, processing the job...
[2025-02-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 21:14:02] Production.INFO: ==13470== Lock acquired, processing the job...
[2025-02-08 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:14:02] Production.INFO: ==13472== Releasing lock...
[2025-02-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:14:03] Production.INFO: ==13470== Releasing lock...
[2025-02-08 21:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:14:04] Production.INFO: ==13477== Lock acquired, processing the job...
[2025-02-08 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:14:04] Production.INFO: ==13475== Lock acquired, processing the job...
[2025-02-08 21:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:14:04] Production.INFO: ==13485== Lock acquired, processing the job...
[2025-02-08 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:14:04] Production.INFO: ==13479== Lock acquired, processing the job...
[2025-02-08 21:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:14:04] Production.INFO: count ==21
[2025-02-08 21:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:14:04] Production.INFO: count ==21
[2025-02-08 21:14:04] Production.INFO: ==13481== Lock acquired, processing the job...
[2025-02-08 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432392') start
[2025-02-08 21:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:14:04] Production.INFO: ==13483== Lock acquired, processing the job...
[2025-02-08 21:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:14:04] Production.INFO: ==13477== Releasing lock...
[2025-02-08 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432392') end
[2025-02-08 21:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:14:04] Production.INFO: 1
[2025-02-08 21:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:14:04] Production.INFO: Account Balance Start.
[2025-02-08 21:14:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:14:04] Production.INFO: 117
[2025-02-08 21:14:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:14:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:14:04] Production.INFO: ==13485== Releasing lock...
[2025-02-08 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:14:04] Production.INFO: Total Charge 0
[2025-02-08 21:14:04] Production.INFO: CreateAllLog End
[2025-02-08 21:14:05] Production.ERROR: done
[2025-02-08 21:14:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:14:05] Production.ERROR: done
[2025-02-08 21:14:05] Production.INFO: Account Balance End.
[2025-02-08 21:14:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:14:05] Production.INFO: ==13481== Releasing lock...
[2025-02-08 21:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:14:06
[end_date_ymd] => 2025-02-08 21:14:06
[RateCDR] => 1
)
[2025-02-08 21:14: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-02-08 18:14:06' and `end` < '2025-02-08 21:14: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-02-08 21:14:13] Production.ERROR: CronJobId end10
[2025-02-08 21:14:13] Production.INFO: ==13479== Releasing lock...
[2025-02-08 21:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:14:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:14:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:14:15] Production.INFO: call_cost start
[2025-02-08 21:14:15] Production.INFO: call_cost end
[2025-02-08 21:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:14:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:14:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:14:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:14:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:14:16] Production.INFO: ==13475== Releasing lock...
[2025-02-08 21:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:14:20] Production.INFO: count ==1803
[2025-02-08 21:14:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:14:06 - End Time 2025-02-08 21:14:06
[2025-02-08 21:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432394', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432394', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432394', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432394', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:14:20] Production.INFO: ProcessCDR(1,14432394,1,1,2)
[2025-02-08 21:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432394', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432394', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:14:24] Production.INFO: ==13483== Releasing lock...
[2025-02-08 21:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:14:24] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:15:01] Production.INFO: ==13588== Lock acquired, processing the job...
[2025-02-09 02:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:15:01] Production.INFO: neon service started
[2025-02-09 02:15:01] Production.INFO: neon service started
[2025-02-09 02:15:01] Production.INFO: ==13588== Releasing lock...
[2025-02-09 02:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:15:02] Production.INFO: ==13590== Lock acquired, processing the job...
[2025-02-08 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:15:02] Production.INFO: ==13592== Lock acquired, processing the job...
[2025-02-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:15:02] Production.INFO: ==13592== Releasing lock...
[2025-02-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:15:02] Production.INFO: ==13590== Releasing lock...
[2025-02-08 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:15:03] Production.INFO: ==13597== Lock acquired, processing the job...
[2025-02-08 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:15:03] Production.INFO: ==13595== Lock acquired, processing the job...
[2025-02-08 21:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:15:03] Production.INFO: ==13605== Lock acquired, processing the job...
[2025-02-08 21:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:15:03] Production.INFO: ==13597== Releasing lock...
[2025-02-08 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:15:03] Production.INFO: count ==21
[2025-02-08 21:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:15:03] Production.INFO: ==13599== Lock acquired, processing the job...
[2025-02-08 21:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:15:03] Production.INFO: ==13601== Lock acquired, processing the job...
[2025-02-08 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:15:03] Production.INFO: count ==21
[2025-02-08 21:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432397') start
[2025-02-08 21:15:03] Production.INFO: ==13603== Lock acquired, processing the job...
[2025-02-08 21:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432397') end
[2025-02-08 21:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:15:04] Production.INFO: 1
[2025-02-08 21:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:15:04] Production.INFO: Account Balance Start.
[2025-02-08 21:15:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:15:04] Production.INFO: 117
[2025-02-08 21:15:04] Production.INFO: ==13605== Releasing lock...
[2025-02-08 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:15:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:15:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:15:04] Production.INFO: Total Charge 0
[2025-02-08 21:15:04] Production.ERROR: done
[2025-02-08 21:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:15:04] Production.INFO: CreateAllLog End
[2025-02-08 21:15:04] Production.ERROR: done
[2025-02-08 21:15:04] Production.INFO: Account Balance End.
[2025-02-08 21:15:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:15:04] Production.INFO: ==13601== Releasing lock...
[2025-02-08 21:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:15:05
[end_date_ymd] => 2025-02-08 21:15:05
[RateCDR] => 1
)
[2025-02-08 21:15: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` >= '2025-02-08 18:15:05' and `end` < '2025-02-08 21:15: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 ,'')
[2025-02-08 21:15:12] Production.ERROR: CronJobId end10
[2025-02-08 21:15:12] Production.INFO: ==13599== Releasing lock...
[2025-02-08 21:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:15:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:15:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:15:14] Production.INFO: call_cost start
[2025-02-08 21:15:14] Production.INFO: call_cost end
[2025-02-08 21:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:15:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:15:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:15:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:15:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:15:15] Production.INFO: ==13595== Releasing lock...
[2025-02-08 21:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:15:18] Production.INFO: count ==1807
[2025-02-08 21:15:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:15:05 - End Time 2025-02-08 21:15:05
[2025-02-08 21:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432399', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432399', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432399', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432399', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:15:19] Production.INFO: ProcessCDR(1,14432399,1,1,2)
[2025-02-08 21:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432399', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432399', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:15:23] Production.INFO: ==13603== Releasing lock...
[2025-02-08 21:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:15:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 02:16:01] Production.INFO: ==13662== Lock acquired, processing the job...
[2025-02-09 02:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:16:01] Production.INFO: neon service started
[2025-02-09 02:16:01] Production.INFO: neon service started
[2025-02-09 02:16:01] Production.INFO: ==13662== Releasing lock...
[2025-02-09 02:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:16:02] Production.INFO: ==13666== Lock acquired, processing the job...
[2025-02-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:16:02] Production.INFO: ==13666== Releasing lock...
[2025-02-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:16:02] Production.INFO: ==13664== Lock acquired, processing the job...
[2025-02-08 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:16:02] Production.INFO: ==13664== Releasing lock...
[2025-02-08 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:16:03] Production.INFO: ==13669== Lock acquired, processing the job...
[2025-02-08 21:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:16:04] Production.INFO: ==13677== Lock acquired, processing the job...
[2025-02-08 21:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:16:04] Production.INFO: ==13673== Lock acquired, processing the job...
[2025-02-08 21:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:16:04] Production.INFO: ==13675== Lock acquired, processing the job...
[2025-02-08 21:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:16:04] Production.INFO: ==13671== Lock acquired, processing the job...
[2025-02-08 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:16:04] Production.INFO: ==13679== Lock acquired, processing the job...
[2025-02-08 21:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:16:04] Production.INFO: Account Balance Start.
[2025-02-08 21:16:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:16:04] Production.INFO: 117
[2025-02-08 21:16:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:16:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:16:04] Production.INFO: Total Charge 0
[2025-02-08 21:16:04] Production.INFO: CreateAllLog End
[2025-02-08 21:16:04] Production.INFO: count ==21
[2025-02-08 21:16:04] Production.ERROR: done
[2025-02-08 21:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:16:04] Production.INFO: count ==21
[2025-02-08 21:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432403') start
[2025-02-08 21:16:04] Production.INFO: ==13671== Releasing lock...
[2025-02-08 21:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:16:04] Production.ERROR: done
[2025-02-08 21:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432403') end
[2025-02-08 21:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:16:04] Production.INFO: 1
[2025-02-08 21:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:16:05] Production.INFO: ==13679== Releasing lock...
[2025-02-08 21:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:16:05] Production.INFO: Account Balance End.
[2025-02-08 21:16:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:16:05] Production.INFO: ==13675== Releasing lock...
[2025-02-08 21:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:16:06
[end_date_ymd] => 2025-02-08 21:16:06
[RateCDR] => 1
)
[2025-02-08 21:16: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-02-08 18:16:06' and `end` < '2025-02-08 21:16: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-02-08 21:16:13] Production.ERROR: CronJobId end10
[2025-02-08 21:16:13] Production.INFO: ==13673== Releasing lock...
[2025-02-08 21:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:16:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:16:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:16:15] Production.INFO: call_cost start
[2025-02-08 21:16:15] Production.INFO: call_cost end
[2025-02-08 21:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:16:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:16:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:16:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:16:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:16:16] Production.INFO: ==13669== Releasing lock...
[2025-02-08 21:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:16:19] Production.INFO: count ==1805
[2025-02-08 21:16:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:16:06 - End Time 2025-02-08 21:16:06
[2025-02-08 21:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432404', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432404', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432404', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432404', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:16:19] Production.INFO: ProcessCDR(1,14432404,1,1,2)
[2025-02-08 21:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432404', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432404', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:16:23] Production.INFO: ==13677== Releasing lock...
[2025-02-08 21:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:16:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:17:01] Production.INFO: ==13741== Lock acquired, processing the job...
[2025-02-09 02:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:17:01] Production.INFO: neon service started
[2025-02-09 02:17:01] Production.INFO: neon service started
[2025-02-09 02:17:01] Production.INFO: ==13741== Releasing lock...
[2025-02-09 02:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:17:01] Production.INFO: ==13743== Lock acquired, processing the job...
[2025-02-08 21:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:17:02] Production.INFO: ==13745== Lock acquired, processing the job...
[2025-02-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:17:02] Production.INFO: ==13745== Releasing lock...
[2025-02-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:17:02] Production.INFO: ==13743== Releasing lock...
[2025-02-08 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:17:03] Production.INFO: ==13756== Lock acquired, processing the job...
[2025-02-08 21:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:17:03] Production.INFO: ==13758== Lock acquired, processing the job...
[2025-02-08 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:17:03] Production.INFO: ==13748== Lock acquired, processing the job...
[2025-02-08 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:17:03] Production.INFO: ==13750== Lock acquired, processing the job...
[2025-02-08 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:17:03] Production.INFO: ==13752== Lock acquired, processing the job...
[2025-02-08 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:17:03] Production.INFO: ==13754== Lock acquired, processing the job...
[2025-02-08 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:17:03] Production.INFO: count ==21
[2025-02-08 21:17:03] Production.ERROR: done
[2025-02-08 21:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:17:03] Production.INFO: count ==21
[2025-02-08 21:17:03] Production.INFO: Account Balance Start.
[2025-02-08 21:17:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:17:03] Production.INFO: 117
[2025-02-08 21:17:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432405') start
[2025-02-08 21:17:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:17:03] Production.ERROR: done
[2025-02-08 21:17:03] Production.INFO: Total Charge 0
[2025-02-08 21:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:17:04] Production.INFO: CreateAllLog End
[2025-02-08 21:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432405') end
[2025-02-08 21:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:17:04] Production.INFO: 1
[2025-02-08 21:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:17:04] Production.INFO: ==13758== Releasing lock...
[2025-02-08 21:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:17:04] Production.INFO: Account Balance End.
[2025-02-08 21:17:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:17:04] Production.INFO: ==13754== Releasing lock...
[2025-02-08 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:17:04] Production.INFO: ==13750== Releasing lock...
[2025-02-08 21:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:17:05
[end_date_ymd] => 2025-02-08 21:17:05
[RateCDR] => 1
)
[2025-02-08 21:17: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` >= '2025-02-08 18:17:05' and `end` < '2025-02-08 21:17: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 ,'')
[2025-02-08 21:17:13] Production.ERROR: CronJobId end10
[2025-02-08 21:17:13] Production.INFO: ==13752== Releasing lock...
[2025-02-08 21:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:17:15] Production.INFO: call_cost start
[2025-02-08 21:17:15] Production.INFO: call_cost end
[2025-02-08 21:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:17:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:17:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:17:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:17:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:17:16] Production.INFO: ==13748== Releasing lock...
[2025-02-08 21:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:17:18] Production.INFO: count ==1801
[2025-02-08 21:17:18] Production.ERROR: pbx CDR StartTime 2025-02-08 18:17:05 - End Time 2025-02-08 21:17:05
[2025-02-08 21:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432408', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432408', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432408', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432408', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:17:18] Production.INFO: ProcessCDR(1,14432408,1,1,2)
[2025-02-08 21:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432408', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432408', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:17:22] Production.INFO: ==13756== Releasing lock...
[2025-02-08 21:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:17:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:18:01] Production.INFO: ==13815== Lock acquired, processing the job...
[2025-02-09 02:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:18:01] Production.INFO: neon service started
[2025-02-09 02:18:01] Production.INFO: neon service started
[2025-02-09 02:18:01] Production.INFO: ==13815== Releasing lock...
[2025-02-09 02:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:18:02] Production.INFO: ==13819== Lock acquired, processing the job...
[2025-02-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 21:18:02] Production.INFO: ==13817== Lock acquired, processing the job...
[2025-02-08 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:18:02] Production.INFO: ==13819== Releasing lock...
[2025-02-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:18:03] Production.INFO: ==13817== Releasing lock...
[2025-02-08 21:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:18:03] Production.INFO: ==13824== Lock acquired, processing the job...
[2025-02-08 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:18:04] Production.INFO: ==13826== Lock acquired, processing the job...
[2025-02-08 21:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:18:04] Production.INFO: ==13832== Lock acquired, processing the job...
[2025-02-08 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:18:04] Production.INFO: ==13822== Lock acquired, processing the job...
[2025-02-08 21:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:18:04] Production.INFO: count ==21
[2025-02-08 21:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:18:04] Production.INFO: count ==21
[2025-02-08 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432411') start
[2025-02-08 21:18:04] Production.INFO: ==13828== Lock acquired, processing the job...
[2025-02-08 21:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:18:04] Production.INFO: ==13830== Lock acquired, processing the job...
[2025-02-08 21:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:18:04] Production.INFO: ==13824== Releasing lock...
[2025-02-08 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432411') end
[2025-02-08 21:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:18:04] Production.INFO: 1
[2025-02-08 21:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:18:04] Production.INFO: Account Balance Start.
[2025-02-08 21:18:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:18:04] Production.INFO: 117
[2025-02-08 21:18:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:18:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:18:04] Production.INFO: ==13832== Releasing lock...
[2025-02-08 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:18:04] Production.INFO: Total Charge 0
[2025-02-08 21:18:04] Production.INFO: CreateAllLog End
[2025-02-08 21:18:04] Production.ERROR: done
[2025-02-08 21:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:18:05] Production.ERROR: done
[2025-02-08 21:18:05] Production.INFO: Account Balance End.
[2025-02-08 21:18:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:18:05] Production.INFO: ==13828== Releasing lock...
[2025-02-08 21:18:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:18:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:18:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:18:06
[end_date_ymd] => 2025-02-08 21:18:06
[RateCDR] => 1
)
[2025-02-08 21:18: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-02-08 18:18:06' and `end` < '2025-02-08 21:18: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-02-08 21:18:13] Production.ERROR: CronJobId end10
[2025-02-08 21:18:13] Production.INFO: ==13826== Releasing lock...
[2025-02-08 21:18:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:18:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:18:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:18:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:18:15] Production.INFO: call_cost start
[2025-02-08 21:18:15] Production.INFO: call_cost end
[2025-02-08 21:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:18:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:18:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:18:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:18:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:18:16] Production.INFO: ==13822== Releasing lock...
[2025-02-08 21:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:18:19] Production.INFO: count ==1817
[2025-02-08 21:18:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:18:06 - End Time 2025-02-08 21:18:06
[2025-02-08 21:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432414', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432414', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432414', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432414', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:18:20] Production.INFO: ProcessCDR(1,14432414,1,1,2)
[2025-02-08 21:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432414', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432414', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:18:23] Production.INFO: ==13830== Releasing lock...
[2025-02-08 21:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:18:23] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:19:01] Production.INFO: ==13894== Lock acquired, processing the job...
[2025-02-09 02:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:19:01] Production.INFO: neon service started
[2025-02-09 02:19:01] Production.INFO: neon service started
[2025-02-09 02:19:01] Production.INFO: ==13894== Releasing lock...
[2025-02-09 02:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:19:01] Production.INFO: ==13898== Lock acquired, processing the job...
[2025-02-09 02:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:19:01] Production.INFO: ==13898== Releasing lock...
[2025-02-09 02:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:19:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:19:02] Production.INFO: ==13896== Lock acquired, processing the job...
[2025-02-08 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:19:02] Production.INFO: ==13896== Releasing lock...
[2025-02-08 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:19:03] Production.INFO: ==13905== Lock acquired, processing the job...
[2025-02-08 21:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:19:03] Production.INFO: ==13911== Lock acquired, processing the job...
[2025-02-08 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:19:03] Production.INFO: ==13900== Lock acquired, processing the job...
[2025-02-08 21:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:19:03] Production.INFO: count ==21
[2025-02-08 21:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:19:03] Production.INFO: count ==21
[2025-02-08 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432415') start
[2025-02-08 21:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:19:03] Production.INFO: ==13903== Lock acquired, processing the job...
[2025-02-08 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:19:03] Production.INFO: ==13907== Lock acquired, processing the job...
[2025-02-08 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432415') end
[2025-02-08 21:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:19:03] Production.INFO: 1
[2025-02-08 21:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:19:03] Production.INFO: ==13909== Lock acquired, processing the job...
[2025-02-08 21:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:19:03] Production.INFO: ==13911== Releasing lock...
[2025-02-08 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:19:03] Production.INFO: Account Balance Start.
[2025-02-08 21:19:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:19:03] Production.INFO: 117
[2025-02-08 21:19:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:19:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:19:04] Production.ERROR: done
[2025-02-08 21:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:19:04] Production.INFO: Total Charge 0
[2025-02-08 21:19:04] Production.INFO: CreateAllLog End
[2025-02-08 21:19:04] Production.ERROR: done
[2025-02-08 21:19:04] Production.INFO: ==13903== Releasing lock...
[2025-02-08 21:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:19:04] Production.INFO: Account Balance End.
[2025-02-08 21:19:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:19:04] Production.INFO: ==13907== Releasing lock...
[2025-02-08 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:19:05
[end_date_ymd] => 2025-02-08 21:19:05
[RateCDR] => 1
)
[2025-02-08 21:19: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` >= '2025-02-08 18:19:05' and `end` < '2025-02-08 21:19: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 ,'')
[2025-02-08 21:19:13] Production.ERROR: CronJobId end10
[2025-02-08 21:19:13] Production.INFO: ==13905== Releasing lock...
[2025-02-08 21:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:19:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:19:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:19:16] Production.INFO: call_cost start
[2025-02-08 21:19:16] Production.INFO: call_cost end
[2025-02-08 21:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:19:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:19:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:19:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:19:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:19:17] Production.INFO: ==13900== Releasing lock...
[2025-02-08 21:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:19:18] Production.INFO: count ==1816
[2025-02-08 21:19:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:19:05 - End Time 2025-02-08 21:19:05
[2025-02-08 21:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432419', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432419', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432419', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432419', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:19:19] Production.INFO: ProcessCDR(1,14432419,1,1,2)
[2025-02-08 21:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432419', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432419', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:19:22] Production.INFO: ==13909== Releasing lock...
[2025-02-08 21:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:19:22] Production.INFO: 42 MB #Memory Used#
[2025-02-09 02:20:02] Production.INFO: ==13971== Lock acquired, processing the job...
[2025-02-09 02:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:20:02] Production.INFO: neon service started
[2025-02-09 02:20:02] Production.INFO: neon service started
[2025-02-09 02:20:02] Production.INFO: ==13971== Releasing lock...
[2025-02-09 02:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:20:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 21:20:02] Production.INFO: ==13973== Lock acquired, processing the job...
[2025-02-08 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:20:02] Production.INFO: ==13975== Lock acquired, processing the job...
[2025-02-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:20:02] Production.INFO: ==13975== Releasing lock...
[2025-02-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:20:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:20:03] Production.INFO: ==13973== Releasing lock...
[2025-02-08 21:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:20:04] Production.INFO: ==13982== Lock acquired, processing the job...
[2025-02-08 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:20:04] Production.INFO: ==13988== Lock acquired, processing the job...
[2025-02-08 21:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:20:04] Production.INFO: ==13978== Lock acquired, processing the job...
[2025-02-08 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 21:20:04] Production.INFO: ==13992== Lock acquired, processing the job...
[2025-02-08 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:20:04] Production.INFO: ==13980== Lock acquired, processing the job...
[2025-02-08 21:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:20:04] Production.INFO: ==13982== Releasing lock...
[2025-02-08 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:20:04] Production.INFO: ==13984== Lock acquired, processing the job...
[2025-02-08 21:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:20:04] Production.INFO: ==13986== Lock acquired, processing the job...
[2025-02-08 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:20:04] Production.ERROR: CronJob PID - 13980
[2025-02-08 21:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 21:20:04] Production.ERROR: CronJob ID - 5
[2025-02-08 21:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:20:00
[2025-02-08 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:20:04] Production.ERROR: CronJob PID - 13988
[2025-02-08 21:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-08 21:20:04] Production.ERROR: CronJob ID - 16
[2025-02-08 21:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:20:00
[2025-02-08 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:20:04] Production.ERROR: CronJob PID - 13992
[2025-02-08 21:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-08 21:20:04] Production.ERROR: CronJob ID - 19
[2025-02-08 21:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:20:00
[2025-02-08 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:20:04] Production.ERROR: done
[2025-02-08 21:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 21:20:04] Production.INFO: ==13978== Releasing lock...
[2025-02-08 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 21:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 21:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:20:05] Production.INFO: count ==21
[2025-02-08 21:20:05] Production.INFO: Account Balance Start.
[2025-02-08 21:20:05] Production.INFO: CreateAllLog Start
[2025-02-08 21:20:05] Production.INFO: 117
[2025-02-08 21:20:05] Production.INFO: ==13990== Lock acquired, processing the job...
[2025-02-08 21:20:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 21:20:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:20:05] Production.INFO: count ==21
[2025-02-08 21:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432421') start
[2025-02-08 21:20:05] Production.INFO: Date 2025-02-08
[2025-02-08 21:20:05] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:20:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:20:05] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:20:05] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:20:05] Production.INFO: Reseller ==> 0
[2025-02-08 21:20:05] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:20:05] Production.ERROR: done
[2025-02-08 21:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432421') end
[2025-02-08 21:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:20:05] Production.INFO: 1
[2025-02-08 21:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:20:05] Production.INFO: ==13992== Releasing lock...
[2025-02-08 21:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:20:05] Production.INFO: Total Charge 0
[2025-02-08 21:20:05] Production.INFO: CreateAllLog End
[2025-02-08 21:20:05] Production.ERROR: done
[2025-02-08 21:20:05] Production.INFO: Account Balance End.
[2025-02-08 21:20:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:20:05] Production.INFO: ==13986== Releasing lock...
[2025-02-08 21:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 21:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432425', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 21:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:20:06
[end_date_ymd] => 2025-02-08 21:20:06
[RateCDR] => 1
)
[2025-02-08 21:20: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-02-08 18:20:06' and `end` < '2025-02-08 21:20: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-02-08 21:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432425', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 21:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 21:20:09] Production.INFO: ProcessCDR(1,14432425,1,1,2)
[2025-02-08 21:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432425,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432425,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:20:10] Production.INFO: ==13990== Releasing lock...
[2025-02-08 21:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 21:20:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 21:20:16] Production.ERROR: CronJobId end10
[2025-02-08 21:20:16] Production.INFO: ==13984== Releasing lock...
[2025-02-08 21:20:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:20:16] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:20:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:20:18] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:20:18] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:20:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:20:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:20:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:20:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:20:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:20:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:20:18] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:20:18] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:20:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:20:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:20:18] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:20:19] Production.INFO: call_cost start
[2025-02-08 21:20:19] Production.INFO: call_cost end
[2025-02-08 21:20:19] Production.INFO: count ==1825
[2025-02-08 21:20:20] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:20:20] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:20:20] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:20:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:20:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:20:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:20:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:20:20] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:20:20] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:20:20] Production.INFO: ==13980== Releasing lock...
[2025-02-08 21:20:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:20:20] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:20:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:20:06 - End Time 2025-02-08 21:20:06
[2025-02-08 21:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432424', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432424', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432424', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432424', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:20:20] Production.INFO: ProcessCDR(1,14432424,1,1,2)
[2025-02-08 21:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432424', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432424', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:20:24] Production.INFO: ==13988== Releasing lock...
[2025-02-08 21:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:20:24] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:21:01] Production.INFO: ==14058== Lock acquired, processing the job...
[2025-02-09 02:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:21:01] Production.INFO: neon service started
[2025-02-09 02:21:01] Production.INFO: neon service started
[2025-02-09 02:21:01] Production.INFO: ==14058== Releasing lock...
[2025-02-09 02:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:21:01] Production.INFO: ==14060== Lock acquired, processing the job...
[2025-02-08 21:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:21:02] Production.INFO: ==14060== Releasing lock...
[2025-02-08 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:21:02] Production.INFO: ==14062== Lock acquired, processing the job...
[2025-02-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:21:02] Production.INFO: ==14062== Releasing lock...
[2025-02-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:21:03] Production.INFO: ==14066== Lock acquired, processing the job...
[2025-02-08 21:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:21:03] Production.INFO: ==14068== Lock acquired, processing the job...
[2025-02-08 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:21:03] Production.INFO: ==14078== Lock acquired, processing the job...
[2025-02-08 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:21:03] Production.INFO: ==14068== Releasing lock...
[2025-02-08 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:21:03] Production.INFO: ==14070== Lock acquired, processing the job...
[2025-02-08 21:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:21:03] Production.INFO: count ==21
[2025-02-08 21:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:21:03] Production.INFO: ==14072== Lock acquired, processing the job...
[2025-02-08 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:21:03] Production.INFO: count ==21
[2025-02-08 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432428') start
[2025-02-08 21:21:03] Production.INFO: ==14076== Lock acquired, processing the job...
[2025-02-08 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:21:03] Production.INFO: Account Balance Start.
[2025-02-08 21:21:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:21:03] Production.INFO: 117
[2025-02-08 21:21:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:21:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:21:03] Production.INFO: Total Charge 0
[2025-02-08 21:21:03] Production.INFO: CreateAllLog End
[2025-02-08 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432428') end
[2025-02-08 21:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:21:03] Production.INFO: 1
[2025-02-08 21:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:21:03] Production.INFO: ==14078== Releasing lock...
[2025-02-08 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:21:04] Production.ERROR: done
[2025-02-08 21:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:21:04] Production.ERROR: done
[2025-02-08 21:21:04] Production.INFO: Account Balance End.
[2025-02-08 21:21:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:21:04] Production.INFO: ==14072== Releasing lock...
[2025-02-08 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:21:05
[end_date_ymd] => 2025-02-08 21:21:05
[RateCDR] => 1
)
[2025-02-08 21:21: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` >= '2025-02-08 18:21:05' and `end` < '2025-02-08 21:21: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 ,'')
[2025-02-08 21:21:12] Production.ERROR: CronJobId end10
[2025-02-08 21:21:12] Production.INFO: ==14070== Releasing lock...
[2025-02-08 21:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:21:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:21:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:21:16] Production.INFO: call_cost start
[2025-02-08 21:21:16] Production.INFO: call_cost end
[2025-02-08 21:21:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:21:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:21:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:21:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:21:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:21:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:21:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:21:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:21:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:21:17] Production.INFO: ==14066== Releasing lock...
[2025-02-08 21:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:21:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:21:18] Production.INFO: count ==1814
[2025-02-08 21:21:18] Production.ERROR: pbx CDR StartTime 2025-02-08 18:21:05 - End Time 2025-02-08 21:21:05
[2025-02-08 21:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432430', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432430', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432430', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432430', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:21:18] Production.INFO: ProcessCDR(1,14432430,1,1,2)
[2025-02-08 21:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432430', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432430', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:21:24] Production.INFO: ==14076== Releasing lock...
[2025-02-08 21:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:21:24] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:22:02] Production.INFO: ==14139== Lock acquired, processing the job...
[2025-02-09 02:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:22:02] Production.INFO: neon service started
[2025-02-09 02:22:02] Production.INFO: neon service started
[2025-02-09 02:22:02] Production.INFO: ==14139== Releasing lock...
[2025-02-09 02:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:22:02] Production.INFO: ==14141== Lock acquired, processing the job...
[2025-02-08 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:22:02] Production.INFO: ==14143== Lock acquired, processing the job...
[2025-02-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:22:02] Production.INFO: ==14143== Releasing lock...
[2025-02-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:22:03] Production.INFO: ==14141== Releasing lock...
[2025-02-08 21:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:22:04] Production.INFO: ==14150== Lock acquired, processing the job...
[2025-02-08 21:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:22:04] Production.INFO: ==14156== Lock acquired, processing the job...
[2025-02-08 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:22:04] Production.INFO: ==14146== Lock acquired, processing the job...
[2025-02-08 21:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:22:04] Production.INFO: ==14148== Lock acquired, processing the job...
[2025-02-08 21:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:22:04] Production.INFO: count ==21
[2025-02-08 21:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:22:04] Production.INFO: count ==21
[2025-02-08 21:22:04] Production.INFO: ==14152== Lock acquired, processing the job...
[2025-02-08 21:22:04] Production.INFO: ==14154== Lock acquired, processing the job...
[2025-02-08 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432431') start
[2025-02-08 21:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:22:04] Production.INFO: Account Balance Start.
[2025-02-08 21:22:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:22:04] Production.INFO: 117
[2025-02-08 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432431') end
[2025-02-08 21:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:22:04] Production.INFO: 1
[2025-02-08 21:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:22:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:22:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:22:04] Production.INFO: ==14156== Releasing lock...
[2025-02-08 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:22:04] Production.INFO: Total Charge 0
[2025-02-08 21:22:04] Production.INFO: CreateAllLog End
[2025-02-08 21:22:04] Production.INFO: ==14148== Releasing lock...
[2025-02-08 21:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:22:04] Production.ERROR: done
[2025-02-08 21:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:22:04] Production.INFO: Account Balance End.
[2025-02-08 21:22:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:22:05] Production.INFO: ==14152== Releasing lock...
[2025-02-08 21:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:22:05] Production.ERROR: done
[2025-02-08 21:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:22:05
[end_date_ymd] => 2025-02-08 21:22:05
[RateCDR] => 1
)
[2025-02-08 21:22: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` >= '2025-02-08 18:22:05' and `end` < '2025-02-08 21:22: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 ,'')
[2025-02-08 21:22:12] Production.ERROR: CronJobId end10
[2025-02-08 21:22:12] Production.INFO: ==14150== Releasing lock...
[2025-02-08 21:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:22:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:22:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:22:15] Production.INFO: call_cost start
[2025-02-08 21:22:15] Production.INFO: call_cost end
[2025-02-08 21:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:22:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:22:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:22:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:22:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:22:16] Production.INFO: ==14146== Releasing lock...
[2025-02-08 21:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:22:18] Production.INFO: count ==1808
[2025-02-08 21:22:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:22:05 - End Time 2025-02-08 21:22:05
[2025-02-08 21:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432435', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432435', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432435', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432435', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:22:19] Production.INFO: ProcessCDR(1,14432435,1,1,2)
[2025-02-08 21:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432435', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432435', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:22:24] Production.INFO: ==14154== Releasing lock...
[2025-02-08 21:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:22:24] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:23:01] Production.INFO: ==14217== Lock acquired, processing the job...
[2025-02-09 02:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:23:01] Production.INFO: neon service started
[2025-02-09 02:23:01] Production.INFO: neon service started
[2025-02-09 02:23:01] Production.INFO: ==14217== Releasing lock...
[2025-02-09 02:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:23:02] Production.INFO: ==14221== Lock acquired, processing the job...
[2025-02-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:23:02] Production.INFO: ==14221== Releasing lock...
[2025-02-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:23:02] Production.INFO: ==14219== Lock acquired, processing the job...
[2025-02-08 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:23:02] Production.INFO: ==14219== Releasing lock...
[2025-02-08 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:23:03] Production.INFO: ==14226== Lock acquired, processing the job...
[2025-02-08 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:23:03] Production.INFO: ==14228== Lock acquired, processing the job...
[2025-02-08 21:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:23:03] Production.INFO: ==14230== Lock acquired, processing the job...
[2025-02-08 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:23:03] Production.INFO: ==14224== Lock acquired, processing the job...
[2025-02-08 21:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:23:03] Production.INFO: Account Balance Start.
[2025-02-08 21:23:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:23:03] Production.INFO: 117
[2025-02-08 21:23:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:23:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:23:03] Production.INFO: Total Charge 0
[2025-02-08 21:23:03] Production.INFO: CreateAllLog End
[2025-02-08 21:23:03] Production.INFO: ==14232== Lock acquired, processing the job...
[2025-02-08 21:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:23:03] Production.INFO: ==14234== Lock acquired, processing the job...
[2025-02-08 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:23:03] Production.INFO: ==14226== Releasing lock...
[2025-02-08 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:23:03] Production.INFO: Account Balance End.
[2025-02-08 21:23:03] Production.ERROR: CronJobId end 12
[2025-02-08 21:23:03] Production.INFO: ==14230== Releasing lock...
[2025-02-08 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:23:04] Production.INFO: count ==21
[2025-02-08 21:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:23:04] Production.INFO: count ==21
[2025-02-08 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432439') start
[2025-02-08 21:23:04] Production.ERROR: done
[2025-02-08 21:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432439') end
[2025-02-08 21:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:23:04] Production.INFO: 1
[2025-02-08 21:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:23:04] Production.INFO: ==14234== Releasing lock...
[2025-02-08 21:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:23:04] Production.ERROR: done
[2025-02-08 21:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:23:05
[end_date_ymd] => 2025-02-08 21:23:05
[RateCDR] => 1
)
[2025-02-08 21:23: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` >= '2025-02-08 18:23:05' and `end` < '2025-02-08 21:23: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 ,'')
[2025-02-08 21:23:13] Production.ERROR: CronJobId end10
[2025-02-08 21:23:13] Production.INFO: ==14228== Releasing lock...
[2025-02-08 21:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:23:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:23:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:23:15] Production.INFO: call_cost start
[2025-02-08 21:23:15] Production.INFO: call_cost end
[2025-02-08 21:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:23:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:23:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:23:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:23:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:23:16] Production.INFO: ==14224== Releasing lock...
[2025-02-08 21:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:23:18] Production.INFO: count ==1805
[2025-02-08 21:23:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:23:05 - End Time 2025-02-08 21:23:05
[2025-02-08 21:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432440', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432440', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432440', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432440', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:23:19] Production.INFO: ProcessCDR(1,14432440,1,1,2)
[2025-02-08 21:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432440', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432440', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:23:22] Production.INFO: ==14232== Releasing lock...
[2025-02-08 21:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:23:22] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 02:24:02] Production.INFO: ==14294== Lock acquired, processing the job...
[2025-02-09 02:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:24:02] Production.INFO: neon service started
[2025-02-09 02:24:02] Production.INFO: neon service started
[2025-02-09 02:24:02] Production.INFO: ==14294== Releasing lock...
[2025-02-09 02:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:24:02] Production.INFO: ==14298== Lock acquired, processing the job...
[2025-02-09 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:24:02] Production.INFO: ==14298== Releasing lock...
[2025-02-09 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:24:02] Production.INFO: ==14296== Lock acquired, processing the job...
[2025-02-08 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:24:03] Production.INFO: ==14296== Releasing lock...
[2025-02-08 21:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:24:04] Production.INFO: ==14307== Lock acquired, processing the job...
[2025-02-08 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:24:04] Production.INFO: ==14311== Lock acquired, processing the job...
[2025-02-08 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:24:04] Production.INFO: Account Balance Start.
[2025-02-08 21:24:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:24:04] Production.INFO: 117
[2025-02-08 21:24:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:24:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:24:04] Production.INFO: Total Charge 0
[2025-02-08 21:24:04] Production.INFO: CreateAllLog End
[2025-02-08 21:24:04] Production.INFO: ==14301== Lock acquired, processing the job...
[2025-02-08 21:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:24:04] Production.INFO: ==14303== Lock acquired, processing the job...
[2025-02-08 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:24:04] Production.INFO: ==14305== Lock acquired, processing the job...
[2025-02-08 21:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:24:04] Production.INFO: Account Balance End.
[2025-02-08 21:24:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:24:04] Production.INFO: ==14307== Releasing lock...
[2025-02-08 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:24:04] Production.INFO: ==14309== Lock acquired, processing the job...
[2025-02-08 21:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:24:04] Production.INFO: count ==21
[2025-02-08 21:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:24:04] Production.INFO: count ==21
[2025-02-08 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432442') start
[2025-02-08 21:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:24:04] Production.INFO: ==14303== Releasing lock...
[2025-02-08 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432442') end
[2025-02-08 21:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:24:04] Production.INFO: 1
[2025-02-08 21:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:24:05] Production.INFO: ==14311== Releasing lock...
[2025-02-08 21:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:24:05] Production.ERROR: done
[2025-02-08 21:24:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:24:05] Production.ERROR: done
[2025-02-08 21:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:24:06
[end_date_ymd] => 2025-02-08 21:24:06
[RateCDR] => 1
)
[2025-02-08 21:24: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-02-08 18:24:06' and `end` < '2025-02-08 21:24: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-02-08 21:24:14] Production.ERROR: CronJobId end10
[2025-02-08 21:24:14] Production.INFO: ==14305== Releasing lock...
[2025-02-08 21:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:24:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:24:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:24:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:24:15] Production.INFO: call_cost start
[2025-02-08 21:24:15] Production.INFO: call_cost end
[2025-02-08 21:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:24:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:24:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:24:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:24:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:24:16] Production.INFO: ==14301== Releasing lock...
[2025-02-08 21:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:24:21] Production.INFO: count ==1817
[2025-02-08 21:24:21] Production.ERROR: pbx CDR StartTime 2025-02-08 18:24:06 - End Time 2025-02-08 21:24:06
[2025-02-08 21:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432445', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432445', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432445', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432445', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:24:21] Production.INFO: ProcessCDR(1,14432445,1,1,2)
[2025-02-08 21:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432445', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432445', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:24:26] Production.INFO: ==14309== Releasing lock...
[2025-02-08 21:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:24:26] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:25:01] Production.INFO: ==14376== Lock acquired, processing the job...
[2025-02-09 02:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:25:01] Production.INFO: neon service started
[2025-02-09 02:25:01] Production.INFO: neon service started
[2025-02-09 02:25:01] Production.INFO: ==14376== Releasing lock...
[2025-02-09 02:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:25:01] Production.INFO: ==14378== Lock acquired, processing the job...
[2025-02-08 21:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:25:02] Production.INFO: ==14378== Releasing lock...
[2025-02-08 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:25:02] Production.INFO: ==14380== Lock acquired, processing the job...
[2025-02-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:25:02] Production.INFO: ==14380== Releasing lock...
[2025-02-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:25:03] Production.INFO: ==14383== Lock acquired, processing the job...
[2025-02-08 21:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:25:03] Production.INFO: ==14385== Lock acquired, processing the job...
[2025-02-08 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:25:03] Production.INFO: ==14389== Lock acquired, processing the job...
[2025-02-08 21:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:25:03] Production.INFO: Account Balance Start.
[2025-02-08 21:25:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:25:03] Production.INFO: ==14387== Lock acquired, processing the job...
[2025-02-08 21:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:25:03] Production.INFO: 117
[2025-02-08 21:25:03] Production.INFO: ==14391== Lock acquired, processing the job...
[2025-02-08 21:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:25:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:25:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:25:03] Production.INFO: ==14393== Lock acquired, processing the job...
[2025-02-08 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:25:03] Production.INFO: Total Charge 0
[2025-02-08 21:25:03] Production.INFO: CreateAllLog End
[2025-02-08 21:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:25:03] Production.INFO: ==14385== Releasing lock...
[2025-02-08 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:25:03] Production.INFO: count ==21
[2025-02-08 21:25:04] Production.ERROR: done
[2025-02-08 21:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:25:04] Production.INFO: count ==21
[2025-02-08 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432449') start
[2025-02-08 21:25:04] Production.INFO: Account Balance End.
[2025-02-08 21:25:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:25:04] Production.INFO: ==14389== Releasing lock...
[2025-02-08 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:25:04] Production.ERROR: done
[2025-02-08 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432449') end
[2025-02-08 21:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:25:04] Production.INFO: 1
[2025-02-08 21:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:25:04] Production.INFO: ==14393== Releasing lock...
[2025-02-08 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:25:05
[end_date_ymd] => 2025-02-08 21:25:05
[RateCDR] => 1
)
[2025-02-08 21:25: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` >= '2025-02-08 18:25:05' and `end` < '2025-02-08 21:25: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 ,'')
[2025-02-08 21:25:13] Production.ERROR: CronJobId end10
[2025-02-08 21:25:13] Production.INFO: ==14387== Releasing lock...
[2025-02-08 21:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:25:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:25:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:25:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:25:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:25:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:25:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:25:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:25:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:25:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:25:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:25:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:25:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:25:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:25:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:25:15] Production.INFO: call_cost start
[2025-02-08 21:25:15] Production.INFO: call_cost end
[2025-02-08 21:25:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:25:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:25:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:25:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:25:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:25:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:25:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:25:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:25:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:25:16] Production.INFO: ==14383== Releasing lock...
[2025-02-08 21:25:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:25:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:25:18] Production.INFO: count ==1816
[2025-02-08 21:25:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:25:05 - End Time 2025-02-08 21:25:05
[2025-02-08 21:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432450', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432450', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432450', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432450', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:25:19] Production.INFO: ProcessCDR(1,14432450,1,1,2)
[2025-02-08 21:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:25:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432450', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:25:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432450', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:25:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:25:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:25:24] Production.INFO: ==14391== Releasing lock...
[2025-02-08 21:25:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:25:24] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:26:01] Production.INFO: ==14466== Lock acquired, processing the job...
[2025-02-09 02:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:26:01] Production.INFO: neon service started
[2025-02-09 02:26:02] Production.INFO: neon service started
[2025-02-09 02:26:02] Production.INFO: ==14466== Releasing lock...
[2025-02-09 02:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:26:02] Production.INFO: ==14470== Lock acquired, processing the job...
[2025-02-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:26:02] Production.INFO: ==14470== Releasing lock...
[2025-02-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:26:02] Production.INFO: ==14468== Lock acquired, processing the job...
[2025-02-08 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:26:02] Production.INFO: ==14468== Releasing lock...
[2025-02-08 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:26:03] Production.INFO: ==14473== Lock acquired, processing the job...
[2025-02-08 21:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:26:03] Production.INFO: ==14475== Lock acquired, processing the job...
[2025-02-08 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:26:03] Production.INFO: ==14479== Lock acquired, processing the job...
[2025-02-08 21:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:26:04] Production.INFO: ==14477== Lock acquired, processing the job...
[2025-02-08 21:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:26:04] Production.INFO: Account Balance Start.
[2025-02-08 21:26:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:26:04] Production.INFO: 117
[2025-02-08 21:26:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:26:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:26:04] Production.INFO: Total Charge 0
[2025-02-08 21:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:26:04] Production.INFO: ==14481== Lock acquired, processing the job...
[2025-02-08 21:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:26:04] Production.INFO: CreateAllLog End
[2025-02-08 21:26:04] Production.INFO: ==14483== Lock acquired, processing the job...
[2025-02-08 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:26:04] Production.INFO: ==14475== Releasing lock...
[2025-02-08 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:26:04] Production.INFO: Account Balance End.
[2025-02-08 21:26:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:26:04] Production.INFO: ==14479== Releasing lock...
[2025-02-08 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:26:04] Production.INFO: count ==21
[2025-02-08 21:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:26:04] Production.INFO: count ==21
[2025-02-08 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432454') start
[2025-02-08 21:26:04] Production.ERROR: done
[2025-02-08 21:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432454') end
[2025-02-08 21:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:26:04] Production.INFO: 1
[2025-02-08 21:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:26:04] Production.INFO: ==14483== Releasing lock...
[2025-02-08 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:26:05] Production.ERROR: done
[2025-02-08 21:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:26:06
[end_date_ymd] => 2025-02-08 21:26:06
[RateCDR] => 1
)
[2025-02-08 21:26: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-02-08 18:26:06' and `end` < '2025-02-08 21:26: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-02-08 21:26:13] Production.ERROR: CronJobId end10
[2025-02-08 21:26:13] Production.INFO: ==14477== Releasing lock...
[2025-02-08 21:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:26:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:26:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:26:15] Production.INFO: call_cost start
[2025-02-08 21:26:15] Production.INFO: call_cost end
[2025-02-08 21:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:26:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:26:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:26:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:26:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:26:16] Production.INFO: ==14473== Releasing lock...
[2025-02-08 21:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:26:19] Production.INFO: count ==1820
[2025-02-08 21:26:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:26:06 - End Time 2025-02-08 21:26:06
[2025-02-08 21:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432455', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432455', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432455', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432455', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:26:20] Production.INFO: ProcessCDR(1,14432455,1,1,2)
[2025-02-08 21:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432455', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432455', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:26:23] Production.INFO: ==14481== Releasing lock...
[2025-02-08 21:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:26:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:27:01] Production.INFO: ==14546== Lock acquired, processing the job...
[2025-02-09 02:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:27:01] Production.INFO: neon service started
[2025-02-09 02:27:01] Production.INFO: neon service started
[2025-02-09 02:27:01] Production.INFO: ==14546== Releasing lock...
[2025-02-09 02:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:27:01] Production.INFO: ==14550== Lock acquired, processing the job...
[2025-02-09 02:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:27:01] Production.INFO: ==14550== Releasing lock...
[2025-02-09 02:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:27:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:27:01] Production.INFO: ==14548== Lock acquired, processing the job...
[2025-02-08 21:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:27:02] Production.INFO: ==14548== Releasing lock...
[2025-02-08 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:27:03] Production.INFO: ==14560== Lock acquired, processing the job...
[2025-02-08 21:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:27:03] Production.INFO: ==14552== Lock acquired, processing the job...
[2025-02-08 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:27:03] Production.INFO: ==14562== Lock acquired, processing the job...
[2025-02-08 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:27:03] Production.INFO: ==14554== Lock acquired, processing the job...
[2025-02-08 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:27:03] Production.INFO: ==14558== Lock acquired, processing the job...
[2025-02-08 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:27:03] Production.INFO: ==14556== Lock acquired, processing the job...
[2025-02-08 21:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:27:03] Production.INFO: Account Balance Start.
[2025-02-08 21:27:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:27:03] Production.INFO: count ==21
[2025-02-08 21:27:03] Production.INFO: 117
[2025-02-08 21:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:27:03] Production.INFO: count ==21
[2025-02-08 21:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432457') start
[2025-02-08 21:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:27:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:27:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:27:03] Production.ERROR: done
[2025-02-08 21:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:27:03] Production.INFO: Total Charge 0
[2025-02-08 21:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432457') end
[2025-02-08 21:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:27:03] Production.INFO: 1
[2025-02-08 21:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:27:03] Production.INFO: CreateAllLog End
[2025-02-08 21:27:03] Production.INFO: ==14562== Releasing lock...
[2025-02-08 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:27:03] Production.ERROR: done
[2025-02-08 21:27:03] Production.INFO: Account Balance End.
[2025-02-08 21:27:03] Production.ERROR: CronJobId end 12
[2025-02-08 21:27:03] Production.INFO: ==14558== Releasing lock...
[2025-02-08 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:27:03] Production.INFO: ==14554== Releasing lock...
[2025-02-08 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:27:04
[end_date_ymd] => 2025-02-08 21:27:04
[RateCDR] => 1
)
[2025-02-08 21:27:04] 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-02-08 18:27:04' and `end` < '2025-02-08 21:27:04'
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-02-08 21:27:11] Production.ERROR: CronJobId end10
[2025-02-08 21:27:11] Production.INFO: ==14556== Releasing lock...
[2025-02-08 21:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:27:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:27:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:27:13] Production.INFO: call_cost start
[2025-02-08 21:27:13] Production.INFO: call_cost end
[2025-02-08 21:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:27:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:27:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:27:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:27:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:27:14] Production.INFO: ==14552== Releasing lock...
[2025-02-08 21:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:27:17] Production.INFO: count ==1830
[2025-02-08 21:27:18] Production.ERROR: pbx CDR StartTime 2025-02-08 18:27:04 - End Time 2025-02-08 21:27:04
[2025-02-08 21:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432460', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432460', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432460', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432460', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:27:18] Production.INFO: ProcessCDR(1,14432460,1,1,2)
[2025-02-08 21:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432460', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432460', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:27:21] Production.INFO: ==14560== Releasing lock...
[2025-02-08 21:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:27:21] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:28:01] Production.INFO: ==14629== Lock acquired, processing the job...
[2025-02-09 02:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:28:01] Production.INFO: neon service started
[2025-02-09 02:28:01] Production.INFO: neon service started
[2025-02-09 02:28:01] Production.INFO: ==14629== Releasing lock...
[2025-02-09 02:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:28:01] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 02:28:02] Production.INFO: ==14633== Lock acquired, processing the job...
[2025-02-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:28:02] Production.INFO: ==14633== Releasing lock...
[2025-02-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:28:02] Production.INFO: ==14631== Lock acquired, processing the job...
[2025-02-08 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:28:02] Production.INFO: ==14631== Releasing lock...
[2025-02-08 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:28:03] Production.INFO: ==14636== Lock acquired, processing the job...
[2025-02-08 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:28:03] Production.INFO: ==14638== Lock acquired, processing the job...
[2025-02-08 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:28:03] Production.INFO: ==14640== Lock acquired, processing the job...
[2025-02-08 21:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:28:03] Production.INFO: ==14642== Lock acquired, processing the job...
[2025-02-08 21:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:28:04] Production.INFO: ==14644== Lock acquired, processing the job...
[2025-02-08 21:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:28:04] Production.INFO: Account Balance Start.
[2025-02-08 21:28:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:28:04] Production.INFO: 117
[2025-02-08 21:28:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:28:04] Production.INFO: ==14646== Lock acquired, processing the job...
[2025-02-08 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:28:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:28:04] Production.INFO: ==14638== Releasing lock...
[2025-02-08 21:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:28:04] Production.INFO: Total Charge 0
[2025-02-08 21:28:04] Production.INFO: CreateAllLog End
[2025-02-08 21:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:28:04] Production.INFO: count ==21
[2025-02-08 21:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:28:04] Production.INFO: count ==21
[2025-02-08 21:28:04] Production.ERROR: done
[2025-02-08 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432464') start
[2025-02-08 21:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:28:04] Production.INFO: Account Balance End.
[2025-02-08 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432464') end
[2025-02-08 21:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:28:04] Production.INFO: 1
[2025-02-08 21:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:28:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:28:04] Production.INFO: ==14642== Releasing lock...
[2025-02-08 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:28:04] Production.INFO: ==14646== Releasing lock...
[2025-02-08 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:28:04] Production.ERROR: done
[2025-02-08 21:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:28:05
[end_date_ymd] => 2025-02-08 21:28:05
[RateCDR] => 1
)
[2025-02-08 21:28: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` >= '2025-02-08 18:28:05' and `end` < '2025-02-08 21:28: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 ,'')
[2025-02-08 21:28:13] Production.ERROR: CronJobId end10
[2025-02-08 21:28:13] Production.INFO: ==14640== Releasing lock...
[2025-02-08 21:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:28:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:28:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:28:15] Production.INFO: call_cost start
[2025-02-08 21:28:15] Production.INFO: call_cost end
[2025-02-08 21:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:28:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:28:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:28:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:28:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:28:16] Production.INFO: ==14636== Releasing lock...
[2025-02-08 21:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:28:20] Production.INFO: count ==1834
[2025-02-08 21:28:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:28:05 - End Time 2025-02-08 21:28:05
[2025-02-08 21:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432465', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432465', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432465', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432465', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:28:20] Production.INFO: ProcessCDR(1,14432465,1,1,2)
[2025-02-08 21:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432465', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432465', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:28:24] Production.INFO: ==14644== Releasing lock...
[2025-02-08 21:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:28:24] Production.INFO: 42 MB #Memory Used#
[2025-02-09 02:29:02] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-02-09 02:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:29:02] Production.INFO: neon service started
[2025-02-09 02:29:02] Production.INFO: neon service started
[2025-02-09 02:29:02] Production.INFO: ==14711== Releasing lock...
[2025-02-09 02:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:29:02] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-02-08 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:29:03] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-02-09 02:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 21:29:03] Production.INFO: ==14713== Releasing lock...
[2025-02-08 21:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:29:03] Production.INFO: ==14715== Releasing lock...
[2025-02-09 02:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:29:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:29:04] Production.INFO: ==14725== Lock acquired, processing the job...
[2025-02-08 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:29:04] Production.INFO: ==14719== Lock acquired, processing the job...
[2025-02-08 21:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:29:04] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-02-08 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:29:04] Production.INFO: Account Balance Start.
[2025-02-08 21:29:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:29:04] Production.INFO: 117
[2025-02-08 21:29:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:29:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:29:04] Production.INFO: ==14723== Lock acquired, processing the job...
[2025-02-08 21:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:29:04] Production.INFO: Total Charge 0
[2025-02-08 21:29:04] Production.INFO: CreateAllLog End
[2025-02-08 21:29:04] Production.INFO: ==14730== Lock acquired, processing the job...
[2025-02-08 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:29:04] Production.INFO: ==14727== Lock acquired, processing the job...
[2025-02-08 21:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:29:04] Production.INFO: Account Balance End.
[2025-02-08 21:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:29:04] Production.INFO: count ==21
[2025-02-08 21:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:29:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:29:04] Production.INFO: ==14725== Releasing lock...
[2025-02-08 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:29:04] Production.INFO: count ==21
[2025-02-08 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432469') start
[2025-02-08 21:29:04] Production.INFO: ==14721== Releasing lock...
[2025-02-08 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:29:04] Production.ERROR: done
[2025-02-08 21:29:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432469') end
[2025-02-08 21:29:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:29:05] Production.INFO: 1
[2025-02-08 21:29:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:29:05] Production.INFO: ==14730== Releasing lock...
[2025-02-08 21:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:29:05] Production.ERROR: done
[2025-02-08 21:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:29:06
[end_date_ymd] => 2025-02-08 21:29:06
[RateCDR] => 1
)
[2025-02-08 21:29: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-02-08 18:29:06' and `end` < '2025-02-08 21:29: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-02-08 21:29:14] Production.ERROR: CronJobId end10
[2025-02-08 21:29:14] Production.INFO: ==14723== Releasing lock...
[2025-02-08 21:29:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:29:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:29:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:29:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:29:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:29:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:29:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:29:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:29:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:29:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:29:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:29:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:29:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:29:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:29:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:29:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:29:16] Production.INFO: call_cost start
[2025-02-08 21:29:16] Production.INFO: call_cost end
[2025-02-08 21:29:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:29:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:29:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:29:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:29:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:29:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:29:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:29:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:29:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:29:17] Production.INFO: ==14719== Releasing lock...
[2025-02-08 21:29:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:29:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:29:19] Production.INFO: count ==1838
[2025-02-08 21:29:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:29:06 - End Time 2025-02-08 21:29:06
[2025-02-08 21:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432470', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432470', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432470', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432470', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:29:20] Production.INFO: ProcessCDR(1,14432470,1,1,2)
[2025-02-08 21:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:29:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:29:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:29:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432470', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432470', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:29:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:29:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:29:25] Production.INFO: ==14727== Releasing lock...
[2025-02-08 21:29:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:29:25] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:30:01] Production.INFO: ==14796== Lock acquired, processing the job...
[2025-02-09 02:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:30:01] Production.INFO: neon service started
[2025-02-09 02:30:01] Production.INFO: neon service started
[2025-02-09 02:30:01] Production.INFO: ==14796== Releasing lock...
[2025-02-09 02:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:30:02] Production.INFO: ==14800== Lock acquired, processing the job...
[2025-02-09 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:30:02] Production.INFO: ==14800== Releasing lock...
[2025-02-09 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:30:02] Production.INFO: ==14798== Lock acquired, processing the job...
[2025-02-08 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:30:02] Production.INFO: ==14798== Releasing lock...
[2025-02-08 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:30:04] Production.INFO: ==14807== Lock acquired, processing the job...
[2025-02-08 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:30:04] Production.INFO: ==14817== Lock acquired, processing the job...
[2025-02-08 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:30:04] Production.INFO: ==14815== Lock acquired, processing the job...
[2025-02-08 21:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 21:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:30:04] Production.INFO: ==14807== Releasing lock...
[2025-02-08 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:30:04] Production.INFO: count ==21
[2025-02-08 21:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:30:04] Production.INFO: ==14803== Lock acquired, processing the job...
[2025-02-08 21:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 21:30:04] Production.INFO: count ==21
[2025-02-08 21:30:04] Production.INFO: ==14805== Lock acquired, processing the job...
[2025-02-08 21:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432472') start
[2025-02-08 21:30:04] Production.INFO: ==14811== Lock acquired, processing the job...
[2025-02-08 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:30:04] Production.INFO: ==14809== Lock acquired, processing the job...
[2025-02-08 21:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:30:04] Production.ERROR: CronJob PID - 14805
[2025-02-08 21:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 21:30:04] Production.ERROR: CronJob ID - 5
[2025-02-08 21:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:30:00
[2025-02-08 21:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:30:04] Production.ERROR: CronJob PID - 14809
[2025-02-08 21:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-08 21:30:04] Production.ERROR: CronJob ID - 10
[2025-02-08 21:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:30:00
[2025-02-08 21:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:30:04] Production.ERROR: CronJob PID - 14811
[2025-02-08 21:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-08 21:30:04] Production.ERROR: CronJob ID - 12
[2025-02-08 21:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:30:00
[2025-02-08 21:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:30:04] Production.ERROR: CronJob PID - 14815
[2025-02-08 21:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-08 21:30:04] Production.ERROR: CronJob ID - 17
[2025-02-08 21:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:30:00
[2025-02-08 21:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:30:04] Production.ERROR: CronJob PID - 14817
[2025-02-08 21:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-08 21:30:04] Production.ERROR: CronJob ID - 19
[2025-02-08 21:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:30:00
[2025-02-08 21:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:30:04] Production.INFO: ==14813== Lock acquired, processing the job...
[2025-02-08 21:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432472') end
[2025-02-08 21:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:30:04] Production.INFO: 1
[2025-02-08 21:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:30:04] Production.INFO: Account Balance Start.
[2025-02-08 21:30:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:30:04] Production.INFO: 117
[2025-02-08 21:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 21:30:04] Production.INFO: ==14803== Releasing lock...
[2025-02-08 21:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 21:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 21:30:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:30:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:30:04] Production.INFO: Total Charge 0
[2025-02-08 21:30:04] Production.INFO: CreateAllLog End
[2025-02-08 21:30:05] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:30:05] Production.INFO: ==14817== Releasing lock...
[2025-02-08 21:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:30:05] Production.ERROR: done
[2025-02-08 21:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 21:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432475', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 21:30:05] Production.INFO: Account Balance End.
[2025-02-08 21:30:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:30:05] Production.INFO: ==14811== Releasing lock...
[2025-02-08 21:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:30:05] Production.ERROR: done
[2025-02-08 21:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:30:05] Production.ERROR: done
[2025-02-08 21:30:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:30:07
[end_date_ymd] => 2025-02-08 21:30:07
[RateCDR] => 1
)
[2025-02-08 21:30: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-02-08 18:30:07' and `end` < '2025-02-08 21:30: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-02-08 21:30:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432475', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 21:30:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 21:30:10] Production.INFO: ProcessCDR(1,14432475,1,1,2)
[2025-02-08 21:30:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432475,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432475,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:30:10] Production.INFO: ==14815== Releasing lock...
[2025-02-08 21:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 21:30:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 21:30:15] Production.ERROR: CronJobId end10
[2025-02-08 21:30:15] Production.INFO: ==14809== Releasing lock...
[2025-02-08 21:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:30:17] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:30:17] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:30:18] Production.INFO: call_cost start
[2025-02-08 21:30:18] Production.INFO: call_cost end
[2025-02-08 21:30:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:30:19] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:30:19] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:30:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:30:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:30:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:30:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:30:19] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:30:19] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:30:19] Production.INFO: ==14805== Releasing lock...
[2025-02-08 21:30:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:30:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:30:20] Production.INFO: count ==1838
[2025-02-08 21:30:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:30:07 - End Time 2025-02-08 21:30:07
[2025-02-08 21:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432476', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432476', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432476', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432476', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:30:20] Production.INFO: ProcessCDR(1,14432476,1,1,2)
[2025-02-08 21:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432476', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432476', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:30:24] Production.INFO: ==14813== Releasing lock...
[2025-02-08 21:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:30:24] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:31:02] Production.INFO: ==14923== Lock acquired, processing the job...
[2025-02-09 02:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:31:02] Production.INFO: neon service started
[2025-02-09 02:31:02] Production.INFO: neon service started
[2025-02-09 02:31:02] Production.INFO: ==14923== Releasing lock...
[2025-02-09 02:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:31:03] Production.INFO: ==14926== Lock acquired, processing the job...
[2025-02-08 21:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:31:03] Production.INFO: ==14928== Lock acquired, processing the job...
[2025-02-09 02:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:31:03] Production.INFO: ==14928== Releasing lock...
[2025-02-09 02:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:31:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:31:03] Production.INFO: ==14926== Releasing lock...
[2025-02-08 21:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:31:04] Production.INFO: ==14930== Lock acquired, processing the job...
[2025-02-08 21:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:31:04] Production.INFO: ==14934== Lock acquired, processing the job...
[2025-02-08 21:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:31:04] Production.INFO: ==14938== Lock acquired, processing the job...
[2025-02-08 21:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:31:04] Production.INFO: ==14940== Lock acquired, processing the job...
[2025-02-08 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:31:04] Production.INFO: ==14932== Lock acquired, processing the job...
[2025-02-08 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:31:04] Production.INFO: ==14936== Lock acquired, processing the job...
[2025-02-08 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:31:04] Production.INFO: count ==21
[2025-02-08 21:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:31:04] Production.INFO: Account Balance Start.
[2025-02-08 21:31:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:31:04] Production.INFO: 117
[2025-02-08 21:31:04] Production.INFO: count ==21
[2025-02-08 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432478') start
[2025-02-08 21:31:04] Production.ERROR: done
[2025-02-08 21:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:31:05] Production.INFO: Date 2025-02-08
[2025-02-08 21:31:05] Production.INFO: Reseller ==> 0
[2025-02-08 21:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432478') end
[2025-02-08 21:31:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:31:05] Production.INFO: 1
[2025-02-08 21:31:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:31:05] Production.ERROR: done
[2025-02-08 21:31:05] Production.INFO: ==14940== Releasing lock...
[2025-02-08 21:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:31:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:31:05] Production.INFO: ==14932== Releasing lock...
[2025-02-08 21:31:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:31:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:31:05] Production.INFO: Total Charge 0
[2025-02-08 21:31:05] Production.INFO: CreateAllLog End
[2025-02-08 21:31:05] Production.INFO: Account Balance End.
[2025-02-08 21:31:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:31:05] Production.INFO: ==14936== Releasing lock...
[2025-02-08 21:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:31:06
[end_date_ymd] => 2025-02-08 21:31:06
[RateCDR] => 1
)
[2025-02-08 21:31: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-02-08 18:31:06' and `end` < '2025-02-08 21:31: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-02-08 21:31:13] Production.ERROR: CronJobId end10
[2025-02-08 21:31:13] Production.INFO: ==14934== Releasing lock...
[2025-02-08 21:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:31:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:31:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:31:16] Production.INFO: call_cost start
[2025-02-08 21:31:16] Production.INFO: call_cost end
[2025-02-08 21:31:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:31:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:31:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:31:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:31:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:31:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:31:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:31:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:31:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:31:17] Production.INFO: ==14930== Releasing lock...
[2025-02-08 21:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:31:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:31:19] Production.INFO: count ==1812
[2025-02-08 21:31:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:31:06 - End Time 2025-02-08 21:31:06
[2025-02-08 21:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432481', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432481', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432481', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432481', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:31:19] Production.INFO: ProcessCDR(1,14432481,1,1,2)
[2025-02-08 21:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432481', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432481', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:31:23] Production.INFO: ==14938== Releasing lock...
[2025-02-08 21:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:31:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:32:01] Production.INFO: ==15002== Lock acquired, processing the job...
[2025-02-09 02:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:32:01] Production.INFO: neon service started
[2025-02-09 02:32:01] Production.INFO: neon service started
[2025-02-09 02:32:01] Production.INFO: ==15002== Releasing lock...
[2025-02-09 02:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:32:02] Production.INFO: ==15004== Lock acquired, processing the job...
[2025-02-08 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:32:02] Production.INFO: ==15004== Releasing lock...
[2025-02-08 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:32:02] Production.INFO: ==15006== Lock acquired, processing the job...
[2025-02-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:32:02] Production.INFO: ==15006== Releasing lock...
[2025-02-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:32:03] Production.INFO: ==15013== Lock acquired, processing the job...
[2025-02-08 21:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:32:03] Production.INFO: ==15009== Lock acquired, processing the job...
[2025-02-08 21:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:32:03] Production.INFO: ==15019== Lock acquired, processing the job...
[2025-02-08 21:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:32:03] Production.INFO: ==15011== Lock acquired, processing the job...
[2025-02-08 21:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:32:03] Production.INFO: ==15017== Lock acquired, processing the job...
[2025-02-08 21:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:32:03] Production.INFO: count ==21
[2025-02-08 21:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:32:03] Production.INFO: count ==21
[2025-02-08 21:32:03] Production.INFO: ==15015== Lock acquired, processing the job...
[2025-02-08 21:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432483') start
[2025-02-08 21:32:04] Production.INFO: ==15011== Releasing lock...
[2025-02-08 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432483') end
[2025-02-08 21:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:32:04] Production.INFO: 1
[2025-02-08 21:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:32:04] Production.INFO: Account Balance Start.
[2025-02-08 21:32:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:32:04] Production.INFO: 117
[2025-02-08 21:32:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:32:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:32:04] Production.INFO: ==15019== Releasing lock...
[2025-02-08 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:32:04] Production.INFO: Total Charge 0
[2025-02-08 21:32:04] Production.ERROR: done
[2025-02-08 21:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:32:04] Production.INFO: CreateAllLog End
[2025-02-08 21:32:04] Production.ERROR: done
[2025-02-08 21:32:04] Production.INFO: Account Balance End.
[2025-02-08 21:32:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:32:04] Production.INFO: ==15015== Releasing lock...
[2025-02-08 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:32:05
[end_date_ymd] => 2025-02-08 21:32:05
[RateCDR] => 1
)
[2025-02-08 21:32: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` >= '2025-02-08 18:32:05' and `end` < '2025-02-08 21:32: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 ,'')
[2025-02-08 21:32:12] Production.ERROR: CronJobId end10
[2025-02-08 21:32:12] Production.INFO: ==15013== Releasing lock...
[2025-02-08 21:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:32:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:32:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:32:16] Production.INFO: call_cost start
[2025-02-08 21:32:16] Production.INFO: call_cost end
[2025-02-08 21:32:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:32:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:32:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:32:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:32:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:32:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:32:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:32:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:32:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:32:17] Production.INFO: ==15009== Releasing lock...
[2025-02-08 21:32:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:32:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:32:19] Production.INFO: count ==1812
[2025-02-08 21:32:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:32:05 - End Time 2025-02-08 21:32:05
[2025-02-08 21:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432486', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432486', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432486', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432486', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:32:19] Production.INFO: ProcessCDR(1,14432486,1,1,2)
[2025-02-08 21:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432486', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432486', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:32:23] Production.INFO: ==15017== Releasing lock...
[2025-02-08 21:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:32:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:33:02] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-02-09 02:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:33:02] Production.INFO: neon service started
[2025-02-09 02:33:02] Production.INFO: neon service started
[2025-02-09 02:33:02] Production.INFO: ==15085== Releasing lock...
[2025-02-09 02:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:33:02] Production.INFO: ==15087== Lock acquired, processing the job...
[2025-02-08 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:33:02] Production.INFO: ==15089== Lock acquired, processing the job...
[2025-02-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 21:33:02] Production.INFO: ==15087== Releasing lock...
[2025-02-08 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:33:03] Production.INFO: ==15089== Releasing lock...
[2025-02-09 02:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:33:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:33:03] Production.INFO: ==15092== Lock acquired, processing the job...
[2025-02-08 21:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:33:03] Production.INFO: ==15094== Lock acquired, processing the job...
[2025-02-08 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:33:04] Production.INFO: ==15094== Releasing lock...
[2025-02-08 21:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:33:04] Production.INFO: ==15102== Lock acquired, processing the job...
[2025-02-08 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:33:04] Production.INFO: ==15098== Lock acquired, processing the job...
[2025-02-08 21:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:33:04] Production.INFO: ==15100== Lock acquired, processing the job...
[2025-02-08 21:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:33:04] Production.INFO: ==15096== Lock acquired, processing the job...
[2025-02-08 21:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:33:04] Production.INFO: count ==21
[2025-02-08 21:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:33:04] Production.INFO: count ==21
[2025-02-08 21:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432489') start
[2025-02-08 21:33:04] Production.INFO: Account Balance Start.
[2025-02-08 21:33:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:33:04] Production.INFO: 117
[2025-02-08 21:33:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:33:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:33:04] Production.INFO: Total Charge 0
[2025-02-08 21:33:04] Production.INFO: CreateAllLog End
[2025-02-08 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432489') end
[2025-02-08 21:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:33:04] Production.INFO: 1
[2025-02-08 21:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:33:04] Production.ERROR: done
[2025-02-08 21:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:33:04] Production.INFO: ==15102== Releasing lock...
[2025-02-08 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:33:05] Production.ERROR: done
[2025-02-08 21:33:05] Production.INFO: Account Balance End.
[2025-02-08 21:33:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:33:05] Production.INFO: ==15098== Releasing lock...
[2025-02-08 21:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:33:06
[end_date_ymd] => 2025-02-08 21:33:06
[RateCDR] => 1
)
[2025-02-08 21:33: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-02-08 18:33:06' and `end` < '2025-02-08 21:33: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-02-08 21:33:13] Production.ERROR: CronJobId end10
[2025-02-08 21:33:13] Production.INFO: ==15096== Releasing lock...
[2025-02-08 21:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:33:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:33:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:33:16] Production.INFO: call_cost start
[2025-02-08 21:33:16] Production.INFO: call_cost end
[2025-02-08 21:33:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:33:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:33:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:33:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:33:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:33:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:33:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:33:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:33:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:33:17] Production.INFO: ==15092== Releasing lock...
[2025-02-08 21:33:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:33:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:33:19] Production.INFO: count ==1812
[2025-02-08 21:33:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:33:06 - End Time 2025-02-08 21:33:06
[2025-02-08 21:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432491', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432491', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432491', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432491', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:33:19] Production.INFO: ProcessCDR(1,14432491,1,1,2)
[2025-02-08 21:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432491', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432491', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:33:23] Production.INFO: ==15100== Releasing lock...
[2025-02-08 21:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:33:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:34:01] Production.INFO: ==15166== Lock acquired, processing the job...
[2025-02-09 02:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:34:01] Production.INFO: neon service started
[2025-02-09 02:34:01] Production.INFO: neon service started
[2025-02-09 02:34:01] Production.INFO: ==15166== Releasing lock...
[2025-02-09 02:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:34:01] Production.INFO: ==15168== Lock acquired, processing the job...
[2025-02-08 21:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:34:02] Production.INFO: ==15168== Releasing lock...
[2025-02-08 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:34:02] Production.INFO: ==15170== Lock acquired, processing the job...
[2025-02-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:34:02] Production.INFO: ==15170== Releasing lock...
[2025-02-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:34:03] Production.INFO: ==15181== Lock acquired, processing the job...
[2025-02-08 21:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:34:03] Production.INFO: ==15183== Lock acquired, processing the job...
[2025-02-08 21:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:34:03] Production.INFO: Account Balance Start.
[2025-02-08 21:34:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:34:03] Production.INFO: 117
[2025-02-08 21:34:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:34:03] Production.INFO: ==15175== Lock acquired, processing the job...
[2025-02-08 21:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:34:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:34:03] Production.INFO: Total Charge 0
[2025-02-08 21:34:03] Production.INFO: ==15185== Lock acquired, processing the job...
[2025-02-08 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:34:03] Production.INFO: CreateAllLog End
[2025-02-08 21:34:03] Production.INFO: ==15177== Lock acquired, processing the job...
[2025-02-08 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:34:03] Production.INFO: ==15179== Lock acquired, processing the job...
[2025-02-08 21:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:34:03] Production.INFO: count ==21
[2025-02-08 21:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:34:03] Production.INFO: count ==21
[2025-02-08 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432493') start
[2025-02-08 21:34:03] Production.ERROR: done
[2025-02-08 21:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:34:04] Production.INFO: Account Balance End.
[2025-02-08 21:34:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:34:04] Production.INFO: ==15181== Releasing lock...
[2025-02-08 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:34:04] Production.ERROR: done
[2025-02-08 21:34:04] Production.INFO: ==15177== Releasing lock...
[2025-02-08 21:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432493') end
[2025-02-08 21:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:34:04] Production.INFO: 1
[2025-02-08 21:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:34:04] Production.INFO: ==15185== Releasing lock...
[2025-02-08 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:34:05
[end_date_ymd] => 2025-02-08 21:34:05
[RateCDR] => 1
)
[2025-02-08 21:34: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` >= '2025-02-08 18:34:05' and `end` < '2025-02-08 21:34: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 ,'')
[2025-02-08 21:34:12] Production.ERROR: CronJobId end10
[2025-02-08 21:34:12] Production.INFO: ==15179== Releasing lock...
[2025-02-08 21:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:34:15] Production.INFO: call_cost start
[2025-02-08 21:34:15] Production.INFO: call_cost end
[2025-02-08 21:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:34:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:34:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:34:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:34:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:34:16] Production.INFO: ==15175== Releasing lock...
[2025-02-08 21:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:34:19] Production.INFO: count ==1811
[2025-02-08 21:34:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:34:05 - End Time 2025-02-08 21:34:05
[2025-02-08 21:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432496', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432496', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432496', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432496', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:34:19] Production.INFO: ProcessCDR(1,14432496,1,1,2)
[2025-02-08 21:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432496', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432496', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:34:23] Production.INFO: ==15183== Releasing lock...
[2025-02-08 21:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:34:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 02:35:02] Production.INFO: ==15252== Lock acquired, processing the job...
[2025-02-09 02:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:35:02] Production.INFO: neon service started
[2025-02-09 02:35:02] Production.INFO: neon service started
[2025-02-09 02:35:02] Production.INFO: ==15252== Releasing lock...
[2025-02-09 02:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:35:02] Production.INFO: ==15254== Lock acquired, processing the job...
[2025-02-08 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:35:02] Production.INFO: ==15256== Lock acquired, processing the job...
[2025-02-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:35:02] Production.INFO: ==15256== Releasing lock...
[2025-02-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:35:03] Production.INFO: ==15254== Releasing lock...
[2025-02-08 21:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:35:04] Production.INFO: ==15261== Lock acquired, processing the job...
[2025-02-08 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:35:04] Production.INFO: ==15263== Lock acquired, processing the job...
[2025-02-08 21:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:35:04] Production.INFO: ==15267== Lock acquired, processing the job...
[2025-02-08 21:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:35:04] Production.INFO: ==15259== Lock acquired, processing the job...
[2025-02-08 21:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:35:04] Production.INFO: ==15261== Releasing lock...
[2025-02-08 21:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:35:04] Production.INFO: ==15265== Lock acquired, processing the job...
[2025-02-08 21:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:35:04] Production.INFO: ==15269== Lock acquired, processing the job...
[2025-02-08 21:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:35:04] Production.INFO: Account Balance Start.
[2025-02-08 21:35:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:35:04] Production.INFO: 117
[2025-02-08 21:35:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:35:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:35:04] Production.INFO: count ==21
[2025-02-08 21:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:35:04] Production.INFO: count ==21
[2025-02-08 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432499') start
[2025-02-08 21:35:04] Production.ERROR: done
[2025-02-08 21:35:04] Production.INFO: Total Charge 0
[2025-02-08 21:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:35:04] Production.INFO: CreateAllLog End
[2025-02-08 21:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432499') end
[2025-02-08 21:35:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:35:05] Production.INFO: 1
[2025-02-08 21:35:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:35:05] Production.INFO: ==15269== Releasing lock...
[2025-02-08 21:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:35:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:35:05] Production.ERROR: done
[2025-02-08 21:35:05] Production.INFO: Account Balance End.
[2025-02-08 21:35:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:35:05] Production.INFO: ==15265== Releasing lock...
[2025-02-08 21:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:35:06
[end_date_ymd] => 2025-02-08 21:35:06
[RateCDR] => 1
)
[2025-02-08 21:35: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-02-08 18:35:06' and `end` < '2025-02-08 21:35: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-02-08 21:35:12] Production.ERROR: CronJobId end10
[2025-02-08 21:35:12] Production.INFO: ==15263== Releasing lock...
[2025-02-08 21:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:35:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:35:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:35:15] Production.INFO: call_cost start
[2025-02-08 21:35:15] Production.INFO: call_cost end
[2025-02-08 21:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:35:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:35:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:35:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:35:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:35:16] Production.INFO: ==15259== Releasing lock...
[2025-02-08 21:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:35:19] Production.INFO: count ==1812
[2025-02-08 21:35:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:35:06 - End Time 2025-02-08 21:35:06
[2025-02-08 21:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432501', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432501', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432501', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432501', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:35:19] Production.INFO: ProcessCDR(1,14432501,1,1,2)
[2025-02-08 21:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432501', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432501', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:35:23] Production.INFO: ==15267== Releasing lock...
[2025-02-08 21:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:35:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:36:01] Production.INFO: ==15337== Lock acquired, processing the job...
[2025-02-09 02:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:36:01] Production.INFO: neon service started
[2025-02-09 02:36:01] Production.INFO: neon service started
[2025-02-09 02:36:01] Production.INFO: ==15337== Releasing lock...
[2025-02-09 02:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:36:01] Production.INFO: ==15339== Lock acquired, processing the job...
[2025-02-08 21:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:36:02] Production.INFO: ==15341== Lock acquired, processing the job...
[2025-02-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 21:36:02] Production.INFO: ==15339== Releasing lock...
[2025-02-08 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:36:02] Production.INFO: ==15341== Releasing lock...
[2025-02-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:36:03] Production.INFO: ==15354== Lock acquired, processing the job...
[2025-02-08 21:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:36:03] Production.INFO: ==15356== Lock acquired, processing the job...
[2025-02-08 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:36:03] Production.INFO: ==15346== Lock acquired, processing the job...
[2025-02-08 21:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:36:03] Production.INFO: ==15348== Lock acquired, processing the job...
[2025-02-08 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:36:03] Production.INFO: count ==21
[2025-02-08 21:36:03] Production.INFO: ==15350== Lock acquired, processing the job...
[2025-02-08 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:36:03] Production.INFO: count ==21
[2025-02-08 21:36:03] Production.INFO: ==15352== Lock acquired, processing the job...
[2025-02-08 21:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432502') start
[2025-02-08 21:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432502') end
[2025-02-08 21:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:36:03] Production.INFO: 1
[2025-02-08 21:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:36:03] Production.ERROR: done
[2025-02-08 21:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:36:03] Production.INFO: ==15356== Releasing lock...
[2025-02-08 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:36:03] Production.INFO: Account Balance Start.
[2025-02-08 21:36:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:36:03] Production.INFO: 117
[2025-02-08 21:36:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:36:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:36:04] Production.INFO: ==15348== Releasing lock...
[2025-02-08 21:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:36:04] Production.ERROR: done
[2025-02-08 21:36:04] Production.INFO: Total Charge 0
[2025-02-08 21:36:04] Production.INFO: CreateAllLog End
[2025-02-08 21:36:04] Production.INFO: Account Balance End.
[2025-02-08 21:36:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:36:04] Production.INFO: ==15352== Releasing lock...
[2025-02-08 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:36:05
[end_date_ymd] => 2025-02-08 21:36:05
[RateCDR] => 1
)
[2025-02-08 21:36: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` >= '2025-02-08 18:36:05' and `end` < '2025-02-08 21:36: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 ,'')
[2025-02-08 21:36:13] Production.ERROR: CronJobId end10
[2025-02-08 21:36:13] Production.INFO: ==15350== Releasing lock...
[2025-02-08 21:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:36:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:36:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:36:15] Production.INFO: call_cost start
[2025-02-08 21:36:15] Production.INFO: call_cost end
[2025-02-08 21:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:36:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:36:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:36:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:36:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:36:16] Production.INFO: ==15346== Releasing lock...
[2025-02-08 21:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:36:18] Production.INFO: count ==1811
[2025-02-08 21:36:18] Production.ERROR: pbx CDR StartTime 2025-02-08 18:36:05 - End Time 2025-02-08 21:36:05
[2025-02-08 21:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432506', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432506', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432506', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432506', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:36:18] Production.INFO: ProcessCDR(1,14432506,1,1,2)
[2025-02-08 21:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432506', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432506', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:36:22] Production.INFO: ==15354== Releasing lock...
[2025-02-08 21:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:36:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:37:02] Production.INFO: ==15424== Lock acquired, processing the job...
[2025-02-09 02:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:37:02] Production.INFO: neon service started
[2025-02-09 02:37:02] Production.INFO: neon service started
[2025-02-09 02:37:02] Production.INFO: ==15424== Releasing lock...
[2025-02-09 02:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:37:02] Production.INFO: ==15427== Lock acquired, processing the job...
[2025-02-08 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:37:02] Production.INFO: ==15427== Releasing lock...
[2025-02-08 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:37:03] Production.INFO: ==15429== Lock acquired, processing the job...
[2025-02-09 02:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:37:03] Production.INFO: ==15429== Releasing lock...
[2025-02-09 02:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:37:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:37:03] Production.INFO: ==15437== Lock acquired, processing the job...
[2025-02-08 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:37:03] Production.INFO: ==15439== Lock acquired, processing the job...
[2025-02-08 21:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:37:03] Production.INFO: Account Balance Start.
[2025-02-08 21:37:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:37:03] Production.INFO: 117
[2025-02-08 21:37:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:37:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:37:04] Production.INFO: ==15431== Lock acquired, processing the job...
[2025-02-08 21:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:37:04] Production.INFO: Total Charge 0
[2025-02-08 21:37:04] Production.INFO: CreateAllLog End
[2025-02-08 21:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:37:04] Production.INFO: ==15433== Lock acquired, processing the job...
[2025-02-08 21:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:37:04] Production.INFO: ==15435== Lock acquired, processing the job...
[2025-02-08 21:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:37:04] Production.INFO: ==15441== Lock acquired, processing the job...
[2025-02-08 21:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:37:04] Production.INFO: Account Balance End.
[2025-02-08 21:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:37:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:37:04] Production.INFO: ==15437== Releasing lock...
[2025-02-08 21:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:37:04] Production.ERROR: done
[2025-02-08 21:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:37:04] Production.INFO: count ==21
[2025-02-08 21:37:04] Production.INFO: ==15433== Releasing lock...
[2025-02-08 21:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:37:04] Production.INFO: count ==21
[2025-02-08 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432510') start
[2025-02-08 21:37:04] Production.ERROR: done
[2025-02-08 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432510') end
[2025-02-08 21:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:37:04] Production.INFO: 1
[2025-02-08 21:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:37:04] Production.INFO: ==15441== Releasing lock...
[2025-02-08 21:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:37:05
[end_date_ymd] => 2025-02-08 21:37:05
[RateCDR] => 1
)
[2025-02-08 21:37: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` >= '2025-02-08 18:37:05' and `end` < '2025-02-08 21:37: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 ,'')
[2025-02-08 21:37:13] Production.ERROR: CronJobId end10
[2025-02-08 21:37:13] Production.INFO: ==15435== Releasing lock...
[2025-02-08 21:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:37:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:37:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:37:16] Production.INFO: call_cost start
[2025-02-08 21:37:16] Production.INFO: call_cost end
[2025-02-08 21:37:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:37:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:37:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:37:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:37:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:37:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:37:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:37:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:37:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:37:17] Production.INFO: ==15431== Releasing lock...
[2025-02-08 21:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:37:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:37:19] Production.INFO: count ==1811
[2025-02-08 21:37:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:37:05 - End Time 2025-02-08 21:37:05
[2025-02-08 21:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432511', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432511', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432511', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432511', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:37:20] Production.INFO: ProcessCDR(1,14432511,1,1,2)
[2025-02-08 21:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432511', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432511', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:37:24] Production.INFO: ==15439== Releasing lock...
[2025-02-08 21:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:37:24] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:38:01] Production.INFO: ==15507== Lock acquired, processing the job...
[2025-02-09 02:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:38:01] Production.INFO: neon service started
[2025-02-09 02:38:01] Production.INFO: neon service started
[2025-02-09 02:38:01] Production.INFO: ==15507== Releasing lock...
[2025-02-09 02:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:38:01] Production.INFO: ==15509== Lock acquired, processing the job...
[2025-02-08 21:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:38:02] Production.INFO: ==15511== Lock acquired, processing the job...
[2025-02-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:38:02] Production.INFO: ==15511== Releasing lock...
[2025-02-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:38:02] Production.INFO: ==15509== Releasing lock...
[2025-02-08 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:38:03] Production.INFO: ==15516== Lock acquired, processing the job...
[2025-02-08 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:38:03] Production.INFO: ==15518== Lock acquired, processing the job...
[2025-02-08 21:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:38:03] Production.INFO: ==15524== Lock acquired, processing the job...
[2025-02-08 21:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:38:03] Production.INFO: ==15514== Lock acquired, processing the job...
[2025-02-08 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:38:03] Production.INFO: ==15516== Releasing lock...
[2025-02-08 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:38:03] Production.INFO: count ==21
[2025-02-08 21:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:38:03] Production.INFO: count ==21
[2025-02-08 21:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432513') start
[2025-02-08 21:38:03] Production.INFO: ==15522== Lock acquired, processing the job...
[2025-02-08 21:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:38:03] Production.INFO: ==15520== Lock acquired, processing the job...
[2025-02-08 21:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:38:03] Production.INFO: Account Balance Start.
[2025-02-08 21:38:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:38:03] Production.INFO: 117
[2025-02-08 21:38:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:38:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432513') end
[2025-02-08 21:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:38:03] Production.INFO: 1
[2025-02-08 21:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:38:03] Production.INFO: Total Charge 0
[2025-02-08 21:38:03] Production.INFO: ==15524== Releasing lock...
[2025-02-08 21:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:38:04] Production.INFO: CreateAllLog End
[2025-02-08 21:38:04] Production.ERROR: done
[2025-02-08 21:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:38:04] Production.INFO: Account Balance End.
[2025-02-08 21:38:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:38:04] Production.INFO: ==15520== Releasing lock...
[2025-02-08 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:38:04] Production.ERROR: done
[2025-02-08 21:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:38:05
[end_date_ymd] => 2025-02-08 21:38:05
[RateCDR] => 1
)
[2025-02-08 21:38: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` >= '2025-02-08 18:38:05' and `end` < '2025-02-08 21:38: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 ,'')
[2025-02-08 21:38:12] Production.ERROR: CronJobId end10
[2025-02-08 21:38:12] Production.INFO: ==15518== Releasing lock...
[2025-02-08 21:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:38:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:38:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:38:15] Production.INFO: call_cost start
[2025-02-08 21:38:15] Production.INFO: call_cost end
[2025-02-08 21:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:38:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:38:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:38:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:38:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:38:16] Production.INFO: ==15514== Releasing lock...
[2025-02-08 21:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:38:19] Production.INFO: count ==1811
[2025-02-08 21:38:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:38:05 - End Time 2025-02-08 21:38:05
[2025-02-08 21:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432516', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432516', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432516', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432516', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:38:20] Production.INFO: ProcessCDR(1,14432516,1,1,2)
[2025-02-08 21:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432516', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432516', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:38:23] Production.INFO: ==15522== Releasing lock...
[2025-02-08 21:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:38:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:39:01] Production.INFO: ==15592== Lock acquired, processing the job...
[2025-02-09 02:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:39:01] Production.INFO: neon service started
[2025-02-09 02:39:01] Production.INFO: neon service started
[2025-02-09 02:39:01] Production.INFO: ==15592== Releasing lock...
[2025-02-09 02:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:39:02] Production.INFO: ==15596== Lock acquired, processing the job...
[2025-02-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:39:02] Production.INFO: ==15596== Releasing lock...
[2025-02-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:39:02] Production.INFO: ==15594== Lock acquired, processing the job...
[2025-02-08 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:39:02] Production.INFO: ==15594== Releasing lock...
[2025-02-08 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:39:03] Production.INFO: ==15607== Lock acquired, processing the job...
[2025-02-08 21:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:39:03] Production.INFO: ==15605== Lock acquired, processing the job...
[2025-02-08 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:39:03] Production.INFO: ==15598== Lock acquired, processing the job...
[2025-02-08 21:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:39:04] Production.INFO: Account Balance Start.
[2025-02-08 21:39:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:39:04] Production.INFO: 117
[2025-02-08 21:39:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:39:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:39:04] Production.INFO: Total Charge 0
[2025-02-08 21:39:04] Production.INFO: ==15600== Lock acquired, processing the job...
[2025-02-08 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:39:04] Production.INFO: CreateAllLog End
[2025-02-08 21:39:04] Production.INFO: ==15602== Lock acquired, processing the job...
[2025-02-08 21:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:39:04] Production.INFO: ==15609== Lock acquired, processing the job...
[2025-02-08 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:39:04] Production.INFO: Account Balance End.
[2025-02-08 21:39:04] Production.ERROR: done
[2025-02-08 21:39:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:39:04] Production.INFO: ==15605== Releasing lock...
[2025-02-08 21:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:39:04] Production.INFO: count ==21
[2025-02-08 21:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:39:04] Production.INFO: count ==21
[2025-02-08 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432520') start
[2025-02-08 21:39:04] Production.INFO: ==15600== Releasing lock...
[2025-02-08 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:39:04] Production.ERROR: done
[2025-02-08 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432520') end
[2025-02-08 21:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:39:04] Production.INFO: 1
[2025-02-08 21:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:39:04] Production.INFO: ==15609== Releasing lock...
[2025-02-08 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:39:05
[end_date_ymd] => 2025-02-08 21:39:05
[RateCDR] => 1
)
[2025-02-08 21:39: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` >= '2025-02-08 18:39:05' and `end` < '2025-02-08 21:39: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 ,'')
[2025-02-08 21:39:13] Production.ERROR: CronJobId end10
[2025-02-08 21:39:13] Production.INFO: ==15602== Releasing lock...
[2025-02-08 21:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:39:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:39:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:39:15] Production.INFO: call_cost start
[2025-02-08 21:39:15] Production.INFO: call_cost end
[2025-02-08 21:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:39:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:39:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:39:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:39:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:39:16] Production.INFO: ==15598== Releasing lock...
[2025-02-08 21:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:39:18] Production.INFO: count ==1817
[2025-02-08 21:39:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:39:05 - End Time 2025-02-08 21:39:05
[2025-02-08 21:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432521', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432521', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432521', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432521', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:39:19] Production.INFO: ProcessCDR(1,14432521,1,1,2)
[2025-02-08 21:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432521', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432521', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:39:22] Production.INFO: ==15607== Releasing lock...
[2025-02-08 21:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:39:22] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:40:01] Production.INFO: ==15671== Lock acquired, processing the job...
[2025-02-09 02:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:40:01] Production.INFO: neon service started
[2025-02-09 02:40:01] Production.INFO: neon service started
[2025-02-09 02:40:01] Production.INFO: ==15671== Releasing lock...
[2025-02-09 02:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:40:02] Production.INFO: ==15673== Lock acquired, processing the job...
[2025-02-08 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:40:02] Production.INFO: ==15675== Lock acquired, processing the job...
[2025-02-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:40:02] Production.INFO: ==15675== Releasing lock...
[2025-02-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:40:02] Production.INFO: ==15673== Releasing lock...
[2025-02-08 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:40:03] Production.INFO: ==15678== Lock acquired, processing the job...
[2025-02-08 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 21:40:04] Production.INFO: ==15680== Lock acquired, processing the job...
[2025-02-08 21:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 21:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 21:40:04] Production.ERROR: CronJob PID - 15680
[2025-02-08 21:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 21:40:04] Production.ERROR: CronJob ID - 5
[2025-02-08 21:40:04] Production.ERROR: CronJob Last Run Time 2025-02-08 21:40:00
[2025-02-08 21:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 21:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 21:40:04] Production.INFO: ==15682== Lock acquired, processing the job...
[2025-02-08 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 21:40:04] Production.INFO: ==15678== Releasing lock...
[2025-02-08 21:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 21:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 21:40:04] Production.INFO: ==15690== Lock acquired, processing the job...
[2025-02-08 21:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 21:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:40:04] Production.INFO: ==15684== Lock acquired, processing the job...
[2025-02-08 21:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:40:04] Production.INFO: ==15686== Lock acquired, processing the job...
[2025-02-08 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:40:04] Production.INFO: ==15688== Lock acquired, processing the job...
[2025-02-08 21:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:40:04] Production.INFO: ==15692== Lock acquired, processing the job...
[2025-02-08 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:40:04] Production.INFO: Account Balance Start.
[2025-02-08 21:40:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:40:04] Production.INFO: 117
[2025-02-08 21:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:40:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:40:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:40:04] Production.INFO: count ==21
[2025-02-08 21:40:04] Production.INFO: Total Charge 0
[2025-02-08 21:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:40:04] Production.INFO: count ==21
[2025-02-08 21:40:04] Production.INFO: CreateAllLog End
[2025-02-08 21:40:04] Production.INFO: ==15682== Releasing lock...
[2025-02-08 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432525') start
[2025-02-08 21:40:04] Production.ERROR: done
[2025-02-08 21:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 21:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432526', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 21:40:04] Production.ERROR: done
[2025-02-08 21:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432525') end
[2025-02-08 21:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:40:04] Production.INFO: 1
[2025-02-08 21:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:40:05] Production.INFO: Account Balance End.
[2025-02-08 21:40:05] Production.ERROR: done
[2025-02-08 21:40:05] Production.INFO: ==15692== Releasing lock...
[2025-02-08 21:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:40:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:40:05] Production.INFO: ==15686== Releasing lock...
[2025-02-08 21:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:40:06
[end_date_ymd] => 2025-02-08 21:40:06
[RateCDR] => 1
)
[2025-02-08 21:40: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-02-08 18:40:06' and `end` < '2025-02-08 21:40: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-02-08 21:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432526', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 21:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 21:40:09] Production.INFO: ProcessCDR(1,14432526,1,1,2)
[2025-02-08 21:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432526,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432526,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:40:09] Production.INFO: ==15690== Releasing lock...
[2025-02-08 21:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 21:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 21:40:15] Production.ERROR: CronJobId end10
[2025-02-08 21:40:15] Production.INFO: ==15684== Releasing lock...
[2025-02-08 21:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:40:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:40:18] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:40:18] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:40:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:40:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:40:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:40:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:40:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:40:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:40:18] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:40:18] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:40:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:40:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:40:18] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:40:18] Production.INFO: call_cost start
[2025-02-08 21:40:18] Production.INFO: call_cost end
[2025-02-08 21:40:19] Production.INFO: count ==1814
[2025-02-08 21:40:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:40:19] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:40:19] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:40:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:40:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:40:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:40:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:40:19] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:40:19] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:40:19] Production.INFO: ==15680== Releasing lock...
[2025-02-08 21:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:40:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:40:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:40:06 - End Time 2025-02-08 21:40:06
[2025-02-08 21:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432527', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432527', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432527', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432527', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:40:20] Production.INFO: ProcessCDR(1,14432527,1,1,2)
[2025-02-08 21:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432527', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432527', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:40:24] Production.INFO: ==15688== Releasing lock...
[2025-02-08 21:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:40:24] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:41:01] Production.INFO: ==15759== Lock acquired, processing the job...
[2025-02-09 02:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:41:01] Production.INFO: neon service started
[2025-02-09 02:41:01] Production.INFO: neon service started
[2025-02-09 02:41:01] Production.INFO: ==15759== Releasing lock...
[2025-02-09 02:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:41:02] Production.INFO: ==15761== Lock acquired, processing the job...
[2025-02-08 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:41:02] Production.INFO: ==15761== Releasing lock...
[2025-02-08 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:41:02] Production.INFO: ==15763== Lock acquired, processing the job...
[2025-02-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:41:02] Production.INFO: ==15763== Releasing lock...
[2025-02-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:41:03] Production.INFO: ==15765== Lock acquired, processing the job...
[2025-02-08 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:41:03] Production.INFO: ==15769== Lock acquired, processing the job...
[2025-02-08 21:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:41:03] Production.INFO: ==15774== Lock acquired, processing the job...
[2025-02-08 21:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:41:03] Production.INFO: ==15767== Lock acquired, processing the job...
[2025-02-08 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:41:03] Production.INFO: ==15771== Lock acquired, processing the job...
[2025-02-08 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:41:04] Production.INFO: ==15776== Lock acquired, processing the job...
[2025-02-08 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:41:04] Production.ERROR: done
[2025-02-08 21:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:41:04] Production.INFO: Account Balance Start.
[2025-02-08 21:41:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:41:04] Production.INFO: 117
[2025-02-08 21:41:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:41:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:41:04] Production.INFO: count ==21
[2025-02-08 21:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:41:04] Production.INFO: count ==21
[2025-02-08 21:41:04] Production.ERROR: done
[2025-02-08 21:41:04] Production.INFO: Total Charge 0
[2025-02-08 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432530') start
[2025-02-08 21:41:04] Production.INFO: CreateAllLog End
[2025-02-08 21:41:04] Production.INFO: ==15767== Releasing lock...
[2025-02-08 21:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432530') end
[2025-02-08 21:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:41:04] Production.INFO: 1
[2025-02-08 21:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:41:04] Production.INFO: Account Balance End.
[2025-02-08 21:41:04] Production.INFO: ==15776== Releasing lock...
[2025-02-08 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:41:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:41:04] Production.INFO: ==15771== Releasing lock...
[2025-02-08 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:41:05
[end_date_ymd] => 2025-02-08 21:41:05
[RateCDR] => 1
)
[2025-02-08 21:41: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` >= '2025-02-08 18:41:05' and `end` < '2025-02-08 21:41: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 ,'')
[2025-02-08 21:41:13] Production.ERROR: CronJobId end10
[2025-02-08 21:41:13] Production.INFO: ==15769== Releasing lock...
[2025-02-08 21:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:41:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:41:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:41:15] Production.INFO: call_cost start
[2025-02-08 21:41:15] Production.INFO: call_cost end
[2025-02-08 21:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:41:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:41:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:41:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:41:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:41:16] Production.INFO: ==15765== Releasing lock...
[2025-02-08 21:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:41:19] Production.INFO: count ==1787
[2025-02-08 21:41:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:41:05 - End Time 2025-02-08 21:41:05
[2025-02-08 21:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432532', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432532', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432532', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432532', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:41:19] Production.INFO: ProcessCDR(1,14432532,1,1,2)
[2025-02-08 21:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432532', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432532', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:41:23] Production.INFO: ==15774== Releasing lock...
[2025-02-08 21:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:41:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:42:02] Production.INFO: ==15848== Lock acquired, processing the job...
[2025-02-09 02:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:42:02] Production.INFO: neon service started
[2025-02-09 02:42:02] Production.INFO: neon service started
[2025-02-09 02:42:02] Production.INFO: ==15848== Releasing lock...
[2025-02-09 02:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:42:02] Production.INFO: ==15850== Lock acquired, processing the job...
[2025-02-08 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:42:03] Production.INFO: ==15850== Releasing lock...
[2025-02-08 21:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:42:03] Production.INFO: ==15852== Lock acquired, processing the job...
[2025-02-09 02:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:42:03] Production.INFO: ==15852== Releasing lock...
[2025-02-09 02:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:42:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:42:04] Production.INFO: ==15859== Lock acquired, processing the job...
[2025-02-08 21:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:42:04] Production.INFO: ==15863== Lock acquired, processing the job...
[2025-02-08 21:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:42:04] Production.INFO: ==15855== Lock acquired, processing the job...
[2025-02-08 21:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:42:04] Production.INFO: ==15857== Lock acquired, processing the job...
[2025-02-08 21:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:42:04] Production.INFO: ==15861== Lock acquired, processing the job...
[2025-02-08 21:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:42:04] Production.INFO: ==15865== Lock acquired, processing the job...
[2025-02-08 21:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:42:04] Production.ERROR: done
[2025-02-08 21:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:42:04] Production.INFO: Account Balance Start.
[2025-02-08 21:42:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:42:04] Production.INFO: 117
[2025-02-08 21:42:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:42:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:42:04] Production.INFO: count ==21
[2025-02-08 21:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:42:04] Production.INFO: count ==21
[2025-02-08 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432536') start
[2025-02-08 21:42:04] Production.ERROR: done
[2025-02-08 21:42:04] Production.INFO: ==15857== Releasing lock...
[2025-02-08 21:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:42:04] Production.INFO: Total Charge 0
[2025-02-08 21:42:04] Production.INFO: CreateAllLog End
[2025-02-08 21:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432536') end
[2025-02-08 21:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:42:05] Production.INFO: 1
[2025-02-08 21:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:42:05] Production.INFO: Account Balance End.
[2025-02-08 21:42:05] Production.INFO: ==15865== Releasing lock...
[2025-02-08 21:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:42:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:42:05] Production.INFO: ==15861== Releasing lock...
[2025-02-08 21:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:42:06
[end_date_ymd] => 2025-02-08 21:42:06
[RateCDR] => 1
)
[2025-02-08 21:42: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-02-08 18:42:06' and `end` < '2025-02-08 21:42: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-02-08 21:42:14] Production.ERROR: CronJobId end10
[2025-02-08 21:42:14] Production.INFO: ==15859== Releasing lock...
[2025-02-08 21:42:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:42:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:42:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:42:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:42:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:42:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:42:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:42:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:42:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:42:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:42:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:42:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:42:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:42:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:42:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:42:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:42:16] Production.INFO: call_cost start
[2025-02-08 21:42:16] Production.INFO: call_cost end
[2025-02-08 21:42:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:42:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:42:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:42:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:42:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:42:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:42:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:42:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:42:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:42:17] Production.INFO: ==15855== Releasing lock...
[2025-02-08 21:42:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:42:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:42:19] Production.INFO: count ==1787
[2025-02-08 21:42:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:42:06 - End Time 2025-02-08 21:42:06
[2025-02-08 21:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432537', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432537', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432537', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432537', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:42:19] Production.INFO: ProcessCDR(1,14432537,1,1,2)
[2025-02-08 21:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:42:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432537', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432537', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:42:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:42:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:42:25] Production.INFO: ==15863== Releasing lock...
[2025-02-08 21:42:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:42:25] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:43:01] Production.INFO: ==15924== Lock acquired, processing the job...
[2025-02-09 02:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:43:01] Production.INFO: neon service started
[2025-02-09 02:43:01] Production.INFO: neon service started
[2025-02-09 02:43:01] Production.INFO: ==15924== Releasing lock...
[2025-02-09 02:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:43:02] Production.INFO: ==15926== Lock acquired, processing the job...
[2025-02-08 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:43:02] Production.INFO: ==15928== Lock acquired, processing the job...
[2025-02-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:43:02] Production.INFO: ==15928== Releasing lock...
[2025-02-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:43:02] Production.INFO: ==15926== Releasing lock...
[2025-02-08 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:43:03] Production.INFO: ==15933== Lock acquired, processing the job...
[2025-02-08 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:43:04] Production.INFO: ==15939== Lock acquired, processing the job...
[2025-02-08 21:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:43:04] Production.INFO: ==15931== Lock acquired, processing the job...
[2025-02-08 21:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:43:04] Production.INFO: ==15935== Lock acquired, processing the job...
[2025-02-08 21:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:43:04] Production.INFO: ==15937== Lock acquired, processing the job...
[2025-02-08 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:43:04] Production.INFO: ==15941== Lock acquired, processing the job...
[2025-02-08 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:43:04] Production.INFO: ==15933== Releasing lock...
[2025-02-08 21:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:43:04] Production.INFO: Account Balance Start.
[2025-02-08 21:43:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:43:04] Production.INFO: 117
[2025-02-08 21:43:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:43:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:43:04] Production.INFO: Total Charge 0
[2025-02-08 21:43:04] Production.INFO: count ==21
[2025-02-08 21:43:04] Production.INFO: CreateAllLog End
[2025-02-08 21:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:43:04] Production.INFO: count ==21
[2025-02-08 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432541') start
[2025-02-08 21:43:04] Production.ERROR: done
[2025-02-08 21:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:43:04] Production.INFO: Account Balance End.
[2025-02-08 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432541') end
[2025-02-08 21:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:43:04] Production.INFO: 1
[2025-02-08 21:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:43:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:43:04] Production.INFO: ==15937== Releasing lock...
[2025-02-08 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:43:04] Production.INFO: ==15941== Releasing lock...
[2025-02-08 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:43:04] Production.ERROR: done
[2025-02-08 21:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:43:05
[end_date_ymd] => 2025-02-08 21:43:05
[RateCDR] => 1
)
[2025-02-08 21:43: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` >= '2025-02-08 18:43:05' and `end` < '2025-02-08 21:43: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 ,'')
[2025-02-08 21:43:13] Production.ERROR: CronJobId end10
[2025-02-08 21:43:13] Production.INFO: ==15935== Releasing lock...
[2025-02-08 21:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:43:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:43:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:43:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:43:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:43:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:43:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:43:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:43:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:43:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:43:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:43:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:43:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:43:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:43:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:43:15] Production.INFO: call_cost start
[2025-02-08 21:43:15] Production.INFO: call_cost end
[2025-02-08 21:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:43:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:43:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:43:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:43:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:43:16] Production.INFO: ==15931== Releasing lock...
[2025-02-08 21:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:43:19] Production.INFO: count ==1809
[2025-02-08 21:43:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:43:05 - End Time 2025-02-08 21:43:05
[2025-02-08 21:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432542', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432542', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432542', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432542', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:43:20] Production.INFO: ProcessCDR(1,14432542,1,1,2)
[2025-02-08 21:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432542', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432542', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:43:23] Production.INFO: ==15939== Releasing lock...
[2025-02-08 21:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:43:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:44:02] Production.INFO: ==16007== Lock acquired, processing the job...
[2025-02-09 02:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:44:02] Production.INFO: neon service started
[2025-02-09 02:44:02] Production.INFO: neon service started
[2025-02-09 02:44:02] Production.INFO: ==16007== Releasing lock...
[2025-02-09 02:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:44:02] Production.INFO: ==16011== Lock acquired, processing the job...
[2025-02-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:44:02] Production.INFO: ==16011== Releasing lock...
[2025-02-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:44:02] Production.INFO: ==16009== Lock acquired, processing the job...
[2025-02-08 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:44:03] Production.INFO: ==16009== Releasing lock...
[2025-02-08 21:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:44:04] Production.INFO: ==16016== Lock acquired, processing the job...
[2025-02-08 21:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:44:04] Production.INFO: ==16014== Lock acquired, processing the job...
[2025-02-08 21:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:44:04] Production.INFO: ==16022== Lock acquired, processing the job...
[2025-02-08 21:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:44:04] Production.INFO: ==16018== Lock acquired, processing the job...
[2025-02-08 21:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:44:04] Production.INFO: ==16020== Lock acquired, processing the job...
[2025-02-08 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:44:04] Production.INFO: ==16016== Releasing lock...
[2025-02-08 21:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:44:04] Production.INFO: ==16024== Lock acquired, processing the job...
[2025-02-08 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:44:04] Production.INFO: Account Balance Start.
[2025-02-08 21:44:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:44:04] Production.INFO: 117
[2025-02-08 21:44:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:44:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:44:04] Production.ERROR: done
[2025-02-08 21:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:44:04] Production.INFO: Total Charge 0
[2025-02-08 21:44:04] Production.INFO: CreateAllLog End
[2025-02-08 21:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:44:04] Production.ERROR: done
[2025-02-08 21:44:05] Production.INFO: count ==21
[2025-02-08 21:44:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:44:05] Production.INFO: count ==21
[2025-02-08 21:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432546') start
[2025-02-08 21:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432546') end
[2025-02-08 21:44:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:44:05] Production.INFO: 1
[2025-02-08 21:44:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:44:05] Production.INFO: Account Balance End.
[2025-02-08 21:44:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:44:05] Production.INFO: ==16020== Releasing lock...
[2025-02-08 21:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:44:05] Production.INFO: ==16024== Releasing lock...
[2025-02-08 21:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:44:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:44:05
[end_date_ymd] => 2025-02-08 21:44:05
[RateCDR] => 1
)
[2025-02-08 21:44: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` >= '2025-02-08 18:44:05' and `end` < '2025-02-08 21:44: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 ,'')
[2025-02-08 21:44:14] Production.ERROR: CronJobId end10
[2025-02-08 21:44:14] Production.INFO: ==16018== Releasing lock...
[2025-02-08 21:44:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:44:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:44:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:44:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:44:16] Production.INFO: call_cost start
[2025-02-08 21:44:16] Production.INFO: call_cost end
[2025-02-08 21:44:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:44:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:44:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:44:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:44:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:44:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:44:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:44:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:44:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:44:17] Production.INFO: ==16014== Releasing lock...
[2025-02-08 21:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:44:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:44:19] Production.INFO: count ==1805
[2025-02-08 21:44:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:44:05 - End Time 2025-02-08 21:44:05
[2025-02-08 21:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432547', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432547', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432547', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432547', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:44:19] Production.INFO: ProcessCDR(1,14432547,1,1,2)
[2025-02-08 21:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432547', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432547', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:44:23] Production.INFO: ==16022== Releasing lock...
[2025-02-08 21:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:44:23] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:45:01] Production.INFO: ==16098== Lock acquired, processing the job...
[2025-02-09 02:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:45:01] Production.INFO: neon service started
[2025-02-09 02:45:01] Production.INFO: neon service started
[2025-02-09 02:45:01] Production.INFO: ==16098== Releasing lock...
[2025-02-09 02:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:45:02] Production.INFO: ==16100== Lock acquired, processing the job...
[2025-02-08 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:45:02] Production.INFO: ==16102== Lock acquired, processing the job...
[2025-02-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:45:02] Production.INFO: ==16102== Releasing lock...
[2025-02-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:45:02] Production.INFO: ==16100== Releasing lock...
[2025-02-08 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:45:03] Production.INFO: ==16105== Lock acquired, processing the job...
[2025-02-08 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:45:03] Production.INFO: ==16107== Lock acquired, processing the job...
[2025-02-08 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:45:03] Production.INFO: ==16115== Lock acquired, processing the job...
[2025-02-08 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:45:03] Production.INFO: count ==21
[2025-02-08 21:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:45:03] Production.INFO: count ==21
[2025-02-08 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432550') start
[2025-02-08 21:45:04] Production.INFO: ==16109== Lock acquired, processing the job...
[2025-02-08 21:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:45:04] Production.INFO: ==16107== Releasing lock...
[2025-02-08 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:45:04] Production.INFO: ==16111== Lock acquired, processing the job...
[2025-02-08 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:45:04] Production.INFO: ==16113== Lock acquired, processing the job...
[2025-02-08 21:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432550') end
[2025-02-08 21:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:45:04] Production.INFO: 1
[2025-02-08 21:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:45:04] Production.INFO: ==16115== Releasing lock...
[2025-02-08 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:45:04] Production.INFO: Account Balance Start.
[2025-02-08 21:45:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:45:04] Production.INFO: 117
[2025-02-08 21:45:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:45:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:45:04] Production.INFO: Total Charge 0
[2025-02-08 21:45:04] Production.INFO: CreateAllLog End
[2025-02-08 21:45:04] Production.ERROR: done
[2025-02-08 21:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:45:04] Production.INFO: Account Balance End.
[2025-02-08 21:45:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:45:04] Production.INFO: ==16111== Releasing lock...
[2025-02-08 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:45:04] Production.ERROR: done
[2025-02-08 21:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:45:06
[end_date_ymd] => 2025-02-08 21:45:06
[RateCDR] => 1
)
[2025-02-08 21:45: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-02-08 18:45:06' and `end` < '2025-02-08 21:45: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-02-08 21:45:13] Production.ERROR: CronJobId end10
[2025-02-08 21:45:13] Production.INFO: ==16109== Releasing lock...
[2025-02-08 21:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:45:14] Production.INFO: call_cost start
[2025-02-08 21:45:14] Production.INFO: call_cost end
[2025-02-08 21:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:45:15] Production.INFO: ==16105== Releasing lock...
[2025-02-08 21:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:45:19] Production.INFO: count ==1803
[2025-02-08 21:45:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:45:06 - End Time 2025-02-08 21:45:06
[2025-02-08 21:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432552', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432552', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432552', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432552', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:45:19] Production.INFO: ProcessCDR(1,14432552,1,1,2)
[2025-02-08 21:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:45:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:45:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432552', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432552', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:45:24] Production.INFO: ==16113== Releasing lock...
[2025-02-08 21:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:45:24] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:46:02] Production.INFO: ==16215== Lock acquired, processing the job...
[2025-02-09 02:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:46:02] Production.INFO: neon service started
[2025-02-09 02:46:02] Production.INFO: neon service started
[2025-02-09 02:46:02] Production.INFO: ==16215== Releasing lock...
[2025-02-09 02:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:46:02] Production.INFO: ==16217== Lock acquired, processing the job...
[2025-02-08 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:46:02] Production.INFO: ==16217== Releasing lock...
[2025-02-08 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:46:02] Production.INFO: ==16219== Lock acquired, processing the job...
[2025-02-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:46:03] Production.INFO: ==16219== Releasing lock...
[2025-02-09 02:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:46:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:46:04] Production.INFO: ==16221== Lock acquired, processing the job...
[2025-02-08 21:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:46:04] Production.INFO: ==16227== Lock acquired, processing the job...
[2025-02-08 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:46:04] Production.INFO: ==16231== Lock acquired, processing the job...
[2025-02-08 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:46:04] Production.INFO: Account Balance Start.
[2025-02-08 21:46:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:46:04] Production.INFO: ==16223== Lock acquired, processing the job...
[2025-02-08 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:46:04] Production.INFO: 117
[2025-02-08 21:46:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:46:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:46:04] Production.INFO: count ==21
[2025-02-08 21:46:04] Production.INFO: ==16225== Lock acquired, processing the job...
[2025-02-08 21:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:46:04] Production.INFO: Total Charge 0
[2025-02-08 21:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:46:04] Production.INFO: count ==21
[2025-02-08 21:46:04] Production.INFO: CreateAllLog End
[2025-02-08 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432555') start
[2025-02-08 21:46:04] Production.INFO: ==16229== Lock acquired, processing the job...
[2025-02-08 21:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432555') end
[2025-02-08 21:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:46:04] Production.INFO: 1
[2025-02-08 21:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:46:04] Production.INFO: Account Balance End.
[2025-02-08 21:46:04] Production.INFO: ==16231== Releasing lock...
[2025-02-08 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:46:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:46:04] Production.INFO: ==16227== Releasing lock...
[2025-02-08 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:46:04] Production.INFO: ==16223== Releasing lock...
[2025-02-08 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:46:04] Production.ERROR: done
[2025-02-08 21:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:46:05] Production.ERROR: done
[2025-02-08 21:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:46:05
[end_date_ymd] => 2025-02-08 21:46:05
[RateCDR] => 1
)
[2025-02-08 21:46: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` >= '2025-02-08 18:46:05' and `end` < '2025-02-08 21:46: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 ,'')
[2025-02-08 21:46:14] Production.ERROR: CronJobId end10
[2025-02-08 21:46:14] Production.INFO: ==16225== Releasing lock...
[2025-02-08 21:46:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:46:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:46:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:46:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:46:16] Production.INFO: call_cost start
[2025-02-08 21:46:16] Production.INFO: call_cost end
[2025-02-08 21:46:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:46:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:46:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:46:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:46:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:46:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:46:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:46:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:46:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:46:17] Production.INFO: ==16221== Releasing lock...
[2025-02-08 21:46:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:46:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:46:18] Production.INFO: count ==1824
[2025-02-08 21:46:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:46:05 - End Time 2025-02-08 21:46:05
[2025-02-08 21:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432557', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432557', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432557', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432557', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:46:19] Production.INFO: ProcessCDR(1,14432557,1,1,2)
[2025-02-08 21:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432557', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432557', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:46:22] Production.INFO: ==16229== Releasing lock...
[2025-02-08 21:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:46:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:47:01] Production.INFO: ==16291== Lock acquired, processing the job...
[2025-02-09 02:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:47:01] Production.INFO: neon service started
[2025-02-09 02:47:01] Production.INFO: neon service started
[2025-02-09 02:47:01] Production.INFO: ==16291== Releasing lock...
[2025-02-09 02:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:47:02] Production.INFO: ==16293== Lock acquired, processing the job...
[2025-02-08 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:47:02] Production.INFO: ==16293== Releasing lock...
[2025-02-08 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:47:02] Production.INFO: ==16295== Lock acquired, processing the job...
[2025-02-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:47:02] Production.INFO: ==16295== Releasing lock...
[2025-02-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:47:03] Production.INFO: ==16301== Lock acquired, processing the job...
[2025-02-08 21:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:47:03] Production.INFO: ==16297== Lock acquired, processing the job...
[2025-02-08 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:47:03] Production.INFO: ==16307== Lock acquired, processing the job...
[2025-02-08 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:47:03] Production.INFO: ==16299== Lock acquired, processing the job...
[2025-02-08 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:47:03] Production.INFO: count ==21
[2025-02-08 21:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:47:03] Production.INFO: ==16303== Lock acquired, processing the job...
[2025-02-08 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:47:03] Production.INFO: count ==21
[2025-02-08 21:47:03] Production.INFO: ==16305== Lock acquired, processing the job...
[2025-02-08 21:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432558') start
[2025-02-08 21:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432558') end
[2025-02-08 21:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:47:03] Production.INFO: 1
[2025-02-08 21:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:47:03] Production.INFO: Account Balance Start.
[2025-02-08 21:47:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:47:03] Production.INFO: 117
[2025-02-08 21:47:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:47:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:47:03] Production.INFO: ==16307== Releasing lock...
[2025-02-08 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:47:04] Production.INFO: Total Charge 0
[2025-02-08 21:47:04] Production.INFO: CreateAllLog End
[2025-02-08 21:47:04] Production.INFO: ==16299== Releasing lock...
[2025-02-08 21:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:47:04] Production.ERROR: done
[2025-02-08 21:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:47:04] Production.ERROR: done
[2025-02-08 21:47:04] Production.INFO: Account Balance End.
[2025-02-08 21:47:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:47:04] Production.INFO: ==16303== Releasing lock...
[2025-02-08 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:47:05
[end_date_ymd] => 2025-02-08 21:47:05
[RateCDR] => 1
)
[2025-02-08 21:47: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` >= '2025-02-08 18:47:05' and `end` < '2025-02-08 21:47: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 ,'')
[2025-02-08 21:47:13] Production.ERROR: CronJobId end10
[2025-02-08 21:47:13] Production.INFO: ==16301== Releasing lock...
[2025-02-08 21:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:47:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:47:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:47:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:47:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:47:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:47:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:47:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:47:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:47:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:47:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:47:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:47:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:47:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:47:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:47:16] Production.INFO: call_cost start
[2025-02-08 21:47:16] Production.INFO: call_cost end
[2025-02-08 21:47:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:47:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:47:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:47:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:47:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:47:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:47:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:47:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:47:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:47:17] Production.INFO: ==16297== Releasing lock...
[2025-02-08 21:47:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:47:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:47:18] Production.INFO: count ==1827
[2025-02-08 21:47:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:47:05 - End Time 2025-02-08 21:47:05
[2025-02-08 21:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432562', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432562', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432562', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432562', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:47:19] Production.INFO: ProcessCDR(1,14432562,1,1,2)
[2025-02-08 21:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432562', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432562', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:47:23] Production.INFO: ==16305== Releasing lock...
[2025-02-08 21:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:47:23] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 02:48:02] Production.INFO: ==16375== Lock acquired, processing the job...
[2025-02-09 02:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:48:02] Production.INFO: neon service started
[2025-02-09 02:48:02] Production.INFO: neon service started
[2025-02-09 02:48:02] Production.INFO: ==16375== Releasing lock...
[2025-02-09 02:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:48:02] Production.INFO: ==16377== Lock acquired, processing the job...
[2025-02-08 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:48:02] Production.INFO: ==16379== Lock acquired, processing the job...
[2025-02-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:48:02] Production.INFO: ==16379== Releasing lock...
[2025-02-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:48:03] Production.INFO: ==16377== Releasing lock...
[2025-02-08 21:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:48:04] Production.INFO: ==16382== Lock acquired, processing the job...
[2025-02-08 21:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:48:04] Production.INFO: ==16384== Lock acquired, processing the job...
[2025-02-08 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:48:04] Production.INFO: ==16390== Lock acquired, processing the job...
[2025-02-08 21:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:48:04] Production.INFO: ==16392== Lock acquired, processing the job...
[2025-02-08 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:48:04] Production.INFO: ==16386== Lock acquired, processing the job...
[2025-02-08 21:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:48:04] Production.INFO: ==16388== Lock acquired, processing the job...
[2025-02-08 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:48:04] Production.INFO: ==16384== Releasing lock...
[2025-02-08 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:48:04] Production.INFO: Account Balance Start.
[2025-02-08 21:48:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:48:04] Production.INFO: 117
[2025-02-08 21:48:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:48:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:48:04] Production.INFO: count ==21
[2025-02-08 21:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:48:04] Production.INFO: count ==21
[2025-02-08 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432566') start
[2025-02-08 21:48:04] Production.INFO: Total Charge 0
[2025-02-08 21:48:04] Production.INFO: CreateAllLog End
[2025-02-08 21:48:04] Production.ERROR: done
[2025-02-08 21:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432566') end
[2025-02-08 21:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:48:04] Production.INFO: 1
[2025-02-08 21:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:48:04] Production.INFO: ==16392== Releasing lock...
[2025-02-08 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:48:04] Production.ERROR: done
[2025-02-08 21:48:04] Production.INFO: Account Balance End.
[2025-02-08 21:48:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:48:04] Production.INFO: ==16388== Releasing lock...
[2025-02-08 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:48:06
[end_date_ymd] => 2025-02-08 21:48:06
[RateCDR] => 1
)
[2025-02-08 21:48: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-02-08 18:48:06' and `end` < '2025-02-08 21:48: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-02-08 21:48:13] Production.ERROR: CronJobId end10
[2025-02-08 21:48:13] Production.INFO: ==16386== Releasing lock...
[2025-02-08 21:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:48:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:48:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:48:16] Production.INFO: call_cost start
[2025-02-08 21:48:16] Production.INFO: call_cost end
[2025-02-08 21:48:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:48:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:48:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:48:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:48:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:48:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:48:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:48:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:48:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:48:17] Production.INFO: ==16382== Releasing lock...
[2025-02-08 21:48:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:48:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:48:20] Production.INFO: count ==1842
[2025-02-08 21:48:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:48:06 - End Time 2025-02-08 21:48:06
[2025-02-08 21:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432567', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432567', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432567', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432567', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:48:20] Production.INFO: ProcessCDR(1,14432567,1,1,2)
[2025-02-08 21:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432567', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432567', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:48:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:48:26] Production.INFO: ==16390== Releasing lock...
[2025-02-08 21:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:48:26] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:49:01] Production.INFO: ==16457== Lock acquired, processing the job...
[2025-02-09 02:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:49:01] Production.INFO: neon service started
[2025-02-09 02:49:01] Production.INFO: neon service started
[2025-02-09 02:49:01] Production.INFO: ==16457== Releasing lock...
[2025-02-09 02:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:49:01] Production.INFO: ==16461== Lock acquired, processing the job...
[2025-02-09 02:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:49:01] Production.INFO: ==16461== Releasing lock...
[2025-02-09 02:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:49:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:49:02] Production.INFO: ==16459== Lock acquired, processing the job...
[2025-02-08 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:49:02] Production.INFO: ==16459== Releasing lock...
[2025-02-08 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:49:03] Production.INFO: ==16464== Lock acquired, processing the job...
[2025-02-08 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:49:03] Production.INFO: ==16466== Lock acquired, processing the job...
[2025-02-08 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:49:03] Production.INFO: ==16472== Lock acquired, processing the job...
[2025-02-08 21:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:49:03] Production.INFO: ==16468== Lock acquired, processing the job...
[2025-02-08 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:49:03] Production.INFO: ==16470== Lock acquired, processing the job...
[2025-02-08 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:49:03] Production.INFO: ==16474== Lock acquired, processing the job...
[2025-02-08 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:49:03] Production.INFO: ==16466== Releasing lock...
[2025-02-08 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:49:03] Production.INFO: Account Balance Start.
[2025-02-08 21:49:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:49:03] Production.INFO: 117
[2025-02-08 21:49:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:49:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:49:03] Production.INFO: Total Charge 0
[2025-02-08 21:49:03] Production.INFO: CreateAllLog End
[2025-02-08 21:49:04] Production.ERROR: done
[2025-02-08 21:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:49:04] Production.INFO: count ==21
[2025-02-08 21:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:49:04] Production.INFO: count ==21
[2025-02-08 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432571') start
[2025-02-08 21:49:04] Production.ERROR: done
[2025-02-08 21:49:04] Production.INFO: Account Balance End.
[2025-02-08 21:49:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:49:04] Production.INFO: ==16470== Releasing lock...
[2025-02-08 21:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432571') end
[2025-02-08 21:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:49:04] Production.INFO: 1
[2025-02-08 21:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:49:04] Production.INFO: ==16474== Releasing lock...
[2025-02-08 21:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:49:05
[end_date_ymd] => 2025-02-08 21:49:05
[RateCDR] => 1
)
[2025-02-08 21:49: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` >= '2025-02-08 18:49:05' and `end` < '2025-02-08 21:49: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 ,'')
[2025-02-08 21:49:13] Production.ERROR: CronJobId end10
[2025-02-08 21:49:13] Production.INFO: ==16468== Releasing lock...
[2025-02-08 21:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:49:15] Production.INFO: call_cost start
[2025-02-08 21:49:15] Production.INFO: call_cost end
[2025-02-08 21:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:49:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:49:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:49:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:49:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:49:16] Production.INFO: ==16464== Releasing lock...
[2025-02-08 21:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:49:18] Production.INFO: count ==1843
[2025-02-08 21:49:18] Production.ERROR: pbx CDR StartTime 2025-02-08 18:49:05 - End Time 2025-02-08 21:49:05
[2025-02-08 21:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432572', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432572', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432572', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432572', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:49:19] Production.INFO: ProcessCDR(1,14432572,1,1,2)
[2025-02-08 21:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432572', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432572', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:49:24] Production.INFO: ==16472== Releasing lock...
[2025-02-08 21:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:49:24] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 02:50:02] Production.INFO: ==16540== Lock acquired, processing the job...
[2025-02-09 02:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:50:02] Production.INFO: neon service started
[2025-02-09 02:50:02] Production.INFO: neon service started
[2025-02-09 02:50:02] Production.INFO: ==16540== Releasing lock...
[2025-02-09 02:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:50:02] Production.INFO: ==16545== Lock acquired, processing the job...
[2025-02-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:50:02] Production.INFO: ==16545== Releasing lock...
[2025-02-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:50:02] Production.INFO: ==16543== Lock acquired, processing the job...
[2025-02-08 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:50:03] Production.INFO: ==16543== Releasing lock...
[2025-02-08 21:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:50:04] Production.INFO: ==16547== Lock acquired, processing the job...
[2025-02-08 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 21:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 21:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 21:50:04] Production.INFO: ==16547== Releasing lock...
[2025-02-08 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 21:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 21:50:04] Production.INFO: ==16551== Lock acquired, processing the job...
[2025-02-08 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:50:04] Production.INFO: ==16553== Lock acquired, processing the job...
[2025-02-08 21:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:50:04] Production.INFO: ==16549== Lock acquired, processing the job...
[2025-02-08 21:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:50:04] Production.INFO: ==16561== Lock acquired, processing the job...
[2025-02-08 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:50:04] Production.INFO: count ==21
[2025-02-08 21:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:50:04] Production.INFO: count ==21
[2025-02-08 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432575') start
[2025-02-08 21:50:04] Production.INFO: ==16555== Lock acquired, processing the job...
[2025-02-08 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:50:04] Production.INFO: ==16551== Releasing lock...
[2025-02-08 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:50:04] Production.INFO: ==16557== Lock acquired, processing the job...
[2025-02-08 21:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:50:04] Production.INFO: ==16559== Lock acquired, processing the job...
[2025-02-08 21:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432575') end
[2025-02-08 21:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:50:04] Production.INFO: 1
[2025-02-08 21:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:50:04] Production.INFO: Account Balance Start.
[2025-02-08 21:50:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:50:04] Production.INFO: 117
[2025-02-08 21:50:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:50:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:50:04] Production.INFO: ==16561== Releasing lock...
[2025-02-08 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:50:05] Production.INFO: Total Charge 0
[2025-02-08 21:50:05] Production.INFO: CreateAllLog End
[2025-02-08 21:50:05] Production.ERROR: done
[2025-02-08 21:50:05] Production.ERROR: done
[2025-02-08 21:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 21:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432577', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 21:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:50:05] Production.INFO: Account Balance End.
[2025-02-08 21:50:05] Production.ERROR: done
[2025-02-08 21:50:05] Production.ERROR: CronJobId end 12
[2025-02-08 21:50:05] Production.INFO: ==16555== Releasing lock...
[2025-02-08 21:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:50:06
[end_date_ymd] => 2025-02-08 21:50:06
[RateCDR] => 1
)
[2025-02-08 21:50: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-02-08 18:50:06' and `end` < '2025-02-08 21:50: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-02-08 21:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432577', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 21:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 21:50:09] Production.INFO: ProcessCDR(1,14432577,1,1,2)
[2025-02-08 21:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432577,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432577,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:50:10] Production.INFO: ==16559== Releasing lock...
[2025-02-08 21:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 21:50:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 21:50:14] Production.ERROR: CronJobId end10
[2025-02-08 21:50:14] Production.INFO: ==16553== Releasing lock...
[2025-02-08 21:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:50:17] Production.INFO: call_cost start
[2025-02-08 21:50:17] Production.INFO: call_cost end
[2025-02-08 21:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:50:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:50:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:50:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:50:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:50:18] Production.INFO: ==16549== Releasing lock...
[2025-02-08 21:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:50:19] Production.INFO: count ==1851
[2025-02-08 21:50:20] Production.ERROR: pbx CDR StartTime 2025-02-08 18:50:06 - End Time 2025-02-08 21:50:06
[2025-02-08 21:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432578', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432578', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432578', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432578', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:50:20] Production.INFO: ProcessCDR(1,14432578,1,1,2)
[2025-02-08 21:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432578', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432578', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:50:23] Production.INFO: ==16557== Releasing lock...
[2025-02-08 21:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:50:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 02:51:01] Production.INFO: ==16623== Lock acquired, processing the job...
[2025-02-09 02:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:51:01] Production.INFO: neon service started
[2025-02-09 02:51:01] Production.INFO: neon service started
[2025-02-09 02:51:01] Production.INFO: ==16623== Releasing lock...
[2025-02-09 02:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:51:02] Production.INFO: ==16627== Lock acquired, processing the job...
[2025-02-09 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:51:02] Production.INFO: ==16627== Releasing lock...
[2025-02-09 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:51:02] Production.INFO: ==16625== Lock acquired, processing the job...
[2025-02-08 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:51:02] Production.INFO: ==16625== Releasing lock...
[2025-02-08 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:51:03] Production.INFO: ==16630== Lock acquired, processing the job...
[2025-02-08 21:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:51:03] Production.INFO: ==16632== Lock acquired, processing the job...
[2025-02-08 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:51:03] Production.INFO: ==16634== Lock acquired, processing the job...
[2025-02-08 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:51:03] Production.INFO: ==16636== Lock acquired, processing the job...
[2025-02-08 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:51:03] Production.INFO: ==16632== Releasing lock...
[2025-02-08 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:51:03] Production.INFO: Account Balance Start.
[2025-02-08 21:51:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:51:03] Production.INFO: 117
[2025-02-08 21:51:03] Production.INFO: ==16640== Lock acquired, processing the job...
[2025-02-08 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:51:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:51:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:51:03] Production.INFO: ==16638== Lock acquired, processing the job...
[2025-02-08 21:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:51:03] Production.INFO: Total Charge 0
[2025-02-08 21:51:03] Production.INFO: CreateAllLog End
[2025-02-08 21:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:51:03] Production.INFO: count ==21
[2025-02-08 21:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:51:04] Production.INFO: count ==21
[2025-02-08 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432582') start
[2025-02-08 21:51:04] Production.ERROR: done
[2025-02-08 21:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432582') end
[2025-02-08 21:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:51:04] Production.INFO: 1
[2025-02-08 21:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:51:04] Production.INFO: ==16640== Releasing lock...
[2025-02-08 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:51:04] Production.ERROR: done
[2025-02-08 21:51:04] Production.INFO: Account Balance End.
[2025-02-08 21:51:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:51:04] Production.INFO: ==16636== Releasing lock...
[2025-02-08 21:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:51:05
[end_date_ymd] => 2025-02-08 21:51:05
[RateCDR] => 1
)
[2025-02-08 21:51: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` >= '2025-02-08 18:51:05' and `end` < '2025-02-08 21:51: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 ,'')
[2025-02-08 21:51:13] Production.ERROR: CronJobId end10
[2025-02-08 21:51:13] Production.INFO: ==16634== Releasing lock...
[2025-02-08 21:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:51:15] Production.INFO: call_cost start
[2025-02-08 21:51:15] Production.INFO: call_cost end
[2025-02-08 21:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:51:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:51:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:51:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:51:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:51:16] Production.INFO: ==16630== Releasing lock...
[2025-02-08 21:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:51:19] Production.INFO: count ==1858
[2025-02-08 21:51:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:51:05 - End Time 2025-02-08 21:51:05
[2025-02-08 21:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432583', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432583', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432583', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432583', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:51:19] Production.INFO: ProcessCDR(1,14432583,1,1,2)
[2025-02-08 21:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432583', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432583', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:51:23] Production.INFO: ==16638== Releasing lock...
[2025-02-08 21:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:51:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 02:52:02] Production.INFO: ==16702== Lock acquired, processing the job...
[2025-02-09 02:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:52:02] Production.INFO: neon service started
[2025-02-09 02:52:02] Production.INFO: neon service started
[2025-02-09 02:52:02] Production.INFO: ==16702== Releasing lock...
[2025-02-09 02:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:52:02] Production.INFO: ==16704== Lock acquired, processing the job...
[2025-02-08 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:52:02] Production.INFO: ==16704== Releasing lock...
[2025-02-08 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:52:03] Production.INFO: ==16706== Lock acquired, processing the job...
[2025-02-09 02:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:52:03] Production.INFO: ==16706== Releasing lock...
[2025-02-09 02:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:52:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:52:03] Production.INFO: ==16710== Lock acquired, processing the job...
[2025-02-08 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:52:03] Production.INFO: ==16708== Lock acquired, processing the job...
[2025-02-08 21:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:52:04] Production.INFO: ==16717== Lock acquired, processing the job...
[2025-02-08 21:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:52:04] Production.INFO: ==16712== Lock acquired, processing the job...
[2025-02-08 21:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:52:04] Production.INFO: ==16714== Lock acquired, processing the job...
[2025-02-08 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:52:04] Production.INFO: ==16719== Lock acquired, processing the job...
[2025-02-08 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:52:04] Production.INFO: ==16710== Releasing lock...
[2025-02-08 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:52:04] Production.INFO: Account Balance Start.
[2025-02-08 21:52:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:52:04] Production.INFO: 117
[2025-02-08 21:52:04] Production.INFO: count ==21
[2025-02-08 21:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:52:04] Production.INFO: count ==21
[2025-02-08 21:52:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432586') start
[2025-02-08 21:52:04] Production.ERROR: done
[2025-02-08 21:52:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:52:04] Production.INFO: Total Charge 0
[2025-02-08 21:52:04] Production.INFO: CreateAllLog End
[2025-02-08 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432586') end
[2025-02-08 21:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:52:04] Production.INFO: 1
[2025-02-08 21:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:52:04] Production.ERROR: done
[2025-02-08 21:52:04] Production.INFO: ==16719== Releasing lock...
[2025-02-08 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:52:04] Production.INFO: Account Balance End.
[2025-02-08 21:52:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:52:04] Production.INFO: ==16714== Releasing lock...
[2025-02-08 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:52:05
[end_date_ymd] => 2025-02-08 21:52:05
[RateCDR] => 1
)
[2025-02-08 21:52: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` >= '2025-02-08 18:52:05' and `end` < '2025-02-08 21:52: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 ,'')
[2025-02-08 21:52:13] Production.ERROR: CronJobId end10
[2025-02-08 21:52:13] Production.INFO: ==16712== Releasing lock...
[2025-02-08 21:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:52:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:52:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:52:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:52:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:52:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:52:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:52:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:52:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:52:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:52:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:52:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:52:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:52:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:52:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:52:16] Production.INFO: call_cost start
[2025-02-08 21:52:16] Production.INFO: call_cost end
[2025-02-08 21:52:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:52:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:52:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:52:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:52:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:52:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:52:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:52:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:52:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:52:17] Production.INFO: ==16708== Releasing lock...
[2025-02-08 21:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:52:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:52:18] Production.INFO: count ==1859
[2025-02-08 21:52:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:52:05 - End Time 2025-02-08 21:52:05
[2025-02-08 21:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432588', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432588', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432588', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432588', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:52:19] Production.INFO: ProcessCDR(1,14432588,1,1,2)
[2025-02-08 21:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432588', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432588', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:52:24] Production.INFO: ==16717== Releasing lock...
[2025-02-08 21:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:52:24] Production.INFO: 42 MB #Memory Used#
[2025-02-09 02:53:01] Production.INFO: ==16781== Lock acquired, processing the job...
[2025-02-09 02:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:53:01] Production.INFO: neon service started
[2025-02-09 02:53:01] Production.INFO: neon service started
[2025-02-09 02:53:01] Production.INFO: ==16781== Releasing lock...
[2025-02-09 02:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:53:02] Production.INFO: ==16783== Lock acquired, processing the job...
[2025-02-08 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:53:02] Production.INFO: ==16785== Lock acquired, processing the job...
[2025-02-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:53:02] Production.INFO: ==16785== Releasing lock...
[2025-02-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:53:02] Production.INFO: ==16783== Releasing lock...
[2025-02-08 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:53:03] Production.INFO: ==16788== Lock acquired, processing the job...
[2025-02-08 21:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:53:03] Production.INFO: ==16798== Lock acquired, processing the job...
[2025-02-08 21:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:53:03] Production.INFO: ==16790== Lock acquired, processing the job...
[2025-02-08 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:53:03] Production.INFO: ==16792== Lock acquired, processing the job...
[2025-02-08 21:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:53:04] Production.INFO: ==16794== Lock acquired, processing the job...
[2025-02-08 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:53:04] Production.INFO: ==16796== Lock acquired, processing the job...
[2025-02-08 21:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:53:04] Production.INFO: Account Balance Start.
[2025-02-08 21:53:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:53:04] Production.INFO: 117
[2025-02-08 21:53:04] Production.INFO: count ==21
[2025-02-08 21:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:53:04] Production.INFO: count ==21
[2025-02-08 21:53:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:53:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432590') start
[2025-02-08 21:53:04] Production.INFO: Total Charge 0
[2025-02-08 21:53:04] Production.INFO: CreateAllLog End
[2025-02-08 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432590') end
[2025-02-08 21:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:53:04] Production.INFO: 1
[2025-02-08 21:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:53:04] Production.INFO: ==16790== Releasing lock...
[2025-02-08 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:53:04] Production.INFO: ==16798== Releasing lock...
[2025-02-08 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:53:04] Production.ERROR: done
[2025-02-08 21:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:53:04] Production.ERROR: done
[2025-02-08 21:53:04] Production.INFO: Account Balance End.
[2025-02-08 21:53:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:53:04] Production.INFO: ==16794== Releasing lock...
[2025-02-08 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:53:06
[end_date_ymd] => 2025-02-08 21:53:06
[RateCDR] => 1
)
[2025-02-08 21:53: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-02-08 18:53:06' and `end` < '2025-02-08 21:53: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-02-08 21:53:13] Production.ERROR: CronJobId end10
[2025-02-08 21:53:13] Production.INFO: ==16792== Releasing lock...
[2025-02-08 21:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:53:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:53:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:53:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:53:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:53:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:53:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:53:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:53:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:53:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:53:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:53:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:53:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:53:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:53:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:53:16] Production.INFO: call_cost start
[2025-02-08 21:53:16] Production.INFO: call_cost end
[2025-02-08 21:53:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:53:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:53:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:53:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:53:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:53:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:53:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:53:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:53:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:53:17] Production.INFO: ==16788== Releasing lock...
[2025-02-08 21:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:53:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:53:19] Production.INFO: count ==1886
[2025-02-08 21:53:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:53:06 - End Time 2025-02-08 21:53:06
[2025-02-08 21:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432593', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432593', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432593', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432593', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:53:19] Production.INFO: ProcessCDR(1,14432593,1,1,2)
[2025-02-08 21:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432593', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432593', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:53:23] Production.INFO: ==16796== Releasing lock...
[2025-02-08 21:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:53:23] Production.INFO: 42.5 MB #Memory Used#
[2025-02-09 02:54:02] Production.INFO: ==16862== Lock acquired, processing the job...
[2025-02-09 02:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:54:02] Production.INFO: neon service started
[2025-02-09 02:54:02] Production.INFO: neon service started
[2025-02-09 02:54:02] Production.INFO: ==16862== Releasing lock...
[2025-02-09 02:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:54:02] Production.INFO: ==16864== Lock acquired, processing the job...
[2025-02-08 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:54:02] Production.INFO: ==16864== Releasing lock...
[2025-02-08 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:54:03] Production.INFO: ==16866== Lock acquired, processing the job...
[2025-02-09 02:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:54:03] Production.INFO: ==16866== Releasing lock...
[2025-02-09 02:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:54:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:54:03] Production.INFO: ==16869== Lock acquired, processing the job...
[2025-02-08 21:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:54:03] Production.INFO: ==16871== Lock acquired, processing the job...
[2025-02-08 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:54:03] Production.INFO: ==16875== Lock acquired, processing the job...
[2025-02-08 21:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:54:04] Production.INFO: ==16873== Lock acquired, processing the job...
[2025-02-08 21:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:54:04] Production.INFO: Account Balance Start.
[2025-02-08 21:54:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:54:04] Production.INFO: 117
[2025-02-08 21:54:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:54:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:54:04] Production.INFO: Total Charge 0
[2025-02-08 21:54:04] Production.INFO: CreateAllLog End
[2025-02-08 21:54:04] Production.INFO: ==16879== Lock acquired, processing the job...
[2025-02-08 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:54:04] Production.INFO: ==16877== Lock acquired, processing the job...
[2025-02-08 21:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:54:04] Production.INFO: ==16871== Releasing lock...
[2025-02-08 21:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:54:04] Production.INFO: Account Balance End.
[2025-02-08 21:54:04] Production.INFO: count ==21
[2025-02-08 21:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:54:04] Production.INFO: count ==21
[2025-02-08 21:54:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:54:04] Production.INFO: ==16875== Releasing lock...
[2025-02-08 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432597') start
[2025-02-08 21:54:04] Production.ERROR: done
[2025-02-08 21:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432597') end
[2025-02-08 21:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:54:04] Production.INFO: 1
[2025-02-08 21:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:54:04] Production.INFO: ==16879== Releasing lock...
[2025-02-08 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:54:05] Production.ERROR: done
[2025-02-08 21:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:54:06
[end_date_ymd] => 2025-02-08 21:54:06
[RateCDR] => 1
)
[2025-02-08 21:54: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-02-08 18:54:06' and `end` < '2025-02-08 21:54: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-02-08 21:54:14] Production.ERROR: CronJobId end10
[2025-02-08 21:54:14] Production.INFO: ==16873== Releasing lock...
[2025-02-08 21:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:54:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:54:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:54:16] Production.INFO: call_cost start
[2025-02-08 21:54:16] Production.INFO: call_cost end
[2025-02-08 21:54:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:54:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:54:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:54:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:54:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:54:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:54:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:54:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:54:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:54:17] Production.INFO: ==16869== Releasing lock...
[2025-02-08 21:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:54:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:54:19] Production.INFO: count ==1884
[2025-02-08 21:54:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:54:06 - End Time 2025-02-08 21:54:06
[2025-02-08 21:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432598', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432598', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432598', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432598', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:54:19] Production.INFO: ProcessCDR(1,14432598,1,1,2)
[2025-02-08 21:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432598', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432598', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:54:25] Production.INFO: ==16877== Releasing lock...
[2025-02-08 21:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:54:25] Production.INFO: 42.25 MB #Memory Used#
[2025-02-09 02:55:01] Production.INFO: ==16943== Lock acquired, processing the job...
[2025-02-09 02:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:55:01] Production.INFO: neon service started
[2025-02-09 02:55:01] Production.INFO: neon service started
[2025-02-09 02:55:01] Production.INFO: ==16943== Releasing lock...
[2025-02-09 02:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:55:02] Production.INFO: ==16945== Lock acquired, processing the job...
[2025-02-08 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:55:02] Production.INFO: ==16947== Lock acquired, processing the job...
[2025-02-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:55:02] Production.INFO: ==16947== Releasing lock...
[2025-02-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:55:02] Production.INFO: ==16945== Releasing lock...
[2025-02-08 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:55:03] Production.INFO: ==16954== Lock acquired, processing the job...
[2025-02-08 21:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:55:03] Production.INFO: ==16960== Lock acquired, processing the job...
[2025-02-08 21:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:55:03] Production.INFO: count ==21
[2025-02-08 21:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:55:03] Production.INFO: count ==21
[2025-02-08 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432599') start
[2025-02-08 21:55:04] Production.INFO: ==16950== Lock acquired, processing the job...
[2025-02-08 21:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:55:04] Production.INFO: ==16952== Lock acquired, processing the job...
[2025-02-08 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:55:04] Production.INFO: ==16956== Lock acquired, processing the job...
[2025-02-08 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432599') end
[2025-02-08 21:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:55:04] Production.INFO: 1
[2025-02-08 21:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:55:04] Production.INFO: ==16960== Releasing lock...
[2025-02-08 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:55:04] Production.INFO: ==16958== Lock acquired, processing the job...
[2025-02-08 21:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:55:04] Production.INFO: Account Balance Start.
[2025-02-08 21:55:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:55:04] Production.INFO: 117
[2025-02-08 21:55:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:55:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:55:04] Production.INFO: Total Charge 0
[2025-02-08 21:55:04] Production.INFO: CreateAllLog End
[2025-02-08 21:55:04] Production.INFO: ==16952== Releasing lock...
[2025-02-08 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:55:04] Production.ERROR: done
[2025-02-08 21:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:55:04] Production.ERROR: done
[2025-02-08 21:55:04] Production.INFO: Account Balance End.
[2025-02-08 21:55:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:55:04] Production.INFO: ==16956== Releasing lock...
[2025-02-08 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:55:06
[end_date_ymd] => 2025-02-08 21:55:06
[RateCDR] => 1
)
[2025-02-08 21:55: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-02-08 18:55:06' and `end` < '2025-02-08 21:55: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-02-08 21:55:13] Production.ERROR: CronJobId end10
[2025-02-08 21:55:13] Production.INFO: ==16954== Releasing lock...
[2025-02-08 21:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:55:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:55:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:55:16] Production.INFO: call_cost start
[2025-02-08 21:55:16] Production.INFO: call_cost end
[2025-02-08 21:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:55:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:55:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:55:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:55:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:55:17] Production.INFO: ==16950== Releasing lock...
[2025-02-08 21:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:55:19] Production.INFO: count ==1880
[2025-02-08 21:55:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:55:06 - End Time 2025-02-08 21:55:06
[2025-02-08 21:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432603', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432603', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432603', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432603', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:55:19] Production.INFO: ProcessCDR(1,14432603,1,1,2)
[2025-02-08 21:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432603', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432603', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:55:23] Production.INFO: ==16958== Releasing lock...
[2025-02-08 21:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:55:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 02:56:02] Production.INFO: ==17019== Lock acquired, processing the job...
[2025-02-09 02:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:56:02] Production.INFO: neon service started
[2025-02-09 02:56:02] Production.INFO: neon service started
[2025-02-09 02:56:02] Production.INFO: ==17019== Releasing lock...
[2025-02-09 02:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:56:02] Production.INFO: ==17021== Lock acquired, processing the job...
[2025-02-08 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:56:02] Production.INFO: ==17021== Releasing lock...
[2025-02-08 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:56:02] Production.INFO: ==17023== Lock acquired, processing the job...
[2025-02-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:56:03] Production.INFO: ==17023== Releasing lock...
[2025-02-09 02:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:56:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:56:03] Production.INFO: ==17036== Lock acquired, processing the job...
[2025-02-08 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:56:03] Production.INFO: ==17034== Lock acquired, processing the job...
[2025-02-08 21:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:56:04] Production.INFO: ==17026== Lock acquired, processing the job...
[2025-02-08 21:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:56:04] Production.INFO: count ==21
[2025-02-08 21:56:04] Production.INFO: ==17028== Lock acquired, processing the job...
[2025-02-08 21:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:56:04] Production.INFO: ==17030== Lock acquired, processing the job...
[2025-02-08 21:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:56:04] Production.INFO: ==17032== Lock acquired, processing the job...
[2025-02-08 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:56:04] Production.INFO: count ==21
[2025-02-08 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432604') start
[2025-02-08 21:56:04] Production.INFO: Account Balance Start.
[2025-02-08 21:56:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:56:04] Production.INFO: 117
[2025-02-08 21:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:56:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:56:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432604') end
[2025-02-08 21:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:56:04] Production.INFO: 1
[2025-02-08 21:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:56:04] Production.ERROR: done
[2025-02-08 21:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:56:04] Production.INFO: ==17036== Releasing lock...
[2025-02-08 21:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:56:04] Production.INFO: Total Charge 0
[2025-02-08 21:56:04] Production.INFO: CreateAllLog End
[2025-02-08 21:56:04] Production.INFO: ==17028== Releasing lock...
[2025-02-08 21:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:56:04] Production.ERROR: done
[2025-02-08 21:56:04] Production.INFO: Account Balance End.
[2025-02-08 21:56:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:56:04] Production.INFO: ==17032== Releasing lock...
[2025-02-08 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:56:05
[end_date_ymd] => 2025-02-08 21:56:05
[RateCDR] => 1
)
[2025-02-08 21:56: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` >= '2025-02-08 18:56:05' and `end` < '2025-02-08 21:56: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 ,'')
[2025-02-08 21:56:13] Production.ERROR: CronJobId end10
[2025-02-08 21:56:13] Production.INFO: ==17030== Releasing lock...
[2025-02-08 21:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:56:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:56:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:56:15] Production.INFO: call_cost start
[2025-02-08 21:56:15] Production.INFO: call_cost end
[2025-02-08 21:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:56:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:56:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:56:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:56:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:56:16] Production.INFO: ==17026== Releasing lock...
[2025-02-08 21:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:56:18] Production.INFO: count ==1876
[2025-02-08 21:56:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:56:05 - End Time 2025-02-08 21:56:05
[2025-02-08 21:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432608', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432608', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432608', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432608', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:56:19] Production.INFO: ProcessCDR(1,14432608,1,1,2)
[2025-02-08 21:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432608', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432608', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:56:24] Production.INFO: ==17034== Releasing lock...
[2025-02-08 21:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:56:24] Production.INFO: 42 MB #Memory Used#
[2025-02-09 02:57:01] Production.INFO: ==17098== Lock acquired, processing the job...
[2025-02-09 02:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:57:01] Production.INFO: neon service started
[2025-02-09 02:57:01] Production.INFO: neon service started
[2025-02-09 02:57:01] Production.INFO: ==17098== Releasing lock...
[2025-02-09 02:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:57:01] Production.INFO: ==17100== Lock acquired, processing the job...
[2025-02-08 21:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 21:57:02] Production.INFO: ==17100== Releasing lock...
[2025-02-08 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:57:02] Production.INFO: ==17102== Lock acquired, processing the job...
[2025-02-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:57:02] Production.INFO: ==17102== Releasing lock...
[2025-02-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:57:03] Production.INFO: ==17112== Lock acquired, processing the job...
[2025-02-08 21:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:57:03] Production.INFO: ==17115== Lock acquired, processing the job...
[2025-02-08 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:57:03] Production.INFO: ==17104== Lock acquired, processing the job...
[2025-02-08 21:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:57:03] Production.INFO: ==17106== Lock acquired, processing the job...
[2025-02-08 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:57:03] Production.INFO: ==17108== Lock acquired, processing the job...
[2025-02-08 21:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:57:03] Production.INFO: ==17110== Lock acquired, processing the job...
[2025-02-08 21:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:57:03] Production.INFO: Account Balance Start.
[2025-02-08 21:57:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:57:03] Production.INFO: 117
[2025-02-08 21:57:03] Production.INFO: count ==21
[2025-02-08 21:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:57:03] Production.INFO: count ==21
[2025-02-08 21:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432609') start
[2025-02-08 21:57:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:57:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:57:03] Production.ERROR: done
[2025-02-08 21:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:57:03] Production.INFO: Total Charge 0
[2025-02-08 21:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432609') end
[2025-02-08 21:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:57:03] Production.INFO: 1
[2025-02-08 21:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:57:03] Production.INFO: CreateAllLog End
[2025-02-08 21:57:04] Production.INFO: ==17115== Releasing lock...
[2025-02-08 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:57:04] Production.INFO: ==17106== Releasing lock...
[2025-02-08 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:57:04] Production.ERROR: done
[2025-02-08 21:57:04] Production.INFO: Account Balance End.
[2025-02-08 21:57:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:57:04] Production.INFO: ==17110== Releasing lock...
[2025-02-08 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:57:05
[end_date_ymd] => 2025-02-08 21:57:05
[RateCDR] => 1
)
[2025-02-08 21:57: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` >= '2025-02-08 18:57:05' and `end` < '2025-02-08 21:57: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 ,'')
[2025-02-08 21:57:12] Production.ERROR: CronJobId end10
[2025-02-08 21:57:12] Production.INFO: ==17108== Releasing lock...
[2025-02-08 21:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:57:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:57:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:57:16] Production.INFO: call_cost start
[2025-02-08 21:57:16] Production.INFO: call_cost end
[2025-02-08 21:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:57:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:57:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:57:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:57:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:57:17] Production.INFO: ==17104== Releasing lock...
[2025-02-08 21:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:57:18] Production.INFO: count ==1869
[2025-02-08 21:57:18] Production.ERROR: pbx CDR StartTime 2025-02-08 18:57:05 - End Time 2025-02-08 21:57:05
[2025-02-08 21:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432613', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432613', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432613', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432613', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:57:18] Production.INFO: ProcessCDR(1,14432613,1,1,2)
[2025-02-08 21:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432613', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432613', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:57:22] Production.INFO: ==17112== Releasing lock...
[2025-02-08 21:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:57:22] Production.INFO: 42 MB #Memory Used#
[2025-02-09 02:58:02] Production.INFO: ==17180== Lock acquired, processing the job...
[2025-02-09 02:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:58:02] Production.INFO: neon service started
[2025-02-09 02:58:02] Production.INFO: neon service started
[2025-02-09 02:58:02] Production.INFO: ==17180== Releasing lock...
[2025-02-09 02:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:58:02] Production.INFO: ==17182== Lock acquired, processing the job...
[2025-02-08 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:58:02] Production.INFO: ==17184== Lock acquired, processing the job...
[2025-02-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:58:02] Production.INFO: ==17184== Releasing lock...
[2025-02-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:58:02] Production.INFO: ==17182== Releasing lock...
[2025-02-08 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:58:03] Production.INFO: ==17186== Lock acquired, processing the job...
[2025-02-08 21:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:58:03] Production.INFO: ==17193== Lock acquired, processing the job...
[2025-02-08 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:58:04] Production.INFO: ==17197== Lock acquired, processing the job...
[2025-02-08 21:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:58:04] Production.INFO: ==17188== Lock acquired, processing the job...
[2025-02-08 21:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:58:04] Production.INFO: ==17191== Lock acquired, processing the job...
[2025-02-08 21:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:58:04] Production.INFO: Account Balance Start.
[2025-02-08 21:58:04] Production.INFO: CreateAllLog Start
[2025-02-08 21:58:04] Production.INFO: 117
[2025-02-08 21:58:04] Production.INFO: ==17195== Lock acquired, processing the job...
[2025-02-08 21:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:58:04] Production.INFO: Date 2025-02-08
[2025-02-08 21:58:04] Production.INFO: Reseller ==> 0
[2025-02-08 21:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:58:04] Production.INFO: count ==21
[2025-02-08 21:58:04] Production.INFO: Total Charge 0
[2025-02-08 21:58:04] Production.INFO: CreateAllLog End
[2025-02-08 21:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:58:04] Production.INFO: count ==21
[2025-02-08 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432616') start
[2025-02-08 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432616') end
[2025-02-08 21:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:58:04] Production.INFO: 1
[2025-02-08 21:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:58:04] Production.INFO: ==17188== Releasing lock...
[2025-02-08 21:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:58:04] Production.INFO: ==17197== Releasing lock...
[2025-02-08 21:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:58:04] Production.ERROR: done
[2025-02-08 21:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:58:04] Production.ERROR: done
[2025-02-08 21:58:04] Production.INFO: Account Balance End.
[2025-02-08 21:58:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:58:04] Production.INFO: ==17193== Releasing lock...
[2025-02-08 21:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:58:05
[end_date_ymd] => 2025-02-08 21:58:05
[RateCDR] => 1
)
[2025-02-08 21:58: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` >= '2025-02-08 18:58:05' and `end` < '2025-02-08 21:58: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 ,'')
[2025-02-08 21:58:14] Production.ERROR: CronJobId end10
[2025-02-08 21:58:14] Production.INFO: ==17191== Releasing lock...
[2025-02-08 21:58:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:58:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:58:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:58:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:58:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:58:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:58:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:58:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:58:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:58:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:58:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:58:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:58:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:58:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:58:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:58:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:58:16] Production.INFO: call_cost start
[2025-02-08 21:58:16] Production.INFO: call_cost end
[2025-02-08 21:58:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:58:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:58:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:58:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:58:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:58:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:58:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:58:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:58:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:58:17] Production.INFO: ==17186== Releasing lock...
[2025-02-08 21:58:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:58:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:58:19] Production.INFO: count ==1866
[2025-02-08 21:58:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:58:05 - End Time 2025-02-08 21:58:05
[2025-02-08 21:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432618', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432618', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432618', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432618', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:58:19] Production.INFO: ProcessCDR(1,14432618,1,1,2)
[2025-02-08 21:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432618', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432618', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:58:23] Production.INFO: ==17195== Releasing lock...
[2025-02-08 21:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:58:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 02:59:01] Production.INFO: ==17256== Lock acquired, processing the job...
[2025-02-09 02:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 02:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 02:59:01] Production.INFO: neon service started
[2025-02-09 02:59:01] Production.INFO: neon service started
[2025-02-09 02:59:01] Production.INFO: ==17256== Releasing lock...
[2025-02-09 02:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 02:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 21:59:02] Production.INFO: ==17258== Lock acquired, processing the job...
[2025-02-08 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:59:02] Production.INFO: ==17260== Lock acquired, processing the job...
[2025-02-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:59:02] Production.INFO: ==17260== Releasing lock...
[2025-02-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 02:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 21:59:02] Production.INFO: ==17258== Releasing lock...
[2025-02-08 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 21:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 21:59:03] Production.INFO: ==17269== Lock acquired, processing the job...
[2025-02-08 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 21:59:03] Production.INFO: ==17271== Lock acquired, processing the job...
[2025-02-08 21:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 21:59:03] Production.INFO: Account Balance Start.
[2025-02-08 21:59:03] Production.INFO: CreateAllLog Start
[2025-02-08 21:59:03] Production.INFO: 117
[2025-02-08 21:59:03] Production.INFO: Date 2025-02-08
[2025-02-08 21:59:03] Production.INFO: Reseller ==> 0
[2025-02-08 21:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 21:59:03] Production.INFO: Total Charge 0
[2025-02-08 21:59:03] Production.INFO: CreateAllLog End
[2025-02-08 21:59:03] Production.INFO: ==17263== Lock acquired, processing the job...
[2025-02-08 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 21:59:03] Production.INFO: ==17265== Lock acquired, processing the job...
[2025-02-08 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 21:59:04] Production.INFO: ==17267== Lock acquired, processing the job...
[2025-02-08 21:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 21:59:04] Production.INFO: ==17273== Lock acquired, processing the job...
[2025-02-08 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 21:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 21:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 21:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 21:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 21:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 21:59:04] Production.ERROR: done
[2025-02-08 21:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 21:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:59:04] Production.INFO: count ==21
[2025-02-08 21:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 21:59:04] Production.INFO: count ==21
[2025-02-08 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432622') start
[2025-02-08 21:59:04] Production.ERROR: done
[2025-02-08 21:59:04] Production.INFO: ==17265== Releasing lock...
[2025-02-08 21:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 21:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 21:59:04] Production.INFO: Account Balance End.
[2025-02-08 21:59:04] Production.ERROR: CronJobId end 12
[2025-02-08 21:59:04] Production.INFO: ==17269== Releasing lock...
[2025-02-08 21:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 21:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432622') end
[2025-02-08 21:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 21:59:04] Production.INFO: 1
[2025-02-08 21:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 21:59:04] Production.INFO: ==17273== Releasing lock...
[2025-02-08 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 21:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 21:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 18:59:05
[end_date_ymd] => 2025-02-08 21:59:05
[RateCDR] => 1
)
[2025-02-08 21:59: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` >= '2025-02-08 18:59:05' and `end` < '2025-02-08 21:59: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 ,'')
[2025-02-08 21:59:14] Production.ERROR: CronJobId end10
[2025-02-08 21:59:14] Production.INFO: ==17267== Releasing lock...
[2025-02-08 21:59:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 21:59:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 21:59:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 21:59:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 21:59:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 21:59:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 21:59:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 21:59:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 21:59:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 21:59:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 21:59:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 21:59:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 21:59:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 21:59:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 21:59:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 21:59:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 21:59:17] Production.INFO: call_cost start
[2025-02-08 21:59:17] Production.INFO: call_cost end
[2025-02-08 21:59:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 21:59:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 21:59:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 21:59:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 21:59:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 21:59:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 21:59:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 21:59:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 21:59:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 21:59:18] Production.INFO: ==17263== Releasing lock...
[2025-02-08 21:59:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 21:59:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 21:59:18] Production.INFO: count ==1893
[2025-02-08 21:59:19] Production.ERROR: pbx CDR StartTime 2025-02-08 18:59:05 - End Time 2025-02-08 21:59:05
[2025-02-08 21:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 21:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432623', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432623', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432623', 'tblTempVendorCDR_20' ) start
[2025-02-08 21:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432623', 'tblTempVendorCDR_20' ) end
[2025-02-08 21:59:19] Production.INFO: ProcessCDR(1,14432623,1,1,2)
[2025-02-08 21:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 21:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 21:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432623', 'tblTempUsageDetail_20' ) start
[2025-02-08 21:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432623', 'tblTempUsageDetail_20' ) end
[2025-02-08 21:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 21:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 21:59:24] Production.INFO: ==17271== Releasing lock...
[2025-02-08 21:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 21:59:24] Production.INFO: 42.25 MB #Memory Used#
[2025-02-09 03:00:02] Production.INFO: ==17337== Lock acquired, processing the job...
[2025-02-09 03:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:00:02] Production.INFO: neon service started
[2025-02-09 03:00:02] Production.INFO: neon service started
[2025-02-09 03:00:02] Production.INFO: ==17337== Releasing lock...
[2025-02-09 03:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:00:02] Production.INFO: ==17339== Lock acquired, processing the job...
[2025-02-08 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:00:03] Production.INFO: ==17341== Lock acquired, processing the job...
[2025-02-09 03:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 22:00:03] Production.INFO: ==17339== Releasing lock...
[2025-02-08 22:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:00:03] Production.INFO: ==17341== Releasing lock...
[2025-02-09 03:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:00:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:00:04] Production.INFO: ==17344== Lock acquired, processing the job...
[2025-02-08 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 22:00:04] Production.INFO: ==17346== Lock acquired, processing the job...
[2025-02-08 22:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 22:00:04] Production.INFO: ==17348== Lock acquired, processing the job...
[2025-02-08 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:00:04] Production.INFO: ==17350== Lock acquired, processing the job...
[2025-02-08 22:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 22:00:04] Production.INFO: ==17344== Releasing lock...
[2025-02-08 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 22:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 22:00:04] Production.INFO: ==17352== Lock acquired, processing the job...
[2025-02-08 22:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-02-08 22:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:00:04] Production.INFO: ==17354== Lock acquired, processing the job...
[2025-02-08 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:00:04] Production.INFO: ==17356== Lock acquired, processing the job...
[2025-02-08 22:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:00:04] Production.INFO: ==17358== Lock acquired, processing the job...
[2025-02-08 22:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 22:00:04] Production.INFO: ==17360== Lock acquired, processing the job...
[2025-02-08 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-02-08 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:00:04] Production.INFO: Account Balance Start.
[2025-02-08 22:00:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:00:04] Production.INFO: 117
[2025-02-08 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-02-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: count ==21
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:00:05] Production.INFO: count ==21
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432627') start
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: Total Charge 0
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: ==17348== Releasing lock...
[2025-02-08 22:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: CreateAllLog End
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 4
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-02-08 22:00:05] Production.ERROR: done
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 5
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-02-08 22:00:05] Production.ERROR: done
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-02-08 22:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 22:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432628', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 22:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432627') end
[2025-02-08 22:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:00:05] Production.INFO: 1
[2025-02-08 22:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 0
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: ==17360== Releasing lock...
[2025-02-08 22:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 2
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 3
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 18
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-02-08 22:00:05] Production.ERROR: done
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 0
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-02-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-02-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-08 22:00:05] Production.INFO: Account Balance End.
[2025-02-08 22:00:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:00:05] Production.INFO: ==17354== Releasing lock...
[2025-02-08 22:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:00:06
[end_date_ymd] => 2025-02-08 22:00:06
[RateCDR] => 1
)
[2025-02-08 22: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-02-08 19:00:06' and `end` < '2025-02-08 22: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-02-08 22:00:07] Production.ERROR: CronJobId end11
[2025-02-08 22:00:07] Production.INFO: ==17352== Releasing lock...
[2025-02-08 22:00:07] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-02-08 22:00:07] Production.INFO: 30.5 MB #Memory Used#
[2025-02-08 22:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432628', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 22:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 22:00:10] Production.INFO: ProcessCDR(1,14432628,1,1,2)
[2025-02-08 22:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432628,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432628,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:00:10] Production.INFO: ==17358== Releasing lock...
[2025-02-08 22:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 22:00:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 22:00:16] Production.ERROR: CronJobId end10
[2025-02-08 22:00:16] Production.INFO: ==17350== Releasing lock...
[2025-02-08 22:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:00:18] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:00:18] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:00:18] Production.INFO: call_cost start
[2025-02-08 22:00:18] Production.INFO: call_cost end
[2025-02-08 22:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:00:19] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:00:19] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:00:19] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:00:19] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:00:19] Production.INFO: ==17346== Releasing lock...
[2025-02-08 22:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:00:19] Production.INFO: count ==1886
[2025-02-08 22:00:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:00:06 - End Time 2025-02-08 22:00:06
[2025-02-08 22:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432629', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432629', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432629', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432629', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:00:20] Production.INFO: ProcessCDR(1,14432629,1,1,2)
[2025-02-08 22:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432629', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432629', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:00:25] Production.INFO: ==17356== Releasing lock...
[2025-02-08 22:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:00:25] Production.INFO: 42.25 MB #Memory Used#
[2025-02-09 03:01:01] Production.INFO: ==17461== Lock acquired, processing the job...
[2025-02-09 03:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:01:01] Production.INFO: neon service started
[2025-02-09 03:01:01] Production.INFO: neon service started
[2025-02-09 03:01:01] Production.INFO: ==17461== Releasing lock...
[2025-02-09 03:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:01:02] Production.INFO: ==17474== Lock acquired, processing the job...
[2025-02-08 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:01:02] Production.INFO: ==17476== Lock acquired, processing the job...
[2025-02-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:01:02] Production.INFO: ==17476== Releasing lock...
[2025-02-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:01:02] Production.INFO: ==17474== Releasing lock...
[2025-02-08 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:01:03] Production.INFO: ==17483== Lock acquired, processing the job...
[2025-02-08 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:01:03] Production.INFO: ==17487== Lock acquired, processing the job...
[2025-02-08 22:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:01:04] Production.INFO: ==17479== Lock acquired, processing the job...
[2025-02-08 22:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:01:04] Production.INFO: ==17481== Lock acquired, processing the job...
[2025-02-08 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:01:04] Production.INFO: ==17485== Lock acquired, processing the job...
[2025-02-08 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:01:04] Production.INFO: ==17489== Lock acquired, processing the job...
[2025-02-08 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:01:04] Production.INFO: Account Balance Start.
[2025-02-08 22:01:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:01:04] Production.INFO: 117
[2025-02-08 22:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:01:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:01:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:01:04] Production.INFO: Total Charge 0
[2025-02-08 22:01:04] Production.INFO: CreateAllLog End
[2025-02-08 22:01:04] Production.ERROR: done
[2025-02-08 22:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:01:04] Production.INFO: count ==21
[2025-02-08 22:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:01:04] Production.INFO: count ==21
[2025-02-08 22:01:04] Production.INFO: ==17481== Releasing lock...
[2025-02-08 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432633') start
[2025-02-08 22:01:04] Production.ERROR: done
[2025-02-08 22:01:04] Production.INFO: Account Balance End.
[2025-02-08 22:01:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:01:04] Production.INFO: ==17485== Releasing lock...
[2025-02-08 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432633') end
[2025-02-08 22:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:01:04] Production.INFO: 1
[2025-02-08 22:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:01:04] Production.INFO: ==17489== Releasing lock...
[2025-02-08 22:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:01:05
[end_date_ymd] => 2025-02-08 22:01:05
[RateCDR] => 1
)
[2025-02-08 22:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 19:01:05' and `end` < '2025-02-08 22:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-08 22:01:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-02-08 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-08 22:01:13] Production.ERROR: CronJobId end10
[2025-02-08 22:01:13] Production.INFO: ==17483== Releasing lock...
[2025-02-08 22:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:01:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:01:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:01:16] Production.INFO: call_cost start
[2025-02-08 22:01:16] Production.INFO: call_cost end
[2025-02-08 22:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:01:17] Production.INFO: ==17479== Releasing lock...
[2025-02-08 22:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:01:19] Production.INFO: count ==1841
[2025-02-08 22:01:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:01:05 - End Time 2025-02-08 22:01:05
[2025-02-08 22:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432634', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432634', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432634', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432634', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:01:19] Production.INFO: ProcessCDR(1,14432634,1,1,2)
[2025-02-08 22:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432634', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432634', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:01:25] Production.INFO: ==17487== Releasing lock...
[2025-02-08 22:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:01:25] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:02:02] Production.INFO: ==17555== Lock acquired, processing the job...
[2025-02-09 03:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:02:02] Production.INFO: neon service started
[2025-02-09 03:02:02] Production.INFO: neon service started
[2025-02-09 03:02:02] Production.INFO: ==17555== Releasing lock...
[2025-02-09 03:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:02:03] Production.INFO: ==17558== Lock acquired, processing the job...
[2025-02-08 22:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:02:03] Production.INFO: ==17560== Lock acquired, processing the job...
[2025-02-09 03:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:02:03] Production.INFO: ==17560== Releasing lock...
[2025-02-09 03:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:02:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:02:03] Production.INFO: ==17558== Releasing lock...
[2025-02-08 22:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:02:04] Production.INFO: ==17568== Lock acquired, processing the job...
[2025-02-08 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:02:04] Production.INFO: ==17572== Lock acquired, processing the job...
[2025-02-08 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:02:04] Production.INFO: Account Balance Start.
[2025-02-08 22:02:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:02:04] Production.INFO: 117
[2025-02-08 22:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:02:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:02:04] Production.INFO: ==17562== Lock acquired, processing the job...
[2025-02-08 22:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:02:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:02:04] Production.INFO: count ==21
[2025-02-08 22:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:02:04] Production.INFO: count ==21
[2025-02-08 22:02:04] Production.INFO: ==17564== Lock acquired, processing the job...
[2025-02-08 22:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432636') start
[2025-02-08 22:02:04] Production.INFO: ==17566== Lock acquired, processing the job...
[2025-02-08 22:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:02:04] Production.INFO: ==17570== Lock acquired, processing the job...
[2025-02-08 22:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:02:04] Production.INFO: Total Charge 0
[2025-02-08 22:02:04] Production.INFO: CreateAllLog End
[2025-02-08 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432636') end
[2025-02-08 22:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:02:04] Production.INFO: 1
[2025-02-08 22:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:02:04] Production.INFO: ==17572== Releasing lock...
[2025-02-08 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:02:05] Production.INFO: Account Balance End.
[2025-02-08 22:02:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:02:05] Production.INFO: ==17568== Releasing lock...
[2025-02-08 22:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:02:05] Production.ERROR: done
[2025-02-08 22:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:02:05] Production.INFO: ==17564== Releasing lock...
[2025-02-08 22:02:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:02:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:02:05] Production.ERROR: done
[2025-02-08 22:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:02:06
[end_date_ymd] => 2025-02-08 22:02:06
[RateCDR] => 1
)
[2025-02-08 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` >= '2025-02-08 19:02:06' and `end` < '2025-02-08 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 ,'')
[2025-02-08 22:02:14] Production.ERROR: CronJobId end10
[2025-02-08 22:02:14] Production.INFO: ==17566== Releasing lock...
[2025-02-08 22:02:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:02:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:02:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:02:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:02:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:02:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:02:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:02:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:02:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:02:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:02:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:02:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:02:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:02:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:02:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:02:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:02:16] Production.INFO: call_cost start
[2025-02-08 22:02:16] Production.INFO: call_cost end
[2025-02-08 22:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:02:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:02:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:02:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:02:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:02:17] Production.INFO: ==17562== Releasing lock...
[2025-02-08 22:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:02:20] Production.INFO: count ==1856
[2025-02-08 22:02:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:02:06 - End Time 2025-02-08 22:02:06
[2025-02-08 22:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432639', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432639', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432639', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432639', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:02:20] Production.INFO: ProcessCDR(1,14432639,1,1,2)
[2025-02-08 22:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432639', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432639', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:02:23] Production.INFO: ==17570== Releasing lock...
[2025-02-08 22:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:02:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:03:01] Production.INFO: ==17631== Lock acquired, processing the job...
[2025-02-09 03:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:03:01] Production.INFO: neon service started
[2025-02-09 03:03:01] Production.INFO: neon service started
[2025-02-09 03:03:01] Production.INFO: ==17631== Releasing lock...
[2025-02-09 03:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:03:02] Production.INFO: ==17635== Lock acquired, processing the job...
[2025-02-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:03:02] Production.INFO: ==17635== Releasing lock...
[2025-02-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:03:02] Production.INFO: ==17633== Lock acquired, processing the job...
[2025-02-08 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:03:02] Production.INFO: ==17633== Releasing lock...
[2025-02-08 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:03:03] Production.INFO: ==17640== Lock acquired, processing the job...
[2025-02-08 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:03:03] Production.INFO: ==17644== Lock acquired, processing the job...
[2025-02-08 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:03:03] Production.INFO: ==17638== Lock acquired, processing the job...
[2025-02-08 22:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:03:03] Production.INFO: Account Balance Start.
[2025-02-08 22:03:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:03:03] Production.INFO: 117
[2025-02-08 22:03:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:03:03] Production.INFO: ==17646== Lock acquired, processing the job...
[2025-02-08 22:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:03:04] Production.INFO: ==17642== Lock acquired, processing the job...
[2025-02-08 22:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:03:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:03:04] Production.INFO: Total Charge 0
[2025-02-08 22:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:03:04] Production.INFO: ==17648== Lock acquired, processing the job...
[2025-02-08 22:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:03:04] Production.INFO: CreateAllLog End
[2025-02-08 22:03:04] Production.INFO: ==17640== Releasing lock...
[2025-02-08 22:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:03:04] Production.INFO: count ==21
[2025-02-08 22:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:03:04] Production.INFO: count ==21
[2025-02-08 22:03:04] Production.ERROR: done
[2025-02-08 22:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432643') start
[2025-02-08 22:03:04] Production.INFO: Account Balance End.
[2025-02-08 22:03:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:03:04] Production.INFO: ==17644== Releasing lock...
[2025-02-08 22:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432643') end
[2025-02-08 22:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:03:04] Production.INFO: 1
[2025-02-08 22:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:03:04] Production.ERROR: done
[2025-02-08 22:03:04] Production.INFO: ==17648== Releasing lock...
[2025-02-08 22:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:03:05
[end_date_ymd] => 2025-02-08 22:03:05
[RateCDR] => 1
)
[2025-02-08 22:03: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` >= '2025-02-08 19:03:05' and `end` < '2025-02-08 22:03: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 ,'')
[2025-02-08 22:03:12] Production.ERROR: CronJobId end10
[2025-02-08 22:03:12] Production.INFO: ==17642== Releasing lock...
[2025-02-08 22:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:03:15] Production.INFO: call_cost start
[2025-02-08 22:03:15] Production.INFO: call_cost end
[2025-02-08 22:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:03:16] Production.INFO: ==17638== Releasing lock...
[2025-02-08 22:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:03:19] Production.INFO: count ==1852
[2025-02-08 22:03:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:03:05 - End Time 2025-02-08 22:03:05
[2025-02-08 22:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432644', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432644', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432644', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432644', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:03:19] Production.INFO: ProcessCDR(1,14432644,1,1,2)
[2025-02-08 22:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432644', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432644', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:03:23] Production.INFO: ==17646== Releasing lock...
[2025-02-08 22:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:03:23] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:04:02] Production.INFO: ==17709== Lock acquired, processing the job...
[2025-02-09 03:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:04:02] Production.INFO: neon service started
[2025-02-09 03:04:02] Production.INFO: neon service started
[2025-02-09 03:04:02] Production.INFO: ==17709== Releasing lock...
[2025-02-09 03:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:04:02] Production.INFO: ==17711== Lock acquired, processing the job...
[2025-02-08 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:04:03] Production.INFO: ==17711== Releasing lock...
[2025-02-08 22:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:04:03] Production.INFO: ==17713== Lock acquired, processing the job...
[2025-02-09 03:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:04:03] Production.INFO: ==17713== Releasing lock...
[2025-02-09 03:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:04:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:04:04] Production.INFO: ==17718== Lock acquired, processing the job...
[2025-02-08 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:04:04] Production.INFO: ==17726== Lock acquired, processing the job...
[2025-02-08 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:04:04] Production.INFO: ==17716== Lock acquired, processing the job...
[2025-02-08 22:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:04:04] Production.INFO: ==17720== Lock acquired, processing the job...
[2025-02-08 22:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:04:04] Production.INFO: ==17722== Lock acquired, processing the job...
[2025-02-08 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:04:04] Production.INFO: ==17724== Lock acquired, processing the job...
[2025-02-08 22:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:04:04] Production.INFO: ==17718== Releasing lock...
[2025-02-08 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:04:04] Production.INFO: count ==21
[2025-02-08 22:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:04:04] Production.INFO: count ==21
[2025-02-08 22:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432646') start
[2025-02-08 22:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:04:04] Production.INFO: Account Balance Start.
[2025-02-08 22:04:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:04:04] Production.INFO: 117
[2025-02-08 22:04:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:04:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432646') end
[2025-02-08 22:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:04:04] Production.INFO: 1
[2025-02-08 22:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:04:04] Production.INFO: ==17726== Releasing lock...
[2025-02-08 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:04:04] Production.INFO: Total Charge 0
[2025-02-08 22:04:04] Production.INFO: CreateAllLog End
[2025-02-08 22:04:04] Production.ERROR: done
[2025-02-08 22:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:04:04] Production.INFO: Account Balance End.
[2025-02-08 22:04:05] Production.ERROR: done
[2025-02-08 22:04:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:04:05] Production.INFO: ==17722== Releasing lock...
[2025-02-08 22:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:04:05
[end_date_ymd] => 2025-02-08 22:04:05
[RateCDR] => 1
)
[2025-02-08 22:04: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` >= '2025-02-08 19:04:05' and `end` < '2025-02-08 22:04: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 ,'')
[2025-02-08 22:04:14] Production.ERROR: CronJobId end10
[2025-02-08 22:04:14] Production.INFO: ==17720== Releasing lock...
[2025-02-08 22:04:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:04:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:04:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:04:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:04:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:04:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:04:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:04:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:04:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:04:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:04:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:04:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:04:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:04:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:04:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:04:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:04:16] Production.INFO: call_cost start
[2025-02-08 22:04:16] Production.INFO: call_cost end
[2025-02-08 22:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:04:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:04:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:04:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:04:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:04:17] Production.INFO: ==17716== Releasing lock...
[2025-02-08 22:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:04:19] Production.INFO: count ==1854
[2025-02-08 22:04:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:04:05 - End Time 2025-02-08 22:04:05
[2025-02-08 22:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432649', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432649', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432649', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432649', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:04:19] Production.INFO: ProcessCDR(1,14432649,1,1,2)
[2025-02-08 22:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432649', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432649', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:04:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:04:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:04:25] Production.INFO: ==17724== Releasing lock...
[2025-02-08 22:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:04:25] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:05:01] Production.INFO: ==17790== Lock acquired, processing the job...
[2025-02-09 03:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:05:01] Production.INFO: neon service started
[2025-02-09 03:05:01] Production.INFO: neon service started
[2025-02-09 03:05:01] Production.INFO: ==17790== Releasing lock...
[2025-02-09 03:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:05:02] Production.INFO: ==17792== Lock acquired, processing the job...
[2025-02-08 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:05:02] Production.INFO: ==17794== Lock acquired, processing the job...
[2025-02-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:05:02] Production.INFO: ==17794== Releasing lock...
[2025-02-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:05:02] Production.INFO: ==17792== Releasing lock...
[2025-02-08 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:05:03] Production.INFO: ==17803== Lock acquired, processing the job...
[2025-02-08 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:05:03] Production.INFO: ==17805== Lock acquired, processing the job...
[2025-02-08 22:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:05:03] Production.INFO: Account Balance Start.
[2025-02-08 22:05:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:05:03] Production.INFO: 117
[2025-02-08 22:05:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:05:04] Production.INFO: ==17797== Lock acquired, processing the job...
[2025-02-08 22:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:05:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:05:04] Production.INFO: ==17799== Lock acquired, processing the job...
[2025-02-08 22:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:05:04] Production.INFO: ==17801== Lock acquired, processing the job...
[2025-02-08 22:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:05:04] Production.INFO: ==17807== Lock acquired, processing the job...
[2025-02-08 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:05:04] Production.INFO: Total Charge 0
[2025-02-08 22:05:04] Production.INFO: CreateAllLog End
[2025-02-08 22:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:05:04] Production.ERROR: done
[2025-02-08 22:05:04] Production.INFO: count ==21
[2025-02-08 22:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:05:04] Production.INFO: count ==21
[2025-02-08 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432653') start
[2025-02-08 22:05:04] Production.ERROR: done
[2025-02-08 22:05:04] Production.INFO: ==17799== Releasing lock...
[2025-02-08 22:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432653') end
[2025-02-08 22:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:05:04] Production.INFO: 1
[2025-02-08 22:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:05:04] Production.INFO: ==17807== Releasing lock...
[2025-02-08 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:05:04] Production.INFO: Account Balance End.
[2025-02-08 22:05:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:05:04] Production.INFO: ==17803== Releasing lock...
[2025-02-08 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:05:05
[end_date_ymd] => 2025-02-08 22:05:05
[RateCDR] => 1
)
[2025-02-08 22:05: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` >= '2025-02-08 19:05:05' and `end` < '2025-02-08 22:05: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 ,'')
[2025-02-08 22:05:13] Production.ERROR: CronJobId end10
[2025-02-08 22:05:13] Production.INFO: ==17801== Releasing lock...
[2025-02-08 22:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:05:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:05:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:05:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:05:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:05:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:05:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:05:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:05:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:05:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:05:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:05:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:05:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:05:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:05:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:05:17] Production.INFO: call_cost start
[2025-02-08 22:05:17] Production.INFO: call_cost end
[2025-02-08 22:05:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:05:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:05:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:05:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:05:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:05:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:05:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:05:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:05:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:05:18] Production.INFO: ==17797== Releasing lock...
[2025-02-08 22:05:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:05:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:05:18] Production.INFO: count ==1856
[2025-02-08 22:05:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:05:05 - End Time 2025-02-08 22:05:05
[2025-02-08 22:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432654', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432654', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432654', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432654', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:05:19] Production.INFO: ProcessCDR(1,14432654,1,1,2)
[2025-02-08 22:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432654', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432654', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:05:23] Production.INFO: ==17805== Releasing lock...
[2025-02-08 22:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:05:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:06:02] Production.INFO: ==17870== Lock acquired, processing the job...
[2025-02-09 03:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:06:02] Production.INFO: neon service started
[2025-02-09 03:06:02] Production.INFO: neon service started
[2025-02-09 03:06:02] Production.INFO: ==17870== Releasing lock...
[2025-02-09 03:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:06:02] Production.INFO: ==17874== Lock acquired, processing the job...
[2025-02-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:06:02] Production.INFO: ==17874== Releasing lock...
[2025-02-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:06:02] Production.INFO: ==17872== Lock acquired, processing the job...
[2025-02-08 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:06:03] Production.INFO: ==17872== Releasing lock...
[2025-02-08 22:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:06:04] Production.INFO: ==17881== Lock acquired, processing the job...
[2025-02-08 22:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:06:04] Production.INFO: ==17885== Lock acquired, processing the job...
[2025-02-08 22:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:06:04] Production.INFO: ==17877== Lock acquired, processing the job...
[2025-02-08 22:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:06:04] Production.INFO: ==17879== Lock acquired, processing the job...
[2025-02-08 22:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:06:04] Production.INFO: ==17883== Lock acquired, processing the job...
[2025-02-08 22:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:06:04] Production.INFO: Account Balance Start.
[2025-02-08 22:06:04] Production.INFO: ==17887== Lock acquired, processing the job...
[2025-02-08 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:06:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:06:04] Production.INFO: 117
[2025-02-08 22:06:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:06:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:06:04] Production.INFO: Total Charge 0
[2025-02-08 22:06:04] Production.INFO: CreateAllLog End
[2025-02-08 22:06:04] Production.ERROR: done
[2025-02-08 22:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:06:04] Production.INFO: count ==21
[2025-02-08 22:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:06:04] Production.INFO: count ==21
[2025-02-08 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432657') start
[2025-02-08 22:06:05] Production.INFO: Account Balance End.
[2025-02-08 22:06:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:06:05] Production.INFO: ==17883== Releasing lock...
[2025-02-08 22:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:06:05] Production.ERROR: done
[2025-02-08 22:06:05] Production.INFO: ==17879== Releasing lock...
[2025-02-08 22:06:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:06:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:06:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432657') end
[2025-02-08 22:06:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:06:05] Production.INFO: 1
[2025-02-08 22:06:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:06:05] Production.INFO: ==17887== Releasing lock...
[2025-02-08 22:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:06:06
[end_date_ymd] => 2025-02-08 22:06:06
[RateCDR] => 1
)
[2025-02-08 22:06: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-02-08 19:06:06' and `end` < '2025-02-08 22:06: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-02-08 22:06:13] Production.ERROR: CronJobId end10
[2025-02-08 22:06:13] Production.INFO: ==17881== Releasing lock...
[2025-02-08 22:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:06:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:06:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:06:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:06:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:06:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:06:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:06:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:06:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:06:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:06:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:06:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:06:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:06:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:06:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:06:16] Production.INFO: call_cost start
[2025-02-08 22:06:16] Production.INFO: call_cost end
[2025-02-08 22:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:06:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:06:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:06:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:06:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:06:17] Production.INFO: ==17877== Releasing lock...
[2025-02-08 22:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:06:19] Production.INFO: count ==1858
[2025-02-08 22:06:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:06:06 - End Time 2025-02-08 22:06:06
[2025-02-08 22:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432659', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432659', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432659', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432659', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:06:20] Production.INFO: ProcessCDR(1,14432659,1,1,2)
[2025-02-08 22:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432659', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432659', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:06:23] Production.INFO: ==17885== Releasing lock...
[2025-02-08 22:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:06:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:07:01] Production.INFO: ==17947== Lock acquired, processing the job...
[2025-02-09 03:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:07:01] Production.INFO: neon service started
[2025-02-09 03:07:01] Production.INFO: neon service started
[2025-02-09 03:07:01] Production.INFO: ==17947== Releasing lock...
[2025-02-09 03:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:07:02] Production.INFO: ==17949== Lock acquired, processing the job...
[2025-02-08 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:07:02] Production.INFO: ==17951== Lock acquired, processing the job...
[2025-02-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:07:02] Production.INFO: ==17951== Releasing lock...
[2025-02-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:07:03] Production.INFO: ==17949== Releasing lock...
[2025-02-08 22:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:07:03] Production.INFO: ==17958== Lock acquired, processing the job...
[2025-02-08 22:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:07:04] Production.INFO: ==17960== Lock acquired, processing the job...
[2025-02-08 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:07:04] Production.INFO: Account Balance Start.
[2025-02-08 22:07:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:07:04] Production.INFO: 117
[2025-02-08 22:07:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:07:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:07:04] Production.INFO: ==17956== Lock acquired, processing the job...
[2025-02-08 22:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:07:04] Production.INFO: ==17954== Lock acquired, processing the job...
[2025-02-08 22:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:07:04] Production.INFO: Total Charge 0
[2025-02-08 22:07:04] Production.INFO: CreateAllLog End
[2025-02-08 22:07:04] Production.INFO: ==17962== Lock acquired, processing the job...
[2025-02-08 22:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:07:04] Production.INFO: ==17964== Lock acquired, processing the job...
[2025-02-08 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:07:04] Production.INFO: Account Balance End.
[2025-02-08 22:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:07:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:07:04] Production.INFO: ==17960== Releasing lock...
[2025-02-08 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:07:04] Production.INFO: ==17956== Releasing lock...
[2025-02-08 22:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:07:04] Production.INFO: count ==21
[2025-02-08 22:07:04] Production.ERROR: done
[2025-02-08 22:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:07:04] Production.INFO: count ==21
[2025-02-08 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432663') start
[2025-02-08 22:07:04] Production.ERROR: done
[2025-02-08 22:07:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432663') end
[2025-02-08 22:07:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:07:05] Production.INFO: 1
[2025-02-08 22:07:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:07:05] Production.INFO: ==17964== Releasing lock...
[2025-02-08 22:07:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:07:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:07:06
[end_date_ymd] => 2025-02-08 22:07:06
[RateCDR] => 1
)
[2025-02-08 22:07: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-02-08 19:07:06' and `end` < '2025-02-08 22:07: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-02-08 22:07:13] Production.ERROR: CronJobId end10
[2025-02-08 22:07:13] Production.INFO: ==17958== Releasing lock...
[2025-02-08 22:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:07:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:07:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:07:16] Production.INFO: call_cost start
[2025-02-08 22:07:16] Production.INFO: call_cost end
[2025-02-08 22:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:07:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:07:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:07:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:07:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:07:17] Production.INFO: ==17954== Releasing lock...
[2025-02-08 22:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:07:19] Production.INFO: count ==1859
[2025-02-08 22:07:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:07:06 - End Time 2025-02-08 22:07:06
[2025-02-08 22:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432664', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432664', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432664', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432664', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:07:20] Production.INFO: ProcessCDR(1,14432664,1,1,2)
[2025-02-08 22:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432664', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432664', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:07:24] Production.INFO: ==17962== Releasing lock...
[2025-02-08 22:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:07:24] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:08:02] Production.INFO: ==18024== Lock acquired, processing the job...
[2025-02-09 03:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:08:02] Production.INFO: neon service started
[2025-02-09 03:08:02] Production.INFO: neon service started
[2025-02-09 03:08:02] Production.INFO: ==18024== Releasing lock...
[2025-02-09 03:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:08:03] Production.INFO: ==18026== Lock acquired, processing the job...
[2025-02-08 22:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:08:03] Production.INFO: ==18028== Lock acquired, processing the job...
[2025-02-09 03:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:08:03] Production.INFO: ==18028== Releasing lock...
[2025-02-09 03:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:08:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:08:03] Production.INFO: ==18026== Releasing lock...
[2025-02-08 22:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:08:04] Production.INFO: ==18031== Lock acquired, processing the job...
[2025-02-08 22:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:08:04] Production.INFO: ==18033== Lock acquired, processing the job...
[2025-02-08 22:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:08:04] Production.INFO: ==18041== Lock acquired, processing the job...
[2025-02-08 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:08:04] Production.INFO: count ==21
[2025-02-08 22:08:04] Production.INFO: ==18033== Releasing lock...
[2025-02-08 22:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:08:04] Production.INFO: count ==21
[2025-02-08 22:08:04] Production.INFO: ==18035== Lock acquired, processing the job...
[2025-02-08 22:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:08:04] Production.INFO: ==18037== Lock acquired, processing the job...
[2025-02-08 22:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432667') start
[2025-02-08 22:08:04] Production.INFO: ==18039== Lock acquired, processing the job...
[2025-02-08 22:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432667') end
[2025-02-08 22:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:08:04] Production.INFO: 1
[2025-02-08 22:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:08:04] Production.INFO: Account Balance Start.
[2025-02-08 22:08:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:08:04] Production.INFO: ==18041== Releasing lock...
[2025-02-08 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:08:04] Production.INFO: 117
[2025-02-08 22:08:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:08:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:08:05] Production.INFO: Total Charge 0
[2025-02-08 22:08:05] Production.INFO: CreateAllLog End
[2025-02-08 22:08:05] Production.ERROR: done
[2025-02-08 22:08:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:08:05] Production.INFO: Account Balance End.
[2025-02-08 22:08:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:08:05] Production.INFO: ==18037== Releasing lock...
[2025-02-08 22:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:08:05] Production.ERROR: done
[2025-02-08 22:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:08:06
[end_date_ymd] => 2025-02-08 22:08:06
[RateCDR] => 1
)
[2025-02-08 22:08: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-02-08 19:08:06' and `end` < '2025-02-08 22:08: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-02-08 22:08:13] Production.ERROR: CronJobId end10
[2025-02-08 22:08:13] Production.INFO: ==18035== Releasing lock...
[2025-02-08 22:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:08:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:08:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:08:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:08:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:08:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:08:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:08:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:08:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:08:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:08:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:08:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:08:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:08:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:08:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:08:16] Production.INFO: call_cost start
[2025-02-08 22:08:16] Production.INFO: call_cost end
[2025-02-08 22:08:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:08:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:08:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:08:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:08:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:08:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:08:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:08:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:08:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:08:17] Production.INFO: ==18031== Releasing lock...
[2025-02-08 22:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:08:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:08:19] Production.INFO: count ==1864
[2025-02-08 22:08:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:08:06 - End Time 2025-02-08 22:08:06
[2025-02-08 22:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432669', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432669', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432669', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432669', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:08:20] Production.INFO: ProcessCDR(1,14432669,1,1,2)
[2025-02-08 22:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:08:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:08:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:08:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432669', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:08:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432669', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:08:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:08:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:08:25] Production.INFO: ==18039== Releasing lock...
[2025-02-08 22:08:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:08:25] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:09:01] Production.INFO: ==18097== Lock acquired, processing the job...
[2025-02-09 03:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:09:01] Production.INFO: neon service started
[2025-02-09 03:09:01] Production.INFO: neon service started
[2025-02-09 03:09:01] Production.INFO: ==18097== Releasing lock...
[2025-02-09 03:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:09:02] Production.INFO: ==18101== Lock acquired, processing the job...
[2025-02-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:09:02] Production.INFO: ==18101== Releasing lock...
[2025-02-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:09:02] Production.INFO: ==18099== Lock acquired, processing the job...
[2025-02-08 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:09:02] Production.INFO: ==18099== Releasing lock...
[2025-02-08 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:09:03] Production.INFO: ==18106== Lock acquired, processing the job...
[2025-02-08 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:09:03] Production.INFO: ==18110== Lock acquired, processing the job...
[2025-02-08 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:09:03] Production.INFO: ==18114== Lock acquired, processing the job...
[2025-02-08 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:09:03] Production.INFO: Account Balance Start.
[2025-02-08 22:09:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:09:03] Production.INFO: 117
[2025-02-08 22:09:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:09:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:09:03] Production.INFO: Total Charge 0
[2025-02-08 22:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:09:03] Production.INFO: CreateAllLog End
[2025-02-08 22:09:03] Production.INFO: count ==21
[2025-02-08 22:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:09:03] Production.INFO: ==18104== Lock acquired, processing the job...
[2025-02-08 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:09:04] Production.INFO: count ==21
[2025-02-08 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432672') start
[2025-02-08 22:09:04] Production.INFO: ==18108== Lock acquired, processing the job...
[2025-02-08 22:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:09:04] Production.INFO: ==18112== Lock acquired, processing the job...
[2025-02-08 22:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:09:04] Production.INFO: ==18106== Releasing lock...
[2025-02-08 22:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:09:04] Production.INFO: Account Balance End.
[2025-02-08 22:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432672') end
[2025-02-08 22:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:09:04] Production.INFO: 1
[2025-02-08 22:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:09:04] Production.INFO: ==18114== Releasing lock...
[2025-02-08 22:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:09:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:09:04] Production.INFO: ==18110== Releasing lock...
[2025-02-08 22:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:09:04] Production.ERROR: done
[2025-02-08 22:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:09:04] Production.ERROR: done
[2025-02-08 22:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:09:05
[end_date_ymd] => 2025-02-08 22:09:05
[RateCDR] => 1
)
[2025-02-08 22:09: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` >= '2025-02-08 19:09:05' and `end` < '2025-02-08 22:09: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 ,'')
[2025-02-08 22:09:12] Production.ERROR: CronJobId end10
[2025-02-08 22:09:12] Production.INFO: ==18108== Releasing lock...
[2025-02-08 22:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:09:15] Production.INFO: call_cost start
[2025-02-08 22:09:15] Production.INFO: call_cost end
[2025-02-08 22:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:09:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:09:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:09:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:09:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:09:16] Production.INFO: ==18104== Releasing lock...
[2025-02-08 22:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:09:20] Production.INFO: count ==1874
[2025-02-08 22:09:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:09:05 - End Time 2025-02-08 22:09:05
[2025-02-08 22:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432674', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432674', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432674', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432674', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:09:20] Production.INFO: ProcessCDR(1,14432674,1,1,2)
[2025-02-08 22:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432674', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432674', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:09:26] Production.INFO: ==18112== Releasing lock...
[2025-02-08 22:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:09:26] Production.INFO: 42.25 MB #Memory Used#
[2025-02-09 03:10:02] Production.INFO: ==18174== Lock acquired, processing the job...
[2025-02-09 03:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:10:02] Production.INFO: neon service started
[2025-02-09 03:10:02] Production.INFO: neon service started
[2025-02-09 03:10:02] Production.INFO: ==18174== Releasing lock...
[2025-02-09 03:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:10:02] Production.INFO: ==18177== Lock acquired, processing the job...
[2025-02-08 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:10:03] Production.INFO: ==18177== Releasing lock...
[2025-02-08 22:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:10:03] Production.INFO: ==18179== Lock acquired, processing the job...
[2025-02-09 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:10:03] Production.INFO: ==18179== Releasing lock...
[2025-02-09 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:10:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:10:04] Production.INFO: ==18181== Lock acquired, processing the job...
[2025-02-08 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 22:10:04] Production.INFO: ==18185== Lock acquired, processing the job...
[2025-02-08 22:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:10:04] Production.INFO: ==18183== Lock acquired, processing the job...
[2025-02-08 22:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 22:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 22:10:04] Production.INFO: ==18181== Releasing lock...
[2025-02-08 22:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 22:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 22:10:04] Production.INFO: ==18189== Lock acquired, processing the job...
[2025-02-08 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:10:04] Production.INFO: ==18187== Lock acquired, processing the job...
[2025-02-08 22:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:10:04] Production.INFO: Account Balance Start.
[2025-02-08 22:10:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:10:04] Production.INFO: 117
[2025-02-08 22:10:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:10:04] Production.INFO: ==18191== Lock acquired, processing the job...
[2025-02-08 22:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:10:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:10:04] Production.INFO: ==18195== Lock acquired, processing the job...
[2025-02-08 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:10:04] Production.INFO: ==18193== Lock acquired, processing the job...
[2025-02-08 22:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 22:10:04] Production.INFO: Total Charge 0
[2025-02-08 22:10:04] Production.INFO: CreateAllLog End
[2025-02-08 22:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:10:05] Production.INFO: count ==21
[2025-02-08 22:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:10:05] Production.INFO: count ==21
[2025-02-08 22:10:05] Production.INFO: ==18185== Releasing lock...
[2025-02-08 22:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432678') start
[2025-02-08 22:10:05] Production.ERROR: done
[2025-02-08 22:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:10:05] Production.INFO: Account Balance End.
[2025-02-08 22:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432678') end
[2025-02-08 22:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:10:05] Production.INFO: 1
[2025-02-08 22:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:10:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:10:05] Production.INFO: ==18189== Releasing lock...
[2025-02-08 22:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:10:05] Production.INFO: ==18195== Releasing lock...
[2025-02-08 22:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:10:05] Production.ERROR: done
[2025-02-08 22:10:05] Production.ERROR: done
[2025-02-08 22:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 22:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432679', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 22:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:10:06
[end_date_ymd] => 2025-02-08 22:10:06
[RateCDR] => 1
)
[2025-02-08 22:10: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-02-08 19:10:06' and `end` < '2025-02-08 22:10: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-02-08 22:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432679', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 22:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 22:10:10] Production.INFO: ProcessCDR(1,14432679,1,1,2)
[2025-02-08 22:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432679,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432679,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:10:10] Production.INFO: ==18193== Releasing lock...
[2025-02-08 22:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 22:10:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 22:10:16] Production.ERROR: CronJobId end10
[2025-02-08 22:10:16] Production.INFO: ==18187== Releasing lock...
[2025-02-08 22:10:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:10:16] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:10:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:10:18] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:10:18] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:10:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:10:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:10:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:10:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:10:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:10:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:10:18] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:10:18] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:10:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:10:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:10:18] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:10:18] Production.INFO: call_cost start
[2025-02-08 22:10:18] Production.INFO: call_cost end
[2025-02-08 22:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:10:19] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:10:19] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:10:19] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:10:19] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:10:19] Production.INFO: ==18183== Releasing lock...
[2025-02-08 22:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:10:20] Production.INFO: count ==1879
[2025-02-08 22:10:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:10:06 - End Time 2025-02-08 22:10:06
[2025-02-08 22:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432680', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432680', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432680', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432680', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:10:20] Production.INFO: ProcessCDR(1,14432680,1,1,2)
[2025-02-08 22:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:10:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:10:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432680', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432680', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:10:25] Production.INFO: ==18191== Releasing lock...
[2025-02-08 22:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:10:25] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:11:01] Production.INFO: ==18253== Lock acquired, processing the job...
[2025-02-09 03:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:11:01] Production.INFO: neon service started
[2025-02-09 03:11:01] Production.INFO: neon service started
[2025-02-09 03:11:01] Production.INFO: ==18253== Releasing lock...
[2025-02-09 03:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:11:02] Production.INFO: ==18257== Lock acquired, processing the job...
[2025-02-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:11:02] Production.INFO: ==18257== Releasing lock...
[2025-02-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:11:02] Production.INFO: ==18255== Lock acquired, processing the job...
[2025-02-08 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:11:02] Production.INFO: ==18255== Releasing lock...
[2025-02-08 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:11:03] Production.INFO: ==18260== Lock acquired, processing the job...
[2025-02-08 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:11:03] Production.INFO: ==18262== Lock acquired, processing the job...
[2025-02-08 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:11:03] Production.INFO: ==18266== Lock acquired, processing the job...
[2025-02-08 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:11:03] Production.INFO: Account Balance Start.
[2025-02-08 22:11:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:11:03] Production.INFO: 117
[2025-02-08 22:11:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:11:03] Production.INFO: ==18264== Lock acquired, processing the job...
[2025-02-08 22:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:11:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:11:03] Production.INFO: Total Charge 0
[2025-02-08 22:11:03] Production.INFO: CreateAllLog End
[2025-02-08 22:11:04] Production.INFO: ==18270== Lock acquired, processing the job...
[2025-02-08 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:11:04] Production.INFO: ==18268== Lock acquired, processing the job...
[2025-02-08 22:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:11:04] Production.INFO: ==18262== Releasing lock...
[2025-02-08 22:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:11:04] Production.INFO: count ==21
[2025-02-08 22:11:04] Production.INFO: Account Balance End.
[2025-02-08 22:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:11:04] Production.INFO: count ==21
[2025-02-08 22:11:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:11:04] Production.INFO: ==18266== Releasing lock...
[2025-02-08 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432684') start
[2025-02-08 22:11:04] Production.ERROR: done
[2025-02-08 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432684') end
[2025-02-08 22:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:11:04] Production.INFO: 1
[2025-02-08 22:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:11:04] Production.INFO: ==18270== Releasing lock...
[2025-02-08 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:11:04] Production.ERROR: done
[2025-02-08 22:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:11:05
[end_date_ymd] => 2025-02-08 22:11:05
[RateCDR] => 1
)
[2025-02-08 22:11: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` >= '2025-02-08 19:11:05' and `end` < '2025-02-08 22:11: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 ,'')
[2025-02-08 22:11:14] Production.ERROR: CronJobId end10
[2025-02-08 22:11:14] Production.INFO: ==18264== Releasing lock...
[2025-02-08 22:11:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:11:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:11:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:11:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:11:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:11:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:11:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:11:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:11:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:11:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:11:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:11:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:11:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:11:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:11:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:11:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:11:16] Production.INFO: call_cost start
[2025-02-08 22:11:16] Production.INFO: call_cost end
[2025-02-08 22:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:11:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:11:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:11:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:11:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:11:17] Production.INFO: ==18260== Releasing lock...
[2025-02-08 22:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:11:19] Production.INFO: count ==1878
[2025-02-08 22:11:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:11:05 - End Time 2025-02-08 22:11:05
[2025-02-08 22:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432685', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432685', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432685', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432685', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:11:19] Production.INFO: ProcessCDR(1,14432685,1,1,2)
[2025-02-08 22:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432685', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432685', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:11:23] Production.INFO: ==18268== Releasing lock...
[2025-02-08 22:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:11:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:12:02] Production.INFO: ==18331== Lock acquired, processing the job...
[2025-02-09 03:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:12:02] Production.INFO: neon service started
[2025-02-09 03:12:02] Production.INFO: neon service started
[2025-02-09 03:12:02] Production.INFO: ==18331== Releasing lock...
[2025-02-09 03:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:12:02] Production.INFO: ==18335== Lock acquired, processing the job...
[2025-02-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:12:02] Production.INFO: ==18335== Releasing lock...
[2025-02-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:12:02] Production.INFO: ==18333== Lock acquired, processing the job...
[2025-02-08 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:12:03] Production.INFO: ==18333== Releasing lock...
[2025-02-08 22:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:12:04] Production.INFO: ==18338== Lock acquired, processing the job...
[2025-02-08 22:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:12:04] Production.INFO: ==18340== Lock acquired, processing the job...
[2025-02-08 22:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:12:04] Production.INFO: ==18346== Lock acquired, processing the job...
[2025-02-08 22:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:12:04] Production.INFO: ==18342== Lock acquired, processing the job...
[2025-02-08 22:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:12:04] Production.INFO: ==18344== Lock acquired, processing the job...
[2025-02-08 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:12:04] Production.INFO: ==18348== Lock acquired, processing the job...
[2025-02-08 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:12:04] Production.INFO: ==18340== Releasing lock...
[2025-02-08 22:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:12:04] Production.INFO: Account Balance Start.
[2025-02-08 22:12:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:12:04] Production.INFO: 117
[2025-02-08 22:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:12:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:12:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:12:04] Production.ERROR: done
[2025-02-08 22:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:12:04] Production.INFO: Total Charge 0
[2025-02-08 22:12:04] Production.INFO: CreateAllLog End
[2025-02-08 22:12:04] Production.INFO: count ==21
[2025-02-08 22:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:12:04] Production.INFO: count ==21
[2025-02-08 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432689') start
[2025-02-08 22:12:05] Production.ERROR: done
[2025-02-08 22:12:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432689') end
[2025-02-08 22:12:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:12:05] Production.INFO: 1
[2025-02-08 22:12:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:12:05] Production.INFO: Account Balance End.
[2025-02-08 22:12:05] Production.INFO: ==18348== Releasing lock...
[2025-02-08 22:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:12:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:12:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:12:05] Production.INFO: ==18344== Releasing lock...
[2025-02-08 22:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:12:06
[end_date_ymd] => 2025-02-08 22:12:06
[RateCDR] => 1
)
[2025-02-08 22:12: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-02-08 19:12:06' and `end` < '2025-02-08 22:12: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-02-08 22:12:13] Production.ERROR: CronJobId end10
[2025-02-08 22:12:13] Production.INFO: ==18342== Releasing lock...
[2025-02-08 22:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:12:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:12:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:12:15] Production.INFO: call_cost start
[2025-02-08 22:12:15] Production.INFO: call_cost end
[2025-02-08 22:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:12:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:12:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:12:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:12:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:12:16] Production.INFO: ==18338== Releasing lock...
[2025-02-08 22:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:12:19] Production.INFO: count ==1876
[2025-02-08 22:12:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:12:06 - End Time 2025-02-08 22:12:06
[2025-02-08 22:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432690', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432690', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432690', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432690', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:12:20] Production.INFO: ProcessCDR(1,14432690,1,1,2)
[2025-02-08 22:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432690', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432690', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:12:23] Production.INFO: ==18346== Releasing lock...
[2025-02-08 22:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:12:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:13:01] Production.INFO: ==18400== Lock acquired, processing the job...
[2025-02-09 03:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:13:01] Production.INFO: neon service started
[2025-02-09 03:13:01] Production.INFO: neon service started
[2025-02-09 03:13:01] Production.INFO: ==18400== Releasing lock...
[2025-02-09 03:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:13:02] Production.INFO: ==18403== Lock acquired, processing the job...
[2025-02-08 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:13:02] Production.INFO: ==18403== Releasing lock...
[2025-02-08 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:13:02] Production.INFO: ==18405== Lock acquired, processing the job...
[2025-02-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:13:02] Production.INFO: ==18405== Releasing lock...
[2025-02-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:13:03] Production.INFO: ==18415== Lock acquired, processing the job...
[2025-02-08 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:13:03] Production.INFO: ==18409== Lock acquired, processing the job...
[2025-02-08 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:13:03] Production.INFO: ==18407== Lock acquired, processing the job...
[2025-02-08 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:13:03] Production.INFO: ==18411== Lock acquired, processing the job...
[2025-02-08 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:13:03] Production.INFO: ==18413== Lock acquired, processing the job...
[2025-02-08 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:13:03] Production.INFO: ==18417== Lock acquired, processing the job...
[2025-02-08 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:13:03] Production.ERROR: done
[2025-02-08 22:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:13:04] Production.INFO: ==18409== Releasing lock...
[2025-02-08 22:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:13:04] Production.INFO: Account Balance Start.
[2025-02-08 22:13:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:13:04] Production.INFO: 117
[2025-02-08 22:13:04] Production.INFO: count ==21
[2025-02-08 22:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:13:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:13:04] Production.INFO: count ==21
[2025-02-08 22:13:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:13:04] Production.ERROR: done
[2025-02-08 22:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432694') start
[2025-02-08 22:13:04] Production.INFO: Total Charge 0
[2025-02-08 22:13:04] Production.INFO: CreateAllLog End
[2025-02-08 22:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432694') end
[2025-02-08 22:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:13:04] Production.INFO: 1
[2025-02-08 22:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:13:04] Production.INFO: ==18417== Releasing lock...
[2025-02-08 22:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:13:04] Production.INFO: Account Balance End.
[2025-02-08 22:13:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:13:04] Production.INFO: ==18413== Releasing lock...
[2025-02-08 22:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:13:05
[end_date_ymd] => 2025-02-08 22:13:05
[RateCDR] => 1
)
[2025-02-08 22:13: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` >= '2025-02-08 19:13:05' and `end` < '2025-02-08 22:13: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 ,'')
[2025-02-08 22:13:12] Production.ERROR: CronJobId end10
[2025-02-08 22:13:12] Production.INFO: ==18411== Releasing lock...
[2025-02-08 22:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:13:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:13:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:13:14] Production.INFO: call_cost start
[2025-02-08 22:13:14] Production.INFO: call_cost end
[2025-02-08 22:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:13:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:13:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:13:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:13:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:13:15] Production.INFO: ==18407== Releasing lock...
[2025-02-08 22:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:13:18] Production.INFO: count ==1876
[2025-02-08 22:13:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:13:05 - End Time 2025-02-08 22:13:05
[2025-02-08 22:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432695', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432695', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432695', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432695', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:13:18] Production.INFO: ProcessCDR(1,14432695,1,1,2)
[2025-02-08 22:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432695', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432695', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:13:23] Production.INFO: ==18415== Releasing lock...
[2025-02-08 22:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:13:23] Production.INFO: 42.25 MB #Memory Used#
[2025-02-09 03:14:02] Production.INFO: ==18475== Lock acquired, processing the job...
[2025-02-09 03:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:14:02] Production.INFO: neon service started
[2025-02-09 03:14:02] Production.INFO: neon service started
[2025-02-09 03:14:02] Production.INFO: ==18475== Releasing lock...
[2025-02-09 03:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:14:02] Production.INFO: ==18477== Lock acquired, processing the job...
[2025-02-08 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:14:03] Production.INFO: ==18477== Releasing lock...
[2025-02-08 22:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:14:03] Production.INFO: ==18479== Lock acquired, processing the job...
[2025-02-09 03:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:14:03] Production.INFO: ==18479== Releasing lock...
[2025-02-09 03:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:14:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:14:03] Production.INFO: ==18484== Lock acquired, processing the job...
[2025-02-08 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:14:04] Production.INFO: ==18492== Lock acquired, processing the job...
[2025-02-08 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:14:04] Production.INFO: ==18482== Lock acquired, processing the job...
[2025-02-08 22:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:14:04] Production.INFO: count ==21
[2025-02-08 22:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:14:04] Production.INFO: count ==21
[2025-02-08 22:14:04] Production.INFO: ==18486== Lock acquired, processing the job...
[2025-02-08 22:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:14:04] Production.INFO: ==18484== Releasing lock...
[2025-02-08 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432697') start
[2025-02-08 22:14:04] Production.INFO: ==18488== Lock acquired, processing the job...
[2025-02-08 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:14:04] Production.INFO: ==18490== Lock acquired, processing the job...
[2025-02-08 22:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432697') end
[2025-02-08 22:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:14:04] Production.INFO: 1
[2025-02-08 22:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:14:04] Production.INFO: ==18492== Releasing lock...
[2025-02-08 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:14:04] Production.INFO: Account Balance Start.
[2025-02-08 22:14:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:14:04] Production.INFO: 117
[2025-02-08 22:14:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:14:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:14:04] Production.INFO: Total Charge 0
[2025-02-08 22:14:04] Production.INFO: CreateAllLog End
[2025-02-08 22:14:05] Production.ERROR: done
[2025-02-08 22:14:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:14:05] Production.ERROR: done
[2025-02-08 22:14:05] Production.INFO: Account Balance End.
[2025-02-08 22:14:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:14:05] Production.INFO: ==18488== Releasing lock...
[2025-02-08 22:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:14:05
[end_date_ymd] => 2025-02-08 22:14:05
[RateCDR] => 1
)
[2025-02-08 22:14: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` >= '2025-02-08 19:14:05' and `end` < '2025-02-08 22:14: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 ,'')
[2025-02-08 22:14:12] Production.ERROR: CronJobId end10
[2025-02-08 22:14:12] Production.INFO: ==18486== Releasing lock...
[2025-02-08 22:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:14:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:14:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:14:15] Production.INFO: call_cost start
[2025-02-08 22:14:15] Production.INFO: call_cost end
[2025-02-08 22:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:14:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:14:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:14:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:14:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:14:16] Production.INFO: ==18482== Releasing lock...
[2025-02-08 22:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:14:19] Production.INFO: count ==1877
[2025-02-08 22:14:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:14:05 - End Time 2025-02-08 22:14:05
[2025-02-08 22:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432700', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432700', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432700', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432700', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:14:19] Production.INFO: ProcessCDR(1,14432700,1,1,2)
[2025-02-08 22:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432700', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432700', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:14:23] Production.INFO: ==18490== Releasing lock...
[2025-02-08 22:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:14:23] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:15:01] Production.INFO: ==18552== Lock acquired, processing the job...
[2025-02-09 03:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:15:01] Production.INFO: neon service started
[2025-02-09 03:15:01] Production.INFO: neon service started
[2025-02-09 03:15:01] Production.INFO: ==18552== Releasing lock...
[2025-02-09 03:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:15:02] Production.INFO: ==18554== Lock acquired, processing the job...
[2025-02-08 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:15:02] Production.INFO: ==18556== Lock acquired, processing the job...
[2025-02-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:15:02] Production.INFO: ==18556== Releasing lock...
[2025-02-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:15:02] Production.INFO: ==18554== Releasing lock...
[2025-02-08 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:15:03] Production.INFO: ==18565== Lock acquired, processing the job...
[2025-02-08 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:15:03] Production.INFO: ==18569== Lock acquired, processing the job...
[2025-02-08 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:15:03] Production.INFO: ==18567== Lock acquired, processing the job...
[2025-02-08 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:15:03] Production.INFO: Account Balance Start.
[2025-02-08 22:15:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:15:03] Production.INFO: 117
[2025-02-08 22:15:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:15:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:15:03] Production.INFO: ==18561== Lock acquired, processing the job...
[2025-02-08 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:15:03] Production.INFO: Total Charge 0
[2025-02-08 22:15:03] Production.INFO: ==18559== Lock acquired, processing the job...
[2025-02-08 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:15:03] Production.INFO: ==18563== Lock acquired, processing the job...
[2025-02-08 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:15:03] Production.INFO: count ==21
[2025-02-08 22:15:03] Production.INFO: CreateAllLog End
[2025-02-08 22:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:15:03] Production.INFO: count ==21
[2025-02-08 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432702') start
[2025-02-08 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432702') end
[2025-02-08 22:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:15:03] Production.INFO: 1
[2025-02-08 22:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:15:03] Production.INFO: ==18569== Releasing lock...
[2025-02-08 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:15:04] Production.INFO: Account Balance End.
[2025-02-08 22:15:04] Production.ERROR: done
[2025-02-08 22:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:15:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:15:04] Production.INFO: ==18565== Releasing lock...
[2025-02-08 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:15:04] Production.INFO: ==18561== Releasing lock...
[2025-02-08 22:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:15:04] Production.ERROR: done
[2025-02-08 22:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:15:05
[end_date_ymd] => 2025-02-08 22:15:05
[RateCDR] => 1
)
[2025-02-08 22:15: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` >= '2025-02-08 19:15:05' and `end` < '2025-02-08 22:15: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 ,'')
[2025-02-08 22:15:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-08 22:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:15:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:15:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:15:13] Production.INFO: call_cost start
[2025-02-08 22:15:13] Production.INFO: call_cost end
[2025-02-08 22:15:14] Production.ERROR: CronJobId end10
[2025-02-08 22:15:14] Production.INFO: ==18563== Releasing lock...
[2025-02-08 22:15:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:15:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:15:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:15:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:15:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:15:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:15:14] Production.INFO: ==18559== Releasing lock...
[2025-02-08 22:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:15:19] Production.INFO: count ==1879
[2025-02-08 22:15:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:15:05 - End Time 2025-02-08 22:15:05
[2025-02-08 22:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432705', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432705', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432705', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432705', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:15:20] Production.INFO: ProcessCDR(1,14432705,1,1,2)
[2025-02-08 22:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432705', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432705', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:15:23] Production.INFO: ==18567== Releasing lock...
[2025-02-08 22:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:15:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:16:02] Production.INFO: ==18627== Lock acquired, processing the job...
[2025-02-09 03:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:16:02] Production.INFO: neon service started
[2025-02-09 03:16:02] Production.INFO: neon service started
[2025-02-09 03:16:02] Production.INFO: ==18627== Releasing lock...
[2025-02-09 03:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:16:02] Production.INFO: ==18631== Lock acquired, processing the job...
[2025-02-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:16:02] Production.INFO: ==18631== Releasing lock...
[2025-02-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:16:02] Production.INFO: ==18629== Lock acquired, processing the job...
[2025-02-08 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:16:03] Production.INFO: ==18629== Releasing lock...
[2025-02-08 22:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:16:04] Production.INFO: ==18638== Lock acquired, processing the job...
[2025-02-08 22:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:16:04] Production.INFO: ==18636== Lock acquired, processing the job...
[2025-02-08 22:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:16:04] Production.INFO: ==18640== Lock acquired, processing the job...
[2025-02-08 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:16:04] Production.INFO: ==18634== Lock acquired, processing the job...
[2025-02-08 22:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:16:04] Production.INFO: ==18642== Lock acquired, processing the job...
[2025-02-08 22:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:16:04] Production.INFO: Account Balance Start.
[2025-02-08 22:16:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:16:04] Production.INFO: 117
[2025-02-08 22:16:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:16:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:16:04] Production.INFO: Total Charge 0
[2025-02-08 22:16:04] Production.INFO: CreateAllLog End
[2025-02-08 22:16:04] Production.INFO: ==18644== Lock acquired, processing the job...
[2025-02-08 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:16:04] Production.INFO: ==18636== Releasing lock...
[2025-02-08 22:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:16:04] Production.INFO: count ==21
[2025-02-08 22:16:04] Production.ERROR: done
[2025-02-08 22:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:16:04] Production.INFO: Account Balance End.
[2025-02-08 22:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:16:04] Production.INFO: count ==21
[2025-02-08 22:16:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:16:04] Production.INFO: ==18640== Releasing lock...
[2025-02-08 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432709') start
[2025-02-08 22:16:04] Production.ERROR: done
[2025-02-08 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432709') end
[2025-02-08 22:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:16:04] Production.INFO: 1
[2025-02-08 22:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:16:05] Production.INFO: ==18644== Releasing lock...
[2025-02-08 22:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:16:05
[end_date_ymd] => 2025-02-08 22:16:05
[RateCDR] => 1
)
[2025-02-08 22:16: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` >= '2025-02-08 19:16:05' and `end` < '2025-02-08 22:16: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 ,'')
[2025-02-08 22:16:13] Production.ERROR: CronJobId end10
[2025-02-08 22:16:13] Production.INFO: ==18638== Releasing lock...
[2025-02-08 22:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:16:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:16:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:16:16] Production.INFO: call_cost start
[2025-02-08 22:16:16] Production.INFO: call_cost end
[2025-02-08 22:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:16:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:16:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:16:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:16:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:16:17] Production.INFO: ==18634== Releasing lock...
[2025-02-08 22:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:16:19] Production.INFO: count ==1879
[2025-02-08 22:16:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:16:05 - End Time 2025-02-08 22:16:05
[2025-02-08 22:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432710', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432710', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432710', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432710', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:16:19] Production.INFO: ProcessCDR(1,14432710,1,1,2)
[2025-02-08 22:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432710', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432710', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:16:23] Production.INFO: ==18642== Releasing lock...
[2025-02-08 22:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:16:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:17:01] Production.INFO: ==18743== Lock acquired, processing the job...
[2025-02-09 03:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:17:01] Production.INFO: neon service started
[2025-02-09 03:17:01] Production.INFO: neon service started
[2025-02-09 03:17:01] Production.INFO: ==18743== Releasing lock...
[2025-02-09 03:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:17:02] Production.INFO: ==18748== Lock acquired, processing the job...
[2025-02-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:17:02] Production.INFO: ==18748== Releasing lock...
[2025-02-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:17:02] Production.INFO: ==18746== Lock acquired, processing the job...
[2025-02-08 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:17:02] Production.INFO: ==18746== Releasing lock...
[2025-02-08 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:17:03] Production.INFO: ==18754== Lock acquired, processing the job...
[2025-02-08 22:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:17:03] Production.INFO: ==18756== Lock acquired, processing the job...
[2025-02-08 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:17:03] Production.INFO: Account Balance Start.
[2025-02-08 22:17:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:17:03] Production.INFO: 117
[2025-02-08 22:17:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:17:03] Production.INFO: ==18750== Lock acquired, processing the job...
[2025-02-08 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:17:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:17:03] Production.INFO: ==18752== Lock acquired, processing the job...
[2025-02-08 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:17:03] Production.INFO: Total Charge 0
[2025-02-08 22:17:03] Production.INFO: CreateAllLog End
[2025-02-08 22:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:17:03] Production.INFO: ==18758== Lock acquired, processing the job...
[2025-02-08 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:17:03] Production.INFO: ==18762== Lock acquired, processing the job...
[2025-02-08 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:17:04] Production.INFO: Account Balance End.
[2025-02-08 22:17:04] Production.INFO: count ==21
[2025-02-08 22:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:17:04] Production.INFO: count ==21
[2025-02-08 22:17:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:17:04] Production.INFO: ==18756== Releasing lock...
[2025-02-08 22:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432714') start
[2025-02-08 22:17:04] Production.INFO: ==18752== Releasing lock...
[2025-02-08 22:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:17:04] Production.ERROR: done
[2025-02-08 22:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432714') end
[2025-02-08 22:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:17:04] Production.INFO: 1
[2025-02-08 22:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:17:04] Production.INFO: ==18762== Releasing lock...
[2025-02-08 22:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:17:04] Production.ERROR: done
[2025-02-08 22:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:17:05
[end_date_ymd] => 2025-02-08 22:17:05
[RateCDR] => 1
)
[2025-02-08 22:17: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` >= '2025-02-08 19:17:05' and `end` < '2025-02-08 22:17: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 ,'')
[2025-02-08 22:17:12] Production.ERROR: CronJobId end10
[2025-02-08 22:17:12] Production.INFO: ==18754== Releasing lock...
[2025-02-08 22:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:17:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:17:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:17:13] Production.INFO: call_cost start
[2025-02-08 22:17:13] Production.INFO: call_cost end
[2025-02-08 22:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:17:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:17:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:17:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:17:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:17:14] Production.INFO: ==18750== Releasing lock...
[2025-02-08 22:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:17:20] Production.INFO: count ==1878
[2025-02-08 22:17:21] Production.ERROR: pbx CDR StartTime 2025-02-08 19:17:05 - End Time 2025-02-08 22:17:05
[2025-02-08 22:17:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432715', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432715', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432715', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432715', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:17:21] Production.INFO: ProcessCDR(1,14432715,1,1,2)
[2025-02-08 22:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432715', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432715', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:17:24] Production.INFO: ==18758== Releasing lock...
[2025-02-08 22:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:17:24] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:18:02] Production.INFO: ==18824== Lock acquired, processing the job...
[2025-02-09 03:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:18:02] Production.INFO: neon service started
[2025-02-09 03:18:02] Production.INFO: neon service started
[2025-02-09 03:18:02] Production.INFO: ==18824== Releasing lock...
[2025-02-09 03:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:18:02] Production.INFO: ==18826== Lock acquired, processing the job...
[2025-02-08 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:18:02] Production.INFO: ==18829== Lock acquired, processing the job...
[2025-02-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 22:18:02] Production.INFO: ==18826== Releasing lock...
[2025-02-08 22:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:18:03] Production.INFO: ==18829== Releasing lock...
[2025-02-09 03:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:18:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:18:03] Production.INFO: ==18839== Lock acquired, processing the job...
[2025-02-08 22:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:18:03] Production.INFO: ==18841== Lock acquired, processing the job...
[2025-02-08 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:18:04] Production.INFO: ==18831== Lock acquired, processing the job...
[2025-02-08 22:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:18:04] Production.INFO: ==18833== Lock acquired, processing the job...
[2025-02-08 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:18:04] Production.INFO: ==18835== Lock acquired, processing the job...
[2025-02-08 22:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:18:04] Production.INFO: ==18837== Lock acquired, processing the job...
[2025-02-08 22:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:18:04] Production.INFO: count ==21
[2025-02-08 22:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:18:04] Production.INFO: count ==21
[2025-02-08 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432716') start
[2025-02-08 22:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:18:04] Production.INFO: Account Balance Start.
[2025-02-08 22:18:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:18:04] Production.INFO: 117
[2025-02-08 22:18:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:18:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432716') end
[2025-02-08 22:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:18:04] Production.INFO: 1
[2025-02-08 22:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:18:04] Production.INFO: Total Charge 0
[2025-02-08 22:18:04] Production.ERROR: done
[2025-02-08 22:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:18:04] Production.INFO: CreateAllLog End
[2025-02-08 22:18:04] Production.INFO: ==18841== Releasing lock...
[2025-02-08 22:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:18:04] Production.INFO: ==18833== Releasing lock...
[2025-02-08 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:18:04] Production.ERROR: done
[2025-02-08 22:18:04] Production.INFO: Account Balance End.
[2025-02-08 22:18:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:18:04] Production.INFO: ==18837== Releasing lock...
[2025-02-08 22:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:18:05
[end_date_ymd] => 2025-02-08 22:18:05
[RateCDR] => 1
)
[2025-02-08 22:18: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` >= '2025-02-08 19:18:05' and `end` < '2025-02-08 22:18: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 ,'')
[2025-02-08 22:18:12] Production.ERROR: CronJobId end10
[2025-02-08 22:18:12] Production.INFO: ==18835== Releasing lock...
[2025-02-08 22:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:18:14] Production.INFO: call_cost start
[2025-02-08 22:18:14] Production.INFO: call_cost end
[2025-02-08 22:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:18:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:18:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:18:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:18:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:18:15] Production.INFO: ==18831== Releasing lock...
[2025-02-08 22:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:18:19] Production.INFO: count ==1878
[2025-02-08 22:18:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:18:05 - End Time 2025-02-08 22:18:05
[2025-02-08 22:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432720', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432720', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432720', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432720', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:18:19] Production.INFO: ProcessCDR(1,14432720,1,1,2)
[2025-02-08 22:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432720', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432720', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:18:22] Production.INFO: ==18839== Releasing lock...
[2025-02-08 22:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:18:22] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:19:01] Production.INFO: ==18907== Lock acquired, processing the job...
[2025-02-09 03:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:19:01] Production.INFO: neon service started
[2025-02-09 03:19:01] Production.INFO: neon service started
[2025-02-09 03:19:01] Production.INFO: ==18907== Releasing lock...
[2025-02-09 03:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:19:02] Production.INFO: ==18909== Lock acquired, processing the job...
[2025-02-08 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:19:02] Production.INFO: ==18911== Lock acquired, processing the job...
[2025-02-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:19:02] Production.INFO: ==18911== Releasing lock...
[2025-02-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:19:02] Production.INFO: ==18909== Releasing lock...
[2025-02-08 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:19:03] Production.INFO: ==18920== Lock acquired, processing the job...
[2025-02-08 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:19:03] Production.INFO: Account Balance Start.
[2025-02-08 22:19:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:19:03] Production.INFO: 117
[2025-02-08 22:19:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:19:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:19:03] Production.INFO: Total Charge 0
[2025-02-08 22:19:03] Production.INFO: CreateAllLog End
[2025-02-08 22:19:03] Production.INFO: Account Balance End.
[2025-02-08 22:19:03] Production.ERROR: CronJobId end 12
[2025-02-08 22:19:03] Production.INFO: ==18920== Releasing lock...
[2025-02-08 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:19:03] Production.INFO: ==18914== Lock acquired, processing the job...
[2025-02-08 22:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:19:03] Production.INFO: ==18916== Lock acquired, processing the job...
[2025-02-08 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:19:03] Production.INFO: ==18924== Lock acquired, processing the job...
[2025-02-08 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:19:03] Production.INFO: ==18918== Lock acquired, processing the job...
[2025-02-08 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:19:04] Production.INFO: ==18922== Lock acquired, processing the job...
[2025-02-08 22:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:19:04] Production.INFO: count ==21
[2025-02-08 22:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:19:04] Production.INFO: count ==21
[2025-02-08 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432723') start
[2025-02-08 22:19:04] Production.INFO: ==18916== Releasing lock...
[2025-02-08 22:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432723') end
[2025-02-08 22:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:19:04] Production.INFO: 1
[2025-02-08 22:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:19:04] Production.ERROR: done
[2025-02-08 22:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:19:04] Production.ERROR: done
[2025-02-08 22:19:04] Production.INFO: ==18924== Releasing lock...
[2025-02-08 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:19:05
[end_date_ymd] => 2025-02-08 22:19:05
[RateCDR] => 1
)
[2025-02-08 22:19: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` >= '2025-02-08 19:19:05' and `end` < '2025-02-08 22:19: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 ,'')
[2025-02-08 22:19:12] Production.ERROR: CronJobId end10
[2025-02-08 22:19:12] Production.INFO: ==18918== Releasing lock...
[2025-02-08 22:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:19:14] Production.INFO: call_cost start
[2025-02-08 22:19:14] Production.INFO: call_cost end
[2025-02-08 22:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:19:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:19:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:19:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:19:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:19:15] Production.INFO: ==18914== Releasing lock...
[2025-02-08 22:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:19:18] Production.INFO: count ==1871
[2025-02-08 22:19:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:19:05 - End Time 2025-02-08 22:19:05
[2025-02-08 22:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432725', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432725', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432725', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432725', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:19:18] Production.INFO: ProcessCDR(1,14432725,1,1,2)
[2025-02-08 22:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432725', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432725', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:19:23] Production.INFO: ==18922== Releasing lock...
[2025-02-08 22:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:19:23] Production.INFO: 42 MB #Memory Used#
[2025-02-09 03:20:02] Production.INFO: ==19000== Lock acquired, processing the job...
[2025-02-09 03:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:20:02] Production.INFO: neon service started
[2025-02-09 03:20:02] Production.INFO: neon service started
[2025-02-09 03:20:02] Production.INFO: ==19000== Releasing lock...
[2025-02-09 03:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:20:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 22:20:02] Production.INFO: ==19002== Lock acquired, processing the job...
[2025-02-08 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:20:02] Production.INFO: ==19004== Lock acquired, processing the job...
[2025-02-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:20:02] Production.INFO: ==19004== Releasing lock...
[2025-02-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:20:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:20:03] Production.INFO: ==19002== Releasing lock...
[2025-02-08 22:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:20:04] Production.INFO: ==19015== Lock acquired, processing the job...
[2025-02-08 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:20:04] Production.INFO: ==19007== Lock acquired, processing the job...
[2025-02-08 22:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 22:20:04] Production.INFO: ==19017== Lock acquired, processing the job...
[2025-02-08 22:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:20:04] Production.INFO: Account Balance Start.
[2025-02-08 22:20:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:20:04] Production.INFO: 117
[2025-02-08 22:20:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:20:04] Production.INFO: ==19021== Lock acquired, processing the job...
[2025-02-08 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:20:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 22:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 22:20:04] Production.ERROR: CronJob PID - 19015
[2025-02-08 22:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-08 22:20:04] Production.ERROR: CronJob ID - 12
[2025-02-08 22:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 22:20:00
[2025-02-08 22:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 22:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 22:20:04] Production.INFO: Total Charge 0
[2025-02-08 22:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 22:20:04] Production.INFO: ==19007== Releasing lock...
[2025-02-08 22:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 22:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:20:04] Production.INFO: CreateAllLog End
[2025-02-08 22:20:04] Production.INFO: ==19009== Lock acquired, processing the job...
[2025-02-08 22:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:20:04] Production.INFO: ==19019== Lock acquired, processing the job...
[2025-02-08 22:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 22:20:04] Production.INFO: count ==21
[2025-02-08 22:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:20:04] Production.INFO: ==19011== Lock acquired, processing the job...
[2025-02-08 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:20:04] Production.INFO: count ==21
[2025-02-08 22:20:04] Production.INFO: ==19013== Lock acquired, processing the job...
[2025-02-08 22:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432727') start
[2025-02-08 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:20:04] Production.INFO: Account Balance End.
[2025-02-08 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432727') end
[2025-02-08 22:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:20:04] Production.INFO: 1
[2025-02-08 22:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:20:04] Production.ERROR: done
[2025-02-08 22:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:20:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:20:04] Production.INFO: ==19015== Releasing lock...
[2025-02-08 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:20:04] Production.INFO: ==19021== Releasing lock...
[2025-02-08 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:20:05] Production.ERROR: done
[2025-02-08 22:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 22:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432730', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 22:20:05] Production.ERROR: done
[2025-02-08 22:20:05] Production.INFO: ==19011== Releasing lock...
[2025-02-08 22:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:20:06
[end_date_ymd] => 2025-02-08 22:20:06
[RateCDR] => 1
)
[2025-02-08 22:20: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-02-08 19:20:06' and `end` < '2025-02-08 22:20: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-02-08 22:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432730', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 22:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 22:20:09] Production.INFO: ProcessCDR(1,14432730,1,1,2)
[2025-02-08 22:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432730,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432730,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:20:10] Production.INFO: ==19019== Releasing lock...
[2025-02-08 22:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 22:20:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 22:20:15] Production.ERROR: CronJobId end10
[2025-02-08 22:20:15] Production.INFO: ==19013== Releasing lock...
[2025-02-08 22:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:20:17] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:20:17] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:20:17] Production.INFO: call_cost start
[2025-02-08 22:20:17] Production.INFO: call_cost end
[2025-02-08 22:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:20:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:20:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:20:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:20:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:20:18] Production.INFO: ==19009== Releasing lock...
[2025-02-08 22:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:20:19] Production.INFO: count ==1875
[2025-02-08 22:20:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:20:06 - End Time 2025-02-08 22:20:06
[2025-02-08 22:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432731', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432731', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432731', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432731', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:20:20] Production.INFO: ProcessCDR(1,14432731,1,1,2)
[2025-02-08 22:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432731', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432731', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:20:23] Production.INFO: ==19017== Releasing lock...
[2025-02-08 22:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:20:23] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:21:01] Production.INFO: ==19098== Lock acquired, processing the job...
[2025-02-09 03:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:21:01] Production.INFO: neon service started
[2025-02-09 03:21:01] Production.INFO: neon service started
[2025-02-09 03:21:01] Production.INFO: ==19098== Releasing lock...
[2025-02-09 03:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:21:02] Production.INFO: ==19102== Lock acquired, processing the job...
[2025-02-08 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:21:02] Production.INFO: ==19104== Lock acquired, processing the job...
[2025-02-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:21:02] Production.INFO: ==19104== Releasing lock...
[2025-02-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:21:02] Production.INFO: ==19102== Releasing lock...
[2025-02-08 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:21:03] Production.INFO: ==19108== Lock acquired, processing the job...
[2025-02-08 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:21:03] Production.INFO: ==19118== Lock acquired, processing the job...
[2025-02-08 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:21:03] Production.INFO: ==19116== Lock acquired, processing the job...
[2025-02-08 22:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:21:03] Production.INFO: count ==21
[2025-02-08 22:21:03] Production.INFO: ==19110== Lock acquired, processing the job...
[2025-02-08 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:21:03] Production.INFO: count ==21
[2025-02-08 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432733') start
[2025-02-08 22:21:03] Production.INFO: ==19114== Lock acquired, processing the job...
[2025-02-08 22:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:21:03] Production.INFO: ==19112== Lock acquired, processing the job...
[2025-02-08 22:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:21:03] Production.ERROR: done
[2025-02-08 22:21:03] Production.INFO: Account Balance Start.
[2025-02-08 22:21:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:21:03] Production.INFO: 117
[2025-02-08 22:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432733') end
[2025-02-08 22:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:21:03] Production.INFO: 1
[2025-02-08 22:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:21:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:21:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:21:03] Production.INFO: Total Charge 0
[2025-02-08 22:21:03] Production.INFO: CreateAllLog End
[2025-02-08 22:21:04] Production.INFO: ==19118== Releasing lock...
[2025-02-08 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:21:04] Production.INFO: ==19110== Releasing lock...
[2025-02-08 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:21:04] Production.ERROR: done
[2025-02-08 22:21:04] Production.INFO: Account Balance End.
[2025-02-08 22:21:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:21:04] Production.INFO: ==19114== Releasing lock...
[2025-02-08 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:21:05
[end_date_ymd] => 2025-02-08 22:21:05
[RateCDR] => 1
)
[2025-02-08 22:21: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` >= '2025-02-08 19:21:05' and `end` < '2025-02-08 22:21: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 ,'')
[2025-02-08 22:21:13] Production.ERROR: CronJobId end10
[2025-02-08 22:21:13] Production.INFO: ==19112== Releasing lock...
[2025-02-08 22:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:21:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:21:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:21:13] Production.INFO: call_cost start
[2025-02-08 22:21:13] Production.INFO: call_cost end
[2025-02-08 22:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:21:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:21:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:21:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:21:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:21:14] Production.INFO: ==19108== Releasing lock...
[2025-02-08 22:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:21:18] Production.INFO: count ==1829
[2025-02-08 22:21:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:21:05 - End Time 2025-02-08 22:21:05
[2025-02-08 22:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432736', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432736', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432736', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432736', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:21:18] Production.INFO: ProcessCDR(1,14432736,1,1,2)
[2025-02-08 22:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432736', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432736', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:21:22] Production.INFO: ==19116== Releasing lock...
[2025-02-08 22:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:21:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:22:02] Production.INFO: ==19180== Lock acquired, processing the job...
[2025-02-09 03:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:22:02] Production.INFO: neon service started
[2025-02-09 03:22:02] Production.INFO: neon service started
[2025-02-09 03:22:02] Production.INFO: ==19180== Releasing lock...
[2025-02-09 03:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:22:02] Production.INFO: ==19182== Lock acquired, processing the job...
[2025-02-08 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:22:02] Production.INFO: ==19182== Releasing lock...
[2025-02-08 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:22:02] Production.INFO: ==19184== Lock acquired, processing the job...
[2025-02-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:22:03] Production.INFO: ==19184== Releasing lock...
[2025-02-09 03:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:22:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:22:03] Production.INFO: ==19186== Lock acquired, processing the job...
[2025-02-08 22:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:22:03] Production.INFO: ==19193== Lock acquired, processing the job...
[2025-02-08 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:22:03] Production.INFO: ==19188== Lock acquired, processing the job...
[2025-02-08 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:22:03] Production.INFO: ==19197== Lock acquired, processing the job...
[2025-02-08 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:22:03] Production.INFO: Account Balance Start.
[2025-02-08 22:22:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:22:03] Production.INFO: 117
[2025-02-08 22:22:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:22:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:22:04] Production.INFO: ==19190== Lock acquired, processing the job...
[2025-02-08 22:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:22:04] Production.INFO: Total Charge 0
[2025-02-08 22:22:04] Production.INFO: CreateAllLog End
[2025-02-08 22:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:22:04] Production.INFO: ==19195== Lock acquired, processing the job...
[2025-02-08 22:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:22:04] Production.INFO: count ==21
[2025-02-08 22:22:04] Production.INFO: Account Balance End.
[2025-02-08 22:22:04] Production.INFO: ==19188== Releasing lock...
[2025-02-08 22:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:22:04] Production.INFO: count ==21
[2025-02-08 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432740') start
[2025-02-08 22:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:22:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:22:04] Production.INFO: ==19193== Releasing lock...
[2025-02-08 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432740') end
[2025-02-08 22:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:22:04] Production.INFO: 1
[2025-02-08 22:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:22:04] Production.ERROR: done
[2025-02-08 22:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:22:04] Production.INFO: ==19197== Releasing lock...
[2025-02-08 22:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:22:04] Production.ERROR: done
[2025-02-08 22:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:22:05
[end_date_ymd] => 2025-02-08 22:22:05
[RateCDR] => 1
)
[2025-02-08 22:22: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` >= '2025-02-08 19:22:05' and `end` < '2025-02-08 22:22: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 ,'')
[2025-02-08 22:22:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-08 22:22:12] Production.ERROR: CronJobId end10
[2025-02-08 22:22:12] Production.INFO: ==19190== Releasing lock...
[2025-02-08 22:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:22:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:22:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:22:15] Production.INFO: call_cost start
[2025-02-08 22:22:15] Production.INFO: call_cost end
[2025-02-08 22:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:22:15] Production.INFO: ==19186== Releasing lock...
[2025-02-08 22:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:22:18] Production.INFO: count ==1829
[2025-02-08 22:22:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:22:05 - End Time 2025-02-08 22:22:05
[2025-02-08 22:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432741', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432741', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432741', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432741', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:22:19] Production.INFO: ProcessCDR(1,14432741,1,1,2)
[2025-02-08 22:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432741', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432741', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:22:22] Production.INFO: ==19195== Releasing lock...
[2025-02-08 22:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:22:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:23:01] Production.INFO: ==19276== Lock acquired, processing the job...
[2025-02-09 03:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:23:01] Production.INFO: neon service started
[2025-02-09 03:23:01] Production.INFO: neon service started
[2025-02-09 03:23:01] Production.INFO: ==19276== Releasing lock...
[2025-02-09 03:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:23:02] Production.INFO: ==19278== Lock acquired, processing the job...
[2025-02-08 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:23:02] Production.INFO: ==19280== Lock acquired, processing the job...
[2025-02-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:23:02] Production.INFO: ==19280== Releasing lock...
[2025-02-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:23:02] Production.INFO: ==19278== Releasing lock...
[2025-02-08 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:23:03] Production.INFO: ==19283== Lock acquired, processing the job...
[2025-02-08 22:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:23:03] Production.INFO: ==19293== Lock acquired, processing the job...
[2025-02-08 22:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:23:03] Production.INFO: ==19285== Lock acquired, processing the job...
[2025-02-08 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:23:03] Production.INFO: count ==21
[2025-02-08 22:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:23:03] Production.INFO: count ==21
[2025-02-08 22:23:03] Production.INFO: ==19289== Lock acquired, processing the job...
[2025-02-08 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432743') start
[2025-02-08 22:23:03] Production.INFO: ==19287== Lock acquired, processing the job...
[2025-02-08 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:23:03] Production.INFO: ==19291== Lock acquired, processing the job...
[2025-02-08 22:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:23:03] Production.INFO: Account Balance Start.
[2025-02-08 22:23:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:23:03] Production.INFO: 117
[2025-02-08 22:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:23:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:23:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432743') end
[2025-02-08 22:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:23:03] Production.INFO: 1
[2025-02-08 22:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:23:03] Production.INFO: Total Charge 0
[2025-02-08 22:23:03] Production.INFO: CreateAllLog End
[2025-02-08 22:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:23:04] Production.INFO: ==19293== Releasing lock...
[2025-02-08 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:23:04] Production.INFO: ==19285== Releasing lock...
[2025-02-08 22:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:23:04] Production.INFO: Account Balance End.
[2025-02-08 22:23:04] Production.ERROR: done
[2025-02-08 22:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:23:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:23:04] Production.INFO: ==19289== Releasing lock...
[2025-02-08 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:23:04] Production.ERROR: done
[2025-02-08 22:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:23:05
[end_date_ymd] => 2025-02-08 22:23:05
[RateCDR] => 1
)
[2025-02-08 22:23: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` >= '2025-02-08 19:23:05' and `end` < '2025-02-08 22:23: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 ,'')
[2025-02-08 22:23:12] Production.ERROR: CronJobId end10
[2025-02-08 22:23:12] Production.INFO: ==19287== Releasing lock...
[2025-02-08 22:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:23:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:23:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:23:14] Production.INFO: call_cost start
[2025-02-08 22:23:14] Production.INFO: call_cost end
[2025-02-08 22:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:23:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:23:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:23:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:23:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:23:15] Production.INFO: ==19283== Releasing lock...
[2025-02-08 22:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:23:19] Production.INFO: count ==1827
[2025-02-08 22:23:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:23:05 - End Time 2025-02-08 22:23:05
[2025-02-08 22:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432746', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432746', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432746', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432746', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:23:20] Production.INFO: ProcessCDR(1,14432746,1,1,2)
[2025-02-08 22:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432746', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432746', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:23:23] Production.INFO: ==19291== Releasing lock...
[2025-02-08 22:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:23:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:24:02] Production.INFO: ==19369== Lock acquired, processing the job...
[2025-02-09 03:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:24:02] Production.INFO: neon service started
[2025-02-09 03:24:02] Production.INFO: neon service started
[2025-02-09 03:24:02] Production.INFO: ==19369== Releasing lock...
[2025-02-09 03:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:24:02] Production.INFO: ==19371== Lock acquired, processing the job...
[2025-02-08 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:24:02] Production.INFO: ==19373== Lock acquired, processing the job...
[2025-02-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:24:02] Production.INFO: ==19373== Releasing lock...
[2025-02-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:24:03] Production.INFO: ==19371== Releasing lock...
[2025-02-08 22:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:24:03] Production.INFO: ==19376== Lock acquired, processing the job...
[2025-02-08 22:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:24:04] Production.INFO: ==19380== Lock acquired, processing the job...
[2025-02-08 22:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:24:04] Production.INFO: ==19382== Lock acquired, processing the job...
[2025-02-08 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:24:04] Production.INFO: ==19378== Lock acquired, processing the job...
[2025-02-08 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:24:04] Production.INFO: Account Balance Start.
[2025-02-08 22:24:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:24:04] Production.INFO: 117
[2025-02-08 22:24:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:24:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:24:04] Production.INFO: Total Charge 0
[2025-02-08 22:24:04] Production.INFO: CreateAllLog End
[2025-02-08 22:24:04] Production.INFO: ==19384== Lock acquired, processing the job...
[2025-02-08 22:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:24:04] Production.INFO: ==19386== Lock acquired, processing the job...
[2025-02-08 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:24:04] Production.INFO: count ==21
[2025-02-08 22:24:04] Production.INFO: ==19378== Releasing lock...
[2025-02-08 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:24:04] Production.INFO: count ==21
[2025-02-08 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432750') start
[2025-02-08 22:24:04] Production.INFO: Account Balance End.
[2025-02-08 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432750') end
[2025-02-08 22:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:24:04] Production.INFO: 1
[2025-02-08 22:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:24:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:24:04] Production.INFO: ==19382== Releasing lock...
[2025-02-08 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:24:04] Production.INFO: ==19386== Releasing lock...
[2025-02-08 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:24:04] Production.ERROR: done
[2025-02-08 22:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:24:05] Production.ERROR: done
[2025-02-08 22:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:24:06
[end_date_ymd] => 2025-02-08 22:24:06
[RateCDR] => 1
)
[2025-02-08 22:24: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-02-08 19:24:06' and `end` < '2025-02-08 22:24: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-02-08 22:24:12] Production.ERROR: CronJobId end10
[2025-02-08 22:24:12] Production.INFO: ==19380== Releasing lock...
[2025-02-08 22:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:24:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:24:14] Production.INFO: call_cost start
[2025-02-08 22:24:14] Production.INFO: call_cost end
[2025-02-08 22:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:24:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:24:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:24:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:24:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:24:15] Production.INFO: ==19376== Releasing lock...
[2025-02-08 22:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:24:19] Production.INFO: count ==1828
[2025-02-08 22:24:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:24:06 - End Time 2025-02-08 22:24:06
[2025-02-08 22:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432751', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432751', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432751', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432751', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:24:20] Production.INFO: ProcessCDR(1,14432751,1,1,2)
[2025-02-08 22:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:24:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:24:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432751', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432751', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:24:24] Production.INFO: ==19384== Releasing lock...
[2025-02-08 22:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:24:24] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:25:01] Production.INFO: ==19445== Lock acquired, processing the job...
[2025-02-09 03:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:25:01] Production.INFO: neon service started
[2025-02-09 03:25:01] Production.INFO: neon service started
[2025-02-09 03:25:01] Production.INFO: ==19445== Releasing lock...
[2025-02-09 03:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:25:02] Production.INFO: ==19447== Lock acquired, processing the job...
[2025-02-08 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:25:02] Production.INFO: ==19449== Lock acquired, processing the job...
[2025-02-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:25:02] Production.INFO: ==19449== Releasing lock...
[2025-02-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:25:02] Production.INFO: ==19447== Releasing lock...
[2025-02-08 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:25:03] Production.INFO: ==19452== Lock acquired, processing the job...
[2025-02-08 22:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:25:03] Production.INFO: ==19454== Lock acquired, processing the job...
[2025-02-08 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:25:03] Production.INFO: ==19458== Lock acquired, processing the job...
[2025-02-08 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:25:03] Production.INFO: Account Balance Start.
[2025-02-08 22:25:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:25:03] Production.INFO: 117
[2025-02-08 22:25:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:25:03] Production.INFO: ==19456== Lock acquired, processing the job...
[2025-02-08 22:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:25:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:25:03] Production.INFO: ==19454== Releasing lock...
[2025-02-08 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:25:03] Production.INFO: ==19460== Lock acquired, processing the job...
[2025-02-08 22:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:25:03] Production.INFO: Total Charge 0
[2025-02-08 22:25:03] Production.INFO: CreateAllLog End
[2025-02-08 22:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:25:03] Production.INFO: ==19462== Lock acquired, processing the job...
[2025-02-08 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:25:03] Production.INFO: Account Balance End.
[2025-02-08 22:25:03] Production.ERROR: CronJobId end 12
[2025-02-08 22:25:03] Production.INFO: count ==21
[2025-02-08 22:25:03] Production.INFO: ==19458== Releasing lock...
[2025-02-08 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:25:03] Production.INFO: count ==21
[2025-02-08 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432755') start
[2025-02-08 22:25:04] Production.ERROR: done
[2025-02-08 22:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432755') end
[2025-02-08 22:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:25:04] Production.INFO: 1
[2025-02-08 22:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:25:04] Production.INFO: ==19462== Releasing lock...
[2025-02-08 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:25:04] Production.ERROR: done
[2025-02-08 22:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:25:05
[end_date_ymd] => 2025-02-08 22:25:05
[RateCDR] => 1
)
[2025-02-08 22:25: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` >= '2025-02-08 19:25:05' and `end` < '2025-02-08 22:25: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 ,'')
[2025-02-08 22:25:12] Production.ERROR: CronJobId end10
[2025-02-08 22:25:12] Production.INFO: ==19456== Releasing lock...
[2025-02-08 22:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:25:14] Production.INFO: call_cost start
[2025-02-08 22:25:14] Production.INFO: call_cost end
[2025-02-08 22:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:25:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:25:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:25:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:25:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:25:15] Production.INFO: ==19452== Releasing lock...
[2025-02-08 22:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:25:18] Production.INFO: count ==1826
[2025-02-08 22:25:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:25:05 - End Time 2025-02-08 22:25:05
[2025-02-08 22:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432756', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432756', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432756', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432756', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:25:18] Production.INFO: ProcessCDR(1,14432756,1,1,2)
[2025-02-08 22:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432756', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432756', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:25:23] Production.INFO: ==19460== Releasing lock...
[2025-02-08 22:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:25:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:26:02] Production.INFO: ==19520== Lock acquired, processing the job...
[2025-02-09 03:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:26:02] Production.INFO: neon service started
[2025-02-09 03:26:02] Production.INFO: neon service started
[2025-02-09 03:26:02] Production.INFO: ==19520== Releasing lock...
[2025-02-09 03:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:26:02] Production.INFO: ==19522== Lock acquired, processing the job...
[2025-02-08 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:26:02] Production.INFO: ==19522== Releasing lock...
[2025-02-08 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:26:02] Production.INFO: ==19525== Lock acquired, processing the job...
[2025-02-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:26:02] Production.INFO: ==19525== Releasing lock...
[2025-02-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:26:03] Production.INFO: ==19527== Lock acquired, processing the job...
[2025-02-08 22:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:26:03] Production.INFO: ==19529== Lock acquired, processing the job...
[2025-02-08 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:26:03] Production.INFO: ==19533== Lock acquired, processing the job...
[2025-02-08 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:26:03] Production.INFO: Account Balance Start.
[2025-02-08 22:26:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:26:03] Production.INFO: 117
[2025-02-08 22:26:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:26:03] Production.INFO: ==19531== Lock acquired, processing the job...
[2025-02-08 22:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:26:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:26:03] Production.INFO: Total Charge 0
[2025-02-08 22:26:03] Production.INFO: CreateAllLog End
[2025-02-08 22:26:03] Production.INFO: ==19529== Releasing lock...
[2025-02-08 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:26:03] Production.INFO: ==19535== Lock acquired, processing the job...
[2025-02-08 22:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:26:03] Production.INFO: ==19537== Lock acquired, processing the job...
[2025-02-08 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:26:04] Production.INFO: Account Balance End.
[2025-02-08 22:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:26:04] Production.INFO: count ==21
[2025-02-08 22:26:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:26:04] Production.INFO: ==19533== Releasing lock...
[2025-02-08 22:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:26:04] Production.INFO: count ==21
[2025-02-08 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432760') start
[2025-02-08 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432760') end
[2025-02-08 22:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:26:04] Production.INFO: 1
[2025-02-08 22:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:26:04] Production.ERROR: done
[2025-02-08 22:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:26:04] Production.INFO: ==19537== Releasing lock...
[2025-02-08 22:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:26:04] Production.ERROR: done
[2025-02-08 22:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:26:05
[end_date_ymd] => 2025-02-08 22:26:05
[RateCDR] => 1
)
[2025-02-08 22:26: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` >= '2025-02-08 19:26:05' and `end` < '2025-02-08 22:26: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 ,'')
[2025-02-08 22:26:13] Production.ERROR: CronJobId end10
[2025-02-08 22:26:13] Production.INFO: ==19531== Releasing lock...
[2025-02-08 22:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:26:14] Production.INFO: call_cost start
[2025-02-08 22:26:14] Production.INFO: call_cost end
[2025-02-08 22:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:26:15] Production.INFO: ==19527== Releasing lock...
[2025-02-08 22:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:26:19] Production.INFO: count ==1825
[2025-02-08 22:26:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:26:05 - End Time 2025-02-08 22:26:05
[2025-02-08 22:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432761', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432761', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432761', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432761', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:26:19] Production.INFO: ProcessCDR(1,14432761,1,1,2)
[2025-02-08 22:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432761', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432761', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:26:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:26:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:26:24] Production.INFO: ==19535== Releasing lock...
[2025-02-08 22:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:26:24] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:27:01] Production.INFO: ==19595== Lock acquired, processing the job...
[2025-02-09 03:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:27:01] Production.INFO: neon service started
[2025-02-09 03:27:01] Production.INFO: neon service started
[2025-02-09 03:27:01] Production.INFO: ==19595== Releasing lock...
[2025-02-09 03:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:27:01] Production.INFO: ==19597== Lock acquired, processing the job...
[2025-02-08 22:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:27:02] Production.INFO: ==19597== Releasing lock...
[2025-02-08 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:27:02] Production.INFO: ==19599== Lock acquired, processing the job...
[2025-02-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:27:02] Production.INFO: ==19599== Releasing lock...
[2025-02-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:27:02] Production.INFO: ==19601== Lock acquired, processing the job...
[2025-02-08 22:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:27:02] Production.INFO: ==19603== Lock acquired, processing the job...
[2025-02-08 22:27:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:27:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:27:03] Production.INFO: ==19605== Lock acquired, processing the job...
[2025-02-08 22:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:27:03] Production.INFO: ==19609== Lock acquired, processing the job...
[2025-02-08 22:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:27:03] Production.INFO: ==19603== Releasing lock...
[2025-02-08 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:27:03] Production.INFO: ==19611== Lock acquired, processing the job...
[2025-02-08 22:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:27:03] Production.INFO: ==19607== Lock acquired, processing the job...
[2025-02-08 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:27:03] Production.INFO: count ==21
[2025-02-08 22:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:27:03] Production.INFO: count ==21
[2025-02-08 22:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432764') start
[2025-02-08 22:27:03] Production.INFO: Account Balance Start.
[2025-02-08 22:27:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:27:03] Production.INFO: 117
[2025-02-08 22:27:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:27:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:27:03] Production.INFO: Total Charge 0
[2025-02-08 22:27:03] Production.ERROR: done
[2025-02-08 22:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432764') end
[2025-02-08 22:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:27:03] Production.INFO: 1
[2025-02-08 22:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:27:03] Production.INFO: CreateAllLog End
[2025-02-08 22:27:03] Production.INFO: ==19611== Releasing lock...
[2025-02-08 22:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:27:03] Production.INFO: Account Balance End.
[2025-02-08 22:27:03] Production.ERROR: done
[2025-02-08 22:27:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:27:04] Production.INFO: ==19607== Releasing lock...
[2025-02-08 22:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:27:05
[end_date_ymd] => 2025-02-08 22:27:05
[RateCDR] => 1
)
[2025-02-08 22:27: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` >= '2025-02-08 19:27:05' and `end` < '2025-02-08 22:27: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 ,'')
[2025-02-08 22:27:11] Production.ERROR: CronJobId end10
[2025-02-08 22:27:11] Production.INFO: ==19605== Releasing lock...
[2025-02-08 22:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:27:12] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:27:12] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:27:12] Production.INFO: call_cost start
[2025-02-08 22:27:12] Production.INFO: call_cost end
[2025-02-08 22:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:27:13] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:27:13] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:27:13] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:27:13] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:27:13] Production.INFO: ==19601== Releasing lock...
[2025-02-08 22:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:27:19] Production.INFO: count ==1821
[2025-02-08 22:27:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:27:05 - End Time 2025-02-08 22:27:05
[2025-02-08 22:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432766', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432766', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432766', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432766', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:27:19] Production.INFO: ProcessCDR(1,14432766,1,1,2)
[2025-02-08 22:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432766', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432766', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:27:22] Production.INFO: ==19609== Releasing lock...
[2025-02-08 22:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:27:22] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:28:01] Production.INFO: ==19672== Lock acquired, processing the job...
[2025-02-09 03:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:28:01] Production.INFO: neon service started
[2025-02-09 03:28:01] Production.INFO: neon service started
[2025-02-09 03:28:01] Production.INFO: ==19672== Releasing lock...
[2025-02-09 03:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:28:01] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 22:28:02] Production.INFO: ==19674== Lock acquired, processing the job...
[2025-02-08 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:28:02] Production.INFO: ==19676== Lock acquired, processing the job...
[2025-02-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:28:02] Production.INFO: ==19676== Releasing lock...
[2025-02-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:28:02] Production.INFO: ==19674== Releasing lock...
[2025-02-08 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:28:03] Production.INFO: ==19679== Lock acquired, processing the job...
[2025-02-08 22:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:28:03] Production.INFO: ==19683== Lock acquired, processing the job...
[2025-02-08 22:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:28:03] Production.INFO: ==19687== Lock acquired, processing the job...
[2025-02-08 22:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:28:03] Production.INFO: ==19681== Lock acquired, processing the job...
[2025-02-08 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:28:03] Production.INFO: ==19685== Lock acquired, processing the job...
[2025-02-08 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:28:04] Production.ERROR: done
[2025-02-08 22:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:28:04] Production.INFO: ==19689== Lock acquired, processing the job...
[2025-02-08 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:28:04] Production.INFO: Account Balance Start.
[2025-02-08 22:28:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:28:04] Production.INFO: 117
[2025-02-08 22:28:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:28:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:28:04] Production.INFO: Total Charge 0
[2025-02-08 22:28:04] Production.INFO: CreateAllLog End
[2025-02-08 22:28:04] Production.ERROR: done
[2025-02-08 22:28:04] Production.INFO: ==19681== Releasing lock...
[2025-02-08 22:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:28:04] Production.INFO: Account Balance End.
[2025-02-08 22:28:04] Production.INFO: count ==21
[2025-02-08 22:28:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:28:04] Production.INFO: ==19685== Releasing lock...
[2025-02-08 22:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:28:04] Production.INFO: count ==21
[2025-02-08 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432770') start
[2025-02-08 22:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432770') end
[2025-02-08 22:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:28:04] Production.INFO: 1
[2025-02-08 22:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:28:04] Production.INFO: ==19689== Releasing lock...
[2025-02-08 22:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:28:05
[end_date_ymd] => 2025-02-08 22:28:05
[RateCDR] => 1
)
[2025-02-08 22:28: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` >= '2025-02-08 19:28:05' and `end` < '2025-02-08 22:28: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 ,'')
[2025-02-08 22:28:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,12))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-08 22:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:28:12] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:28:12] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:28:12] Production.ERROR: CronJobId end10
[2025-02-08 22:28:12] Production.INFO: ==19683== Releasing lock...
[2025-02-08 22:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:28:12] Production.INFO: call_cost start
[2025-02-08 22:28:12] Production.INFO: call_cost end
[2025-02-08 22:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:28:13] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:28:13] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:28:13] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:28:13] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:28:13] Production.INFO: ==19679== Releasing lock...
[2025-02-08 22:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:28:18] Production.INFO: count ==1821
[2025-02-08 22:28:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:28:05 - End Time 2025-02-08 22:28:05
[2025-02-08 22:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432771', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432771', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432771', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432771', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:28:18] Production.INFO: ProcessCDR(1,14432771,1,1,2)
[2025-02-08 22:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432771', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432771', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:28:21] Production.INFO: ==19687== Releasing lock...
[2025-02-08 22:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:28:21] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:29:02] Production.INFO: ==19756== Lock acquired, processing the job...
[2025-02-09 03:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:29:02] Production.INFO: neon service started
[2025-02-09 03:29:02] Production.INFO: neon service started
[2025-02-09 03:29:02] Production.INFO: ==19756== Releasing lock...
[2025-02-09 03:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:29:03] Production.INFO: ==19758== Lock acquired, processing the job...
[2025-02-08 22:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:29:03] Production.INFO: ==19760== Lock acquired, processing the job...
[2025-02-09 03:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:29:03] Production.INFO: ==19760== Releasing lock...
[2025-02-09 03:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:29:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:29:03] Production.INFO: ==19758== Releasing lock...
[2025-02-08 22:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:29:04] Production.INFO: ==19763== Lock acquired, processing the job...
[2025-02-08 22:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:29:04] Production.INFO: ==19767== Lock acquired, processing the job...
[2025-02-08 22:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:29:04] Production.INFO: ==19771== Lock acquired, processing the job...
[2025-02-08 22:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:29:04] Production.INFO: ==19765== Lock acquired, processing the job...
[2025-02-08 22:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:29:04] Production.INFO: ==19769== Lock acquired, processing the job...
[2025-02-08 22:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:29:04] Production.INFO: ==19773== Lock acquired, processing the job...
[2025-02-08 22:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:29:04] Production.ERROR: done
[2025-02-08 22:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:29:04] Production.INFO: Account Balance Start.
[2025-02-08 22:29:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:29:04] Production.INFO: 117
[2025-02-08 22:29:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:29:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:29:04] Production.INFO: Total Charge 0
[2025-02-08 22:29:05] Production.ERROR: done
[2025-02-08 22:29:05] Production.INFO: CreateAllLog End
[2025-02-08 22:29:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:29:05] Production.INFO: count ==21
[2025-02-08 22:29:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:29:05] Production.INFO: count ==21
[2025-02-08 22:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432775') start
[2025-02-08 22:29:05] Production.INFO: ==19765== Releasing lock...
[2025-02-08 22:29:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:29:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:29:05] Production.INFO: Account Balance End.
[2025-02-08 22:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432775') end
[2025-02-08 22:29:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:29:05] Production.INFO: 1
[2025-02-08 22:29:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:29:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:29:05] Production.INFO: ==19769== Releasing lock...
[2025-02-08 22:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:29:05] Production.INFO: ==19773== Releasing lock...
[2025-02-08 22:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:29:06
[end_date_ymd] => 2025-02-08 22:29:06
[RateCDR] => 1
)
[2025-02-08 22:29: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-02-08 19:29:06' and `end` < '2025-02-08 22:29: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-02-08 22:29:12] Production.ERROR: CronJobId end10
[2025-02-08 22:29:12] Production.INFO: ==19767== Releasing lock...
[2025-02-08 22:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:29:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:29:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:29:14] Production.INFO: call_cost start
[2025-02-08 22:29:14] Production.INFO: call_cost end
[2025-02-08 22:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:29:15] Production.INFO: ==19763== Releasing lock...
[2025-02-08 22:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:29:20] Production.INFO: count ==1821
[2025-02-08 22:29:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:29:06 - End Time 2025-02-08 22:29:06
[2025-02-08 22:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432776', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432776', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432776', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432776', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:29:20] Production.INFO: ProcessCDR(1,14432776,1,1,2)
[2025-02-08 22:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432776', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432776', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:29:23] Production.INFO: ==19771== Releasing lock...
[2025-02-08 22:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:29:23] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:30:01] Production.INFO: ==19828== Lock acquired, processing the job...
[2025-02-09 03:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:30:01] Production.INFO: neon service started
[2025-02-09 03:30:01] Production.INFO: neon service started
[2025-02-09 03:30:01] Production.INFO: ==19828== Releasing lock...
[2025-02-09 03:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:30:02] Production.INFO: ==19830== Lock acquired, processing the job...
[2025-02-08 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:30:02] Production.INFO: ==19830== Releasing lock...
[2025-02-08 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:30:02] Production.INFO: ==19832== Lock acquired, processing the job...
[2025-02-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:30:02] Production.INFO: ==19832== Releasing lock...
[2025-02-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:30:03] Production.INFO: ==19840== Lock acquired, processing the job...
[2025-02-08 22:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:30:03] Production.INFO: ==19850== Lock acquired, processing the job...
[2025-02-08 22:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:30:03] Production.INFO: ==19845== Lock acquired, processing the job...
[2025-02-08 22:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:30:04] Production.INFO: ==19834== Lock acquired, processing the job...
[2025-02-08 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 22:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 22:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 22:30:04] Production.ERROR: CronJob PID - 19840
[2025-02-08 22:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-08 22:30:04] Production.ERROR: CronJob ID - 10
[2025-02-08 22:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 22:30:00
[2025-02-08 22:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 22:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 22:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 22:30:04] Production.ERROR: CronJob PID - 19845
[2025-02-08 22:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-08 22:30:04] Production.ERROR: CronJob ID - 16
[2025-02-08 22:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 22:30:00
[2025-02-08 22:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 22:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 22:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 22:30:04] Production.ERROR: CronJob PID - 19850
[2025-02-08 22:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-08 22:30:04] Production.ERROR: CronJob ID - 19
[2025-02-08 22:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 22:30:00
[2025-02-08 22:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 22:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:30:04] Production.INFO: ==19836== Lock acquired, processing the job...
[2025-02-08 22:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:30:04] Production.INFO: count ==21
[2025-02-08 22:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:30:04] Production.INFO: count ==21
[2025-02-08 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432777') start
[2025-02-08 22:30:04] Production.INFO: ==19838== Lock acquired, processing the job...
[2025-02-08 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:30:04] Production.INFO: ==19843== Lock acquired, processing the job...
[2025-02-08 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 22:30:04] Production.INFO: ==19834== Releasing lock...
[2025-02-08 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 22:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432777') end
[2025-02-08 22:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:30:04] Production.INFO: 1
[2025-02-08 22:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:30:04] Production.INFO: ==19848== Lock acquired, processing the job...
[2025-02-08 22:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 22:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:30:04] Production.ERROR: done
[2025-02-08 22:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:30:04] Production.INFO: ==19850== Releasing lock...
[2025-02-08 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:30:04] Production.INFO: Account Balance Start.
[2025-02-08 22:30:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:30:04] Production.INFO: 117
[2025-02-08 22:30:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:30:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:30:04] Production.INFO: Total Charge 0
[2025-02-08 22:30:04] Production.INFO: CreateAllLog End
[2025-02-08 22:30:04] Production.INFO: ==19838== Releasing lock...
[2025-02-08 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:30:04] Production.ERROR: done
[2025-02-08 22:30:05] Production.INFO: Account Balance End.
[2025-02-08 22:30:05] Production.ERROR: done
[2025-02-08 22:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 22:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432782', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 22:30:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:30:05] Production.INFO: ==19843== Releasing lock...
[2025-02-08 22:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:30:06
[end_date_ymd] => 2025-02-08 22:30:06
[RateCDR] => 1
)
[2025-02-08 22:30: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-02-08 19:30:06' and `end` < '2025-02-08 22:30: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-02-08 22:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432782', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 22:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 22:30:09] Production.INFO: ProcessCDR(1,14432782,1,1,2)
[2025-02-08 22:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:30:09] Production.INFO: ==19848== Releasing lock...
[2025-02-08 22:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 22:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 22:30:14] Production.ERROR: CronJobId end10
[2025-02-08 22:30:14] Production.INFO: ==19840== Releasing lock...
[2025-02-08 22:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:30:16] Production.INFO: call_cost start
[2025-02-08 22:30:16] Production.INFO: call_cost end
[2025-02-08 22:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:30:17] Production.INFO: ==19836== Releasing lock...
[2025-02-08 22:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:30:19] Production.INFO: count ==1821
[2025-02-08 22:30:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:30:06 - End Time 2025-02-08 22:30:06
[2025-02-08 22:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432781', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432781', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432781', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432781', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:30:19] Production.INFO: ProcessCDR(1,14432781,1,1,2)
[2025-02-08 22:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432781', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432781', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:30:23] Production.INFO: ==19845== Releasing lock...
[2025-02-08 22:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:30:23] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:31:02] Production.INFO: ==19910== Lock acquired, processing the job...
[2025-02-09 03:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:31:02] Production.INFO: neon service started
[2025-02-09 03:31:02] Production.INFO: neon service started
[2025-02-09 03:31:02] Production.INFO: ==19910== Releasing lock...
[2025-02-09 03:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:31:02] Production.INFO: ==19912== Lock acquired, processing the job...
[2025-02-08 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:31:03] Production.INFO: ==19914== Lock acquired, processing the job...
[2025-02-09 03:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:31:03] Production.INFO: ==19914== Releasing lock...
[2025-02-09 03:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:31:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:31:03] Production.INFO: ==19912== Releasing lock...
[2025-02-08 22:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:31:04] Production.INFO: ==19921== Lock acquired, processing the job...
[2025-02-08 22:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:31:04] Production.INFO: ==19925== Lock acquired, processing the job...
[2025-02-08 22:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:31:04] Production.INFO: ==19917== Lock acquired, processing the job...
[2025-02-08 22:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:31:04] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-02-08 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:31:04] Production.INFO: ==19927== Lock acquired, processing the job...
[2025-02-08 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:31:04] Production.INFO: ==19923== Lock acquired, processing the job...
[2025-02-08 22:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:31:04] Production.INFO: count ==21
[2025-02-08 22:31:04] Production.INFO: Account Balance Start.
[2025-02-08 22:31:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:31:04] Production.INFO: 117
[2025-02-08 22:31:04] Production.ERROR: done
[2025-02-08 22:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:31:04] Production.INFO: count ==21
[2025-02-08 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432783') start
[2025-02-08 22:31:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:31:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:31:04] Production.INFO: Total Charge 0
[2025-02-08 22:31:04] Production.INFO: CreateAllLog End
[2025-02-08 22:31:04] Production.ERROR: done
[2025-02-08 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432783') end
[2025-02-08 22:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:31:04] Production.INFO: 1
[2025-02-08 22:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:31:04] Production.INFO: ==19927== Releasing lock...
[2025-02-08 22:31:04] Production.INFO: ==19919== Releasing lock...
[2025-02-08 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:31:05] Production.INFO: Account Balance End.
[2025-02-08 22:31:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:31:05] Production.INFO: ==19923== Releasing lock...
[2025-02-08 22:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:31:05
[end_date_ymd] => 2025-02-08 22:31:05
[RateCDR] => 1
)
[2025-02-08 22:31: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` >= '2025-02-08 19:31:05' and `end` < '2025-02-08 22:31: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 ,'')
[2025-02-08 22:31:11] Production.ERROR: CronJobId end10
[2025-02-08 22:31:11] Production.INFO: ==19921== Releasing lock...
[2025-02-08 22:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:31:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:31:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:31:14] Production.INFO: call_cost start
[2025-02-08 22:31:14] Production.INFO: call_cost end
[2025-02-08 22:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:31:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:31:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:31:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:31:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:31:15] Production.INFO: ==19917== Releasing lock...
[2025-02-08 22:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:31:18] Production.INFO: count ==1806
[2025-02-08 22:31:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:31:05 - End Time 2025-02-08 22:31:05
[2025-02-08 22:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432787', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432787', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432787', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432787', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:31:19] Production.INFO: ProcessCDR(1,14432787,1,1,2)
[2025-02-08 22:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432787', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432787', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:31:22] Production.INFO: ==19925== Releasing lock...
[2025-02-08 22:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:31:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:32:01] Production.INFO: ==20022== Lock acquired, processing the job...
[2025-02-09 03:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:32:01] Production.INFO: neon service started
[2025-02-09 03:32:01] Production.INFO: neon service started
[2025-02-09 03:32:01] Production.INFO: ==20022== Releasing lock...
[2025-02-09 03:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:32:02] Production.INFO: ==20027== Lock acquired, processing the job...
[2025-02-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:32:02] Production.INFO: ==20027== Releasing lock...
[2025-02-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:32:02] Production.INFO: ==20025== Lock acquired, processing the job...
[2025-02-08 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:32:02] Production.INFO: ==20025== Releasing lock...
[2025-02-08 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:32:03] Production.INFO: ==20031== Lock acquired, processing the job...
[2025-02-08 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:32:03] Production.INFO: ==20035== Lock acquired, processing the job...
[2025-02-08 22:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:32:03] Production.INFO: ==20037== Lock acquired, processing the job...
[2025-02-08 22:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:32:03] Production.INFO: Account Balance Start.
[2025-02-08 22:32:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:32:03] Production.INFO: 117
[2025-02-08 22:32:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:32:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:32:03] Production.INFO: Total Charge 0
[2025-02-08 22:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:32:03] Production.INFO: CreateAllLog End
[2025-02-08 22:32:03] Production.INFO: ==20029== Lock acquired, processing the job...
[2025-02-08 22:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:32:03] Production.INFO: ==20031== Releasing lock...
[2025-02-08 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:32:03] Production.INFO: ==20033== Lock acquired, processing the job...
[2025-02-08 22:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:32:03] Production.INFO: ==20039== Lock acquired, processing the job...
[2025-02-08 22:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:32:03] Production.INFO: Account Balance End.
[2025-02-08 22:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:32:03] Production.ERROR: CronJobId end 12
[2025-02-08 22:32:03] Production.INFO: ==20035== Releasing lock...
[2025-02-08 22:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:32:03] Production.ERROR: done
[2025-02-08 22:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:32:04] Production.INFO: count ==21
[2025-02-08 22:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:32:04] Production.ERROR: done
[2025-02-08 22:32:04] Production.INFO: count ==21
[2025-02-08 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432790') start
[2025-02-08 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432790') end
[2025-02-08 22:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:32:04] Production.INFO: 1
[2025-02-08 22:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:32:04] Production.INFO: ==20039== Releasing lock...
[2025-02-08 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:32:05
[end_date_ymd] => 2025-02-08 22:32:05
[RateCDR] => 1
)
[2025-02-08 22:32: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` >= '2025-02-08 19:32:05' and `end` < '2025-02-08 22:32: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 ,'')
[2025-02-08 22:32:12] Production.ERROR: CronJobId end10
[2025-02-08 22:32:12] Production.INFO: ==20033== Releasing lock...
[2025-02-08 22:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:32:14] Production.INFO: call_cost start
[2025-02-08 22:32:14] Production.INFO: call_cost end
[2025-02-08 22:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:32:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:32:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:32:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:32:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:32:15] Production.INFO: ==20029== Releasing lock...
[2025-02-08 22:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:32:18] Production.INFO: count ==1806
[2025-02-08 22:32:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:32:05 - End Time 2025-02-08 22:32:05
[2025-02-08 22:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432792', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432792', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432792', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432792', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:32:19] Production.INFO: ProcessCDR(1,14432792,1,1,2)
[2025-02-08 22:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432792', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432792', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:32:22] Production.INFO: ==20037== Releasing lock...
[2025-02-08 22:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:32:22] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:33:02] Production.INFO: ==20096== Lock acquired, processing the job...
[2025-02-09 03:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:33:02] Production.INFO: neon service started
[2025-02-09 03:33:02] Production.INFO: neon service started
[2025-02-09 03:33:02] Production.INFO: ==20096== Releasing lock...
[2025-02-09 03:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:33:02] Production.INFO: ==20098== Lock acquired, processing the job...
[2025-02-08 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:33:02] Production.INFO: ==20100== Lock acquired, processing the job...
[2025-02-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:33:02] Production.INFO: ==20100== Releasing lock...
[2025-02-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:33:03] Production.INFO: ==20098== Releasing lock...
[2025-02-08 22:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:33:03] Production.INFO: ==20103== Lock acquired, processing the job...
[2025-02-08 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:33:04] Production.INFO: ==20107== Lock acquired, processing the job...
[2025-02-08 22:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:33:04] Production.INFO: ==20109== Lock acquired, processing the job...
[2025-02-08 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:33:04] Production.INFO: Account Balance Start.
[2025-02-08 22:33:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:33:04] Production.INFO: 117
[2025-02-08 22:33:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:33:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:33:04] Production.INFO: Total Charge 0
[2025-02-08 22:33:04] Production.INFO: ==20105== Lock acquired, processing the job...
[2025-02-08 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:33:04] Production.INFO: CreateAllLog End
[2025-02-08 22:33:04] Production.INFO: Account Balance End.
[2025-02-08 22:33:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:33:04] Production.INFO: ==20109== Releasing lock...
[2025-02-08 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:33:04] Production.INFO: ==20114== Lock acquired, processing the job...
[2025-02-08 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:33:04] Production.INFO: ==20111== Lock acquired, processing the job...
[2025-02-08 22:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:33:04] Production.INFO: count ==21
[2025-02-08 22:33:04] Production.INFO: ==20105== Releasing lock...
[2025-02-08 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:33:04] Production.INFO: count ==21
[2025-02-08 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432796') start
[2025-02-08 22:33:04] Production.ERROR: done
[2025-02-08 22:33:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:33:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432796') end
[2025-02-08 22:33:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:33:05] Production.INFO: 1
[2025-02-08 22:33:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:33:05] Production.ERROR: done
[2025-02-08 22:33:05] Production.INFO: ==20114== Releasing lock...
[2025-02-08 22:33:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:33:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:33:05
[end_date_ymd] => 2025-02-08 22:33:05
[RateCDR] => 1
)
[2025-02-08 22:33: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` >= '2025-02-08 19:33:05' and `end` < '2025-02-08 22:33: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 ,'')
[2025-02-08 22:33:13] Production.ERROR: CronJobId end10
[2025-02-08 22:33:13] Production.INFO: ==20107== Releasing lock...
[2025-02-08 22:33:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:33:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:33:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:33:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:33:15] Production.INFO: call_cost start
[2025-02-08 22:33:15] Production.INFO: call_cost end
[2025-02-08 22:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:33:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:33:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:33:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:33:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:33:16] Production.INFO: ==20103== Releasing lock...
[2025-02-08 22:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:33:18] Production.INFO: count ==1803
[2025-02-08 22:33:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:33:05 - End Time 2025-02-08 22:33:05
[2025-02-08 22:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432797', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432797', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432797', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432797', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:33:19] Production.INFO: ProcessCDR(1,14432797,1,1,2)
[2025-02-08 22:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432797', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432797', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:33:23] Production.INFO: ==20111== Releasing lock...
[2025-02-08 22:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:33:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:34:01] Production.INFO: ==20174== Lock acquired, processing the job...
[2025-02-09 03:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:34:01] Production.INFO: neon service started
[2025-02-09 03:34:01] Production.INFO: neon service started
[2025-02-09 03:34:01] Production.INFO: ==20174== Releasing lock...
[2025-02-09 03:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:34:01] Production.INFO: ==20178== Lock acquired, processing the job...
[2025-02-09 03:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:34:02] Production.INFO: ==20178== Releasing lock...
[2025-02-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:34:02] Production.INFO: ==20176== Lock acquired, processing the job...
[2025-02-08 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:34:02] Production.INFO: ==20176== Releasing lock...
[2025-02-08 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:34:03] Production.INFO: ==20182== Lock acquired, processing the job...
[2025-02-08 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:34:03] Production.INFO: ==20184== Lock acquired, processing the job...
[2025-02-08 22:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:34:03] Production.INFO: ==20188== Lock acquired, processing the job...
[2025-02-08 22:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:34:03] Production.INFO: ==20180== Lock acquired, processing the job...
[2025-02-08 22:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:34:03] Production.INFO: ==20182== Releasing lock...
[2025-02-08 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:34:03] Production.INFO: ==20186== Lock acquired, processing the job...
[2025-02-08 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:34:03] Production.INFO: ==20190== Lock acquired, processing the job...
[2025-02-08 22:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:34:03] Production.ERROR: done
[2025-02-08 22:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:34:03] Production.INFO: Account Balance Start.
[2025-02-08 22:34:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:34:03] Production.INFO: 117
[2025-02-08 22:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:34:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:34:03] Production.INFO: count ==21
[2025-02-08 22:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:34:03] Production.INFO: count ==21
[2025-02-08 22:34:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432800') start
[2025-02-08 22:34:03] Production.INFO: Total Charge 0
[2025-02-08 22:34:03] Production.INFO: CreateAllLog End
[2025-02-08 22:34:03] Production.ERROR: done
[2025-02-08 22:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432800') end
[2025-02-08 22:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:34:03] Production.INFO: 1
[2025-02-08 22:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:34:03] Production.INFO: ==20190== Releasing lock...
[2025-02-08 22:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:34:03] Production.INFO: Account Balance End.
[2025-02-08 22:34:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:34:04] Production.INFO: ==20186== Releasing lock...
[2025-02-08 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:34:04
[end_date_ymd] => 2025-02-08 22:34:04
[RateCDR] => 1
)
[2025-02-08 22:34:04] 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-02-08 19:34:04' and `end` < '2025-02-08 22:34:04'
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-02-08 22:34:10] Production.ERROR: CronJobId end10
[2025-02-08 22:34:10] Production.INFO: ==20184== Releasing lock...
[2025-02-08 22:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:34:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:34:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:34:13] Production.INFO: call_cost start
[2025-02-08 22:34:13] Production.INFO: call_cost end
[2025-02-08 22:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:34:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:34:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:34:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:34:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:34:14] Production.INFO: ==20180== Releasing lock...
[2025-02-08 22:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:34:18] Production.INFO: count ==1789
[2025-02-08 22:34:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:34:04 - End Time 2025-02-08 22:34:04
[2025-02-08 22:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432802', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432802', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432802', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432802', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:34:18] Production.INFO: ProcessCDR(1,14432802,1,1,2)
[2025-02-08 22:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432802', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432802', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:34:21] Production.INFO: ==20188== Releasing lock...
[2025-02-08 22:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:34:21] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:35:02] Production.INFO: ==20252== Lock acquired, processing the job...
[2025-02-09 03:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:35:02] Production.INFO: neon service started
[2025-02-09 03:35:02] Production.INFO: neon service started
[2025-02-09 03:35:02] Production.INFO: ==20252== Releasing lock...
[2025-02-09 03:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:35:02] Production.INFO: ==20256== Lock acquired, processing the job...
[2025-02-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:35:02] Production.INFO: ==20256== Releasing lock...
[2025-02-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:35:02] Production.INFO: ==20254== Lock acquired, processing the job...
[2025-02-08 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:35:03] Production.INFO: ==20254== Releasing lock...
[2025-02-08 22:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:35:03] Production.INFO: ==20259== Lock acquired, processing the job...
[2025-02-08 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:35:03] Production.INFO: ==20261== Lock acquired, processing the job...
[2025-02-08 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:35:04] Production.INFO: ==20263== Lock acquired, processing the job...
[2025-02-08 22:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:35:04] Production.INFO: ==20265== Lock acquired, processing the job...
[2025-02-08 22:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:35:04] Production.INFO: ==20268== Lock acquired, processing the job...
[2025-02-08 22:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:35:04] Production.INFO: ==20271== Lock acquired, processing the job...
[2025-02-08 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:35:04] Production.INFO: Account Balance Start.
[2025-02-08 22:35:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:35:04] Production.INFO: 117
[2025-02-08 22:35:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:35:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:35:04] Production.INFO: Total Charge 0
[2025-02-08 22:35:04] Production.INFO: CreateAllLog End
[2025-02-08 22:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:35:04] Production.INFO: ==20261== Releasing lock...
[2025-02-08 22:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:35:04] Production.INFO: count ==21
[2025-02-08 22:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:35:04] Production.INFO: count ==21
[2025-02-08 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432806') start
[2025-02-08 22:35:04] Production.ERROR: done
[2025-02-08 22:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432806') end
[2025-02-08 22:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:35:04] Production.INFO: 1
[2025-02-08 22:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:35:04] Production.INFO: ==20271== Releasing lock...
[2025-02-08 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:35:04] Production.INFO: Account Balance End.
[2025-02-08 22:35:04] Production.ERROR: done
[2025-02-08 22:35:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:35:04] Production.INFO: ==20265== Releasing lock...
[2025-02-08 22:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:35:05
[end_date_ymd] => 2025-02-08 22:35:05
[RateCDR] => 1
)
[2025-02-08 22:35: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` >= '2025-02-08 19:35:05' and `end` < '2025-02-08 22:35: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 ,'')
[2025-02-08 22:35:13] Production.ERROR: CronJobId end10
[2025-02-08 22:35:13] Production.INFO: ==20263== Releasing lock...
[2025-02-08 22:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:35:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:35:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:35:15] Production.INFO: call_cost start
[2025-02-08 22:35:15] Production.INFO: call_cost end
[2025-02-08 22:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:35:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:35:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:35:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:35:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:35:16] Production.INFO: ==20259== Releasing lock...
[2025-02-08 22:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:35:18] Production.INFO: count ==1796
[2025-02-08 22:35:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:35:05 - End Time 2025-02-08 22:35:05
[2025-02-08 22:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432807', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432807', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432807', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432807', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:35:19] Production.INFO: ProcessCDR(1,14432807,1,1,2)
[2025-02-08 22:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432807', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432807', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:35:23] Production.INFO: ==20268== Releasing lock...
[2025-02-08 22:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:35:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:36:01] Production.INFO: ==20330== Lock acquired, processing the job...
[2025-02-09 03:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:36:01] Production.INFO: neon service started
[2025-02-09 03:36:01] Production.INFO: neon service started
[2025-02-09 03:36:01] Production.INFO: ==20330== Releasing lock...
[2025-02-09 03:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:36:01] Production.INFO: ==20332== Lock acquired, processing the job...
[2025-02-08 22:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:36:02] Production.INFO: ==20332== Releasing lock...
[2025-02-08 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:36:02] Production.INFO: ==20334== Lock acquired, processing the job...
[2025-02-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:36:02] Production.INFO: ==20334== Releasing lock...
[2025-02-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:36:03] Production.INFO: ==20341== Lock acquired, processing the job...
[2025-02-08 22:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:36:03] Production.INFO: ==20347== Lock acquired, processing the job...
[2025-02-08 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:36:03] Production.INFO: ==20337== Lock acquired, processing the job...
[2025-02-08 22:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:36:03] Production.INFO: ==20339== Lock acquired, processing the job...
[2025-02-08 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:36:03] Production.INFO: ==20343== Lock acquired, processing the job...
[2025-02-08 22:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:36:03] Production.INFO: count ==21
[2025-02-08 22:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:36:03] Production.INFO: ==20345== Lock acquired, processing the job...
[2025-02-08 22:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:36:03] Production.INFO: count ==21
[2025-02-08 22:36:03] Production.INFO: Account Balance Start.
[2025-02-08 22:36:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:36:03] Production.INFO: 117
[2025-02-08 22:36:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:36:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432808') start
[2025-02-08 22:36:03] Production.INFO: Total Charge 0
[2025-02-08 22:36:03] Production.INFO: CreateAllLog End
[2025-02-08 22:36:03] Production.INFO: ==20339== Releasing lock...
[2025-02-08 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432808') end
[2025-02-08 22:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:36:03] Production.INFO: 1
[2025-02-08 22:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:36:03] Production.INFO: ==20347== Releasing lock...
[2025-02-08 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:36:03] Production.INFO: Account Balance End.
[2025-02-08 22:36:04] Production.ERROR: done
[2025-02-08 22:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:36:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:36:04] Production.INFO: ==20343== Releasing lock...
[2025-02-08 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:36:04] Production.ERROR: done
[2025-02-08 22:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:36:05
[end_date_ymd] => 2025-02-08 22:36:05
[RateCDR] => 1
)
[2025-02-08 22:36: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` >= '2025-02-08 19:36:05' and `end` < '2025-02-08 22:36: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 ,'')
[2025-02-08 22:36:11] Production.ERROR: CronJobId end10
[2025-02-08 22:36:11] Production.INFO: ==20341== Releasing lock...
[2025-02-08 22:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:36:14] Production.INFO: call_cost start
[2025-02-08 22:36:14] Production.INFO: call_cost end
[2025-02-08 22:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:36:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:36:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:36:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:36:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:36:14] Production.INFO: ==20337== Releasing lock...
[2025-02-08 22:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:36:18] Production.INFO: count ==1796
[2025-02-08 22:36:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:36:05 - End Time 2025-02-08 22:36:05
[2025-02-08 22:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432812', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432812', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432812', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432812', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:36:18] Production.INFO: ProcessCDR(1,14432812,1,1,2)
[2025-02-08 22:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432812', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432812', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:36:23] Production.INFO: ==20345== Releasing lock...
[2025-02-08 22:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:36:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:37:02] Production.INFO: ==20408== Lock acquired, processing the job...
[2025-02-09 03:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:37:02] Production.INFO: neon service started
[2025-02-09 03:37:02] Production.INFO: neon service started
[2025-02-09 03:37:02] Production.INFO: ==20408== Releasing lock...
[2025-02-09 03:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:37:02] Production.INFO: ==20410== Lock acquired, processing the job...
[2025-02-08 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:37:02] Production.INFO: ==20410== Releasing lock...
[2025-02-08 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:37:02] Production.INFO: ==20412== Lock acquired, processing the job...
[2025-02-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:37:02] Production.INFO: ==20412== Releasing lock...
[2025-02-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:37:03] Production.INFO: ==20416== Lock acquired, processing the job...
[2025-02-08 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:37:03] Production.INFO: ==20414== Lock acquired, processing the job...
[2025-02-08 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:37:03] Production.INFO: ==20424== Lock acquired, processing the job...
[2025-02-08 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:37:03] Production.INFO: ==20418== Lock acquired, processing the job...
[2025-02-08 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:37:03] Production.INFO: ==20420== Lock acquired, processing the job...
[2025-02-08 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:37:03] Production.INFO: Account Balance Start.
[2025-02-08 22:37:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:37:03] Production.INFO: count ==21
[2025-02-08 22:37:03] Production.INFO: ==20422== Lock acquired, processing the job...
[2025-02-08 22:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:37:03] Production.INFO: 117
[2025-02-08 22:37:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:37:03] Production.INFO: count ==21
[2025-02-08 22:37:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432814') start
[2025-02-08 22:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432814') end
[2025-02-08 22:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:37:04] Production.INFO: 1
[2025-02-08 22:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:37:04] Production.INFO: ==20424== Releasing lock...
[2025-02-08 22:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:37:04] Production.INFO: Total Charge 0
[2025-02-08 22:37:04] Production.INFO: ==20416== Releasing lock...
[2025-02-08 22:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:37:04] Production.INFO: CreateAllLog End
[2025-02-08 22:37:04] Production.ERROR: done
[2025-02-08 22:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:37:04] Production.ERROR: done
[2025-02-08 22:37:04] Production.INFO: Account Balance End.
[2025-02-08 22:37:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:37:04] Production.INFO: ==20420== Releasing lock...
[2025-02-08 22:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:37:05
[end_date_ymd] => 2025-02-08 22:37:05
[RateCDR] => 1
)
[2025-02-08 22:37: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` >= '2025-02-08 19:37:05' and `end` < '2025-02-08 22:37: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 ,'')
[2025-02-08 22:37:12] Production.ERROR: CronJobId end10
[2025-02-08 22:37:12] Production.INFO: ==20418== Releasing lock...
[2025-02-08 22:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:37:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:37:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:37:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:37:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:37:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:37:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:37:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:37:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:37:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:37:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:37:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:37:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:37:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:37:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:37:15] Production.INFO: call_cost start
[2025-02-08 22:37:15] Production.INFO: call_cost end
[2025-02-08 22:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:37:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:37:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:37:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:37:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:37:16] Production.INFO: ==20414== Releasing lock...
[2025-02-08 22:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:37:19] Production.INFO: count ==1800
[2025-02-08 22:37:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:37:05 - End Time 2025-02-08 22:37:05
[2025-02-08 22:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432817', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432817', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432817', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432817', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:37:19] Production.INFO: ProcessCDR(1,14432817,1,1,2)
[2025-02-08 22:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432817', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432817', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:37:24] Production.INFO: ==20422== Releasing lock...
[2025-02-08 22:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:37:24] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:38:01] Production.INFO: ==20487== Lock acquired, processing the job...
[2025-02-09 03:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:38:01] Production.INFO: neon service started
[2025-02-09 03:38:01] Production.INFO: neon service started
[2025-02-09 03:38:01] Production.INFO: ==20487== Releasing lock...
[2025-02-09 03:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:38:01] Production.INFO: ==20489== Lock acquired, processing the job...
[2025-02-08 22:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:38:02] Production.INFO: ==20489== Releasing lock...
[2025-02-08 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:38:02] Production.INFO: ==20491== Lock acquired, processing the job...
[2025-02-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:38:02] Production.INFO: ==20491== Releasing lock...
[2025-02-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:38:02] Production.INFO: ==20495== Lock acquired, processing the job...
[2025-02-08 22:38:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:38:03] Production.INFO: ==20497== Lock acquired, processing the job...
[2025-02-08 22:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:38:03] Production.INFO: ==20501== Lock acquired, processing the job...
[2025-02-08 22:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:38:03] Production.INFO: ==20495== Releasing lock...
[2025-02-08 22:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:38:03] Production.INFO: ==20493== Lock acquired, processing the job...
[2025-02-08 22:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:38:03] Production.INFO: ==20499== Lock acquired, processing the job...
[2025-02-08 22:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:38:03] Production.INFO: ==20503== Lock acquired, processing the job...
[2025-02-08 22:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:38:03] Production.INFO: Account Balance Start.
[2025-02-08 22:38:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:38:03] Production.INFO: 117
[2025-02-08 22:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:38:03] Production.ERROR: done
[2025-02-08 22:38:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:38:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:38:03] Production.INFO: count ==21
[2025-02-08 22:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:38:03] Production.INFO: count ==21
[2025-02-08 22:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432820') start
[2025-02-08 22:38:03] Production.ERROR: done
[2025-02-08 22:38:03] Production.INFO: Total Charge 0
[2025-02-08 22:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432820') end
[2025-02-08 22:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:38:03] Production.INFO: 1
[2025-02-08 22:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:38:03] Production.INFO: CreateAllLog End
[2025-02-08 22:38:03] Production.INFO: ==20503== Releasing lock...
[2025-02-08 22:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:38:04] Production.INFO: Account Balance End.
[2025-02-08 22:38:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:38:04] Production.INFO: ==20499== Releasing lock...
[2025-02-08 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:38:04
[end_date_ymd] => 2025-02-08 22:38:04
[RateCDR] => 1
)
[2025-02-08 22:38:04] 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-02-08 19:38:04' and `end` < '2025-02-08 22:38:04'
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-02-08 22:38:11] Production.ERROR: CronJobId end10
[2025-02-08 22:38:11] Production.INFO: ==20497== Releasing lock...
[2025-02-08 22:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:38:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:38:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:38:13] Production.INFO: call_cost start
[2025-02-08 22:38:13] Production.INFO: call_cost end
[2025-02-08 22:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:38:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:38:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:38:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:38:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:38:14] Production.INFO: ==20493== Releasing lock...
[2025-02-08 22:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:38:18] Production.INFO: count ==1803
[2025-02-08 22:38:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:38:04 - End Time 2025-02-08 22:38:04
[2025-02-08 22:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432822', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432822', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432822', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432822', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:38:18] Production.INFO: ProcessCDR(1,14432822,1,1,2)
[2025-02-08 22:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432822', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432822', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:38:22] Production.INFO: ==20501== Releasing lock...
[2025-02-08 22:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:38:22] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:39:01] Production.INFO: ==20564== Lock acquired, processing the job...
[2025-02-09 03:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:39:01] Production.INFO: neon service started
[2025-02-09 03:39:01] Production.INFO: neon service started
[2025-02-09 03:39:01] Production.INFO: ==20564== Releasing lock...
[2025-02-09 03:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:39:02] Production.INFO: ==20568== Lock acquired, processing the job...
[2025-02-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:39:02] Production.INFO: ==20568== Releasing lock...
[2025-02-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:39:02] Production.INFO: ==20566== Lock acquired, processing the job...
[2025-02-08 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:39:02] Production.INFO: ==20566== Releasing lock...
[2025-02-08 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:39:03] Production.INFO: ==20575== Lock acquired, processing the job...
[2025-02-08 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:39:03] Production.INFO: ==20573== Lock acquired, processing the job...
[2025-02-08 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:39:03] Production.INFO: ==20577== Lock acquired, processing the job...
[2025-02-08 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:39:03] Production.INFO: Account Balance Start.
[2025-02-08 22:39:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:39:03] Production.INFO: 117
[2025-02-08 22:39:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:39:03] Production.INFO: ==20571== Lock acquired, processing the job...
[2025-02-08 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:39:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:39:03] Production.INFO: ==20573== Releasing lock...
[2025-02-08 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:39:03] Production.INFO: Total Charge 0
[2025-02-08 22:39:03] Production.INFO: CreateAllLog End
[2025-02-08 22:39:03] Production.INFO: ==20581== Lock acquired, processing the job...
[2025-02-08 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:39:03] Production.INFO: ==20579== Lock acquired, processing the job...
[2025-02-08 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:39:03] Production.INFO: Account Balance End.
[2025-02-08 22:39:03] Production.ERROR: CronJobId end 12
[2025-02-08 22:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:39:03] Production.INFO: ==20577== Releasing lock...
[2025-02-08 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:39:03] Production.INFO: count ==21
[2025-02-08 22:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:39:04] Production.INFO: count ==21
[2025-02-08 22:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432825') start
[2025-02-08 22:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432825') end
[2025-02-08 22:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:39:04] Production.INFO: 1
[2025-02-08 22:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:39:04] Production.ERROR: done
[2025-02-08 22:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:39:04] Production.INFO: ==20581== Releasing lock...
[2025-02-08 22:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:39:04] Production.ERROR: done
[2025-02-08 22:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:39:05
[end_date_ymd] => 2025-02-08 22:39:05
[RateCDR] => 1
)
[2025-02-08 22:39: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` >= '2025-02-08 19:39:05' and `end` < '2025-02-08 22:39: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 ,'')
[2025-02-08 22:39:11] Production.ERROR: CronJobId end10
[2025-02-08 22:39:11] Production.INFO: ==20575== Releasing lock...
[2025-02-08 22:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:39:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:39:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:39:14] Production.INFO: call_cost start
[2025-02-08 22:39:14] Production.INFO: call_cost end
[2025-02-08 22:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:39:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:39:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:39:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:39:15] Production.INFO: ==20571== Releasing lock...
[2025-02-08 22:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:39:18] Production.INFO: count ==1803
[2025-02-08 22:39:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:39:05 - End Time 2025-02-08 22:39:05
[2025-02-08 22:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432827', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432827', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432827', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432827', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:39:19] Production.INFO: ProcessCDR(1,14432827,1,1,2)
[2025-02-08 22:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432827', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432827', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:39:22] Production.INFO: ==20579== Releasing lock...
[2025-02-08 22:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:39:22] Production.INFO: 41.75 MB #Memory Used#
[2025-02-09 03:40:02] Production.INFO: ==20643== Lock acquired, processing the job...
[2025-02-09 03:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:40:02] Production.INFO: neon service started
[2025-02-09 03:40:02] Production.INFO: neon service started
[2025-02-09 03:40:02] Production.INFO: ==20643== Releasing lock...
[2025-02-09 03:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:40:02] Production.INFO: ==20645== Lock acquired, processing the job...
[2025-02-08 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:40:03] Production.INFO: ==20645== Releasing lock...
[2025-02-08 22:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:40:03] Production.INFO: ==20647== Lock acquired, processing the job...
[2025-02-09 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:40:03] Production.INFO: ==20647== Releasing lock...
[2025-02-09 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:40:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:40:03] Production.INFO: ==20650== Lock acquired, processing the job...
[2025-02-08 22:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 22:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 22:40:04] Production.INFO: ==20652== Lock acquired, processing the job...
[2025-02-08 22:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 22:40:04] Production.INFO: ==20650== Releasing lock...
[2025-02-08 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 22:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 22:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:40:04] Production.INFO: ==20658== Lock acquired, processing the job...
[2025-02-08 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:40:04] Production.INFO: ==20662== Lock acquired, processing the job...
[2025-02-08 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 22:40:04] Production.INFO: Account Balance Start.
[2025-02-08 22:40:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:40:04] Production.INFO: 117
[2025-02-08 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:40:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:40:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:40:04] Production.INFO: Total Charge 0
[2025-02-08 22:40:04] Production.INFO: CreateAllLog End
[2025-02-08 22:40:04] Production.INFO: ==20654== Lock acquired, processing the job...
[2025-02-08 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:40:04] Production.INFO: ==20656== Lock acquired, processing the job...
[2025-02-08 22:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:40:04] Production.INFO: ==20664== Lock acquired, processing the job...
[2025-02-08 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:40:04] Production.INFO: ==20660== Lock acquired, processing the job...
[2025-02-08 22:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:40:04] Production.ERROR: done
[2025-02-08 22:40:04] Production.INFO: ==20654== Releasing lock...
[2025-02-08 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 22:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432832', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 22:40:04] Production.INFO: count ==21
[2025-02-08 22:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:40:04] Production.INFO: count ==21
[2025-02-08 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432831') start
[2025-02-08 22:40:04] Production.INFO: Account Balance End.
[2025-02-08 22:40:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:40:05] Production.INFO: ==20658== Releasing lock...
[2025-02-08 22:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:40:05] Production.ERROR: done
[2025-02-08 22:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432831') end
[2025-02-08 22:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:40:05] Production.INFO: 1
[2025-02-08 22:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:40:05] Production.INFO: ==20664== Releasing lock...
[2025-02-08 22:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:40:05] Production.ERROR: done
[2025-02-08 22:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:40:06
[end_date_ymd] => 2025-02-08 22:40:06
[RateCDR] => 1
)
[2025-02-08 22:40: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-02-08 19:40:06' and `end` < '2025-02-08 22:40: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-02-08 22:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432832', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 22:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 22:40:09] Production.INFO: ProcessCDR(1,14432832,1,1,2)
[2025-02-08 22:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432832,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432832,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:40:09] Production.INFO: ==20662== Releasing lock...
[2025-02-08 22:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 22:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 22:40:14] Production.ERROR: CronJobId end10
[2025-02-08 22:40:14] Production.INFO: ==20656== Releasing lock...
[2025-02-08 22:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:40:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:40:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:40:16] Production.INFO: call_cost start
[2025-02-08 22:40:16] Production.INFO: call_cost end
[2025-02-08 22:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:40:17] Production.INFO: ==20652== Releasing lock...
[2025-02-08 22:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:40:19] Production.INFO: count ==1805
[2025-02-08 22:40:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:40:06 - End Time 2025-02-08 22:40:06
[2025-02-08 22:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432833', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432833', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432833', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432833', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:40:19] Production.INFO: ProcessCDR(1,14432833,1,1,2)
[2025-02-08 22:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432833', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432833', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:40:23] Production.INFO: ==20660== Releasing lock...
[2025-02-08 22:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:40:23] Production.INFO: 41.5 MB #Memory Used#
[2025-02-09 03:41:01] Production.INFO: ==20723== Lock acquired, processing the job...
[2025-02-09 03:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:41:01] Production.INFO: neon service started
[2025-02-09 03:41:01] Production.INFO: neon service started
[2025-02-09 03:41:01] Production.INFO: ==20723== Releasing lock...
[2025-02-09 03:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:41:02] Production.INFO: ==20725== Lock acquired, processing the job...
[2025-02-08 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:41:02] Production.INFO: ==20727== Lock acquired, processing the job...
[2025-02-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:41:02] Production.INFO: ==20727== Releasing lock...
[2025-02-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:41:02] Production.INFO: ==20725== Releasing lock...
[2025-02-08 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:41:03] Production.INFO: ==20738== Lock acquired, processing the job...
[2025-02-08 22:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:41:03] Production.INFO: ==20736== Lock acquired, processing the job...
[2025-02-08 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:41:03] Production.INFO: ==20730== Lock acquired, processing the job...
[2025-02-08 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:41:03] Production.INFO: ==20732== Lock acquired, processing the job...
[2025-02-08 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:41:03] Production.INFO: ==20734== Lock acquired, processing the job...
[2025-02-08 22:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:41:03] Production.INFO: Account Balance Start.
[2025-02-08 22:41:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:41:03] Production.INFO: 117
[2025-02-08 22:41:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:41:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:41:04] Production.INFO: ==20740== Lock acquired, processing the job...
[2025-02-08 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:41:04] Production.ERROR: done
[2025-02-08 22:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:41:04] Production.INFO: Total Charge 0
[2025-02-08 22:41:04] Production.INFO: CreateAllLog End
[2025-02-08 22:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:41:04] Production.INFO: count ==21
[2025-02-08 22:41:04] Production.ERROR: done
[2025-02-08 22:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:41:04] Production.INFO: count ==21
[2025-02-08 22:41:04] Production.INFO: Account Balance End.
[2025-02-08 22:41:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:41:04] Production.INFO: ==20736== Releasing lock...
[2025-02-08 22:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432836') start
[2025-02-08 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432836') end
[2025-02-08 22:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:41:04] Production.INFO: 1
[2025-02-08 22:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:41:04] Production.INFO: ==20732== Releasing lock...
[2025-02-08 22:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:41:04] Production.INFO: ==20740== Releasing lock...
[2025-02-08 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:41:05
[end_date_ymd] => 2025-02-08 22:41:05
[RateCDR] => 1
)
[2025-02-08 22:41: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` >= '2025-02-08 19:41:05' and `end` < '2025-02-08 22:41: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 ,'')
[2025-02-08 22:41:12] Production.ERROR: CronJobId end10
[2025-02-08 22:41:12] Production.INFO: ==20734== Releasing lock...
[2025-02-08 22:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:41:13] Production.INFO: call_cost start
[2025-02-08 22:41:13] Production.INFO: call_cost end
[2025-02-08 22:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:41:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:41:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:41:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:41:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:41:14] Production.INFO: ==20730== Releasing lock...
[2025-02-08 22:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:41:19] Production.INFO: count ==1781
[2025-02-08 22:41:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:41:05 - End Time 2025-02-08 22:41:05
[2025-02-08 22:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432838', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432838', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432838', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432838', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:41:19] Production.INFO: ProcessCDR(1,14432838,1,1,2)
[2025-02-08 22:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432838', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432838', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:41:22] Production.INFO: ==20738== Releasing lock...
[2025-02-08 22:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:41:22] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:42:02] Production.INFO: ==20807== Lock acquired, processing the job...
[2025-02-09 03:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:42:02] Production.INFO: neon service started
[2025-02-09 03:42:02] Production.INFO: neon service started
[2025-02-09 03:42:02] Production.INFO: ==20807== Releasing lock...
[2025-02-09 03:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:42:02] Production.INFO: ==20809== Lock acquired, processing the job...
[2025-02-08 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:42:02] Production.INFO: ==20809== Releasing lock...
[2025-02-08 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:42:02] Production.INFO: ==20811== Lock acquired, processing the job...
[2025-02-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:42:03] Production.INFO: ==20811== Releasing lock...
[2025-02-09 03:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:42:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:42:03] Production.INFO: ==20815== Lock acquired, processing the job...
[2025-02-08 22:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:42:04] Production.INFO: ==20823== Lock acquired, processing the job...
[2025-02-08 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:42:04] Production.INFO: ==20813== Lock acquired, processing the job...
[2025-02-08 22:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:42:04] Production.INFO: ==20815== Releasing lock...
[2025-02-08 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:42:04] Production.INFO: ==20817== Lock acquired, processing the job...
[2025-02-08 22:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:42:04] Production.INFO: count ==21
[2025-02-08 22:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:42:04] Production.INFO: count ==21
[2025-02-08 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432840') start
[2025-02-08 22:42:04] Production.INFO: ==20819== Lock acquired, processing the job...
[2025-02-08 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432840') end
[2025-02-08 22:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:42:04] Production.INFO: 1
[2025-02-08 22:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:42:04] Production.INFO: ==20821== Lock acquired, processing the job...
[2025-02-08 22:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:42:04] Production.INFO: ==20823== Releasing lock...
[2025-02-08 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:42:04] Production.INFO: Account Balance Start.
[2025-02-08 22:42:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:42:04] Production.INFO: 117
[2025-02-08 22:42:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:42:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:42:04] Production.INFO: Total Charge 0
[2025-02-08 22:42:04] Production.INFO: CreateAllLog End
[2025-02-08 22:42:04] Production.ERROR: done
[2025-02-08 22:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:42:05] Production.ERROR: done
[2025-02-08 22:42:05] Production.INFO: Account Balance End.
[2025-02-08 22:42:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:42:05] Production.INFO: ==20819== Releasing lock...
[2025-02-08 22:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:42:06
[end_date_ymd] => 2025-02-08 22:42:06
[RateCDR] => 1
)
[2025-02-08 22:42: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-02-08 19:42:06' and `end` < '2025-02-08 22:42: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-02-08 22:42:13] Production.ERROR: CronJobId end10
[2025-02-08 22:42:13] Production.INFO: ==20817== Releasing lock...
[2025-02-08 22:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:42:14] Production.INFO: call_cost start
[2025-02-08 22:42:14] Production.INFO: call_cost end
[2025-02-08 22:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:42:15] Production.INFO: ==20813== Releasing lock...
[2025-02-08 22:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:42:19] Production.INFO: count ==1779
[2025-02-08 22:42:20] Production.ERROR: pbx CDR StartTime 2025-02-08 19:42:06 - End Time 2025-02-08 22:42:06
[2025-02-08 22:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432843', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432843', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432843', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432843', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:42:20] Production.INFO: ProcessCDR(1,14432843,1,1,2)
[2025-02-08 22:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432843', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432843', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:42:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:42:25] Production.INFO: ==20821== Releasing lock...
[2025-02-08 22:42:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:42:25] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:43:01] Production.INFO: ==20893== Lock acquired, processing the job...
[2025-02-09 03:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:43:01] Production.INFO: neon service started
[2025-02-09 03:43:01] Production.INFO: neon service started
[2025-02-09 03:43:01] Production.INFO: ==20893== Releasing lock...
[2025-02-09 03:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:43:02] Production.INFO: ==20895== Lock acquired, processing the job...
[2025-02-08 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:43:02] Production.INFO: ==20897== Lock acquired, processing the job...
[2025-02-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:43:02] Production.INFO: ==20897== Releasing lock...
[2025-02-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:43:02] Production.INFO: ==20895== Releasing lock...
[2025-02-08 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:43:03] Production.INFO: ==20900== Lock acquired, processing the job...
[2025-02-08 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:43:03] Production.INFO: ==20902== Lock acquired, processing the job...
[2025-02-08 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:43:03] Production.INFO: ==20908== Lock acquired, processing the job...
[2025-02-08 22:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:43:03] Production.INFO: ==20904== Lock acquired, processing the job...
[2025-02-08 22:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:43:03] Production.INFO: ==20902== Releasing lock...
[2025-02-08 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:43:03] Production.INFO: ==20906== Lock acquired, processing the job...
[2025-02-08 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:43:03] Production.INFO: ==20910== Lock acquired, processing the job...
[2025-02-08 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:43:03] Production.INFO: Account Balance Start.
[2025-02-08 22:43:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:43:03] Production.INFO: 117
[2025-02-08 22:43:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:43:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:43:04] Production.ERROR: done
[2025-02-08 22:43:04] Production.INFO: Total Charge 0
[2025-02-08 22:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:43:04] Production.INFO: CreateAllLog End
[2025-02-08 22:43:04] Production.INFO: count ==21
[2025-02-08 22:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:43:04] Production.INFO: count ==21
[2025-02-08 22:43:04] Production.ERROR: done
[2025-02-08 22:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432847') start
[2025-02-08 22:43:04] Production.INFO: Account Balance End.
[2025-02-08 22:43:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:43:04] Production.INFO: ==20906== Releasing lock...
[2025-02-08 22:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432847') end
[2025-02-08 22:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:43:04] Production.INFO: 1
[2025-02-08 22:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:43:04] Production.INFO: ==20910== Releasing lock...
[2025-02-08 22:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:43:05
[end_date_ymd] => 2025-02-08 22:43:05
[RateCDR] => 1
)
[2025-02-08 22:43: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` >= '2025-02-08 19:43:05' and `end` < '2025-02-08 22:43: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 ,'')
[2025-02-08 22:43:12] Production.ERROR: CronJobId end10
[2025-02-08 22:43:12] Production.INFO: ==20904== Releasing lock...
[2025-02-08 22:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:43:14] Production.INFO: call_cost start
[2025-02-08 22:43:14] Production.INFO: call_cost end
[2025-02-08 22:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:43:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:43:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:43:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:43:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:43:15] Production.INFO: ==20900== Releasing lock...
[2025-02-08 22:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:43:18] Production.INFO: count ==1779
[2025-02-08 22:43:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:43:05 - End Time 2025-02-08 22:43:05
[2025-02-08 22:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432848', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432848', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432848', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432848', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:43:18] Production.INFO: ProcessCDR(1,14432848,1,1,2)
[2025-02-08 22:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432848', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432848', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:43:23] Production.INFO: ==20908== Releasing lock...
[2025-02-08 22:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:43:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:44:02] Production.INFO: ==20967== Lock acquired, processing the job...
[2025-02-09 03:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:44:02] Production.INFO: neon service started
[2025-02-09 03:44:02] Production.INFO: neon service started
[2025-02-09 03:44:02] Production.INFO: ==20967== Releasing lock...
[2025-02-09 03:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:44:02] Production.INFO: ==20970== Lock acquired, processing the job...
[2025-02-08 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:44:02] Production.INFO: ==20970== Releasing lock...
[2025-02-08 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:44:02] Production.INFO: ==20972== Lock acquired, processing the job...
[2025-02-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:44:02] Production.INFO: ==20972== Releasing lock...
[2025-02-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:44:03] Production.INFO: ==20984== Lock acquired, processing the job...
[2025-02-08 22:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:44:03] Production.INFO: ==20982== Lock acquired, processing the job...
[2025-02-08 22:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:44:03] Production.INFO: ==20976== Lock acquired, processing the job...
[2025-02-08 22:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:44:03] Production.INFO: Account Balance Start.
[2025-02-08 22:44:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:44:03] Production.INFO: 117
[2025-02-08 22:44:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:44:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:44:04] Production.INFO: ==20978== Lock acquired, processing the job...
[2025-02-08 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:44:04] Production.INFO: ==20980== Lock acquired, processing the job...
[2025-02-08 22:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:44:04] Production.ERROR: done
[2025-02-08 22:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:44:04] Production.INFO: ==20986== Lock acquired, processing the job...
[2025-02-08 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:44:04] Production.INFO: Total Charge 0
[2025-02-08 22:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:44:04] Production.INFO: CreateAllLog End
[2025-02-08 22:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:44:04] Production.ERROR: done
[2025-02-08 22:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:44:04] Production.INFO: count ==21
[2025-02-08 22:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:44:04] Production.INFO: count ==21
[2025-02-08 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432852') start
[2025-02-08 22:44:04] Production.INFO: Account Balance End.
[2025-02-08 22:44:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:44:04] Production.INFO: ==20982== Releasing lock...
[2025-02-08 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432852') end
[2025-02-08 22:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:44:04] Production.INFO: 1
[2025-02-08 22:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:44:04] Production.INFO: ==20978== Releasing lock...
[2025-02-08 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:44:04] Production.INFO: ==20986== Releasing lock...
[2025-02-08 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:44:05
[end_date_ymd] => 2025-02-08 22:44:05
[RateCDR] => 1
)
[2025-02-08 22:44: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` >= '2025-02-08 19:44:05' and `end` < '2025-02-08 22:44: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 ,'')
[2025-02-08 22:44:12] Production.ERROR: CronJobId end10
[2025-02-08 22:44:12] Production.INFO: ==20980== Releasing lock...
[2025-02-08 22:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:44:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:44:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:44:14] Production.INFO: call_cost start
[2025-02-08 22:44:14] Production.INFO: call_cost end
[2025-02-08 22:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:44:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:44:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:44:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:44:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:44:15] Production.INFO: ==20976== Releasing lock...
[2025-02-08 22:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:44:18] Production.INFO: count ==1773
[2025-02-08 22:44:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:44:05 - End Time 2025-02-08 22:44:05
[2025-02-08 22:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432853', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432853', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432853', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432853', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:44:18] Production.INFO: ProcessCDR(1,14432853,1,1,2)
[2025-02-08 22:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432853', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432853', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:44:21] Production.INFO: ==20984== Releasing lock...
[2025-02-08 22:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:44:21] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:45:01] Production.INFO: ==21048== Lock acquired, processing the job...
[2025-02-09 03:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:45:01] Production.INFO: neon service started
[2025-02-09 03:45:01] Production.INFO: neon service started
[2025-02-09 03:45:01] Production.INFO: ==21048== Releasing lock...
[2025-02-09 03:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:45:01] Production.INFO: ==21051== Lock acquired, processing the job...
[2025-02-08 22:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:45:02] Production.INFO: ==21051== Releasing lock...
[2025-02-08 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:45:02] Production.INFO: ==21053== Lock acquired, processing the job...
[2025-02-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:45:02] Production.INFO: ==21053== Releasing lock...
[2025-02-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:45:03] Production.INFO: ==21057== Lock acquired, processing the job...
[2025-02-08 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:45:03] Production.INFO: ==21065== Lock acquired, processing the job...
[2025-02-08 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:45:03] Production.INFO: ==21055== Lock acquired, processing the job...
[2025-02-08 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:45:03] Production.INFO: count ==21
[2025-02-08 22:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:45:03] Production.INFO: count ==21
[2025-02-08 22:45:03] Production.INFO: ==21059== Lock acquired, processing the job...
[2025-02-08 22:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432855') start
[2025-02-08 22:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:45:03] Production.INFO: ==21061== Lock acquired, processing the job...
[2025-02-08 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:45:03] Production.INFO: ==21063== Lock acquired, processing the job...
[2025-02-08 22:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:45:03] Production.INFO: ==21057== Releasing lock...
[2025-02-08 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432855') end
[2025-02-08 22:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:45:03] Production.INFO: 1
[2025-02-08 22:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:45:03] Production.INFO: Account Balance Start.
[2025-02-08 22:45:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:45:03] Production.INFO: 117
[2025-02-08 22:45:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:45:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:45:03] Production.INFO: Total Charge 0
[2025-02-08 22:45:03] Production.INFO: CreateAllLog End
[2025-02-08 22:45:03] Production.INFO: ==21065== Releasing lock...
[2025-02-08 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:45:03] Production.ERROR: done
[2025-02-08 22:45:03] Production.INFO: Account Balance End.
[2025-02-08 22:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:45:03] Production.ERROR: CronJobId end 12
[2025-02-08 22:45:03] Production.INFO: ==21061== Releasing lock...
[2025-02-08 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:45:03] Production.ERROR: done
[2025-02-08 22:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:45:04
[end_date_ymd] => 2025-02-08 22:45:04
[RateCDR] => 1
)
[2025-02-08 22:45:04] 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-02-08 19:45:04' and `end` < '2025-02-08 22:45:04'
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-02-08 22:45:11] Production.ERROR: CronJobId end10
[2025-02-08 22:45:11] Production.INFO: ==21059== Releasing lock...
[2025-02-08 22:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:45:13] Production.INFO: call_cost start
[2025-02-08 22:45:13] Production.INFO: call_cost end
[2025-02-08 22:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:45:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:45:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:45:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:45:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:45:14] Production.INFO: ==21055== Releasing lock...
[2025-02-08 22:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:45:17] Production.INFO: count ==1769
[2025-02-08 22:45:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:45:04 - End Time 2025-02-08 22:45:04
[2025-02-08 22:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432858', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432858', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432858', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432858', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:45:18] Production.INFO: ProcessCDR(1,14432858,1,1,2)
[2025-02-08 22:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432858', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432858', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:45:21] Production.INFO: ==21063== Releasing lock...
[2025-02-08 22:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:45:21] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:46:02] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-02-09 03:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:46:02] Production.INFO: neon service started
[2025-02-09 03:46:02] Production.INFO: neon service started
[2025-02-09 03:46:02] Production.INFO: ==21126== Releasing lock...
[2025-02-09 03:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:46:02] Production.INFO: ==21128== Lock acquired, processing the job...
[2025-02-08 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:46:02] Production.INFO: ==21130== Lock acquired, processing the job...
[2025-02-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:46:02] Production.INFO: ==21130== Releasing lock...
[2025-02-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:46:03] Production.INFO: ==21128== Releasing lock...
[2025-02-08 22:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:46:03] Production.INFO: ==21133== Lock acquired, processing the job...
[2025-02-08 22:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:46:04] Production.INFO: ==21143== Lock acquired, processing the job...
[2025-02-08 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:46:04] Production.INFO: ==21135== Lock acquired, processing the job...
[2025-02-08 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:46:04] Production.INFO: ==21137== Lock acquired, processing the job...
[2025-02-08 22:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:46:04] Production.INFO: ==21139== Lock acquired, processing the job...
[2025-02-08 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:46:04] Production.INFO: ==21141== Lock acquired, processing the job...
[2025-02-08 22:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:46:04] Production.INFO: count ==21
[2025-02-08 22:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:46:04] Production.INFO: count ==21
[2025-02-08 22:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:46:04] Production.INFO: Account Balance Start.
[2025-02-08 22:46:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:46:04] Production.INFO: 117
[2025-02-08 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432861') start
[2025-02-08 22:46:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:46:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:46:04] Production.INFO: Total Charge 0
[2025-02-08 22:46:04] Production.INFO: CreateAllLog End
[2025-02-08 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432861') end
[2025-02-08 22:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:46:04] Production.INFO: 1
[2025-02-08 22:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:46:04] Production.INFO: ==21135== Releasing lock...
[2025-02-08 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:46:04] Production.INFO: ==21143== Releasing lock...
[2025-02-08 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:46:04] Production.ERROR: done
[2025-02-08 22:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:46:04] Production.INFO: Account Balance End.
[2025-02-08 22:46:05] Production.ERROR: done
[2025-02-08 22:46:05] Production.ERROR: CronJobId end 12
[2025-02-08 22:46:05] Production.INFO: ==21139== Releasing lock...
[2025-02-08 22:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:46:06
[end_date_ymd] => 2025-02-08 22:46:06
[RateCDR] => 1
)
[2025-02-08 22:46: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-02-08 19:46:06' and `end` < '2025-02-08 22:46: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-02-08 22:46:13] Production.ERROR: CronJobId end10
[2025-02-08 22:46:13] Production.INFO: ==21137== Releasing lock...
[2025-02-08 22:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:46:14] Production.INFO: call_cost start
[2025-02-08 22:46:14] Production.INFO: call_cost end
[2025-02-08 22:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:46:15] Production.INFO: ==21133== Releasing lock...
[2025-02-08 22:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:46:19] Production.INFO: count ==1766
[2025-02-08 22:46:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:46:06 - End Time 2025-02-08 22:46:06
[2025-02-08 22:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432863', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432863', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432863', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432863', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:46:19] Production.INFO: ProcessCDR(1,14432863,1,1,2)
[2025-02-08 22:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432863', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432863', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:46:22] Production.INFO: ==21141== Releasing lock...
[2025-02-08 22:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:46:22] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:47:01] Production.INFO: ==21214== Lock acquired, processing the job...
[2025-02-09 03:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:47:01] Production.INFO: neon service started
[2025-02-09 03:47:01] Production.INFO: neon service started
[2025-02-09 03:47:01] Production.INFO: ==21214== Releasing lock...
[2025-02-09 03:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:47:01] Production.INFO: ==21216== Lock acquired, processing the job...
[2025-02-08 22:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:47:02] Production.INFO: ==21216== Releasing lock...
[2025-02-08 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:47:02] Production.INFO: ==21218== Lock acquired, processing the job...
[2025-02-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:47:02] Production.INFO: ==21218== Releasing lock...
[2025-02-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:47:03] Production.INFO: ==21222== Lock acquired, processing the job...
[2025-02-08 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:47:03] Production.INFO: ==21230== Lock acquired, processing the job...
[2025-02-08 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:47:03] Production.INFO: ==21220== Lock acquired, processing the job...
[2025-02-08 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:47:03] Production.INFO: ==21224== Lock acquired, processing the job...
[2025-02-08 22:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:47:03] Production.INFO: count ==21
[2025-02-08 22:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:47:03] Production.INFO: count ==21
[2025-02-08 22:47:03] Production.INFO: ==21228== Lock acquired, processing the job...
[2025-02-08 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432865') start
[2025-02-08 22:47:03] Production.INFO: ==21226== Lock acquired, processing the job...
[2025-02-08 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:47:03] Production.INFO: ==21222== Releasing lock...
[2025-02-08 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432865') end
[2025-02-08 22:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:47:03] Production.INFO: 1
[2025-02-08 22:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:47:03] Production.INFO: ==21230== Releasing lock...
[2025-02-08 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:47:03] Production.INFO: Account Balance Start.
[2025-02-08 22:47:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:47:03] Production.INFO: 117
[2025-02-08 22:47:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:47:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:47:03] Production.INFO: Total Charge 0
[2025-02-08 22:47:03] Production.INFO: CreateAllLog End
[2025-02-08 22:47:03] Production.ERROR: done
[2025-02-08 22:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:47:03] Production.ERROR: done
[2025-02-08 22:47:03] Production.INFO: Account Balance End.
[2025-02-08 22:47:03] Production.ERROR: CronJobId end 12
[2025-02-08 22:47:03] Production.INFO: ==21226== Releasing lock...
[2025-02-08 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:47:04
[end_date_ymd] => 2025-02-08 22:47:04
[RateCDR] => 1
)
[2025-02-08 22:47:04] 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-02-08 19:47:04' and `end` < '2025-02-08 22:47:04'
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-02-08 22:47:12] Production.ERROR: CronJobId end10
[2025-02-08 22:47:12] Production.INFO: ==21224== Releasing lock...
[2025-02-08 22:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:47:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:47:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:47:14] Production.INFO: call_cost start
[2025-02-08 22:47:14] Production.INFO: call_cost end
[2025-02-08 22:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:47:15] Production.INFO: ==21220== Releasing lock...
[2025-02-08 22:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:47:18] Production.INFO: count ==1766
[2025-02-08 22:47:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:47:04 - End Time 2025-02-08 22:47:04
[2025-02-08 22:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432868', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432868', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432868', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432868', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:47:19] Production.INFO: ProcessCDR(1,14432868,1,1,2)
[2025-02-08 22:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432868', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432868', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:47:23] Production.INFO: ==21228== Releasing lock...
[2025-02-08 22:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:47:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 03:48:01] Production.INFO: ==21329== Lock acquired, processing the job...
[2025-02-09 03:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:48:01] Production.INFO: neon service started
[2025-02-09 03:48:02] Production.INFO: neon service started
[2025-02-09 03:48:02] Production.INFO: ==21329== Releasing lock...
[2025-02-09 03:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:48:02] Production.INFO: ==21332== Lock acquired, processing the job...
[2025-02-08 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:48:02] Production.INFO: ==21332== Releasing lock...
[2025-02-08 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:48:02] Production.INFO: ==21334== Lock acquired, processing the job...
[2025-02-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:48:02] Production.INFO: ==21334== Releasing lock...
[2025-02-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:48:03] Production.INFO: ==21342== Lock acquired, processing the job...
[2025-02-08 22:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:48:03] Production.INFO: ==21336== Lock acquired, processing the job...
[2025-02-08 22:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:48:03] Production.INFO: Account Balance Start.
[2025-02-08 22:48:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:48:03] Production.INFO: 117
[2025-02-08 22:48:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:48:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:48:03] Production.INFO: ==21338== Lock acquired, processing the job...
[2025-02-08 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:48:03] Production.INFO: Total Charge 0
[2025-02-08 22:48:03] Production.INFO: CreateAllLog End
[2025-02-08 22:48:03] Production.INFO: ==21346== Lock acquired, processing the job...
[2025-02-08 22:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:48:03] Production.INFO: ==21340== Lock acquired, processing the job...
[2025-02-08 22:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:48:04] Production.INFO: ==21344== Lock acquired, processing the job...
[2025-02-08 22:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:48:04] Production.INFO: Account Balance End.
[2025-02-08 22:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:48:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:48:04] Production.INFO: ==21342== Releasing lock...
[2025-02-08 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:48:04] Production.INFO: count ==21
[2025-02-08 22:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:48:04] Production.INFO: count ==21
[2025-02-08 22:48:04] Production.INFO: ==21338== Releasing lock...
[2025-02-08 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432872') start
[2025-02-08 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432872') end
[2025-02-08 22:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:48:04] Production.INFO: 1
[2025-02-08 22:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:48:04] Production.INFO: ==21346== Releasing lock...
[2025-02-08 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:48:04] Production.ERROR: done
[2025-02-08 22:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:48:04] Production.ERROR: done
[2025-02-08 22:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:48:05
[end_date_ymd] => 2025-02-08 22:48:05
[RateCDR] => 1
)
[2025-02-08 22:48: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` >= '2025-02-08 19:48:05' and `end` < '2025-02-08 22:48: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 ,'')
[2025-02-08 22:48:12] Production.ERROR: CronJobId end10
[2025-02-08 22:48:12] Production.INFO: ==21340== Releasing lock...
[2025-02-08 22:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:48:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:48:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:48:14] Production.INFO: call_cost start
[2025-02-08 22:48:14] Production.INFO: call_cost end
[2025-02-08 22:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:48:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:48:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:48:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:48:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:48:15] Production.INFO: ==21336== Releasing lock...
[2025-02-08 22:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:48:18] Production.INFO: count ==1767
[2025-02-08 22:48:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:48:05 - End Time 2025-02-08 22:48:05
[2025-02-08 22:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432873', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432873', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432873', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432873', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:48:19] Production.INFO: ProcessCDR(1,14432873,1,1,2)
[2025-02-08 22:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432873', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432873', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:48:24] Production.INFO: ==21344== Releasing lock...
[2025-02-08 22:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:48:24] Production.INFO: 41 MB #Memory Used#
[2025-02-09 03:49:01] Production.INFO: ==21411== Lock acquired, processing the job...
[2025-02-09 03:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:49:01] Production.INFO: neon service started
[2025-02-09 03:49:01] Production.INFO: neon service started
[2025-02-09 03:49:01] Production.INFO: ==21411== Releasing lock...
[2025-02-09 03:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:49:02] Production.INFO: ==21413== Lock acquired, processing the job...
[2025-02-08 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:49:02] Production.INFO: ==21415== Lock acquired, processing the job...
[2025-02-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:49:02] Production.INFO: ==21415== Releasing lock...
[2025-02-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:49:02] Production.INFO: ==21413== Releasing lock...
[2025-02-08 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:49:03] Production.INFO: ==21418== Lock acquired, processing the job...
[2025-02-08 22:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:49:03] Production.INFO: ==21420== Lock acquired, processing the job...
[2025-02-08 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:49:03] Production.INFO: ==21422== Lock acquired, processing the job...
[2025-02-08 22:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:49:03] Production.INFO: ==21424== Lock acquired, processing the job...
[2025-02-08 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:49:03] Production.INFO: ==21426== Lock acquired, processing the job...
[2025-02-08 22:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:49:03] Production.INFO: ==21420== Releasing lock...
[2025-02-08 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:49:03] Production.INFO: ==21428== Lock acquired, processing the job...
[2025-02-08 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:49:03] Production.INFO: Account Balance Start.
[2025-02-08 22:49:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:49:03] Production.INFO: 117
[2025-02-08 22:49:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:49:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:49:03] Production.INFO: Total Charge 0
[2025-02-08 22:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:49:03] Production.INFO: CreateAllLog End
[2025-02-08 22:49:03] Production.INFO: count ==21
[2025-02-08 22:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:49:03] Production.INFO: count ==21
[2025-02-08 22:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432877') start
[2025-02-08 22:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432877') end
[2025-02-08 22:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:49:04] Production.INFO: 1
[2025-02-08 22:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:49:04] Production.ERROR: done
[2025-02-08 22:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:49:04] Production.INFO: ==21428== Releasing lock...
[2025-02-08 22:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:49:04] Production.INFO: Account Balance End.
[2025-02-08 22:49:04] Production.ERROR: done
[2025-02-08 22:49:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:49:04] Production.INFO: ==21424== Releasing lock...
[2025-02-08 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:49:05
[end_date_ymd] => 2025-02-08 22:49:05
[RateCDR] => 1
)
[2025-02-08 22:49: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` >= '2025-02-08 19:49:05' and `end` < '2025-02-08 22:49: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 ,'')
[2025-02-08 22:49:11] Production.ERROR: CronJobId end10
[2025-02-08 22:49:11] Production.INFO: ==21422== Releasing lock...
[2025-02-08 22:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:49:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:49:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:49:13] Production.INFO: call_cost start
[2025-02-08 22:49:13] Production.INFO: call_cost end
[2025-02-08 22:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:49:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:49:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:49:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:49:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:49:14] Production.INFO: ==21418== Releasing lock...
[2025-02-08 22:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:49:19] Production.INFO: count ==1762
[2025-02-08 22:49:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:49:05 - End Time 2025-02-08 22:49:05
[2025-02-08 22:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432878', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432878', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432878', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432878', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:49:20] Production.INFO: ProcessCDR(1,14432878,1,1,2)
[2025-02-08 22:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432878', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432878', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:49:23] Production.INFO: ==21426== Releasing lock...
[2025-02-08 22:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:49:23] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:50:01] Production.INFO: ==21492== Lock acquired, processing the job...
[2025-02-09 03:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:50:01] Production.INFO: neon service started
[2025-02-09 03:50:01] Production.INFO: neon service started
[2025-02-09 03:50:01] Production.INFO: ==21492== Releasing lock...
[2025-02-09 03:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:50:02] Production.INFO: ==21496== Lock acquired, processing the job...
[2025-02-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:50:02] Production.INFO: ==21496== Releasing lock...
[2025-02-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:50:02] Production.INFO: ==21494== Lock acquired, processing the job...
[2025-02-08 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:50:02] Production.INFO: ==21494== Releasing lock...
[2025-02-08 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:50:03] Production.INFO: ==21499== Lock acquired, processing the job...
[2025-02-08 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 22:50:03] Production.INFO: ==21501== Lock acquired, processing the job...
[2025-02-08 22:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 22:50:03] Production.INFO: ==21503== Lock acquired, processing the job...
[2025-02-08 22:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 22:50:03] Production.INFO: ==21499== Releasing lock...
[2025-02-08 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 22:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 22:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:50:03] Production.INFO: ==21505== Lock acquired, processing the job...
[2025-02-08 22:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:50:03] Production.INFO: ==21507== Lock acquired, processing the job...
[2025-02-08 22:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:50:04] Production.INFO: ==21509== Lock acquired, processing the job...
[2025-02-08 22:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:50:04] Production.INFO: Account Balance Start.
[2025-02-08 22:50:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:50:04] Production.INFO: 117
[2025-02-08 22:50:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:50:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:50:04] Production.INFO: ==21503== Releasing lock...
[2025-02-08 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:50:04] Production.INFO: ==21513== Lock acquired, processing the job...
[2025-02-08 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:50:04] Production.INFO: ==21511== Lock acquired, processing the job...
[2025-02-08 22:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 22:50:04] Production.INFO: Total Charge 0
[2025-02-08 22:50:04] Production.INFO: CreateAllLog End
[2025-02-08 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:50:04] Production.ERROR: done
[2025-02-08 22:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:50:04] Production.ERROR: done
[2025-02-08 22:50:04] Production.INFO: count ==21
[2025-02-08 22:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:50:04] Production.INFO: count ==21
[2025-02-08 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432882') start
[2025-02-08 22:50:04] Production.INFO: Account Balance End.
[2025-02-08 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432882') end
[2025-02-08 22:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:50:04] Production.INFO: 1
[2025-02-08 22:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:50:04] Production.INFO: ==21513== Releasing lock...
[2025-02-08 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:50:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:50:04] Production.INFO: ==21507== Releasing lock...
[2025-02-08 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:50:04] Production.ERROR: done
[2025-02-08 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432884', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 22:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:50:05
[end_date_ymd] => 2025-02-08 22:50:05
[RateCDR] => 1
)
[2025-02-08 22:50: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` >= '2025-02-08 19:50:05' and `end` < '2025-02-08 22:50: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 ,'')
[2025-02-08 22:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432884', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 22:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 22:50:09] Production.INFO: ProcessCDR(1,14432884,1,1,2)
[2025-02-08 22:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:50:09] Production.INFO: ==21511== Releasing lock...
[2025-02-08 22:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 22:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 22:50:14] Production.ERROR: CronJobId end10
[2025-02-08 22:50:14] Production.INFO: ==21505== Releasing lock...
[2025-02-08 22:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:50:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:50:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:50:15] Production.INFO: call_cost start
[2025-02-08 22:50:15] Production.INFO: call_cost end
[2025-02-08 22:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:50:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:50:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:50:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:50:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:50:16] Production.INFO: ==21501== Releasing lock...
[2025-02-08 22:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:50:18] Production.INFO: count ==1761
[2025-02-08 22:50:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:50:05 - End Time 2025-02-08 22:50:05
[2025-02-08 22:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432883', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432883', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432883', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432883', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:50:19] Production.INFO: ProcessCDR(1,14432883,1,1,2)
[2025-02-08 22:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432883', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432883', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:50:22] Production.INFO: ==21509== Releasing lock...
[2025-02-08 22:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:50:22] Production.INFO: 41.25 MB #Memory Used#
[2025-02-09 03:51:02] Production.INFO: ==21574== Lock acquired, processing the job...
[2025-02-09 03:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:51:02] Production.INFO: neon service started
[2025-02-09 03:51:02] Production.INFO: neon service started
[2025-02-09 03:51:02] Production.INFO: ==21574== Releasing lock...
[2025-02-09 03:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:51:02] Production.INFO: ==21576== Lock acquired, processing the job...
[2025-02-08 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:51:02] Production.INFO: ==21576== Releasing lock...
[2025-02-08 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:51:03] Production.INFO: ==21578== Lock acquired, processing the job...
[2025-02-09 03:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:51:03] Production.INFO: ==21578== Releasing lock...
[2025-02-09 03:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:51:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:51:03] Production.INFO: ==21581== Lock acquired, processing the job...
[2025-02-08 22:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:51:03] Production.INFO: ==21585== Lock acquired, processing the job...
[2025-02-08 22:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:51:03] Production.INFO: ==21589== Lock acquired, processing the job...
[2025-02-08 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:51:03] Production.INFO: ==21583== Lock acquired, processing the job...
[2025-02-08 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:51:03] Production.INFO: ==21587== Lock acquired, processing the job...
[2025-02-08 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:51:04] Production.INFO: ==21591== Lock acquired, processing the job...
[2025-02-08 22:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:51:04] Production.INFO: Account Balance Start.
[2025-02-08 22:51:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:51:04] Production.INFO: 117
[2025-02-08 22:51:04] Production.ERROR: done
[2025-02-08 22:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:51:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:51:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:51:04] Production.ERROR: done
[2025-02-08 22:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:51:04] Production.INFO: Total Charge 0
[2025-02-08 22:51:04] Production.INFO: CreateAllLog End
[2025-02-08 22:51:04] Production.INFO: count ==21
[2025-02-08 22:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:51:04] Production.INFO: count ==21
[2025-02-08 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432888') start
[2025-02-08 22:51:04] Production.INFO: ==21583== Releasing lock...
[2025-02-08 22:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:51:04] Production.INFO: Account Balance End.
[2025-02-08 22:51:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:51:04] Production.INFO: ==21587== Releasing lock...
[2025-02-08 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432888') end
[2025-02-08 22:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:51:04] Production.INFO: 1
[2025-02-08 22:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:51:04] Production.INFO: ==21591== Releasing lock...
[2025-02-08 22:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:51:05
[end_date_ymd] => 2025-02-08 22:51:05
[RateCDR] => 1
)
[2025-02-08 22:51: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` >= '2025-02-08 19:51:05' and `end` < '2025-02-08 22:51: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 ,'')
[2025-02-08 22:51:12] Production.ERROR: CronJobId end10
[2025-02-08 22:51:12] Production.INFO: ==21585== Releasing lock...
[2025-02-08 22:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:51:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:51:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:51:14] Production.INFO: call_cost start
[2025-02-08 22:51:14] Production.INFO: call_cost end
[2025-02-08 22:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:51:15] Production.INFO: ==21581== Releasing lock...
[2025-02-08 22:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:51:18] Production.INFO: count ==1725
[2025-02-08 22:51:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:51:05 - End Time 2025-02-08 22:51:05
[2025-02-08 22:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432889', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432889', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432889', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432889', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:51:19] Production.INFO: ProcessCDR(1,14432889,1,1,2)
[2025-02-08 22:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432889', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432889', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:51:22] Production.INFO: ==21589== Releasing lock...
[2025-02-08 22:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:51:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 03:52:01] Production.INFO: ==21654== Lock acquired, processing the job...
[2025-02-09 03:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:52:01] Production.INFO: neon service started
[2025-02-09 03:52:01] Production.INFO: neon service started
[2025-02-09 03:52:01] Production.INFO: ==21654== Releasing lock...
[2025-02-09 03:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:52:02] Production.INFO: ==21658== Lock acquired, processing the job...
[2025-02-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:52:02] Production.INFO: ==21658== Releasing lock...
[2025-02-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:52:02] Production.INFO: ==21656== Lock acquired, processing the job...
[2025-02-08 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:52:02] Production.INFO: ==21656== Releasing lock...
[2025-02-08 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:52:03] Production.INFO: ==21662== Lock acquired, processing the job...
[2025-02-08 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:52:03] Production.INFO: ==21660== Lock acquired, processing the job...
[2025-02-08 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:52:03] Production.INFO: ==21664== Lock acquired, processing the job...
[2025-02-08 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:52:03] Production.INFO: ==21668== Lock acquired, processing the job...
[2025-02-08 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:52:03] Production.INFO: ==21670== Lock acquired, processing the job...
[2025-02-08 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:52:03] Production.INFO: ==21666== Lock acquired, processing the job...
[2025-02-08 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:52:03] Production.INFO: count ==21
[2025-02-08 22:52:03] Production.INFO: ==21662== Releasing lock...
[2025-02-08 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:52:03] Production.ERROR: done
[2025-02-08 22:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:52:03] Production.INFO: count ==21
[2025-02-08 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432892') start
[2025-02-08 22:52:03] Production.INFO: Account Balance Start.
[2025-02-08 22:52:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:52:03] Production.INFO: 117
[2025-02-08 22:52:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:52:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:52:04] Production.INFO: Total Charge 0
[2025-02-08 22:52:04] Production.INFO: CreateAllLog End
[2025-02-08 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432892') end
[2025-02-08 22:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:52:04] Production.INFO: 1
[2025-02-08 22:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:52:04] Production.INFO: ==21670== Releasing lock...
[2025-02-08 22:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:52:04] Production.ERROR: done
[2025-02-08 22:52:04] Production.INFO: Account Balance End.
[2025-02-08 22:52:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:52:04] Production.INFO: ==21666== Releasing lock...
[2025-02-08 22:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:52:05
[end_date_ymd] => 2025-02-08 22:52:05
[RateCDR] => 1
)
[2025-02-08 22:52: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` >= '2025-02-08 19:52:05' and `end` < '2025-02-08 22:52: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 ,'')
[2025-02-08 22:52:12] Production.ERROR: CronJobId end10
[2025-02-08 22:52:12] Production.INFO: ==21664== Releasing lock...
[2025-02-08 22:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:52:14] Production.INFO: call_cost start
[2025-02-08 22:52:14] Production.INFO: call_cost end
[2025-02-08 22:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:52:15] Production.INFO: ==21660== Releasing lock...
[2025-02-08 22:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:52:19] Production.INFO: count ==1721
[2025-02-08 22:52:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:52:05 - End Time 2025-02-08 22:52:05
[2025-02-08 22:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432894', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432894', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432894', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432894', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:52:19] Production.INFO: ProcessCDR(1,14432894,1,1,2)
[2025-02-08 22:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432894', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432894', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:52:22] Production.INFO: ==21668== Releasing lock...
[2025-02-08 22:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:52:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 03:53:02] Production.INFO: ==21737== Lock acquired, processing the job...
[2025-02-09 03:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:53:02] Production.INFO: neon service started
[2025-02-09 03:53:02] Production.INFO: neon service started
[2025-02-09 03:53:02] Production.INFO: ==21737== Releasing lock...
[2025-02-09 03:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:53:02] Production.INFO: ==21740== Lock acquired, processing the job...
[2025-02-08 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:53:02] Production.INFO: ==21742== Lock acquired, processing the job...
[2025-02-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:53:02] Production.INFO: ==21742== Releasing lock...
[2025-02-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:53:03] Production.INFO: ==21740== Releasing lock...
[2025-02-08 22:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:53:03] Production.INFO: ==21749== Lock acquired, processing the job...
[2025-02-08 22:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:53:03] Production.INFO: ==21751== Lock acquired, processing the job...
[2025-02-08 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:53:03] Production.INFO: ==21747== Lock acquired, processing the job...
[2025-02-08 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:53:03] Production.INFO: Account Balance Start.
[2025-02-08 22:53:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:53:03] Production.INFO: 117
[2025-02-08 22:53:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:53:03] Production.INFO: ==21745== Lock acquired, processing the job...
[2025-02-08 22:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:53:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:53:04] Production.INFO: Total Charge 0
[2025-02-08 22:53:04] Production.INFO: CreateAllLog End
[2025-02-08 22:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:53:04] Production.INFO: ==21747== Releasing lock...
[2025-02-08 22:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:53:04] Production.INFO: ==21753== Lock acquired, processing the job...
[2025-02-08 22:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:53:04] Production.INFO: Account Balance End.
[2025-02-08 22:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:53:04] Production.INFO: ==21755== Lock acquired, processing the job...
[2025-02-08 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:53:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:53:04] Production.INFO: ==21751== Releasing lock...
[2025-02-08 22:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:53:04] Production.ERROR: done
[2025-02-08 22:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:53:04] Production.INFO: count ==21
[2025-02-08 22:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:53:04] Production.INFO: count ==21
[2025-02-08 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432898') start
[2025-02-08 22:53:04] Production.ERROR: done
[2025-02-08 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432898') end
[2025-02-08 22:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:53:04] Production.INFO: 1
[2025-02-08 22:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:53:05] Production.INFO: ==21755== Releasing lock...
[2025-02-08 22:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:53:05
[end_date_ymd] => 2025-02-08 22:53:05
[RateCDR] => 1
)
[2025-02-08 22:53: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` >= '2025-02-08 19:53:05' and `end` < '2025-02-08 22:53: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 ,'')
[2025-02-08 22:53:12] Production.ERROR: CronJobId end10
[2025-02-08 22:53:12] Production.INFO: ==21749== Releasing lock...
[2025-02-08 22:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:53:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:53:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:53:13] Production.INFO: call_cost start
[2025-02-08 22:53:13] Production.INFO: call_cost end
[2025-02-08 22:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:53:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:53:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:53:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:53:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:53:14] Production.INFO: ==21745== Releasing lock...
[2025-02-08 22:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:53:19] Production.INFO: count ==1717
[2025-02-08 22:53:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:53:05 - End Time 2025-02-08 22:53:05
[2025-02-08 22:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432899', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432899', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432899', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432899', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:53:20] Production.INFO: ProcessCDR(1,14432899,1,1,2)
[2025-02-08 22:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432899', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432899', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:53:23] Production.INFO: ==21753== Releasing lock...
[2025-02-08 22:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:53:23] Production.INFO: 41 MB #Memory Used#
[2025-02-09 03:54:01] Production.INFO: ==21812== Lock acquired, processing the job...
[2025-02-09 03:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:54:01] Production.INFO: neon service started
[2025-02-09 03:54:01] Production.INFO: neon service started
[2025-02-09 03:54:01] Production.INFO: ==21812== Releasing lock...
[2025-02-09 03:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:54:02] Production.INFO: ==21814== Lock acquired, processing the job...
[2025-02-08 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:54:02] Production.INFO: ==21814== Releasing lock...
[2025-02-08 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:54:02] Production.INFO: ==21816== Lock acquired, processing the job...
[2025-02-09 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:54:02] Production.INFO: ==21816== Releasing lock...
[2025-02-09 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:54:03] Production.INFO: ==21819== Lock acquired, processing the job...
[2025-02-08 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:54:03] Production.INFO: ==21827== Lock acquired, processing the job...
[2025-02-08 22:54:03] Production.INFO: ==21825== Lock acquired, processing the job...
[2025-02-08 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:54:03] Production.INFO: ==21821== Lock acquired, processing the job...
[2025-02-08 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:54:03] Production.INFO: Account Balance Start.
[2025-02-08 22:54:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:54:03] Production.INFO: 117
[2025-02-08 22:54:03] Production.INFO: ==21823== Lock acquired, processing the job...
[2025-02-08 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:54:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:54:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:54:03] Production.INFO: Total Charge 0
[2025-02-08 22:54:03] Production.INFO: ==21829== Lock acquired, processing the job...
[2025-02-08 22:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:54:03] Production.INFO: CreateAllLog End
[2025-02-08 22:54:03] Production.ERROR: done
[2025-02-08 22:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:54:04] Production.INFO: count ==21
[2025-02-08 22:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:54:04] Production.INFO: count ==21
[2025-02-08 22:54:04] Production.ERROR: done
[2025-02-08 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432902') start
[2025-02-08 22:54:04] Production.INFO: Account Balance End.
[2025-02-08 22:54:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:54:04] Production.INFO: ==21825== Releasing lock...
[2025-02-08 22:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432902') end
[2025-02-08 22:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:54:04] Production.INFO: 1
[2025-02-08 22:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:54:04] Production.INFO: ==21821== Releasing lock...
[2025-02-08 22:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:54:04] Production.INFO: ==21829== Releasing lock...
[2025-02-08 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:54:05
[end_date_ymd] => 2025-02-08 22:54:05
[RateCDR] => 1
)
[2025-02-08 22:54: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` >= '2025-02-08 19:54:05' and `end` < '2025-02-08 22:54: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 ,'')
[2025-02-08 22:54:12] Production.ERROR: CronJobId end10
[2025-02-08 22:54:12] Production.INFO: ==21823== Releasing lock...
[2025-02-08 22:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:54:14] Production.INFO: call_cost start
[2025-02-08 22:54:14] Production.INFO: call_cost end
[2025-02-08 22:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:54:15] Production.INFO: ==21819== Releasing lock...
[2025-02-08 22:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:54:18] Production.INFO: count ==1717
[2025-02-08 22:54:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:54:05 - End Time 2025-02-08 22:54:05
[2025-02-08 22:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432904', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432904', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432904', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432904', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:54:19] Production.INFO: ProcessCDR(1,14432904,1,1,2)
[2025-02-08 22:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432904', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432904', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:54:22] Production.INFO: ==21827== Releasing lock...
[2025-02-08 22:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:54:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 03:55:02] Production.INFO: ==21889== Lock acquired, processing the job...
[2025-02-09 03:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:55:02] Production.INFO: neon service started
[2025-02-09 03:55:02] Production.INFO: neon service started
[2025-02-09 03:55:02] Production.INFO: ==21889== Releasing lock...
[2025-02-09 03:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:55:02] Production.INFO: ==21891== Lock acquired, processing the job...
[2025-02-08 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:55:02] Production.INFO: ==21893== Lock acquired, processing the job...
[2025-02-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 22:55:02] Production.INFO: ==21891== Releasing lock...
[2025-02-08 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:55:02] Production.INFO: ==21893== Releasing lock...
[2025-02-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:55:03] Production.INFO: ==21901== Lock acquired, processing the job...
[2025-02-08 22:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:55:03] Production.INFO: ==21895== Lock acquired, processing the job...
[2025-02-08 22:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:55:03] Production.INFO: ==21897== Lock acquired, processing the job...
[2025-02-08 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:55:03] Production.INFO: Account Balance Start.
[2025-02-08 22:55:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:55:03] Production.INFO: 117
[2025-02-08 22:55:03] Production.INFO: ==21906== Lock acquired, processing the job...
[2025-02-08 22:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:55:03] Production.INFO: ==21899== Lock acquired, processing the job...
[2025-02-08 22:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:55:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:55:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:55:03] Production.INFO: Total Charge 0
[2025-02-08 22:55:04] Production.INFO: CreateAllLog End
[2025-02-08 22:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:55:04] Production.INFO: ==21903== Lock acquired, processing the job...
[2025-02-08 22:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:55:04] Production.INFO: count ==21
[2025-02-08 22:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:55:04] Production.INFO: count ==21
[2025-02-08 22:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432908') start
[2025-02-08 22:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:55:04] Production.INFO: Account Balance End.
[2025-02-08 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432908') end
[2025-02-08 22:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:55:04] Production.INFO: 1
[2025-02-08 22:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:55:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:55:04] Production.INFO: ==21901== Releasing lock...
[2025-02-08 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:55:04] Production.INFO: ==21897== Releasing lock...
[2025-02-08 22:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:55:04] Production.INFO: ==21906== Releasing lock...
[2025-02-08 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:55:04] Production.ERROR: done
[2025-02-08 22:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:55:04] Production.ERROR: done
[2025-02-08 22:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:55:05
[end_date_ymd] => 2025-02-08 22:55:05
[RateCDR] => 1
)
[2025-02-08 22:55: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` >= '2025-02-08 19:55:05' and `end` < '2025-02-08 22:55: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 ,'')
[2025-02-08 22:55:13] Production.ERROR: CronJobId end10
[2025-02-08 22:55:13] Production.INFO: ==21899== Releasing lock...
[2025-02-08 22:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:55:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:55:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:55:14] Production.INFO: call_cost start
[2025-02-08 22:55:14] Production.INFO: call_cost end
[2025-02-08 22:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:55:15] Production.INFO: ==21895== Releasing lock...
[2025-02-08 22:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:55:18] Production.INFO: count ==1719
[2025-02-08 22:55:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:55:05 - End Time 2025-02-08 22:55:05
[2025-02-08 22:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432909', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432909', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432909', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432909', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:55:18] Production.INFO: ProcessCDR(1,14432909,1,1,2)
[2025-02-08 22:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432909', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432909', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:55:22] Production.INFO: ==21903== Releasing lock...
[2025-02-08 22:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:55:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 03:56:01] Production.INFO: ==21972== Lock acquired, processing the job...
[2025-02-09 03:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:56:01] Production.INFO: neon service started
[2025-02-09 03:56:01] Production.INFO: neon service started
[2025-02-09 03:56:01] Production.INFO: ==21972== Releasing lock...
[2025-02-09 03:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:56:01] Production.INFO: ==21974== Lock acquired, processing the job...
[2025-02-08 22:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:56:02] Production.INFO: ==21974== Releasing lock...
[2025-02-08 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:56:02] Production.INFO: ==21976== Lock acquired, processing the job...
[2025-02-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:56:02] Production.INFO: ==21976== Releasing lock...
[2025-02-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:56:03] Production.INFO: ==21984== Lock acquired, processing the job...
[2025-02-08 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:56:03] Production.INFO: ==21978== Lock acquired, processing the job...
[2025-02-08 22:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:56:03] Production.INFO: ==21988== Lock acquired, processing the job...
[2025-02-08 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:56:03] Production.INFO: Account Balance Start.
[2025-02-08 22:56:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:56:03] Production.INFO: 117
[2025-02-08 22:56:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:56:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:56:03] Production.INFO: Total Charge 0
[2025-02-08 22:56:03] Production.INFO: ==21982== Lock acquired, processing the job...
[2025-02-08 22:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:56:03] Production.INFO: CreateAllLog End
[2025-02-08 22:56:03] Production.INFO: ==21980== Lock acquired, processing the job...
[2025-02-08 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:56:03] Production.INFO: count ==21
[2025-02-08 22:56:03] Production.INFO: Account Balance End.
[2025-02-08 22:56:03] Production.INFO: ==21986== Lock acquired, processing the job...
[2025-02-08 22:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:56:03] Production.INFO: count ==21
[2025-02-08 22:56:03] Production.ERROR: CronJobId end 12
[2025-02-08 22:56:03] Production.INFO: ==21984== Releasing lock...
[2025-02-08 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432912') start
[2025-02-08 22:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432912') end
[2025-02-08 22:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:56:03] Production.INFO: 1
[2025-02-08 22:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:56:03] Production.INFO: ==21988== Releasing lock...
[2025-02-08 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:56:03] Production.INFO: ==21980== Releasing lock...
[2025-02-08 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:56:03] Production.ERROR: done
[2025-02-08 22:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:56:04] Production.ERROR: done
[2025-02-08 22:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:56:05
[end_date_ymd] => 2025-02-08 22:56:05
[RateCDR] => 1
)
[2025-02-08 22:56: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` >= '2025-02-08 19:56:05' and `end` < '2025-02-08 22:56: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 ,'')
[2025-02-08 22:56:11] Production.ERROR: CronJobId end10
[2025-02-08 22:56:11] Production.INFO: ==21982== Releasing lock...
[2025-02-08 22:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:56:14] Production.INFO: call_cost start
[2025-02-08 22:56:14] Production.INFO: call_cost end
[2025-02-08 22:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:56:15] Production.INFO: ==21978== Releasing lock...
[2025-02-08 22:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:56:18] Production.INFO: count ==1718
[2025-02-08 22:56:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:56:05 - End Time 2025-02-08 22:56:05
[2025-02-08 22:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432914', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432914', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432914', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432914', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:56:19] Production.INFO: ProcessCDR(1,14432914,1,1,2)
[2025-02-08 22:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432914', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432914', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:56:22] Production.INFO: ==21986== Releasing lock...
[2025-02-08 22:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:56:22] Production.INFO: 41 MB #Memory Used#
[2025-02-09 03:57:01] Production.INFO: ==22054== Lock acquired, processing the job...
[2025-02-09 03:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:57:01] Production.INFO: neon service started
[2025-02-09 03:57:02] Production.INFO: neon service started
[2025-02-09 03:57:02] Production.INFO: ==22054== Releasing lock...
[2025-02-09 03:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:57:02] Production.INFO: ==22056== Lock acquired, processing the job...
[2025-02-08 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:57:02] Production.INFO: ==22056== Releasing lock...
[2025-02-08 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:57:02] Production.INFO: ==22058== Lock acquired, processing the job...
[2025-02-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:57:02] Production.INFO: ==22058== Releasing lock...
[2025-02-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:57:03] Production.INFO: ==22060== Lock acquired, processing the job...
[2025-02-08 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:57:03] Production.INFO: ==22064== Lock acquired, processing the job...
[2025-02-08 22:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:57:03] Production.INFO: ==22070== Lock acquired, processing the job...
[2025-02-08 22:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:57:03] Production.INFO: ==22062== Lock acquired, processing the job...
[2025-02-08 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:57:03] Production.INFO: count ==21
[2025-02-08 22:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:57:04] Production.INFO: count ==21
[2025-02-08 22:57:04] Production.INFO: ==22066== Lock acquired, processing the job...
[2025-02-08 22:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432916') start
[2025-02-08 22:57:04] Production.INFO: ==22068== Lock acquired, processing the job...
[2025-02-08 22:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432916') end
[2025-02-08 22:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:57:04] Production.INFO: 1
[2025-02-08 22:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:57:04] Production.INFO: Account Balance Start.
[2025-02-08 22:57:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:57:04] Production.INFO: 117
[2025-02-08 22:57:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:57:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:57:04] Production.INFO: Total Charge 0
[2025-02-08 22:57:04] Production.INFO: CreateAllLog End
[2025-02-08 22:57:04] Production.INFO: ==22070== Releasing lock...
[2025-02-08 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:57:04] Production.INFO: ==22062== Releasing lock...
[2025-02-08 22:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:57:04] Production.ERROR: done
[2025-02-08 22:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:57:04] Production.INFO: Account Balance End.
[2025-02-08 22:57:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:57:04] Production.INFO: ==22066== Releasing lock...
[2025-02-08 22:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:57:04] Production.ERROR: done
[2025-02-08 22:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:57:05
[end_date_ymd] => 2025-02-08 22:57:05
[RateCDR] => 1
)
[2025-02-08 22:57: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` >= '2025-02-08 19:57:05' and `end` < '2025-02-08 22:57: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 ,'')
[2025-02-08 22:57:13] Production.ERROR: CronJobId end10
[2025-02-08 22:57:13] Production.INFO: ==22064== Releasing lock...
[2025-02-08 22:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:57:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:57:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:57:15] Production.INFO: call_cost start
[2025-02-08 22:57:15] Production.INFO: call_cost end
[2025-02-08 22:57:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:57:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:57:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:57:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:57:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:57:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:57:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:57:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:57:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:57:16] Production.INFO: ==22060== Releasing lock...
[2025-02-08 22:57:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:57:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:57:18] Production.INFO: count ==1712
[2025-02-08 22:57:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:57:05 - End Time 2025-02-08 22:57:05
[2025-02-08 22:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432919', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432919', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432919', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432919', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:57:19] Production.INFO: ProcessCDR(1,14432919,1,1,2)
[2025-02-08 22:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432919', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432919', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:57:22] Production.INFO: ==22068== Releasing lock...
[2025-02-08 22:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:57:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 03:58:01] Production.INFO: ==22134== Lock acquired, processing the job...
[2025-02-09 03:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:58:01] Production.INFO: neon service started
[2025-02-09 03:58:01] Production.INFO: neon service started
[2025-02-09 03:58:01] Production.INFO: ==22134== Releasing lock...
[2025-02-09 03:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:58:01] Production.INFO: ==22138== Lock acquired, processing the job...
[2025-02-09 03:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:58:01] Production.INFO: ==22138== Releasing lock...
[2025-02-09 03:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:58:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:58:01] Production.INFO: ==22136== Lock acquired, processing the job...
[2025-02-08 22:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:58:02] Production.INFO: ==22136== Releasing lock...
[2025-02-08 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 22:58:03] Production.INFO: ==22143== Lock acquired, processing the job...
[2025-02-08 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:58:03] Production.INFO: ==22147== Lock acquired, processing the job...
[2025-02-08 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:58:03] Production.INFO: ==22149== Lock acquired, processing the job...
[2025-02-08 22:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:58:03] Production.INFO: Account Balance Start.
[2025-02-08 22:58:03] Production.INFO: CreateAllLog Start
[2025-02-08 22:58:03] Production.INFO: 117
[2025-02-08 22:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:58:03] Production.INFO: Date 2025-02-08
[2025-02-08 22:58:03] Production.INFO: Reseller ==> 0
[2025-02-08 22:58:03] Production.INFO: Total Charge 0
[2025-02-08 22:58:03] Production.INFO: ==22145== Lock acquired, processing the job...
[2025-02-08 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:58:03] Production.INFO: CreateAllLog End
[2025-02-08 22:58:03] Production.INFO: ==22141== Lock acquired, processing the job...
[2025-02-08 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:58:03] Production.INFO: Account Balance End.
[2025-02-08 22:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:58:03] Production.INFO: ==22151== Lock acquired, processing the job...
[2025-02-08 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:58:03] Production.INFO: ==22143== Releasing lock...
[2025-02-08 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:58:03] Production.ERROR: CronJobId end 12
[2025-02-08 22:58:03] Production.INFO: ==22147== Releasing lock...
[2025-02-08 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:58:03] Production.ERROR: done
[2025-02-08 22:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:58:03] Production.INFO: count ==21
[2025-02-08 22:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:58:03] Production.INFO: count ==21
[2025-02-08 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432923') start
[2025-02-08 22:58:03] Production.ERROR: done
[2025-02-08 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432923') end
[2025-02-08 22:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:58:03] Production.INFO: 1
[2025-02-08 22:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:58:04] Production.INFO: ==22151== Releasing lock...
[2025-02-08 22:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:58:04
[end_date_ymd] => 2025-02-08 22:58:04
[RateCDR] => 1
)
[2025-02-08 22:58:04] 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-02-08 19:58:04' and `end` < '2025-02-08 22:58:04'
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-02-08 22:58:11] Production.ERROR: CronJobId end10
[2025-02-08 22:58:11] Production.INFO: ==22145== Releasing lock...
[2025-02-08 22:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:58:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:58:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:58:14] Production.INFO: call_cost start
[2025-02-08 22:58:14] Production.INFO: call_cost end
[2025-02-08 22:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:58:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:58:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:58:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:58:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:58:14] Production.INFO: ==22141== Releasing lock...
[2025-02-08 22:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:58:17] Production.INFO: count ==1706
[2025-02-08 22:58:18] Production.ERROR: pbx CDR StartTime 2025-02-08 19:58:04 - End Time 2025-02-08 22:58:04
[2025-02-08 22:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432924', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432924', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432924', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432924', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:58:18] Production.INFO: ProcessCDR(1,14432924,1,1,2)
[2025-02-08 22:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432924', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432924', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:58:21] Production.INFO: ==22149== Releasing lock...
[2025-02-08 22:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:58:21] Production.INFO: 41 MB #Memory Used#
[2025-02-09 03:59:01] Production.INFO: ==22213== Lock acquired, processing the job...
[2025-02-09 03:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 03:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 03:59:01] Production.INFO: neon service started
[2025-02-09 03:59:01] Production.INFO: neon service started
[2025-02-09 03:59:01] Production.INFO: ==22213== Releasing lock...
[2025-02-09 03:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 03:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 22:59:02] Production.INFO: ==22215== Lock acquired, processing the job...
[2025-02-08 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 22:59:02] Production.INFO: ==22215== Releasing lock...
[2025-02-08 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 22:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:59:02] Production.INFO: ==22217== Lock acquired, processing the job...
[2025-02-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:59:02] Production.INFO: ==22217== Releasing lock...
[2025-02-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 03:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 22:59:03] Production.INFO: ==22228== Lock acquired, processing the job...
[2025-02-08 22:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 22:59:03] Production.INFO: ==22224== Lock acquired, processing the job...
[2025-02-08 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 22:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 22:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 22:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 22:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 22:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 22:59:03] Production.INFO: ==22220== Lock acquired, processing the job...
[2025-02-08 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 22:59:03] Production.INFO: ==22222== Lock acquired, processing the job...
[2025-02-08 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 22:59:03] Production.INFO: ==22226== Lock acquired, processing the job...
[2025-02-08 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 22:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 22:59:04] Production.INFO: ==22230== Lock acquired, processing the job...
[2025-02-08 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 22:59:04] Production.ERROR: done
[2025-02-08 22:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 22:59:04] Production.INFO: Account Balance Start.
[2025-02-08 22:59:04] Production.INFO: CreateAllLog Start
[2025-02-08 22:59:04] Production.INFO: 117
[2025-02-08 22:59:04] Production.INFO: Date 2025-02-08
[2025-02-08 22:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:59:04] Production.INFO: Reseller ==> 0
[2025-02-08 22:59:04] Production.INFO: count ==21
[2025-02-08 22:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 22:59:04] Production.INFO: count ==21
[2025-02-08 22:59:04] Production.ERROR: done
[2025-02-08 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432928') start
[2025-02-08 22:59:04] Production.INFO: Total Charge 0
[2025-02-08 22:59:04] Production.INFO: CreateAllLog End
[2025-02-08 22:59:04] Production.INFO: ==22222== Releasing lock...
[2025-02-08 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 22:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432928') end
[2025-02-08 22:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 22:59:04] Production.INFO: 1
[2025-02-08 22:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 22:59:04] Production.INFO: Account Balance End.
[2025-02-08 22:59:04] Production.ERROR: CronJobId end 12
[2025-02-08 22:59:04] Production.INFO: ==22226== Releasing lock...
[2025-02-08 22:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 22:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 22:59:04] Production.INFO: ==22230== Releasing lock...
[2025-02-08 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 22:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 22:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 19:59:05
[end_date_ymd] => 2025-02-08 22:59:05
[RateCDR] => 1
)
[2025-02-08 22:59: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` >= '2025-02-08 19:59:05' and `end` < '2025-02-08 22:59: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 ,'')
[2025-02-08 22:59:12] Production.ERROR: CronJobId end10
[2025-02-08 22:59:12] Production.INFO: ==22224== Releasing lock...
[2025-02-08 22:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 22:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 22:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 22:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 22:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 22:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 22:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 22:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 22:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 22:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 22:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 22:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 22:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 22:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 22:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 22:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 22:59:14] Production.INFO: call_cost start
[2025-02-08 22:59:14] Production.INFO: call_cost end
[2025-02-08 22:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 22:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 22:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 22:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 22:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 22:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 22:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 22:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 22:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 22:59:15] Production.INFO: ==22220== Releasing lock...
[2025-02-08 22:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 22:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 22:59:19] Production.INFO: count ==1704
[2025-02-08 22:59:19] Production.ERROR: pbx CDR StartTime 2025-02-08 19:59:05 - End Time 2025-02-08 22:59:05
[2025-02-08 22:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 22:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432929', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432929', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432929', 'tblTempVendorCDR_20' ) start
[2025-02-08 22:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432929', 'tblTempVendorCDR_20' ) end
[2025-02-08 22:59:19] Production.INFO: ProcessCDR(1,14432929,1,1,2)
[2025-02-08 22:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:59:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 22:59:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 22:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432929', 'tblTempUsageDetail_20' ) start
[2025-02-08 22:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432929', 'tblTempUsageDetail_20' ) end
[2025-02-08 22:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 22:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 22:59:24] Production.INFO: ==22228== Releasing lock...
[2025-02-08 22:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 22:59:24] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:00:02] Production.INFO: ==22298== Lock acquired, processing the job...
[2025-02-09 04:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:00:02] Production.INFO: neon service started
[2025-02-09 04:00:02] Production.INFO: neon service started
[2025-02-09 04:00:02] Production.INFO: ==22298== Releasing lock...
[2025-02-09 04:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:00:02] Production.INFO: ==22302== Lock acquired, processing the job...
[2025-02-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 23:00:02] Production.INFO: ==22300== Lock acquired, processing the job...
[2025-02-08 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:00:02] Production.INFO: ==22302== Releasing lock...
[2025-02-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:00:03] Production.INFO: ==22300== Releasing lock...
[2025-02-08 23:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:00:04] Production.INFO: ==22307== Lock acquired, processing the job...
[2025-02-08 23:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:00:04] Production.INFO: ==22305== Lock acquired, processing the job...
[2025-02-08 23:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 23:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 23:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:00:04] Production.ERROR: CronJob PID - 22307
[2025-02-08 23:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 23:00:04] Production.ERROR: CronJob ID - 5
[2025-02-08 23:00:04] Production.ERROR: CronJob Last Run Time 2025-02-08 23:00:00
[2025-02-08 23:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:00:04] Production.INFO: ==22315== Lock acquired, processing the job...
[2025-02-08 23:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 23:00:04] Production.INFO: ==22305== Releasing lock...
[2025-02-08 23:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 23:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:00:04] Production.INFO: ==22319== Lock acquired, processing the job...
[2025-02-08 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:00:04] Production.INFO: ==22309== Lock acquired, processing the job...
[2025-02-08 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:00:04] Production.INFO: ==22311== Lock acquired, processing the job...
[2025-02-08 23:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:00:04] Production.INFO: ==22313== Lock acquired, processing the job...
[2025-02-08 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:00:04] Production.INFO: ==22317== Lock acquired, processing the job...
[2025-02-08 23:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 23:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:00:04] Production.INFO: count ==21
[2025-02-08 23:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:00:04] Production.INFO: count ==21
[2025-02-08 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:00:04] Production.ERROR: done
[2025-02-08 23:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:00:04] Production.INFO: Account Balance Start.
[2025-02-08 23:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:00:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432931') start
[2025-02-08 23:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:00:04] Production.INFO: 117
[2025-02-08 23:00:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:00:05] Production.INFO: Reseller ==> 0
[2025-02-08 23:00:05] Production.INFO: Total Charge 0
[2025-02-08 23:00:05] Production.INFO: CreateAllLog End
[2025-02-08 23:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14432931') end
[2025-02-08 23:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:00:05] Production.INFO: 1
[2025-02-08 23:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:00:05] Production.ERROR: done
[2025-02-08 23:00:05] Production.INFO: ==22309== Releasing lock...
[2025-02-08 23:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:00:05] Production.INFO: ==22319== Releasing lock...
[2025-02-08 23:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:00:05] Production.ERROR: done
[2025-02-08 23:00:05] Production.INFO: Account Balance End.
[2025-02-08 23:00:05] Production.ERROR: CronJobId end 12
[2025-02-08 23:00:05] Production.INFO: ==22313== Releasing lock...
[2025-02-08 23:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 23:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432935', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 23:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:00:06
[end_date_ymd] => 2025-02-08 23:00:06
[RateCDR] => 1
)
[2025-02-08 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-02-08 20:00:06' and `end` < '2025-02-08 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-02-08 23:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432935', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 23:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 23:00:09] Production.INFO: ProcessCDR(1,14432935,1,1,2)
[2025-02-08 23:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432935,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432935,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:00:10] Production.INFO: ==22317== Releasing lock...
[2025-02-08 23:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 23:00:10] Production.INFO: 26 MB #Memory Used#
[2025-02-08 23:00:15] Production.ERROR: CronJobId end10
[2025-02-08 23:00:15] Production.INFO: ==22311== Releasing lock...
[2025-02-08 23:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:00:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:00:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:00:16] Production.INFO: call_cost start
[2025-02-08 23:00:16] Production.INFO: call_cost end
[2025-02-08 23:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:00:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:00:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:00:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:00:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:00:16] Production.INFO: ==22307== Releasing lock...
[2025-02-08 23:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:00:19] Production.INFO: count ==1705
[2025-02-08 23:00:20] Production.ERROR: pbx CDR StartTime 2025-02-08 20:00:06 - End Time 2025-02-08 23:00:06
[2025-02-08 23:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432934', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432934', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432934', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432934', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:00:20] Production.INFO: ProcessCDR(1,14432934,1,1,2)
[2025-02-08 23:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432934', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432934', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:00:23] Production.INFO: ==22315== Releasing lock...
[2025-02-08 23:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:00:23] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:01:01] Production.INFO: ==22381== Lock acquired, processing the job...
[2025-02-09 04:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:01:01] Production.INFO: neon service started
[2025-02-09 04:01:01] Production.INFO: neon service started
[2025-02-09 04:01:01] Production.INFO: ==22381== Releasing lock...
[2025-02-09 04:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:01:02] Production.INFO: ==22396== Lock acquired, processing the job...
[2025-02-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:01:02] Production.INFO: ==22396== Releasing lock...
[2025-02-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:01:02] Production.INFO: ==22394== Lock acquired, processing the job...
[2025-02-08 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:01:02] Production.INFO: ==22394== Releasing lock...
[2025-02-08 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:01:03] Production.INFO: ==22400== Lock acquired, processing the job...
[2025-02-08 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:01:03] Production.INFO: ==22398== Lock acquired, processing the job...
[2025-02-08 23:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:01:03] Production.INFO: ==22402== Lock acquired, processing the job...
[2025-02-08 23:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:01:03] Production.INFO: ==22407== Lock acquired, processing the job...
[2025-02-08 23:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:01:03] Production.INFO: ==22405== Lock acquired, processing the job...
[2025-02-08 23:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:01:03] Production.INFO: ==22409== Lock acquired, processing the job...
[2025-02-08 23:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:01:03] Production.INFO: Account Balance Start.
[2025-02-08 23:01:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:01:03] Production.INFO: 117
[2025-02-08 23:01:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:01:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:01:03] Production.INFO: Total Charge 0
[2025-02-08 23:01:03] Production.INFO: CreateAllLog End
[2025-02-08 23:01:03] Production.INFO: ==22400== Releasing lock...
[2025-02-08 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:01:04] Production.INFO: Account Balance End.
[2025-02-08 23:01:04] Production.INFO: count ==21
[2025-02-08 23:01:04] Production.ERROR: done
[2025-02-08 23:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:01:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:01:04] Production.INFO: ==22405== Releasing lock...
[2025-02-08 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:01:04] Production.INFO: count ==21
[2025-02-08 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432939') start
[2025-02-08 23:01:04] Production.ERROR: done
[2025-02-08 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432939') end
[2025-02-08 23:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:01:04] Production.INFO: 1
[2025-02-08 23:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:01:04] Production.INFO: ==22409== Releasing lock...
[2025-02-08 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:01:05
[end_date_ymd] => 2025-02-08 23:01:05
[RateCDR] => 1
)
[2025-02-08 23:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 20:01:05' and `end` < '2025-02-08 23:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-08 23:01:12] Production.ERROR: CronJobId end10
[2025-02-08 23:01:12] Production.INFO: ==22402== Releasing lock...
[2025-02-08 23:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:01:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:01:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:01:14] Production.INFO: call_cost start
[2025-02-08 23:01:14] Production.INFO: call_cost end
[2025-02-08 23:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:01:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:01:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:01:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:01:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:01:15] Production.INFO: ==22398== Releasing lock...
[2025-02-08 23:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:01:18] Production.INFO: count ==1696
[2025-02-08 23:01:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:01:05 - End Time 2025-02-08 23:01:05
[2025-02-08 23:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432940', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432940', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432940', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432940', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:01:19] Production.INFO: ProcessCDR(1,14432940,1,1,2)
[2025-02-08 23:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432940', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432940', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:01:22] Production.INFO: ==22407== Releasing lock...
[2025-02-08 23:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:01:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:02:02] Production.INFO: ==22551== Lock acquired, processing the job...
[2025-02-09 04:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:02:02] Production.INFO: neon service started
[2025-02-09 04:02:02] Production.INFO: neon service started
[2025-02-09 04:02:02] Production.INFO: ==22551== Releasing lock...
[2025-02-09 04:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:02:02] Production.INFO: ==22553== Lock acquired, processing the job...
[2025-02-08 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:02:02] Production.INFO: ==22555== Lock acquired, processing the job...
[2025-02-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 23:02:03] Production.INFO: ==22553== Releasing lock...
[2025-02-08 23:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:02:03] Production.INFO: ==22555== Releasing lock...
[2025-02-09 04:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:02:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:02:03] Production.INFO: ==22557== Lock acquired, processing the job...
[2025-02-08 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:02:03] Production.INFO: ==22559== Lock acquired, processing the job...
[2025-02-08 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:02:03] Production.INFO: ==22561== Lock acquired, processing the job...
[2025-02-08 23:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:02:04] Production.INFO: ==22563== Lock acquired, processing the job...
[2025-02-08 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:02:04] Production.INFO: ==22559== Releasing lock...
[2025-02-08 23:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:02:04] Production.INFO: ==22565== Lock acquired, processing the job...
[2025-02-08 23:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:02:04] Production.INFO: Account Balance Start.
[2025-02-08 23:02:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:02:04] Production.INFO: 117
[2025-02-08 23:02:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:02:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:02:04] Production.INFO: ==22568== Lock acquired, processing the job...
[2025-02-08 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:02:04] Production.INFO: Total Charge 0
[2025-02-08 23:02:04] Production.INFO: CreateAllLog End
[2025-02-08 23:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:02:04] Production.INFO: count ==21
[2025-02-08 23:02:04] Production.ERROR: done
[2025-02-08 23:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:02:04] Production.INFO: count ==21
[2025-02-08 23:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:02:04] Production.INFO: Account Balance End.
[2025-02-08 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432944') start
[2025-02-08 23:02:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:02:04] Production.INFO: ==22563== Releasing lock...
[2025-02-08 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:02:04] Production.ERROR: done
[2025-02-08 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432944') end
[2025-02-08 23:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:02:04] Production.INFO: 1
[2025-02-08 23:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:02:05] Production.INFO: ==22568== Releasing lock...
[2025-02-08 23:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:02:05
[end_date_ymd] => 2025-02-08 23:02:05
[RateCDR] => 1
)
[2025-02-08 23:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 20:02:05' and `end` < '2025-02-08 23:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-08 23:02:12] Production.ERROR: CronJobId end10
[2025-02-08 23:02:12] Production.INFO: ==22561== Releasing lock...
[2025-02-08 23:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:02:15] Production.INFO: call_cost start
[2025-02-08 23:02:15] Production.INFO: call_cost end
[2025-02-08 23:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:02:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:02:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:02:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:02:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:02:16] Production.INFO: ==22557== Releasing lock...
[2025-02-08 23:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:02:19] Production.INFO: count ==1694
[2025-02-08 23:02:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:02:05 - End Time 2025-02-08 23:02:05
[2025-02-08 23:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432945', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432945', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432945', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432945', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:02:19] Production.INFO: ProcessCDR(1,14432945,1,1,2)
[2025-02-08 23:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432945', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432945', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:02:22] Production.INFO: ==22565== Releasing lock...
[2025-02-08 23:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:02:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:03:01] Production.INFO: ==22675== Lock acquired, processing the job...
[2025-02-09 04:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:03:01] Production.INFO: neon service started
[2025-02-09 04:03:01] Production.INFO: neon service started
[2025-02-09 04:03:01] Production.INFO: ==22675== Releasing lock...
[2025-02-09 04:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:03:02] Production.INFO: ==22677== Lock acquired, processing the job...
[2025-02-08 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:03:02] Production.INFO: ==22677== Releasing lock...
[2025-02-08 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:03:02] Production.INFO: ==22679== Lock acquired, processing the job...
[2025-02-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:03:02] Production.INFO: ==22679== Releasing lock...
[2025-02-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:03:03] Production.INFO: ==22683== Lock acquired, processing the job...
[2025-02-08 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:03:03] Production.INFO: ==22689== Lock acquired, processing the job...
[2025-02-08 23:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:03:03] Production.INFO: ==22681== Lock acquired, processing the job...
[2025-02-08 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:03:03] Production.INFO: ==22685== Lock acquired, processing the job...
[2025-02-08 23:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:03:03] Production.INFO: ==22687== Lock acquired, processing the job...
[2025-02-08 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:03:03] Production.INFO: ==22683== Releasing lock...
[2025-02-08 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:03:03] Production.INFO: Account Balance Start.
[2025-02-08 23:03:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:03:03] Production.INFO: ==22692== Lock acquired, processing the job...
[2025-02-08 23:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:03:03] Production.INFO: 117
[2025-02-08 23:03:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:03:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:03:03] Production.ERROR: done
[2025-02-08 23:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:03:03] Production.INFO: Total Charge 0
[2025-02-08 23:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:03:03] Production.INFO: CreateAllLog End
[2025-02-08 23:03:03] Production.INFO: count ==21
[2025-02-08 23:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:03:03] Production.INFO: count ==21
[2025-02-08 23:03:03] Production.ERROR: done
[2025-02-08 23:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432949') start
[2025-02-08 23:03:04] Production.INFO: Account Balance End.
[2025-02-08 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432949') end
[2025-02-08 23:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:03:04] Production.INFO: 1
[2025-02-08 23:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:03:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:03:04] Production.INFO: ==22687== Releasing lock...
[2025-02-08 23:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:03:04] Production.INFO: ==22692== Releasing lock...
[2025-02-08 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:03:04
[end_date_ymd] => 2025-02-08 23:03:04
[RateCDR] => 1
)
[2025-02-08 23:03:04] 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-02-08 20:03:04' and `end` < '2025-02-08 23:03:04'
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-02-08 23:03:10] Production.ERROR: CronJobId end10
[2025-02-08 23:03:10] Production.INFO: ==22685== Releasing lock...
[2025-02-08 23:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:03:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:03:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:03:13] Production.INFO: call_cost start
[2025-02-08 23:03:13] Production.INFO: call_cost end
[2025-02-08 23:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:03:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:03:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:03:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:03:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:03:14] Production.INFO: ==22681== Releasing lock...
[2025-02-08 23:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:03:17] Production.INFO: count ==1692
[2025-02-08 23:03:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:03:04 - End Time 2025-02-08 23:03:04
[2025-02-08 23:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432950', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432950', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432950', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432950', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:03:18] Production.INFO: ProcessCDR(1,14432950,1,1,2)
[2025-02-08 23:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432950', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432950', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:03:21] Production.INFO: ==22689== Releasing lock...
[2025-02-08 23:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:03:21] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:04:02] Production.INFO: ==22760== Lock acquired, processing the job...
[2025-02-09 04:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:04:02] Production.INFO: neon service started
[2025-02-09 04:04:02] Production.INFO: neon service started
[2025-02-09 04:04:02] Production.INFO: ==22760== Releasing lock...
[2025-02-09 04:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:04:02] Production.INFO: ==22762== Lock acquired, processing the job...
[2025-02-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:04:02] Production.INFO: ==22762== Releasing lock...
[2025-02-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:04:02] Production.INFO: ==22764== Lock acquired, processing the job...
[2025-02-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:04:02] Production.INFO: ==22764== Releasing lock...
[2025-02-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:04:03] Production.INFO: ==22766== Lock acquired, processing the job...
[2025-02-08 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:04:03] Production.INFO: ==22768== Lock acquired, processing the job...
[2025-02-08 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:04:03] Production.INFO: ==22775== Lock acquired, processing the job...
[2025-02-08 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:04:03] Production.INFO: ==22772== Lock acquired, processing the job...
[2025-02-08 23:04:03] Production.INFO: ==22770== Lock acquired, processing the job...
[2025-02-08 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:04:04] Production.INFO: ==22777== Lock acquired, processing the job...
[2025-02-08 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:04:04] Production.INFO: ==22768== Releasing lock...
[2025-02-08 23:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:04:04] Production.INFO: Account Balance Start.
[2025-02-08 23:04:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:04:04] Production.INFO: 117
[2025-02-08 23:04:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:04:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:04:04] Production.INFO: count ==21
[2025-02-08 23:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:04:04] Production.INFO: count ==21
[2025-02-08 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432954') start
[2025-02-08 23:04:04] Production.INFO: Total Charge 0
[2025-02-08 23:04:04] Production.ERROR: done
[2025-02-08 23:04:04] Production.INFO: CreateAllLog End
[2025-02-08 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432954') end
[2025-02-08 23:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:04:04] Production.INFO: 1
[2025-02-08 23:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:04:04] Production.INFO: ==22777== Releasing lock...
[2025-02-08 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:04:04] Production.ERROR: done
[2025-02-08 23:04:04] Production.INFO: Account Balance End.
[2025-02-08 23:04:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:04:04] Production.INFO: ==22772== Releasing lock...
[2025-02-08 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:04:05
[end_date_ymd] => 2025-02-08 23:04:05
[RateCDR] => 1
)
[2025-02-08 23:04: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` >= '2025-02-08 20:04:05' and `end` < '2025-02-08 23:04: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 ,'')
[2025-02-08 23:04:11] Production.ERROR: CronJobId end10
[2025-02-08 23:04:11] Production.INFO: ==22770== Releasing lock...
[2025-02-08 23:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:04:14] Production.INFO: call_cost start
[2025-02-08 23:04:14] Production.INFO: call_cost end
[2025-02-08 23:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:04:15] Production.INFO: ==22766== Releasing lock...
[2025-02-08 23:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:04:18] Production.INFO: count ==1690
[2025-02-08 23:04:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:04:05 - End Time 2025-02-08 23:04:05
[2025-02-08 23:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432955', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432955', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432955', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432955', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:04:19] Production.INFO: ProcessCDR(1,14432955,1,1,2)
[2025-02-08 23:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432955', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432955', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:04:22] Production.INFO: ==22775== Releasing lock...
[2025-02-08 23:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:04:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:05:01] Production.INFO: ==22916== Lock acquired, processing the job...
[2025-02-09 04:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:05:01] Production.INFO: neon service started
[2025-02-09 04:05:01] Production.INFO: neon service started
[2025-02-09 04:05:01] Production.INFO: ==22916== Releasing lock...
[2025-02-09 04:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:05:01] Production.INFO: ==22918== Lock acquired, processing the job...
[2025-02-08 23:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:05:02] Production.INFO: ==22918== Releasing lock...
[2025-02-08 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:05:02] Production.INFO: ==22920== Lock acquired, processing the job...
[2025-02-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:05:02] Production.INFO: ==22920== Releasing lock...
[2025-02-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:05:03] Production.INFO: ==22924== Lock acquired, processing the job...
[2025-02-08 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:05:03] Production.INFO: ==22932== Lock acquired, processing the job...
[2025-02-08 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:05:03] Production.INFO: ==22922== Lock acquired, processing the job...
[2025-02-08 23:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:05:03] Production.INFO: ==22926== Lock acquired, processing the job...
[2025-02-08 23:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:05:03] Production.INFO: ==22928== Lock acquired, processing the job...
[2025-02-08 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:05:03] Production.INFO: ==22930== Lock acquired, processing the job...
[2025-02-08 23:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:05:03] Production.INFO: count ==21
[2025-02-08 23:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:05:03] Production.INFO: count ==21
[2025-02-08 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432957') start
[2025-02-08 23:05:03] Production.INFO: ==22924== Releasing lock...
[2025-02-08 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:05:03] Production.INFO: Account Balance Start.
[2025-02-08 23:05:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:05:03] Production.INFO: 117
[2025-02-08 23:05:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432957') end
[2025-02-08 23:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:05:03] Production.INFO: 1
[2025-02-08 23:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:05:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:05:03] Production.INFO: Total Charge 0
[2025-02-08 23:05:03] Production.INFO: CreateAllLog End
[2025-02-08 23:05:03] Production.INFO: ==22932== Releasing lock...
[2025-02-08 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:05:03] Production.INFO: Account Balance End.
[2025-02-08 23:05:03] Production.ERROR: CronJobId end 12
[2025-02-08 23:05:03] Production.INFO: ==22928== Releasing lock...
[2025-02-08 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:05:04] Production.ERROR: done
[2025-02-08 23:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:05:04] Production.ERROR: done
[2025-02-08 23:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:05:04
[end_date_ymd] => 2025-02-08 23:05:04
[RateCDR] => 1
)
[2025-02-08 23:05:04] 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-02-08 20:05:04' and `end` < '2025-02-08 23:05:04'
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-02-08 23:05:11] Production.ERROR: CronJobId end10
[2025-02-08 23:05:11] Production.INFO: ==22926== Releasing lock...
[2025-02-08 23:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:05:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:05:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:05:13] Production.INFO: call_cost start
[2025-02-08 23:05:13] Production.INFO: call_cost end
[2025-02-08 23:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:05:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:05:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:05:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:05:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:05:14] Production.INFO: ==22922== Releasing lock...
[2025-02-08 23:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:05:18] Production.INFO: count ==1690
[2025-02-08 23:05:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:05:04 - End Time 2025-02-08 23:05:04
[2025-02-08 23:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432960', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432960', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432960', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432960', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:05:18] Production.INFO: ProcessCDR(1,14432960,1,1,2)
[2025-02-08 23:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432960', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432960', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:05:21] Production.INFO: ==22930== Releasing lock...
[2025-02-08 23:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:05:21] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:06:01] Production.INFO: ==22993== Lock acquired, processing the job...
[2025-02-09 04:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:06:01] Production.INFO: neon service started
[2025-02-09 04:06:01] Production.INFO: neon service started
[2025-02-09 04:06:01] Production.INFO: ==22993== Releasing lock...
[2025-02-09 04:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:06:02] Production.INFO: ==22999== Lock acquired, processing the job...
[2025-02-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:06:02] Production.INFO: ==22999== Releasing lock...
[2025-02-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:06:02] Production.INFO: ==22997== Lock acquired, processing the job...
[2025-02-08 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:06:02] Production.INFO: ==22997== Releasing lock...
[2025-02-08 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:06:03] Production.INFO: ==23005== Lock acquired, processing the job...
[2025-02-08 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:06:03] Production.INFO: ==23001== Lock acquired, processing the job...
[2025-02-08 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:06:03] Production.INFO: ==23012== Lock acquired, processing the job...
[2025-02-08 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:06:03] Production.INFO: ==23003== Lock acquired, processing the job...
[2025-02-08 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:06:03] Production.INFO: ==23009== Lock acquired, processing the job...
[2025-02-08 23:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:06:03] Production.INFO: count ==21
[2025-02-08 23:06:03] Production.INFO: ==23007== Lock acquired, processing the job...
[2025-02-08 23:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:06:04] Production.INFO: count ==21
[2025-02-08 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432962') start
[2025-02-08 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432962') end
[2025-02-08 23:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:06:04] Production.INFO: 1
[2025-02-08 23:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:06:04] Production.INFO: Account Balance Start.
[2025-02-08 23:06:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:06:04] Production.INFO: 117
[2025-02-08 23:06:04] Production.INFO: ==23012== Releasing lock...
[2025-02-08 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:06:04] Production.ERROR: done
[2025-02-08 23:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:06:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:06:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:06:04] Production.INFO: Total Charge 0
[2025-02-08 23:06:04] Production.ERROR: done
[2025-02-08 23:06:04] Production.INFO: ==23003== Releasing lock...
[2025-02-08 23:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:06:04] Production.INFO: CreateAllLog End
[2025-02-08 23:06:04] Production.INFO: Account Balance End.
[2025-02-08 23:06:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:06:04] Production.INFO: ==23007== Releasing lock...
[2025-02-08 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:06:05
[end_date_ymd] => 2025-02-08 23:06:05
[RateCDR] => 1
)
[2025-02-08 23:06: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` >= '2025-02-08 20:06:05' and `end` < '2025-02-08 23:06: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 ,'')
[2025-02-08 23:06:11] Production.ERROR: CronJobId end10
[2025-02-08 23:06:11] Production.INFO: ==23005== Releasing lock...
[2025-02-08 23:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:06:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:06:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:06:14] Production.INFO: call_cost start
[2025-02-08 23:06:14] Production.INFO: call_cost end
[2025-02-08 23:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:06:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:06:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:06:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:06:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:06:15] Production.INFO: ==23001== Releasing lock...
[2025-02-08 23:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:06:18] Production.INFO: count ==1690
[2025-02-08 23:06:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:06:05 - End Time 2025-02-08 23:06:05
[2025-02-08 23:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432965', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432965', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432965', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432965', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:06:19] Production.INFO: ProcessCDR(1,14432965,1,1,2)
[2025-02-08 23:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432965', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432965', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:06:22] Production.INFO: ==23009== Releasing lock...
[2025-02-08 23:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:06:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:07:01] Production.INFO: ==23073== Lock acquired, processing the job...
[2025-02-09 04:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:07:01] Production.INFO: neon service started
[2025-02-09 04:07:01] Production.INFO: neon service started
[2025-02-09 04:07:01] Production.INFO: ==23073== Releasing lock...
[2025-02-09 04:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:07:01] Production.INFO: ==23075== Lock acquired, processing the job...
[2025-02-08 23:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:07:02] Production.INFO: ==23075== Releasing lock...
[2025-02-08 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:07:02] Production.INFO: ==23077== Lock acquired, processing the job...
[2025-02-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:07:02] Production.INFO: ==23077== Releasing lock...
[2025-02-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:07:02] Production.INFO: ==23083== Lock acquired, processing the job...
[2025-02-08 23:07:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:07:03] Production.INFO: ==23090== Lock acquired, processing the job...
[2025-02-08 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:07:03] Production.INFO: ==23079== Lock acquired, processing the job...
[2025-02-08 23:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:07:03] Production.INFO: ==23081== Lock acquired, processing the job...
[2025-02-08 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:07:03] Production.INFO: count ==21
[2025-02-08 23:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:07:03] Production.INFO: ==23085== Lock acquired, processing the job...
[2025-02-08 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:07:03] Production.INFO: count ==21
[2025-02-08 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432966') start
[2025-02-08 23:07:03] Production.INFO: ==23088== Lock acquired, processing the job...
[2025-02-08 23:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:07:03] Production.INFO: Account Balance Start.
[2025-02-08 23:07:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:07:03] Production.INFO: 117
[2025-02-08 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432966') end
[2025-02-08 23:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:07:03] Production.INFO: 1
[2025-02-08 23:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:07:03] Production.INFO: ==23090== Releasing lock...
[2025-02-08 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:07:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:07:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:07:03] Production.INFO: Total Charge 0
[2025-02-08 23:07:03] Production.INFO: ==23081== Releasing lock...
[2025-02-08 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:07:03] Production.ERROR: done
[2025-02-08 23:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:07:03] Production.INFO: CreateAllLog End
[2025-02-08 23:07:04] Production.ERROR: done
[2025-02-08 23:07:04] Production.INFO: Account Balance End.
[2025-02-08 23:07:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:07:04] Production.INFO: ==23085== Releasing lock...
[2025-02-08 23:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:07:05
[end_date_ymd] => 2025-02-08 23:07:05
[RateCDR] => 1
)
[2025-02-08 23:07: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` >= '2025-02-08 20:07:05' and `end` < '2025-02-08 23:07: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 ,'')
[2025-02-08 23:07:12] Production.ERROR: CronJobId end10
[2025-02-08 23:07:12] Production.INFO: ==23083== Releasing lock...
[2025-02-08 23:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:07:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:07:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:07:13] Production.INFO: call_cost start
[2025-02-08 23:07:13] Production.INFO: call_cost end
[2025-02-08 23:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:07:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:07:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:07:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:07:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:07:14] Production.INFO: ==23079== Releasing lock...
[2025-02-08 23:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:07:18] Production.INFO: count ==1689
[2025-02-08 23:07:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:07:05 - End Time 2025-02-08 23:07:05
[2025-02-08 23:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432970', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432970', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432970', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432970', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:07:19] Production.INFO: ProcessCDR(1,14432970,1,1,2)
[2025-02-08 23:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432970', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432970', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:07:22] Production.INFO: ==23088== Releasing lock...
[2025-02-08 23:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:07:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:08:01] Production.INFO: ==23156== Lock acquired, processing the job...
[2025-02-09 04:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:08:01] Production.INFO: neon service started
[2025-02-09 04:08:01] Production.INFO: neon service started
[2025-02-09 04:08:01] Production.INFO: ==23156== Releasing lock...
[2025-02-09 04:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:08:02] Production.INFO: ==23200== Lock acquired, processing the job...
[2025-02-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:08:02] Production.INFO: ==23200== Releasing lock...
[2025-02-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:08:02] Production.INFO: ==23198== Lock acquired, processing the job...
[2025-02-08 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:08:02] Production.INFO: ==23198== Releasing lock...
[2025-02-08 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:08:03] Production.INFO: ==23204== Lock acquired, processing the job...
[2025-02-08 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:08:03] Production.INFO: ==23212== Lock acquired, processing the job...
[2025-02-08 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:08:03] Production.INFO: ==23202== Lock acquired, processing the job...
[2025-02-08 23:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:08:03] Production.INFO: ==23204== Releasing lock...
[2025-02-08 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:08:03] Production.INFO: count ==21
[2025-02-08 23:08:03] Production.INFO: ==23206== Lock acquired, processing the job...
[2025-02-08 23:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:08:03] Production.INFO: count ==21
[2025-02-08 23:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432972') start
[2025-02-08 23:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:08:03] Production.INFO: ==23208== Lock acquired, processing the job...
[2025-02-08 23:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:08:03] Production.INFO: ==23210== Lock acquired, processing the job...
[2025-02-08 23:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432972') end
[2025-02-08 23:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:08:03] Production.INFO: 1
[2025-02-08 23:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:08:03] Production.INFO: Account Balance Start.
[2025-02-08 23:08:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:08:03] Production.INFO: 117
[2025-02-08 23:08:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:08:03] Production.INFO: ==23212== Releasing lock...
[2025-02-08 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:08:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:08:03] Production.INFO: Total Charge 0
[2025-02-08 23:08:03] Production.INFO: CreateAllLog End
[2025-02-08 23:08:04] Production.INFO: Account Balance End.
[2025-02-08 23:08:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:08:04] Production.INFO: ==23208== Releasing lock...
[2025-02-08 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:08:04] Production.ERROR: done
[2025-02-08 23:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:08:04] Production.ERROR: done
[2025-02-08 23:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:08:05
[end_date_ymd] => 2025-02-08 23:08:05
[RateCDR] => 1
)
[2025-02-08 23:08: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` >= '2025-02-08 20:08:05' and `end` < '2025-02-08 23:08: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 ,'')
[2025-02-08 23:08:11] Production.ERROR: CronJobId end10
[2025-02-08 23:08:11] Production.INFO: ==23206== Releasing lock...
[2025-02-08 23:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:08:14] Production.INFO: call_cost start
[2025-02-08 23:08:14] Production.INFO: call_cost end
[2025-02-08 23:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:08:15] Production.INFO: ==23202== Releasing lock...
[2025-02-08 23:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:08:19] Production.INFO: count ==1683
[2025-02-08 23:08:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:08:05 - End Time 2025-02-08 23:08:05
[2025-02-08 23:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432975', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432975', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432975', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432975', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:08:19] Production.INFO: ProcessCDR(1,14432975,1,1,2)
[2025-02-08 23:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432975', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432975', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:08:22] Production.INFO: ==23210== Releasing lock...
[2025-02-08 23:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:08:22] Production.INFO: 40.75 MB #Memory Used#
[2025-02-09 04:09:02] Production.INFO: ==23319== Lock acquired, processing the job...
[2025-02-09 04:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:09:02] Production.INFO: neon service started
[2025-02-09 04:09:02] Production.INFO: neon service started
[2025-02-09 04:09:02] Production.INFO: ==23319== Releasing lock...
[2025-02-09 04:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:09:02] Production.INFO: ==23323== Lock acquired, processing the job...
[2025-02-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 23:09:02] Production.INFO: ==23321== Lock acquired, processing the job...
[2025-02-08 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:09:02] Production.INFO: ==23323== Releasing lock...
[2025-02-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:09:03] Production.INFO: ==23321== Releasing lock...
[2025-02-08 23:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:09:03] Production.INFO: ==23328== Lock acquired, processing the job...
[2025-02-08 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:09:04] Production.INFO: ==23332== Lock acquired, processing the job...
[2025-02-08 23:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:09:04] Production.INFO: Account Balance Start.
[2025-02-08 23:09:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:09:04] Production.INFO: 117
[2025-02-08 23:09:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:09:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:09:04] Production.INFO: ==23326== Lock acquired, processing the job...
[2025-02-08 23:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:09:04] Production.INFO: Total Charge 0
[2025-02-08 23:09:04] Production.INFO: ==23330== Lock acquired, processing the job...
[2025-02-08 23:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:09:04] Production.INFO: CreateAllLog End
[2025-02-08 23:09:04] Production.INFO: ==23334== Lock acquired, processing the job...
[2025-02-08 23:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:09:04] Production.INFO: ==23336== Lock acquired, processing the job...
[2025-02-08 23:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:09:04] Production.INFO: Account Balance End.
[2025-02-08 23:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:09:04] Production.INFO: ==23328== Releasing lock...
[2025-02-08 23:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:09:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:09:04] Production.INFO: ==23332== Releasing lock...
[2025-02-08 23:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:09:04] Production.INFO: count ==21
[2025-02-08 23:09:04] Production.ERROR: done
[2025-02-08 23:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:09:04] Production.INFO: count ==21
[2025-02-08 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432979') start
[2025-02-08 23:09:04] Production.ERROR: done
[2025-02-08 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432979') end
[2025-02-08 23:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:09:04] Production.INFO: 1
[2025-02-08 23:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:09:05] Production.INFO: ==23336== Releasing lock...
[2025-02-08 23:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:09:05
[end_date_ymd] => 2025-02-08 23:09:05
[RateCDR] => 1
)
[2025-02-08 23:09: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` >= '2025-02-08 20:09:05' and `end` < '2025-02-08 23:09: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 ,'')
[2025-02-08 23:09:12] Production.ERROR: CronJobId end10
[2025-02-08 23:09:12] Production.INFO: ==23330== Releasing lock...
[2025-02-08 23:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:09:14] Production.INFO: call_cost start
[2025-02-08 23:09:14] Production.INFO: call_cost end
[2025-02-08 23:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:09:15] Production.INFO: ==23326== Releasing lock...
[2025-02-08 23:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:09:20] Production.INFO: count ==1679
[2025-02-08 23:09:20] Production.ERROR: pbx CDR StartTime 2025-02-08 20:09:05 - End Time 2025-02-08 23:09:05
[2025-02-08 23:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432980', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432980', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432980', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432980', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:09:20] Production.INFO: ProcessCDR(1,14432980,1,1,2)
[2025-02-08 23:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432980', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432980', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:09:23] Production.INFO: ==23334== Releasing lock...
[2025-02-08 23:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:09:23] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:10:01] Production.INFO: ==23410== Lock acquired, processing the job...
[2025-02-09 04:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:10:01] Production.INFO: neon service started
[2025-02-09 04:10:01] Production.INFO: neon service started
[2025-02-09 04:10:01] Production.INFO: ==23410== Releasing lock...
[2025-02-09 04:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:10:02] Production.INFO: ==23412== Lock acquired, processing the job...
[2025-02-08 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:10:02] Production.INFO: ==23412== Releasing lock...
[2025-02-08 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:10:02] Production.INFO: ==23414== Lock acquired, processing the job...
[2025-02-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:10:02] Production.INFO: ==23414== Releasing lock...
[2025-02-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:10:03] Production.INFO: ==23421== Lock acquired, processing the job...
[2025-02-08 23:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:10:03] Production.INFO: ==23425== Lock acquired, processing the job...
[2025-02-08 23:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:10:03] Production.INFO: ==23417== Lock acquired, processing the job...
[2025-02-08 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 23:10:03] Production.INFO: ==23419== Lock acquired, processing the job...
[2025-02-08 23:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:10:03] Production.INFO: ==23431== Lock acquired, processing the job...
[2025-02-08 23:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:10:03] Production.ERROR: CronJob PID - 23419
[2025-02-08 23:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 23:10:03] Production.ERROR: CronJob ID - 5
[2025-02-08 23:10:03] Production.ERROR: CronJob Last Run Time 2025-02-08 23:10:00
[2025-02-08 23:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:10:03] Production.ERROR: CronJob PID - 23421
[2025-02-08 23:10:03] Production.ERROR: CronJob Title - Account Block
[2025-02-08 23:10:03] Production.ERROR: CronJob ID - 7
[2025-02-08 23:10:03] Production.ERROR: CronJob Last Run Time 2025-02-08 23:10:00
[2025-02-08 23:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:10:03] Production.ERROR: CronJob PID - 23425
[2025-02-08 23:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-08 23:10:03] Production.ERROR: CronJob ID - 12
[2025-02-08 23:10:03] Production.ERROR: CronJob Last Run Time 2025-02-08 23:10:00
[2025-02-08 23:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:10:03] Production.ERROR: CronJob PID - 23431
[2025-02-08 23:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-08 23:10:03] Production.ERROR: CronJob ID - 19
[2025-02-08 23:10:03] Production.ERROR: CronJob Last Run Time 2025-02-08 23:10:00
[2025-02-08 23:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 23:10:03] Production.INFO: ==23417== Releasing lock...
[2025-02-08 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 23:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 23:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:10:03] Production.INFO: ==23423== Lock acquired, processing the job...
[2025-02-08 23:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:10:04] Production.INFO: count ==21
[2025-02-08 23:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:10:04] Production.INFO: Account Balance Start.
[2025-02-08 23:10:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:10:04] Production.INFO: 117
[2025-02-08 23:10:04] Production.INFO: count ==21
[2025-02-08 23:10:04] Production.INFO: ==23427== Lock acquired, processing the job...
[2025-02-08 23:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:10:04] Production.INFO: ==23421== Releasing lock...
[2025-02-08 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432982') start
[2025-02-08 23:10:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:10:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:10:04] Production.INFO: ==23429== Lock acquired, processing the job...
[2025-02-08 23:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 23:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432982') end
[2025-02-08 23:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:10:04] Production.INFO: 1
[2025-02-08 23:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:10:04] Production.INFO: Total Charge 0
[2025-02-08 23:10:04] Production.INFO: ==23431== Releasing lock...
[2025-02-08 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:10:04] Production.INFO: CreateAllLog End
[2025-02-08 23:10:04] Production.ERROR: done
[2025-02-08 23:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:10:04] Production.ERROR: done
[2025-02-08 23:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 23:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432985', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 23:10:04] Production.ERROR: done
[2025-02-08 23:10:04] Production.INFO: Account Balance End.
[2025-02-08 23:10:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:10:04] Production.INFO: ==23425== Releasing lock...
[2025-02-08 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:10:05
[end_date_ymd] => 2025-02-08 23:10:05
[RateCDR] => 1
)
[2025-02-08 23:10: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` >= '2025-02-08 20:10:05' and `end` < '2025-02-08 23:10: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 ,'')
[2025-02-08 23:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14432985', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 23:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 23:10:09] Production.INFO: ProcessCDR(1,14432985,1,1,2)
[2025-02-08 23:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14432985,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14432985,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:10:09] Production.INFO: ==23429== Releasing lock...
[2025-02-08 23:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 23:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 23:10:13] Production.ERROR: CronJobId end10
[2025-02-08 23:10:13] Production.INFO: ==23423== Releasing lock...
[2025-02-08 23:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:10:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:10:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:10:16] Production.INFO: call_cost start
[2025-02-08 23:10:16] Production.INFO: call_cost end
[2025-02-08 23:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:10:17] Production.INFO: ==23419== Releasing lock...
[2025-02-08 23:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:10:18] Production.INFO: count ==1678
[2025-02-08 23:10:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:10:05 - End Time 2025-02-08 23:10:05
[2025-02-08 23:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432986', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432986', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432986', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432986', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:10:19] Production.INFO: ProcessCDR(1,14432986,1,1,2)
[2025-02-08 23:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432986', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432986', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:10:22] Production.INFO: ==23427== Releasing lock...
[2025-02-08 23:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:10:22] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 04:11:02] Production.INFO: ==23529== Lock acquired, processing the job...
[2025-02-09 04:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:11:02] Production.INFO: neon service started
[2025-02-09 04:11:02] Production.INFO: neon service started
[2025-02-09 04:11:02] Production.INFO: ==23529== Releasing lock...
[2025-02-09 04:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:11:02] Production.INFO: ==23531== Lock acquired, processing the job...
[2025-02-08 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:11:02] Production.INFO: ==23533== Lock acquired, processing the job...
[2025-02-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:11:02] Production.INFO: ==23533== Releasing lock...
[2025-02-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:11:03] Production.INFO: ==23531== Releasing lock...
[2025-02-08 23:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:11:04] Production.INFO: ==23536== Lock acquired, processing the job...
[2025-02-08 23:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:11:04] Production.INFO: ==23538== Lock acquired, processing the job...
[2025-02-08 23:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:11:04] Production.INFO: ==23542== Lock acquired, processing the job...
[2025-02-08 23:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:11:04] Production.INFO: ==23544== Lock acquired, processing the job...
[2025-02-08 23:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:11:04] Production.INFO: ==23546== Lock acquired, processing the job...
[2025-02-08 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:11:04] Production.INFO: ==23540== Lock acquired, processing the job...
[2025-02-08 23:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:11:04] Production.INFO: Account Balance Start.
[2025-02-08 23:11:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:11:04] Production.INFO: 117
[2025-02-08 23:11:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:11:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:11:04] Production.INFO: Total Charge 0
[2025-02-08 23:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:11:04] Production.INFO: CreateAllLog End
[2025-02-08 23:11:04] Production.INFO: ==23538== Releasing lock...
[2025-02-08 23:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:11:04] Production.INFO: count ==21
[2025-02-08 23:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:11:04] Production.INFO: count ==21
[2025-02-08 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432990') start
[2025-02-08 23:11:04] Production.INFO: Account Balance End.
[2025-02-08 23:11:04] Production.ERROR: done
[2025-02-08 23:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:11:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:11:04] Production.INFO: ==23542== Releasing lock...
[2025-02-08 23:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14432990') end
[2025-02-08 23:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:11:04] Production.INFO: 1
[2025-02-08 23:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:11:04] Production.ERROR: done
[2025-02-08 23:11:05] Production.INFO: ==23546== Releasing lock...
[2025-02-08 23:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:11:05
[end_date_ymd] => 2025-02-08 23:11:05
[RateCDR] => 1
)
[2025-02-08 23:11: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` >= '2025-02-08 20:11:05' and `end` < '2025-02-08 23:11: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 ,'')
[2025-02-08 23:11:13] Production.ERROR: CronJobId end10
[2025-02-08 23:11:13] Production.INFO: ==23540== Releasing lock...
[2025-02-08 23:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:11:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:11:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:11:15] Production.INFO: call_cost start
[2025-02-08 23:11:15] Production.INFO: call_cost end
[2025-02-08 23:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:11:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:11:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:11:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:11:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:11:16] Production.INFO: ==23536== Releasing lock...
[2025-02-08 23:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:11:20] Production.INFO: count ==1660
[2025-02-08 23:11:20] Production.ERROR: pbx CDR StartTime 2025-02-08 20:11:05 - End Time 2025-02-08 23:11:05
[2025-02-08 23:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432991', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432991', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432991', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432991', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:11:20] Production.INFO: ProcessCDR(1,14432991,1,1,2)
[2025-02-08 23:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432991', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432991', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:11:23] Production.INFO: ==23544== Releasing lock...
[2025-02-08 23:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:11:23] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 04:12:01] Production.INFO: ==23716== Lock acquired, processing the job...
[2025-02-09 04:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:12:01] Production.INFO: neon service started
[2025-02-09 04:12:01] Production.INFO: neon service started
[2025-02-09 04:12:01] Production.INFO: ==23716== Releasing lock...
[2025-02-09 04:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:12:02] Production.INFO: ==23718== Lock acquired, processing the job...
[2025-02-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:12:02] Production.INFO: ==23718== Releasing lock...
[2025-02-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:12:02] Production.INFO: ==23720== Lock acquired, processing the job...
[2025-02-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:12:02] Production.INFO: ==23720== Releasing lock...
[2025-02-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:12:03] Production.INFO: ==23728== Lock acquired, processing the job...
[2025-02-08 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:12:03] Production.INFO: ==23732== Lock acquired, processing the job...
[2025-02-08 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:12:03] Production.INFO: Account Balance Start.
[2025-02-08 23:12:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:12:03] Production.INFO: 117
[2025-02-08 23:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:12:03] Production.INFO: count ==21
[2025-02-08 23:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:12:03] Production.INFO: count ==21
[2025-02-08 23:12:03] Production.INFO: ==23724== Lock acquired, processing the job...
[2025-02-08 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432992') start
[2025-02-08 23:12:03] Production.INFO: ==23722== Lock acquired, processing the job...
[2025-02-08 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:12:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:12:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:12:03] Production.INFO: ==23726== Lock acquired, processing the job...
[2025-02-08 23:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:12:03] Production.INFO: Total Charge 0
[2025-02-08 23:12:03] Production.INFO: ==23730== Lock acquired, processing the job...
[2025-02-08 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:12:03] Production.INFO: CreateAllLog End
[2025-02-08 23:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14432992') end
[2025-02-08 23:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:12:03] Production.INFO: 1
[2025-02-08 23:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:12:03] Production.INFO: Account Balance End.
[2025-02-08 23:12:03] Production.INFO: ==23732== Releasing lock...
[2025-02-08 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:12:03] Production.ERROR: CronJobId end 12
[2025-02-08 23:12:03] Production.INFO: ==23728== Releasing lock...
[2025-02-08 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:12:04] Production.ERROR: done
[2025-02-08 23:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:12:04] Production.INFO: ==23724== Releasing lock...
[2025-02-08 23:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:12:04] Production.ERROR: done
[2025-02-08 23:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:12:05
[end_date_ymd] => 2025-02-08 23:12:05
[RateCDR] => 1
)
[2025-02-08 23:12: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` >= '2025-02-08 20:12:05' and `end` < '2025-02-08 23:12: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 ,'')
[2025-02-08 23:12:13] Production.ERROR: CronJobId end10
[2025-02-08 23:12:13] Production.INFO: ==23726== Releasing lock...
[2025-02-08 23:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:12:14] Production.INFO: call_cost start
[2025-02-08 23:12:14] Production.INFO: call_cost end
[2025-02-08 23:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:12:15] Production.INFO: ==23722== Releasing lock...
[2025-02-08 23:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:12:18] Production.INFO: count ==1653
[2025-02-08 23:12:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:12:05 - End Time 2025-02-08 23:12:05
[2025-02-08 23:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432996', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14432996', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432996', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14432996', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:12:18] Production.INFO: ProcessCDR(1,14432996,1,1,2)
[2025-02-08 23:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14432996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14432996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14432996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14432996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432996', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14432996', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:12:21] Production.INFO: ==23730== Releasing lock...
[2025-02-08 23:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:12:21] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 04:13:02] Production.INFO: ==23828== Lock acquired, processing the job...
[2025-02-09 04:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:13:02] Production.INFO: neon service started
[2025-02-09 04:13:02] Production.INFO: neon service started
[2025-02-09 04:13:02] Production.INFO: ==23828== Releasing lock...
[2025-02-09 04:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:13:02] Production.INFO: ==23832== Lock acquired, processing the job...
[2025-02-08 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:13:02] Production.INFO: ==23832== Releasing lock...
[2025-02-08 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:13:02] Production.INFO: ==23834== Lock acquired, processing the job...
[2025-02-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:13:03] Production.INFO: ==23834== Releasing lock...
[2025-02-09 04:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:13:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:13:03] Production.INFO: ==23837== Lock acquired, processing the job...
[2025-02-08 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:13:03] Production.INFO: ==23841== Lock acquired, processing the job...
[2025-02-08 23:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:13:03] Production.INFO: ==23843== Lock acquired, processing the job...
[2025-02-08 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:13:03] Production.INFO: ==23839== Lock acquired, processing the job...
[2025-02-08 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:13:03] Production.INFO: ==23847== Lock acquired, processing the job...
[2025-02-08 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:13:03] Production.INFO: Account Balance Start.
[2025-02-08 23:13:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:13:03] Production.INFO: 117
[2025-02-08 23:13:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:13:03] Production.INFO: ==23845== Lock acquired, processing the job...
[2025-02-08 23:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:13:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:13:03] Production.INFO: Total Charge 0
[2025-02-08 23:13:04] Production.INFO: CreateAllLog End
[2025-02-08 23:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:13:04] Production.INFO: count ==21
[2025-02-08 23:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:13:04] Production.INFO: count ==21
[2025-02-08 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433000') start
[2025-02-08 23:13:04] Production.INFO: ==23839== Releasing lock...
[2025-02-08 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:13:04] Production.INFO: Account Balance End.
[2025-02-08 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433000') end
[2025-02-08 23:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:13:04] Production.INFO: 1
[2025-02-08 23:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:13:04] Production.INFO: ==23847== Releasing lock...
[2025-02-08 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:13:04] Production.ERROR: done
[2025-02-08 23:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:13:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:13:04] Production.INFO: ==23843== Releasing lock...
[2025-02-08 23:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:13:04] Production.ERROR: done
[2025-02-08 23:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:13:05
[end_date_ymd] => 2025-02-08 23:13:05
[RateCDR] => 1
)
[2025-02-08 23:13: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` >= '2025-02-08 20:13:05' and `end` < '2025-02-08 23:13: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 ,'')
[2025-02-08 23:13:13] Production.ERROR: CronJobId end10
[2025-02-08 23:13:13] Production.INFO: ==23841== Releasing lock...
[2025-02-08 23:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:13:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:13:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:13:14] Production.INFO: call_cost start
[2025-02-08 23:13:14] Production.INFO: call_cost end
[2025-02-08 23:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:13:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:13:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:13:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:13:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:13:15] Production.INFO: ==23837== Releasing lock...
[2025-02-08 23:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:13:18] Production.INFO: count ==1648
[2025-02-08 23:13:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:13:05 - End Time 2025-02-08 23:13:05
[2025-02-08 23:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433001', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433001', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433001', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433001', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:13:18] Production.INFO: ProcessCDR(1,14433001,1,1,2)
[2025-02-08 23:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433001', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433001', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:13:21] Production.INFO: ==23845== Releasing lock...
[2025-02-08 23:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:13:21] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 04:14:01] Production.INFO: ==23940== Lock acquired, processing the job...
[2025-02-09 04:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:14:01] Production.INFO: neon service started
[2025-02-09 04:14:01] Production.INFO: neon service started
[2025-02-09 04:14:01] Production.INFO: ==23940== Releasing lock...
[2025-02-09 04:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:14:01] Production.INFO: ==23942== Lock acquired, processing the job...
[2025-02-08 23:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:14:02] Production.INFO: ==23944== Lock acquired, processing the job...
[2025-02-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:14:02] Production.INFO: ==23944== Releasing lock...
[2025-02-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:14:02] Production.INFO: ==23942== Releasing lock...
[2025-02-08 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:14:03] Production.INFO: ==23947== Lock acquired, processing the job...
[2025-02-08 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:14:03] Production.INFO: ==23953== Lock acquired, processing the job...
[2025-02-08 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:14:03] Production.INFO: ==23955== Lock acquired, processing the job...
[2025-02-08 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:14:03] Production.INFO: Account Balance Start.
[2025-02-08 23:14:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:14:03] Production.INFO: 117
[2025-02-08 23:14:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:14:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:14:03] Production.INFO: Total Charge 0
[2025-02-08 23:14:03] Production.INFO: ==23949== Lock acquired, processing the job...
[2025-02-08 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:14:03] Production.INFO: ==23951== Lock acquired, processing the job...
[2025-02-08 23:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:14:03] Production.INFO: CreateAllLog End
[2025-02-08 23:14:03] Production.INFO: ==23957== Lock acquired, processing the job...
[2025-02-08 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:14:03] Production.ERROR: done
[2025-02-08 23:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:14:03] Production.INFO: count ==21
[2025-02-08 23:14:03] Production.INFO: Account Balance End.
[2025-02-08 23:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:14:03] Production.INFO: count ==21
[2025-02-08 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433005') start
[2025-02-08 23:14:03] Production.ERROR: CronJobId end 12
[2025-02-08 23:14:03] Production.INFO: ==23953== Releasing lock...
[2025-02-08 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:14:03] Production.ERROR: done
[2025-02-08 23:14:03] Production.INFO: ==23949== Releasing lock...
[2025-02-08 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433005') end
[2025-02-08 23:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:14:03] Production.INFO: 1
[2025-02-08 23:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:14:04] Production.INFO: ==23957== Releasing lock...
[2025-02-08 23:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:14:04
[end_date_ymd] => 2025-02-08 23:14:04
[RateCDR] => 1
)
[2025-02-08 23:14:04] 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-02-08 20:14:04' and `end` < '2025-02-08 23:14:04'
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-02-08 23:14:11] Production.ERROR: CronJobId end10
[2025-02-08 23:14:11] Production.INFO: ==23951== Releasing lock...
[2025-02-08 23:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:14:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:14:14] Production.INFO: call_cost start
[2025-02-08 23:14:14] Production.INFO: call_cost end
[2025-02-08 23:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:14:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:14:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:14:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:14:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:14:14] Production.INFO: ==23947== Releasing lock...
[2025-02-08 23:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:14:18] Production.INFO: count ==1644
[2025-02-08 23:14:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:14:04 - End Time 2025-02-08 23:14:04
[2025-02-08 23:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433006', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433006', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433006', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433006', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:14:18] Production.INFO: ProcessCDR(1,14433006,1,1,2)
[2025-02-08 23:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433006', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433006', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:14:21] Production.INFO: ==23955== Releasing lock...
[2025-02-08 23:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:14:21] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:15:01] Production.INFO: ==24086== Lock acquired, processing the job...
[2025-02-09 04:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:15:02] Production.INFO: neon service started
[2025-02-09 04:15:02] Production.INFO: neon service started
[2025-02-09 04:15:02] Production.INFO: ==24086== Releasing lock...
[2025-02-09 04:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:15:02] Production.INFO: ==24090== Lock acquired, processing the job...
[2025-02-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:15:02] Production.INFO: ==24090== Releasing lock...
[2025-02-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:15:02] Production.INFO: ==24088== Lock acquired, processing the job...
[2025-02-08 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:15:02] Production.INFO: ==24088== Releasing lock...
[2025-02-08 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:15:03] Production.INFO: ==24095== Lock acquired, processing the job...
[2025-02-08 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:15:03] Production.INFO: ==24097== Lock acquired, processing the job...
[2025-02-08 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:15:03] Production.INFO: ==24101== Lock acquired, processing the job...
[2025-02-08 23:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:15:03] Production.INFO: ==24093== Lock acquired, processing the job...
[2025-02-08 23:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:15:03] Production.INFO: ==24099== Lock acquired, processing the job...
[2025-02-08 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:15:04] Production.INFO: ==24103== Lock acquired, processing the job...
[2025-02-08 23:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:15:04] Production.INFO: ==24095== Releasing lock...
[2025-02-08 23:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:15:04] Production.INFO: Account Balance Start.
[2025-02-08 23:15:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:15:04] Production.INFO: 117
[2025-02-08 23:15:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:15:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:15:04] Production.INFO: Total Charge 0
[2025-02-08 23:15:04] Production.INFO: CreateAllLog End
[2025-02-08 23:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:15:04] Production.ERROR: done
[2025-02-08 23:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:15:04] Production.INFO: count ==21
[2025-02-08 23:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:15:04] Production.INFO: count ==21
[2025-02-08 23:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433010') start
[2025-02-08 23:15:04] Production.ERROR: done
[2025-02-08 23:15:04] Production.INFO: Account Balance End.
[2025-02-08 23:15:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:15:04] Production.INFO: ==24099== Releasing lock...
[2025-02-08 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433010') end
[2025-02-08 23:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:15:04] Production.INFO: 1
[2025-02-08 23:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:15:04] Production.INFO: ==24103== Releasing lock...
[2025-02-08 23:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:15:05
[end_date_ymd] => 2025-02-08 23:15:05
[RateCDR] => 1
)
[2025-02-08 23:15: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` >= '2025-02-08 20:15:05' and `end` < '2025-02-08 23:15: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 ,'')
[2025-02-08 23:15:12] Production.ERROR: CronJobId end10
[2025-02-08 23:15:12] Production.INFO: ==24097== Releasing lock...
[2025-02-08 23:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:15:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:15:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:15:15] Production.INFO: call_cost start
[2025-02-08 23:15:15] Production.INFO: call_cost end
[2025-02-08 23:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:15:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:15:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:15:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:15:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:15:16] Production.INFO: ==24093== Releasing lock...
[2025-02-08 23:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:15:18] Production.INFO: count ==1648
[2025-02-08 23:15:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:15:05 - End Time 2025-02-08 23:15:05
[2025-02-08 23:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433011', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433011', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433011', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433011', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:15:19] Production.INFO: ProcessCDR(1,14433011,1,1,2)
[2025-02-08 23:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433011', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433011', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:15:22] Production.INFO: ==24101== Releasing lock...
[2025-02-08 23:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:15:22] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 04:16:01] Production.INFO: ==24236== Lock acquired, processing the job...
[2025-02-09 04:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:16:01] Production.INFO: neon service started
[2025-02-09 04:16:01] Production.INFO: neon service started
[2025-02-09 04:16:01] Production.INFO: ==24236== Releasing lock...
[2025-02-09 04:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:16:01] Production.INFO: ==24238== Lock acquired, processing the job...
[2025-02-08 23:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:16:02] Production.INFO: ==24238== Releasing lock...
[2025-02-08 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:16:02] Production.INFO: ==24240== Lock acquired, processing the job...
[2025-02-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:16:02] Production.INFO: ==24240== Releasing lock...
[2025-02-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:16:02] Production.INFO: ==24251== Lock acquired, processing the job...
[2025-02-08 23:16:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:16:02] Production.INFO: Account Balance Start.
[2025-02-08 23:16:02] Production.INFO: CreateAllLog Start
[2025-02-08 23:16:02] Production.INFO: 117
[2025-02-08 23:16:02] Production.INFO: Date 2025-02-08
[2025-02-08 23:16:02] Production.INFO: Reseller ==> 0
[2025-02-08 23:16:03] Production.INFO: Total Charge 0
[2025-02-08 23:16:03] Production.INFO: CreateAllLog End
[2025-02-08 23:16:03] Production.INFO: Account Balance End.
[2025-02-08 23:16:03] Production.ERROR: CronJobId end 12
[2025-02-08 23:16:03] Production.INFO: ==24251== Releasing lock...
[2025-02-08 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:16:03] Production.INFO: ==24245== Lock acquired, processing the job...
[2025-02-08 23:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:16:03] Production.INFO: ==24247== Lock acquired, processing the job...
[2025-02-08 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:16:03] Production.INFO: ==24249== Lock acquired, processing the job...
[2025-02-08 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:16:03] Production.INFO: ==24255== Lock acquired, processing the job...
[2025-02-08 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:16:03] Production.INFO: ==24253== Lock acquired, processing the job...
[2025-02-08 23:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:16:03] Production.INFO: count ==21
[2025-02-08 23:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:16:03] Production.INFO: count ==21
[2025-02-08 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433015') start
[2025-02-08 23:16:03] Production.INFO: ==24247== Releasing lock...
[2025-02-08 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433015') end
[2025-02-08 23:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:16:03] Production.INFO: 1
[2025-02-08 23:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:16:03] Production.ERROR: done
[2025-02-08 23:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:16:03] Production.INFO: ==24255== Releasing lock...
[2025-02-08 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:16:04] Production.ERROR: done
[2025-02-08 23:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:16:05
[end_date_ymd] => 2025-02-08 23:16:05
[RateCDR] => 1
)
[2025-02-08 23:16: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` >= '2025-02-08 20:16:05' and `end` < '2025-02-08 23:16: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 ,'')
[2025-02-08 23:16:11] Production.ERROR: CronJobId end10
[2025-02-08 23:16:11] Production.INFO: ==24249== Releasing lock...
[2025-02-08 23:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:16:14] Production.INFO: call_cost start
[2025-02-08 23:16:14] Production.INFO: call_cost end
[2025-02-08 23:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:16:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:16:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:16:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:16:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:16:15] Production.INFO: ==24245== Releasing lock...
[2025-02-08 23:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:16:18] Production.INFO: count ==1643
[2025-02-08 23:16:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:16:05 - End Time 2025-02-08 23:16:05
[2025-02-08 23:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433016', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433016', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433016', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433016', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:16:18] Production.INFO: ProcessCDR(1,14433016,1,1,2)
[2025-02-08 23:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433016', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433016', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:16:21] Production.INFO: ==24253== Releasing lock...
[2025-02-08 23:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:16:21] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:17:01] Production.INFO: ==24345== Lock acquired, processing the job...
[2025-02-09 04:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:17:01] Production.INFO: neon service started
[2025-02-09 04:17:01] Production.INFO: neon service started
[2025-02-09 04:17:01] Production.INFO: ==24345== Releasing lock...
[2025-02-09 04:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:17:02] Production.INFO: ==24350== Lock acquired, processing the job...
[2025-02-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:17:02] Production.INFO: ==24350== Releasing lock...
[2025-02-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:17:02] Production.INFO: ==24348== Lock acquired, processing the job...
[2025-02-08 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:17:02] Production.INFO: ==24348== Releasing lock...
[2025-02-08 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:17:03] Production.INFO: ==24361== Lock acquired, processing the job...
[2025-02-08 23:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:17:03] Production.INFO: ==24363== Lock acquired, processing the job...
[2025-02-08 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:17:03] Production.INFO: ==24365== Lock acquired, processing the job...
[2025-02-08 23:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:17:03] Production.INFO: Account Balance Start.
[2025-02-08 23:17:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:17:03] Production.INFO: 117
[2025-02-08 23:17:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:17:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:17:03] Production.INFO: Total Charge 0
[2025-02-08 23:17:03] Production.INFO: CreateAllLog End
[2025-02-08 23:17:03] Production.INFO: ==24359== Lock acquired, processing the job...
[2025-02-08 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:17:03] Production.INFO: Account Balance End.
[2025-02-08 23:17:03] Production.ERROR: done
[2025-02-08 23:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:17:03] Production.ERROR: CronJobId end 12
[2025-02-08 23:17:03] Production.INFO: ==24363== Releasing lock...
[2025-02-08 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:17:04] Production.INFO: ==24357== Lock acquired, processing the job...
[2025-02-08 23:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:17:04] Production.INFO: ==24367== Lock acquired, processing the job...
[2025-02-08 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:17:04] Production.ERROR: done
[2025-02-08 23:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:17:04] Production.INFO: count ==21
[2025-02-08 23:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:17:04] Production.INFO: count ==21
[2025-02-08 23:17:04] Production.INFO: ==24359== Releasing lock...
[2025-02-08 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433019') start
[2025-02-08 23:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433019') end
[2025-02-08 23:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:17:04] Production.INFO: 1
[2025-02-08 23:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:17:04] Production.INFO: ==24367== Releasing lock...
[2025-02-08 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:17:05
[end_date_ymd] => 2025-02-08 23:17:05
[RateCDR] => 1
)
[2025-02-08 23:17: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` >= '2025-02-08 20:17:05' and `end` < '2025-02-08 23:17: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 ,'')
[2025-02-08 23:17:12] Production.ERROR: CronJobId end10
[2025-02-08 23:17:12] Production.INFO: ==24361== Releasing lock...
[2025-02-08 23:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:17:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:17:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:17:15] Production.INFO: call_cost start
[2025-02-08 23:17:15] Production.INFO: call_cost end
[2025-02-08 23:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:17:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:17:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:17:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:17:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:17:16] Production.INFO: ==24357== Releasing lock...
[2025-02-08 23:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:17:18] Production.INFO: count ==1640
[2025-02-08 23:17:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:17:05 - End Time 2025-02-08 23:17:05
[2025-02-08 23:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433021', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433021', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433021', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433021', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:17:18] Production.INFO: ProcessCDR(1,14433021,1,1,2)
[2025-02-08 23:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433021', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433021', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:17:21] Production.INFO: ==24365== Releasing lock...
[2025-02-08 23:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:17:21] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 04:18:02] Production.INFO: ==24451== Lock acquired, processing the job...
[2025-02-09 04:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:18:02] Production.INFO: neon service started
[2025-02-09 04:18:02] Production.INFO: neon service started
[2025-02-09 04:18:02] Production.INFO: ==24451== Releasing lock...
[2025-02-09 04:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:18:02] Production.INFO: ==24453== Lock acquired, processing the job...
[2025-02-08 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:18:02] Production.INFO: ==24455== Lock acquired, processing the job...
[2025-02-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:18:02] Production.INFO: ==24455== Releasing lock...
[2025-02-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:18:03] Production.INFO: ==24453== Releasing lock...
[2025-02-08 23:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:18:03] Production.INFO: ==24457== Lock acquired, processing the job...
[2025-02-08 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:18:03] Production.INFO: ==24459== Lock acquired, processing the job...
[2025-02-08 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:18:03] Production.INFO: ==24468== Lock acquired, processing the job...
[2025-02-08 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:18:03] Production.INFO: ==24461== Lock acquired, processing the job...
[2025-02-08 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:18:04] Production.INFO: ==24463== Lock acquired, processing the job...
[2025-02-08 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:18:04] Production.INFO: ==24465== Lock acquired, processing the job...
[2025-02-08 23:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:18:04] Production.INFO: count ==21
[2025-02-08 23:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:18:04] Production.INFO: count ==21
[2025-02-08 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433024') start
[2025-02-08 23:18:04] Production.INFO: Account Balance Start.
[2025-02-08 23:18:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:18:04] Production.INFO: ==24459== Releasing lock...
[2025-02-08 23:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:18:04] Production.INFO: 117
[2025-02-08 23:18:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:18:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:18:04] Production.INFO: Total Charge 0
[2025-02-08 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433024') end
[2025-02-08 23:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:18:04] Production.INFO: 1
[2025-02-08 23:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:18:04] Production.INFO: CreateAllLog End
[2025-02-08 23:18:04] Production.ERROR: done
[2025-02-08 23:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:18:04] Production.INFO: ==24468== Releasing lock...
[2025-02-08 23:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:18:04] Production.ERROR: done
[2025-02-08 23:18:04] Production.INFO: Account Balance End.
[2025-02-08 23:18:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:18:04] Production.INFO: ==24463== Releasing lock...
[2025-02-08 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:18:05
[end_date_ymd] => 2025-02-08 23:18:05
[RateCDR] => 1
)
[2025-02-08 23:18: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` >= '2025-02-08 20:18:05' and `end` < '2025-02-08 23:18: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 ,'')
[2025-02-08 23:18:12] Production.ERROR: CronJobId end10
[2025-02-08 23:18:12] Production.INFO: ==24461== Releasing lock...
[2025-02-08 23:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:18:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:18:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:18:15] Production.INFO: call_cost start
[2025-02-08 23:18:15] Production.INFO: call_cost end
[2025-02-08 23:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:18:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:18:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:18:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:18:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:18:16] Production.INFO: ==24457== Releasing lock...
[2025-02-08 23:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:18:19] Production.INFO: count ==1628
[2025-02-08 23:18:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:18:05 - End Time 2025-02-08 23:18:05
[2025-02-08 23:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433026', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433026', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433026', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433026', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:18:19] Production.INFO: ProcessCDR(1,14433026,1,1,2)
[2025-02-08 23:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433026', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433026', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:18:22] Production.INFO: ==24465== Releasing lock...
[2025-02-08 23:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:18:22] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 04:19:01] Production.INFO: ==24597== Lock acquired, processing the job...
[2025-02-09 04:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:19:01] Production.INFO: neon service started
[2025-02-09 04:19:01] Production.INFO: neon service started
[2025-02-09 04:19:01] Production.INFO: ==24597== Releasing lock...
[2025-02-09 04:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:19:02] Production.INFO: ==24601== Lock acquired, processing the job...
[2025-02-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:19:02] Production.INFO: ==24601== Releasing lock...
[2025-02-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:19:02] Production.INFO: ==24599== Lock acquired, processing the job...
[2025-02-08 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:19:02] Production.INFO: ==24599== Releasing lock...
[2025-02-08 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:19:03] Production.INFO: ==24609== Lock acquired, processing the job...
[2025-02-08 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:19:03] Production.INFO: ==24603== Lock acquired, processing the job...
[2025-02-08 23:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:19:03] Production.INFO: ==24614== Lock acquired, processing the job...
[2025-02-08 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:19:03] Production.INFO: Account Balance Start.
[2025-02-08 23:19:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:19:03] Production.INFO: 117
[2025-02-08 23:19:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:19:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:19:03] Production.INFO: ==24605== Lock acquired, processing the job...
[2025-02-08 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:19:03] Production.INFO: Total Charge 0
[2025-02-08 23:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:19:03] Production.INFO: ==24607== Lock acquired, processing the job...
[2025-02-08 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:19:03] Production.INFO: CreateAllLog End
[2025-02-08 23:19:03] Production.INFO: count ==21
[2025-02-08 23:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:19:03] Production.INFO: count ==21
[2025-02-08 23:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433028') start
[2025-02-08 23:19:03] Production.INFO: ==24612== Lock acquired, processing the job...
[2025-02-08 23:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:19:03] Production.INFO: Account Balance End.
[2025-02-08 23:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:19:03] Production.ERROR: CronJobId end 12
[2025-02-08 23:19:03] Production.INFO: ==24609== Releasing lock...
[2025-02-08 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:19:04] Production.INFO: ==24605== Releasing lock...
[2025-02-08 23:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433028') end
[2025-02-08 23:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:19:04] Production.INFO: 1
[2025-02-08 23:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:19:04] Production.INFO: ==24614== Releasing lock...
[2025-02-08 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:19:04] Production.ERROR: done
[2025-02-08 23:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:19:04] Production.ERROR: done
[2025-02-08 23:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:19:05
[end_date_ymd] => 2025-02-08 23:19:05
[RateCDR] => 1
)
[2025-02-08 23:19: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` >= '2025-02-08 20:19:05' and `end` < '2025-02-08 23:19: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 ,'')
[2025-02-08 23:19:13] Production.ERROR: CronJobId end10
[2025-02-08 23:19:13] Production.INFO: ==24607== Releasing lock...
[2025-02-08 23:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:19:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:19:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:19:15] Production.INFO: call_cost start
[2025-02-08 23:19:15] Production.INFO: call_cost end
[2025-02-08 23:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:19:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:19:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:19:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:19:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:19:16] Production.INFO: ==24603== Releasing lock...
[2025-02-08 23:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:19:18] Production.INFO: count ==1628
[2025-02-08 23:19:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:19:05 - End Time 2025-02-08 23:19:05
[2025-02-08 23:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433031', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433031', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433031', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433031', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:19:19] Production.INFO: ProcessCDR(1,14433031,1,1,2)
[2025-02-08 23:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433031', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433031', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:19:22] Production.INFO: ==24612== Releasing lock...
[2025-02-08 23:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:19:22] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 04:20:02] Production.INFO: ==24704== Lock acquired, processing the job...
[2025-02-09 04:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:20:02] Production.INFO: neon service started
[2025-02-09 04:20:02] Production.INFO: neon service started
[2025-02-09 04:20:02] Production.INFO: ==24704== Releasing lock...
[2025-02-09 04:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:20:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 23:20:02] Production.INFO: ==24707== Lock acquired, processing the job...
[2025-02-08 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:20:03] Production.INFO: ==24707== Releasing lock...
[2025-02-08 23:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:20:03] Production.INFO: ==24709== Lock acquired, processing the job...
[2025-02-09 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:20:03] Production.INFO: ==24709== Releasing lock...
[2025-02-09 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:20:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:20:04] Production.INFO: ==24715== Lock acquired, processing the job...
[2025-02-08 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:20:04] Production.INFO: ==24713== Lock acquired, processing the job...
[2025-02-08 23:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:20:04] Production.INFO: ==24711== Lock acquired, processing the job...
[2025-02-08 23:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 23:20:04] Production.INFO: ==24721== Lock acquired, processing the job...
[2025-02-08 23:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:20:04] Production.INFO: ==24725== Lock acquired, processing the job...
[2025-02-08 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 23:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:20:04] Production.ERROR: CronJob PID - 24713
[2025-02-08 23:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 23:20:04] Production.ERROR: CronJob ID - 5
[2025-02-08 23:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 23:20:00
[2025-02-08 23:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:20:04] Production.ERROR: CronJob PID - 24715
[2025-02-08 23:20:04] Production.ERROR: CronJob Title - Account Block
[2025-02-08 23:20:04] Production.ERROR: CronJob ID - 7
[2025-02-08 23:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 23:20:00
[2025-02-08 23:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:20:04] Production.ERROR: CronJob PID - 24721
[2025-02-08 23:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-08 23:20:04] Production.ERROR: CronJob ID - 16
[2025-02-08 23:20:04] Production.ERROR: CronJob Last Run Time 2025-02-08 23:20:00
[2025-02-08 23:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:20:04] Production.INFO: ==24717== Lock acquired, processing the job...
[2025-02-08 23:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:20:04] Production.INFO: ==24719== Lock acquired, processing the job...
[2025-02-08 23:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:20:04] Production.INFO: ==24723== Lock acquired, processing the job...
[2025-02-08 23:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 23:20:04] Production.INFO: ==24711== Releasing lock...
[2025-02-08 23:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 23:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 23:20:04] Production.INFO: ==24715== Releasing lock...
[2025-02-08 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:20:04] Production.INFO: count ==21
[2025-02-08 23:20:04] Production.INFO: Account Balance Start.
[2025-02-08 23:20:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:20:04] Production.INFO: 117
[2025-02-08 23:20:04] Production.INFO: count ==21
[2025-02-08 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433035') start
[2025-02-08 23:20:05] Production.INFO: Date 2025-02-08
[2025-02-08 23:20:05] Production.INFO: Reseller ==> 0
[2025-02-08 23:20:05] Production.ERROR: done
[2025-02-08 23:20:05] Production.ERROR: done
[2025-02-08 23:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433035') end
[2025-02-08 23:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:20:05] Production.INFO: 1
[2025-02-08 23:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 23:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433036', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 23:20:05] Production.INFO: Total Charge 0
[2025-02-08 23:20:05] Production.INFO: CreateAllLog End
[2025-02-08 23:20:05] Production.INFO: ==24725== Releasing lock...
[2025-02-08 23:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:20:05] Production.ERROR: done
[2025-02-08 23:20:05] Production.INFO: Account Balance End.
[2025-02-08 23:20:05] Production.ERROR: CronJobId end 12
[2025-02-08 23:20:05] Production.INFO: ==24719== Releasing lock...
[2025-02-08 23:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:20:06
[end_date_ymd] => 2025-02-08 23:20:06
[RateCDR] => 1
)
[2025-02-08 23:20: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-02-08 20:20:06' and `end` < '2025-02-08 23:20: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-02-08 23:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433036', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 23:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 23:20:09] Production.INFO: ProcessCDR(1,14433036,1,1,2)
[2025-02-08 23:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433036,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433036,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:20:09] Production.INFO: ==24723== Releasing lock...
[2025-02-08 23:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 23:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 23:20:15] Production.ERROR: CronJobId end10
[2025-02-08 23:20:15] Production.INFO: ==24717== Releasing lock...
[2025-02-08 23:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:20:17] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:20:17] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:20:17] Production.INFO: call_cost start
[2025-02-08 23:20:17] Production.INFO: call_cost end
[2025-02-08 23:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:20:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:20:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:20:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:20:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:20:18] Production.INFO: ==24713== Releasing lock...
[2025-02-08 23:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:20:19] Production.INFO: count ==1625
[2025-02-08 23:20:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:20:06 - End Time 2025-02-08 23:20:06
[2025-02-08 23:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433037', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433037', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433037', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433037', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:20:19] Production.INFO: ProcessCDR(1,14433037,1,1,2)
[2025-02-08 23:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433037', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433037', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:20:23] Production.INFO: ==24721== Releasing lock...
[2025-02-08 23:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:20:23] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:21:01] Production.INFO: ==24816== Lock acquired, processing the job...
[2025-02-09 04:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:21:01] Production.INFO: neon service started
[2025-02-09 04:21:01] Production.INFO: neon service started
[2025-02-09 04:21:01] Production.INFO: ==24816== Releasing lock...
[2025-02-09 04:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:21:02] Production.INFO: ==24818== Lock acquired, processing the job...
[2025-02-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:21:02] Production.INFO: ==24818== Releasing lock...
[2025-02-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:21:02] Production.INFO: ==24820== Lock acquired, processing the job...
[2025-02-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:21:02] Production.INFO: ==24820== Releasing lock...
[2025-02-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:21:03] Production.INFO: ==24823== Lock acquired, processing the job...
[2025-02-08 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:21:03] Production.INFO: ==24829== Lock acquired, processing the job...
[2025-02-08 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:21:03] Production.INFO: ==24825== Lock acquired, processing the job...
[2025-02-08 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:21:03] Production.INFO: ==24827== Lock acquired, processing the job...
[2025-02-08 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:21:03] Production.INFO: ==24833== Lock acquired, processing the job...
[2025-02-08 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:21:03] Production.INFO: Account Balance Start.
[2025-02-08 23:21:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:21:03] Production.INFO: 117
[2025-02-08 23:21:03] Production.INFO: ==24831== Lock acquired, processing the job...
[2025-02-08 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:21:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:21:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:21:03] Production.INFO: Total Charge 0
[2025-02-08 23:21:03] Production.INFO: CreateAllLog End
[2025-02-08 23:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:21:03] Production.INFO: count ==21
[2025-02-08 23:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:21:03] Production.INFO: count ==21
[2025-02-08 23:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433041') start
[2025-02-08 23:21:04] Production.INFO: ==24825== Releasing lock...
[2025-02-08 23:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:21:04] Production.ERROR: done
[2025-02-08 23:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433041') end
[2025-02-08 23:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:21:04] Production.INFO: 1
[2025-02-08 23:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:21:04] Production.INFO: ==24833== Releasing lock...
[2025-02-08 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:21:04] Production.INFO: Account Balance End.
[2025-02-08 23:21:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:21:04] Production.INFO: ==24829== Releasing lock...
[2025-02-08 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:21:04] Production.ERROR: done
[2025-02-08 23:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:21:05
[end_date_ymd] => 2025-02-08 23:21:05
[RateCDR] => 1
)
[2025-02-08 23:21: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` >= '2025-02-08 20:21:05' and `end` < '2025-02-08 23:21: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 ,'')
[2025-02-08 23:21:13] Production.ERROR: CronJobId end10
[2025-02-08 23:21:13] Production.INFO: ==24827== Releasing lock...
[2025-02-08 23:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:21:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:21:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:21:15] Production.INFO: call_cost start
[2025-02-08 23:21:15] Production.INFO: call_cost end
[2025-02-08 23:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:21:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:21:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:21:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:21:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:21:16] Production.INFO: ==24823== Releasing lock...
[2025-02-08 23:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:21:18] Production.INFO: count ==1614
[2025-02-08 23:21:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:21:05 - End Time 2025-02-08 23:21:05
[2025-02-08 23:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433042', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433042', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433042', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433042', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:21:18] Production.INFO: ProcessCDR(1,14433042,1,1,2)
[2025-02-08 23:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433042', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433042', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:21:22] Production.INFO: ==24831== Releasing lock...
[2025-02-08 23:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:21:22] Production.INFO: 40.5 MB #Memory Used#
[2025-02-09 04:22:02] Production.INFO: ==24927== Lock acquired, processing the job...
[2025-02-09 04:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:22:02] Production.INFO: neon service started
[2025-02-09 04:22:02] Production.INFO: neon service started
[2025-02-09 04:22:02] Production.INFO: ==24927== Releasing lock...
[2025-02-09 04:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:22:02] Production.INFO: ==24930== Lock acquired, processing the job...
[2025-02-08 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:22:02] Production.INFO: ==24930== Releasing lock...
[2025-02-08 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:22:03] Production.INFO: ==24932== Lock acquired, processing the job...
[2025-02-09 04:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:22:03] Production.INFO: ==24932== Releasing lock...
[2025-02-09 04:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:22:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:22:03] Production.INFO: ==24938== Lock acquired, processing the job...
[2025-02-08 23:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:22:03] Production.INFO: ==24942== Lock acquired, processing the job...
[2025-02-08 23:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:22:03] Production.INFO: ==24934== Lock acquired, processing the job...
[2025-02-08 23:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:22:04] Production.INFO: ==24936== Lock acquired, processing the job...
[2025-02-08 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:22:04] Production.INFO: ==24940== Lock acquired, processing the job...
[2025-02-08 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:22:04] Production.INFO: ==24944== Lock acquired, processing the job...
[2025-02-08 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:22:04] Production.ERROR: done
[2025-02-08 23:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:22:04] Production.INFO: Account Balance Start.
[2025-02-08 23:22:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:22:04] Production.INFO: count ==21
[2025-02-08 23:22:04] Production.INFO: 117
[2025-02-08 23:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:22:04] Production.INFO: count ==21
[2025-02-08 23:22:04] Production.ERROR: done
[2025-02-08 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433045') start
[2025-02-08 23:22:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:22:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:22:04] Production.INFO: Total Charge 0
[2025-02-08 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433045') end
[2025-02-08 23:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:22:04] Production.INFO: 1
[2025-02-08 23:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:22:04] Production.INFO: CreateAllLog End
[2025-02-08 23:22:04] Production.INFO: ==24936== Releasing lock...
[2025-02-08 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:22:04] Production.INFO: ==24944== Releasing lock...
[2025-02-08 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:22:04] Production.INFO: Account Balance End.
[2025-02-08 23:22:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:22:04] Production.INFO: ==24940== Releasing lock...
[2025-02-08 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:22:05
[end_date_ymd] => 2025-02-08 23:22:05
[RateCDR] => 1
)
[2025-02-08 23:22: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` >= '2025-02-08 20:22:05' and `end` < '2025-02-08 23:22: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 ,'')
[2025-02-08 23:22:13] Production.ERROR: CronJobId end10
[2025-02-08 23:22:13] Production.INFO: ==24938== Releasing lock...
[2025-02-08 23:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:22:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:22:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:22:15] Production.INFO: call_cost start
[2025-02-08 23:22:15] Production.INFO: call_cost end
[2025-02-08 23:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:22:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:22:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:22:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:22:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:22:16] Production.INFO: ==24934== Releasing lock...
[2025-02-08 23:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:22:18] Production.INFO: count ==1610
[2025-02-08 23:22:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:22:05 - End Time 2025-02-08 23:22:05
[2025-02-08 23:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433047', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433047', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433047', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433047', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:22:19] Production.INFO: ProcessCDR(1,14433047,1,1,2)
[2025-02-08 23:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433047', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433047', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:22:22] Production.INFO: ==24942== Releasing lock...
[2025-02-08 23:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:22:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:23:01] Production.INFO: ==25043== Lock acquired, processing the job...
[2025-02-09 04:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:23:01] Production.INFO: neon service started
[2025-02-09 04:23:01] Production.INFO: neon service started
[2025-02-09 04:23:01] Production.INFO: ==25043== Releasing lock...
[2025-02-09 04:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:23:02] Production.INFO: ==25045== Lock acquired, processing the job...
[2025-02-08 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:23:02] Production.INFO: ==25047== Lock acquired, processing the job...
[2025-02-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:23:02] Production.INFO: ==25047== Releasing lock...
[2025-02-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:23:02] Production.INFO: ==25045== Releasing lock...
[2025-02-08 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:23:03] Production.INFO: ==25052== Lock acquired, processing the job...
[2025-02-08 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:23:03] Production.INFO: ==25054== Lock acquired, processing the job...
[2025-02-08 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:23:03] Production.INFO: ==25056== Lock acquired, processing the job...
[2025-02-08 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:23:03] Production.INFO: Account Balance Start.
[2025-02-08 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:23:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:23:03] Production.INFO: 117
[2025-02-08 23:23:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:23:03] Production.INFO: ==25050== Lock acquired, processing the job...
[2025-02-08 23:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:23:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:23:03] Production.INFO: ==25052== Releasing lock...
[2025-02-08 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:23:03] Production.INFO: Total Charge 0
[2025-02-08 23:23:03] Production.INFO: CreateAllLog End
[2025-02-08 23:23:03] Production.INFO: Account Balance End.
[2025-02-08 23:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:23:03] Production.ERROR: CronJobId end 12
[2025-02-08 23:23:03] Production.INFO: ==25056== Releasing lock...
[2025-02-08 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:23:03] Production.INFO: ==25058== Lock acquired, processing the job...
[2025-02-08 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:23:03] Production.INFO: ==25061== Lock acquired, processing the job...
[2025-02-08 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:23:04] Production.ERROR: done
[2025-02-08 23:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:23:04] Production.INFO: count ==21
[2025-02-08 23:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:23:04] Production.INFO: count ==21
[2025-02-08 23:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433051') start
[2025-02-08 23:23:04] Production.ERROR: done
[2025-02-08 23:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433051') end
[2025-02-08 23:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:23:04] Production.INFO: 1
[2025-02-08 23:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:23:04] Production.INFO: ==25061== Releasing lock...
[2025-02-08 23:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:23:05
[end_date_ymd] => 2025-02-08 23:23:05
[RateCDR] => 1
)
[2025-02-08 23:23: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` >= '2025-02-08 20:23:05' and `end` < '2025-02-08 23:23: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 ,'')
[2025-02-08 23:23:12] Production.ERROR: CronJobId end10
[2025-02-08 23:23:12] Production.INFO: ==25054== Releasing lock...
[2025-02-08 23:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:23:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:23:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:23:14] Production.INFO: call_cost start
[2025-02-08 23:23:14] Production.INFO: call_cost end
[2025-02-08 23:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:23:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:23:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:23:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:23:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:23:15] Production.INFO: ==25050== Releasing lock...
[2025-02-08 23:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:23:18] Production.INFO: count ==1609
[2025-02-08 23:23:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:23:05 - End Time 2025-02-08 23:23:05
[2025-02-08 23:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433052', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433052', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433052', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433052', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:23:18] Production.INFO: ProcessCDR(1,14433052,1,1,2)
[2025-02-08 23:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433052', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433052', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:23:22] Production.INFO: ==25058== Releasing lock...
[2025-02-08 23:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:23:22] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:24:02] Production.INFO: ==25157== Lock acquired, processing the job...
[2025-02-09 04:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:24:02] Production.INFO: neon service started
[2025-02-09 04:24:02] Production.INFO: neon service started
[2025-02-09 04:24:02] Production.INFO: ==25157== Releasing lock...
[2025-02-09 04:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:24:02] Production.INFO: ==25159== Lock acquired, processing the job...
[2025-02-08 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:24:02] Production.INFO: ==25161== Lock acquired, processing the job...
[2025-02-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:24:02] Production.INFO: ==25161== Releasing lock...
[2025-02-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:24:03] Production.INFO: ==25159== Releasing lock...
[2025-02-08 23:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:24:04] Production.INFO: ==25174== Lock acquired, processing the job...
[2025-02-08 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:24:04] Production.INFO: ==25172== Lock acquired, processing the job...
[2025-02-08 23:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:24:04] Production.INFO: ==25164== Lock acquired, processing the job...
[2025-02-08 23:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:24:04] Production.INFO: ==25166== Lock acquired, processing the job...
[2025-02-08 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:24:04] Production.INFO: count ==21
[2025-02-08 23:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:24:04] Production.INFO: count ==21
[2025-02-08 23:24:04] Production.INFO: ==25170== Lock acquired, processing the job...
[2025-02-08 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433053') start
[2025-02-08 23:24:04] Production.INFO: ==25168== Lock acquired, processing the job...
[2025-02-08 23:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:24:04] Production.INFO: Account Balance Start.
[2025-02-08 23:24:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:24:04] Production.INFO: 117
[2025-02-08 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433053') end
[2025-02-08 23:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:24:04] Production.INFO: 1
[2025-02-08 23:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:24:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:24:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:24:04] Production.INFO: ==25174== Releasing lock...
[2025-02-08 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:24:04] Production.ERROR: done
[2025-02-08 23:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:24:04] Production.INFO: Total Charge 0
[2025-02-08 23:24:04] Production.INFO: CreateAllLog End
[2025-02-08 23:24:04] Production.INFO: ==25166== Releasing lock...
[2025-02-08 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:24:04] Production.ERROR: done
[2025-02-08 23:24:04] Production.INFO: Account Balance End.
[2025-02-08 23:24:05] Production.ERROR: CronJobId end 12
[2025-02-08 23:24:05] Production.INFO: ==25170== Releasing lock...
[2025-02-08 23:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:24:05
[end_date_ymd] => 2025-02-08 23:24:05
[RateCDR] => 1
)
[2025-02-08 23:24: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` >= '2025-02-08 20:24:05' and `end` < '2025-02-08 23:24: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 ,'')
[2025-02-08 23:24:14] Production.ERROR: CronJobId end10
[2025-02-08 23:24:14] Production.INFO: ==25168== Releasing lock...
[2025-02-08 23:24:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:24:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:24:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:24:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:24:15] Production.INFO: call_cost start
[2025-02-08 23:24:15] Production.INFO: call_cost end
[2025-02-08 23:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:24:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:24:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:24:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:24:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:24:16] Production.INFO: ==25164== Releasing lock...
[2025-02-08 23:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:24:19] Production.INFO: count ==1601
[2025-02-08 23:24:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:24:05 - End Time 2025-02-08 23:24:05
[2025-02-08 23:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433057', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433057', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433057', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433057', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:24:19] Production.INFO: ProcessCDR(1,14433057,1,1,2)
[2025-02-08 23:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433057', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433057', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:24:22] Production.INFO: ==25172== Releasing lock...
[2025-02-08 23:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:24:22] Production.INFO: 40 MB #Memory Used#
[2025-02-09 04:25:01] Production.INFO: ==25261== Lock acquired, processing the job...
[2025-02-09 04:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:25:01] Production.INFO: neon service started
[2025-02-09 04:25:01] Production.INFO: neon service started
[2025-02-09 04:25:01] Production.INFO: ==25261== Releasing lock...
[2025-02-09 04:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:25:02] Production.INFO: ==25263== Lock acquired, processing the job...
[2025-02-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:25:02] Production.INFO: ==25263== Releasing lock...
[2025-02-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:25:02] Production.INFO: ==25265== Lock acquired, processing the job...
[2025-02-09 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:25:02] Production.INFO: ==25265== Releasing lock...
[2025-02-09 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:25:03] Production.INFO: ==25276== Lock acquired, processing the job...
[2025-02-08 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:25:03] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-02-08 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:25:03] Production.INFO: ==25270== Lock acquired, processing the job...
[2025-02-08 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:25:03] Production.INFO: ==25272== Lock acquired, processing the job...
[2025-02-08 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:25:03] Production.INFO: ==25278== Lock acquired, processing the job...
[2025-02-08 23:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:25:03] Production.INFO: ==25274== Lock acquired, processing the job...
[2025-02-08 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:25:03] Production.INFO: Account Balance Start.
[2025-02-08 23:25:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:25:03] Production.INFO: ==25270== Releasing lock...
[2025-02-08 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:25:03] Production.INFO: 117
[2025-02-08 23:25:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:25:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:25:03] Production.INFO: count ==21
[2025-02-08 23:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:25:03] Production.INFO: count ==21
[2025-02-08 23:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433061') start
[2025-02-08 23:25:03] Production.ERROR: done
[2025-02-08 23:25:03] Production.INFO: Total Charge 0
[2025-02-08 23:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:25:03] Production.INFO: CreateAllLog End
[2025-02-08 23:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433061') end
[2025-02-08 23:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:25:03] Production.INFO: 1
[2025-02-08 23:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:25:03] Production.INFO: ==25278== Releasing lock...
[2025-02-08 23:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:25:03] Production.ERROR: done
[2025-02-08 23:25:03] Production.INFO: Account Balance End.
[2025-02-08 23:25:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:25:04] Production.INFO: ==25274== Releasing lock...
[2025-02-08 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:25:04
[end_date_ymd] => 2025-02-08 23:25:04
[RateCDR] => 1
)
[2025-02-08 23:25:04] 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-02-08 20:25:04' and `end` < '2025-02-08 23:25:04'
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-02-08 23:25:12] Production.ERROR: CronJobId end10
[2025-02-08 23:25:12] Production.INFO: ==25272== Releasing lock...
[2025-02-08 23:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:25:13] Production.INFO: call_cost start
[2025-02-08 23:25:13] Production.INFO: call_cost end
[2025-02-08 23:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:25:14] Production.INFO: ==25268== Releasing lock...
[2025-02-08 23:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:25:18] Production.INFO: count ==1597
[2025-02-08 23:25:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:25:04 - End Time 2025-02-08 23:25:04
[2025-02-08 23:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433062', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433062', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433062', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433062', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:25:18] Production.INFO: ProcessCDR(1,14433062,1,1,2)
[2025-02-08 23:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433062', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433062', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:25:21] Production.INFO: ==25276== Releasing lock...
[2025-02-08 23:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:25:21] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:26:02] Production.INFO: ==25373== Lock acquired, processing the job...
[2025-02-09 04:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:26:02] Production.INFO: neon service started
[2025-02-09 04:26:02] Production.INFO: neon service started
[2025-02-09 04:26:02] Production.INFO: ==25373== Releasing lock...
[2025-02-09 04:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:26:02] Production.INFO: ==25375== Lock acquired, processing the job...
[2025-02-08 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:26:02] Production.INFO: ==25375== Releasing lock...
[2025-02-08 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:26:03] Production.INFO: ==25377== Lock acquired, processing the job...
[2025-02-09 04:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:26:03] Production.INFO: ==25377== Releasing lock...
[2025-02-09 04:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:26:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:26:03] Production.INFO: ==25379== Lock acquired, processing the job...
[2025-02-08 23:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:26:03] Production.INFO: ==25381== Lock acquired, processing the job...
[2025-02-08 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:26:03] Production.INFO: ==25385== Lock acquired, processing the job...
[2025-02-08 23:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:26:03] Production.INFO: Account Balance Start.
[2025-02-08 23:26:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:26:03] Production.INFO: 117
[2025-02-08 23:26:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:26:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:26:03] Production.INFO: Total Charge 0
[2025-02-08 23:26:03] Production.INFO: CreateAllLog End
[2025-02-08 23:26:04] Production.INFO: ==25383== Lock acquired, processing the job...
[2025-02-08 23:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:26:04] Production.INFO: ==25390== Lock acquired, processing the job...
[2025-02-08 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:26:04] Production.INFO: ==25387== Lock acquired, processing the job...
[2025-02-08 23:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:26:04] Production.INFO: Account Balance End.
[2025-02-08 23:26:04] Production.INFO: ==25381== Releasing lock...
[2025-02-08 23:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:26:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:26:04] Production.INFO: ==25385== Releasing lock...
[2025-02-08 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:26:04] Production.INFO: count ==21
[2025-02-08 23:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:26:04] Production.INFO: count ==21
[2025-02-08 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433066') start
[2025-02-08 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433066') end
[2025-02-08 23:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:26:04] Production.INFO: 1
[2025-02-08 23:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:26:04] Production.ERROR: done
[2025-02-08 23:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:26:04] Production.INFO: ==25390== Releasing lock...
[2025-02-08 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:26:04] Production.ERROR: done
[2025-02-08 23:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:26:05
[end_date_ymd] => 2025-02-08 23:26:05
[RateCDR] => 1
)
[2025-02-08 23:26: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` >= '2025-02-08 20:26:05' and `end` < '2025-02-08 23:26: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 ,'')
[2025-02-08 23:26:13] Production.ERROR: CronJobId end10
[2025-02-08 23:26:13] Production.INFO: ==25383== Releasing lock...
[2025-02-08 23:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:26:15] Production.INFO: call_cost start
[2025-02-08 23:26:15] Production.INFO: call_cost end
[2025-02-08 23:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:26:15] Production.INFO: ==25379== Releasing lock...
[2025-02-08 23:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:26:18] Production.INFO: count ==1596
[2025-02-08 23:26:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:26:05 - End Time 2025-02-08 23:26:05
[2025-02-08 23:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433067', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433067', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433067', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433067', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:26:19] Production.INFO: ProcessCDR(1,14433067,1,1,2)
[2025-02-08 23:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433067', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433067', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:26:23] Production.INFO: ==25387== Releasing lock...
[2025-02-08 23:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:26:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:27:01] Production.INFO: ==25465== Lock acquired, processing the job...
[2025-02-09 04:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:27:01] Production.INFO: neon service started
[2025-02-09 04:27:01] Production.INFO: neon service started
[2025-02-09 04:27:01] Production.INFO: ==25465== Releasing lock...
[2025-02-09 04:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:27:01] Production.INFO: ==25470== Lock acquired, processing the job...
[2025-02-09 04:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:27:01] Production.INFO: ==25470== Releasing lock...
[2025-02-09 04:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:27:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:27:02] Production.INFO: ==25468== Lock acquired, processing the job...
[2025-02-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:27:02] Production.INFO: ==25468== Releasing lock...
[2025-02-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:27:03] Production.INFO: ==25474== Lock acquired, processing the job...
[2025-02-08 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:27:03] Production.INFO: ==25482== Lock acquired, processing the job...
[2025-02-08 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:27:03] Production.INFO: ==25472== Lock acquired, processing the job...
[2025-02-08 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:27:03] Production.INFO: count ==21
[2025-02-08 23:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:27:03] Production.INFO: count ==21
[2025-02-08 23:27:03] Production.INFO: ==25476== Lock acquired, processing the job...
[2025-02-08 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433069') start
[2025-02-08 23:27:03] Production.INFO: ==25478== Lock acquired, processing the job...
[2025-02-08 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:27:03] Production.INFO: ==25480== Lock acquired, processing the job...
[2025-02-08 23:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433069') end
[2025-02-08 23:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:27:03] Production.INFO: 1
[2025-02-08 23:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:27:03] Production.INFO: ==25474== Releasing lock...
[2025-02-08 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:27:03] Production.INFO: Account Balance Start.
[2025-02-08 23:27:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:27:03] Production.INFO: 117
[2025-02-08 23:27:03] Production.INFO: ==25482== Releasing lock...
[2025-02-08 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:27:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:27:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:27:03] Production.INFO: Total Charge 0
[2025-02-08 23:27:03] Production.INFO: CreateAllLog End
[2025-02-08 23:27:03] Production.ERROR: done
[2025-02-08 23:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:27:04] Production.INFO: Account Balance End.
[2025-02-08 23:27:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:27:04] Production.INFO: ==25478== Releasing lock...
[2025-02-08 23:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:27:04] Production.ERROR: done
[2025-02-08 23:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:27:04
[end_date_ymd] => 2025-02-08 23:27:04
[RateCDR] => 1
)
[2025-02-08 23:27:04] 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-02-08 20:27:04' and `end` < '2025-02-08 23:27:04'
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-02-08 23:27:11] Production.ERROR: CronJobId end10
[2025-02-08 23:27:11] Production.INFO: ==25476== Releasing lock...
[2025-02-08 23:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:27:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:27:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:27:13] Production.INFO: call_cost start
[2025-02-08 23:27:13] Production.INFO: call_cost end
[2025-02-08 23:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:27:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:27:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:27:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:27:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:27:14] Production.INFO: ==25472== Releasing lock...
[2025-02-08 23:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:27:18] Production.INFO: count ==1596
[2025-02-08 23:27:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:27:04 - End Time 2025-02-08 23:27:04
[2025-02-08 23:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433072', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433072', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433072', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433072', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:27:18] Production.INFO: ProcessCDR(1,14433072,1,1,2)
[2025-02-08 23:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433072', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433072', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:27:23] Production.INFO: ==25480== Releasing lock...
[2025-02-08 23:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:27:23] Production.INFO: 40 MB #Memory Used#
[2025-02-09 04:28:01] Production.INFO: ==25540== Lock acquired, processing the job...
[2025-02-09 04:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:28:02] Production.INFO: neon service started
[2025-02-09 04:28:02] Production.INFO: neon service started
[2025-02-09 04:28:02] Production.INFO: ==25540== Releasing lock...
[2025-02-09 04:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:28:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 23:28:02] Production.INFO: ==25542== Lock acquired, processing the job...
[2025-02-08 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:28:02] Production.INFO: ==25542== Releasing lock...
[2025-02-08 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:28:02] Production.INFO: ==25544== Lock acquired, processing the job...
[2025-02-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:28:02] Production.INFO: ==25544== Releasing lock...
[2025-02-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:28:03] Production.INFO: ==25546== Lock acquired, processing the job...
[2025-02-08 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:28:03] Production.INFO: ==25548== Lock acquired, processing the job...
[2025-02-08 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:28:03] Production.INFO: ==25556== Lock acquired, processing the job...
[2025-02-08 23:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:28:03] Production.INFO: ==25550== Lock acquired, processing the job...
[2025-02-08 23:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:28:03] Production.INFO: ==25552== Lock acquired, processing the job...
[2025-02-08 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:28:03] Production.INFO: ==25554== Lock acquired, processing the job...
[2025-02-08 23:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:28:03] Production.INFO: count ==21
[2025-02-08 23:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:28:03] Production.INFO: count ==21
[2025-02-08 23:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433075') start
[2025-02-08 23:28:03] Production.INFO: Account Balance Start.
[2025-02-08 23:28:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:28:03] Production.INFO: ==25548== Releasing lock...
[2025-02-08 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:28:03] Production.INFO: 117
[2025-02-08 23:28:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:28:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:28:03] Production.INFO: Total Charge 0
[2025-02-08 23:28:03] Production.INFO: CreateAllLog End
[2025-02-08 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433075') end
[2025-02-08 23:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:28:04] Production.INFO: 1
[2025-02-08 23:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:28:04] Production.INFO: ==25556== Releasing lock...
[2025-02-08 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:28:04] Production.ERROR: done
[2025-02-08 23:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:28:04] Production.INFO: Account Balance End.
[2025-02-08 23:28:04] Production.ERROR: done
[2025-02-08 23:28:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:28:04] Production.INFO: ==25552== Releasing lock...
[2025-02-08 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:28:05
[end_date_ymd] => 2025-02-08 23:28:05
[RateCDR] => 1
)
[2025-02-08 23:28: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` >= '2025-02-08 20:28:05' and `end` < '2025-02-08 23:28: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 ,'')
[2025-02-08 23:28:12] Production.ERROR: CronJobId end10
[2025-02-08 23:28:12] Production.INFO: ==25550== Releasing lock...
[2025-02-08 23:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:28:13] Production.INFO: call_cost start
[2025-02-08 23:28:13] Production.INFO: call_cost end
[2025-02-08 23:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:28:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:28:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:28:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:28:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:28:14] Production.INFO: ==25546== Releasing lock...
[2025-02-08 23:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:28:18] Production.INFO: count ==1591
[2025-02-08 23:28:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:28:05 - End Time 2025-02-08 23:28:05
[2025-02-08 23:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433077', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433077', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433077', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433077', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:28:18] Production.INFO: ProcessCDR(1,14433077,1,1,2)
[2025-02-08 23:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433077', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433077', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:28:22] Production.INFO: ==25554== Releasing lock...
[2025-02-08 23:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:28:22] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:29:01] Production.INFO: ==25614== Lock acquired, processing the job...
[2025-02-09 04:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:29:01] Production.INFO: neon service started
[2025-02-09 04:29:01] Production.INFO: neon service started
[2025-02-09 04:29:01] Production.INFO: ==25614== Releasing lock...
[2025-02-09 04:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:29:01] Production.INFO: ==25616== Lock acquired, processing the job...
[2025-02-08 23:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:29:02] Production.INFO: ==25618== Lock acquired, processing the job...
[2025-02-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 23:29:02] Production.INFO: ==25616== Releasing lock...
[2025-02-08 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:29:02] Production.INFO: ==25618== Releasing lock...
[2025-02-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:29:02] Production.INFO: ==25620== Lock acquired, processing the job...
[2025-02-08 23:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:29:03] Production.INFO: ==25622== Lock acquired, processing the job...
[2025-02-08 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:29:03] Production.INFO: ==25625== Lock acquired, processing the job...
[2025-02-08 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:29:03] Production.INFO: ==25622== Releasing lock...
[2025-02-08 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:29:03] Production.INFO: ==25627== Lock acquired, processing the job...
[2025-02-08 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:29:03] Production.INFO: ==25629== Lock acquired, processing the job...
[2025-02-08 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:29:03] Production.INFO: ==25631== Lock acquired, processing the job...
[2025-02-08 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:29:03] Production.INFO: Account Balance Start.
[2025-02-08 23:29:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:29:03] Production.INFO: 117
[2025-02-08 23:29:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:29:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:29:03] Production.INFO: count ==21
[2025-02-08 23:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:29:03] Production.INFO: count ==21
[2025-02-08 23:29:03] Production.INFO: Total Charge 0
[2025-02-08 23:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433081') start
[2025-02-08 23:29:03] Production.INFO: CreateAllLog End
[2025-02-08 23:29:03] Production.ERROR: done
[2025-02-08 23:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433081') end
[2025-02-08 23:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:29:04] Production.INFO: 1
[2025-02-08 23:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:29:04] Production.INFO: ==25631== Releasing lock...
[2025-02-08 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:29:04] Production.ERROR: done
[2025-02-08 23:29:04] Production.INFO: Account Balance End.
[2025-02-08 23:29:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:29:04] Production.INFO: ==25627== Releasing lock...
[2025-02-08 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:29:05
[end_date_ymd] => 2025-02-08 23:29:05
[RateCDR] => 1
)
[2025-02-08 23:29: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` >= '2025-02-08 20:29:05' and `end` < '2025-02-08 23:29: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 ,'')
[2025-02-08 23:29:11] Production.ERROR: CronJobId end10
[2025-02-08 23:29:11] Production.INFO: ==25625== Releasing lock...
[2025-02-08 23:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:29:13] Production.INFO: call_cost start
[2025-02-08 23:29:13] Production.INFO: call_cost end
[2025-02-08 23:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:29:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:29:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:29:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:29:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:29:14] Production.INFO: ==25620== Releasing lock...
[2025-02-08 23:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:29:18] Production.INFO: count ==1595
[2025-02-08 23:29:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:29:05 - End Time 2025-02-08 23:29:05
[2025-02-08 23:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433082', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433082', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433082', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433082', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:29:18] Production.INFO: ProcessCDR(1,14433082,1,1,2)
[2025-02-08 23:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433082', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433082', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:29:23] Production.INFO: ==25629== Releasing lock...
[2025-02-08 23:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:29:23] Production.INFO: 40 MB #Memory Used#
[2025-02-09 04:30:01] Production.INFO: ==25694== Lock acquired, processing the job...
[2025-02-09 04:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:30:01] Production.INFO: neon service started
[2025-02-09 04:30:01] Production.INFO: neon service started
[2025-02-09 04:30:01] Production.INFO: ==25694== Releasing lock...
[2025-02-09 04:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:30:02] Production.INFO: ==25696== Lock acquired, processing the job...
[2025-02-08 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:30:02] Production.INFO: ==25698== Lock acquired, processing the job...
[2025-02-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:30:02] Production.INFO: ==25698== Releasing lock...
[2025-02-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:30:02] Production.INFO: ==25696== Releasing lock...
[2025-02-08 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:30:03] Production.INFO: ==25706== Lock acquired, processing the job...
[2025-02-08 23:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:30:03] Production.INFO: ==25708== Lock acquired, processing the job...
[2025-02-08 23:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:30:03] Production.INFO: Account Balance Start.
[2025-02-08 23:30:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:30:03] Production.INFO: 117
[2025-02-08 23:30:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:30:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:30:03] Production.INFO: ==25700== Lock acquired, processing the job...
[2025-02-08 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 23:30:03] Production.INFO: ==25712== Lock acquired, processing the job...
[2025-02-08 23:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 23:30:03] Production.INFO: Total Charge 0
[2025-02-08 23:30:03] Production.INFO: CreateAllLog End
[2025-02-08 23:30:04] Production.INFO: ==25702== Lock acquired, processing the job...
[2025-02-08 23:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 23:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:30:04] Production.ERROR: CronJob PID - 25706
[2025-02-08 23:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-08 23:30:04] Production.ERROR: CronJob ID - 10
[2025-02-08 23:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 23:30:00
[2025-02-08 23:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:30:04] Production.ERROR: CronJob PID - 25708
[2025-02-08 23:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-08 23:30:04] Production.ERROR: CronJob ID - 12
[2025-02-08 23:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 23:30:00
[2025-02-08 23:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:30:04] Production.ERROR: CronJob PID - 25712
[2025-02-08 23:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-08 23:30:04] Production.ERROR: CronJob ID - 17
[2025-02-08 23:30:04] Production.ERROR: CronJob Last Run Time 2025-02-08 23:30:00
[2025-02-08 23:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:30:04] Production.INFO: ==25704== Lock acquired, processing the job...
[2025-02-08 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:30:04] Production.INFO: ==25710== Lock acquired, processing the job...
[2025-02-08 23:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 23:30:04] Production.INFO: ==25700== Releasing lock...
[2025-02-08 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 23:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 23:30:04] Production.INFO: Account Balance End.
[2025-02-08 23:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:30:04] Production.INFO: ==25715== Lock acquired, processing the job...
[2025-02-08 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:30:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:30:04] Production.INFO: ==25708== Releasing lock...
[2025-02-08 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:30:04] Production.ERROR: done
[2025-02-08 23:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 23:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433087', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 23:30:04] Production.INFO: count ==21
[2025-02-08 23:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:30:04] Production.INFO: count ==21
[2025-02-08 23:30:04] Production.INFO: ==25704== Releasing lock...
[2025-02-08 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433086') start
[2025-02-08 23:30:04] Production.ERROR: done
[2025-02-08 23:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:30:04] Production.ERROR: done
[2025-02-08 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433086') end
[2025-02-08 23:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:30:04] Production.INFO: 1
[2025-02-08 23:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:30:04] Production.INFO: ==25715== Releasing lock...
[2025-02-08 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:30:05
[end_date_ymd] => 2025-02-08 23:30:05
[RateCDR] => 1
)
[2025-02-08 23:30: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` >= '2025-02-08 20:30:05' and `end` < '2025-02-08 23:30: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 ,'')
[2025-02-08 23:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433087', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 23:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 23:30:09] Production.INFO: ProcessCDR(1,14433087,1,1,2)
[2025-02-08 23:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433087,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433087,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:30:09] Production.INFO: ==25712== Releasing lock...
[2025-02-08 23:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 23:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 23:30:14] Production.ERROR: CronJobId end10
[2025-02-08 23:30:14] Production.INFO: ==25706== Releasing lock...
[2025-02-08 23:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:30:16] Production.INFO: call_cost start
[2025-02-08 23:30:16] Production.INFO: call_cost end
[2025-02-08 23:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:30:17] Production.INFO: ==25702== Releasing lock...
[2025-02-08 23:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:30:19] Production.INFO: count ==1591
[2025-02-08 23:30:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:30:05 - End Time 2025-02-08 23:30:05
[2025-02-08 23:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433088', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433088', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433088', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433088', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:30:19] Production.INFO: ProcessCDR(1,14433088,1,1,2)
[2025-02-08 23:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433088', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433088', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:30:22] Production.INFO: ==25710== Releasing lock...
[2025-02-08 23:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:30:22] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:31:02] Production.INFO: ==25773== Lock acquired, processing the job...
[2025-02-09 04:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:31:02] Production.INFO: neon service started
[2025-02-09 04:31:02] Production.INFO: neon service started
[2025-02-09 04:31:02] Production.INFO: ==25773== Releasing lock...
[2025-02-09 04:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:31:02] Production.INFO: ==25775== Lock acquired, processing the job...
[2025-02-08 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:31:03] Production.INFO: ==25775== Releasing lock...
[2025-02-08 23:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:31:03] Production.INFO: ==25777== Lock acquired, processing the job...
[2025-02-09 04:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:31:03] Production.INFO: ==25777== Releasing lock...
[2025-02-09 04:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:31:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:31:03] Production.INFO: ==25779== Lock acquired, processing the job...
[2025-02-08 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:31:03] Production.INFO: ==25781== Lock acquired, processing the job...
[2025-02-08 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:31:04] Production.INFO: ==25789== Lock acquired, processing the job...
[2025-02-08 23:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:31:04] Production.INFO: count ==21
[2025-02-08 23:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:31:04] Production.INFO: count ==21
[2025-02-08 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433090') start
[2025-02-08 23:31:04] Production.INFO: ==25783== Lock acquired, processing the job...
[2025-02-08 23:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:31:04] Production.INFO: ==25787== Lock acquired, processing the job...
[2025-02-08 23:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:31:04] Production.INFO: ==25785== Lock acquired, processing the job...
[2025-02-08 23:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433090') end
[2025-02-08 23:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:31:04] Production.INFO: 1
[2025-02-08 23:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:31:04] Production.INFO: Account Balance Start.
[2025-02-08 23:31:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:31:04] Production.INFO: 117
[2025-02-08 23:31:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:31:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:31:04] Production.INFO: ==25781== Releasing lock...
[2025-02-08 23:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:31:04] Production.INFO: Total Charge 0
[2025-02-08 23:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:31:04] Production.INFO: CreateAllLog End
[2025-02-08 23:31:04] Production.INFO: ==25789== Releasing lock...
[2025-02-08 23:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:31:04] Production.ERROR: done
[2025-02-08 23:31:04] Production.INFO: Account Balance End.
[2025-02-08 23:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:31:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:31:04] Production.INFO: ==25785== Releasing lock...
[2025-02-08 23:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:31:05] Production.ERROR: done
[2025-02-08 23:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:31:06
[end_date_ymd] => 2025-02-08 23:31:06
[RateCDR] => 1
)
[2025-02-08 23:31: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-02-08 20:31:06' and `end` < '2025-02-08 23:31: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-02-08 23:31:13] Production.ERROR: CronJobId end10
[2025-02-08 23:31:13] Production.INFO: ==25783== Releasing lock...
[2025-02-08 23:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:31:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:31:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:31:14] Production.INFO: call_cost start
[2025-02-08 23:31:14] Production.INFO: call_cost end
[2025-02-08 23:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:31:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:31:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:31:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:31:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:31:15] Production.INFO: ==25779== Releasing lock...
[2025-02-08 23:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:31:19] Production.INFO: count ==1579
[2025-02-08 23:31:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:31:06 - End Time 2025-02-08 23:31:06
[2025-02-08 23:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433093', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433093', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433093', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433093', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:31:19] Production.INFO: ProcessCDR(1,14433093,1,1,2)
[2025-02-08 23:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:31:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433093', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433093', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:31:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:31:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:31:24] Production.INFO: ==25787== Releasing lock...
[2025-02-08 23:31:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:31:24] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:32:01] Production.INFO: ==25847== Lock acquired, processing the job...
[2025-02-09 04:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:32:01] Production.INFO: neon service started
[2025-02-09 04:32:01] Production.INFO: neon service started
[2025-02-09 04:32:01] Production.INFO: ==25847== Releasing lock...
[2025-02-09 04:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:32:02] Production.INFO: ==25849== Lock acquired, processing the job...
[2025-02-08 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:32:02] Production.INFO: ==25849== Releasing lock...
[2025-02-08 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:32:02] Production.INFO: ==25851== Lock acquired, processing the job...
[2025-02-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:32:02] Production.INFO: ==25851== Releasing lock...
[2025-02-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:32:03] Production.INFO: ==25853== Lock acquired, processing the job...
[2025-02-08 23:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:32:03] Production.INFO: ==25855== Lock acquired, processing the job...
[2025-02-08 23:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:32:03] Production.INFO: ==25857== Lock acquired, processing the job...
[2025-02-08 23:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:32:03] Production.INFO: ==25864== Lock acquired, processing the job...
[2025-02-08 23:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:32:03] Production.INFO: ==25859== Lock acquired, processing the job...
[2025-02-08 23:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:32:03] Production.INFO: ==25862== Lock acquired, processing the job...
[2025-02-08 23:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:32:03] Production.INFO: count ==21
[2025-02-08 23:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:32:03] Production.INFO: Account Balance Start.
[2025-02-08 23:32:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:32:03] Production.INFO: 117
[2025-02-08 23:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:32:03] Production.INFO: count ==21
[2025-02-08 23:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433096') start
[2025-02-08 23:32:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:32:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:32:03] Production.INFO: Total Charge 0
[2025-02-08 23:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433096') end
[2025-02-08 23:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:32:03] Production.INFO: 1
[2025-02-08 23:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:32:03] Production.INFO: CreateAllLog End
[2025-02-08 23:32:04] Production.INFO: ==25864== Releasing lock...
[2025-02-08 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:32:04] Production.INFO: ==25855== Releasing lock...
[2025-02-08 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:32:04] Production.INFO: Account Balance End.
[2025-02-08 23:32:04] Production.ERROR: done
[2025-02-08 23:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:32:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:32:04] Production.INFO: ==25859== Releasing lock...
[2025-02-08 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:32:04] Production.ERROR: done
[2025-02-08 23:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:32:05
[end_date_ymd] => 2025-02-08 23:32:05
[RateCDR] => 1
)
[2025-02-08 23:32: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` >= '2025-02-08 20:32:05' and `end` < '2025-02-08 23:32: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 ,'')
[2025-02-08 23:32:12] Production.ERROR: CronJobId end10
[2025-02-08 23:32:12] Production.INFO: ==25857== Releasing lock...
[2025-02-08 23:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:32:14] Production.INFO: call_cost start
[2025-02-08 23:32:14] Production.INFO: call_cost end
[2025-02-08 23:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:32:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:32:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:32:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:32:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:32:15] Production.INFO: ==25853== Releasing lock...
[2025-02-08 23:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:32:18] Production.INFO: count ==1579
[2025-02-08 23:32:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:32:05 - End Time 2025-02-08 23:32:05
[2025-02-08 23:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433098', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433098', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433098', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433098', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:32:18] Production.INFO: ProcessCDR(1,14433098,1,1,2)
[2025-02-08 23:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433098', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433098', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:32:21] Production.INFO: ==25862== Releasing lock...
[2025-02-08 23:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:32:21] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:33:01] Production.INFO: ==25925== Lock acquired, processing the job...
[2025-02-09 04:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:33:01] Production.INFO: neon service started
[2025-02-09 04:33:01] Production.INFO: neon service started
[2025-02-09 04:33:01] Production.INFO: ==25925== Releasing lock...
[2025-02-09 04:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:33:01] Production.INFO: ==25929== Lock acquired, processing the job...
[2025-02-09 04:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:33:01] Production.INFO: ==25929== Releasing lock...
[2025-02-09 04:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:33:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:33:01] Production.INFO: ==25927== Lock acquired, processing the job...
[2025-02-08 23:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:33:02] Production.INFO: ==25927== Releasing lock...
[2025-02-08 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:33:02] Production.INFO: ==25936== Lock acquired, processing the job...
[2025-02-08 23:33:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:33:03] Production.INFO: ==25940== Lock acquired, processing the job...
[2025-02-08 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:33:03] Production.INFO: ==25932== Lock acquired, processing the job...
[2025-02-08 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:33:03] Production.INFO: ==25934== Lock acquired, processing the job...
[2025-02-08 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:33:03] Production.INFO: ==25938== Lock acquired, processing the job...
[2025-02-08 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:33:03] Production.INFO: ==25942== Lock acquired, processing the job...
[2025-02-08 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:33:03] Production.INFO: Account Balance Start.
[2025-02-08 23:33:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:33:03] Production.INFO: 117
[2025-02-08 23:33:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:33:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:33:03] Production.INFO: Total Charge 0
[2025-02-08 23:33:03] Production.INFO: CreateAllLog End
[2025-02-08 23:33:03] Production.ERROR: done
[2025-02-08 23:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:33:03] Production.INFO: count ==21
[2025-02-08 23:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:33:03] Production.INFO: count ==21
[2025-02-08 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433102') start
[2025-02-08 23:33:03] Production.INFO: ==25934== Releasing lock...
[2025-02-08 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:33:03] Production.ERROR: done
[2025-02-08 23:33:03] Production.INFO: Account Balance End.
[2025-02-08 23:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433102') end
[2025-02-08 23:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:33:04] Production.INFO: 1
[2025-02-08 23:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:33:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:33:04] Production.INFO: ==25938== Releasing lock...
[2025-02-08 23:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:33:04] Production.INFO: ==25942== Releasing lock...
[2025-02-08 23:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:33:04
[end_date_ymd] => 2025-02-08 23:33:04
[RateCDR] => 1
)
[2025-02-08 23:33:04] 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-02-08 20:33:04' and `end` < '2025-02-08 23:33:04'
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-02-08 23:33:11] Production.ERROR: CronJobId end10
[2025-02-08 23:33:11] Production.INFO: ==25936== Releasing lock...
[2025-02-08 23:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:33:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:33:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:33:13] Production.INFO: call_cost start
[2025-02-08 23:33:13] Production.INFO: call_cost end
[2025-02-08 23:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:33:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:33:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:33:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:33:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:33:14] Production.INFO: ==25932== Releasing lock...
[2025-02-08 23:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:33:18] Production.INFO: count ==1579
[2025-02-08 23:33:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:33:04 - End Time 2025-02-08 23:33:04
[2025-02-08 23:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433103', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433103', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433103', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433103', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:33:19] Production.INFO: ProcessCDR(1,14433103,1,1,2)
[2025-02-08 23:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433103', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433103', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:33:22] Production.INFO: ==25940== Releasing lock...
[2025-02-08 23:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:33:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:34:01] Production.INFO: ==26040== Lock acquired, processing the job...
[2025-02-09 04:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:34:01] Production.INFO: neon service started
[2025-02-09 04:34:01] Production.INFO: neon service started
[2025-02-09 04:34:01] Production.INFO: ==26040== Releasing lock...
[2025-02-09 04:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:34:02] Production.INFO: ==26044== Lock acquired, processing the job...
[2025-02-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:34:02] Production.INFO: ==26044== Releasing lock...
[2025-02-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:34:02] Production.INFO: ==26042== Lock acquired, processing the job...
[2025-02-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:34:02] Production.INFO: ==26042== Releasing lock...
[2025-02-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:34:03] Production.INFO: ==26053== Lock acquired, processing the job...
[2025-02-08 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:34:03] Production.INFO: ==26057== Lock acquired, processing the job...
[2025-02-08 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:34:03] Production.INFO: Account Balance Start.
[2025-02-08 23:34:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:34:03] Production.INFO: 117
[2025-02-08 23:34:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:34:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:34:03] Production.INFO: Total Charge 0
[2025-02-08 23:34:03] Production.INFO: CreateAllLog End
[2025-02-08 23:34:03] Production.INFO: ==26047== Lock acquired, processing the job...
[2025-02-08 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:34:03] Production.INFO: count ==21
[2025-02-08 23:34:03] Production.INFO: ==26051== Lock acquired, processing the job...
[2025-02-08 23:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:34:03] Production.INFO: count ==21
[2025-02-08 23:34:03] Production.INFO: ==26049== Lock acquired, processing the job...
[2025-02-08 23:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433105') start
[2025-02-08 23:34:03] Production.INFO: ==26055== Lock acquired, processing the job...
[2025-02-08 23:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:34:03] Production.INFO: Account Balance End.
[2025-02-08 23:34:03] Production.ERROR: CronJobId end 12
[2025-02-08 23:34:03] Production.INFO: ==26053== Releasing lock...
[2025-02-08 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433105') end
[2025-02-08 23:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:34:03] Production.INFO: 1
[2025-02-08 23:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:34:04] Production.INFO: ==26057== Releasing lock...
[2025-02-08 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:34:04] Production.INFO: ==26049== Releasing lock...
[2025-02-08 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:34:04] Production.ERROR: done
[2025-02-08 23:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:34:04] Production.ERROR: done
[2025-02-08 23:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:34:05
[end_date_ymd] => 2025-02-08 23:34:05
[RateCDR] => 1
)
[2025-02-08 23:34: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` >= '2025-02-08 20:34:05' and `end` < '2025-02-08 23:34: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 ,'')
[2025-02-08 23:34:11] Production.ERROR: CronJobId end10
[2025-02-08 23:34:11] Production.INFO: ==26051== Releasing lock...
[2025-02-08 23:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:34:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:34:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:34:13] Production.INFO: call_cost start
[2025-02-08 23:34:13] Production.INFO: call_cost end
[2025-02-08 23:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:34:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:34:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:34:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:34:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:34:14] Production.INFO: ==26047== Releasing lock...
[2025-02-08 23:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:34:19] Production.INFO: count ==1579
[2025-02-08 23:34:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:34:05 - End Time 2025-02-08 23:34:05
[2025-02-08 23:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433108', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433108', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433108', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433108', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:34:19] Production.INFO: ProcessCDR(1,14433108,1,1,2)
[2025-02-08 23:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433108', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433108', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:34:22] Production.INFO: ==26055== Releasing lock...
[2025-02-08 23:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:34:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:35:02] Production.INFO: ==26115== Lock acquired, processing the job...
[2025-02-09 04:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:35:02] Production.INFO: neon service started
[2025-02-09 04:35:02] Production.INFO: neon service started
[2025-02-09 04:35:02] Production.INFO: ==26115== Releasing lock...
[2025-02-09 04:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:35:02] Production.INFO: ==26119== Lock acquired, processing the job...
[2025-02-08 23:35:02] Production.INFO: ==26117== Lock acquired, processing the job...
[2025-02-08 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:35:02] Production.INFO: ==26119== Releasing lock...
[2025-02-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:35:03] Production.INFO: ==26117== Releasing lock...
[2025-02-08 23:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:35:03] Production.INFO: ==26122== Lock acquired, processing the job...
[2025-02-08 23:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:35:03] Production.INFO: ==26124== Lock acquired, processing the job...
[2025-02-08 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:35:04] Production.INFO: ==26128== Lock acquired, processing the job...
[2025-02-08 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:35:04] Production.INFO: Account Balance Start.
[2025-02-08 23:35:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:35:04] Production.INFO: 117
[2025-02-08 23:35:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:35:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:35:04] Production.INFO: ==26126== Lock acquired, processing the job...
[2025-02-08 23:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:35:04] Production.INFO: Total Charge 0
[2025-02-08 23:35:04] Production.INFO: CreateAllLog End
[2025-02-08 23:35:04] Production.INFO: ==26124== Releasing lock...
[2025-02-08 23:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:35:04] Production.INFO: ==26130== Lock acquired, processing the job...
[2025-02-08 23:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:35:04] Production.INFO: Account Balance End.
[2025-02-08 23:35:04] Production.INFO: ==26132== Lock acquired, processing the job...
[2025-02-08 23:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:35:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:35:04] Production.INFO: ==26128== Releasing lock...
[2025-02-08 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:35:04] Production.INFO: count ==21
[2025-02-08 23:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:35:04] Production.INFO: count ==21
[2025-02-08 23:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433112') start
[2025-02-08 23:35:04] Production.ERROR: done
[2025-02-08 23:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:35:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433112') end
[2025-02-08 23:35:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:35:05] Production.INFO: 1
[2025-02-08 23:35:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:35:05] Production.INFO: ==26132== Releasing lock...
[2025-02-08 23:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:35:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:35:05] Production.ERROR: done
[2025-02-08 23:35:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:35:06
[end_date_ymd] => 2025-02-08 23:35:06
[RateCDR] => 1
)
[2025-02-08 23:35: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-02-08 20:35:06' and `end` < '2025-02-08 23:35: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-02-08 23:35:12] Production.ERROR: CronJobId end10
[2025-02-08 23:35:12] Production.INFO: ==26126== Releasing lock...
[2025-02-08 23:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:35:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:35:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:35:15] Production.INFO: call_cost start
[2025-02-08 23:35:15] Production.INFO: call_cost end
[2025-02-08 23:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:35:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:35:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:35:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:35:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:35:16] Production.INFO: ==26122== Releasing lock...
[2025-02-08 23:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:35:19] Production.INFO: count ==1579
[2025-02-08 23:35:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:35:06 - End Time 2025-02-08 23:35:06
[2025-02-08 23:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433113', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433113', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433113', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433113', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:35:19] Production.INFO: ProcessCDR(1,14433113,1,1,2)
[2025-02-08 23:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433113', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433113', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:35:23] Production.INFO: ==26130== Releasing lock...
[2025-02-08 23:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:35:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:36:01] Production.INFO: ==26193== Lock acquired, processing the job...
[2025-02-09 04:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:36:01] Production.INFO: neon service started
[2025-02-09 04:36:01] Production.INFO: neon service started
[2025-02-09 04:36:01] Production.INFO: ==26193== Releasing lock...
[2025-02-09 04:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:36:02] Production.INFO: ==26195== Lock acquired, processing the job...
[2025-02-08 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:36:02] Production.INFO: ==26195== Releasing lock...
[2025-02-08 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:36:02] Production.INFO: ==26197== Lock acquired, processing the job...
[2025-02-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:36:02] Production.INFO: ==26197== Releasing lock...
[2025-02-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:36:03] Production.INFO: ==26207== Lock acquired, processing the job...
[2025-02-08 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:36:03] Production.INFO: ==26201== Lock acquired, processing the job...
[2025-02-08 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:36:03] Production.INFO: Account Balance Start.
[2025-02-08 23:36:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:36:03] Production.INFO: 117
[2025-02-08 23:36:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:36:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:36:03] Production.INFO: ==26203== Lock acquired, processing the job...
[2025-02-08 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:36:03] Production.INFO: ==26211== Lock acquired, processing the job...
[2025-02-08 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:36:03] Production.INFO: Total Charge 0
[2025-02-08 23:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:36:03] Production.INFO: CreateAllLog End
[2025-02-08 23:36:03] Production.INFO: ==26205== Lock acquired, processing the job...
[2025-02-08 23:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:36:03] Production.INFO: Account Balance End.
[2025-02-08 23:36:03] Production.ERROR: CronJobId end 12
[2025-02-08 23:36:03] Production.INFO: ==26207== Releasing lock...
[2025-02-08 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:36:03] Production.INFO: count ==21
[2025-02-08 23:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:36:03] Production.INFO: ==26209== Lock acquired, processing the job...
[2025-02-08 23:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:36:03] Production.INFO: count ==21
[2025-02-08 23:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433116') start
[2025-02-08 23:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:36:03] Production.INFO: ==26203== Releasing lock...
[2025-02-08 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433116') end
[2025-02-08 23:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:36:03] Production.INFO: 1
[2025-02-08 23:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:36:03] Production.INFO: ==26211== Releasing lock...
[2025-02-08 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:36:04] Production.ERROR: done
[2025-02-08 23:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:36:04] Production.ERROR: done
[2025-02-08 23:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:36:05
[end_date_ymd] => 2025-02-08 23:36:05
[RateCDR] => 1
)
[2025-02-08 23:36: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` >= '2025-02-08 20:36:05' and `end` < '2025-02-08 23:36: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 ,'')
[2025-02-08 23:36:13] Production.ERROR: CronJobId end10
[2025-02-08 23:36:13] Production.INFO: ==26205== Releasing lock...
[2025-02-08 23:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:36:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:36:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:36:15] Production.INFO: call_cost start
[2025-02-08 23:36:15] Production.INFO: call_cost end
[2025-02-08 23:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:36:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:36:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:36:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:36:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:36:16] Production.INFO: ==26201== Releasing lock...
[2025-02-08 23:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:36:18] Production.INFO: count ==1579
[2025-02-08 23:36:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:36:05 - End Time 2025-02-08 23:36:05
[2025-02-08 23:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433118', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433118', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433118', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433118', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:36:18] Production.INFO: ProcessCDR(1,14433118,1,1,2)
[2025-02-08 23:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433118', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433118', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:36:21] Production.INFO: ==26209== Releasing lock...
[2025-02-08 23:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:36:21] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:37:02] Production.INFO: ==26278== Lock acquired, processing the job...
[2025-02-09 04:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:37:02] Production.INFO: neon service started
[2025-02-09 04:37:02] Production.INFO: neon service started
[2025-02-09 04:37:02] Production.INFO: ==26278== Releasing lock...
[2025-02-09 04:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:37:02] Production.INFO: ==26282== Lock acquired, processing the job...
[2025-02-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:37:02] Production.INFO: ==26282== Releasing lock...
[2025-02-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:37:02] Production.INFO: ==26280== Lock acquired, processing the job...
[2025-02-08 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:37:02] Production.INFO: ==26280== Releasing lock...
[2025-02-08 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:37:03] Production.INFO: ==26289== Lock acquired, processing the job...
[2025-02-08 23:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:37:03] Production.INFO: ==26295== Lock acquired, processing the job...
[2025-02-08 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:37:03] Production.INFO: ==26285== Lock acquired, processing the job...
[2025-02-08 23:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:37:03] Production.INFO: count ==21
[2025-02-08 23:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:37:03] Production.INFO: count ==21
[2025-02-08 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433119') start
[2025-02-08 23:37:03] Production.INFO: ==26287== Lock acquired, processing the job...
[2025-02-08 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433119') end
[2025-02-08 23:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:37:04] Production.INFO: 1
[2025-02-08 23:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:37:04] Production.INFO: ==26291== Lock acquired, processing the job...
[2025-02-08 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:37:04] Production.INFO: ==26293== Lock acquired, processing the job...
[2025-02-08 23:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:37:04] Production.INFO: ==26295== Releasing lock...
[2025-02-08 23:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:37:04] Production.INFO: Account Balance Start.
[2025-02-08 23:37:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:37:04] Production.INFO: 117
[2025-02-08 23:37:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:37:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:37:04] Production.INFO: Total Charge 0
[2025-02-08 23:37:04] Production.INFO: CreateAllLog End
[2025-02-08 23:37:04] Production.INFO: ==26287== Releasing lock...
[2025-02-08 23:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:37:04] Production.INFO: Account Balance End.
[2025-02-08 23:37:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:37:04] Production.INFO: ==26291== Releasing lock...
[2025-02-08 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:37:04] Production.ERROR: done
[2025-02-08 23:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:37:04] Production.ERROR: done
[2025-02-08 23:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:37:06
[end_date_ymd] => 2025-02-08 23:37:06
[RateCDR] => 1
)
[2025-02-08 23:37: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-02-08 20:37:06' and `end` < '2025-02-08 23:37: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-02-08 23:37:12] Production.ERROR: CronJobId end10
[2025-02-08 23:37:12] Production.INFO: ==26289== Releasing lock...
[2025-02-08 23:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:37:15] Production.INFO: call_cost start
[2025-02-08 23:37:15] Production.INFO: call_cost end
[2025-02-08 23:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:37:15] Production.INFO: ==26285== Releasing lock...
[2025-02-08 23:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:37:19] Production.INFO: count ==1582
[2025-02-08 23:37:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:37:06 - End Time 2025-02-08 23:37:06
[2025-02-08 23:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433123', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433123', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433123', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433123', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:37:19] Production.INFO: ProcessCDR(1,14433123,1,1,2)
[2025-02-08 23:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433123', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433123', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:37:22] Production.INFO: ==26293== Releasing lock...
[2025-02-08 23:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:37:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:38:01] Production.INFO: ==26353== Lock acquired, processing the job...
[2025-02-09 04:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:38:01] Production.INFO: neon service started
[2025-02-09 04:38:01] Production.INFO: neon service started
[2025-02-09 04:38:01] Production.INFO: ==26353== Releasing lock...
[2025-02-09 04:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:38:02] Production.INFO: ==26355== Lock acquired, processing the job...
[2025-02-08 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:38:02] Production.INFO: ==26357== Lock acquired, processing the job...
[2025-02-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:38:02] Production.INFO: ==26357== Releasing lock...
[2025-02-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:38:02] Production.INFO: ==26355== Releasing lock...
[2025-02-08 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:38:03] Production.INFO: ==26364== Lock acquired, processing the job...
[2025-02-08 23:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:38:03] Production.INFO: ==26368== Lock acquired, processing the job...
[2025-02-08 23:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:38:03] Production.INFO: ==26360== Lock acquired, processing the job...
[2025-02-08 23:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:38:03] Production.INFO: ==26362== Lock acquired, processing the job...
[2025-02-08 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:38:03] Production.INFO: ==26366== Lock acquired, processing the job...
[2025-02-08 23:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:38:03] Production.INFO: ==26370== Lock acquired, processing the job...
[2025-02-08 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:38:03] Production.INFO: Account Balance Start.
[2025-02-08 23:38:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:38:03] Production.INFO: 117
[2025-02-08 23:38:03] Production.ERROR: done
[2025-02-08 23:38:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:38:03] Production.INFO: count ==21
[2025-02-08 23:38:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:38:04] Production.INFO: count ==21
[2025-02-08 23:38:04] Production.INFO: Total Charge 0
[2025-02-08 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433126') start
[2025-02-08 23:38:04] Production.INFO: CreateAllLog End
[2025-02-08 23:38:04] Production.INFO: ==26362== Releasing lock...
[2025-02-08 23:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:38:04] Production.ERROR: done
[2025-02-08 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433126') end
[2025-02-08 23:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:38:04] Production.INFO: 1
[2025-02-08 23:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:38:04] Production.INFO: ==26370== Releasing lock...
[2025-02-08 23:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:38:04] Production.INFO: Account Balance End.
[2025-02-08 23:38:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:38:04] Production.INFO: ==26366== Releasing lock...
[2025-02-08 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:38:05
[end_date_ymd] => 2025-02-08 23:38:05
[RateCDR] => 1
)
[2025-02-08 23:38: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` >= '2025-02-08 20:38:05' and `end` < '2025-02-08 23:38: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 ,'')
[2025-02-08 23:38:11] Production.ERROR: CronJobId end10
[2025-02-08 23:38:11] Production.INFO: ==26364== Releasing lock...
[2025-02-08 23:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:38:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:38:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:38:14] Production.INFO: call_cost start
[2025-02-08 23:38:14] Production.INFO: call_cost end
[2025-02-08 23:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:38:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:38:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:38:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:38:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:38:15] Production.INFO: ==26360== Releasing lock...
[2025-02-08 23:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:38:18] Production.INFO: count ==1583
[2025-02-08 23:38:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:38:05 - End Time 2025-02-08 23:38:05
[2025-02-08 23:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433128', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433128', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433128', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433128', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:38:19] Production.INFO: ProcessCDR(1,14433128,1,1,2)
[2025-02-08 23:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433128', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433128', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:38:23] Production.INFO: ==26368== Releasing lock...
[2025-02-08 23:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:38:23] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:39:01] Production.INFO: ==26427== Lock acquired, processing the job...
[2025-02-09 04:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:39:02] Production.INFO: neon service started
[2025-02-09 04:39:02] Production.INFO: neon service started
[2025-02-09 04:39:02] Production.INFO: ==26427== Releasing lock...
[2025-02-09 04:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:39:02] Production.INFO: ==26429== Lock acquired, processing the job...
[2025-02-08 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:39:02] Production.INFO: ==26431== Lock acquired, processing the job...
[2025-02-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:39:02] Production.INFO: ==26431== Releasing lock...
[2025-02-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:39:03] Production.INFO: ==26429== Releasing lock...
[2025-02-08 23:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:39:03] Production.INFO: ==26440== Lock acquired, processing the job...
[2025-02-08 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:39:03] Production.INFO: ==26434== Lock acquired, processing the job...
[2025-02-08 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:39:03] Production.INFO: ==26444== Lock acquired, processing the job...
[2025-02-08 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:39:03] Production.INFO: ==26436== Lock acquired, processing the job...
[2025-02-08 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:39:04] Production.INFO: Account Balance Start.
[2025-02-08 23:39:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:39:04] Production.INFO: ==26438== Lock acquired, processing the job...
[2025-02-08 23:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:39:04] Production.INFO: 117
[2025-02-08 23:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:39:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:39:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:39:04] Production.INFO: count ==21
[2025-02-08 23:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:39:04] Production.INFO: count ==21
[2025-02-08 23:39:04] Production.INFO: Total Charge 0
[2025-02-08 23:39:04] Production.INFO: ==26442== Lock acquired, processing the job...
[2025-02-08 23:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:39:04] Production.INFO: CreateAllLog End
[2025-02-08 23:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433131') start
[2025-02-08 23:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:39:04] Production.INFO: Account Balance End.
[2025-02-08 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433131') end
[2025-02-08 23:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:39:04] Production.INFO: 1
[2025-02-08 23:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:39:04] Production.INFO: ==26444== Releasing lock...
[2025-02-08 23:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:39:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:39:04] Production.INFO: ==26440== Releasing lock...
[2025-02-08 23:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:39:04] Production.INFO: ==26436== Releasing lock...
[2025-02-08 23:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:39:04] Production.ERROR: done
[2025-02-08 23:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:39:04] Production.ERROR: done
[2025-02-08 23:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:39:05
[end_date_ymd] => 2025-02-08 23:39:05
[RateCDR] => 1
)
[2025-02-08 23:39: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` >= '2025-02-08 20:39:05' and `end` < '2025-02-08 23:39: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 ,'')
[2025-02-08 23:39:11] Production.ERROR: CronJobId end10
[2025-02-08 23:39:11] Production.INFO: ==26438== Releasing lock...
[2025-02-08 23:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:39:14] Production.INFO: call_cost start
[2025-02-08 23:39:14] Production.INFO: call_cost end
[2025-02-08 23:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:39:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:39:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:39:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:39:15] Production.INFO: ==26434== Releasing lock...
[2025-02-08 23:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:39:18] Production.INFO: count ==1583
[2025-02-08 23:39:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:39:05 - End Time 2025-02-08 23:39:05
[2025-02-08 23:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433133', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433133', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433133', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433133', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:39:19] Production.INFO: ProcessCDR(1,14433133,1,1,2)
[2025-02-08 23:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433133', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433133', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:39:22] Production.INFO: ==26442== Releasing lock...
[2025-02-08 23:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:39:22] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:40:01] Production.INFO: ==26500== Lock acquired, processing the job...
[2025-02-09 04:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:40:01] Production.INFO: neon service started
[2025-02-09 04:40:01] Production.INFO: neon service started
[2025-02-09 04:40:01] Production.INFO: ==26500== Releasing lock...
[2025-02-09 04:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:40:01] Production.INFO: ==26502== Lock acquired, processing the job...
[2025-02-08 23:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:40:02] Production.INFO: ==26504== Lock acquired, processing the job...
[2025-02-09 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:40:02] Production.INFO: ==26504== Releasing lock...
[2025-02-09 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:40:02] Production.INFO: ==26502== Releasing lock...
[2025-02-08 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:40:03] Production.INFO: ==26509== Lock acquired, processing the job...
[2025-02-08 23:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:40:03] Production.INFO: ==26507== Lock acquired, processing the job...
[2025-02-08 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 23:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:40:03] Production.INFO: ==26511== Lock acquired, processing the job...
[2025-02-08 23:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 23:40:03] Production.INFO: ==26513== Lock acquired, processing the job...
[2025-02-08 23:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:40:03] Production.ERROR: CronJob PID - 26509
[2025-02-08 23:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-08 23:40:03] Production.ERROR: CronJob ID - 5
[2025-02-08 23:40:03] Production.ERROR: CronJob Last Run Time 2025-02-08 23:40:00
[2025-02-08 23:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:40:03] Production.ERROR: CronJob PID - 26511
[2025-02-08 23:40:03] Production.ERROR: CronJob Title - Account Block
[2025-02-08 23:40:03] Production.ERROR: CronJob ID - 7
[2025-02-08 23:40:03] Production.ERROR: CronJob Last Run Time 2025-02-08 23:40:00
[2025-02-08 23:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 23:40:03] Production.INFO: ==26507== Releasing lock...
[2025-02-08 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 23:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 23:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:40:03] Production.INFO: ==26517== Lock acquired, processing the job...
[2025-02-08 23:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:40:03] Production.INFO: ==26515== Lock acquired, processing the job...
[2025-02-08 23:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:40:03] Production.INFO: ==26519== Lock acquired, processing the job...
[2025-02-08 23:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 23:40:03] Production.INFO: Account Balance Start.
[2025-02-08 23:40:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:40:03] Production.INFO: 117
[2025-02-08 23:40:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:40:03] Production.INFO: ==26521== Lock acquired, processing the job...
[2025-02-08 23:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:40:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:40:04] Production.INFO: ==26511== Releasing lock...
[2025-02-08 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:40:04] Production.INFO: Total Charge 0
[2025-02-08 23:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:40:04] Production.INFO: CreateAllLog End
[2025-02-08 23:40:04] Production.INFO: count ==21
[2025-02-08 23:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:40:04] Production.INFO: count ==21
[2025-02-08 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433137') start
[2025-02-08 23:40:04] Production.ERROR: done
[2025-02-08 23:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433137') end
[2025-02-08 23:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:40:04] Production.INFO: 1
[2025-02-08 23:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:40:04] Production.INFO: ==26521== Releasing lock...
[2025-02-08 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:40:04] Production.ERROR: done
[2025-02-08 23:40:04] Production.INFO: Account Balance End.
[2025-02-08 23:40:04] Production.ERROR: done
[2025-02-08 23:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 23:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433138', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 23:40:05] Production.ERROR: CronJobId end 12
[2025-02-08 23:40:05] Production.INFO: ==26515== Releasing lock...
[2025-02-08 23:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:40:06
[end_date_ymd] => 2025-02-08 23:40:06
[RateCDR] => 1
)
[2025-02-08 23:40: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-02-08 20:40:06' and `end` < '2025-02-08 23:40: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-02-08 23:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433138', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 23:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 23:40:08] Production.INFO: ProcessCDR(1,14433138,1,1,2)
[2025-02-08 23:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433138,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433138,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:40:09] Production.INFO: ==26519== Releasing lock...
[2025-02-08 23:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 23:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 23:40:13] Production.ERROR: CronJobId end10
[2025-02-08 23:40:13] Production.INFO: ==26513== Releasing lock...
[2025-02-08 23:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:40:16] Production.INFO: call_cost start
[2025-02-08 23:40:16] Production.INFO: call_cost end
[2025-02-08 23:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:40:17] Production.INFO: ==26509== Releasing lock...
[2025-02-08 23:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:40:19] Production.INFO: count ==1583
[2025-02-08 23:40:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:40:06 - End Time 2025-02-08 23:40:06
[2025-02-08 23:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433139', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433139', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433139', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433139', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:40:19] Production.INFO: ProcessCDR(1,14433139,1,1,2)
[2025-02-08 23:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433139', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433139', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:40:23] Production.INFO: ==26517== Releasing lock...
[2025-02-08 23:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:40:23] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 04:41:01] Production.INFO: ==26581== Lock acquired, processing the job...
[2025-02-09 04:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:41:01] Production.INFO: neon service started
[2025-02-09 04:41:01] Production.INFO: neon service started
[2025-02-09 04:41:01] Production.INFO: ==26581== Releasing lock...
[2025-02-09 04:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:41:02] Production.INFO: ==26583== Lock acquired, processing the job...
[2025-02-08 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:41:02] Production.INFO: ==26583== Releasing lock...
[2025-02-08 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:41:02] Production.INFO: ==26585== Lock acquired, processing the job...
[2025-02-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:41:02] Production.INFO: ==26585== Releasing lock...
[2025-02-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:41:03] Production.INFO: ==26594== Lock acquired, processing the job...
[2025-02-08 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:41:03] Production.INFO: ==26598== Lock acquired, processing the job...
[2025-02-08 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:41:03] Production.INFO: Account Balance Start.
[2025-02-08 23:41:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:41:03] Production.INFO: 117
[2025-02-08 23:41:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:41:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:41:03] Production.INFO: ==26588== Lock acquired, processing the job...
[2025-02-08 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:41:03] Production.INFO: ==26592== Lock acquired, processing the job...
[2025-02-08 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:41:03] Production.INFO: Total Charge 0
[2025-02-08 23:41:03] Production.INFO: ==26590== Lock acquired, processing the job...
[2025-02-08 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:41:03] Production.INFO: CreateAllLog End
[2025-02-08 23:41:03] Production.INFO: count ==21
[2025-02-08 23:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:41:03] Production.INFO: ==26596== Lock acquired, processing the job...
[2025-02-08 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:41:03] Production.INFO: count ==21
[2025-02-08 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433141') start
[2025-02-08 23:41:04] Production.INFO: Account Balance End.
[2025-02-08 23:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:41:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:41:04] Production.INFO: ==26594== Releasing lock...
[2025-02-08 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433141') end
[2025-02-08 23:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:41:04] Production.INFO: 1
[2025-02-08 23:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:41:04] Production.INFO: ==26598== Releasing lock...
[2025-02-08 23:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:41:04] Production.INFO: ==26590== Releasing lock...
[2025-02-08 23:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:41:04] Production.ERROR: done
[2025-02-08 23:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:41:04] Production.ERROR: done
[2025-02-08 23:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:41:05
[end_date_ymd] => 2025-02-08 23:41:05
[RateCDR] => 1
)
[2025-02-08 23:41: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` >= '2025-02-08 20:41:05' and `end` < '2025-02-08 23:41: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 ,'')
[2025-02-08 23:41:11] Production.ERROR: CronJobId end10
[2025-02-08 23:41:11] Production.INFO: ==26592== Releasing lock...
[2025-02-08 23:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:41:13] Production.INFO: call_cost start
[2025-02-08 23:41:13] Production.INFO: call_cost end
[2025-02-08 23:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:41:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:41:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:41:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:41:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:41:14] Production.INFO: ==26588== Releasing lock...
[2025-02-08 23:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:41:18] Production.INFO: count ==1567
[2025-02-08 23:41:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:41:05 - End Time 2025-02-08 23:41:05
[2025-02-08 23:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433144', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433144', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433144', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433144', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:41:19] Production.INFO: ProcessCDR(1,14433144,1,1,2)
[2025-02-08 23:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433144', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433144', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:41:22] Production.INFO: ==26596== Releasing lock...
[2025-02-08 23:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:41:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:42:01] Production.INFO: ==26663== Lock acquired, processing the job...
[2025-02-09 04:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:42:01] Production.INFO: neon service started
[2025-02-09 04:42:01] Production.INFO: neon service started
[2025-02-09 04:42:01] Production.INFO: ==26663== Releasing lock...
[2025-02-09 04:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:42:01] Production.INFO: ==26667== Lock acquired, processing the job...
[2025-02-09 04:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:42:01] Production.INFO: ==26667== Releasing lock...
[2025-02-09 04:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:42:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:42:01] Production.INFO: ==26665== Lock acquired, processing the job...
[2025-02-08 23:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:42:02] Production.INFO: ==26665== Releasing lock...
[2025-02-08 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:42:03] Production.INFO: ==26670== Lock acquired, processing the job...
[2025-02-08 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:42:03] Production.INFO: ==26678== Lock acquired, processing the job...
[2025-02-08 23:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:42:03] Production.INFO: ==26672== Lock acquired, processing the job...
[2025-02-08 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:42:03] Production.INFO: ==26674== Lock acquired, processing the job...
[2025-02-08 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:42:03] Production.INFO: ==26676== Lock acquired, processing the job...
[2025-02-08 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:42:03] Production.INFO: ==26680== Lock acquired, processing the job...
[2025-02-08 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:42:03] Production.ERROR: done
[2025-02-08 23:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:42:03] Production.INFO: Account Balance Start.
[2025-02-08 23:42:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:42:03] Production.INFO: 117
[2025-02-08 23:42:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:42:03] Production.INFO: ==26672== Releasing lock...
[2025-02-08 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:42:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:42:03] Production.INFO: count ==21
[2025-02-08 23:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:42:03] Production.INFO: count ==21
[2025-02-08 23:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433147') start
[2025-02-08 23:42:03] Production.INFO: Total Charge 0
[2025-02-08 23:42:03] Production.INFO: CreateAllLog End
[2025-02-08 23:42:04] Production.ERROR: done
[2025-02-08 23:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433147') end
[2025-02-08 23:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:42:04] Production.INFO: 1
[2025-02-08 23:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:42:04] Production.INFO: ==26680== Releasing lock...
[2025-02-08 23:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:42:04] Production.INFO: Account Balance End.
[2025-02-08 23:42:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:42:04] Production.INFO: ==26676== Releasing lock...
[2025-02-08 23:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:42:04
[end_date_ymd] => 2025-02-08 23:42:04
[RateCDR] => 1
)
[2025-02-08 23:42:04] 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-02-08 20:42:04' and `end` < '2025-02-08 23:42:04'
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-02-08 23:42:12] Production.ERROR: CronJobId end10
[2025-02-08 23:42:12] Production.INFO: ==26674== Releasing lock...
[2025-02-08 23:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:42:14] Production.INFO: call_cost start
[2025-02-08 23:42:14] Production.INFO: call_cost end
[2025-02-08 23:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:42:15] Production.INFO: ==26670== Releasing lock...
[2025-02-08 23:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:42:17] Production.INFO: count ==1566
[2025-02-08 23:42:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:42:04 - End Time 2025-02-08 23:42:04
[2025-02-08 23:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433149', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433149', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433149', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433149', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:42:18] Production.INFO: ProcessCDR(1,14433149,1,1,2)
[2025-02-08 23:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433149', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433149', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:42:21] Production.INFO: ==26678== Releasing lock...
[2025-02-08 23:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:42:21] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:43:01] Production.INFO: ==26735== Lock acquired, processing the job...
[2025-02-09 04:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:43:01] Production.INFO: neon service started
[2025-02-09 04:43:01] Production.INFO: neon service started
[2025-02-09 04:43:01] Production.INFO: ==26735== Releasing lock...
[2025-02-09 04:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:43:02] Production.INFO: ==26739== Lock acquired, processing the job...
[2025-02-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 23:43:02] Production.INFO: ==26737== Lock acquired, processing the job...
[2025-02-08 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:43:02] Production.INFO: ==26739== Releasing lock...
[2025-02-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:43:02] Production.INFO: ==26737== Releasing lock...
[2025-02-08 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:43:03] Production.INFO: ==26744== Lock acquired, processing the job...
[2025-02-08 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:43:03] Production.INFO: ==26746== Lock acquired, processing the job...
[2025-02-08 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:43:03] Production.INFO: ==26748== Lock acquired, processing the job...
[2025-02-08 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:43:03] Production.INFO: ==26750== Lock acquired, processing the job...
[2025-02-08 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:43:04] Production.INFO: ==26746== Releasing lock...
[2025-02-08 23:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:43:04] Production.INFO: ==26752== Lock acquired, processing the job...
[2025-02-08 23:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:43:04] Production.INFO: ==26754== Lock acquired, processing the job...
[2025-02-08 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:43:04] Production.INFO: Account Balance Start.
[2025-02-08 23:43:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:43:04] Production.INFO: 117
[2025-02-08 23:43:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:43:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:43:04] Production.INFO: Total Charge 0
[2025-02-08 23:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:43:04] Production.INFO: CreateAllLog End
[2025-02-08 23:43:04] Production.INFO: count ==21
[2025-02-08 23:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:43:04] Production.INFO: count ==21
[2025-02-08 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433153') start
[2025-02-08 23:43:04] Production.ERROR: done
[2025-02-08 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433153') end
[2025-02-08 23:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:43:04] Production.INFO: 1
[2025-02-08 23:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:43:04] Production.INFO: Account Balance End.
[2025-02-08 23:43:04] Production.INFO: ==26754== Releasing lock...
[2025-02-08 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:43:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:43:04] Production.INFO: ==26750== Releasing lock...
[2025-02-08 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:43:04] Production.ERROR: done
[2025-02-08 23:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:43:05
[end_date_ymd] => 2025-02-08 23:43:05
[RateCDR] => 1
)
[2025-02-08 23:43: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` >= '2025-02-08 20:43:05' and `end` < '2025-02-08 23:43: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 ,'')
[2025-02-08 23:43:11] Production.ERROR: CronJobId end10
[2025-02-08 23:43:11] Production.INFO: ==26748== Releasing lock...
[2025-02-08 23:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:43:14] Production.INFO: call_cost start
[2025-02-08 23:43:14] Production.INFO: call_cost end
[2025-02-08 23:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:43:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:43:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:43:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:43:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:43:15] Production.INFO: ==26744== Releasing lock...
[2025-02-08 23:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:43:19] Production.INFO: count ==1565
[2025-02-08 23:43:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:43:05 - End Time 2025-02-08 23:43:05
[2025-02-08 23:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433154', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433154', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433154', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433154', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:43:19] Production.INFO: ProcessCDR(1,14433154,1,1,2)
[2025-02-08 23:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433154', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433154', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:43:22] Production.INFO: ==26752== Releasing lock...
[2025-02-08 23:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:43:22] Production.INFO: 40 MB #Memory Used#
[2025-02-09 04:44:02] Production.INFO: ==26811== Lock acquired, processing the job...
[2025-02-09 04:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:44:02] Production.INFO: neon service started
[2025-02-09 04:44:02] Production.INFO: neon service started
[2025-02-09 04:44:02] Production.INFO: ==26811== Releasing lock...
[2025-02-09 04:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:44:02] Production.INFO: ==26813== Lock acquired, processing the job...
[2025-02-08 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:44:03] Production.INFO: ==26813== Releasing lock...
[2025-02-08 23:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:44:03] Production.INFO: ==26815== Lock acquired, processing the job...
[2025-02-09 04:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:44:03] Production.INFO: ==26815== Releasing lock...
[2025-02-09 04:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:44:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:44:03] Production.INFO: ==26822== Lock acquired, processing the job...
[2025-02-08 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:44:04] Production.INFO: ==26828== Lock acquired, processing the job...
[2025-02-08 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:44:04] Production.INFO: ==26818== Lock acquired, processing the job...
[2025-02-08 23:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:44:04] Production.INFO: ==26820== Lock acquired, processing the job...
[2025-02-08 23:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:44:04] Production.INFO: count ==21
[2025-02-08 23:44:04] Production.INFO: ==26824== Lock acquired, processing the job...
[2025-02-08 23:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:44:04] Production.INFO: count ==21
[2025-02-08 23:44:04] Production.INFO: ==26826== Lock acquired, processing the job...
[2025-02-08 23:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433155') start
[2025-02-08 23:44:04] Production.INFO: Account Balance Start.
[2025-02-08 23:44:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:44:04] Production.INFO: 117
[2025-02-08 23:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433155') end
[2025-02-08 23:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:44:04] Production.INFO: 1
[2025-02-08 23:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:44:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:44:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:44:04] Production.INFO: Total Charge 0
[2025-02-08 23:44:04] Production.INFO: CreateAllLog End
[2025-02-08 23:44:04] Production.INFO: ==26828== Releasing lock...
[2025-02-08 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:44:04] Production.INFO: ==26820== Releasing lock...
[2025-02-08 23:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:44:04] Production.ERROR: done
[2025-02-08 23:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:44:04] Production.ERROR: done
[2025-02-08 23:44:05] Production.INFO: Account Balance End.
[2025-02-08 23:44:05] Production.ERROR: CronJobId end 12
[2025-02-08 23:44:05] Production.INFO: ==26824== Releasing lock...
[2025-02-08 23:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:44:05
[end_date_ymd] => 2025-02-08 23:44:05
[RateCDR] => 1
)
[2025-02-08 23:44: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` >= '2025-02-08 20:44:05' and `end` < '2025-02-08 23:44: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 ,'')
[2025-02-08 23:44:13] Production.ERROR: CronJobId end10
[2025-02-08 23:44:13] Production.INFO: ==26822== Releasing lock...
[2025-02-08 23:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:44:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:44:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:44:15] Production.INFO: call_cost start
[2025-02-08 23:44:15] Production.INFO: call_cost end
[2025-02-08 23:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:44:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:44:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:44:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:44:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:44:17] Production.INFO: ==26818== Releasing lock...
[2025-02-08 23:44:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:44:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:44:19] Production.INFO: count ==1565
[2025-02-08 23:44:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:44:05 - End Time 2025-02-08 23:44:05
[2025-02-08 23:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433159', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433159', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433159', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433159', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:44:19] Production.INFO: ProcessCDR(1,14433159,1,1,2)
[2025-02-08 23:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433159', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433159', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:44:23] Production.INFO: ==26826== Releasing lock...
[2025-02-08 23:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:44:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:45:01] Production.INFO: ==26889== Lock acquired, processing the job...
[2025-02-09 04:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:45:01] Production.INFO: neon service started
[2025-02-09 04:45:01] Production.INFO: neon service started
[2025-02-09 04:45:01] Production.INFO: ==26889== Releasing lock...
[2025-02-09 04:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:45:02] Production.INFO: ==26893== Lock acquired, processing the job...
[2025-02-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:45:02] Production.INFO: ==26893== Releasing lock...
[2025-02-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:45:02] Production.INFO: ==26891== Lock acquired, processing the job...
[2025-02-08 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:45:02] Production.INFO: ==26891== Releasing lock...
[2025-02-08 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:45:03] Production.INFO: ==26900== Lock acquired, processing the job...
[2025-02-08 23:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:45:03] Production.INFO: ==26906== Lock acquired, processing the job...
[2025-02-08 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:45:03] Production.INFO: ==26895== Lock acquired, processing the job...
[2025-02-08 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:45:03] Production.INFO: ==26897== Lock acquired, processing the job...
[2025-02-08 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:45:03] Production.INFO: ==26902== Lock acquired, processing the job...
[2025-02-08 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:45:03] Production.INFO: ==26904== Lock acquired, processing the job...
[2025-02-08 23:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:45:03] Production.INFO: count ==21
[2025-02-08 23:45:03] Production.INFO: Account Balance Start.
[2025-02-08 23:45:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:45:03] Production.INFO: 117
[2025-02-08 23:45:03] Production.INFO: count ==21
[2025-02-08 23:45:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433160') start
[2025-02-08 23:45:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:45:03] Production.INFO: Total Charge 0
[2025-02-08 23:45:04] Production.INFO: CreateAllLog End
[2025-02-08 23:45:04] Production.INFO: ==26897== Releasing lock...
[2025-02-08 23:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433160') end
[2025-02-08 23:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:45:04] Production.INFO: 1
[2025-02-08 23:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:45:04] Production.INFO: ==26906== Releasing lock...
[2025-02-08 23:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:45:04] Production.ERROR: done
[2025-02-08 23:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:45:04] Production.ERROR: done
[2025-02-08 23:45:04] Production.INFO: Account Balance End.
[2025-02-08 23:45:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:45:04] Production.INFO: ==26902== Releasing lock...
[2025-02-08 23:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:45:05
[end_date_ymd] => 2025-02-08 23:45:05
[RateCDR] => 1
)
[2025-02-08 23:45: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` >= '2025-02-08 20:45:05' and `end` < '2025-02-08 23:45: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 ,'')
[2025-02-08 23:45:12] Production.ERROR: CronJobId end10
[2025-02-08 23:45:12] Production.INFO: ==26900== Releasing lock...
[2025-02-08 23:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:45:14] Production.INFO: call_cost start
[2025-02-08 23:45:14] Production.INFO: call_cost end
[2025-02-08 23:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:45:15] Production.INFO: ==26895== Releasing lock...
[2025-02-08 23:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:45:18] Production.INFO: count ==1563
[2025-02-08 23:45:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:45:05 - End Time 2025-02-08 23:45:05
[2025-02-08 23:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433164', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433164', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433164', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433164', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:45:19] Production.INFO: ProcessCDR(1,14433164,1,1,2)
[2025-02-08 23:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433164', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433164', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:45:22] Production.INFO: ==26904== Releasing lock...
[2025-02-08 23:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:45:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:46:02] Production.INFO: ==26966== Lock acquired, processing the job...
[2025-02-09 04:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:46:02] Production.INFO: neon service started
[2025-02-09 04:46:02] Production.INFO: neon service started
[2025-02-09 04:46:02] Production.INFO: ==26966== Releasing lock...
[2025-02-09 04:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:46:02] Production.INFO: ==26970== Lock acquired, processing the job...
[2025-02-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:46:02] Production.INFO: ==26970== Releasing lock...
[2025-02-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:46:02] Production.INFO: ==26968== Lock acquired, processing the job...
[2025-02-08 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:46:03] Production.INFO: ==26968== Releasing lock...
[2025-02-08 23:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:46:03] Production.INFO: ==26975== Lock acquired, processing the job...
[2025-02-08 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:46:03] Production.INFO: ==26983== Lock acquired, processing the job...
[2025-02-08 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:46:04] Production.INFO: ==26973== Lock acquired, processing the job...
[2025-02-08 23:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:46:04] Production.INFO: ==26975== Releasing lock...
[2025-02-08 23:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:46:04] Production.INFO: count ==21
[2025-02-08 23:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:46:04] Production.INFO: count ==21
[2025-02-08 23:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433166') start
[2025-02-08 23:46:04] Production.INFO: ==26977== Lock acquired, processing the job...
[2025-02-08 23:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:46:04] Production.INFO: ==26979== Lock acquired, processing the job...
[2025-02-08 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:46:04] Production.INFO: ==26981== Lock acquired, processing the job...
[2025-02-08 23:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433166') end
[2025-02-08 23:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:46:04] Production.INFO: 1
[2025-02-08 23:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:46:04] Production.INFO: ==26983== Releasing lock...
[2025-02-08 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:46:04] Production.INFO: Account Balance Start.
[2025-02-08 23:46:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:46:04] Production.INFO: 117
[2025-02-08 23:46:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:46:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:46:04] Production.INFO: Total Charge 0
[2025-02-08 23:46:04] Production.ERROR: done
[2025-02-08 23:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:46:04] Production.INFO: CreateAllLog End
[2025-02-08 23:46:04] Production.ERROR: done
[2025-02-08 23:46:04] Production.INFO: Account Balance End.
[2025-02-08 23:46:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:46:04] Production.INFO: ==26979== Releasing lock...
[2025-02-08 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:46:05
[end_date_ymd] => 2025-02-08 23:46:05
[RateCDR] => 1
)
[2025-02-08 23:46: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` >= '2025-02-08 20:46:05' and `end` < '2025-02-08 23:46: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 ,'')
[2025-02-08 23:46:13] Production.ERROR: CronJobId end10
[2025-02-08 23:46:13] Production.INFO: ==26977== Releasing lock...
[2025-02-08 23:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:46:15] Production.INFO: call_cost start
[2025-02-08 23:46:15] Production.INFO: call_cost end
[2025-02-08 23:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:46:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:46:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:46:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:46:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:46:16] Production.INFO: ==26973== Releasing lock...
[2025-02-08 23:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:46:19] Production.INFO: count ==1569
[2025-02-08 23:46:20] Production.ERROR: pbx CDR StartTime 2025-02-08 20:46:05 - End Time 2025-02-08 23:46:05
[2025-02-08 23:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433169', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433169', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433169', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433169', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:46:20] Production.INFO: ProcessCDR(1,14433169,1,1,2)
[2025-02-08 23:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433169', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433169', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:46:25] Production.INFO: ==26981== Releasing lock...
[2025-02-08 23:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:46:25] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 04:47:01] Production.INFO: ==27044== Lock acquired, processing the job...
[2025-02-09 04:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:47:01] Production.INFO: neon service started
[2025-02-09 04:47:01] Production.INFO: neon service started
[2025-02-09 04:47:01] Production.INFO: ==27044== Releasing lock...
[2025-02-09 04:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:47:02] Production.INFO: ==27048== Lock acquired, processing the job...
[2025-02-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:47:02] Production.INFO: ==27048== Releasing lock...
[2025-02-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:47:02] Production.INFO: ==27046== Lock acquired, processing the job...
[2025-02-08 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:47:02] Production.INFO: ==27046== Releasing lock...
[2025-02-08 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:47:03] Production.INFO: ==27050== Lock acquired, processing the job...
[2025-02-08 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:47:03] Production.INFO: ==27056== Lock acquired, processing the job...
[2025-02-08 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:47:03] Production.INFO: Account Balance Start.
[2025-02-08 23:47:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:47:03] Production.INFO: 117
[2025-02-08 23:47:03] Production.INFO: ==27052== Lock acquired, processing the job...
[2025-02-08 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:47:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:47:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:47:03] Production.INFO: Total Charge 0
[2025-02-08 23:47:03] Production.INFO: CreateAllLog End
[2025-02-08 23:47:03] Production.INFO: ==27054== Lock acquired, processing the job...
[2025-02-08 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:47:03] Production.INFO: ==27061== Lock acquired, processing the job...
[2025-02-08 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:47:03] Production.INFO: ==27059== Lock acquired, processing the job...
[2025-02-08 23:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:47:04] Production.INFO: Account Balance End.
[2025-02-08 23:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:47:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:47:04] Production.INFO: ==27056== Releasing lock...
[2025-02-08 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:47:04] Production.INFO: count ==21
[2025-02-08 23:47:04] Production.INFO: ==27052== Releasing lock...
[2025-02-08 23:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:47:04] Production.INFO: count ==21
[2025-02-08 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433173') start
[2025-02-08 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433173') end
[2025-02-08 23:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:47:04] Production.INFO: 1
[2025-02-08 23:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:47:04] Production.INFO: ==27061== Releasing lock...
[2025-02-08 23:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:47:04] Production.ERROR: done
[2025-02-08 23:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:47:04] Production.ERROR: done
[2025-02-08 23:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:47:05
[end_date_ymd] => 2025-02-08 23:47:05
[RateCDR] => 1
)
[2025-02-08 23:47: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` >= '2025-02-08 20:47:05' and `end` < '2025-02-08 23:47: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 ,'')
[2025-02-08 23:47:12] Production.ERROR: CronJobId end10
[2025-02-08 23:47:12] Production.INFO: ==27054== Releasing lock...
[2025-02-08 23:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:47:14] Production.INFO: call_cost start
[2025-02-08 23:47:14] Production.INFO: call_cost end
[2025-02-08 23:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:47:15] Production.INFO: ==27050== Releasing lock...
[2025-02-08 23:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:47:18] Production.INFO: count ==1568
[2025-02-08 23:47:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:47:05 - End Time 2025-02-08 23:47:05
[2025-02-08 23:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433174', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433174', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433174', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433174', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:47:19] Production.INFO: ProcessCDR(1,14433174,1,1,2)
[2025-02-08 23:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433174', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433174', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:47:22] Production.INFO: ==27059== Releasing lock...
[2025-02-08 23:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:47:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:48:02] Production.INFO: ==27115== Lock acquired, processing the job...
[2025-02-09 04:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:48:02] Production.INFO: neon service started
[2025-02-09 04:48:02] Production.INFO: neon service started
[2025-02-09 04:48:02] Production.INFO: ==27115== Releasing lock...
[2025-02-09 04:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:48:02] Production.INFO: ==27117== Lock acquired, processing the job...
[2025-02-08 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:48:02] Production.INFO: ==27117== Releasing lock...
[2025-02-08 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:48:03] Production.INFO: ==27119== Lock acquired, processing the job...
[2025-02-09 04:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:48:03] Production.INFO: ==27119== Releasing lock...
[2025-02-09 04:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:48:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:48:03] Production.INFO: ==27126== Lock acquired, processing the job...
[2025-02-08 23:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:48:03] Production.INFO: ==27122== Lock acquired, processing the job...
[2025-02-08 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:48:03] Production.INFO: ==27124== Lock acquired, processing the job...
[2025-02-08 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:48:03] Production.INFO: ==27132== Lock acquired, processing the job...
[2025-02-08 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:48:03] Production.INFO: ==27128== Lock acquired, processing the job...
[2025-02-08 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:48:03] Production.INFO: ==27130== Lock acquired, processing the job...
[2025-02-08 23:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:48:04] Production.INFO: Account Balance Start.
[2025-02-08 23:48:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:48:04] Production.INFO: 117
[2025-02-08 23:48:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:48:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:48:04] Production.INFO: count ==21
[2025-02-08 23:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:48:04] Production.INFO: count ==21
[2025-02-08 23:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433176') start
[2025-02-08 23:48:04] Production.INFO: Total Charge 0
[2025-02-08 23:48:04] Production.INFO: CreateAllLog End
[2025-02-08 23:48:04] Production.INFO: ==27124== Releasing lock...
[2025-02-08 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:48:04] Production.ERROR: done
[2025-02-08 23:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433176') end
[2025-02-08 23:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:48:04] Production.INFO: 1
[2025-02-08 23:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:48:04] Production.INFO: ==27132== Releasing lock...
[2025-02-08 23:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:48:04] Production.ERROR: done
[2025-02-08 23:48:04] Production.INFO: Account Balance End.
[2025-02-08 23:48:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:48:04] Production.INFO: ==27128== Releasing lock...
[2025-02-08 23:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:48:05
[end_date_ymd] => 2025-02-08 23:48:05
[RateCDR] => 1
)
[2025-02-08 23:48: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` >= '2025-02-08 20:48:05' and `end` < '2025-02-08 23:48: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 ,'')
[2025-02-08 23:48:13] Production.ERROR: CronJobId end10
[2025-02-08 23:48:13] Production.INFO: ==27126== Releasing lock...
[2025-02-08 23:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:48:15] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:48:15] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:48:15] Production.INFO: call_cost start
[2025-02-08 23:48:15] Production.INFO: call_cost end
[2025-02-08 23:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:48:16] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:48:16] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:48:16] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:48:16] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:48:16] Production.INFO: ==27122== Releasing lock...
[2025-02-08 23:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:48:18] Production.INFO: count ==1566
[2025-02-08 23:48:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:48:05 - End Time 2025-02-08 23:48:05
[2025-02-08 23:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433179', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433179', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433179', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433179', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:48:19] Production.INFO: ProcessCDR(1,14433179,1,1,2)
[2025-02-08 23:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433179', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433179', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:48:22] Production.INFO: ==27130== Releasing lock...
[2025-02-08 23:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:48:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:49:01] Production.INFO: ==27190== Lock acquired, processing the job...
[2025-02-09 04:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:49:01] Production.INFO: neon service started
[2025-02-09 04:49:01] Production.INFO: neon service started
[2025-02-09 04:49:01] Production.INFO: ==27190== Releasing lock...
[2025-02-09 04:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:49:02] Production.INFO: ==27192== Lock acquired, processing the job...
[2025-02-08 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:49:02] Production.INFO: ==27194== Lock acquired, processing the job...
[2025-02-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:49:02] Production.INFO: ==27194== Releasing lock...
[2025-02-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:49:02] Production.INFO: ==27192== Releasing lock...
[2025-02-08 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:49:03] Production.INFO: ==27197== Lock acquired, processing the job...
[2025-02-08 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:49:03] Production.INFO: ==27199== Lock acquired, processing the job...
[2025-02-08 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:49:03] Production.INFO: ==27205== Lock acquired, processing the job...
[2025-02-08 23:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:49:03] Production.INFO: ==27201== Lock acquired, processing the job...
[2025-02-08 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:49:03] Production.INFO: ==27203== Lock acquired, processing the job...
[2025-02-08 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:49:03] Production.INFO: ==27207== Lock acquired, processing the job...
[2025-02-08 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:49:03] Production.INFO: ==27199== Releasing lock...
[2025-02-08 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:49:03] Production.INFO: Account Balance Start.
[2025-02-08 23:49:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:49:03] Production.INFO: 117
[2025-02-08 23:49:03] Production.ERROR: done
[2025-02-08 23:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:49:04] Production.INFO: count ==21
[2025-02-08 23:49:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:49:04] Production.INFO: count ==21
[2025-02-08 23:49:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433183') start
[2025-02-08 23:49:04] Production.ERROR: done
[2025-02-08 23:49:04] Production.INFO: Total Charge 0
[2025-02-08 23:49:04] Production.INFO: CreateAllLog End
[2025-02-08 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433183') end
[2025-02-08 23:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:49:04] Production.INFO: 1
[2025-02-08 23:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:49:04] Production.INFO: ==27207== Releasing lock...
[2025-02-08 23:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:49:04] Production.INFO: Account Balance End.
[2025-02-08 23:49:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:49:04] Production.INFO: ==27203== Releasing lock...
[2025-02-08 23:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:49:05
[end_date_ymd] => 2025-02-08 23:49:05
[RateCDR] => 1
)
[2025-02-08 23:49: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` >= '2025-02-08 20:49:05' and `end` < '2025-02-08 23:49: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 ,'')
[2025-02-08 23:49:12] Production.ERROR: CronJobId end10
[2025-02-08 23:49:12] Production.INFO: ==27201== Releasing lock...
[2025-02-08 23:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:49:14] Production.INFO: call_cost start
[2025-02-08 23:49:14] Production.INFO: call_cost end
[2025-02-08 23:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:49:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:49:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:49:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:49:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:49:15] Production.INFO: ==27197== Releasing lock...
[2025-02-08 23:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:49:18] Production.INFO: count ==1566
[2025-02-08 23:49:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:49:05 - End Time 2025-02-08 23:49:05
[2025-02-08 23:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433184', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433184', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433184', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433184', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:49:19] Production.INFO: ProcessCDR(1,14433184,1,1,2)
[2025-02-08 23:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433184', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433184', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:49:22] Production.INFO: ==27205== Releasing lock...
[2025-02-08 23:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:49:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:50:02] Production.INFO: ==27308== Lock acquired, processing the job...
[2025-02-09 04:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:50:02] Production.INFO: neon service started
[2025-02-09 04:50:02] Production.INFO: neon service started
[2025-02-09 04:50:02] Production.INFO: ==27308== Releasing lock...
[2025-02-09 04:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:50:02] Production.INFO: ==27312== Lock acquired, processing the job...
[2025-02-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:50:02] Production.INFO: ==27312== Releasing lock...
[2025-02-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:50:02] Production.INFO: ==27310== Lock acquired, processing the job...
[2025-02-08 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:50:03] Production.INFO: ==27310== Releasing lock...
[2025-02-08 23:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:50:04] Production.INFO: ==27319== Lock acquired, processing the job...
[2025-02-08 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:50:04] Production.INFO: ==27315== Lock acquired, processing the job...
[2025-02-08 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-08 23:50:04] Production.INFO: ==27317== Lock acquired, processing the job...
[2025-02-08 23:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-08 23:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-08 23:50:04] Production.ERROR: CronJob PID - 27319
[2025-02-08 23:50:04] Production.ERROR: CronJob Title - Account Block
[2025-02-08 23:50:04] Production.ERROR: CronJob ID - 7
[2025-02-08 23:50:04] Production.ERROR: CronJob Last Run Time 2025-02-08 23:50:00
[2025-02-08 23:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-08 23:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-08 23:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-08 23:50:04] Production.INFO: ==27315== Releasing lock...
[2025-02-08 23:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-08 23:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-08 23:50:04] Production.INFO: ==27325== Lock acquired, processing the job...
[2025-02-08 23:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:50:04] Production.INFO: ==27327== Lock acquired, processing the job...
[2025-02-08 23:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-08 23:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:50:04] Production.INFO: ==27321== Lock acquired, processing the job...
[2025-02-08 23:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:50:04] Production.INFO: ==27323== Lock acquired, processing the job...
[2025-02-08 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:50:04] Production.INFO: ==27329== Lock acquired, processing the job...
[2025-02-08 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:50:04] Production.INFO: Account Balance Start.
[2025-02-08 23:50:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:50:04] Production.INFO: 117
[2025-02-08 23:50:04] Production.INFO: ==27319== Releasing lock...
[2025-02-08 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:50:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:50:04] Production.INFO: count ==21
[2025-02-08 23:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:50:04] Production.INFO: count ==21
[2025-02-08 23:50:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433188') start
[2025-02-08 23:50:04] Production.INFO: Total Charge 0
[2025-02-08 23:50:04] Production.INFO: CreateAllLog End
[2025-02-08 23:50:04] Production.ERROR: done
[2025-02-08 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433188') end
[2025-02-08 23:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:50:04] Production.INFO: 1
[2025-02-08 23:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:50:04] Production.ERROR: done
[2025-02-08 23:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-08 23:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433189', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) start
[2025-02-08 23:50:05] Production.INFO: ==27329== Releasing lock...
[2025-02-08 23:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:50:05] Production.ERROR: done
[2025-02-08 23:50:05] Production.INFO: Account Balance End.
[2025-02-08 23:50:05] Production.ERROR: CronJobId end 12
[2025-02-08 23:50:05] Production.INFO: ==27323== Releasing lock...
[2025-02-08 23:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:50:06
[end_date_ymd] => 2025-02-08 23:50:06
[RateCDR] => 1
)
[2025-02-08 23:50: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-02-08 20:50:06' and `end` < '2025-02-08 23:50: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-02-08 23:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433189', 'tblTempUsageDetail_20reseller','2025-02-08','2025-02-08','1' ) end
[2025-02-08 23:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-08 23:50:09] Production.INFO: ProcessCDR(1,14433189,1,1,2)
[2025-02-08 23:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433189,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433189,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:50:09] Production.INFO: ==27327== Releasing lock...
[2025-02-08 23:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-08 23:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-08 23:50:15] Production.ERROR: CronJobId end10
[2025-02-08 23:50:15] Production.INFO: ==27321== Releasing lock...
[2025-02-08 23:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:50:17] Production.INFO: call_cost start
[2025-02-08 23:50:17] Production.INFO: call_cost end
[2025-02-08 23:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:50:18] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:50:18] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:50:18] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:50:18] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:50:18] Production.INFO: ==27317== Releasing lock...
[2025-02-08 23:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:50:19] Production.INFO: count ==1565
[2025-02-08 23:50:20] Production.ERROR: pbx CDR StartTime 2025-02-08 20:50:06 - End Time 2025-02-08 23:50:06
[2025-02-08 23:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433190', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433190', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433190', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433190', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:50:20] Production.INFO: ProcessCDR(1,14433190,1,1,2)
[2025-02-08 23:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433190', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433190', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:50:23] Production.INFO: ==27325== Releasing lock...
[2025-02-08 23:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:50:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:51:01] Production.INFO: ==27388== Lock acquired, processing the job...
[2025-02-09 04:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:51:01] Production.INFO: neon service started
[2025-02-09 04:51:01] Production.INFO: neon service started
[2025-02-09 04:51:01] Production.INFO: ==27388== Releasing lock...
[2025-02-09 04:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:51:01] Production.INFO: ==27392== Lock acquired, processing the job...
[2025-02-09 04:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:51:02] Production.INFO: ==27392== Releasing lock...
[2025-02-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:51:02] Production.INFO: ==27390== Lock acquired, processing the job...
[2025-02-08 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:51:02] Production.INFO: ==27390== Releasing lock...
[2025-02-08 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:51:03] Production.INFO: ==27397== Lock acquired, processing the job...
[2025-02-08 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:51:03] Production.INFO: ==27399== Lock acquired, processing the job...
[2025-02-08 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:51:03] Production.INFO: ==27403== Lock acquired, processing the job...
[2025-02-08 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:51:03] Production.INFO: ==27395== Lock acquired, processing the job...
[2025-02-08 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:51:03] Production.INFO: ==27401== Lock acquired, processing the job...
[2025-02-08 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:51:03] Production.INFO: ==27405== Lock acquired, processing the job...
[2025-02-08 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:51:03] Production.INFO: ==27397== Releasing lock...
[2025-02-08 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:51:03] Production.INFO: Account Balance Start.
[2025-02-08 23:51:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:51:03] Production.INFO: 117
[2025-02-08 23:51:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:51:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:51:03] Production.INFO: count ==21
[2025-02-08 23:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:51:03] Production.INFO: count ==21
[2025-02-08 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433193') start
[2025-02-08 23:51:03] Production.INFO: Total Charge 0
[2025-02-08 23:51:03] Production.INFO: CreateAllLog End
[2025-02-08 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433193') end
[2025-02-08 23:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:51:03] Production.INFO: 1
[2025-02-08 23:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:51:03] Production.ERROR: done
[2025-02-08 23:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:51:04] Production.INFO: ==27405== Releasing lock...
[2025-02-08 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:51:04] Production.INFO: Account Balance End.
[2025-02-08 23:51:04] Production.ERROR: done
[2025-02-08 23:51:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:51:04] Production.INFO: ==27401== Releasing lock...
[2025-02-08 23:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:51:05
[end_date_ymd] => 2025-02-08 23:51:05
[RateCDR] => 1
)
[2025-02-08 23:51: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` >= '2025-02-08 20:51:05' and `end` < '2025-02-08 23:51: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 ,'')
[2025-02-08 23:51:11] Production.ERROR: CronJobId end10
[2025-02-08 23:51:11] Production.INFO: ==27399== Releasing lock...
[2025-02-08 23:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:51:14] Production.INFO: call_cost start
[2025-02-08 23:51:14] Production.INFO: call_cost end
[2025-02-08 23:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:51:15] Production.INFO: ==27395== Releasing lock...
[2025-02-08 23:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:51:18] Production.INFO: count ==1566
[2025-02-08 23:51:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:51:05 - End Time 2025-02-08 23:51:05
[2025-02-08 23:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433195', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433195', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433195', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433195', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:51:19] Production.INFO: ProcessCDR(1,14433195,1,1,2)
[2025-02-08 23:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433195', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433195', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:51:22] Production.INFO: ==27403== Releasing lock...
[2025-02-08 23:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:51:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:52:02] Production.INFO: ==27465== Lock acquired, processing the job...
[2025-02-09 04:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:52:02] Production.INFO: neon service started
[2025-02-09 04:52:02] Production.INFO: neon service started
[2025-02-09 04:52:02] Production.INFO: ==27465== Releasing lock...
[2025-02-09 04:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:52:02] Production.INFO: ==27467== Lock acquired, processing the job...
[2025-02-08 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:52:02] Production.INFO: ==27467== Releasing lock...
[2025-02-08 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:52:02] Production.INFO: ==27470== Lock acquired, processing the job...
[2025-02-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:52:02] Production.INFO: ==27470== Releasing lock...
[2025-02-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:52:03] Production.INFO: ==27472== Lock acquired, processing the job...
[2025-02-08 23:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:52:03] Production.INFO: ==27474== Lock acquired, processing the job...
[2025-02-08 23:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:52:03] Production.INFO: ==27480== Lock acquired, processing the job...
[2025-02-08 23:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:52:03] Production.INFO: ==27476== Lock acquired, processing the job...
[2025-02-08 23:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:52:03] Production.INFO: ==27478== Lock acquired, processing the job...
[2025-02-08 23:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:52:03] Production.INFO: ==27482== Lock acquired, processing the job...
[2025-02-08 23:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:52:04] Production.ERROR: done
[2025-02-08 23:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:52:04] Production.INFO: ==27474== Releasing lock...
[2025-02-08 23:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:52:04] Production.INFO: count ==21
[2025-02-08 23:52:04] Production.INFO: Account Balance Start.
[2025-02-08 23:52:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:52:04] Production.INFO: 117
[2025-02-08 23:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:52:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:52:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:52:04] Production.INFO: count ==21
[2025-02-08 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433198') start
[2025-02-08 23:52:04] Production.INFO: Total Charge 0
[2025-02-08 23:52:04] Production.INFO: CreateAllLog End
[2025-02-08 23:52:04] Production.ERROR: done
[2025-02-08 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433198') end
[2025-02-08 23:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:52:04] Production.INFO: 1
[2025-02-08 23:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:52:04] Production.INFO: ==27482== Releasing lock...
[2025-02-08 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:52:04] Production.INFO: Account Balance End.
[2025-02-08 23:52:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:52:04] Production.INFO: ==27478== Releasing lock...
[2025-02-08 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:52:05
[end_date_ymd] => 2025-02-08 23:52:05
[RateCDR] => 1
)
[2025-02-08 23:52: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` >= '2025-02-08 20:52:05' and `end` < '2025-02-08 23:52: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 ,'')
[2025-02-08 23:52:12] Production.ERROR: CronJobId end10
[2025-02-08 23:52:12] Production.INFO: ==27476== Releasing lock...
[2025-02-08 23:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:52:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:52:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:52:14] Production.INFO: call_cost start
[2025-02-08 23:52:14] Production.INFO: call_cost end
[2025-02-08 23:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:52:15] Production.INFO: ==27472== Releasing lock...
[2025-02-08 23:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:52:18] Production.INFO: count ==1566
[2025-02-08 23:52:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:52:05 - End Time 2025-02-08 23:52:05
[2025-02-08 23:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433200', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433200', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433200', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433200', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:52:18] Production.INFO: ProcessCDR(1,14433200,1,1,2)
[2025-02-08 23:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433200', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433200', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:52:22] Production.INFO: ==27480== Releasing lock...
[2025-02-08 23:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:52:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:53:01] Production.INFO: ==27541== Lock acquired, processing the job...
[2025-02-09 04:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:53:01] Production.INFO: neon service started
[2025-02-09 04:53:01] Production.INFO: neon service started
[2025-02-09 04:53:01] Production.INFO: ==27541== Releasing lock...
[2025-02-09 04:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:53:02] Production.INFO: ==27543== Lock acquired, processing the job...
[2025-02-08 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:53:02] Production.INFO: ==27545== Lock acquired, processing the job...
[2025-02-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:53:02] Production.INFO: ==27545== Releasing lock...
[2025-02-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:53:02] Production.INFO: ==27543== Releasing lock...
[2025-02-08 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:53:03] Production.INFO: ==27548== Lock acquired, processing the job...
[2025-02-08 23:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:53:03] Production.INFO: ==27550== Lock acquired, processing the job...
[2025-02-08 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:53:03] Production.INFO: ==27552== Lock acquired, processing the job...
[2025-02-08 23:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:53:03] Production.INFO: ==27554== Lock acquired, processing the job...
[2025-02-08 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:53:03] Production.INFO: ==27558== Lock acquired, processing the job...
[2025-02-08 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:53:03] Production.INFO: ==27556== Lock acquired, processing the job...
[2025-02-08 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:53:03] Production.INFO: Account Balance Start.
[2025-02-08 23:53:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:53:03] Production.INFO: 117
[2025-02-08 23:53:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:53:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:53:03] Production.INFO: count ==21
[2025-02-08 23:53:03] Production.INFO: ==27550== Releasing lock...
[2025-02-08 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:53:03] Production.INFO: count ==21
[2025-02-08 23:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:53:03] Production.INFO: Total Charge 0
[2025-02-08 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433204') start
[2025-02-08 23:53:03] Production.INFO: CreateAllLog End
[2025-02-08 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433204') end
[2025-02-08 23:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:53:03] Production.INFO: 1
[2025-02-08 23:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:53:04] Production.INFO: ==27558== Releasing lock...
[2025-02-08 23:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:53:04] Production.INFO: Account Balance End.
[2025-02-08 23:53:04] Production.ERROR: done
[2025-02-08 23:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:53:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:53:04] Production.INFO: ==27554== Releasing lock...
[2025-02-08 23:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:53:04] Production.ERROR: done
[2025-02-08 23:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:53:05
[end_date_ymd] => 2025-02-08 23:53:05
[RateCDR] => 1
)
[2025-02-08 23:53: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` >= '2025-02-08 20:53:05' and `end` < '2025-02-08 23:53: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 ,'')
[2025-02-08 23:53:11] Production.ERROR: CronJobId end10
[2025-02-08 23:53:11] Production.INFO: ==27552== Releasing lock...
[2025-02-08 23:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:53:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:53:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:53:13] Production.INFO: call_cost start
[2025-02-08 23:53:13] Production.INFO: call_cost end
[2025-02-08 23:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:53:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:53:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:53:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:53:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:53:14] Production.INFO: ==27548== Releasing lock...
[2025-02-08 23:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:53:18] Production.INFO: count ==1568
[2025-02-08 23:53:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:53:05 - End Time 2025-02-08 23:53:05
[2025-02-08 23:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433205', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433205', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433205', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433205', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:53:18] Production.INFO: ProcessCDR(1,14433205,1,1,2)
[2025-02-08 23:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433205', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433205', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:53:21] Production.INFO: ==27556== Releasing lock...
[2025-02-08 23:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:53:21] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:54:01] Production.INFO: ==27615== Lock acquired, processing the job...
[2025-02-09 04:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:54:01] Production.INFO: neon service started
[2025-02-09 04:54:01] Production.INFO: neon service started
[2025-02-09 04:54:01] Production.INFO: ==27615== Releasing lock...
[2025-02-09 04:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:54:02] Production.INFO: ==27617== Lock acquired, processing the job...
[2025-02-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:54:02] Production.INFO: ==27617== Releasing lock...
[2025-02-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:54:02] Production.INFO: ==27619== Lock acquired, processing the job...
[2025-02-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:54:02] Production.INFO: ==27619== Releasing lock...
[2025-02-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:54:03] Production.INFO: ==27628== Lock acquired, processing the job...
[2025-02-08 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:54:03] Production.INFO: ==27630== Lock acquired, processing the job...
[2025-02-08 23:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:54:03] Production.INFO: ==27626== Lock acquired, processing the job...
[2025-02-08 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:54:03] Production.INFO: ==27624== Lock acquired, processing the job...
[2025-02-08 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:54:03] Production.INFO: ==27622== Lock acquired, processing the job...
[2025-02-08 23:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:54:03] Production.INFO: Account Balance Start.
[2025-02-08 23:54:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:54:03] Production.INFO: 117
[2025-02-08 23:54:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:54:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:54:03] Production.INFO: ==27632== Lock acquired, processing the job...
[2025-02-08 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:54:03] Production.INFO: Total Charge 0
[2025-02-08 23:54:04] Production.INFO: CreateAllLog End
[2025-02-08 23:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:54:04] Production.INFO: count ==21
[2025-02-08 23:54:04] Production.ERROR: done
[2025-02-08 23:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:54:04] Production.INFO: count ==21
[2025-02-08 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433209') start
[2025-02-08 23:54:04] Production.INFO: ==27624== Releasing lock...
[2025-02-08 23:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:54:04] Production.ERROR: done
[2025-02-08 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433209') end
[2025-02-08 23:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:54:04] Production.INFO: 1
[2025-02-08 23:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:54:04] Production.INFO: Account Balance End.
[2025-02-08 23:54:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:54:04] Production.INFO: ==27628== Releasing lock...
[2025-02-08 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:54:04] Production.INFO: ==27632== Releasing lock...
[2025-02-08 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:54:05
[end_date_ymd] => 2025-02-08 23:54:05
[RateCDR] => 1
)
[2025-02-08 23:54: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` >= '2025-02-08 20:54:05' and `end` < '2025-02-08 23:54: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 ,'')
[2025-02-08 23:54:12] Production.ERROR: CronJobId end10
[2025-02-08 23:54:12] Production.INFO: ==27626== Releasing lock...
[2025-02-08 23:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:54:15] Production.INFO: call_cost start
[2025-02-08 23:54:15] Production.INFO: call_cost end
[2025-02-08 23:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:54:15] Production.INFO: ==27622== Releasing lock...
[2025-02-08 23:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:54:19] Production.INFO: count ==1568
[2025-02-08 23:54:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:54:05 - End Time 2025-02-08 23:54:05
[2025-02-08 23:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433210', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433210', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433210', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433210', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:54:19] Production.INFO: ProcessCDR(1,14433210,1,1,2)
[2025-02-08 23:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433210', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433210', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:54:22] Production.INFO: ==27630== Releasing lock...
[2025-02-08 23:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:54:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:55:01] Production.INFO: ==27691== Lock acquired, processing the job...
[2025-02-09 04:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:55:01] Production.INFO: neon service started
[2025-02-09 04:55:01] Production.INFO: neon service started
[2025-02-09 04:55:01] Production.INFO: ==27691== Releasing lock...
[2025-02-09 04:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:55:01] Production.INFO: ==27695== Lock acquired, processing the job...
[2025-02-09 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:55:01] Production.INFO: ==27695== Releasing lock...
[2025-02-09 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:55:01] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:55:01] Production.INFO: ==27693== Lock acquired, processing the job...
[2025-02-08 23:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:55:02] Production.INFO: ==27693== Releasing lock...
[2025-02-08 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:55:03] Production.INFO: ==27702== Lock acquired, processing the job...
[2025-02-08 23:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:55:03] Production.INFO: ==27698== Lock acquired, processing the job...
[2025-02-08 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:55:03] Production.INFO: ==27706== Lock acquired, processing the job...
[2025-02-08 23:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:55:03] Production.INFO: ==27700== Lock acquired, processing the job...
[2025-02-08 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:55:03] Production.INFO: ==27704== Lock acquired, processing the job...
[2025-02-08 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:55:03] Production.INFO: ==27708== Lock acquired, processing the job...
[2025-02-08 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:55:03] Production.INFO: Account Balance Start.
[2025-02-08 23:55:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:55:03] Production.INFO: 117
[2025-02-08 23:55:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:55:03] Production.INFO: ==27700== Releasing lock...
[2025-02-08 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:55:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:55:03] Production.INFO: count ==21
[2025-02-08 23:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:55:03] Production.INFO: count ==21
[2025-02-08 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433214') start
[2025-02-08 23:55:03] Production.INFO: Total Charge 0
[2025-02-08 23:55:03] Production.INFO: CreateAllLog End
[2025-02-08 23:55:03] Production.ERROR: done
[2025-02-08 23:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433214') end
[2025-02-08 23:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:55:04] Production.INFO: 1
[2025-02-08 23:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:55:04] Production.INFO: ==27708== Releasing lock...
[2025-02-08 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:55:04] Production.ERROR: done
[2025-02-08 23:55:04] Production.INFO: Account Balance End.
[2025-02-08 23:55:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:55:04] Production.INFO: ==27704== Releasing lock...
[2025-02-08 23:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:55:04
[end_date_ymd] => 2025-02-08 23:55:04
[RateCDR] => 1
)
[2025-02-08 23:55:04] 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-02-08 20:55:04' and `end` < '2025-02-08 23:55:04'
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-02-08 23:55:12] Production.ERROR: CronJobId end10
[2025-02-08 23:55:12] Production.INFO: ==27702== Releasing lock...
[2025-02-08 23:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:55:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:55:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:55:14] Production.INFO: call_cost start
[2025-02-08 23:55:14] Production.INFO: call_cost end
[2025-02-08 23:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:55:15] Production.INFO: ==27698== Releasing lock...
[2025-02-08 23:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:55:18] Production.INFO: count ==1566
[2025-02-08 23:55:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:55:04 - End Time 2025-02-08 23:55:04
[2025-02-08 23:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433215', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433215', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433215', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433215', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:55:18] Production.INFO: ProcessCDR(1,14433215,1,1,2)
[2025-02-08 23:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433215', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433215', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:55:22] Production.INFO: ==27706== Releasing lock...
[2025-02-08 23:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:55:22] Production.INFO: 40 MB #Memory Used#
[2025-02-09 04:56:01] Production.INFO: ==27767== Lock acquired, processing the job...
[2025-02-09 04:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:56:01] Production.INFO: neon service started
[2025-02-09 04:56:01] Production.INFO: neon service started
[2025-02-09 04:56:01] Production.INFO: ==27767== Releasing lock...
[2025-02-09 04:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:56:02] Production.INFO: ==27769== Lock acquired, processing the job...
[2025-02-08 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:56:02] Production.INFO: ==27771== Lock acquired, processing the job...
[2025-02-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-08 23:56:02] Production.INFO: ==27769== Releasing lock...
[2025-02-08 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:56:02] Production.INFO: ==27771== Releasing lock...
[2025-02-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:56:03] Production.INFO: ==27781== Lock acquired, processing the job...
[2025-02-08 23:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:56:03] Production.INFO: ==27779== Lock acquired, processing the job...
[2025-02-08 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:56:03] Production.INFO: ==27773== Lock acquired, processing the job...
[2025-02-08 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:56:03] Production.INFO: ==27775== Lock acquired, processing the job...
[2025-02-08 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:56:03] Production.INFO: Account Balance Start.
[2025-02-08 23:56:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:56:03] Production.INFO: 117
[2025-02-08 23:56:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:56:03] Production.INFO: Reseller ==> 0
[2025-02-08 23:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:56:03] Production.INFO: Total Charge 0
[2025-02-08 23:56:03] Production.INFO: ==27777== Lock acquired, processing the job...
[2025-02-08 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:56:03] Production.INFO: CreateAllLog End
[2025-02-08 23:56:03] Production.INFO: ==27784== Lock acquired, processing the job...
[2025-02-08 23:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:56:03] Production.ERROR: done
[2025-02-08 23:56:03] Production.INFO: count ==21
[2025-02-08 23:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:56:04] Production.INFO: count ==21
[2025-02-08 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433219') start
[2025-02-08 23:56:04] Production.INFO: Account Balance End.
[2025-02-08 23:56:04] Production.INFO: ==27775== Releasing lock...
[2025-02-08 23:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:56:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:56:04] Production.INFO: ==27779== Releasing lock...
[2025-02-08 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:56:04] Production.ERROR: done
[2025-02-08 23:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433219') end
[2025-02-08 23:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:56:04] Production.INFO: 1
[2025-02-08 23:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:56:04] Production.INFO: ==27784== Releasing lock...
[2025-02-08 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:56:05
[end_date_ymd] => 2025-02-08 23:56:05
[RateCDR] => 1
)
[2025-02-08 23:56: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` >= '2025-02-08 20:56:05' and `end` < '2025-02-08 23:56: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 ,'')
[2025-02-08 23:56:12] Production.ERROR: CronJobId end10
[2025-02-08 23:56:12] Production.INFO: ==27777== Releasing lock...
[2025-02-08 23:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:56:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:56:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:56:14] Production.INFO: call_cost start
[2025-02-08 23:56:14] Production.INFO: call_cost end
[2025-02-08 23:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:56:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:56:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:56:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:56:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:56:14] Production.INFO: ==27773== Releasing lock...
[2025-02-08 23:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:56:18] Production.INFO: count ==1567
[2025-02-08 23:56:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:56:05 - End Time 2025-02-08 23:56:05
[2025-02-08 23:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433220', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433220', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433220', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433220', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:56:18] Production.INFO: ProcessCDR(1,14433220,1,1,2)
[2025-02-08 23:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433220', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433220', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:56:23] Production.INFO: ==27781== Releasing lock...
[2025-02-08 23:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:56:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 04:57:02] Production.INFO: ==27843== Lock acquired, processing the job...
[2025-02-09 04:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:57:02] Production.INFO: neon service started
[2025-02-09 04:57:02] Production.INFO: neon service started
[2025-02-09 04:57:02] Production.INFO: ==27843== Releasing lock...
[2025-02-09 04:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:57:02] Production.INFO: ==27845== Lock acquired, processing the job...
[2025-02-08 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:57:02] Production.INFO: ==27847== Lock acquired, processing the job...
[2025-02-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:57:02] Production.INFO: ==27847== Releasing lock...
[2025-02-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:57:03] Production.INFO: ==27845== Releasing lock...
[2025-02-08 23:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:57:03] Production.INFO: ==27853== Lock acquired, processing the job...
[2025-02-08 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:57:03] Production.INFO: ==27856== Lock acquired, processing the job...
[2025-02-08 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:57:03] Production.INFO: ==27858== Lock acquired, processing the job...
[2025-02-08 23:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:57:03] Production.INFO: ==27849== Lock acquired, processing the job...
[2025-02-08 23:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:57:03] Production.INFO: Account Balance Start.
[2025-02-08 23:57:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:57:03] Production.INFO: 117
[2025-02-08 23:57:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:57:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:57:04] Production.INFO: Total Charge 0
[2025-02-08 23:57:04] Production.INFO: CreateAllLog End
[2025-02-08 23:57:04] Production.INFO: ==27851== Lock acquired, processing the job...
[2025-02-08 23:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:57:04] Production.INFO: ==27860== Lock acquired, processing the job...
[2025-02-08 23:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:57:04] Production.INFO: count ==21
[2025-02-08 23:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:57:04] Production.ERROR: done
[2025-02-08 23:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:57:04] Production.INFO: count ==21
[2025-02-08 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433223') start
[2025-02-08 23:57:04] Production.INFO: Account Balance End.
[2025-02-08 23:57:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:57:04] Production.INFO: ==27856== Releasing lock...
[2025-02-08 23:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:57:04] Production.INFO: ==27851== Releasing lock...
[2025-02-08 23:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:57:04] Production.ERROR: done
[2025-02-08 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433223') end
[2025-02-08 23:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:57:04] Production.INFO: 1
[2025-02-08 23:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:57:04] Production.INFO: ==27860== Releasing lock...
[2025-02-08 23:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:57:05
[end_date_ymd] => 2025-02-08 23:57:05
[RateCDR] => 1
)
[2025-02-08 23:57: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` >= '2025-02-08 20:57:05' and `end` < '2025-02-08 23:57: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 ,'')
[2025-02-08 23:57:12] Production.ERROR: CronJobId end10
[2025-02-08 23:57:12] Production.INFO: ==27853== Releasing lock...
[2025-02-08 23:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:57:14] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:57:14] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:57:14] Production.INFO: call_cost start
[2025-02-08 23:57:14] Production.INFO: call_cost end
[2025-02-08 23:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:57:15] Production.INFO: ==27849== Releasing lock...
[2025-02-08 23:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:57:18] Production.INFO: count ==1568
[2025-02-08 23:57:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:57:05 - End Time 2025-02-08 23:57:05
[2025-02-08 23:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433225', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433225', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433225', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433225', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:57:18] Production.INFO: ProcessCDR(1,14433225,1,1,2)
[2025-02-08 23:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433225', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433225', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:57:23] Production.INFO: ==27858== Releasing lock...
[2025-02-08 23:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:57:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 04:58:01] Production.INFO: ==27917== Lock acquired, processing the job...
[2025-02-09 04:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:58:01] Production.INFO: neon service started
[2025-02-09 04:58:01] Production.INFO: neon service started
[2025-02-09 04:58:01] Production.INFO: ==27917== Releasing lock...
[2025-02-09 04:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:58:02] Production.INFO: ==27919== Lock acquired, processing the job...
[2025-02-08 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:58:02] Production.INFO: ==27921== Lock acquired, processing the job...
[2025-02-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:58:02] Production.INFO: ==27921== Releasing lock...
[2025-02-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:58:02] Production.INFO: ==27919== Releasing lock...
[2025-02-08 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-08 23:58:03] Production.INFO: ==27926== Lock acquired, processing the job...
[2025-02-08 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:58:03] Production.INFO: ==27934== Lock acquired, processing the job...
[2025-02-08 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:58:03] Production.INFO: ==27924== Lock acquired, processing the job...
[2025-02-08 23:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:58:03] Production.INFO: ==27930== Lock acquired, processing the job...
[2025-02-08 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:58:03] Production.INFO: ==27928== Lock acquired, processing the job...
[2025-02-08 23:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:58:03] Production.INFO: ==27932== Lock acquired, processing the job...
[2025-02-08 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:58:03] Production.INFO: count ==21
[2025-02-08 23:58:03] Production.INFO: ==27926== Releasing lock...
[2025-02-08 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:58:03] Production.INFO: Account Balance Start.
[2025-02-08 23:58:03] Production.INFO: count ==21
[2025-02-08 23:58:03] Production.INFO: CreateAllLog Start
[2025-02-08 23:58:03] Production.INFO: 117
[2025-02-08 23:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433227') start
[2025-02-08 23:58:03] Production.INFO: Date 2025-02-08
[2025-02-08 23:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:58:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:58:04] Production.INFO: Total Charge 0
[2025-02-08 23:58:04] Production.INFO: CreateAllLog End
[2025-02-08 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433227') end
[2025-02-08 23:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:58:04] Production.INFO: 1
[2025-02-08 23:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:58:04] Production.INFO: ==27934== Releasing lock...
[2025-02-08 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:58:04] Production.ERROR: done
[2025-02-08 23:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:58:04] Production.INFO: Account Balance End.
[2025-02-08 23:58:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:58:04] Production.INFO: ==27930== Releasing lock...
[2025-02-08 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:58:04] Production.ERROR: done
[2025-02-08 23:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:58:05
[end_date_ymd] => 2025-02-08 23:58:05
[RateCDR] => 1
)
[2025-02-08 23:58: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` >= '2025-02-08 20:58:05' and `end` < '2025-02-08 23:58: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 ,'')
[2025-02-08 23:58:11] Production.ERROR: CronJobId end10
[2025-02-08 23:58:11] Production.INFO: ==27928== Releasing lock...
[2025-02-08 23:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:58:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:58:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:58:14] Production.INFO: call_cost start
[2025-02-08 23:58:14] Production.INFO: call_cost end
[2025-02-08 23:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:58:15] Production.INFO: ==27924== Releasing lock...
[2025-02-08 23:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:58:18] Production.INFO: count ==1514
[2025-02-08 23:58:18] Production.ERROR: pbx CDR StartTime 2025-02-08 20:58:05 - End Time 2025-02-08 23:58:05
[2025-02-08 23:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433230', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433230', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433230', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433230', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:58:18] Production.INFO: ProcessCDR(1,14433230,1,1,2)
[2025-02-08 23:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433230', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433230', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:58:23] Production.INFO: ==27932== Releasing lock...
[2025-02-08 23:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:58:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 04:59:02] Production.INFO: ==27993== Lock acquired, processing the job...
[2025-02-09 04:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 04:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 04:59:02] Production.INFO: neon service started
[2025-02-09 04:59:02] Production.INFO: neon service started
[2025-02-09 04:59:02] Production.INFO: ==27993== Releasing lock...
[2025-02-09 04:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 04:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-08 23:59:02] Production.INFO: ==27995== Lock acquired, processing the job...
[2025-02-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-08 23:59:02] Production.INFO: ==27995== Releasing lock...
[2025-02-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-08 23:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:59:02] Production.INFO: ==27997== Lock acquired, processing the job...
[2025-02-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:59:03] Production.INFO: ==27997== Releasing lock...
[2025-02-09 04:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 04:59:03] Production.INFO: 25 MB #Memory Used#
[2025-02-08 23:59:03] Production.INFO: ==28000== Lock acquired, processing the job...
[2025-02-08 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-08 23:59:03] Production.INFO: ==28002== Lock acquired, processing the job...
[2025-02-08 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-08 23:59:03] Production.INFO: ==28004== Lock acquired, processing the job...
[2025-02-08 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-08 23:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-08 23:59:03] Production.INFO: ==28010== Lock acquired, processing the job...
[2025-02-08 23:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-08 23:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250208Live done
[2025-02-08 23:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208Live done
[2025-02-08 23:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250208Live)
[2025-02-08 23:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-08','2025-02-08','120250208Live')
[2025-02-08 23:59:04] Production.INFO: ==28008== Lock acquired, processing the job...
[2025-02-08 23:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-08 23:59:04] Production.INFO: ==28006== Lock acquired, processing the job...
[2025-02-08 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-08 23:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-08 23:59:04] Production.INFO: count ==21
[2025-02-08 23:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-08 23:59:04] Production.INFO: count ==21
[2025-02-08 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433233') start
[2025-02-08 23:59:04] Production.INFO: Account Balance Start.
[2025-02-08 23:59:04] Production.INFO: CreateAllLog Start
[2025-02-08 23:59:04] Production.INFO: 117
[2025-02-08 23:59:04] Production.INFO: Date 2025-02-08
[2025-02-08 23:59:04] Production.INFO: Reseller ==> 0
[2025-02-08 23:59:04] Production.INFO: ==28002== Releasing lock...
[2025-02-08 23:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-08 23:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-08 23:59:04] Production.INFO: Total Charge 0
[2025-02-08 23:59:04] Production.INFO: CreateAllLog End
[2025-02-08 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433233') end
[2025-02-08 23:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-08 23:59:04] Production.INFO: 1
[2025-02-08 23:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-08 23:59:04] Production.ERROR: done
[2025-02-08 23:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-08 23:59:04] Production.INFO: ==28010== Releasing lock...
[2025-02-08 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-08 23:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-08 23:59:04] Production.INFO: Account Balance End.
[2025-02-08 23:59:04] Production.ERROR: CronJobId end 12
[2025-02-08 23:59:04] Production.INFO: ==28006== Releasing lock...
[2025-02-08 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-08 23:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-08 23:59:04] Production.ERROR: done
[2025-02-08 23:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 20:59:05
[end_date_ymd] => 2025-02-08 23:59:05
[RateCDR] => 1
)
[2025-02-08 23:59: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` >= '2025-02-08 20:59:05' and `end` < '2025-02-08 23:59: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 ,'')
[2025-02-08 23:59:12] Production.ERROR: CronJobId end10
[2025-02-08 23:59:12] Production.INFO: ==28004== Releasing lock...
[2025-02-08 23:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-08 23:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-08 23:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-08 23:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-08 23:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-08 23:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-08 23:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-08 23:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-08 23:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-08 23:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-08 23:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-08 23:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-08 23:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-08 23:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-08 23:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-08 23:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-08 23:59:13] Production.INFO: call_cost start
[2025-02-08 23:59:13] Production.INFO: call_cost end
[2025-02-08 23:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-08 23:59:14] Production.INFO: ============== Report Schedule START===========
[2025-02-08 23:59:14] Production.INFO: ============== Report Schedule END===========
[2025-02-08 23:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-08 23:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-08 23:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-08 23:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-08 23:59:14] Production.INFO: ============== Deal alert START===========
[2025-02-08 23:59:14] Production.INFO: ============== Deal alert END===========
[2025-02-08 23:59:14] Production.INFO: ==28000== Releasing lock...
[2025-02-08 23:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-08 23:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-08 23:59:19] Production.INFO: count ==1433
[2025-02-08 23:59:19] Production.ERROR: pbx CDR StartTime 2025-02-08 20:59:05 - End Time 2025-02-08 23:59:05
[2025-02-08 23:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-08 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433235', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433235', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433235', 'tblTempVendorCDR_20' ) start
[2025-02-08 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433235', 'tblTempVendorCDR_20' ) end
[2025-02-08 23:59:19] Production.INFO: ProcessCDR(1,14433235,1,1,2)
[2025-02-08 23:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-08 23:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-08 23:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433235', 'tblTempUsageDetail_20' ) start
[2025-02-08 23:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433235', 'tblTempUsageDetail_20' ) end
[2025-02-08 23:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-08 23:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-08 23:59:23] Production.INFO: ==28008== Releasing lock...
[2025-02-08 23:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-08 23:59:23] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 05:00:01] Production.INFO: ==28072== Lock acquired, processing the job...
[2025-02-09 05:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:00:01] Production.INFO: neon service started
[2025-02-09 05:00:01] Production.INFO: neon service started
[2025-02-09 05:00:01] Production.INFO: ==28072== Releasing lock...
[2025-02-09 05:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:00:02] Production.INFO: ==28076== Lock acquired, processing the job...
[2025-02-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:00:02] Production.INFO: ==28076== Releasing lock...
[2025-02-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:00:02] Production.INFO: ==28074== Lock acquired, processing the job...
[2025-02-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:00:02] Production.INFO: ==28074== Releasing lock...
[2025-02-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:00:03] Production.INFO: ==28080== Lock acquired, processing the job...
[2025-02-09 00:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:00:03] Production.INFO: ==28084== Lock acquired, processing the job...
[2025-02-09 00:00:03] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts#
[2025-02-09 00:00:03] Production.INFO: ==28078== Lock acquired, processing the job...
[2025-02-09 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 00:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:00:04] Production.INFO: ==28082== Lock acquired, processing the job...
[2025-02-09 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 00:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:00:04] Production.ERROR: CronJob PID - 28080
[2025-02-09 00:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 00:00:04] Production.ERROR: CronJob ID - 5
[2025-02-09 00:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 00:00:00
[2025-02-09 00:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:00:04] Production.ERROR: CronJob PID - 28084
[2025-02-09 00:00:04] Production.ERROR: CronJob Title - Create Summary
[2025-02-09 00:00:04] Production.ERROR: CronJob ID - 9
[2025-02-09 00:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 00:00:00
[2025-02-09 00:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 00:00:04] Production.INFO: ==28078== Releasing lock...
[2025-02-09 00:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 00:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 00:00:04] Production.INFO: ==28093== Lock acquired, processing the job...
[2025-02-09 00:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 00:00:04] Production.INFO: ==28086== Lock acquired, processing the job...
[2025-02-09 00:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:00:04] Production.INFO: ==28095== Lock acquired, processing the job...
[2025-02-09 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:00:04] Production.INFO: ==28089== Lock acquired, processing the job...
[2025-02-09 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:00:04] Production.INFO: ==28091== Lock acquired, processing the job...
[2025-02-09 00:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:00:04] Production.INFO: Account Balance Start.
[2025-02-09 00:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:00:04] Production.INFO: count ==21
[2025-02-09 00:00:04] Production.INFO: 117
[2025-02-09 00:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:00:04] Production.INFO: count ==21
[2025-02-09 00:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433238') start
[2025-02-09 00:00:04] Production.INFO: ==28082== Releasing lock...
[2025-02-09 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:00:05] Production.ERROR: done
[2025-02-09 00:00:05] Production.INFO: Total Charge 0
[2025-02-09 00:00:05] Production.INFO: CreateAllLog End
[2025-02-09 00:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 00:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433240', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 00:00:05] Production.ERROR: done
[2025-02-09 00:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433238') end
[2025-02-09 00:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:00:05] Production.INFO: 1
[2025-02-09 00:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:00:05] Production.INFO: ==28095== Releasing lock...
[2025-02-09 00:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:00:05] Production.INFO: Account Balance End.
[2025-02-09 00:00:05] Production.ERROR: done
[2025-02-09 00:00:05] Production.ERROR: CronJobId end 12
[2025-02-09 00:00:05] Production.INFO: ==28089== Releasing lock...
[2025-02-09 00:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:00:06
[end_date_ymd] => 2025-02-09 00:00:06
[RateCDR] => 1
)
[2025-02-09 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-02-08 21:00:06' and `end` < '2025-02-09 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-02-09 00:00:11] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433240', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 00:00:11] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 00:00:11] Production.INFO: ProcessCDR(1,14433240,1,1,2)
[2025-02-09 00:00:11] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433240,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:00:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433240,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:00:11] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:00:11] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:00:11] Production.INFO: ==28093== Releasing lock...
[2025-02-09 00:00:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 00:00:11] Production.INFO: 26 MB #Memory Used#
[2025-02-09 00:00:13] Production.ERROR: tmp_tblUsageDetailsReport_120250205 done
[2025-02-09 00:00:13] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250205 done
[2025-02-09 00:00:13] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250205
[2025-02-09 00:00:15] Production.INFO: call prc_generateSummary(1,'2025-02-05','2025-02-05','120250205')
[2025-02-09 00:00:19] Production.INFO: call prc_generateVendorSummary(1,'2025-02-05','2025-02-05','120250205')
[2025-02-09 00:00:20] Production.ERROR: CronJobId end10
[2025-02-09 00:00:20] Production.INFO: ==28086== Releasing lock...
[2025-02-09 00:00:20] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:00:20] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:00:20] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:00:20] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:00:20] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:00:20] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:00:20] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:00:20] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:00:20] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:00:20] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:00:20] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:00:20] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:00:20] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:00:20] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:00:20] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:00:20] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:00:21] Production.INFO: call_cost start
[2025-02-09 00:00:21] Production.INFO: call_cost end
[2025-02-09 00:00:22] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:00:22] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:00:22] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:00:22] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:00:22] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:00:22] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:00:22] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:00:22] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:00:22] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:00:22] Production.INFO: ==28080== Releasing lock...
[2025-02-09 00:00:22] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:00:22] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:00:23] Production.ERROR: tmp_tblUsageDetailsReport_120250206 done
[2025-02-09 00:00:23] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250206 done
[2025-02-09 00:00:23] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250206
[2025-02-09 00:00:23] Production.INFO: call prc_generateSummary(1,'2025-02-06','2025-02-06','120250206')
[2025-02-09 00:00:26] Production.INFO: call prc_generateVendorSummary(1,'2025-02-06','2025-02-06','120250206')
[2025-02-09 00:00:30] Production.ERROR: tmp_tblUsageDetailsReport_120250207 done
[2025-02-09 00:00:30] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250207 done
[2025-02-09 00:00:30] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250207
[2025-02-09 00:00:30] Production.INFO: call prc_generateSummary(1,'2025-02-07','2025-02-07','120250207')
[2025-02-09 00:00:33] Production.INFO: count ==1351
[2025-02-09 00:00:33] Production.ERROR: pbx CDR StartTime 2025-02-08 21:00:06 - End Time 2025-02-09 00:00:06
[2025-02-09 00:00:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433241', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433241', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433241', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433241', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:00:33] Production.INFO: ProcessCDR(1,14433241,1,1,2)
[2025-02-09 00:00:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:00:34] Production.INFO: call prc_generateVendorSummary(1,'2025-02-07','2025-02-07','120250207')
[2025-02-09 00:00:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:00:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:00:37] Production.ERROR: tmp_tblUsageDetailsReport_120250208 done
[2025-02-09 00:00:37] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250208 done
[2025-02-09 00:00:37] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250208
[2025-02-09 00:00:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:00:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433241', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:00:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433241', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:00:38] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:00:38] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:00:38] Production.INFO: call prc_generateSummary(1,'2025-02-08','2025-02-08','120250208')
[2025-02-09 00:00:40] Production.INFO: ==28091== Releasing lock...
[2025-02-09 00:00:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:00:40] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 00:00:41] Production.INFO: call prc_generateVendorSummary(1,'2025-02-08','2025-02-08','120250208')
[2025-02-09 00:00:44] Production.ERROR: CronJobId end9
[2025-02-09 00:00:44] Production.INFO: ==28084== Releasing lock...
[2025-02-09 00:00:44] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops#
[2025-02-09 00:00:44] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:01:02] Production.INFO: ==28159== Lock acquired, processing the job...
[2025-02-09 05:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:01:02] Production.INFO: neon service started
[2025-02-09 05:01:02] Production.INFO: neon service started
[2025-02-09 05:01:02] Production.INFO: ==28159== Releasing lock...
[2025-02-09 05:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:01:02] Production.INFO: ==28172== Lock acquired, processing the job...
[2025-02-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:01:02] Production.INFO: ==28174== Lock acquired, processing the job...
[2025-02-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:01:02] Production.INFO: ==28172== Releasing lock...
[2025-02-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:01:02] Production.INFO: ==28174== Releasing lock...
[2025-02-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:01:03] Production.INFO: ==28178== Lock acquired, processing the job...
[2025-02-09 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:01:03] Production.INFO: ==28182== Lock acquired, processing the job...
[2025-02-09 00:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:01:04] Production.INFO: ==28176== Lock acquired, processing the job...
[2025-02-09 00:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:01:04] Production.INFO: ==28184== Lock acquired, processing the job...
[2025-02-09 00:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:01:04] Production.INFO: ==28180== Lock acquired, processing the job...
[2025-02-09 00:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:01:04] Production.INFO: Account Balance Start.
[2025-02-09 00:01:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:01:04] Production.INFO: 117
[2025-02-09 00:01:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:01:04] Production.INFO: ==28186== Lock acquired, processing the job...
[2025-02-09 00:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:01:04] Production.INFO: Total Charge 0
[2025-02-09 00:01:04] Production.INFO: CreateAllLog End
[2025-02-09 00:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:01:04] Production.INFO: count ==21
[2025-02-09 00:01:04] Production.INFO: ==28178== Releasing lock...
[2025-02-09 00:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:01:04] Production.INFO: count ==21
[2025-02-09 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433245') start
[2025-02-09 00:01:04] Production.INFO: Account Balance End.
[2025-02-09 00:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:01:04] Production.INFO: ==28182== Releasing lock...
[2025-02-09 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:01:04] Production.ERROR: done
[2025-02-09 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433245') end
[2025-02-09 00:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:01:04] Production.INFO: 1
[2025-02-09 00:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:01:05] Production.INFO: ==28186== Releasing lock...
[2025-02-09 00:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:01:05] Production.ERROR: done
[2025-02-09 00:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:01:06
[end_date_ymd] => 2025-02-09 00:01:06
[RateCDR] => 1
)
[2025-02-09 00:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 21:01:06' and `end` < '2025-02-09 00:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 00:01:12] Production.ERROR: CronJobId end10
[2025-02-09 00:01:12] Production.INFO: ==28180== Releasing lock...
[2025-02-09 00:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:01:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:01:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:01:15] Production.INFO: call_cost start
[2025-02-09 00:01:15] Production.INFO: call_cost end
[2025-02-09 00:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:01:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:01:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:01:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:01:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:01:16] Production.INFO: ==28176== Releasing lock...
[2025-02-09 00:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:01:29] Production.INFO: count ==1307
[2025-02-09 00:01:29] Production.ERROR: pbx CDR StartTime 2025-02-08 21:01:06 - End Time 2025-02-09 00:01:06
[2025-02-09 00:01:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433246', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433246', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433246', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433246', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:01:29] Production.INFO: ProcessCDR(1,14433246,1,1,2)
[2025-02-09 00:01:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:01:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:01:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:01:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:01:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433246', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:01:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433246', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:01:32] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:01:32] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:01:32] Production.INFO: ==28184== Releasing lock...
[2025-02-09 00:01:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:01:32] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 05:02:01] Production.INFO: ==28244== Lock acquired, processing the job...
[2025-02-09 05:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:02:01] Production.INFO: neon service started
[2025-02-09 05:02:01] Production.INFO: neon service started
[2025-02-09 05:02:01] Production.INFO: ==28244== Releasing lock...
[2025-02-09 05:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:02:01] Production.INFO: ==28246== Lock acquired, processing the job...
[2025-02-09 00:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:02:02] Production.INFO: ==28246== Releasing lock...
[2025-02-09 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:02:02] Production.INFO: ==28248== Lock acquired, processing the job...
[2025-02-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:02:02] Production.INFO: ==28248== Releasing lock...
[2025-02-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:02:03] Production.INFO: ==28260== Lock acquired, processing the job...
[2025-02-09 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:02:03] Production.INFO: ==28250== Lock acquired, processing the job...
[2025-02-09 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:02:03] Production.INFO: count ==21
[2025-02-09 00:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:02:03] Production.INFO: count ==21
[2025-02-09 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433247') start
[2025-02-09 00:02:03] Production.INFO: ==28252== Lock acquired, processing the job...
[2025-02-09 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:02:03] Production.INFO: ==28256== Lock acquired, processing the job...
[2025-02-09 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:02:03] Production.INFO: ==28254== Lock acquired, processing the job...
[2025-02-09 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:02:03] Production.INFO: ==28258== Lock acquired, processing the job...
[2025-02-09 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433247') end
[2025-02-09 00:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:02:03] Production.INFO: 1
[2025-02-09 00:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:02:03] Production.INFO: ==28260== Releasing lock...
[2025-02-09 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:02:03] Production.INFO: Account Balance Start.
[2025-02-09 00:02:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:02:03] Production.INFO: 117
[2025-02-09 00:02:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:02:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:02:03] Production.INFO: Total Charge 0
[2025-02-09 00:02:03] Production.INFO: CreateAllLog End
[2025-02-09 00:02:03] Production.INFO: ==28252== Releasing lock...
[2025-02-09 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:02:03] Production.INFO: Account Balance End.
[2025-02-09 00:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:02:04] Production.INFO: ==28256== Releasing lock...
[2025-02-09 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:02:04] Production.ERROR: done
[2025-02-09 00:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:02:04] Production.ERROR: done
[2025-02-09 00:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:02:05
[end_date_ymd] => 2025-02-09 00:02:05
[RateCDR] => 1
)
[2025-02-09 00: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` >= '2025-02-08 21:02:05' and `end` < '2025-02-09 00: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 ,'')
[2025-02-09 00:02:12] Production.ERROR: CronJobId end10
[2025-02-09 00:02:12] Production.INFO: ==28254== Releasing lock...
[2025-02-09 00:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:02:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:02:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:02:13] Production.INFO: call_cost start
[2025-02-09 00:02:13] Production.INFO: call_cost end
[2025-02-09 00:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:02:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:02:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:02:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:02:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:02:14] Production.INFO: ==28250== Releasing lock...
[2025-02-09 00:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:02:39] Production.INFO: count ==536
[2025-02-09 00:02:40] Production.ERROR: pbx CDR StartTime 2025-02-08 21:02:05 - End Time 2025-02-09 00:02:05
[2025-02-09 00:02:40] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:02:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433251', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:02:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433251', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:02:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433251', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:02:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433251', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:02:40] Production.INFO: ProcessCDR(1,14433251,1,1,2)
[2025-02-09 00:02:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:02:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:02:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:02:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:02:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433251', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:02:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433251', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:02:43] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:02:43] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:02:43] Production.INFO: ==28258== Releasing lock...
[2025-02-09 00:02:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:02:43] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:03:02] Production.INFO: ==28320== Lock acquired, processing the job...
[2025-02-09 05:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:03:02] Production.INFO: neon service started
[2025-02-09 05:03:02] Production.INFO: neon service started
[2025-02-09 05:03:02] Production.INFO: ==28320== Releasing lock...
[2025-02-09 05:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:03:02] Production.INFO: ==28324== Lock acquired, processing the job...
[2025-02-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:03:02] Production.INFO: ==28322== Lock acquired, processing the job...
[2025-02-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:03:02] Production.INFO: ==28324== Releasing lock...
[2025-02-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:03:03] Production.INFO: ==28322== Releasing lock...
[2025-02-09 00:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:03:03] Production.INFO: ==28329== Lock acquired, processing the job...
[2025-02-09 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:03:03] Production.INFO: ==28331== Lock acquired, processing the job...
[2025-02-09 00:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:03:04] Production.INFO: ==28333== Lock acquired, processing the job...
[2025-02-09 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:03:04] Production.INFO: ==28327== Lock acquired, processing the job...
[2025-02-09 00:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:03:04] Production.INFO: Account Balance Start.
[2025-02-09 00:03:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:03:04] Production.INFO: 117
[2025-02-09 00:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:03:04] Production.INFO: ==28337== Lock acquired, processing the job...
[2025-02-09 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:03:04] Production.INFO: Total Charge 0
[2025-02-09 00:03:04] Production.INFO: CreateAllLog End
[2025-02-09 00:03:04] Production.INFO: ==28335== Lock acquired, processing the job...
[2025-02-09 00:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:03:04] Production.INFO: ==28329== Releasing lock...
[2025-02-09 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:03:04] Production.INFO: Account Balance End.
[2025-02-09 00:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:03:04] Production.INFO: ==28333== Releasing lock...
[2025-02-09 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:03:04] Production.INFO: count ==21
[2025-02-09 00:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:03:04] Production.INFO: count ==21
[2025-02-09 00:03:04] Production.ERROR: done
[2025-02-09 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433255') start
[2025-02-09 00:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433255') end
[2025-02-09 00:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:03:04] Production.INFO: 1
[2025-02-09 00:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:03:05] Production.INFO: ==28337== Releasing lock...
[2025-02-09 00:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:03:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:03:05] Production.ERROR: done
[2025-02-09 00:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:03:05
[end_date_ymd] => 2025-02-09 00:03:05
[RateCDR] => 1
)
[2025-02-09 00:03: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` >= '2025-02-08 21:03:05' and `end` < '2025-02-09 00:03: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 ,'')
[2025-02-09 00:03:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,10))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 00:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:03:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:03:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:03:13] Production.ERROR: CronJobId end10
[2025-02-09 00:03:13] Production.INFO: ==28331== Releasing lock...
[2025-02-09 00:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:03:13] Production.INFO: call_cost start
[2025-02-09 00:03:13] Production.INFO: call_cost end
[2025-02-09 00:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:03:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:03:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:03:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:03:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:03:14] Production.INFO: ==28327== Releasing lock...
[2025-02-09 00:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:03:31] Production.INFO: count ==517
[2025-02-09 00:03:32] Production.ERROR: pbx CDR StartTime 2025-02-08 21:03:05 - End Time 2025-02-09 00:03:05
[2025-02-09 00:03:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:03:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433256', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:03:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433256', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:03:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433256', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:03:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433256', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:03:32] Production.INFO: ProcessCDR(1,14433256,1,1,2)
[2025-02-09 00:03:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:03:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:03:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:03:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:03:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433256', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:03:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433256', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:03:35] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:03:35] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:03:35] Production.INFO: ==28335== Releasing lock...
[2025-02-09 00:03:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:03:35] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:04:01] Production.INFO: ==28400== Lock acquired, processing the job...
[2025-02-09 05:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:04:01] Production.INFO: neon service started
[2025-02-09 05:04:01] Production.INFO: neon service started
[2025-02-09 05:04:01] Production.INFO: ==28400== Releasing lock...
[2025-02-09 05:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:04:02] Production.INFO: ==28404== Lock acquired, processing the job...
[2025-02-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:04:02] Production.INFO: ==28404== Releasing lock...
[2025-02-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:04:02] Production.INFO: ==28402== Lock acquired, processing the job...
[2025-02-09 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:04:02] Production.INFO: ==28402== Releasing lock...
[2025-02-09 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:04:03] Production.INFO: ==28415== Lock acquired, processing the job...
[2025-02-09 00:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:04:03] Production.INFO: ==28417== Lock acquired, processing the job...
[2025-02-09 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:04:03] Production.INFO: ==28407== Lock acquired, processing the job...
[2025-02-09 00:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:04:03] Production.INFO: ==28409== Lock acquired, processing the job...
[2025-02-09 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:04:03] Production.INFO: ==28413== Lock acquired, processing the job...
[2025-02-09 00:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:04:03] Production.INFO: ==28411== Lock acquired, processing the job...
[2025-02-09 00:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:04:03] Production.INFO: count ==21
[2025-02-09 00:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:04:03] Production.INFO: count ==21
[2025-02-09 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433257') start
[2025-02-09 00:04:03] Production.ERROR: done
[2025-02-09 00:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:04:03] Production.INFO: Account Balance Start.
[2025-02-09 00:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:04:03] Production.INFO: 117
[2025-02-09 00:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433257') end
[2025-02-09 00:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:04:03] Production.INFO: 1
[2025-02-09 00:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:04:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:04:04] Production.INFO: ==28417== Releasing lock...
[2025-02-09 00:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:04:04] Production.INFO: Total Charge 0
[2025-02-09 00:04:04] Production.INFO: CreateAllLog End
[2025-02-09 00:04:04] Production.ERROR: done
[2025-02-09 00:04:04] Production.INFO: ==28409== Releasing lock...
[2025-02-09 00:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:04:04] Production.INFO: Account Balance End.
[2025-02-09 00:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:04:04] Production.INFO: ==28413== Releasing lock...
[2025-02-09 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:04:04
[end_date_ymd] => 2025-02-09 00:04:04
[RateCDR] => 1
)
[2025-02-09 00:04:04] 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-02-08 21:04:04' and `end` < '2025-02-09 00:04:04'
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-02-09 00:04:12] Production.ERROR: CronJobId end10
[2025-02-09 00:04:12] Production.INFO: ==28411== Releasing lock...
[2025-02-09 00:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:04:15] Production.INFO: call_cost start
[2025-02-09 00:04:15] Production.INFO: call_cost end
[2025-02-09 00:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:04:15] Production.INFO: ==28407== Releasing lock...
[2025-02-09 00:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:04:29] Production.INFO: count ==503
[2025-02-09 00:04:29] Production.ERROR: pbx CDR StartTime 2025-02-08 21:04:04 - End Time 2025-02-09 00:04:04
[2025-02-09 00:04:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:04:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433261', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:04:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433261', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:04:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433261', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:04:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433261', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:04:29] Production.INFO: ProcessCDR(1,14433261,1,1,2)
[2025-02-09 00:04:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:04:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:04:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:04:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:04:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433261', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:04:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433261', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:04:32] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:04:32] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:04:32] Production.INFO: ==28415== Releasing lock...
[2025-02-09 00:04:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:04:32] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:05:02] Production.INFO: ==28516== Lock acquired, processing the job...
[2025-02-09 05:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:05:02] Production.INFO: neon service started
[2025-02-09 05:05:02] Production.INFO: neon service started
[2025-02-09 05:05:02] Production.INFO: ==28516== Releasing lock...
[2025-02-09 05:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:05:02] Production.INFO: ==28518== Lock acquired, processing the job...
[2025-02-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:05:02] Production.INFO: ==28520== Lock acquired, processing the job...
[2025-02-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:05:02] Production.INFO: ==28520== Releasing lock...
[2025-02-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:05:03] Production.INFO: ==28518== Releasing lock...
[2025-02-09 00:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:05:03] Production.INFO: ==28527== Lock acquired, processing the job...
[2025-02-09 00:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:05:04] Production.INFO: ==28531== Lock acquired, processing the job...
[2025-02-09 00:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:05:04] Production.INFO: ==28523== Lock acquired, processing the job...
[2025-02-09 00:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:05:04] Production.INFO: ==28525== Lock acquired, processing the job...
[2025-02-09 00:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:05:04] Production.INFO: ==28529== Lock acquired, processing the job...
[2025-02-09 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:05:04] Production.INFO: ==28533== Lock acquired, processing the job...
[2025-02-09 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:05:04] Production.INFO: Account Balance Start.
[2025-02-09 00:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:05:04] Production.INFO: 117
[2025-02-09 00:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:05:04] Production.ERROR: done
[2025-02-09 00:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:05:04] Production.INFO: Total Charge 0
[2025-02-09 00:05:04] Production.INFO: CreateAllLog End
[2025-02-09 00:05:04] Production.INFO: count ==21
[2025-02-09 00:05:04] Production.INFO: ==28525== Releasing lock...
[2025-02-09 00:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:05:04] Production.ERROR: done
[2025-02-09 00:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:05:04] Production.INFO: count ==21
[2025-02-09 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433265') start
[2025-02-09 00:05:04] Production.INFO: Account Balance End.
[2025-02-09 00:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:05:04] Production.INFO: ==28529== Releasing lock...
[2025-02-09 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433265') end
[2025-02-09 00:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:05:04] Production.INFO: 1
[2025-02-09 00:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:05:04] Production.INFO: ==28533== Releasing lock...
[2025-02-09 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:05:05
[end_date_ymd] => 2025-02-09 00:05:05
[RateCDR] => 1
)
[2025-02-09 00:05: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` >= '2025-02-08 21:05:05' and `end` < '2025-02-09 00:05: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 ,'')
[2025-02-09 00:05:11] Production.ERROR: CronJobId end10
[2025-02-09 00:05:11] Production.INFO: ==28527== Releasing lock...
[2025-02-09 00:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:05:14] Production.INFO: call_cost start
[2025-02-09 00:05:14] Production.INFO: call_cost end
[2025-02-09 00:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:05:15] Production.INFO: ==28523== Releasing lock...
[2025-02-09 00:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:05:29] Production.INFO: count ==503
[2025-02-09 00:05:29] Production.ERROR: pbx CDR StartTime 2025-02-08 21:05:05 - End Time 2025-02-09 00:05:05
[2025-02-09 00:05:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:05:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433266', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:05:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433266', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:05:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433266', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:05:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433266', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:05:29] Production.INFO: ProcessCDR(1,14433266,1,1,2)
[2025-02-09 00:05:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:05:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:05:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:05:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:05:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433266', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:05:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433266', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:05:32] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:05:32] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:05:32] Production.INFO: ==28531== Releasing lock...
[2025-02-09 00:05:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:05:32] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:06:01] Production.INFO: ==28592== Lock acquired, processing the job...
[2025-02-09 05:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:06:01] Production.INFO: neon service started
[2025-02-09 05:06:01] Production.INFO: neon service started
[2025-02-09 05:06:01] Production.INFO: ==28592== Releasing lock...
[2025-02-09 05:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:06:01] Production.INFO: ==28594== Lock acquired, processing the job...
[2025-02-09 00:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:06:02] Production.INFO: ==28594== Releasing lock...
[2025-02-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:06:02] Production.INFO: ==28596== Lock acquired, processing the job...
[2025-02-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:06:02] Production.INFO: ==28596== Releasing lock...
[2025-02-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:06:03] Production.INFO: ==28605== Lock acquired, processing the job...
[2025-02-09 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:06:03] Production.INFO: ==28607== Lock acquired, processing the job...
[2025-02-09 00:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:06:03] Production.INFO: ==28599== Lock acquired, processing the job...
[2025-02-09 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:06:03] Production.INFO: ==28601== Lock acquired, processing the job...
[2025-02-09 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:06:03] Production.INFO: ==28603== Lock acquired, processing the job...
[2025-02-09 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:06:03] Production.INFO: Account Balance Start.
[2025-02-09 00:06:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:06:03] Production.INFO: 117
[2025-02-09 00:06:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:06:03] Production.INFO: ==28609== Lock acquired, processing the job...
[2025-02-09 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:06:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:06:03] Production.INFO: Total Charge 0
[2025-02-09 00:06:03] Production.INFO: count ==21
[2025-02-09 00:06:03] Production.INFO: CreateAllLog End
[2025-02-09 00:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:06:03] Production.INFO: count ==21
[2025-02-09 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433269') start
[2025-02-09 00:06:03] Production.ERROR: done
[2025-02-09 00:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433269') end
[2025-02-09 00:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:06:03] Production.INFO: 1
[2025-02-09 00:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:06:03] Production.ERROR: done
[2025-02-09 00:06:03] Production.INFO: ==28609== Releasing lock...
[2025-02-09 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:06:03] Production.INFO: Account Balance End.
[2025-02-09 00:06:03] Production.ERROR: CronJobId end 12
[2025-02-09 00:06:03] Production.INFO: ==28605== Releasing lock...
[2025-02-09 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:06:03] Production.INFO: ==28601== Releasing lock...
[2025-02-09 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:06:04
[end_date_ymd] => 2025-02-09 00:06:04
[RateCDR] => 1
)
[2025-02-09 00:06:04] 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-02-08 21:06:04' and `end` < '2025-02-09 00:06:04'
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-02-09 00:06:12] Production.ERROR: CronJobId end10
[2025-02-09 00:06:12] Production.INFO: ==28603== Releasing lock...
[2025-02-09 00:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:06:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:06:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:06:13] Production.INFO: call_cost start
[2025-02-09 00:06:13] Production.INFO: call_cost end
[2025-02-09 00:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:06:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:06:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:06:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:06:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:06:14] Production.INFO: ==28599== Releasing lock...
[2025-02-09 00:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:06:18] Production.INFO: count ==493
[2025-02-09 00:06:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:06:04 - End Time 2025-02-09 00:06:04
[2025-02-09 00:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433271', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433271', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433271', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433271', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:06:18] Production.INFO: ProcessCDR(1,14433271,1,1,2)
[2025-02-09 00:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433271', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433271', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:06:22] Production.INFO: ==28607== Releasing lock...
[2025-02-09 00:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:06:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:07:01] Production.INFO: ==28668== Lock acquired, processing the job...
[2025-02-09 05:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:07:01] Production.INFO: neon service started
[2025-02-09 05:07:01] Production.INFO: neon service started
[2025-02-09 05:07:01] Production.INFO: ==28668== Releasing lock...
[2025-02-09 05:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:07:02] Production.INFO: ==28670== Lock acquired, processing the job...
[2025-02-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:07:02] Production.INFO: ==28672== Lock acquired, processing the job...
[2025-02-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:07:02] Production.INFO: ==28672== Releasing lock...
[2025-02-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:07:02] Production.INFO: ==28670== Releasing lock...
[2025-02-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:07:03] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-02-09 00:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:07:03] Production.INFO: ==28683== Lock acquired, processing the job...
[2025-02-09 00:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:07:03] Production.INFO: ==28677== Lock acquired, processing the job...
[2025-02-09 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:07:04] Production.INFO: ==28675== Lock acquired, processing the job...
[2025-02-09 00:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:07:04] Production.INFO: ==28681== Lock acquired, processing the job...
[2025-02-09 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:07:04] Production.INFO: ==28685== Lock acquired, processing the job...
[2025-02-09 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:07:04] Production.ERROR: done
[2025-02-09 00:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:07:04] Production.INFO: Account Balance Start.
[2025-02-09 00:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:07:04] Production.INFO: 117
[2025-02-09 00:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:07:04] Production.INFO: count ==21
[2025-02-09 00:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:07:04] Production.INFO: count ==21
[2025-02-09 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433274') start
[2025-02-09 00:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:07:04] Production.ERROR: done
[2025-02-09 00:07:04] Production.INFO: Total Charge 0
[2025-02-09 00:07:04] Production.INFO: CreateAllLog End
[2025-02-09 00:07:04] Production.INFO: ==28677== Releasing lock...
[2025-02-09 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433274') end
[2025-02-09 00:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:07:04] Production.INFO: 1
[2025-02-09 00:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:07:04] Production.INFO: ==28685== Releasing lock...
[2025-02-09 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:07:04] Production.INFO: Account Balance End.
[2025-02-09 00:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:07:04] Production.INFO: ==28681== Releasing lock...
[2025-02-09 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:07:05
[end_date_ymd] => 2025-02-09 00:07:05
[RateCDR] => 1
)
[2025-02-09 00:07: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` >= '2025-02-08 21:07:05' and `end` < '2025-02-09 00:07: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 ,'')
[2025-02-09 00:07:11] Production.ERROR: CronJobId end10
[2025-02-09 00:07:11] Production.INFO: ==28679== Releasing lock...
[2025-02-09 00:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:07:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:07:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:07:13] Production.INFO: call_cost start
[2025-02-09 00:07:13] Production.INFO: call_cost end
[2025-02-09 00:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:07:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:07:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:07:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:07:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:07:14] Production.INFO: ==28675== Releasing lock...
[2025-02-09 00:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:07:18] Production.INFO: count ==481
[2025-02-09 00:07:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:07:05 - End Time 2025-02-09 00:07:05
[2025-02-09 00:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433276', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433276', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433276', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433276', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:07:19] Production.INFO: ProcessCDR(1,14433276,1,1,2)
[2025-02-09 00:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433276', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433276', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:07:22] Production.INFO: ==28683== Releasing lock...
[2025-02-09 00:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:07:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:08:01] Production.INFO: ==28738== Lock acquired, processing the job...
[2025-02-09 05:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:08:01] Production.INFO: neon service started
[2025-02-09 05:08:01] Production.INFO: neon service started
[2025-02-09 05:08:01] Production.INFO: ==28738== Releasing lock...
[2025-02-09 05:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:08:01] Production.INFO: ==28742== Lock acquired, processing the job...
[2025-02-09 00:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:08:02] Production.INFO: ==28742== Releasing lock...
[2025-02-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:08:02] Production.INFO: ==28744== Lock acquired, processing the job...
[2025-02-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:08:02] Production.INFO: ==28744== Releasing lock...
[2025-02-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:08:03] Production.INFO: ==28746== Lock acquired, processing the job...
[2025-02-09 00:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:08:03] Production.INFO: ==28750== Lock acquired, processing the job...
[2025-02-09 00:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:08:03] Production.INFO: ==28757== Lock acquired, processing the job...
[2025-02-09 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:08:03] Production.INFO: ==28748== Lock acquired, processing the job...
[2025-02-09 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:08:03] Production.INFO: ==28753== Lock acquired, processing the job...
[2025-02-09 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:08:03] Production.INFO: count ==21
[2025-02-09 00:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:08:03] Production.INFO: ==28755== Lock acquired, processing the job...
[2025-02-09 00:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:08:03] Production.INFO: count ==21
[2025-02-09 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433278') start
[2025-02-09 00:08:03] Production.INFO: Account Balance Start.
[2025-02-09 00:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:08:03] Production.INFO: 117
[2025-02-09 00:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433278') end
[2025-02-09 00:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:08:03] Production.INFO: 1
[2025-02-09 00:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:08:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:08:03] Production.INFO: Total Charge 0
[2025-02-09 00:08:03] Production.INFO: ==28757== Releasing lock...
[2025-02-09 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:08:03] Production.INFO: CreateAllLog End
[2025-02-09 00:08:03] Production.INFO: ==28748== Releasing lock...
[2025-02-09 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:08:03] Production.INFO: Account Balance End.
[2025-02-09 00:08:04] Production.ERROR: done
[2025-02-09 00:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:08:04] Production.INFO: ==28753== Releasing lock...
[2025-02-09 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:08:04] Production.ERROR: done
[2025-02-09 00:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:08:05
[end_date_ymd] => 2025-02-09 00:08:05
[RateCDR] => 1
)
[2025-02-09 00:08: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` >= '2025-02-08 21:08:05' and `end` < '2025-02-09 00:08: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 ,'')
[2025-02-09 00:08:11] Production.ERROR: CronJobId end10
[2025-02-09 00:08:11] Production.INFO: ==28750== Releasing lock...
[2025-02-09 00:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:08:14] Production.INFO: call_cost start
[2025-02-09 00:08:14] Production.INFO: call_cost end
[2025-02-09 00:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:08:15] Production.INFO: ==28746== Releasing lock...
[2025-02-09 00:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:08:20] Production.INFO: count ==474
[2025-02-09 00:08:20] Production.ERROR: pbx CDR StartTime 2025-02-08 21:08:05 - End Time 2025-02-09 00:08:05
[2025-02-09 00:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433281', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433281', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433281', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433281', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:08:20] Production.INFO: ProcessCDR(1,14433281,1,1,2)
[2025-02-09 00:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433281', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433281', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:08:24] Production.INFO: ==28755== Releasing lock...
[2025-02-09 00:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:08:24] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:09:01] Production.INFO: ==28812== Lock acquired, processing the job...
[2025-02-09 05:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:09:01] Production.INFO: neon service started
[2025-02-09 05:09:01] Production.INFO: neon service started
[2025-02-09 05:09:01] Production.INFO: ==28812== Releasing lock...
[2025-02-09 05:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:09:02] Production.INFO: ==28814== Lock acquired, processing the job...
[2025-02-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:09:02] Production.INFO: ==28814== Releasing lock...
[2025-02-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:09:02] Production.INFO: ==28816== Lock acquired, processing the job...
[2025-02-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:09:02] Production.INFO: ==28816== Releasing lock...
[2025-02-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:09:03] Production.INFO: ==28826== Lock acquired, processing the job...
[2025-02-09 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:09:03] Production.INFO: ==28828== Lock acquired, processing the job...
[2025-02-09 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:09:03] Production.INFO: count ==21
[2025-02-09 00:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:09:03] Production.INFO: count ==21
[2025-02-09 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433282') start
[2025-02-09 00:09:03] Production.INFO: ==28818== Lock acquired, processing the job...
[2025-02-09 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:09:03] Production.INFO: ==28820== Lock acquired, processing the job...
[2025-02-09 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:09:03] Production.INFO: ==28822== Lock acquired, processing the job...
[2025-02-09 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:09:03] Production.INFO: ==28824== Lock acquired, processing the job...
[2025-02-09 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:09:03] Production.ERROR: done
[2025-02-09 00:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:09:04] Production.INFO: Account Balance Start.
[2025-02-09 00:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:09:04] Production.INFO: 117
[2025-02-09 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433282') end
[2025-02-09 00:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:09:04] Production.INFO: 1
[2025-02-09 00:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:09:04] Production.ERROR: done
[2025-02-09 00:09:04] Production.INFO: ==28828== Releasing lock...
[2025-02-09 00:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:09:04] Production.INFO: Total Charge 0
[2025-02-09 00:09:04] Production.INFO: CreateAllLog End
[2025-02-09 00:09:04] Production.INFO: ==28820== Releasing lock...
[2025-02-09 00:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:09:04] Production.INFO: Account Balance End.
[2025-02-09 00:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:09:04] Production.INFO: ==28824== Releasing lock...
[2025-02-09 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:09:05
[end_date_ymd] => 2025-02-09 00:09:05
[RateCDR] => 1
)
[2025-02-09 00:09: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` >= '2025-02-08 21:09:05' and `end` < '2025-02-09 00:09: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 ,'')
[2025-02-09 00:09:11] Production.ERROR: CronJobId end10
[2025-02-09 00:09:11] Production.INFO: ==28822== Releasing lock...
[2025-02-09 00:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:09:14] Production.INFO: call_cost start
[2025-02-09 00:09:14] Production.INFO: call_cost end
[2025-02-09 00:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:09:15] Production.INFO: ==28818== Releasing lock...
[2025-02-09 00:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:09:27] Production.INFO: count ==480
[2025-02-09 00:09:28] Production.ERROR: pbx CDR StartTime 2025-02-08 21:09:05 - End Time 2025-02-09 00:09:05
[2025-02-09 00:09:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:09:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433286', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:09:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433286', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:09:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433286', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:09:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433286', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:09:28] Production.INFO: ProcessCDR(1,14433286,1,1,2)
[2025-02-09 00:09:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:09:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:09:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:09:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:09:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433286', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:09:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433286', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:09:32] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:09:32] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:09:32] Production.INFO: ==28826== Releasing lock...
[2025-02-09 00:09:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:09:32] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:10:01] Production.INFO: ==28893== Lock acquired, processing the job...
[2025-02-09 05:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:10:01] Production.INFO: neon service started
[2025-02-09 05:10:01] Production.INFO: neon service started
[2025-02-09 05:10:01] Production.INFO: ==28893== Releasing lock...
[2025-02-09 05:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:10:01] Production.INFO: ==28895== Lock acquired, processing the job...
[2025-02-09 00:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:10:01] Production.INFO: ==28897== Lock acquired, processing the job...
[2025-02-09 05:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:10:02] Production.INFO: ==28897== Releasing lock...
[2025-02-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:10:02] Production.INFO: ==28895== Releasing lock...
[2025-02-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:10:03] Production.INFO: ==28899== Lock acquired, processing the job...
[2025-02-09 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 00:10:03] Production.INFO: ==28901== Lock acquired, processing the job...
[2025-02-09 00:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:10:03] Production.INFO: ==28903== Lock acquired, processing the job...
[2025-02-09 00:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 00:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:10:03] Production.ERROR: CronJob PID - 28901
[2025-02-09 00:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 00:10:03] Production.ERROR: CronJob ID - 5
[2025-02-09 00:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 00:10:00
[2025-02-09 00:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:10:03] Production.ERROR: CronJob PID - 28903
[2025-02-09 00:10:03] Production.ERROR: CronJob Title - Account Block
[2025-02-09 00:10:03] Production.ERROR: CronJob ID - 7
[2025-02-09 00:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 00:10:00
[2025-02-09 00:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:10:03] Production.INFO: ==28912== Lock acquired, processing the job...
[2025-02-09 00:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 00:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 00:10:03] Production.INFO: ==28899== Releasing lock...
[2025-02-09 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 00:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 00:10:03] Production.INFO: ==28908== Lock acquired, processing the job...
[2025-02-09 00:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:10:03] Production.INFO: ==28906== Lock acquired, processing the job...
[2025-02-09 00:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:10:03] Production.INFO: ==28910== Lock acquired, processing the job...
[2025-02-09 00:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:10:03] Production.INFO: Account Balance Start.
[2025-02-09 00:10:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:10:03] Production.INFO: 117
[2025-02-09 00:10:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:10:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:10:03] Production.INFO: ==28903== Releasing lock...
[2025-02-09 00:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:10:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:10:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:10:03] Production.INFO: ==28914== Lock acquired, processing the job...
[2025-02-09 00:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:10:03] Production.INFO: Total Charge 0
[2025-02-09 00:10:03] Production.INFO: CreateAllLog End
[2025-02-09 00:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:10:03] Production.INFO: count ==21
[2025-02-09 00:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:10:03] Production.INFO: count ==21
[2025-02-09 00:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433290') start
[2025-02-09 00:10:03] Production.ERROR: done
[2025-02-09 00:10:03] Production.ERROR: done
[2025-02-09 00:10:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433290') end
[2025-02-09 00:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:10:04] Production.INFO: 1
[2025-02-09 00:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 00:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433291', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 00:10:04] Production.INFO: ==28914== Releasing lock...
[2025-02-09 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:10:04] Production.ERROR: done
[2025-02-09 00:10:04] Production.INFO: Account Balance End.
[2025-02-09 00:10:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:10:04] Production.INFO: ==28908== Releasing lock...
[2025-02-09 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:10:05
[end_date_ymd] => 2025-02-09 00:10:05
[RateCDR] => 1
)
[2025-02-09 00:10: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` >= '2025-02-08 21:10:05' and `end` < '2025-02-09 00:10: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 ,'')
[2025-02-09 00:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433291', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 00:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 00:10:07] Production.INFO: ProcessCDR(1,14433291,1,1,2)
[2025-02-09 00:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433291,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:10:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433291,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:10:07] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:10:07] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:10:07] Production.INFO: ==28912== Releasing lock...
[2025-02-09 00:10:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 00:10:07] Production.INFO: 26 MB #Memory Used#
[2025-02-09 00:10:12] Production.ERROR: CronJobId end10
[2025-02-09 00:10:12] Production.INFO: ==28906== Releasing lock...
[2025-02-09 00:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:10:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:10:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:10:15] Production.INFO: call_cost start
[2025-02-09 00:10:15] Production.INFO: call_cost end
[2025-02-09 00:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:10:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:10:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:10:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:10:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:10:15] Production.INFO: ==28901== Releasing lock...
[2025-02-09 00:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:10:19] Production.INFO: count ==476
[2025-02-09 00:10:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:10:05 - End Time 2025-02-09 00:10:05
[2025-02-09 00:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433292', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433292', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433292', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433292', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:10:19] Production.INFO: ProcessCDR(1,14433292,1,1,2)
[2025-02-09 00:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433292', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433292', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:10:23] Production.INFO: ==28910== Releasing lock...
[2025-02-09 00:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:10:23] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:11:01] Production.INFO: ==28973== Lock acquired, processing the job...
[2025-02-09 05:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:11:01] Production.INFO: neon service started
[2025-02-09 05:11:01] Production.INFO: neon service started
[2025-02-09 05:11:01] Production.INFO: ==28973== Releasing lock...
[2025-02-09 05:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:11:02] Production.INFO: ==28975== Lock acquired, processing the job...
[2025-02-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:11:02] Production.INFO: ==28975== Releasing lock...
[2025-02-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:11:02] Production.INFO: ==28977== Lock acquired, processing the job...
[2025-02-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:11:02] Production.INFO: ==28977== Releasing lock...
[2025-02-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:11:03] Production.INFO: ==28986== Lock acquired, processing the job...
[2025-02-09 00:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:11:03] Production.INFO: ==28988== Lock acquired, processing the job...
[2025-02-09 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:11:03] Production.INFO: Account Balance Start.
[2025-02-09 00:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:11:03] Production.INFO: 117
[2025-02-09 00:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:11:03] Production.INFO: ==28980== Lock acquired, processing the job...
[2025-02-09 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:11:03] Production.INFO: ==28982== Lock acquired, processing the job...
[2025-02-09 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:11:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:11:03] Production.INFO: Total Charge 0
[2025-02-09 00:11:03] Production.INFO: CreateAllLog End
[2025-02-09 00:11:03] Production.INFO: ==28984== Lock acquired, processing the job...
[2025-02-09 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:11:03] Production.INFO: ==28990== Lock acquired, processing the job...
[2025-02-09 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:11:03] Production.ERROR: done
[2025-02-09 00:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:11:03] Production.INFO: ==28982== Releasing lock...
[2025-02-09 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:11:03] Production.ERROR: done
[2025-02-09 00:11:03] Production.INFO: count ==21
[2025-02-09 00:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:11:03] Production.INFO: Account Balance End.
[2025-02-09 00:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:11:04] Production.INFO: ==28986== Releasing lock...
[2025-02-09 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:11:04] Production.INFO: count ==21
[2025-02-09 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433296') start
[2025-02-09 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433296') end
[2025-02-09 00:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:11:04] Production.INFO: 1
[2025-02-09 00:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:11:04] Production.INFO: ==28990== Releasing lock...
[2025-02-09 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:11:05
[end_date_ymd] => 2025-02-09 00:11:05
[RateCDR] => 1
)
[2025-02-09 00:11: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` >= '2025-02-08 21:11:05' and `end` < '2025-02-09 00:11: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 ,'')
[2025-02-09 00:11:11] Production.ERROR: CronJobId end10
[2025-02-09 00:11:11] Production.INFO: ==28984== Releasing lock...
[2025-02-09 00:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:11:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:11:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:11:14] Production.INFO: call_cost start
[2025-02-09 00:11:14] Production.INFO: call_cost end
[2025-02-09 00:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:11:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:11:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:11:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:11:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:11:15] Production.INFO: ==28980== Releasing lock...
[2025-02-09 00:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:11:47] Production.INFO: count ==520
[2025-02-09 00:11:47] Production.ERROR: pbx CDR StartTime 2025-02-08 21:11:05 - End Time 2025-02-09 00:11:05
[2025-02-09 00:11:47] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:11:47] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433297', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:11:47] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433297', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:11:47] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433297', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:11:47] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433297', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:11:47] Production.INFO: ProcessCDR(1,14433297,1,1,2)
[2025-02-09 00:11:47] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:11:48] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:11:48] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:11:50] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:11:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433297', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:11:50] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433297', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:11:50] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:11:50] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:11:50] Production.INFO: ==28988== Releasing lock...
[2025-02-09 00:11:50] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:11:50] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:12:02] Production.INFO: ==29048== Lock acquired, processing the job...
[2025-02-09 05:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:12:02] Production.INFO: neon service started
[2025-02-09 05:12:02] Production.INFO: neon service started
[2025-02-09 05:12:02] Production.INFO: ==29048== Releasing lock...
[2025-02-09 05:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:12:02] Production.INFO: ==29050== Lock acquired, processing the job...
[2025-02-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:12:02] Production.INFO: ==29052== Lock acquired, processing the job...
[2025-02-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:12:02] Production.INFO: ==29052== Releasing lock...
[2025-02-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:12:02] Production.INFO: ==29050== Releasing lock...
[2025-02-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:12:03] Production.INFO: ==29057== Lock acquired, processing the job...
[2025-02-09 00:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:12:03] Production.INFO: ==29055== Lock acquired, processing the job...
[2025-02-09 00:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:12:03] Production.INFO: ==29061== Lock acquired, processing the job...
[2025-02-09 00:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:12:03] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-02-09 00:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:12:04] Production.INFO: ==29063== Lock acquired, processing the job...
[2025-02-09 00:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:12:04] Production.INFO: ==29065== Lock acquired, processing the job...
[2025-02-09 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:12:04] Production.INFO: Account Balance Start.
[2025-02-09 00:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:12:04] Production.INFO: 117
[2025-02-09 00:12:04] Production.INFO: count ==21
[2025-02-09 00:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:12:04] Production.INFO: count ==21
[2025-02-09 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433301') start
[2025-02-09 00:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:12:04] Production.INFO: ==29057== Releasing lock...
[2025-02-09 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433301') end
[2025-02-09 00:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:12:04] Production.INFO: 1
[2025-02-09 00:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:12:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:12:04] Production.INFO: Total Charge 0
[2025-02-09 00:12:04] Production.INFO: CreateAllLog End
[2025-02-09 00:12:04] Production.INFO: ==29065== Releasing lock...
[2025-02-09 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:12:04] Production.ERROR: done
[2025-02-09 00:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:12:04] Production.ERROR: done
[2025-02-09 00:12:04] Production.INFO: Account Balance End.
[2025-02-09 00:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:12:04] Production.INFO: ==29061== Releasing lock...
[2025-02-09 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:12:05
[end_date_ymd] => 2025-02-09 00:12:05
[RateCDR] => 1
)
[2025-02-09 00:12: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` >= '2025-02-08 21:12:05' and `end` < '2025-02-09 00:12: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 ,'')
[2025-02-09 00:12:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-09 00:12:12] Production.ERROR: CronJobId end10
[2025-02-09 00:12:12] Production.INFO: ==29059== Releasing lock...
[2025-02-09 00:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:12:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:12:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:12:14] Production.INFO: call_cost start
[2025-02-09 00:12:14] Production.INFO: call_cost end
[2025-02-09 00:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:12:15] Production.INFO: ==29055== Releasing lock...
[2025-02-09 00:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:12:21] Production.INFO: count ==513
[2025-02-09 00:12:21] Production.ERROR: pbx CDR StartTime 2025-02-08 21:12:05 - End Time 2025-02-09 00:12:05
[2025-02-09 00:12:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433302', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433302', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433302', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433302', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:12:21] Production.INFO: ProcessCDR(1,14433302,1,1,2)
[2025-02-09 00:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433302', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433302', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:12:24] Production.INFO: ==29063== Releasing lock...
[2025-02-09 00:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:12:24] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:13:01] Production.INFO: ==29124== Lock acquired, processing the job...
[2025-02-09 05:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:13:01] Production.INFO: neon service started
[2025-02-09 05:13:01] Production.INFO: neon service started
[2025-02-09 05:13:01] Production.INFO: ==29124== Releasing lock...
[2025-02-09 05:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:13:01] Production.INFO: ==29128== Lock acquired, processing the job...
[2025-02-09 05:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:13:02] Production.INFO: ==29128== Releasing lock...
[2025-02-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:13:02] Production.INFO: ==29126== Lock acquired, processing the job...
[2025-02-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:13:02] Production.INFO: ==29126== Releasing lock...
[2025-02-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:13:03] Production.INFO: ==29131== Lock acquired, processing the job...
[2025-02-09 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:13:03] Production.INFO: ==29133== Lock acquired, processing the job...
[2025-02-09 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:13:03] Production.INFO: ==29139== Lock acquired, processing the job...
[2025-02-09 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:13:03] Production.INFO: ==29135== Lock acquired, processing the job...
[2025-02-09 00:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:13:03] Production.INFO: ==29137== Lock acquired, processing the job...
[2025-02-09 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:13:03] Production.INFO: ==29133== Releasing lock...
[2025-02-09 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:13:03] Production.INFO: ==29141== Lock acquired, processing the job...
[2025-02-09 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:13:03] Production.INFO: Account Balance Start.
[2025-02-09 00:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:13:03] Production.INFO: 117
[2025-02-09 00:13:03] Production.ERROR: done
[2025-02-09 00:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:13:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:13:03] Production.INFO: count ==21
[2025-02-09 00:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:13:03] Production.INFO: count ==21
[2025-02-09 00:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433306') start
[2025-02-09 00:13:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:13:03] Production.ERROR: done
[2025-02-09 00:13:03] Production.INFO: Total Charge 0
[2025-02-09 00:13:03] Production.INFO: CreateAllLog End
[2025-02-09 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433306') end
[2025-02-09 00:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:13:04] Production.INFO: 1
[2025-02-09 00:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:13:04] Production.INFO: ==29141== Releasing lock...
[2025-02-09 00:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:13:04] Production.INFO: Account Balance End.
[2025-02-09 00:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:13:04] Production.INFO: ==29137== Releasing lock...
[2025-02-09 00:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:13:04
[end_date_ymd] => 2025-02-09 00:13:04
[RateCDR] => 1
)
[2025-02-09 00:13:04] 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-02-08 21:13:04' and `end` < '2025-02-09 00:13:04'
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-02-09 00:13:11] Production.ERROR: CronJobId end10
[2025-02-09 00:13:11] Production.INFO: ==29135== Releasing lock...
[2025-02-09 00:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:13:14] Production.INFO: call_cost start
[2025-02-09 00:13:14] Production.INFO: call_cost end
[2025-02-09 00:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:13:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:13:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:13:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:13:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:13:15] Production.INFO: ==29131== Releasing lock...
[2025-02-09 00:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:13:19] Production.INFO: count ==506
[2025-02-09 00:13:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:13:04 - End Time 2025-02-09 00:13:04
[2025-02-09 00:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433307', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433307', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433307', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433307', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:13:19] Production.INFO: ProcessCDR(1,14433307,1,1,2)
[2025-02-09 00:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433307', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433307', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:13:22] Production.INFO: ==29139== Releasing lock...
[2025-02-09 00:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:13:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:14:02] Production.INFO: ==29198== Lock acquired, processing the job...
[2025-02-09 05:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:14:02] Production.INFO: neon service started
[2025-02-09 05:14:02] Production.INFO: neon service started
[2025-02-09 05:14:02] Production.INFO: ==29198== Releasing lock...
[2025-02-09 05:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:14:02] Production.INFO: ==29202== Lock acquired, processing the job...
[2025-02-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:14:02] Production.INFO: ==29202== Releasing lock...
[2025-02-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:14:02] Production.INFO: ==29200== Lock acquired, processing the job...
[2025-02-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:14:02] Production.INFO: ==29200== Releasing lock...
[2025-02-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:14:03] Production.INFO: ==29205== Lock acquired, processing the job...
[2025-02-09 00:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:14:03] Production.INFO: ==29209== Lock acquired, processing the job...
[2025-02-09 00:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:14:04] Production.INFO: ==29207== Lock acquired, processing the job...
[2025-02-09 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:14:04] Production.INFO: ==29211== Lock acquired, processing the job...
[2025-02-09 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:14:04] Production.INFO: ==29213== Lock acquired, processing the job...
[2025-02-09 00:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:14:04] Production.INFO: ==29215== Lock acquired, processing the job...
[2025-02-09 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:14:04] Production.INFO: Account Balance Start.
[2025-02-09 00:14:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:14:04] Production.INFO: 117
[2025-02-09 00:14:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:14:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:14:04] Production.INFO: count ==21
[2025-02-09 00:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:14:04] Production.INFO: count ==21
[2025-02-09 00:14:04] Production.INFO: Total Charge 0
[2025-02-09 00:14:04] Production.INFO: ==29207== Releasing lock...
[2025-02-09 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433310') start
[2025-02-09 00:14:04] Production.INFO: CreateAllLog End
[2025-02-09 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433310') end
[2025-02-09 00:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:14:04] Production.INFO: 1
[2025-02-09 00:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:14:04] Production.INFO: ==29215== Releasing lock...
[2025-02-09 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:14:04] Production.ERROR: done
[2025-02-09 00:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:14:04] Production.ERROR: done
[2025-02-09 00:14:04] Production.INFO: Account Balance End.
[2025-02-09 00:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:14:04] Production.INFO: ==29211== Releasing lock...
[2025-02-09 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:14:05
[end_date_ymd] => 2025-02-09 00:14:05
[RateCDR] => 1
)
[2025-02-09 00:14: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` >= '2025-02-08 21:14:05' and `end` < '2025-02-09 00:14: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 ,'')
[2025-02-09 00:14:12] Production.ERROR: CronJobId end10
[2025-02-09 00:14:12] Production.INFO: ==29209== Releasing lock...
[2025-02-09 00:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:14:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:14:14] Production.INFO: call_cost start
[2025-02-09 00:14:14] Production.INFO: call_cost end
[2025-02-09 00:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:14:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:14:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:14:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:14:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:14:15] Production.INFO: ==29205== Releasing lock...
[2025-02-09 00:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:14:18] Production.INFO: count ==509
[2025-02-09 00:14:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:14:05 - End Time 2025-02-09 00:14:05
[2025-02-09 00:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433312', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433312', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433312', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433312', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:14:18] Production.INFO: ProcessCDR(1,14433312,1,1,2)
[2025-02-09 00:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433312', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433312', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:14:22] Production.INFO: ==29213== Releasing lock...
[2025-02-09 00:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:14:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:15:01] Production.INFO: ==29273== Lock acquired, processing the job...
[2025-02-09 05:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:15:01] Production.INFO: neon service started
[2025-02-09 05:15:01] Production.INFO: neon service started
[2025-02-09 05:15:01] Production.INFO: ==29273== Releasing lock...
[2025-02-09 05:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:15:02] Production.INFO: ==29275== Lock acquired, processing the job...
[2025-02-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:15:02] Production.INFO: ==29275== Releasing lock...
[2025-02-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:15:02] Production.INFO: ==29277== Lock acquired, processing the job...
[2025-02-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:15:02] Production.INFO: ==29277== Releasing lock...
[2025-02-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:15:03] Production.INFO: ==29290== Lock acquired, processing the job...
[2025-02-09 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:15:03] Production.INFO: ==29286== Lock acquired, processing the job...
[2025-02-09 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:15:03] Production.INFO: Account Balance Start.
[2025-02-09 00:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:15:03] Production.INFO: 117
[2025-02-09 00:15:03] Production.INFO: ==29280== Lock acquired, processing the job...
[2025-02-09 00:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:15:03] Production.INFO: count ==21
[2025-02-09 00:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:15:03] Production.INFO: count ==21
[2025-02-09 00:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:15:03] Production.INFO: ==29282== Lock acquired, processing the job...
[2025-02-09 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433313') start
[2025-02-09 00:15:03] Production.INFO: ==29284== Lock acquired, processing the job...
[2025-02-09 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:15:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:15:03] Production.INFO: Total Charge 0
[2025-02-09 00:15:03] Production.INFO: ==29288== Lock acquired, processing the job...
[2025-02-09 00:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:15:03] Production.INFO: CreateAllLog End
[2025-02-09 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433313') end
[2025-02-09 00:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:15:03] Production.INFO: 1
[2025-02-09 00:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:15:03] Production.INFO: ==29290== Releasing lock...
[2025-02-09 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:15:04] Production.INFO: ==29282== Releasing lock...
[2025-02-09 00:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:15:04] Production.ERROR: done
[2025-02-09 00:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:15:04] Production.INFO: Account Balance End.
[2025-02-09 00:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:15:04] Production.INFO: ==29286== Releasing lock...
[2025-02-09 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:15:04] Production.ERROR: done
[2025-02-09 00:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:15:05
[end_date_ymd] => 2025-02-09 00:15:05
[RateCDR] => 1
)
[2025-02-09 00:15: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` >= '2025-02-08 21:15:05' and `end` < '2025-02-09 00:15: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 ,'')
[2025-02-09 00:15:11] Production.ERROR: CronJobId end10
[2025-02-09 00:15:11] Production.INFO: ==29284== Releasing lock...
[2025-02-09 00:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:15:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:15:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:15:14] Production.INFO: call_cost start
[2025-02-09 00:15:14] Production.INFO: call_cost end
[2025-02-09 00:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:15:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:15:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:15:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:15:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:15:14] Production.INFO: ==29280== Releasing lock...
[2025-02-09 00:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:15:18] Production.INFO: count ==509
[2025-02-09 00:15:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:15:05 - End Time 2025-02-09 00:15:05
[2025-02-09 00:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433317', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433317', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433317', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433317', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:15:18] Production.INFO: ProcessCDR(1,14433317,1,1,2)
[2025-02-09 00:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433317', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433317', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:15:21] Production.INFO: ==29288== Releasing lock...
[2025-02-09 00:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:15:21] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:16:02] Production.INFO: ==29348== Lock acquired, processing the job...
[2025-02-09 05:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:16:02] Production.INFO: neon service started
[2025-02-09 05:16:02] Production.INFO: neon service started
[2025-02-09 05:16:02] Production.INFO: ==29348== Releasing lock...
[2025-02-09 05:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:16:02] Production.INFO: ==29350== Lock acquired, processing the job...
[2025-02-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:16:02] Production.INFO: ==29350== Releasing lock...
[2025-02-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:16:02] Production.INFO: ==29352== Lock acquired, processing the job...
[2025-02-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:16:03] Production.INFO: ==29352== Releasing lock...
[2025-02-09 05:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:16:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:16:03] Production.INFO: ==29360== Lock acquired, processing the job...
[2025-02-09 00:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:16:03] Production.INFO: ==29365== Lock acquired, processing the job...
[2025-02-09 00:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:16:03] Production.INFO: Account Balance Start.
[2025-02-09 00:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:16:03] Production.INFO: 117
[2025-02-09 00:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:16:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:16:04] Production.INFO: Total Charge 0
[2025-02-09 00:16:04] Production.INFO: ==29354== Lock acquired, processing the job...
[2025-02-09 00:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:16:04] Production.INFO: CreateAllLog End
[2025-02-09 00:16:04] Production.INFO: ==29356== Lock acquired, processing the job...
[2025-02-09 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:16:04] Production.INFO: ==29358== Lock acquired, processing the job...
[2025-02-09 00:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:16:04] Production.INFO: count ==21
[2025-02-09 00:16:04] Production.INFO: ==29362== Lock acquired, processing the job...
[2025-02-09 00:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:16:04] Production.INFO: Account Balance End.
[2025-02-09 00:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:16:04] Production.INFO: count ==21
[2025-02-09 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433319') start
[2025-02-09 00:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:16:04] Production.INFO: ==29360== Releasing lock...
[2025-02-09 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433319') end
[2025-02-09 00:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:16:04] Production.INFO: 1
[2025-02-09 00:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:16:04] Production.INFO: ==29365== Releasing lock...
[2025-02-09 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:16:04] Production.INFO: ==29356== Releasing lock...
[2025-02-09 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:16:04] Production.ERROR: done
[2025-02-09 00:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:16:05] Production.ERROR: done
[2025-02-09 00:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:16:06
[end_date_ymd] => 2025-02-09 00:16:06
[RateCDR] => 1
)
[2025-02-09 00:16: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-02-08 21:16:06' and `end` < '2025-02-09 00:16: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-02-09 00:16:12] Production.ERROR: CronJobId end10
[2025-02-09 00:16:12] Production.INFO: ==29358== Releasing lock...
[2025-02-09 00:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:16:14] Production.INFO: call_cost start
[2025-02-09 00:16:14] Production.INFO: call_cost end
[2025-02-09 00:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:16:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:16:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:16:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:16:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:16:15] Production.INFO: ==29354== Releasing lock...
[2025-02-09 00:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:16:19] Production.INFO: count ==512
[2025-02-09 00:16:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:16:06 - End Time 2025-02-09 00:16:06
[2025-02-09 00:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433322', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433322', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433322', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433322', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:16:19] Production.INFO: ProcessCDR(1,14433322,1,1,2)
[2025-02-09 00:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433322', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433322', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:16:23] Production.INFO: ==29362== Releasing lock...
[2025-02-09 00:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:16:23] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:17:01] Production.INFO: ==29422== Lock acquired, processing the job...
[2025-02-09 05:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:17:01] Production.INFO: neon service started
[2025-02-09 05:17:01] Production.INFO: neon service started
[2025-02-09 05:17:01] Production.INFO: ==29422== Releasing lock...
[2025-02-09 05:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:17:01] Production.INFO: ==29426== Lock acquired, processing the job...
[2025-02-09 05:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:17:01] Production.INFO: ==29426== Releasing lock...
[2025-02-09 05:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:17:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:17:02] Production.INFO: ==29424== Lock acquired, processing the job...
[2025-02-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:17:02] Production.INFO: ==29424== Releasing lock...
[2025-02-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:17:03] Production.INFO: ==29428== Lock acquired, processing the job...
[2025-02-09 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:17:03] Production.INFO: ==29430== Lock acquired, processing the job...
[2025-02-09 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:17:03] Production.INFO: ==29432== Lock acquired, processing the job...
[2025-02-09 00:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:17:03] Production.INFO: ==29434== Lock acquired, processing the job...
[2025-02-09 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:17:03] Production.INFO: ==29439== Lock acquired, processing the job...
[2025-02-09 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:17:03] Production.INFO: ==29436== Lock acquired, processing the job...
[2025-02-09 00:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:17:03] Production.INFO: Account Balance Start.
[2025-02-09 00:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:17:03] Production.INFO: 117
[2025-02-09 00:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:17:03] Production.INFO: ==29430== Releasing lock...
[2025-02-09 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:17:03] Production.INFO: count ==21
[2025-02-09 00:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:17:03] Production.INFO: count ==21
[2025-02-09 00:17:03] Production.INFO: Total Charge 0
[2025-02-09 00:17:03] Production.INFO: CreateAllLog End
[2025-02-09 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433326') start
[2025-02-09 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433326') end
[2025-02-09 00:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:17:03] Production.INFO: 1
[2025-02-09 00:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:17:03] Production.INFO: ==29439== Releasing lock...
[2025-02-09 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:17:03] Production.ERROR: done
[2025-02-09 00:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:17:03] Production.INFO: Account Balance End.
[2025-02-09 00:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:17:04] Production.INFO: ==29434== Releasing lock...
[2025-02-09 00:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:17:04] Production.ERROR: done
[2025-02-09 00:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:17:04
[end_date_ymd] => 2025-02-09 00:17:04
[RateCDR] => 1
)
[2025-02-09 00:17:04] 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-02-08 21:17:04' and `end` < '2025-02-09 00:17:04'
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-02-09 00:17:11] Production.ERROR: CronJobId end10
[2025-02-09 00:17:11] Production.INFO: ==29432== Releasing lock...
[2025-02-09 00:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:17:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:17:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:17:14] Production.INFO: call_cost start
[2025-02-09 00:17:14] Production.INFO: call_cost end
[2025-02-09 00:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:17:15] Production.INFO: ==29428== Releasing lock...
[2025-02-09 00:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:17:17] Production.INFO: count ==510
[2025-02-09 00:17:17] Production.ERROR: pbx CDR StartTime 2025-02-08 21:17:04 - End Time 2025-02-09 00:17:04
[2025-02-09 00:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433327', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433327', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433327', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433327', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:17:18] Production.INFO: ProcessCDR(1,14433327,1,1,2)
[2025-02-09 00:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433327', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433327', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:17:21] Production.INFO: ==29436== Releasing lock...
[2025-02-09 00:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:17:21] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:18:01] Production.INFO: ==29512== Lock acquired, processing the job...
[2025-02-09 05:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:18:01] Production.INFO: neon service started
[2025-02-09 05:18:01] Production.INFO: neon service started
[2025-02-09 05:18:01] Production.INFO: ==29512== Releasing lock...
[2025-02-09 05:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:18:02] Production.INFO: ==29514== Lock acquired, processing the job...
[2025-02-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:18:02] Production.INFO: ==29516== Lock acquired, processing the job...
[2025-02-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:18:02] Production.INFO: ==29516== Releasing lock...
[2025-02-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:18:02] Production.INFO: ==29514== Releasing lock...
[2025-02-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:18:03] Production.INFO: ==29525== Lock acquired, processing the job...
[2025-02-09 00:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:18:03] Production.INFO: Account Balance Start.
[2025-02-09 00:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:18:03] Production.INFO: 117
[2025-02-09 00:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:18:03] Production.INFO: ==29529== Lock acquired, processing the job...
[2025-02-09 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:18:03] Production.INFO: Total Charge 0
[2025-02-09 00:18:03] Production.INFO: CreateAllLog End
[2025-02-09 00:18:04] Production.INFO: ==29519== Lock acquired, processing the job...
[2025-02-09 00:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:18:04] Production.INFO: ==29521== Lock acquired, processing the job...
[2025-02-09 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:18:04] Production.INFO: count ==21
[2025-02-09 00:18:04] Production.INFO: ==29527== Lock acquired, processing the job...
[2025-02-09 00:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:18:04] Production.INFO: ==29523== Lock acquired, processing the job...
[2025-02-09 00:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:18:04] Production.INFO: Account Balance End.
[2025-02-09 00:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:18:04] Production.INFO: count ==21
[2025-02-09 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433329') start
[2025-02-09 00:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:18:04] Production.INFO: ==29525== Releasing lock...
[2025-02-09 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433329') end
[2025-02-09 00:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:18:04] Production.INFO: 1
[2025-02-09 00:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:18:04] Production.INFO: ==29529== Releasing lock...
[2025-02-09 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:18:04] Production.INFO: ==29521== Releasing lock...
[2025-02-09 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:18:04] Production.ERROR: done
[2025-02-09 00:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:18:04] Production.ERROR: done
[2025-02-09 00:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:18:05
[end_date_ymd] => 2025-02-09 00:18:05
[RateCDR] => 1
)
[2025-02-09 00:18: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` >= '2025-02-08 21:18:05' and `end` < '2025-02-09 00:18: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 ,'')
[2025-02-09 00:18:12] Production.ERROR: CronJobId end10
[2025-02-09 00:18:12] Production.INFO: ==29523== Releasing lock...
[2025-02-09 00:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:18:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:18:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:18:15] Production.INFO: call_cost start
[2025-02-09 00:18:15] Production.INFO: call_cost end
[2025-02-09 00:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:18:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:18:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:18:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:18:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:18:16] Production.INFO: ==29519== Releasing lock...
[2025-02-09 00:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:18:19] Production.INFO: count ==510
[2025-02-09 00:18:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:18:05 - End Time 2025-02-09 00:18:05
[2025-02-09 00:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433332', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433332', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433332', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433332', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:18:19] Production.INFO: ProcessCDR(1,14433332,1,1,2)
[2025-02-09 00:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433332', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433332', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:18:22] Production.INFO: ==29527== Releasing lock...
[2025-02-09 00:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:18:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:19:01] Production.INFO: ==29585== Lock acquired, processing the job...
[2025-02-09 05:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:19:01] Production.INFO: neon service started
[2025-02-09 05:19:01] Production.INFO: neon service started
[2025-02-09 05:19:01] Production.INFO: ==29585== Releasing lock...
[2025-02-09 05:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:19:01] Production.INFO: ==29587== Lock acquired, processing the job...
[2025-02-09 00:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:19:02] Production.INFO: ==29587== Releasing lock...
[2025-02-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:19:02] Production.INFO: ==29589== Lock acquired, processing the job...
[2025-02-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:19:02] Production.INFO: ==29589== Releasing lock...
[2025-02-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:19:03] Production.INFO: ==29599== Lock acquired, processing the job...
[2025-02-09 00:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:19:03] Production.INFO: ==29602== Lock acquired, processing the job...
[2025-02-09 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:19:03] Production.INFO: ==29591== Lock acquired, processing the job...
[2025-02-09 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:19:03] Production.INFO: ==29593== Lock acquired, processing the job...
[2025-02-09 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:19:03] Production.INFO: ==29595== Lock acquired, processing the job...
[2025-02-09 00:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:19:03] Production.INFO: count ==21
[2025-02-09 00:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:19:03] Production.INFO: ==29597== Lock acquired, processing the job...
[2025-02-09 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:19:03] Production.INFO: count ==21
[2025-02-09 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433333') start
[2025-02-09 00:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:19:03] Production.INFO: Account Balance Start.
[2025-02-09 00:19:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:19:03] Production.INFO: 117
[2025-02-09 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433333') end
[2025-02-09 00:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:19:03] Production.INFO: 1
[2025-02-09 00:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:19:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:19:03] Production.ERROR: done
[2025-02-09 00:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:19:03] Production.INFO: ==29602== Releasing lock...
[2025-02-09 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:19:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:19:03] Production.INFO: Total Charge 0
[2025-02-09 00:19:03] Production.INFO: CreateAllLog End
[2025-02-09 00:19:03] Production.ERROR: done
[2025-02-09 00:19:03] Production.INFO: ==29593== Releasing lock...
[2025-02-09 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:19:03] Production.INFO: Account Balance End.
[2025-02-09 00:19:03] Production.ERROR: CronJobId end 12
[2025-02-09 00:19:03] Production.INFO: ==29597== Releasing lock...
[2025-02-09 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:19:04
[end_date_ymd] => 2025-02-09 00:19:04
[RateCDR] => 1
)
[2025-02-09 00:19:04] 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-02-08 21:19:04' and `end` < '2025-02-09 00:19:04'
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-02-09 00:19:10] Production.ERROR: CronJobId end10
[2025-02-09 00:19:10] Production.INFO: ==29595== Releasing lock...
[2025-02-09 00:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:19:14] Production.INFO: call_cost start
[2025-02-09 00:19:14] Production.INFO: call_cost end
[2025-02-09 00:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:19:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:19:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:19:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:19:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:19:15] Production.INFO: ==29591== Releasing lock...
[2025-02-09 00:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:19:18] Production.INFO: count ==502
[2025-02-09 00:19:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:19:04 - End Time 2025-02-09 00:19:04
[2025-02-09 00:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433337', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433337', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433337', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433337', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:19:18] Production.INFO: ProcessCDR(1,14433337,1,1,2)
[2025-02-09 00:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433337', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433337', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:19:21] Production.INFO: ==29599== Releasing lock...
[2025-02-09 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:19:21] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:20:01] Production.INFO: ==29716== Lock acquired, processing the job...
[2025-02-09 05:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:20:01] Production.INFO: neon service started
[2025-02-09 05:20:01] Production.INFO: neon service started
[2025-02-09 05:20:01] Production.INFO: ==29716== Releasing lock...
[2025-02-09 05:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:20:02] Production.INFO: ==29718== Lock acquired, processing the job...
[2025-02-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:20:02] Production.INFO: ==29718== Releasing lock...
[2025-02-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:20:02] Production.INFO: ==29720== Lock acquired, processing the job...
[2025-02-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:20:02] Production.INFO: ==29720== Releasing lock...
[2025-02-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:20:02] Production.INFO: 26 MB #Memory Used#
[2025-02-09 00:20:03] Production.INFO: ==29731== Lock acquired, processing the job...
[2025-02-09 00:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:20:03] Production.INFO: ==29733== Lock acquired, processing the job...
[2025-02-09 00:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:20:03] Production.INFO: ==29722== Lock acquired, processing the job...
[2025-02-09 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 00:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:20:03] Production.INFO: ==29735== Lock acquired, processing the job...
[2025-02-09 00:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 00:20:03] Production.INFO: ==29724== Lock acquired, processing the job...
[2025-02-09 00:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:20:03] Production.INFO: Account Balance Start.
[2025-02-09 00:20:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:20:03] Production.INFO: 117
[2025-02-09 00:20:03] Production.INFO: ==29726== Lock acquired, processing the job...
[2025-02-09 00:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 00:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:20:03] Production.ERROR: CronJob PID - 29731
[2025-02-09 00:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 00:20:03] Production.ERROR: CronJob ID - 12
[2025-02-09 00:20:03] Production.ERROR: CronJob Last Run Time 2025-02-09 00:20:00
[2025-02-09 00:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:20:03] Production.ERROR: CronJob PID - 29733
[2025-02-09 00:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 00:20:03] Production.ERROR: CronJob ID - 16
[2025-02-09 00:20:03] Production.ERROR: CronJob Last Run Time 2025-02-09 00:20:00
[2025-02-09 00:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:20:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:20:03] Production.INFO: ==29729== Lock acquired, processing the job...
[2025-02-09 00:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:20:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:20:03] Production.INFO: ==29737== Lock acquired, processing the job...
[2025-02-09 00:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:20:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:20:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 00:20:03] Production.INFO: ==29722== Releasing lock...
[2025-02-09 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 00:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 00:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:20:04] Production.INFO: Total Charge 0
[2025-02-09 00:20:04] Production.INFO: CreateAllLog End
[2025-02-09 00:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:20:04] Production.INFO: count ==21
[2025-02-09 00:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:20:04] Production.INFO: count ==21
[2025-02-09 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433339') start
[2025-02-09 00:20:04] Production.ERROR: done
[2025-02-09 00:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433339') end
[2025-02-09 00:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:20:04] Production.INFO: 1
[2025-02-09 00:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:20:04] Production.INFO: ==29737== Releasing lock...
[2025-02-09 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:20:04] Production.ERROR: done
[2025-02-09 00:20:04] Production.ERROR: done
[2025-02-09 00:20:04] Production.INFO: ==29726== Releasing lock...
[2025-02-09 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 00:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433343', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 00:20:04] Production.INFO: Account Balance End.
[2025-02-09 00:20:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:20:04] Production.INFO: ==29731== Releasing lock...
[2025-02-09 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:20:05
[end_date_ymd] => 2025-02-09 00:20:05
[RateCDR] => 1
)
[2025-02-09 00:20: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` >= '2025-02-08 21:20:05' and `end` < '2025-02-09 00:20: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 ,'')
[2025-02-09 00:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433343', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 00:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 00:20:08] Production.INFO: ProcessCDR(1,14433343,1,1,2)
[2025-02-09 00:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:20:09] Production.INFO: ==29735== Releasing lock...
[2025-02-09 00:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 00:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 00:20:13] Production.ERROR: CronJobId end10
[2025-02-09 00:20:13] Production.INFO: ==29729== Releasing lock...
[2025-02-09 00:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:20:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:20:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:20:15] Production.INFO: call_cost start
[2025-02-09 00:20:15] Production.INFO: call_cost end
[2025-02-09 00:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:20:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:20:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:20:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:20:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:20:16] Production.INFO: ==29724== Releasing lock...
[2025-02-09 00:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:20:18] Production.INFO: count ==509
[2025-02-09 00:20:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:20:05 - End Time 2025-02-09 00:20:05
[2025-02-09 00:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433342', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433342', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433342', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433342', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:20:18] Production.INFO: ProcessCDR(1,14433342,1,1,2)
[2025-02-09 00:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433342', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433342', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:20:21] Production.INFO: ==29733== Releasing lock...
[2025-02-09 00:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:20:21] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:21:02] Production.INFO: ==29796== Lock acquired, processing the job...
[2025-02-09 05:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:21:02] Production.INFO: neon service started
[2025-02-09 05:21:02] Production.INFO: neon service started
[2025-02-09 05:21:02] Production.INFO: ==29796== Releasing lock...
[2025-02-09 05:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:21:02] Production.INFO: ==29800== Lock acquired, processing the job...
[2025-02-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:21:02] Production.INFO: ==29800== Releasing lock...
[2025-02-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:21:02] Production.INFO: ==29798== Lock acquired, processing the job...
[2025-02-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:21:02] Production.INFO: ==29798== Releasing lock...
[2025-02-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:21:03] Production.INFO: ==29802== Lock acquired, processing the job...
[2025-02-09 00:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:21:03] Production.INFO: ==29804== Lock acquired, processing the job...
[2025-02-09 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:21:03] Production.INFO: ==29806== Lock acquired, processing the job...
[2025-02-09 00:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:21:03] Production.INFO: ==29810== Lock acquired, processing the job...
[2025-02-09 00:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:21:04] Production.INFO: ==29808== Lock acquired, processing the job...
[2025-02-09 00:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:21:04] Production.INFO: ==29812== Lock acquired, processing the job...
[2025-02-09 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:21:04] Production.INFO: ==29804== Releasing lock...
[2025-02-09 00:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:21:04] Production.INFO: Account Balance Start.
[2025-02-09 00:21:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:21:04] Production.INFO: 117
[2025-02-09 00:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:21:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:21:04] Production.INFO: count ==21
[2025-02-09 00:21:04] Production.ERROR: done
[2025-02-09 00:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:21:04] Production.INFO: count ==21
[2025-02-09 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433347') start
[2025-02-09 00:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433347') end
[2025-02-09 00:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:21:04] Production.INFO: 1
[2025-02-09 00:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:21:04] Production.INFO: Total Charge 0
[2025-02-09 00:21:04] Production.INFO: CreateAllLog End
[2025-02-09 00:21:04] Production.ERROR: done
[2025-02-09 00:21:04] Production.INFO: ==29812== Releasing lock...
[2025-02-09 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:21:04] Production.INFO: Account Balance End.
[2025-02-09 00:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:21:04] Production.INFO: ==29808== Releasing lock...
[2025-02-09 00:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:21:05
[end_date_ymd] => 2025-02-09 00:21:05
[RateCDR] => 1
)
[2025-02-09 00:21: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` >= '2025-02-08 21:21:05' and `end` < '2025-02-09 00:21: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 ,'')
[2025-02-09 00:21:11] Production.ERROR: CronJobId end10
[2025-02-09 00:21:11] Production.INFO: ==29806== Releasing lock...
[2025-02-09 00:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:21:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:21:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:21:13] Production.INFO: call_cost start
[2025-02-09 00:21:13] Production.INFO: call_cost end
[2025-02-09 00:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:21:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:21:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:21:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:21:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:21:14] Production.INFO: ==29802== Releasing lock...
[2025-02-09 00:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:21:18] Production.INFO: count ==528
[2025-02-09 00:21:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:21:05 - End Time 2025-02-09 00:21:05
[2025-02-09 00:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433348', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433348', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433348', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433348', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:21:19] Production.INFO: ProcessCDR(1,14433348,1,1,2)
[2025-02-09 00:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433348', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433348', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:21:22] Production.INFO: ==29810== Releasing lock...
[2025-02-09 00:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:21:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:22:01] Production.INFO: ==29874== Lock acquired, processing the job...
[2025-02-09 05:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:22:01] Production.INFO: neon service started
[2025-02-09 05:22:01] Production.INFO: neon service started
[2025-02-09 05:22:01] Production.INFO: ==29874== Releasing lock...
[2025-02-09 05:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:22:02] Production.INFO: ==29878== Lock acquired, processing the job...
[2025-02-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:22:02] Production.INFO: ==29878== Releasing lock...
[2025-02-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:22:02] Production.INFO: ==29876== Lock acquired, processing the job...
[2025-02-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:22:02] Production.INFO: ==29876== Releasing lock...
[2025-02-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:22:03] Production.INFO: ==29883== Lock acquired, processing the job...
[2025-02-09 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:22:03] Production.INFO: ==29881== Lock acquired, processing the job...
[2025-02-09 00:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:22:03] Production.INFO: ==29887== Lock acquired, processing the job...
[2025-02-09 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:22:03] Production.INFO: Account Balance Start.
[2025-02-09 00:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:22:03] Production.INFO: 117
[2025-02-09 00:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:22:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:22:03] Production.INFO: ==29883== Releasing lock...
[2025-02-09 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:22:03] Production.INFO: Total Charge 0
[2025-02-09 00:22:03] Production.INFO: ==29885== Lock acquired, processing the job...
[2025-02-09 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:22:03] Production.INFO: CreateAllLog End
[2025-02-09 00:22:03] Production.INFO: ==29891== Lock acquired, processing the job...
[2025-02-09 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:22:03] Production.INFO: Account Balance End.
[2025-02-09 00:22:03] Production.ERROR: CronJobId end 12
[2025-02-09 00:22:03] Production.INFO: ==29887== Releasing lock...
[2025-02-09 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:22:03] Production.INFO: ==29889== Lock acquired, processing the job...
[2025-02-09 00:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:22:03] Production.INFO: count ==21
[2025-02-09 00:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:22:03] Production.INFO: count ==21
[2025-02-09 00:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433352') start
[2025-02-09 00:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433352') end
[2025-02-09 00:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:22:03] Production.INFO: 1
[2025-02-09 00:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:22:03] Production.INFO: ==29891== Releasing lock...
[2025-02-09 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:22:04] Production.ERROR: done
[2025-02-09 00:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:22:04] Production.ERROR: done
[2025-02-09 00:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:22:05
[end_date_ymd] => 2025-02-09 00:22:05
[RateCDR] => 1
)
[2025-02-09 00:22: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` >= '2025-02-08 21:22:05' and `end` < '2025-02-09 00:22: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 ,'')
[2025-02-09 00:22:10] Production.ERROR: CronJobId end10
[2025-02-09 00:22:10] Production.INFO: ==29885== Releasing lock...
[2025-02-09 00:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:22:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:22:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:22:13] Production.INFO: call_cost start
[2025-02-09 00:22:13] Production.INFO: call_cost end
[2025-02-09 00:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:22:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:22:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:22:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:22:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:22:14] Production.INFO: ==29881== Releasing lock...
[2025-02-09 00:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:22:18] Production.INFO: count ==527
[2025-02-09 00:22:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:22:05 - End Time 2025-02-09 00:22:05
[2025-02-09 00:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433353', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433353', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433353', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433353', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:22:18] Production.INFO: ProcessCDR(1,14433353,1,1,2)
[2025-02-09 00:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433353', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433353', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:22:21] Production.INFO: ==29889== Releasing lock...
[2025-02-09 00:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:22:21] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:23:02] Production.INFO: ==29960== Lock acquired, processing the job...
[2025-02-09 05:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:23:02] Production.INFO: neon service started
[2025-02-09 05:23:02] Production.INFO: neon service started
[2025-02-09 05:23:02] Production.INFO: ==29960== Releasing lock...
[2025-02-09 05:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:23:02] Production.INFO: ==29962== Lock acquired, processing the job...
[2025-02-09 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:23:02] Production.INFO: ==29964== Lock acquired, processing the job...
[2025-02-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:23:02] Production.INFO: ==29962== Releasing lock...
[2025-02-09 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:23:02] Production.INFO: ==29964== Releasing lock...
[2025-02-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:23:03] Production.INFO: ==29971== Lock acquired, processing the job...
[2025-02-09 00:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:23:03] Production.INFO: ==29975== Lock acquired, processing the job...
[2025-02-09 00:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:23:03] Production.INFO: ==29967== Lock acquired, processing the job...
[2025-02-09 00:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:23:03] Production.INFO: ==29969== Lock acquired, processing the job...
[2025-02-09 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:23:03] Production.INFO: ==29973== Lock acquired, processing the job...
[2025-02-09 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:23:03] Production.INFO: ==29977== Lock acquired, processing the job...
[2025-02-09 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:23:03] Production.ERROR: done
[2025-02-09 00:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:23:04] Production.INFO: Account Balance Start.
[2025-02-09 00:23:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:23:04] Production.INFO: 117
[2025-02-09 00:23:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:23:04] Production.INFO: count ==21
[2025-02-09 00:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:23:04] Production.INFO: count ==21
[2025-02-09 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433356') start
[2025-02-09 00:23:04] Production.ERROR: done
[2025-02-09 00:23:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:23:04] Production.INFO: Total Charge 0
[2025-02-09 00:23:04] Production.INFO: CreateAllLog End
[2025-02-09 00:23:04] Production.INFO: ==29969== Releasing lock...
[2025-02-09 00:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433356') end
[2025-02-09 00:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:23:04] Production.INFO: 1
[2025-02-09 00:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:23:04] Production.INFO: Account Balance End.
[2025-02-09 00:23:04] Production.INFO: ==29977== Releasing lock...
[2025-02-09 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:23:04] Production.INFO: ==29973== Releasing lock...
[2025-02-09 00:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:23:05
[end_date_ymd] => 2025-02-09 00:23:05
[RateCDR] => 1
)
[2025-02-09 00:23: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` >= '2025-02-08 21:23:05' and `end` < '2025-02-09 00:23: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 ,'')
[2025-02-09 00:23:11] Production.ERROR: CronJobId end10
[2025-02-09 00:23:11] Production.INFO: ==29971== Releasing lock...
[2025-02-09 00:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:23:13] Production.INFO: call_cost start
[2025-02-09 00:23:13] Production.INFO: call_cost end
[2025-02-09 00:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:23:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:23:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:23:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:23:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:23:14] Production.INFO: ==29967== Releasing lock...
[2025-02-09 00:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:23:18] Production.INFO: count ==518
[2025-02-09 00:23:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:23:05 - End Time 2025-02-09 00:23:05
[2025-02-09 00:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433358', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433358', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433358', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433358', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:23:18] Production.INFO: ProcessCDR(1,14433358,1,1,2)
[2025-02-09 00:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433358', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433358', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:23:21] Production.INFO: ==29975== Releasing lock...
[2025-02-09 00:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:23:21] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:24:01] Production.INFO: ==30043== Lock acquired, processing the job...
[2025-02-09 05:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:24:01] Production.INFO: neon service started
[2025-02-09 05:24:01] Production.INFO: neon service started
[2025-02-09 05:24:01] Production.INFO: ==30043== Releasing lock...
[2025-02-09 05:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:24:01] Production.INFO: ==30045== Lock acquired, processing the job...
[2025-02-09 00:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:24:02] Production.INFO: ==30045== Releasing lock...
[2025-02-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:24:02] Production.INFO: ==30047== Lock acquired, processing the job...
[2025-02-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:24:02] Production.INFO: ==30047== Releasing lock...
[2025-02-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:24:03] Production.INFO: ==30051== Lock acquired, processing the job...
[2025-02-09 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:24:03] Production.INFO: ==30049== Lock acquired, processing the job...
[2025-02-09 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:24:03] Production.INFO: ==30053== Lock acquired, processing the job...
[2025-02-09 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:24:03] Production.INFO: ==30055== Lock acquired, processing the job...
[2025-02-09 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:24:03] Production.INFO: ==30057== Lock acquired, processing the job...
[2025-02-09 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:24:03] Production.INFO: ==30059== Lock acquired, processing the job...
[2025-02-09 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:24:03] Production.INFO: Account Balance Start.
[2025-02-09 00:24:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:24:03] Production.INFO: 117
[2025-02-09 00:24:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:24:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:24:03] Production.INFO: count ==21
[2025-02-09 00:24:03] Production.INFO: Total Charge 0
[2025-02-09 00:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:24:03] Production.INFO: CreateAllLog End
[2025-02-09 00:24:03] Production.INFO: count ==21
[2025-02-09 00:24:03] Production.INFO: ==30051== Releasing lock...
[2025-02-09 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433362') start
[2025-02-09 00:24:03] Production.INFO: Account Balance End.
[2025-02-09 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433362') end
[2025-02-09 00:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:24:03] Production.INFO: 1
[2025-02-09 00:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:24:03] Production.INFO: ==30059== Releasing lock...
[2025-02-09 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:24:03] Production.ERROR: CronJobId end 12
[2025-02-09 00:24:03] Production.INFO: ==30055== Releasing lock...
[2025-02-09 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:24:03] Production.ERROR: done
[2025-02-09 00:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:24:04] Production.ERROR: done
[2025-02-09 00:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:24:04
[end_date_ymd] => 2025-02-09 00:24:04
[RateCDR] => 1
)
[2025-02-09 00:24:04] 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-02-08 21:24:04' and `end` < '2025-02-09 00:24:04'
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-02-09 00:24:11] Production.ERROR: CronJobId end10
[2025-02-09 00:24:11] Production.INFO: ==30053== Releasing lock...
[2025-02-09 00:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:24:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:24:13] Production.INFO: call_cost start
[2025-02-09 00:24:13] Production.INFO: call_cost end
[2025-02-09 00:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:24:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:24:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:24:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:24:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:24:14] Production.INFO: ==30049== Releasing lock...
[2025-02-09 00:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:24:17] Production.INFO: count ==514
[2025-02-09 00:24:17] Production.ERROR: pbx CDR StartTime 2025-02-08 21:24:04 - End Time 2025-02-09 00:24:04
[2025-02-09 00:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433363', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433363', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433363', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433363', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:24:17] Production.INFO: ProcessCDR(1,14433363,1,1,2)
[2025-02-09 00:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433363', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433363', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:24:21] Production.INFO: ==30057== Releasing lock...
[2025-02-09 00:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:24:21] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:25:01] Production.INFO: ==30117== Lock acquired, processing the job...
[2025-02-09 05:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:25:02] Production.INFO: neon service started
[2025-02-09 05:25:02] Production.INFO: neon service started
[2025-02-09 05:25:02] Production.INFO: ==30117== Releasing lock...
[2025-02-09 05:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:25:02] Production.INFO: ==30119== Lock acquired, processing the job...
[2025-02-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:25:02] Production.INFO: ==30119== Releasing lock...
[2025-02-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:25:02] Production.INFO: ==30122== Lock acquired, processing the job...
[2025-02-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:25:02] Production.INFO: ==30122== Releasing lock...
[2025-02-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:25:03] Production.INFO: ==30128== Lock acquired, processing the job...
[2025-02-09 00:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:25:03] Production.INFO: ==30130== Lock acquired, processing the job...
[2025-02-09 00:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:25:03] Production.INFO: Account Balance Start.
[2025-02-09 00:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:25:03] Production.INFO: 117
[2025-02-09 00:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:25:03] Production.INFO: ==30124== Lock acquired, processing the job...
[2025-02-09 00:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:25:03] Production.INFO: ==30126== Lock acquired, processing the job...
[2025-02-09 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:25:03] Production.INFO: Total Charge 0
[2025-02-09 00:25:03] Production.INFO: CreateAllLog End
[2025-02-09 00:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:25:03] Production.INFO: ==30132== Lock acquired, processing the job...
[2025-02-09 00:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:25:03] Production.INFO: ==30134== Lock acquired, processing the job...
[2025-02-09 00:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:25:04] Production.INFO: Account Balance End.
[2025-02-09 00:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:25:04] Production.INFO: ==30130== Releasing lock...
[2025-02-09 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:25:04] Production.INFO: count ==21
[2025-02-09 00:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:25:04] Production.INFO: count ==21
[2025-02-09 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433367') start
[2025-02-09 00:25:04] Production.ERROR: done
[2025-02-09 00:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:25:04] Production.INFO: ==30126== Releasing lock...
[2025-02-09 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433367') end
[2025-02-09 00:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:25:04] Production.INFO: 1
[2025-02-09 00:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:25:04] Production.ERROR: done
[2025-02-09 00:25:04] Production.INFO: ==30134== Releasing lock...
[2025-02-09 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:25:05
[end_date_ymd] => 2025-02-09 00:25:05
[RateCDR] => 1
)
[2025-02-09 00:25: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` >= '2025-02-08 21:25:05' and `end` < '2025-02-09 00:25: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 ,'')
[2025-02-09 00:25:11] Production.ERROR: CronJobId end10
[2025-02-09 00:25:11] Production.INFO: ==30128== Releasing lock...
[2025-02-09 00:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:25:14] Production.INFO: call_cost start
[2025-02-09 00:25:14] Production.INFO: call_cost end
[2025-02-09 00:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:25:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:25:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:25:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:25:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:25:15] Production.INFO: ==30124== Releasing lock...
[2025-02-09 00:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:25:18] Production.INFO: count ==523
[2025-02-09 00:25:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:25:05 - End Time 2025-02-09 00:25:05
[2025-02-09 00:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433368', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433368', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433368', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433368', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:25:18] Production.INFO: ProcessCDR(1,14433368,1,1,2)
[2025-02-09 00:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433368', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433368', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:25:21] Production.INFO: ==30132== Releasing lock...
[2025-02-09 00:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:25:21] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:26:01] Production.INFO: ==30201== Lock acquired, processing the job...
[2025-02-09 05:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:26:01] Production.INFO: neon service started
[2025-02-09 05:26:01] Production.INFO: neon service started
[2025-02-09 05:26:01] Production.INFO: ==30201== Releasing lock...
[2025-02-09 05:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:26:02] Production.INFO: ==30203== Lock acquired, processing the job...
[2025-02-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:26:02] Production.INFO: ==30205== Lock acquired, processing the job...
[2025-02-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:26:02] Production.INFO: ==30205== Releasing lock...
[2025-02-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:26:02] Production.INFO: ==30203== Releasing lock...
[2025-02-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:26:03] Production.INFO: ==30209== Lock acquired, processing the job...
[2025-02-09 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:26:03] Production.INFO: ==30215== Lock acquired, processing the job...
[2025-02-09 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:26:03] Production.INFO: ==30219== Lock acquired, processing the job...
[2025-02-09 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:26:03] Production.INFO: Account Balance Start.
[2025-02-09 00:26:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:26:03] Production.INFO: 117
[2025-02-09 00:26:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:26:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:26:03] Production.INFO: count ==21
[2025-02-09 00:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:26:03] Production.INFO: count ==21
[2025-02-09 00:26:03] Production.INFO: ==30211== Lock acquired, processing the job...
[2025-02-09 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433371') start
[2025-02-09 00:26:03] Production.INFO: Total Charge 0
[2025-02-09 00:26:03] Production.INFO: CreateAllLog End
[2025-02-09 00:26:03] Production.INFO: ==30213== Lock acquired, processing the job...
[2025-02-09 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433371') end
[2025-02-09 00:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:26:03] Production.INFO: 1
[2025-02-09 00:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:26:03] Production.INFO: ==30217== Lock acquired, processing the job...
[2025-02-09 00:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:26:04] Production.INFO: Account Balance End.
[2025-02-09 00:26:04] Production.INFO: ==30219== Releasing lock...
[2025-02-09 00:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:26:04] Production.INFO: ==30215== Releasing lock...
[2025-02-09 00:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:26:04] Production.INFO: ==30211== Releasing lock...
[2025-02-09 00:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:26:04] Production.ERROR: done
[2025-02-09 00:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:26:04] Production.ERROR: done
[2025-02-09 00:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:26:05
[end_date_ymd] => 2025-02-09 00:26:05
[RateCDR] => 1
)
[2025-02-09 00:26: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` >= '2025-02-08 21:26:05' and `end` < '2025-02-09 00:26: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 ,'')
[2025-02-09 00:26:11] Production.ERROR: CronJobId end10
[2025-02-09 00:26:11] Production.INFO: ==30213== Releasing lock...
[2025-02-09 00:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:26:14] Production.INFO: call_cost start
[2025-02-09 00:26:14] Production.INFO: call_cost end
[2025-02-09 00:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:26:15] Production.INFO: ==30209== Releasing lock...
[2025-02-09 00:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:26:18] Production.INFO: count ==515
[2025-02-09 00:26:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:26:05 - End Time 2025-02-09 00:26:05
[2025-02-09 00:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433373', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433373', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433373', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433373', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:26:18] Production.INFO: ProcessCDR(1,14433373,1,1,2)
[2025-02-09 00:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433373', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433373', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:26:21] Production.INFO: ==30217== Releasing lock...
[2025-02-09 00:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:26:21] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:27:02] Production.INFO: ==30281== Lock acquired, processing the job...
[2025-02-09 05:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:27:02] Production.INFO: neon service started
[2025-02-09 05:27:02] Production.INFO: neon service started
[2025-02-09 05:27:02] Production.INFO: ==30281== Releasing lock...
[2025-02-09 05:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:27:02] Production.INFO: ==30285== Lock acquired, processing the job...
[2025-02-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:27:02] Production.INFO: ==30283== Lock acquired, processing the job...
[2025-02-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:27:02] Production.INFO: ==30285== Releasing lock...
[2025-02-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:27:03] Production.INFO: ==30283== Releasing lock...
[2025-02-09 00:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:27:03] Production.INFO: ==30292== Lock acquired, processing the job...
[2025-02-09 00:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:27:03] Production.INFO: ==30298== Lock acquired, processing the job...
[2025-02-09 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:27:04] Production.INFO: ==30288== Lock acquired, processing the job...
[2025-02-09 00:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:27:04] Production.INFO: ==30290== Lock acquired, processing the job...
[2025-02-09 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:27:04] Production.INFO: count ==21
[2025-02-09 00:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:27:04] Production.INFO: count ==21
[2025-02-09 00:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433374') start
[2025-02-09 00:27:04] Production.INFO: ==30294== Lock acquired, processing the job...
[2025-02-09 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:27:04] Production.INFO: ==30296== Lock acquired, processing the job...
[2025-02-09 00:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433374') end
[2025-02-09 00:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:27:04] Production.INFO: 1
[2025-02-09 00:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:27:04] Production.INFO: ==30298== Releasing lock...
[2025-02-09 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:27:04] Production.INFO: Account Balance Start.
[2025-02-09 00:27:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:27:04] Production.INFO: 117
[2025-02-09 00:27:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:27:04] Production.ERROR: done
[2025-02-09 00:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:27:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:27:04] Production.INFO: Total Charge 0
[2025-02-09 00:27:04] Production.INFO: CreateAllLog End
[2025-02-09 00:27:04] Production.INFO: ==30290== Releasing lock...
[2025-02-09 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:27:04] Production.ERROR: done
[2025-02-09 00:27:04] Production.INFO: Account Balance End.
[2025-02-09 00:27:05] Production.ERROR: CronJobId end 12
[2025-02-09 00:27:05] Production.INFO: ==30294== Releasing lock...
[2025-02-09 00:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:27:06
[end_date_ymd] => 2025-02-09 00:27:06
[RateCDR] => 1
)
[2025-02-09 00:27: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-02-08 21:27:06' and `end` < '2025-02-09 00:27: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-02-09 00:27:12] Production.ERROR: CronJobId end10
[2025-02-09 00:27:12] Production.INFO: ==30292== Releasing lock...
[2025-02-09 00:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:27:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:27:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:27:15] Production.INFO: call_cost start
[2025-02-09 00:27:15] Production.INFO: call_cost end
[2025-02-09 00:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:27:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:27:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:27:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:27:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:27:16] Production.INFO: ==30288== Releasing lock...
[2025-02-09 00:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:27:18] Production.INFO: count ==509
[2025-02-09 00:27:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:27:06 - End Time 2025-02-09 00:27:06
[2025-02-09 00:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433378', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433378', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433378', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433378', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:27:19] Production.INFO: ProcessCDR(1,14433378,1,1,2)
[2025-02-09 00:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433378', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433378', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:27:23] Production.INFO: ==30296== Releasing lock...
[2025-02-09 00:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:27:23] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:28:01] Production.INFO: ==30363== Lock acquired, processing the job...
[2025-02-09 05:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:28:01] Production.INFO: neon service started
[2025-02-09 05:28:01] Production.INFO: neon service started
[2025-02-09 05:28:01] Production.INFO: ==30363== Releasing lock...
[2025-02-09 05:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:28:01] Production.INFO: ==30365== Lock acquired, processing the job...
[2025-02-09 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:28:02] Production.INFO: ==30365== Releasing lock...
[2025-02-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:28:02] Production.INFO: ==30367== Lock acquired, processing the job...
[2025-02-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:28:02] Production.INFO: ==30367== Releasing lock...
[2025-02-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:28:03] Production.INFO: ==30370== Lock acquired, processing the job...
[2025-02-09 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:28:03] Production.INFO: ==30372== Lock acquired, processing the job...
[2025-02-09 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:28:03] Production.INFO: ==30376== Lock acquired, processing the job...
[2025-02-09 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:28:03] Production.INFO: ==30380== Lock acquired, processing the job...
[2025-02-09 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:28:03] Production.INFO: ==30374== Lock acquired, processing the job...
[2025-02-09 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:28:03] Production.INFO: Account Balance Start.
[2025-02-09 00:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:28:03] Production.INFO: 117
[2025-02-09 00:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:28:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:28:03] Production.INFO: ==30378== Lock acquired, processing the job...
[2025-02-09 00:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:28:03] Production.INFO: Total Charge 0
[2025-02-09 00:28:03] Production.INFO: count ==21
[2025-02-09 00:28:03] Production.INFO: CreateAllLog End
[2025-02-09 00:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:28:03] Production.INFO: count ==21
[2025-02-09 00:28:03] Production.INFO: ==30372== Releasing lock...
[2025-02-09 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433382') start
[2025-02-09 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433382') end
[2025-02-09 00:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:28:03] Production.INFO: 1
[2025-02-09 00:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:28:03] Production.INFO: ==30380== Releasing lock...
[2025-02-09 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:28:03] Production.INFO: Account Balance End.
[2025-02-09 00:28:03] Production.ERROR: CronJobId end 12
[2025-02-09 00:28:03] Production.INFO: ==30376== Releasing lock...
[2025-02-09 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:28:03] Production.ERROR: done
[2025-02-09 00:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:28:04] Production.ERROR: done
[2025-02-09 00:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:28:05
[end_date_ymd] => 2025-02-09 00:28:05
[RateCDR] => 1
)
[2025-02-09 00:28: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` >= '2025-02-08 21:28:05' and `end` < '2025-02-09 00:28: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 ,'')
[2025-02-09 00:28:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-09 00:28:11] Production.ERROR: CronJobId end10
[2025-02-09 00:28:11] Production.INFO: ==30374== Releasing lock...
[2025-02-09 00:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:28:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:28:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:28:14] Production.INFO: call_cost start
[2025-02-09 00:28:14] Production.INFO: call_cost end
[2025-02-09 00:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:28:15] Production.INFO: ==30370== Releasing lock...
[2025-02-09 00:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:28:18] Production.INFO: count ==512
[2025-02-09 00:28:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:28:05 - End Time 2025-02-09 00:28:05
[2025-02-09 00:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433383', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433383', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433383', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433383', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:28:18] Production.INFO: ProcessCDR(1,14433383,1,1,2)
[2025-02-09 00:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433383', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433383', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:28:21] Production.INFO: ==30378== Releasing lock...
[2025-02-09 00:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:28:21] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:29:01] Production.INFO: ==30443== Lock acquired, processing the job...
[2025-02-09 05:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:29:01] Production.INFO: neon service started
[2025-02-09 05:29:01] Production.INFO: neon service started
[2025-02-09 05:29:01] Production.INFO: ==30443== Releasing lock...
[2025-02-09 05:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:29:02] Production.INFO: ==30445== Lock acquired, processing the job...
[2025-02-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:29:02] Production.INFO: ==30445== Releasing lock...
[2025-02-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:29:02] Production.INFO: ==30447== Lock acquired, processing the job...
[2025-02-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:29:02] Production.INFO: ==30447== Releasing lock...
[2025-02-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:29:03] Production.INFO: ==30450== Lock acquired, processing the job...
[2025-02-09 00:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:29:03] Production.INFO: ==30452== Lock acquired, processing the job...
[2025-02-09 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:29:03] Production.INFO: ==30456== Lock acquired, processing the job...
[2025-02-09 00:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:29:03] Production.INFO: ==30460== Lock acquired, processing the job...
[2025-02-09 00:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:29:03] Production.INFO: ==30454== Lock acquired, processing the job...
[2025-02-09 00:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:29:03] Production.INFO: Account Balance Start.
[2025-02-09 00:29:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:29:03] Production.INFO: 117
[2025-02-09 00:29:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:29:04] Production.INFO: ==30452== Releasing lock...
[2025-02-09 00:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:29:04] Production.INFO: ==30458== Lock acquired, processing the job...
[2025-02-09 00:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:29:04] Production.INFO: count ==21
[2025-02-09 00:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:29:04] Production.INFO: count ==21
[2025-02-09 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433387') start
[2025-02-09 00:29:04] Production.INFO: Total Charge 0
[2025-02-09 00:29:04] Production.INFO: CreateAllLog End
[2025-02-09 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433387') end
[2025-02-09 00:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:29:04] Production.INFO: 1
[2025-02-09 00:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:29:04] Production.INFO: ==30460== Releasing lock...
[2025-02-09 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:29:04] Production.INFO: Account Balance End.
[2025-02-09 00:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:29:04] Production.INFO: ==30456== Releasing lock...
[2025-02-09 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:29:04] Production.ERROR: done
[2025-02-09 00:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:29:04] Production.ERROR: done
[2025-02-09 00:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:29:05
[end_date_ymd] => 2025-02-09 00:29:05
[RateCDR] => 1
)
[2025-02-09 00:29: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` >= '2025-02-08 21:29:05' and `end` < '2025-02-09 00:29: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 ,'')
[2025-02-09 00:29:11] Production.ERROR: CronJobId end10
[2025-02-09 00:29:11] Production.INFO: ==30454== Releasing lock...
[2025-02-09 00:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:29:14] Production.INFO: call_cost start
[2025-02-09 00:29:14] Production.INFO: call_cost end
[2025-02-09 00:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:29:15] Production.INFO: ==30450== Releasing lock...
[2025-02-09 00:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:29:18] Production.INFO: count ==508
[2025-02-09 00:29:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:29:05 - End Time 2025-02-09 00:29:05
[2025-02-09 00:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433388', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433388', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433388', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433388', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:29:18] Production.INFO: ProcessCDR(1,14433388,1,1,2)
[2025-02-09 00:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433388', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433388', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:29:23] Production.INFO: ==30458== Releasing lock...
[2025-02-09 00:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:29:23] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:30:02] Production.INFO: ==30525== Lock acquired, processing the job...
[2025-02-09 05:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:30:02] Production.INFO: neon service started
[2025-02-09 05:30:02] Production.INFO: neon service started
[2025-02-09 05:30:02] Production.INFO: ==30525== Releasing lock...
[2025-02-09 05:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:30:02] Production.INFO: ==30527== Lock acquired, processing the job...
[2025-02-09 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:30:03] Production.INFO: ==30529== Lock acquired, processing the job...
[2025-02-09 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:30:03] Production.INFO: ==30529== Releasing lock...
[2025-02-09 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:30:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:30:03] Production.INFO: ==30527== Releasing lock...
[2025-02-09 00:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:30:04] Production.INFO: ==30535== Lock acquired, processing the job...
[2025-02-09 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:30:04] Production.INFO: ==30541== Lock acquired, processing the job...
[2025-02-09 00:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:30:04] Production.INFO: ==30531== Lock acquired, processing the job...
[2025-02-09 00:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:30:04] Production.INFO: ==30533== Lock acquired, processing the job...
[2025-02-09 00:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:30:04] Production.INFO: ==30547== Lock acquired, processing the job...
[2025-02-09 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:30:04] Production.INFO: ==30537== Lock acquired, processing the job...
[2025-02-09 00:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:30:04] Production.INFO: ==30539== Lock acquired, processing the job...
[2025-02-09 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 00:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:30:04] Production.ERROR: CronJob PID - 30535
[2025-02-09 00:30:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 00:30:04] Production.ERROR: CronJob ID - 7
[2025-02-09 00:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 00:30:00
[2025-02-09 00:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:30:04] Production.ERROR: CronJob PID - 30541
[2025-02-09 00:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 00:30:04] Production.ERROR: CronJob ID - 16
[2025-02-09 00:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 00:30:00
[2025-02-09 00:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:30:04] Production.INFO: ==30545== Lock acquired, processing the job...
[2025-02-09 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 00:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 00:30:04] Production.INFO: ==30531== Releasing lock...
[2025-02-09 00:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 00:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 00:30:04] Production.INFO: ==30535== Releasing lock...
[2025-02-09 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:30:04] Production.INFO: Account Balance Start.
[2025-02-09 00:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:30:04] Production.INFO: 117
[2025-02-09 00:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:30:04] Production.INFO: count ==21
[2025-02-09 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:30:04] Production.ERROR: done
[2025-02-09 00:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:30:04] Production.INFO: count ==21
[2025-02-09 00:30:04] Production.ERROR: done
[2025-02-09 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433391') start
[2025-02-09 00:30:04] Production.INFO: Total Charge 0
[2025-02-09 00:30:04] Production.INFO: CreateAllLog End
[2025-02-09 00:30:05] Production.ERROR: done
[2025-02-09 00:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433391') end
[2025-02-09 00:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:30:05] Production.INFO: 1
[2025-02-09 00:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 00:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433394', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 00:30:05] Production.INFO: Account Balance End.
[2025-02-09 00:30:05] Production.INFO: ==30547== Releasing lock...
[2025-02-09 00:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:30:05] Production.ERROR: CronJobId end 12
[2025-02-09 00:30:05] Production.INFO: ==30539== Releasing lock...
[2025-02-09 00:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:30:06
[end_date_ymd] => 2025-02-09 00:30:06
[RateCDR] => 1
)
[2025-02-09 00:30: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-02-08 21:30:06' and `end` < '2025-02-09 00:30: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-02-09 00:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433394', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 00:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 00:30:09] Production.INFO: ProcessCDR(1,14433394,1,1,2)
[2025-02-09 00:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:30:09] Production.INFO: ==30545== Releasing lock...
[2025-02-09 00:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 00:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 00:30:14] Production.ERROR: CronJobId end10
[2025-02-09 00:30:14] Production.INFO: ==30537== Releasing lock...
[2025-02-09 00:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:30:16] Production.INFO: call_cost start
[2025-02-09 00:30:16] Production.INFO: call_cost end
[2025-02-09 00:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:30:17] Production.INFO: ==30533== Releasing lock...
[2025-02-09 00:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:30:19] Production.INFO: count ==516
[2025-02-09 00:30:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:30:06 - End Time 2025-02-09 00:30:06
[2025-02-09 00:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433393', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433393', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433393', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433393', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:30:19] Production.INFO: ProcessCDR(1,14433393,1,1,2)
[2025-02-09 00:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433393', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433393', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:30:22] Production.INFO: ==30541== Releasing lock...
[2025-02-09 00:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:30:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:31:01] Production.INFO: ==30619== Lock acquired, processing the job...
[2025-02-09 05:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:31:01] Production.INFO: neon service started
[2025-02-09 05:31:01] Production.INFO: neon service started
[2025-02-09 05:31:01] Production.INFO: ==30619== Releasing lock...
[2025-02-09 05:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:31:02] Production.INFO: ==30622== Lock acquired, processing the job...
[2025-02-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:31:02] Production.INFO: ==30624== Lock acquired, processing the job...
[2025-02-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:31:02] Production.INFO: ==30624== Releasing lock...
[2025-02-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:31:02] Production.INFO: ==30622== Releasing lock...
[2025-02-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:31:03] Production.INFO: ==30632== Lock acquired, processing the job...
[2025-02-09 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:31:03] Production.INFO: ==30634== Lock acquired, processing the job...
[2025-02-09 00:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:31:03] Production.INFO: Account Balance Start.
[2025-02-09 00:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:31:03] Production.INFO: 117
[2025-02-09 00:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:31:03] Production.INFO: ==30626== Lock acquired, processing the job...
[2025-02-09 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:31:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:31:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:31:03] Production.INFO: ==30628== Lock acquired, processing the job...
[2025-02-09 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:31:03] Production.INFO: Total Charge 0
[2025-02-09 00:31:03] Production.INFO: ==30630== Lock acquired, processing the job...
[2025-02-09 00:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:31:03] Production.INFO: CreateAllLog End
[2025-02-09 00:31:03] Production.INFO: ==30636== Lock acquired, processing the job...
[2025-02-09 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:31:03] Production.ERROR: done
[2025-02-09 00:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:31:03] Production.INFO: Account Balance End.
[2025-02-09 00:31:04] Production.INFO: count ==21
[2025-02-09 00:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:31:04] Production.INFO: count ==21
[2025-02-09 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433398') start
[2025-02-09 00:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:31:04] Production.INFO: ==30632== Releasing lock...
[2025-02-09 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:31:04] Production.ERROR: done
[2025-02-09 00:31:04] Production.INFO: ==30628== Releasing lock...
[2025-02-09 00:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433398') end
[2025-02-09 00:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:31:04] Production.INFO: 1
[2025-02-09 00:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:31:04] Production.INFO: ==30636== Releasing lock...
[2025-02-09 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:31:05
[end_date_ymd] => 2025-02-09 00:31:05
[RateCDR] => 1
)
[2025-02-09 00:31: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` >= '2025-02-08 21:31:05' and `end` < '2025-02-09 00:31: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 ,'')
[2025-02-09 00:31:12] Production.ERROR: CronJobId end10
[2025-02-09 00:31:12] Production.INFO: ==30630== Releasing lock...
[2025-02-09 00:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:31:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:31:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:31:14] Production.INFO: call_cost start
[2025-02-09 00:31:14] Production.INFO: call_cost end
[2025-02-09 00:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:31:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:31:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:31:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:31:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:31:15] Production.INFO: ==30626== Releasing lock...
[2025-02-09 00:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:31:17] Production.INFO: count ==553
[2025-02-09 00:31:17] Production.ERROR: pbx CDR StartTime 2025-02-08 21:31:05 - End Time 2025-02-09 00:31:05
[2025-02-09 00:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433399', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433399', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433399', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433399', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:31:18] Production.INFO: ProcessCDR(1,14433399,1,1,2)
[2025-02-09 00:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433399', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433399', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:31:22] Production.INFO: ==30634== Releasing lock...
[2025-02-09 00:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:31:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:32:02] Production.INFO: ==30697== Lock acquired, processing the job...
[2025-02-09 05:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:32:02] Production.INFO: neon service started
[2025-02-09 05:32:02] Production.INFO: neon service started
[2025-02-09 05:32:02] Production.INFO: ==30697== Releasing lock...
[2025-02-09 05:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:32:02] Production.INFO: ==30699== Lock acquired, processing the job...
[2025-02-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:32:02] Production.INFO: ==30699== Releasing lock...
[2025-02-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:32:02] Production.INFO: ==30701== Lock acquired, processing the job...
[2025-02-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:32:03] Production.INFO: ==30701== Releasing lock...
[2025-02-09 05:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:32:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:32:03] Production.INFO: ==30704== Lock acquired, processing the job...
[2025-02-09 00:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:32:03] Production.INFO: ==30710== Lock acquired, processing the job...
[2025-02-09 00:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:32:03] Production.INFO: Account Balance Start.
[2025-02-09 00:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:32:04] Production.INFO: 117
[2025-02-09 00:32:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:32:04] Production.INFO: ==30714== Lock acquired, processing the job...
[2025-02-09 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:32:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:32:04] Production.INFO: Total Charge 0
[2025-02-09 00:32:04] Production.INFO: ==30706== Lock acquired, processing the job...
[2025-02-09 00:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:32:04] Production.INFO: CreateAllLog End
[2025-02-09 00:32:04] Production.INFO: ==30708== Lock acquired, processing the job...
[2025-02-09 00:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:32:04] Production.INFO: count ==21
[2025-02-09 00:32:04] Production.INFO: ==30712== Lock acquired, processing the job...
[2025-02-09 00:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:32:04] Production.INFO: Account Balance End.
[2025-02-09 00:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:32:04] Production.INFO: count ==21
[2025-02-09 00:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433402') start
[2025-02-09 00:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:32:04] Production.INFO: ==30710== Releasing lock...
[2025-02-09 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433402') end
[2025-02-09 00:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:32:04] Production.INFO: 1
[2025-02-09 00:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:32:04] Production.INFO: ==30706== Releasing lock...
[2025-02-09 00:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:32:04] Production.INFO: ==30714== Releasing lock...
[2025-02-09 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:32:04] Production.ERROR: done
[2025-02-09 00:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:32:04] Production.ERROR: done
[2025-02-09 00:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:32:05
[end_date_ymd] => 2025-02-09 00:32:05
[RateCDR] => 1
)
[2025-02-09 00:32: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` >= '2025-02-08 21:32:05' and `end` < '2025-02-09 00:32: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 ,'')
[2025-02-09 00:32:12] Production.ERROR: CronJobId end10
[2025-02-09 00:32:12] Production.INFO: ==30708== Releasing lock...
[2025-02-09 00:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:32:14] Production.INFO: call_cost start
[2025-02-09 00:32:14] Production.INFO: call_cost end
[2025-02-09 00:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:32:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:32:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:32:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:32:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:32:15] Production.INFO: ==30704== Releasing lock...
[2025-02-09 00:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:32:19] Production.INFO: count ==553
[2025-02-09 00:32:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:32:05 - End Time 2025-02-09 00:32:05
[2025-02-09 00:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433404', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433404', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433404', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433404', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:32:19] Production.INFO: ProcessCDR(1,14433404,1,1,2)
[2025-02-09 00:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433404', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433404', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:32:22] Production.INFO: ==30712== Releasing lock...
[2025-02-09 00:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:32:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:33:01] Production.INFO: ==30777== Lock acquired, processing the job...
[2025-02-09 05:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:33:01] Production.INFO: neon service started
[2025-02-09 05:33:01] Production.INFO: neon service started
[2025-02-09 05:33:01] Production.INFO: ==30777== Releasing lock...
[2025-02-09 05:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:33:02] Production.INFO: ==30779== Lock acquired, processing the job...
[2025-02-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:33:02] Production.INFO: ==30779== Releasing lock...
[2025-02-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:33:02] Production.INFO: ==30781== Lock acquired, processing the job...
[2025-02-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:33:02] Production.INFO: ==30781== Releasing lock...
[2025-02-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:33:03] Production.INFO: ==30790== Lock acquired, processing the job...
[2025-02-09 00:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:33:03] Production.INFO: ==30792== Lock acquired, processing the job...
[2025-02-09 00:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:33:03] Production.INFO: ==30784== Lock acquired, processing the job...
[2025-02-09 00:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:33:03] Production.INFO: ==30786== Lock acquired, processing the job...
[2025-02-09 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:33:03] Production.INFO: Account Balance Start.
[2025-02-09 00:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:33:03] Production.INFO: ==30788== Lock acquired, processing the job...
[2025-02-09 00:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:33:03] Production.INFO: 117
[2025-02-09 00:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:33:03] Production.INFO: Total Charge 0
[2025-02-09 00:33:03] Production.INFO: CreateAllLog End
[2025-02-09 00:33:03] Production.INFO: ==30794== Lock acquired, processing the job...
[2025-02-09 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:33:03] Production.INFO: count ==21
[2025-02-09 00:33:03] Production.INFO: ==30786== Releasing lock...
[2025-02-09 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:33:03] Production.ERROR: done
[2025-02-09 00:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:33:03] Production.INFO: count ==21
[2025-02-09 00:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433408') start
[2025-02-09 00:33:03] Production.ERROR: done
[2025-02-09 00:33:03] Production.INFO: Account Balance End.
[2025-02-09 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433408') end
[2025-02-09 00:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:33:04] Production.INFO: 1
[2025-02-09 00:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:33:04] Production.INFO: ==30790== Releasing lock...
[2025-02-09 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:33:04] Production.INFO: ==30794== Releasing lock...
[2025-02-09 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:33:05
[end_date_ymd] => 2025-02-09 00:33:05
[RateCDR] => 1
)
[2025-02-09 00:33: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` >= '2025-02-08 21:33:05' and `end` < '2025-02-09 00:33: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 ,'')
[2025-02-09 00:33:11] Production.ERROR: CronJobId end10
[2025-02-09 00:33:11] Production.INFO: ==30788== Releasing lock...
[2025-02-09 00:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:33:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:33:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:33:13] Production.INFO: call_cost start
[2025-02-09 00:33:13] Production.INFO: call_cost end
[2025-02-09 00:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:33:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:33:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:33:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:33:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:33:14] Production.INFO: ==30784== Releasing lock...
[2025-02-09 00:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:33:17] Production.INFO: count ==557
[2025-02-09 00:33:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:33:05 - End Time 2025-02-09 00:33:05
[2025-02-09 00:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433409', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433409', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433409', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433409', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:33:18] Production.INFO: ProcessCDR(1,14433409,1,1,2)
[2025-02-09 00:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433409', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433409', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:33:21] Production.INFO: ==30792== Releasing lock...
[2025-02-09 00:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:33:21] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:34:02] Production.INFO: ==30854== Lock acquired, processing the job...
[2025-02-09 05:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:34:02] Production.INFO: neon service started
[2025-02-09 05:34:02] Production.INFO: neon service started
[2025-02-09 05:34:02] Production.INFO: ==30854== Releasing lock...
[2025-02-09 05:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:34:02] Production.INFO: ==30856== Lock acquired, processing the job...
[2025-02-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:34:02] Production.INFO: ==30858== Lock acquired, processing the job...
[2025-02-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:34:02] Production.INFO: ==30858== Releasing lock...
[2025-02-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:34:03] Production.INFO: ==30856== Releasing lock...
[2025-02-09 00:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:34:03] Production.INFO: ==30861== Lock acquired, processing the job...
[2025-02-09 00:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:34:03] Production.INFO: ==30863== Lock acquired, processing the job...
[2025-02-09 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:34:04] Production.INFO: ==30871== Lock acquired, processing the job...
[2025-02-09 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:34:04] Production.INFO: ==30865== Lock acquired, processing the job...
[2025-02-09 00:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:34:04] Production.INFO: ==30863== Releasing lock...
[2025-02-09 00:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:34:04] Production.INFO: ==30867== Lock acquired, processing the job...
[2025-02-09 00:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:34:04] Production.INFO: count ==21
[2025-02-09 00:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:34:04] Production.INFO: count ==21
[2025-02-09 00:34:04] Production.INFO: ==30869== Lock acquired, processing the job...
[2025-02-09 00:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433412') start
[2025-02-09 00:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433412') end
[2025-02-09 00:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:34:04] Production.INFO: 1
[2025-02-09 00:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:34:04] Production.INFO: Account Balance Start.
[2025-02-09 00:34:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:34:04] Production.INFO: 117
[2025-02-09 00:34:04] Production.INFO: ==30871== Releasing lock...
[2025-02-09 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:34:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:34:04] Production.INFO: Total Charge 0
[2025-02-09 00:34:04] Production.ERROR: done
[2025-02-09 00:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:34:04] Production.INFO: CreateAllLog End
[2025-02-09 00:34:04] Production.ERROR: done
[2025-02-09 00:34:04] Production.INFO: Account Balance End.
[2025-02-09 00:34:05] Production.ERROR: CronJobId end 12
[2025-02-09 00:34:05] Production.INFO: ==30867== Releasing lock...
[2025-02-09 00:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:34:05
[end_date_ymd] => 2025-02-09 00:34:05
[RateCDR] => 1
)
[2025-02-09 00:34: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` >= '2025-02-08 21:34:05' and `end` < '2025-02-09 00:34: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 ,'')
[2025-02-09 00:34:13] Production.ERROR: CronJobId end10
[2025-02-09 00:34:13] Production.INFO: ==30865== Releasing lock...
[2025-02-09 00:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:34:14] Production.INFO: call_cost start
[2025-02-09 00:34:14] Production.INFO: call_cost end
[2025-02-09 00:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:34:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:34:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:34:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:34:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:34:15] Production.INFO: ==30861== Releasing lock...
[2025-02-09 00:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:34:19] Production.INFO: count ==560
[2025-02-09 00:34:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:34:05 - End Time 2025-02-09 00:34:05
[2025-02-09 00:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433414', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433414', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433414', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433414', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:34:20] Production.INFO: ProcessCDR(1,14433414,1,1,2)
[2025-02-09 00:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433414', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433414', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:34:23] Production.INFO: ==30869== Releasing lock...
[2025-02-09 00:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:34:23] Production.INFO: 33 MB #Memory Used#
[2025-02-09 05:35:01] Production.INFO: ==30936== Lock acquired, processing the job...
[2025-02-09 05:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:35:01] Production.INFO: neon service started
[2025-02-09 05:35:01] Production.INFO: neon service started
[2025-02-09 05:35:01] Production.INFO: ==30936== Releasing lock...
[2025-02-09 05:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:35:02] Production.INFO: ==30940== Lock acquired, processing the job...
[2025-02-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:35:02] Production.INFO: ==30940== Releasing lock...
[2025-02-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:35:02] Production.INFO: ==30938== Lock acquired, processing the job...
[2025-02-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:35:02] Production.INFO: ==30938== Releasing lock...
[2025-02-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:35:03] Production.INFO: ==30943== Lock acquired, processing the job...
[2025-02-09 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:35:03] Production.INFO: ==30945== Lock acquired, processing the job...
[2025-02-09 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:35:03] Production.INFO: ==30951== Lock acquired, processing the job...
[2025-02-09 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:35:03] Production.INFO: ==30947== Lock acquired, processing the job...
[2025-02-09 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:35:03] Production.INFO: ==30949== Lock acquired, processing the job...
[2025-02-09 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:35:03] Production.INFO: ==30953== Lock acquired, processing the job...
[2025-02-09 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:35:03] Production.ERROR: done
[2025-02-09 00:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:35:03] Production.INFO: ==30945== Releasing lock...
[2025-02-09 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:35:03] Production.INFO: Account Balance Start.
[2025-02-09 00:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:35:03] Production.INFO: 117
[2025-02-09 00:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:35:03] Production.ERROR: done
[2025-02-09 00:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:35:03] Production.INFO: count ==21
[2025-02-09 00:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:35:03] Production.INFO: count ==21
[2025-02-09 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433418') start
[2025-02-09 00:35:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:35:04] Production.INFO: Total Charge 0
[2025-02-09 00:35:04] Production.INFO: CreateAllLog End
[2025-02-09 00:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433418') end
[2025-02-09 00:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:35:04] Production.INFO: 1
[2025-02-09 00:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:35:04] Production.INFO: ==30953== Releasing lock...
[2025-02-09 00:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:35:04] Production.INFO: Account Balance End.
[2025-02-09 00:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:35:04] Production.INFO: ==30949== Releasing lock...
[2025-02-09 00:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:35:04
[end_date_ymd] => 2025-02-09 00:35:04
[RateCDR] => 1
)
[2025-02-09 00:35:04] 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-02-08 21:35:04' and `end` < '2025-02-09 00:35:04'
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-02-09 00:35:11] Production.ERROR: CronJobId end10
[2025-02-09 00:35:11] Production.INFO: ==30947== Releasing lock...
[2025-02-09 00:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:35:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:35:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:35:14] Production.INFO: call_cost start
[2025-02-09 00:35:14] Production.INFO: call_cost end
[2025-02-09 00:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:35:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:35:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:35:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:35:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:35:15] Production.INFO: ==30943== Releasing lock...
[2025-02-09 00:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:35:17] Production.INFO: count ==560
[2025-02-09 00:35:17] Production.ERROR: pbx CDR StartTime 2025-02-08 21:35:04 - End Time 2025-02-09 00:35:04
[2025-02-09 00:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433419', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433419', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433419', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433419', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:35:17] Production.INFO: ProcessCDR(1,14433419,1,1,2)
[2025-02-09 00:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433419', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433419', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:35:20] Production.INFO: ==30951== Releasing lock...
[2025-02-09 00:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:35:20] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:36:02] Production.INFO: ==31062== Lock acquired, processing the job...
[2025-02-09 05:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:36:02] Production.INFO: neon service started
[2025-02-09 05:36:02] Production.INFO: neon service started
[2025-02-09 05:36:02] Production.INFO: ==31062== Releasing lock...
[2025-02-09 05:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:36:02] Production.INFO: ==31067== Lock acquired, processing the job...
[2025-02-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:36:02] Production.INFO: ==31067== Releasing lock...
[2025-02-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:36:02] Production.INFO: ==31065== Lock acquired, processing the job...
[2025-02-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:36:02] Production.INFO: ==31065== Releasing lock...
[2025-02-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:36:03] Production.INFO: ==31069== Lock acquired, processing the job...
[2025-02-09 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:36:03] Production.INFO: ==31079== Lock acquired, processing the job...
[2025-02-09 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:36:04] Production.INFO: ==31071== Lock acquired, processing the job...
[2025-02-09 00:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:36:04] Production.INFO: ==31073== Lock acquired, processing the job...
[2025-02-09 00:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:36:04] Production.INFO: count ==21
[2025-02-09 00:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:36:04] Production.INFO: count ==21
[2025-02-09 00:36:04] Production.INFO: ==31075== Lock acquired, processing the job...
[2025-02-09 00:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433421') start
[2025-02-09 00:36:04] Production.INFO: ==31077== Lock acquired, processing the job...
[2025-02-09 00:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:36:04] Production.INFO: Account Balance Start.
[2025-02-09 00:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:36:04] Production.INFO: 117
[2025-02-09 00:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433421') end
[2025-02-09 00:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:36:04] Production.INFO: 1
[2025-02-09 00:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:36:04] Production.INFO: Total Charge 0
[2025-02-09 00:36:04] Production.INFO: CreateAllLog End
[2025-02-09 00:36:04] Production.INFO: ==31079== Releasing lock...
[2025-02-09 00:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:36:04] Production.ERROR: done
[2025-02-09 00:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:36:04] Production.INFO: Account Balance End.
[2025-02-09 00:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:36:04] Production.INFO: ==31075== Releasing lock...
[2025-02-09 00:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:36:04] Production.INFO: ==31071== Releasing lock...
[2025-02-09 00:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:36:04] Production.ERROR: done
[2025-02-09 00:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:36:05
[end_date_ymd] => 2025-02-09 00:36:05
[RateCDR] => 1
)
[2025-02-09 00:36: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` >= '2025-02-08 21:36:05' and `end` < '2025-02-09 00:36: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 ,'')
[2025-02-09 00:36:13] Production.ERROR: CronJobId end10
[2025-02-09 00:36:13] Production.INFO: ==31073== Releasing lock...
[2025-02-09 00:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:36:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:36:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:36:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:36:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:36:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:36:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:36:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:36:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:36:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:36:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:36:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:36:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:36:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:36:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:36:16] Production.INFO: call_cost start
[2025-02-09 00:36:16] Production.INFO: call_cost end
[2025-02-09 00:36:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:36:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:36:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:36:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:36:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:36:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:36:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:36:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:36:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:36:17] Production.INFO: ==31069== Releasing lock...
[2025-02-09 00:36:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:36:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:36:19] Production.INFO: count ==563
[2025-02-09 00:36:20] Production.ERROR: pbx CDR StartTime 2025-02-08 21:36:05 - End Time 2025-02-09 00:36:05
[2025-02-09 00:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433424', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433424', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433424', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433424', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:36:20] Production.INFO: ProcessCDR(1,14433424,1,1,2)
[2025-02-09 00:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433424', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433424', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:36:24] Production.INFO: ==31077== Releasing lock...
[2025-02-09 00:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:36:24] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 05:37:01] Production.INFO: ==31140== Lock acquired, processing the job...
[2025-02-09 05:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:37:01] Production.INFO: neon service started
[2025-02-09 05:37:01] Production.INFO: neon service started
[2025-02-09 05:37:01] Production.INFO: ==31140== Releasing lock...
[2025-02-09 05:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:37:01] Production.INFO: ==31144== Lock acquired, processing the job...
[2025-02-09 05:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:37:01] Production.INFO: ==31144== Releasing lock...
[2025-02-09 05:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:37:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:37:02] Production.INFO: ==31142== Lock acquired, processing the job...
[2025-02-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:37:02] Production.INFO: ==31142== Releasing lock...
[2025-02-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:37:03] Production.INFO: ==31149== Lock acquired, processing the job...
[2025-02-09 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:37:03] Production.INFO: ==31157== Lock acquired, processing the job...
[2025-02-09 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:37:03] Production.INFO: ==31146== Lock acquired, processing the job...
[2025-02-09 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:37:03] Production.INFO: ==31151== Lock acquired, processing the job...
[2025-02-09 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:37:03] Production.INFO: count ==21
[2025-02-09 00:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:37:03] Production.INFO: count ==21
[2025-02-09 00:37:03] Production.INFO: ==31153== Lock acquired, processing the job...
[2025-02-09 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433426') start
[2025-02-09 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:37:03] Production.INFO: ==31149== Releasing lock...
[2025-02-09 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:37:03] Production.INFO: ==31155== Lock acquired, processing the job...
[2025-02-09 00:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433426') end
[2025-02-09 00:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:37:03] Production.INFO: 1
[2025-02-09 00:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:37:03] Production.INFO: Account Balance Start.
[2025-02-09 00:37:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:37:03] Production.INFO: 117
[2025-02-09 00:37:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:37:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:37:03] Production.INFO: Total Charge 0
[2025-02-09 00:37:03] Production.INFO: CreateAllLog End
[2025-02-09 00:37:03] Production.INFO: ==31157== Releasing lock...
[2025-02-09 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:37:04] Production.ERROR: done
[2025-02-09 00:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:37:04] Production.INFO: Account Balance End.
[2025-02-09 00:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:37:04] Production.INFO: ==31153== Releasing lock...
[2025-02-09 00:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:37:04] Production.ERROR: done
[2025-02-09 00:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:37:05
[end_date_ymd] => 2025-02-09 00:37:05
[RateCDR] => 1
)
[2025-02-09 00:37: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` >= '2025-02-08 21:37:05' and `end` < '2025-02-09 00:37: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 ,'')
[2025-02-09 00:37:10] Production.ERROR: CronJobId end10
[2025-02-09 00:37:10] Production.INFO: ==31151== Releasing lock...
[2025-02-09 00:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:37:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:37:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:37:13] Production.INFO: call_cost start
[2025-02-09 00:37:13] Production.INFO: call_cost end
[2025-02-09 00:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:37:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:37:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:37:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:37:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:37:14] Production.INFO: ==31146== Releasing lock...
[2025-02-09 00:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:37:17] Production.INFO: count ==567
[2025-02-09 00:37:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:37:05 - End Time 2025-02-09 00:37:05
[2025-02-09 00:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433429', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433429', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433429', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433429', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:37:18] Production.INFO: ProcessCDR(1,14433429,1,1,2)
[2025-02-09 00:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433429', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433429', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:37:21] Production.INFO: ==31155== Releasing lock...
[2025-02-09 00:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:37:21] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:38:01] Production.INFO: ==31219== Lock acquired, processing the job...
[2025-02-09 05:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:38:01] Production.INFO: neon service started
[2025-02-09 05:38:01] Production.INFO: neon service started
[2025-02-09 05:38:01] Production.INFO: ==31219== Releasing lock...
[2025-02-09 05:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:38:02] Production.INFO: ==31223== Lock acquired, processing the job...
[2025-02-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:38:02] Production.INFO: ==31223== Releasing lock...
[2025-02-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:38:02] Production.INFO: ==31221== Lock acquired, processing the job...
[2025-02-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:38:02] Production.INFO: ==31221== Releasing lock...
[2025-02-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:38:03] Production.INFO: ==31225== Lock acquired, processing the job...
[2025-02-09 00:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:38:03] Production.INFO: ==31227== Lock acquired, processing the job...
[2025-02-09 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:38:03] Production.INFO: ==31233== Lock acquired, processing the job...
[2025-02-09 00:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:38:03] Production.INFO: ==31229== Lock acquired, processing the job...
[2025-02-09 00:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:38:03] Production.INFO: ==31231== Lock acquired, processing the job...
[2025-02-09 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:38:03] Production.INFO: ==31236== Lock acquired, processing the job...
[2025-02-09 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:38:03] Production.INFO: ==31227== Releasing lock...
[2025-02-09 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:38:04] Production.INFO: Account Balance Start.
[2025-02-09 00:38:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:38:04] Production.INFO: 117
[2025-02-09 00:38:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:38:04] Production.INFO: count ==21
[2025-02-09 00:38:04] Production.INFO: Total Charge 0
[2025-02-09 00:38:04] Production.INFO: CreateAllLog End
[2025-02-09 00:38:04] Production.ERROR: done
[2025-02-09 00:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:38:04] Production.INFO: count ==21
[2025-02-09 00:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433433') start
[2025-02-09 00:38:04] Production.ERROR: done
[2025-02-09 00:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433433') end
[2025-02-09 00:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:38:04] Production.INFO: 1
[2025-02-09 00:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:38:04] Production.INFO: Account Balance End.
[2025-02-09 00:38:04] Production.INFO: ==31236== Releasing lock...
[2025-02-09 00:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:38:04] Production.INFO: ==31231== Releasing lock...
[2025-02-09 00:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:38:05
[end_date_ymd] => 2025-02-09 00:38:05
[RateCDR] => 1
)
[2025-02-09 00:38: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` >= '2025-02-08 21:38:05' and `end` < '2025-02-09 00:38: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 ,'')
[2025-02-09 00:38:12] Production.ERROR: CronJobId end10
[2025-02-09 00:38:12] Production.INFO: ==31229== Releasing lock...
[2025-02-09 00:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:38:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:38:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:38:14] Production.INFO: call_cost start
[2025-02-09 00:38:14] Production.INFO: call_cost end
[2025-02-09 00:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:38:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:38:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:38:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:38:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:38:15] Production.INFO: ==31225== Releasing lock...
[2025-02-09 00:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:38:18] Production.INFO: count ==567
[2025-02-09 00:38:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:38:05 - End Time 2025-02-09 00:38:05
[2025-02-09 00:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433434', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433434', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433434', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433434', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:38:18] Production.INFO: ProcessCDR(1,14433434,1,1,2)
[2025-02-09 00:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433434', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433434', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:38:21] Production.INFO: ==31233== Releasing lock...
[2025-02-09 00:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:38:21] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:39:01] Production.INFO: ==31300== Lock acquired, processing the job...
[2025-02-09 05:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:39:01] Production.INFO: neon service started
[2025-02-09 05:39:01] Production.INFO: neon service started
[2025-02-09 05:39:01] Production.INFO: ==31300== Releasing lock...
[2025-02-09 05:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:39:01] Production.INFO: ==31309== Lock acquired, processing the job...
[2025-02-09 05:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:39:01] Production.INFO: ==31309== Releasing lock...
[2025-02-09 05:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:39:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:39:01] Production.INFO: ==31307== Lock acquired, processing the job...
[2025-02-09 00:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:39:02] Production.INFO: ==31307== Releasing lock...
[2025-02-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:39:03] Production.INFO: ==31318== Lock acquired, processing the job...
[2025-02-09 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:39:03] Production.INFO: ==31320== Lock acquired, processing the job...
[2025-02-09 00:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:39:03] Production.INFO: Account Balance Start.
[2025-02-09 00:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:39:03] Production.INFO: 117
[2025-02-09 00:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:39:03] Production.INFO: Total Charge 0
[2025-02-09 00:39:03] Production.INFO: CreateAllLog End
[2025-02-09 00:39:03] Production.INFO: ==31312== Lock acquired, processing the job...
[2025-02-09 00:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:39:03] Production.INFO: ==31314== Lock acquired, processing the job...
[2025-02-09 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:39:03] Production.INFO: ==31316== Lock acquired, processing the job...
[2025-02-09 00:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:39:03] Production.INFO: Account Balance End.
[2025-02-09 00:39:03] Production.INFO: ==31322== Lock acquired, processing the job...
[2025-02-09 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:39:03] Production.ERROR: CronJobId end 12
[2025-02-09 00:39:03] Production.INFO: ==31318== Releasing lock...
[2025-02-09 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:39:03] Production.ERROR: done
[2025-02-09 00:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:39:03] Production.INFO: ==31314== Releasing lock...
[2025-02-09 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:39:03] Production.INFO: count ==21
[2025-02-09 00:39:03] Production.ERROR: done
[2025-02-09 00:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:39:03] Production.INFO: count ==21
[2025-02-09 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433438') start
[2025-02-09 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433438') end
[2025-02-09 00:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:39:04] Production.INFO: 1
[2025-02-09 00:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:39:04] Production.INFO: ==31322== Releasing lock...
[2025-02-09 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:39:04
[end_date_ymd] => 2025-02-09 00:39:04
[RateCDR] => 1
)
[2025-02-09 00:39:04] 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-02-08 21:39:04' and `end` < '2025-02-09 00:39:04'
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-02-09 00:39:10] Production.ERROR: CronJobId end10
[2025-02-09 00:39:10] Production.INFO: ==31316== Releasing lock...
[2025-02-09 00:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:39:13] Production.INFO: call_cost start
[2025-02-09 00:39:13] Production.INFO: call_cost end
[2025-02-09 00:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:39:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:39:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:39:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:39:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:39:14] Production.INFO: ==31312== Releasing lock...
[2025-02-09 00:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:39:18] Production.INFO: count ==561
[2025-02-09 00:39:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:39:04 - End Time 2025-02-09 00:39:04
[2025-02-09 00:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433439', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433439', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433439', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433439', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:39:18] Production.INFO: ProcessCDR(1,14433439,1,1,2)
[2025-02-09 00:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433439', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433439', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:39:21] Production.INFO: ==31320== Releasing lock...
[2025-02-09 00:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:39:21] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 05:40:01] Production.INFO: ==31385== Lock acquired, processing the job...
[2025-02-09 05:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:40:01] Production.INFO: neon service started
[2025-02-09 05:40:01] Production.INFO: neon service started
[2025-02-09 05:40:01] Production.INFO: ==31385== Releasing lock...
[2025-02-09 05:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:40:02] Production.INFO: ==31387== Lock acquired, processing the job...
[2025-02-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:40:02] Production.INFO: ==31387== Releasing lock...
[2025-02-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:40:02] Production.INFO: ==31389== Lock acquired, processing the job...
[2025-02-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:40:02] Production.INFO: ==31389== Releasing lock...
[2025-02-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:40:03] Production.INFO: ==31393== Lock acquired, processing the job...
[2025-02-09 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 00:40:03] Production.INFO: ==31395== Lock acquired, processing the job...
[2025-02-09 00:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 00:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:40:03] Production.ERROR: CronJob PID - 31395
[2025-02-09 00:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 00:40:03] Production.ERROR: CronJob ID - 5
[2025-02-09 00:40:03] Production.ERROR: CronJob Last Run Time 2025-02-09 00:40:00
[2025-02-09 00:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:40:03] Production.INFO: ==31399== Lock acquired, processing the job...
[2025-02-09 00:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 00:40:03] Production.INFO: ==31393== Releasing lock...
[2025-02-09 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 00:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 00:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:40:03] Production.INFO: ==31405== Lock acquired, processing the job...
[2025-02-09 00:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 00:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:40:04] Production.INFO: ==31397== Lock acquired, processing the job...
[2025-02-09 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:40:04] Production.INFO: ==31403== Lock acquired, processing the job...
[2025-02-09 00:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:40:04] Production.INFO: ==31401== Lock acquired, processing the job...
[2025-02-09 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:40:04] Production.INFO: ==31408== Lock acquired, processing the job...
[2025-02-09 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:40:04] Production.INFO: Account Balance Start.
[2025-02-09 00:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:40:04] Production.INFO: 117
[2025-02-09 00:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:40:04] Production.ERROR: done
[2025-02-09 00:40:04] Production.INFO: count ==21
[2025-02-09 00:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:40:04] Production.INFO: count ==21
[2025-02-09 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433442') start
[2025-02-09 00:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 00:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433444', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 00:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:40:04] Production.INFO: Total Charge 0
[2025-02-09 00:40:04] Production.INFO: ==31397== Releasing lock...
[2025-02-09 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:40:04] Production.INFO: CreateAllLog End
[2025-02-09 00:40:04] Production.ERROR: done
[2025-02-09 00:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433442') end
[2025-02-09 00:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:40:04] Production.INFO: 1
[2025-02-09 00:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:40:05] Production.INFO: ==31408== Releasing lock...
[2025-02-09 00:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:40:05] Production.ERROR: done
[2025-02-09 00:40:05] Production.INFO: Account Balance End.
[2025-02-09 00:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 00:40:05] Production.INFO: ==31401== Releasing lock...
[2025-02-09 00:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:40:06
[end_date_ymd] => 2025-02-09 00:40:06
[RateCDR] => 1
)
[2025-02-09 00:40: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-02-08 21:40:06' and `end` < '2025-02-09 00:40: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-02-09 00:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433444', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 00:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 00:40:08] Production.INFO: ProcessCDR(1,14433444,1,1,2)
[2025-02-09 00:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433444,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433444,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:40:08] Production.INFO: ==31405== Releasing lock...
[2025-02-09 00:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 00:40:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 00:40:13] Production.ERROR: CronJobId end10
[2025-02-09 00:40:13] Production.INFO: ==31399== Releasing lock...
[2025-02-09 00:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:40:16] Production.INFO: call_cost start
[2025-02-09 00:40:16] Production.INFO: call_cost end
[2025-02-09 00:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:40:17] Production.INFO: ==31395== Releasing lock...
[2025-02-09 00:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:40:19] Production.INFO: count ==563
[2025-02-09 00:40:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:40:06 - End Time 2025-02-09 00:40:06
[2025-02-09 00:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433445', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433445', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433445', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433445', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:40:19] Production.INFO: ProcessCDR(1,14433445,1,1,2)
[2025-02-09 00:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433445', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433445', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:40:22] Production.INFO: ==31403== Releasing lock...
[2025-02-09 00:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:40:22] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:41:02] Production.INFO: ==31475== Lock acquired, processing the job...
[2025-02-09 05:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:41:02] Production.INFO: neon service started
[2025-02-09 05:41:02] Production.INFO: neon service started
[2025-02-09 05:41:02] Production.INFO: ==31475== Releasing lock...
[2025-02-09 05:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:41:02] Production.INFO: ==31477== Lock acquired, processing the job...
[2025-02-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:41:02] Production.INFO: ==31479== Lock acquired, processing the job...
[2025-02-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:41:03] Production.INFO: ==31477== Releasing lock...
[2025-02-09 00:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:41:03] Production.INFO: ==31479== Releasing lock...
[2025-02-09 05:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:41:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:41:03] Production.INFO: ==31481== Lock acquired, processing the job...
[2025-02-09 00:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:41:03] Production.INFO: ==31485== Lock acquired, processing the job...
[2025-02-09 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:41:03] Production.INFO: ==31487== Lock acquired, processing the job...
[2025-02-09 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:41:03] Production.INFO: ==31483== Lock acquired, processing the job...
[2025-02-09 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:41:04] Production.INFO: Account Balance Start.
[2025-02-09 00:41:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:41:04] Production.INFO: 117
[2025-02-09 00:41:04] Production.INFO: ==31489== Lock acquired, processing the job...
[2025-02-09 00:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:41:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:41:04] Production.INFO: ==31491== Lock acquired, processing the job...
[2025-02-09 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:41:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:41:04] Production.ERROR: done
[2025-02-09 00:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:41:04] Production.INFO: Total Charge 0
[2025-02-09 00:41:04] Production.INFO: CreateAllLog End
[2025-02-09 00:41:04] Production.INFO: ==31483== Releasing lock...
[2025-02-09 00:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:41:04] Production.INFO: count ==21
[2025-02-09 00:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:41:04] Production.INFO: count ==21
[2025-02-09 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433449') start
[2025-02-09 00:41:04] Production.ERROR: done
[2025-02-09 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433449') end
[2025-02-09 00:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:41:04] Production.INFO: 1
[2025-02-09 00:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:41:04] Production.INFO: Account Balance End.
[2025-02-09 00:41:04] Production.INFO: ==31491== Releasing lock...
[2025-02-09 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:41:04] Production.INFO: ==31487== Releasing lock...
[2025-02-09 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:41:05
[end_date_ymd] => 2025-02-09 00:41:05
[RateCDR] => 1
)
[2025-02-09 00:41: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` >= '2025-02-08 21:41:05' and `end` < '2025-02-09 00:41: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 ,'')
[2025-02-09 00:41:12] Production.ERROR: CronJobId end10
[2025-02-09 00:41:12] Production.INFO: ==31485== Releasing lock...
[2025-02-09 00:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:41:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:41:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:41:14] Production.INFO: call_cost start
[2025-02-09 00:41:14] Production.INFO: call_cost end
[2025-02-09 00:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:41:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:41:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:41:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:41:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:41:15] Production.INFO: ==31481== Releasing lock...
[2025-02-09 00:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:41:18] Production.INFO: count ==570
[2025-02-09 00:41:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:41:05 - End Time 2025-02-09 00:41:05
[2025-02-09 00:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433450', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433450', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433450', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433450', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:41:18] Production.INFO: ProcessCDR(1,14433450,1,1,2)
[2025-02-09 00:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433450', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433450', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:41:21] Production.INFO: ==31489== Releasing lock...
[2025-02-09 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:41:21] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:42:01] Production.INFO: ==31546== Lock acquired, processing the job...
[2025-02-09 05:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:42:01] Production.INFO: neon service started
[2025-02-09 05:42:01] Production.INFO: neon service started
[2025-02-09 05:42:01] Production.INFO: ==31546== Releasing lock...
[2025-02-09 05:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:42:02] Production.INFO: ==31548== Lock acquired, processing the job...
[2025-02-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:42:02] Production.INFO: ==31550== Lock acquired, processing the job...
[2025-02-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:42:02] Production.INFO: ==31550== Releasing lock...
[2025-02-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:42:02] Production.INFO: ==31548== Releasing lock...
[2025-02-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:42:03] Production.INFO: ==31553== Lock acquired, processing the job...
[2025-02-09 00:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:42:03] Production.INFO: ==31555== Lock acquired, processing the job...
[2025-02-09 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:42:03] Production.INFO: ==31563== Lock acquired, processing the job...
[2025-02-09 00:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:42:03] Production.INFO: ==31557== Lock acquired, processing the job...
[2025-02-09 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:42:03] Production.INFO: count ==21
[2025-02-09 00:42:03] Production.INFO: ==31555== Releasing lock...
[2025-02-09 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:42:03] Production.INFO: count ==21
[2025-02-09 00:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433453') start
[2025-02-09 00:42:03] Production.INFO: ==31559== Lock acquired, processing the job...
[2025-02-09 00:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:42:04] Production.INFO: ==31561== Lock acquired, processing the job...
[2025-02-09 00:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:42:04] Production.INFO: Account Balance Start.
[2025-02-09 00:42:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:42:04] Production.INFO: 117
[2025-02-09 00:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433453') end
[2025-02-09 00:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:42:04] Production.INFO: 1
[2025-02-09 00:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:42:04] Production.INFO: ==31563== Releasing lock...
[2025-02-09 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:42:04] Production.INFO: Total Charge 0
[2025-02-09 00:42:04] Production.INFO: CreateAllLog End
[2025-02-09 00:42:04] Production.INFO: Account Balance End.
[2025-02-09 00:42:04] Production.ERROR: done
[2025-02-09 00:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:42:04] Production.INFO: ==31559== Releasing lock...
[2025-02-09 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:42:04] Production.ERROR: done
[2025-02-09 00:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:42:05
[end_date_ymd] => 2025-02-09 00:42:05
[RateCDR] => 1
)
[2025-02-09 00:42: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` >= '2025-02-08 21:42:05' and `end` < '2025-02-09 00:42: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 ,'')
[2025-02-09 00:42:12] Production.ERROR: CronJobId end10
[2025-02-09 00:42:12] Production.INFO: ==31557== Releasing lock...
[2025-02-09 00:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:42:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:42:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:42:14] Production.INFO: call_cost start
[2025-02-09 00:42:14] Production.INFO: call_cost end
[2025-02-09 00:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:42:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:42:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:42:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:42:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:42:15] Production.INFO: ==31553== Releasing lock...
[2025-02-09 00:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:42:18] Production.INFO: count ==695
[2025-02-09 00:42:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:42:05 - End Time 2025-02-09 00:42:05
[2025-02-09 00:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433455', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433455', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433455', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433455', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:42:19] Production.INFO: ProcessCDR(1,14433455,1,1,2)
[2025-02-09 00:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433455', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433455', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:42:22] Production.INFO: ==31561== Releasing lock...
[2025-02-09 00:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:42:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 05:43:02] Production.INFO: ==31630== Lock acquired, processing the job...
[2025-02-09 05:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:43:02] Production.INFO: neon service started
[2025-02-09 05:43:02] Production.INFO: neon service started
[2025-02-09 05:43:02] Production.INFO: ==31630== Releasing lock...
[2025-02-09 05:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:43:02] Production.INFO: ==31634== Lock acquired, processing the job...
[2025-02-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:43:02] Production.INFO: ==31634== Releasing lock...
[2025-02-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:43:02] Production.INFO: ==31632== Lock acquired, processing the job...
[2025-02-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:43:03] Production.INFO: ==31632== Releasing lock...
[2025-02-09 00:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:43:03] Production.INFO: ==31636== Lock acquired, processing the job...
[2025-02-09 00:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:43:03] Production.INFO: ==31638== Lock acquired, processing the job...
[2025-02-09 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:43:03] Production.INFO: ==31638== Releasing lock...
[2025-02-09 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:43:04] Production.INFO: ==31640== Lock acquired, processing the job...
[2025-02-09 00:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:43:04] Production.INFO: ==31647== Lock acquired, processing the job...
[2025-02-09 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:43:04] Production.INFO: ==31642== Lock acquired, processing the job...
[2025-02-09 00:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:43:04] Production.INFO: ==31645== Lock acquired, processing the job...
[2025-02-09 00:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:43:04] Production.INFO: count ==21
[2025-02-09 00:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:43:04] Production.INFO: count ==21
[2025-02-09 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433458') start
[2025-02-09 00:43:04] Production.INFO: Account Balance Start.
[2025-02-09 00:43:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433458') end
[2025-02-09 00:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:43:04] Production.INFO: 1
[2025-02-09 00:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:43:04] Production.INFO: 117
[2025-02-09 00:43:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:43:04] Production.INFO: ==31647== Releasing lock...
[2025-02-09 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:43:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:43:04] Production.INFO: Total Charge 0
[2025-02-09 00:43:04] Production.INFO: CreateAllLog End
[2025-02-09 00:43:04] Production.ERROR: done
[2025-02-09 00:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:43:04] Production.INFO: Account Balance End.
[2025-02-09 00:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:43:04] Production.INFO: ==31642== Releasing lock...
[2025-02-09 00:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:43:04] Production.ERROR: done
[2025-02-09 00:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:43:05
[end_date_ymd] => 2025-02-09 00:43:05
[RateCDR] => 1
)
[2025-02-09 00:43: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` >= '2025-02-08 21:43:05' and `end` < '2025-02-09 00:43: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 ,'')
[2025-02-09 00:43:12] Production.ERROR: CronJobId end10
[2025-02-09 00:43:12] Production.INFO: ==31640== Releasing lock...
[2025-02-09 00:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:43:14] Production.INFO: call_cost start
[2025-02-09 00:43:14] Production.INFO: call_cost end
[2025-02-09 00:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:43:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:43:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:43:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:43:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:43:15] Production.INFO: ==31636== Releasing lock...
[2025-02-09 00:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:43:18] Production.INFO: count ==687
[2025-02-09 00:43:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:43:05 - End Time 2025-02-09 00:43:05
[2025-02-09 00:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433460', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433460', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433460', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433460', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:43:19] Production.INFO: ProcessCDR(1,14433460,1,1,2)
[2025-02-09 00:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433460', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433460', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:43:21] Production.INFO: ==31645== Releasing lock...
[2025-02-09 00:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:43:21] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 05:44:01] Production.INFO: ==31708== Lock acquired, processing the job...
[2025-02-09 05:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:44:01] Production.INFO: neon service started
[2025-02-09 05:44:01] Production.INFO: neon service started
[2025-02-09 05:44:01] Production.INFO: ==31708== Releasing lock...
[2025-02-09 05:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:44:02] Production.INFO: ==31712== Lock acquired, processing the job...
[2025-02-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:44:02] Production.INFO: ==31712== Releasing lock...
[2025-02-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:44:02] Production.INFO: ==31710== Lock acquired, processing the job...
[2025-02-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:44:02] Production.INFO: ==31710== Releasing lock...
[2025-02-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:44:03] Production.INFO: ==31716== Lock acquired, processing the job...
[2025-02-09 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:44:03] Production.INFO: ==31714== Lock acquired, processing the job...
[2025-02-09 00:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:44:03] Production.INFO: ==31725== Lock acquired, processing the job...
[2025-02-09 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:44:03] Production.INFO: count ==21
[2025-02-09 00:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:44:03] Production.INFO: count ==21
[2025-02-09 00:44:03] Production.INFO: ==31716== Releasing lock...
[2025-02-09 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433463') start
[2025-02-09 00:44:03] Production.INFO: ==31718== Lock acquired, processing the job...
[2025-02-09 00:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:44:03] Production.INFO: ==31720== Lock acquired, processing the job...
[2025-02-09 00:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433463') end
[2025-02-09 00:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:44:03] Production.INFO: 1
[2025-02-09 00:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:44:03] Production.INFO: ==31722== Lock acquired, processing the job...
[2025-02-09 00:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:44:03] Production.INFO: ==31725== Releasing lock...
[2025-02-09 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:44:03] Production.INFO: Account Balance Start.
[2025-02-09 00:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:44:03] Production.INFO: 117
[2025-02-09 00:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:44:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:44:03] Production.INFO: Total Charge 0
[2025-02-09 00:44:03] Production.INFO: CreateAllLog End
[2025-02-09 00:44:04] Production.ERROR: done
[2025-02-09 00:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:44:04] Production.INFO: Account Balance End.
[2025-02-09 00:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:44:04] Production.INFO: ==31720== Releasing lock...
[2025-02-09 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:44:04] Production.ERROR: done
[2025-02-09 00:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:44:04
[end_date_ymd] => 2025-02-09 00:44:04
[RateCDR] => 1
)
[2025-02-09 00:44:04] 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-02-08 21:44:04' and `end` < '2025-02-09 00:44:04'
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-02-09 00:44:10] Production.ERROR: CronJobId end10
[2025-02-09 00:44:10] Production.INFO: ==31718== Releasing lock...
[2025-02-09 00:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:44:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:44:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:44:13] Production.INFO: call_cost start
[2025-02-09 00:44:13] Production.INFO: call_cost end
[2025-02-09 00:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:44:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:44:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:44:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:44:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:44:13] Production.INFO: ==31714== Releasing lock...
[2025-02-09 00:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:44:18] Production.INFO: count ==680
[2025-02-09 00:44:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:44:04 - End Time 2025-02-09 00:44:04
[2025-02-09 00:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433465', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433465', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433465', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433465', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:44:18] Production.INFO: ProcessCDR(1,14433465,1,1,2)
[2025-02-09 00:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433465', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433465', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:44:22] Production.INFO: ==31722== Releasing lock...
[2025-02-09 00:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:44:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 05:45:02] Production.INFO: ==31796== Lock acquired, processing the job...
[2025-02-09 05:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:45:02] Production.INFO: neon service started
[2025-02-09 05:45:02] Production.INFO: neon service started
[2025-02-09 05:45:02] Production.INFO: ==31796== Releasing lock...
[2025-02-09 05:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:45:02] Production.INFO: ==31798== Lock acquired, processing the job...
[2025-02-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:45:02] Production.INFO: ==31800== Lock acquired, processing the job...
[2025-02-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:45:02] Production.INFO: ==31800== Releasing lock...
[2025-02-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:45:02] Production.INFO: ==31798== Releasing lock...
[2025-02-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:45:03] Production.INFO: ==31809== Lock acquired, processing the job...
[2025-02-09 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:45:03] Production.INFO: ==31805== Lock acquired, processing the job...
[2025-02-09 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:45:03] Production.INFO: Account Balance Start.
[2025-02-09 00:45:03] Production.INFO: ==31813== Lock acquired, processing the job...
[2025-02-09 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:45:03] Production.INFO: 117
[2025-02-09 00:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:45:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:45:03] Production.INFO: ==31803== Lock acquired, processing the job...
[2025-02-09 00:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:45:03] Production.INFO: Total Charge 0
[2025-02-09 00:45:03] Production.INFO: CreateAllLog End
[2025-02-09 00:45:03] Production.INFO: ==31807== Lock acquired, processing the job...
[2025-02-09 00:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:45:04] Production.INFO: count ==21
[2025-02-09 00:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:45:04] Production.INFO: count ==21
[2025-02-09 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433467') start
[2025-02-09 00:45:04] Production.INFO: ==31811== Lock acquired, processing the job...
[2025-02-09 00:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:45:04] Production.INFO: Account Balance End.
[2025-02-09 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433467') end
[2025-02-09 00:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:45:04] Production.INFO: 1
[2025-02-09 00:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:45:04] Production.INFO: ==31809== Releasing lock...
[2025-02-09 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:45:04] Production.INFO: ==31813== Releasing lock...
[2025-02-09 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:45:04] Production.INFO: ==31805== Releasing lock...
[2025-02-09 00:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:45:04] Production.ERROR: done
[2025-02-09 00:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:45:04] Production.ERROR: done
[2025-02-09 00:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:45:05
[end_date_ymd] => 2025-02-09 00:45:05
[RateCDR] => 1
)
[2025-02-09 00:45: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` >= '2025-02-08 21:45:05' and `end` < '2025-02-09 00:45: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 ,'')
[2025-02-09 00:45:12] Production.ERROR: CronJobId end10
[2025-02-09 00:45:12] Production.INFO: ==31807== Releasing lock...
[2025-02-09 00:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:45:14] Production.INFO: call_cost start
[2025-02-09 00:45:14] Production.INFO: call_cost end
[2025-02-09 00:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:45:15] Production.INFO: ==31803== Releasing lock...
[2025-02-09 00:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:45:18] Production.INFO: count ==670
[2025-02-09 00:45:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:45:05 - End Time 2025-02-09 00:45:05
[2025-02-09 00:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433470', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433470', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433470', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433470', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:45:19] Production.INFO: ProcessCDR(1,14433470,1,1,2)
[2025-02-09 00:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433470', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433470', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:45:22] Production.INFO: ==31811== Releasing lock...
[2025-02-09 00:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:45:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 05:46:01] Production.INFO: ==31867== Lock acquired, processing the job...
[2025-02-09 05:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:46:01] Production.INFO: neon service started
[2025-02-09 05:46:01] Production.INFO: neon service started
[2025-02-09 05:46:01] Production.INFO: ==31867== Releasing lock...
[2025-02-09 05:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:46:02] Production.INFO: ==31869== Lock acquired, processing the job...
[2025-02-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:46:02] Production.INFO: ==31869== Releasing lock...
[2025-02-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:46:02] Production.INFO: ==31871== Lock acquired, processing the job...
[2025-02-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:46:02] Production.INFO: ==31871== Releasing lock...
[2025-02-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:46:03] Production.INFO: ==31884== Lock acquired, processing the job...
[2025-02-09 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:46:03] Production.INFO: ==31880== Lock acquired, processing the job...
[2025-02-09 00:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:46:03] Production.INFO: ==31873== Lock acquired, processing the job...
[2025-02-09 00:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:46:03] Production.INFO: ==31875== Lock acquired, processing the job...
[2025-02-09 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:46:03] Production.INFO: Account Balance Start.
[2025-02-09 00:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:46:03] Production.INFO: 117
[2025-02-09 00:46:03] Production.INFO: count ==21
[2025-02-09 00:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:46:03] Production.INFO: count ==21
[2025-02-09 00:46:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:46:03] Production.INFO: ==31878== Lock acquired, processing the job...
[2025-02-09 00:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433472') start
[2025-02-09 00:46:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:46:03] Production.INFO: ==31882== Lock acquired, processing the job...
[2025-02-09 00:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:46:03] Production.INFO: Total Charge 0
[2025-02-09 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433472') end
[2025-02-09 00:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:46:03] Production.INFO: 1
[2025-02-09 00:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:46:03] Production.INFO: CreateAllLog End
[2025-02-09 00:46:03] Production.INFO: ==31884== Releasing lock...
[2025-02-09 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:46:03] Production.INFO: ==31875== Releasing lock...
[2025-02-09 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:46:04] Production.ERROR: done
[2025-02-09 00:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:46:04] Production.INFO: Account Balance End.
[2025-02-09 00:46:04] Production.ERROR: done
[2025-02-09 00:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:46:04] Production.INFO: ==31880== Releasing lock...
[2025-02-09 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:46:05
[end_date_ymd] => 2025-02-09 00:46:05
[RateCDR] => 1
)
[2025-02-09 00:46: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` >= '2025-02-08 21:46:05' and `end` < '2025-02-09 00:46: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 ,'')
[2025-02-09 00:46:12] Production.ERROR: CronJobId end10
[2025-02-09 00:46:12] Production.INFO: ==31878== Releasing lock...
[2025-02-09 00:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:46:14] Production.INFO: call_cost start
[2025-02-09 00:46:14] Production.INFO: call_cost end
[2025-02-09 00:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:46:15] Production.INFO: ==31873== Releasing lock...
[2025-02-09 00:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:46:18] Production.INFO: count ==667
[2025-02-09 00:46:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:46:05 - End Time 2025-02-09 00:46:05
[2025-02-09 00:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433475', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433475', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433475', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433475', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:46:18] Production.INFO: ProcessCDR(1,14433475,1,1,2)
[2025-02-09 00:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433475', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433475', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:46:21] Production.INFO: ==31882== Releasing lock...
[2025-02-09 00:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:46:21] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 05:47:02] Production.INFO: ==31955== Lock acquired, processing the job...
[2025-02-09 05:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:47:02] Production.INFO: neon service started
[2025-02-09 05:47:02] Production.INFO: neon service started
[2025-02-09 05:47:02] Production.INFO: ==31955== Releasing lock...
[2025-02-09 05:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:47:02] Production.INFO: ==31958== Lock acquired, processing the job...
[2025-02-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:47:02] Production.INFO: ==31958== Releasing lock...
[2025-02-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:47:02] Production.INFO: ==31960== Lock acquired, processing the job...
[2025-02-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:47:02] Production.INFO: ==31960== Releasing lock...
[2025-02-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:47:03] Production.INFO: ==31970== Lock acquired, processing the job...
[2025-02-09 00:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:47:03] Production.INFO: ==31972== Lock acquired, processing the job...
[2025-02-09 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:47:03] Production.ERROR: done
[2025-02-09 00:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:47:03] Production.INFO: ==31962== Lock acquired, processing the job...
[2025-02-09 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:47:03] Production.INFO: ==31964== Lock acquired, processing the job...
[2025-02-09 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:47:03] Production.INFO: ==31966== Lock acquired, processing the job...
[2025-02-09 00:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:47:04] Production.INFO: ==31968== Lock acquired, processing the job...
[2025-02-09 00:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:47:04] Production.INFO: count ==21
[2025-02-09 00:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:47:04] Production.INFO: count ==21
[2025-02-09 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433476') start
[2025-02-09 00:47:04] Production.ERROR: done
[2025-02-09 00:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:47:04] Production.INFO: Account Balance Start.
[2025-02-09 00:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:47:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:47:04] Production.INFO: 117
[2025-02-09 00:47:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433476') end
[2025-02-09 00:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:47:04] Production.INFO: 1
[2025-02-09 00:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:47:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:47:04] Production.INFO: Total Charge 0
[2025-02-09 00:47:04] Production.INFO: CreateAllLog End
[2025-02-09 00:47:04] Production.INFO: ==31972== Releasing lock...
[2025-02-09 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:47:04] Production.INFO: ==31964== Releasing lock...
[2025-02-09 00:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:47:04] Production.INFO: Account Balance End.
[2025-02-09 00:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:47:04] Production.INFO: ==31968== Releasing lock...
[2025-02-09 00:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:47:05
[end_date_ymd] => 2025-02-09 00:47:05
[RateCDR] => 1
)
[2025-02-09 00:47: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` >= '2025-02-08 21:47:05' and `end` < '2025-02-09 00:47: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 ,'')
[2025-02-09 00:47:12] Production.ERROR: CronJobId end10
[2025-02-09 00:47:12] Production.INFO: ==31966== Releasing lock...
[2025-02-09 00:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:47:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:47:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:47:14] Production.INFO: call_cost start
[2025-02-09 00:47:14] Production.INFO: call_cost end
[2025-02-09 00:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:47:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:47:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:47:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:47:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:47:14] Production.INFO: ==31962== Releasing lock...
[2025-02-09 00:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:47:18] Production.INFO: count ==657
[2025-02-09 00:47:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:47:05 - End Time 2025-02-09 00:47:05
[2025-02-09 00:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433478', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433478', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433478', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433478', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:47:18] Production.INFO: ProcessCDR(1,14433478,1,1,2)
[2025-02-09 00:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433478', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433478', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:47:21] Production.INFO: ==31970== Releasing lock...
[2025-02-09 00:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:47:21] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 05:48:01] Production.INFO: ==32032== Lock acquired, processing the job...
[2025-02-09 05:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:48:01] Production.INFO: neon service started
[2025-02-09 05:48:01] Production.INFO: neon service started
[2025-02-09 05:48:01] Production.INFO: ==32032== Releasing lock...
[2025-02-09 05:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:48:01] Production.INFO: ==32034== Lock acquired, processing the job...
[2025-02-09 00:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:48:02] Production.INFO: ==32034== Releasing lock...
[2025-02-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:48:02] Production.INFO: ==32036== Lock acquired, processing the job...
[2025-02-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:48:02] Production.INFO: ==32036== Releasing lock...
[2025-02-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:48:03] Production.INFO: ==32038== Lock acquired, processing the job...
[2025-02-09 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:48:03] Production.INFO: ==32048== Lock acquired, processing the job...
[2025-02-09 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:48:03] Production.INFO: ==32040== Lock acquired, processing the job...
[2025-02-09 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:48:03] Production.INFO: ==32042== Lock acquired, processing the job...
[2025-02-09 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:48:03] Production.INFO: count ==21
[2025-02-09 00:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:48:03] Production.INFO: count ==21
[2025-02-09 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433482') start
[2025-02-09 00:48:03] Production.INFO: ==32044== Lock acquired, processing the job...
[2025-02-09 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433482') end
[2025-02-09 00:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:48:03] Production.INFO: 1
[2025-02-09 00:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:48:03] Production.INFO: ==32046== Lock acquired, processing the job...
[2025-02-09 00:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:48:03] Production.INFO: ==32048== Releasing lock...
[2025-02-09 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:48:03] Production.INFO: Account Balance Start.
[2025-02-09 00:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:48:03] Production.INFO: 117
[2025-02-09 00:48:03] Production.INFO: ==32040== Releasing lock...
[2025-02-09 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:48:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:48:04] Production.ERROR: done
[2025-02-09 00:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:48:04] Production.INFO: Total Charge 0
[2025-02-09 00:48:04] Production.INFO: CreateAllLog End
[2025-02-09 00:48:04] Production.ERROR: done
[2025-02-09 00:48:04] Production.INFO: Account Balance End.
[2025-02-09 00:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:48:04] Production.INFO: ==32044== Releasing lock...
[2025-02-09 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:48:05
[end_date_ymd] => 2025-02-09 00:48:05
[RateCDR] => 1
)
[2025-02-09 00:48: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` >= '2025-02-08 21:48:05' and `end` < '2025-02-09 00:48: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 ,'')
[2025-02-09 00:48:11] Production.ERROR: CronJobId end10
[2025-02-09 00:48:11] Production.INFO: ==32042== Releasing lock...
[2025-02-09 00:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:48:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:48:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:48:13] Production.INFO: call_cost start
[2025-02-09 00:48:13] Production.INFO: call_cost end
[2025-02-09 00:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:48:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:48:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:48:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:48:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:48:14] Production.INFO: ==32038== Releasing lock...
[2025-02-09 00:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:48:18] Production.INFO: count ==657
[2025-02-09 00:48:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:48:05 - End Time 2025-02-09 00:48:05
[2025-02-09 00:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433485', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433485', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433485', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433485', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:48:18] Production.INFO: ProcessCDR(1,14433485,1,1,2)
[2025-02-09 00:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433485', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433485', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:48:21] Production.INFO: ==32046== Releasing lock...
[2025-02-09 00:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:48:21] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 05:49:02] Production.INFO: ==32114== Lock acquired, processing the job...
[2025-02-09 05:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:49:02] Production.INFO: neon service started
[2025-02-09 05:49:02] Production.INFO: neon service started
[2025-02-09 05:49:02] Production.INFO: ==32114== Releasing lock...
[2025-02-09 05:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:49:02] Production.INFO: ==32118== Lock acquired, processing the job...
[2025-02-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:49:02] Production.INFO: ==32118== Releasing lock...
[2025-02-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:49:02] Production.INFO: ==32116== Lock acquired, processing the job...
[2025-02-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:49:02] Production.INFO: ==32116== Releasing lock...
[2025-02-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:49:03] Production.INFO: ==32120== Lock acquired, processing the job...
[2025-02-09 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:49:03] Production.INFO: ==32131== Lock acquired, processing the job...
[2025-02-09 00:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:49:03] Production.INFO: ==32122== Lock acquired, processing the job...
[2025-02-09 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:49:03] Production.INFO: ==32124== Lock acquired, processing the job...
[2025-02-09 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:49:04] Production.INFO: ==32127== Lock acquired, processing the job...
[2025-02-09 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:49:04] Production.INFO: count ==21
[2025-02-09 00:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:49:04] Production.INFO: count ==21
[2025-02-09 00:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:49:04] Production.INFO: ==32129== Lock acquired, processing the job...
[2025-02-09 00:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433488') start
[2025-02-09 00:49:04] Production.INFO: Account Balance Start.
[2025-02-09 00:49:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:49:04] Production.INFO: 117
[2025-02-09 00:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:49:04] Production.INFO: ==32122== Releasing lock...
[2025-02-09 00:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:49:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433488') end
[2025-02-09 00:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:49:04] Production.INFO: 1
[2025-02-09 00:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:49:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:49:04] Production.INFO: Total Charge 0
[2025-02-09 00:49:04] Production.INFO: ==32131== Releasing lock...
[2025-02-09 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:49:04] Production.INFO: CreateAllLog End
[2025-02-09 00:49:04] Production.ERROR: done
[2025-02-09 00:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:49:04] Production.ERROR: done
[2025-02-09 00:49:04] Production.INFO: Account Balance End.
[2025-02-09 00:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:49:04] Production.INFO: ==32127== Releasing lock...
[2025-02-09 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:49:05
[end_date_ymd] => 2025-02-09 00:49:05
[RateCDR] => 1
)
[2025-02-09 00:49: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` >= '2025-02-08 21:49:05' and `end` < '2025-02-09 00:49: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 ,'')
[2025-02-09 00:49:12] Production.ERROR: CronJobId end10
[2025-02-09 00:49:12] Production.INFO: ==32124== Releasing lock...
[2025-02-09 00:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:49:14] Production.INFO: call_cost start
[2025-02-09 00:49:14] Production.INFO: call_cost end
[2025-02-09 00:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:49:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:49:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:49:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:49:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:49:15] Production.INFO: ==32120== Releasing lock...
[2025-02-09 00:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:49:18] Production.INFO: count ==658
[2025-02-09 00:49:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:49:05 - End Time 2025-02-09 00:49:05
[2025-02-09 00:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433490', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433490', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433490', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433490', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:49:18] Production.INFO: ProcessCDR(1,14433490,1,1,2)
[2025-02-09 00:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433490', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433490', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:49:22] Production.INFO: ==32129== Releasing lock...
[2025-02-09 00:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:49:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 05:50:01] Production.INFO: ==32197== Lock acquired, processing the job...
[2025-02-09 05:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:50:01] Production.INFO: neon service started
[2025-02-09 05:50:01] Production.INFO: neon service started
[2025-02-09 05:50:01] Production.INFO: ==32197== Releasing lock...
[2025-02-09 05:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:50:01] Production.INFO: ==32199== Lock acquired, processing the job...
[2025-02-09 00:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:50:02] Production.INFO: ==32199== Releasing lock...
[2025-02-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:50:02] Production.INFO: ==32201== Lock acquired, processing the job...
[2025-02-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:50:02] Production.INFO: ==32201== Releasing lock...
[2025-02-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:50:03] Production.INFO: ==32209== Lock acquired, processing the job...
[2025-02-09 00:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:50:03] Production.INFO: ==32203== Lock acquired, processing the job...
[2025-02-09 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 00:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:50:03] Production.INFO: ==32213== Lock acquired, processing the job...
[2025-02-09 00:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:50:03] Production.INFO: ==32205== Lock acquired, processing the job...
[2025-02-09 00:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:50:03] Production.ERROR: CronJob PID - 32209
[2025-02-09 00:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 00:50:03] Production.ERROR: CronJob ID - 10
[2025-02-09 00:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 00:50:00
[2025-02-09 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 00:50:03] Production.ERROR: CronJob PID - 32213
[2025-02-09 00:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 00:50:03] Production.ERROR: CronJob ID - 16
[2025-02-09 00:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 00:50:00
[2025-02-09 00:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 00:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:50:03] Production.INFO: ==32207== Lock acquired, processing the job...
[2025-02-09 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:50:03] Production.INFO: ==32211== Lock acquired, processing the job...
[2025-02-09 00:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:50:03] Production.INFO: ==32217== Lock acquired, processing the job...
[2025-02-09 00:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:50:03] Production.INFO: ==32215== Lock acquired, processing the job...
[2025-02-09 00:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 00:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 00:50:03] Production.INFO: ==32203== Releasing lock...
[2025-02-09 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 00:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 00:50:03] Production.INFO: Account Balance Start.
[2025-02-09 00:50:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:50:03] Production.INFO: 117
[2025-02-09 00:50:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:50:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:50:03] Production.ERROR: done
[2025-02-09 00:50:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:50:04] Production.ERROR: done
[2025-02-09 00:50:04] Production.INFO: Total Charge 0
[2025-02-09 00:50:04] Production.INFO: count ==21
[2025-02-09 00:50:04] Production.INFO: CreateAllLog End
[2025-02-09 00:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:50:04] Production.INFO: count ==21
[2025-02-09 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433493') start
[2025-02-09 00:50:04] Production.INFO: ==32207== Releasing lock...
[2025-02-09 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:50:04] Production.INFO: Account Balance End.
[2025-02-09 00:50:04] Production.ERROR: done
[2025-02-09 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433493') end
[2025-02-09 00:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:50:04] Production.INFO: 1
[2025-02-09 00:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:50:04] Production.INFO: ==32217== Releasing lock...
[2025-02-09 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:50:04] Production.INFO: ==32211== Releasing lock...
[2025-02-09 00:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 00:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433496', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 00:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:50:05
[end_date_ymd] => 2025-02-09 00:50:05
[RateCDR] => 1
)
[2025-02-09 00:50: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` >= '2025-02-08 21:50:05' and `end` < '2025-02-09 00:50: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 ,'')
[2025-02-09 00:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433496', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 00:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 00:50:08] Production.INFO: ProcessCDR(1,14433496,1,1,2)
[2025-02-09 00:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433496,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433496,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:50:08] Production.INFO: ==32215== Releasing lock...
[2025-02-09 00:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 00:50:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 00:50:13] Production.ERROR: CronJobId end10
[2025-02-09 00:50:13] Production.INFO: ==32209== Releasing lock...
[2025-02-09 00:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:50:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:50:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:50:15] Production.INFO: call_cost start
[2025-02-09 00:50:15] Production.INFO: call_cost end
[2025-02-09 00:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:50:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:50:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:50:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:50:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:50:16] Production.INFO: ==32205== Releasing lock...
[2025-02-09 00:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:50:18] Production.INFO: count ==659
[2025-02-09 00:50:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:50:05 - End Time 2025-02-09 00:50:05
[2025-02-09 00:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433495', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433495', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433495', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433495', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:50:18] Production.INFO: ProcessCDR(1,14433495,1,1,2)
[2025-02-09 00:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433495', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433495', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:50:21] Production.INFO: ==32213== Releasing lock...
[2025-02-09 00:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:50:21] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 05:51:01] Production.INFO: ==32313== Lock acquired, processing the job...
[2025-02-09 05:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:51:01] Production.INFO: neon service started
[2025-02-09 05:51:01] Production.INFO: neon service started
[2025-02-09 05:51:01] Production.INFO: ==32313== Releasing lock...
[2025-02-09 05:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:51:02] Production.INFO: ==32315== Lock acquired, processing the job...
[2025-02-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:51:02] Production.INFO: ==32317== Lock acquired, processing the job...
[2025-02-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:51:02] Production.INFO: ==32317== Releasing lock...
[2025-02-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:51:02] Production.INFO: ==32315== Releasing lock...
[2025-02-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:51:03] Production.INFO: ==32322== Lock acquired, processing the job...
[2025-02-09 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:51:03] Production.INFO: ==32324== Lock acquired, processing the job...
[2025-02-09 00:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:51:03] Production.INFO: ==32330== Lock acquired, processing the job...
[2025-02-09 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:51:03] Production.INFO: ==32322== Releasing lock...
[2025-02-09 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:51:03] Production.INFO: ==32320== Lock acquired, processing the job...
[2025-02-09 00:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:51:03] Production.INFO: count ==21
[2025-02-09 00:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:51:03] Production.INFO: count ==21
[2025-02-09 00:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433498') start
[2025-02-09 00:51:03] Production.INFO: ==32328== Lock acquired, processing the job...
[2025-02-09 00:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:51:03] Production.INFO: ==32326== Lock acquired, processing the job...
[2025-02-09 00:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433498') end
[2025-02-09 00:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:51:04] Production.INFO: 1
[2025-02-09 00:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:51:04] Production.INFO: ==32330== Releasing lock...
[2025-02-09 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:51:04] Production.INFO: Account Balance Start.
[2025-02-09 00:51:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:51:04] Production.INFO: 117
[2025-02-09 00:51:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:51:04] Production.INFO: Total Charge 0
[2025-02-09 00:51:04] Production.INFO: CreateAllLog End
[2025-02-09 00:51:04] Production.ERROR: done
[2025-02-09 00:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:51:04] Production.INFO: Account Balance End.
[2025-02-09 00:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:51:04] Production.INFO: ==32326== Releasing lock...
[2025-02-09 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:51:04] Production.ERROR: done
[2025-02-09 00:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:51:05
[end_date_ymd] => 2025-02-09 00:51:05
[RateCDR] => 1
)
[2025-02-09 00:51: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` >= '2025-02-08 21:51:05' and `end` < '2025-02-09 00:51: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 ,'')
[2025-02-09 00:51:11] Production.ERROR: CronJobId end10
[2025-02-09 00:51:11] Production.INFO: ==32324== Releasing lock...
[2025-02-09 00:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:51:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:51:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:51:13] Production.INFO: call_cost start
[2025-02-09 00:51:13] Production.INFO: call_cost end
[2025-02-09 00:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:51:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:51:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:51:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:51:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:51:14] Production.INFO: ==32320== Releasing lock...
[2025-02-09 00:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:51:18] Production.INFO: count ==677
[2025-02-09 00:51:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:51:05 - End Time 2025-02-09 00:51:05
[2025-02-09 00:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433501', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433501', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433501', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433501', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:51:18] Production.INFO: ProcessCDR(1,14433501,1,1,2)
[2025-02-09 00:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433501', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433501', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:51:23] Production.INFO: ==32328== Releasing lock...
[2025-02-09 00:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:51:23] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 05:52:02] Production.INFO: ==32390== Lock acquired, processing the job...
[2025-02-09 05:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:52:02] Production.INFO: neon service started
[2025-02-09 05:52:02] Production.INFO: neon service started
[2025-02-09 05:52:02] Production.INFO: ==32390== Releasing lock...
[2025-02-09 05:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:52:02] Production.INFO: ==32395== Lock acquired, processing the job...
[2025-02-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:52:02] Production.INFO: ==32395== Releasing lock...
[2025-02-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:52:02] Production.INFO: ==32393== Lock acquired, processing the job...
[2025-02-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:52:03] Production.INFO: ==32393== Releasing lock...
[2025-02-09 00:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:52:04] Production.INFO: ==32399== Lock acquired, processing the job...
[2025-02-09 00:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:52:04] Production.INFO: ==32401== Lock acquired, processing the job...
[2025-02-09 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:52:04] Production.INFO: ==32405== Lock acquired, processing the job...
[2025-02-09 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:52:04] Production.INFO: Account Balance Start.
[2025-02-09 00:52:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:52:04] Production.INFO: 117
[2025-02-09 00:52:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:52:04] Production.INFO: ==32403== Lock acquired, processing the job...
[2025-02-09 00:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:52:04] Production.INFO: ==32401== Releasing lock...
[2025-02-09 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:52:04] Production.INFO: Total Charge 0
[2025-02-09 00:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:52:04] Production.INFO: CreateAllLog End
[2025-02-09 00:52:04] Production.INFO: ==32407== Lock acquired, processing the job...
[2025-02-09 00:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:52:04] Production.INFO: ==32409== Lock acquired, processing the job...
[2025-02-09 00:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:52:04] Production.INFO: Account Balance End.
[2025-02-09 00:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:52:04] Production.INFO: ==32405== Releasing lock...
[2025-02-09 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:52:04] Production.INFO: count ==21
[2025-02-09 00:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:52:05] Production.INFO: count ==21
[2025-02-09 00:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433505') start
[2025-02-09 00:52:05] Production.ERROR: done
[2025-02-09 00:52:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433505') end
[2025-02-09 00:52:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:52:05] Production.INFO: 1
[2025-02-09 00:52:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:52:05] Production.INFO: ==32409== Releasing lock...
[2025-02-09 00:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:52:05] Production.ERROR: done
[2025-02-09 00:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:52:06
[end_date_ymd] => 2025-02-09 00:52:06
[RateCDR] => 1
)
[2025-02-09 00:52: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-02-08 21:52:06' and `end` < '2025-02-09 00:52: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-02-09 00:52:12] Production.ERROR: CronJobId end10
[2025-02-09 00:52:13] Production.INFO: ==32403== Releasing lock...
[2025-02-09 00:52:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:52:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:52:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:52:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:52:15] Production.INFO: call_cost start
[2025-02-09 00:52:15] Production.INFO: call_cost end
[2025-02-09 00:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:52:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:52:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:52:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:52:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:52:16] Production.INFO: ==32399== Releasing lock...
[2025-02-09 00:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:52:19] Production.INFO: count ==668
[2025-02-09 00:52:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:52:06 - End Time 2025-02-09 00:52:06
[2025-02-09 00:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433506', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433506', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433506', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433506', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:52:19] Production.INFO: ProcessCDR(1,14433506,1,1,2)
[2025-02-09 00:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433506', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433506', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:52:22] Production.INFO: ==32407== Releasing lock...
[2025-02-09 00:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:52:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 05:53:01] Production.INFO: ==32472== Lock acquired, processing the job...
[2025-02-09 05:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:53:01] Production.INFO: neon service started
[2025-02-09 05:53:01] Production.INFO: neon service started
[2025-02-09 05:53:01] Production.INFO: ==32472== Releasing lock...
[2025-02-09 05:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:53:02] Production.INFO: ==32476== Lock acquired, processing the job...
[2025-02-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:53:02] Production.INFO: ==32476== Releasing lock...
[2025-02-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:53:02] Production.INFO: ==32474== Lock acquired, processing the job...
[2025-02-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:53:02] Production.INFO: ==32474== Releasing lock...
[2025-02-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:53:03] Production.INFO: ==32485== Lock acquired, processing the job...
[2025-02-09 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:53:03] Production.INFO: ==32489== Lock acquired, processing the job...
[2025-02-09 00:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:53:03] Production.INFO: Account Balance Start.
[2025-02-09 00:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:53:03] Production.INFO: 117
[2025-02-09 00:53:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:53:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:53:03] Production.INFO: Total Charge 0
[2025-02-09 00:53:03] Production.INFO: count ==21
[2025-02-09 00:53:03] Production.INFO: CreateAllLog End
[2025-02-09 00:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:53:03] Production.INFO: count ==21
[2025-02-09 00:53:03] Production.INFO: ==32479== Lock acquired, processing the job...
[2025-02-09 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433508') start
[2025-02-09 00:53:03] Production.INFO: ==32481== Lock acquired, processing the job...
[2025-02-09 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:53:03] Production.INFO: ==32483== Lock acquired, processing the job...
[2025-02-09 00:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:53:03] Production.INFO: ==32487== Lock acquired, processing the job...
[2025-02-09 00:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:53:03] Production.INFO: Account Balance End.
[2025-02-09 00:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:53:03] Production.ERROR: CronJobId end 12
[2025-02-09 00:53:03] Production.INFO: ==32485== Releasing lock...
[2025-02-09 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433508') end
[2025-02-09 00:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:53:04] Production.INFO: 1
[2025-02-09 00:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:53:04] Production.INFO: ==32489== Releasing lock...
[2025-02-09 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:53:04] Production.INFO: ==32481== Releasing lock...
[2025-02-09 00:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:53:04] Production.ERROR: done
[2025-02-09 00:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:53:04] Production.ERROR: done
[2025-02-09 00:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:53:05
[end_date_ymd] => 2025-02-09 00:53:05
[RateCDR] => 1
)
[2025-02-09 00:53: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` >= '2025-02-08 21:53:05' and `end` < '2025-02-09 00:53: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 ,'')
[2025-02-09 00:53:12] Production.ERROR: CronJobId end10
[2025-02-09 00:53:12] Production.INFO: ==32483== Releasing lock...
[2025-02-09 00:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:53:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:53:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:53:14] Production.INFO: call_cost start
[2025-02-09 00:53:14] Production.INFO: call_cost end
[2025-02-09 00:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:53:15] Production.INFO: ==32479== Releasing lock...
[2025-02-09 00:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:53:19] Production.INFO: count ==662
[2025-02-09 00:53:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:53:05 - End Time 2025-02-09 00:53:05
[2025-02-09 00:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433511', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433511', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433511', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433511', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:53:19] Production.INFO: ProcessCDR(1,14433511,1,1,2)
[2025-02-09 00:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433511', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433511', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:53:24] Production.INFO: ==32487== Releasing lock...
[2025-02-09 00:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:53:24] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 05:54:02] Production.INFO: ==32552== Lock acquired, processing the job...
[2025-02-09 05:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:54:02] Production.INFO: neon service started
[2025-02-09 05:54:02] Production.INFO: neon service started
[2025-02-09 05:54:02] Production.INFO: ==32552== Releasing lock...
[2025-02-09 05:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:54:02] Production.INFO: ==32554== Lock acquired, processing the job...
[2025-02-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:54:02] Production.INFO: ==32554== Releasing lock...
[2025-02-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:54:03] Production.INFO: ==32556== Lock acquired, processing the job...
[2025-02-09 05:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:54:03] Production.INFO: ==32556== Releasing lock...
[2025-02-09 05:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:54:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:54:03] Production.INFO: ==32558== Lock acquired, processing the job...
[2025-02-09 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:54:03] Production.INFO: ==32568== Lock acquired, processing the job...
[2025-02-09 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:54:04] Production.INFO: ==32564== Lock acquired, processing the job...
[2025-02-09 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:54:04] Production.INFO: ==32562== Lock acquired, processing the job...
[2025-02-09 00:54:04] Production.INFO: ==32560== Lock acquired, processing the job...
[2025-02-09 00:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:54:04] Production.INFO: count ==21
[2025-02-09 00:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:54:04] Production.INFO: count ==21
[2025-02-09 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433513') start
[2025-02-09 00:54:04] Production.INFO: Account Balance Start.
[2025-02-09 00:54:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:54:04] Production.INFO: 117
[2025-02-09 00:54:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:54:04] Production.INFO: ==32566== Lock acquired, processing the job...
[2025-02-09 00:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:54:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433513') end
[2025-02-09 00:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:54:04] Production.INFO: 1
[2025-02-09 00:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:54:04] Production.INFO: Total Charge 0
[2025-02-09 00:54:04] Production.INFO: CreateAllLog End
[2025-02-09 00:54:04] Production.INFO: ==32568== Releasing lock...
[2025-02-09 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:54:04] Production.INFO: ==32560== Releasing lock...
[2025-02-09 00:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:54:04] Production.ERROR: done
[2025-02-09 00:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:54:04] Production.INFO: Account Balance End.
[2025-02-09 00:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:54:04] Production.INFO: ==32564== Releasing lock...
[2025-02-09 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:54:04] Production.ERROR: done
[2025-02-09 00:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:54:06
[end_date_ymd] => 2025-02-09 00:54:06
[RateCDR] => 1
)
[2025-02-09 00:54: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-02-08 21:54:06' and `end` < '2025-02-09 00:54: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-02-09 00:54:12] Production.ERROR: CronJobId end10
[2025-02-09 00:54:12] Production.INFO: ==32562== Releasing lock...
[2025-02-09 00:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:54:14] Production.INFO: call_cost start
[2025-02-09 00:54:14] Production.INFO: call_cost end
[2025-02-09 00:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:54:15] Production.INFO: ==32558== Releasing lock...
[2025-02-09 00:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:54:18] Production.INFO: count ==658
[2025-02-09 00:54:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:54:06 - End Time 2025-02-09 00:54:06
[2025-02-09 00:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433516', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433516', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433516', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433516', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:54:19] Production.INFO: ProcessCDR(1,14433516,1,1,2)
[2025-02-09 00:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433516', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433516', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:54:22] Production.INFO: ==32566== Releasing lock...
[2025-02-09 00:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:54:22] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:55:01] Production.INFO: ==32635== Lock acquired, processing the job...
[2025-02-09 05:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:55:01] Production.INFO: neon service started
[2025-02-09 05:55:01] Production.INFO: neon service started
[2025-02-09 05:55:01] Production.INFO: ==32635== Releasing lock...
[2025-02-09 05:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:55:02] Production.INFO: ==32637== Lock acquired, processing the job...
[2025-02-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:55:02] Production.INFO: ==32639== Lock acquired, processing the job...
[2025-02-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:55:02] Production.INFO: ==32639== Releasing lock...
[2025-02-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:55:02] Production.INFO: ==32637== Releasing lock...
[2025-02-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:55:03] Production.INFO: ==32646== Lock acquired, processing the job...
[2025-02-09 00:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:55:03] Production.INFO: ==32652== Lock acquired, processing the job...
[2025-02-09 00:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:55:03] Production.INFO: ==32642== Lock acquired, processing the job...
[2025-02-09 00:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:55:03] Production.INFO: ==32644== Lock acquired, processing the job...
[2025-02-09 00:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:55:03] Production.INFO: ==32648== Lock acquired, processing the job...
[2025-02-09 00:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:55:03] Production.INFO: count ==21
[2025-02-09 00:55:03] Production.INFO: ==32650== Lock acquired, processing the job...
[2025-02-09 00:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:55:04] Production.INFO: count ==21
[2025-02-09 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433517') start
[2025-02-09 00:55:04] Production.INFO: Account Balance Start.
[2025-02-09 00:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:55:04] Production.INFO: 117
[2025-02-09 00:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433517') end
[2025-02-09 00:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:55:04] Production.INFO: 1
[2025-02-09 00:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:55:04] Production.INFO: Total Charge 0
[2025-02-09 00:55:04] Production.INFO: CreateAllLog End
[2025-02-09 00:55:04] Production.INFO: ==32652== Releasing lock...
[2025-02-09 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:55:04] Production.ERROR: done
[2025-02-09 00:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:55:04] Production.INFO: ==32644== Releasing lock...
[2025-02-09 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:55:04] Production.INFO: Account Balance End.
[2025-02-09 00:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:55:04] Production.INFO: ==32648== Releasing lock...
[2025-02-09 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:55:04] Production.ERROR: done
[2025-02-09 00:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:55:05
[end_date_ymd] => 2025-02-09 00:55:05
[RateCDR] => 1
)
[2025-02-09 00:55: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` >= '2025-02-08 21:55:05' and `end` < '2025-02-09 00:55: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 ,'')
[2025-02-09 00:55:11] Production.ERROR: CronJobId end10
[2025-02-09 00:55:11] Production.INFO: ==32646== Releasing lock...
[2025-02-09 00:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:55:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:55:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:55:14] Production.INFO: call_cost start
[2025-02-09 00:55:14] Production.INFO: call_cost end
[2025-02-09 00:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:55:15] Production.INFO: ==32642== Releasing lock...
[2025-02-09 00:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:55:18] Production.INFO: count ==654
[2025-02-09 00:55:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:55:05 - End Time 2025-02-09 00:55:05
[2025-02-09 00:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433521', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433521', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433521', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433521', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:55:18] Production.INFO: ProcessCDR(1,14433521,1,1,2)
[2025-02-09 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433521', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433521', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:55:23] Production.INFO: ==32650== Releasing lock...
[2025-02-09 00:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:55:23] Production.INFO: 33 MB #Memory Used#
[2025-02-09 05:56:02] Production.INFO: ==32713== Lock acquired, processing the job...
[2025-02-09 05:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:56:02] Production.INFO: neon service started
[2025-02-09 05:56:02] Production.INFO: neon service started
[2025-02-09 05:56:02] Production.INFO: ==32713== Releasing lock...
[2025-02-09 05:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:56:02] Production.INFO: ==32715== Lock acquired, processing the job...
[2025-02-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:56:03] Production.INFO: ==32715== Releasing lock...
[2025-02-09 00:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:56:03] Production.INFO: ==32717== Lock acquired, processing the job...
[2025-02-09 05:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:56:03] Production.INFO: ==32717== Releasing lock...
[2025-02-09 05:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:56:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:56:04] Production.INFO: ==32727== Lock acquired, processing the job...
[2025-02-09 00:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:56:04] Production.INFO: ==32725== Lock acquired, processing the job...
[2025-02-09 00:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:56:04] Production.INFO: ==32719== Lock acquired, processing the job...
[2025-02-09 00:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:56:04] Production.INFO: Account Balance Start.
[2025-02-09 00:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:56:04] Production.INFO: 117
[2025-02-09 00:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:56:04] Production.INFO: ==32721== Lock acquired, processing the job...
[2025-02-09 00:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:56:04] Production.INFO: ==32723== Lock acquired, processing the job...
[2025-02-09 00:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:56:04] Production.INFO: Total Charge 0
[2025-02-09 00:56:04] Production.INFO: CreateAllLog End
[2025-02-09 00:56:04] Production.INFO: ==32730== Lock acquired, processing the job...
[2025-02-09 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:56:04] Production.ERROR: done
[2025-02-09 00:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:56:04] Production.INFO: Account Balance End.
[2025-02-09 00:56:04] Production.INFO: ==32721== Releasing lock...
[2025-02-09 00:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:56:04] Production.INFO: count ==21
[2025-02-09 00:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:56:04] Production.INFO: ==32725== Releasing lock...
[2025-02-09 00:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:56:04] Production.INFO: count ==21
[2025-02-09 00:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433525') start
[2025-02-09 00:56:05] Production.ERROR: done
[2025-02-09 00:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433525') end
[2025-02-09 00:56:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:56:05] Production.INFO: 1
[2025-02-09 00:56:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:56:05] Production.INFO: ==32730== Releasing lock...
[2025-02-09 00:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:56:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:56:05
[end_date_ymd] => 2025-02-09 00:56:05
[RateCDR] => 1
)
[2025-02-09 00:56: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` >= '2025-02-08 21:56:05' and `end` < '2025-02-09 00:56: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 ,'')
[2025-02-09 00:56:12] Production.ERROR: CronJobId end10
[2025-02-09 00:56:12] Production.INFO: ==32723== Releasing lock...
[2025-02-09 00:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:56:14] Production.INFO: call_cost start
[2025-02-09 00:56:14] Production.INFO: call_cost end
[2025-02-09 00:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:56:15] Production.INFO: ==32719== Releasing lock...
[2025-02-09 00:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:56:19] Production.INFO: count ==648
[2025-02-09 00:56:20] Production.ERROR: pbx CDR StartTime 2025-02-08 21:56:05 - End Time 2025-02-09 00:56:05
[2025-02-09 00:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433526', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433526', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433526', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433526', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:56:20] Production.INFO: ProcessCDR(1,14433526,1,1,2)
[2025-02-09 00:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433526', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433526', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:56:24] Production.INFO: ==32727== Releasing lock...
[2025-02-09 00:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:56:24] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 05:57:01] Production.INFO: ==334== Lock acquired, processing the job...
[2025-02-09 05:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:57:01] Production.INFO: neon service started
[2025-02-09 05:57:01] Production.INFO: neon service started
[2025-02-09 05:57:01] Production.INFO: ==334== Releasing lock...
[2025-02-09 05:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:57:02] Production.INFO: ==336== Lock acquired, processing the job...
[2025-02-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 00:57:02] Production.INFO: ==336== Releasing lock...
[2025-02-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:57:02] Production.INFO: ==338== Lock acquired, processing the job...
[2025-02-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:57:02] Production.INFO: ==338== Releasing lock...
[2025-02-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:57:03] Production.INFO: ==361== Lock acquired, processing the job...
[2025-02-09 00:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:57:03] Production.INFO: ==353== Lock acquired, processing the job...
[2025-02-09 00:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:57:03] Production.INFO: ==363== Lock acquired, processing the job...
[2025-02-09 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:57:03] Production.INFO: ==355== Lock acquired, processing the job...
[2025-02-09 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:57:03] Production.INFO: ==357== Lock acquired, processing the job...
[2025-02-09 00:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:57:03] Production.INFO: ==359== Lock acquired, processing the job...
[2025-02-09 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:57:03] Production.INFO: count ==21
[2025-02-09 00:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:57:03] Production.INFO: count ==21
[2025-02-09 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433527') start
[2025-02-09 00:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:57:03] Production.INFO: Account Balance Start.
[2025-02-09 00:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:57:03] Production.INFO: 117
[2025-02-09 00:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:57:03] Production.ERROR: done
[2025-02-09 00:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:57:03] Production.INFO: ==355== Releasing lock...
[2025-02-09 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433527') end
[2025-02-09 00:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:57:03] Production.INFO: 1
[2025-02-09 00:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:57:03] Production.INFO: ==363== Releasing lock...
[2025-02-09 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:57:03] Production.ERROR: done
[2025-02-09 00:57:04] Production.INFO: Total Charge 0
[2025-02-09 00:57:04] Production.INFO: CreateAllLog End
[2025-02-09 00:57:04] Production.INFO: Account Balance End.
[2025-02-09 00:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:57:04] Production.INFO: ==359== Releasing lock...
[2025-02-09 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:57:05
[end_date_ymd] => 2025-02-09 00:57:05
[RateCDR] => 1
)
[2025-02-09 00:57: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` >= '2025-02-08 21:57:05' and `end` < '2025-02-09 00:57: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 ,'')
[2025-02-09 00:57:10] Production.ERROR: CronJobId end10
[2025-02-09 00:57:10] Production.INFO: ==357== Releasing lock...
[2025-02-09 00:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:57:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:57:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:57:13] Production.INFO: call_cost start
[2025-02-09 00:57:13] Production.INFO: call_cost end
[2025-02-09 00:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:57:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:57:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:57:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:57:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:57:13] Production.INFO: ==353== Releasing lock...
[2025-02-09 00:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:57:17] Production.INFO: count ==634
[2025-02-09 00:57:18] Production.ERROR: pbx CDR StartTime 2025-02-08 21:57:05 - End Time 2025-02-09 00:57:05
[2025-02-09 00:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433531', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433531', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433531', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433531', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:57:18] Production.INFO: ProcessCDR(1,14433531,1,1,2)
[2025-02-09 00:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433531', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433531', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:57:21] Production.INFO: ==361== Releasing lock...
[2025-02-09 00:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:57:21] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 05:58:02] Production.INFO: ==419== Lock acquired, processing the job...
[2025-02-09 05:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:58:02] Production.INFO: neon service started
[2025-02-09 05:58:02] Production.INFO: neon service started
[2025-02-09 05:58:02] Production.INFO: ==419== Releasing lock...
[2025-02-09 05:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:58:02] Production.INFO: ==421== Lock acquired, processing the job...
[2025-02-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:58:02] Production.INFO: ==423== Lock acquired, processing the job...
[2025-02-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 00:58:02] Production.INFO: ==421== Releasing lock...
[2025-02-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:58:03] Production.INFO: ==423== Releasing lock...
[2025-02-09 05:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:58:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:58:03] Production.INFO: ==426== Lock acquired, processing the job...
[2025-02-09 00:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:58:03] Production.INFO: ==435== Lock acquired, processing the job...
[2025-02-09 00:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:58:03] Production.INFO: ==428== Lock acquired, processing the job...
[2025-02-09 00:58:03] Production.INFO: ==432== Lock acquired, processing the job...
[2025-02-09 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:58:04] Production.INFO: ==430== Lock acquired, processing the job...
[2025-02-09 00:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:58:04] Production.INFO: Account Balance Start.
[2025-02-09 00:58:04] Production.INFO: CreateAllLog Start
[2025-02-09 00:58:04] Production.INFO: 117
[2025-02-09 00:58:04] Production.INFO: Date 2025-02-08
[2025-02-09 00:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:58:04] Production.INFO: Date 2025-02-09
[2025-02-09 00:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 00:58:04] Production.INFO: Total Charge 0
[2025-02-09 00:58:04] Production.INFO: CreateAllLog End
[2025-02-09 00:58:04] Production.INFO: ==437== Lock acquired, processing the job...
[2025-02-09 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:58:04] Production.INFO: ==428== Releasing lock...
[2025-02-09 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:58:04] Production.ERROR: done
[2025-02-09 00:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:58:04] Production.INFO: count ==21
[2025-02-09 00:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:58:04] Production.INFO: count ==21
[2025-02-09 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433535') start
[2025-02-09 00:58:04] Production.INFO: Account Balance End.
[2025-02-09 00:58:04] Production.ERROR: done
[2025-02-09 00:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:58:04] Production.INFO: ==432== Releasing lock...
[2025-02-09 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433535') end
[2025-02-09 00:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:58:04] Production.INFO: 1
[2025-02-09 00:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:58:04] Production.INFO: ==437== Releasing lock...
[2025-02-09 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:58:05
[end_date_ymd] => 2025-02-09 00:58:05
[RateCDR] => 1
)
[2025-02-09 00:58: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` >= '2025-02-08 21:58:05' and `end` < '2025-02-09 00:58: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 ,'')
[2025-02-09 00:58:11] Production.ERROR: CronJobId end10
[2025-02-09 00:58:11] Production.INFO: ==430== Releasing lock...
[2025-02-09 00:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:58:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:58:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:58:14] Production.INFO: call_cost start
[2025-02-09 00:58:14] Production.INFO: call_cost end
[2025-02-09 00:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:58:15] Production.INFO: ==426== Releasing lock...
[2025-02-09 00:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:58:20] Production.INFO: count ==624
[2025-02-09 00:58:20] Production.ERROR: pbx CDR StartTime 2025-02-08 21:58:05 - End Time 2025-02-09 00:58:05
[2025-02-09 00:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433536', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433536', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433536', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433536', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:58:20] Production.INFO: ProcessCDR(1,14433536,1,1,2)
[2025-02-09 00:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433536', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433536', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:58:24] Production.INFO: ==435== Releasing lock...
[2025-02-09 00:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:58:24] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 05:59:01] Production.INFO: ==507== Lock acquired, processing the job...
[2025-02-09 05:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 05:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 05:59:01] Production.INFO: neon service started
[2025-02-09 05:59:01] Production.INFO: neon service started
[2025-02-09 05:59:01] Production.INFO: ==507== Releasing lock...
[2025-02-09 05:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 05:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 00:59:02] Production.INFO: ==509== Lock acquired, processing the job...
[2025-02-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:59:02] Production.INFO: ==511== Lock acquired, processing the job...
[2025-02-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:59:02] Production.INFO: ==511== Releasing lock...
[2025-02-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 05:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 00:59:02] Production.INFO: ==509== Releasing lock...
[2025-02-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 00:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 00:59:03] Production.INFO: ==516== Lock acquired, processing the job...
[2025-02-09 00:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 00:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 00:59:03] Production.INFO: ==520== Lock acquired, processing the job...
[2025-02-09 00:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 00:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 00:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 00:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 00:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 00:59:03] Production.INFO: ==526== Lock acquired, processing the job...
[2025-02-09 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 00:59:03] Production.INFO: ==518== Lock acquired, processing the job...
[2025-02-09 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 00:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:59:03] Production.INFO: ==522== Lock acquired, processing the job...
[2025-02-09 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 00:59:03] Production.INFO: count ==21
[2025-02-09 00:59:03] Production.INFO: ==524== Lock acquired, processing the job...
[2025-02-09 00:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 00:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 00:59:03] Production.INFO: count ==21
[2025-02-09 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433538') start
[2025-02-09 00:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 00:59:03] Production.INFO: Account Balance Start.
[2025-02-09 00:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 00:59:03] Production.INFO: 117
[2025-02-09 00:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 00:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433538') end
[2025-02-09 00:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 00:59:03] Production.INFO: 1
[2025-02-09 00:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 00:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 00:59:03] Production.INFO: ==518== Releasing lock...
[2025-02-09 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 00:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 00:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 00:59:04] Production.INFO: ==526== Releasing lock...
[2025-02-09 00:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 00:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 00:59:04] Production.INFO: Total Charge 0
[2025-02-09 00:59:04] Production.INFO: CreateAllLog End
[2025-02-09 00:59:04] Production.ERROR: done
[2025-02-09 00:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 00:59:04] Production.ERROR: done
[2025-02-09 00:59:04] Production.INFO: Account Balance End.
[2025-02-09 00:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 00:59:04] Production.INFO: ==522== Releasing lock...
[2025-02-09 00:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 00:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 00:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 21:59:05
[end_date_ymd] => 2025-02-09 00:59:05
[RateCDR] => 1
)
[2025-02-09 00:59: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` >= '2025-02-08 21:59:05' and `end` < '2025-02-09 00:59: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 ,'')
[2025-02-09 00:59:11] Production.ERROR: CronJobId end10
[2025-02-09 00:59:11] Production.INFO: ==520== Releasing lock...
[2025-02-09 00:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 00:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 00:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 00:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 00:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 00:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 00:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 00:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 00:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 00:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 00:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 00:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 00:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 00:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 00:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 00:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 00:59:14] Production.INFO: call_cost start
[2025-02-09 00:59:14] Production.INFO: call_cost end
[2025-02-09 00:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 00:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 00:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 00:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 00:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 00:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 00:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 00:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 00:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 00:59:15] Production.INFO: ==516== Releasing lock...
[2025-02-09 00:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 00:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 00:59:19] Production.INFO: count ==617
[2025-02-09 00:59:19] Production.ERROR: pbx CDR StartTime 2025-02-08 21:59:05 - End Time 2025-02-09 00:59:05
[2025-02-09 00:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433541', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433541', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433541', 'tblTempVendorCDR_20' ) start
[2025-02-09 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433541', 'tblTempVendorCDR_20' ) end
[2025-02-09 00:59:19] Production.INFO: ProcessCDR(1,14433541,1,1,2)
[2025-02-09 00:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 00:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 00:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433541', 'tblTempUsageDetail_20' ) start
[2025-02-09 00:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433541', 'tblTempUsageDetail_20' ) end
[2025-02-09 00:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 00:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 00:59:22] Production.INFO: ==524== Releasing lock...
[2025-02-09 00:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 00:59:22] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:00:02] Production.INFO: ==585== Lock acquired, processing the job...
[2025-02-09 06:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:00:02] Production.INFO: neon service started
[2025-02-09 06:00:02] Production.INFO: neon service started
[2025-02-09 06:00:02] Production.INFO: ==585== Releasing lock...
[2025-02-09 06:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:00:02] Production.INFO: ==587== Lock acquired, processing the job...
[2025-02-09 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:00:02] Production.INFO: ==589== Lock acquired, processing the job...
[2025-02-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:00:02] Production.INFO: ==589== Releasing lock...
[2025-02-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:00:03] Production.INFO: ==587== Releasing lock...
[2025-02-09 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:00:04] Production.INFO: ==597== Lock acquired, processing the job...
[2025-02-09 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:00:04] Production.INFO: ==603== Lock acquired, processing the job...
[2025-02-09 01:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:00:04] Production.INFO: ==592== Lock acquired, processing the job...
[2025-02-09 01:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 01:00:04] Production.INFO: ==609== Lock acquired, processing the job...
[2025-02-09 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:00:04] Production.INFO: ==595== Lock acquired, processing the job...
[2025-02-09 01:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:00:04] Production.INFO: ==599== Lock acquired, processing the job...
[2025-02-09 01:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:00:04] Production.INFO: ==597== Releasing lock...
[2025-02-09 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:00:04] Production.INFO: ==601== Lock acquired, processing the job...
[2025-02-09 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 01:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:00:04] Production.ERROR: CronJob PID - 595
[2025-02-09 01:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 01:00:04] Production.ERROR: CronJob ID - 5
[2025-02-09 01:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:00:00
[2025-02-09 01:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:00:04] Production.ERROR: CronJob PID - 599
[2025-02-09 01:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 01:00:04] Production.ERROR: CronJob ID - 10
[2025-02-09 01:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:00:00
[2025-02-09 01:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:00:04] Production.ERROR: CronJob PID - 601
[2025-02-09 01:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 01:00:04] Production.ERROR: CronJob ID - 12
[2025-02-09 01:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:00:00
[2025-02-09 01:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:00:04] Production.ERROR: CronJob PID - 603
[2025-02-09 01:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 01:00:04] Production.ERROR: CronJob ID - 16
[2025-02-09 01:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:00:00
[2025-02-09 01:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:00:04] Production.ERROR: CronJob PID - 609
[2025-02-09 01:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 01:00:04] Production.INFO: ==606== Lock acquired, processing the job...
[2025-02-09 01:00:04] Production.ERROR: CronJob ID - 19
[2025-02-09 01:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 01:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:00:00
[2025-02-09 01:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:00:04] Production.INFO: Account Balance Start.
[2025-02-09 01:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:00:04] Production.INFO: 117
[2025-02-09 01:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:00:04] Production.INFO: count ==21
[2025-02-09 01:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 01:00:04] Production.INFO: ==592== Releasing lock...
[2025-02-09 01:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 01:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 01:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:00:04] Production.INFO: count ==21
[2025-02-09 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433543') start
[2025-02-09 01:00:04] Production.ERROR: done
[2025-02-09 01:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:00:04] Production.INFO: Total Charge 0
[2025-02-09 01:00:04] Production.INFO: CreateAllLog End
[2025-02-09 01:00:05] Production.ERROR: done
[2025-02-09 01:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433543') end
[2025-02-09 01:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:00:05] Production.INFO: 1
[2025-02-09 01:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:00:05] Production.INFO: ==609== Releasing lock...
[2025-02-09 01:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:00:05] Production.ERROR: done
[2025-02-09 01:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 01:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433547', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 01:00:05] Production.INFO: Account Balance End.
[2025-02-09 01:00:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:00:05] Production.INFO: ==601== Releasing lock...
[2025-02-09 01:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:00:06
[end_date_ymd] => 2025-02-09 01:00:06
[RateCDR] => 1
)
[2025-02-09 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-02-08 22:00:06' and `end` < '2025-02-09 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-02-09 01:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433547', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 01:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 01:00:10] Production.INFO: ProcessCDR(1,14433547,1,1,2)
[2025-02-09 01:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433547,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433547,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:00:10] Production.INFO: ==606== Releasing lock...
[2025-02-09 01:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 01:00:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 01:00:15] Production.ERROR: CronJobId end10
[2025-02-09 01:00:15] Production.INFO: ==599== Releasing lock...
[2025-02-09 01:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:00:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:00:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:00:17] Production.INFO: call_cost start
[2025-02-09 01:00:17] Production.INFO: call_cost end
[2025-02-09 01:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:00:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:00:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:00:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:00:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:00:18] Production.INFO: ==595== Releasing lock...
[2025-02-09 01:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:00:19] Production.INFO: count ==634
[2025-02-09 01:00:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:00:06 - End Time 2025-02-09 01:00:06
[2025-02-09 01:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433546', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433546', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433546', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433546', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:00:19] Production.INFO: ProcessCDR(1,14433546,1,1,2)
[2025-02-09 01:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433546', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433546', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:00:23] Production.INFO: ==603== Releasing lock...
[2025-02-09 01:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:00:23] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:01:01] Production.INFO: ==683== Lock acquired, processing the job...
[2025-02-09 06:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:01:01] Production.INFO: neon service started
[2025-02-09 06:01:01] Production.INFO: neon service started
[2025-02-09 06:01:01] Production.INFO: ==683== Releasing lock...
[2025-02-09 06:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:01:02] Production.INFO: ==709== Lock acquired, processing the job...
[2025-02-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:01:02] Production.INFO: ==709== Releasing lock...
[2025-02-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:01:02] Production.INFO: ==706== Lock acquired, processing the job...
[2025-02-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:01:02] Production.INFO: ==706== Releasing lock...
[2025-02-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:01:03] Production.INFO: ==712== Lock acquired, processing the job...
[2025-02-09 01:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:01:03] Production.INFO: ==714== Lock acquired, processing the job...
[2025-02-09 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:01:03] Production.INFO: ==716== Lock acquired, processing the job...
[2025-02-09 01:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:01:03] Production.INFO: ==718== Lock acquired, processing the job...
[2025-02-09 01:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:01:03] Production.INFO: ==720== Lock acquired, processing the job...
[2025-02-09 01:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:01:03] Production.INFO: ==722== Lock acquired, processing the job...
[2025-02-09 01:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:01:04] Production.INFO: Account Balance Start.
[2025-02-09 01:01:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:01:04] Production.INFO: 117
[2025-02-09 01:01:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:01:04] Production.INFO: ==714== Releasing lock...
[2025-02-09 01:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:01:04] Production.INFO: count ==21
[2025-02-09 01:01:04] Production.INFO: Total Charge 0
[2025-02-09 01:01:04] Production.INFO: CreateAllLog End
[2025-02-09 01:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:01:04] Production.INFO: count ==21
[2025-02-09 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433551') start
[2025-02-09 01:01:04] Production.ERROR: done
[2025-02-09 01:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:01:04] Production.INFO: Account Balance End.
[2025-02-09 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433551') end
[2025-02-09 01:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:01:04] Production.INFO: 1
[2025-02-09 01:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:01:04] Production.INFO: ==718== Releasing lock...
[2025-02-09 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:01:04] Production.INFO: ==722== Releasing lock...
[2025-02-09 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:01:04] Production.ERROR: done
[2025-02-09 01:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:01:05
[end_date_ymd] => 2025-02-09 01:01:05
[RateCDR] => 1
)
[2025-02-09 01:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 22:01:05' and `end` < '2025-02-09 01:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 01:01:13] Production.ERROR: CronJobId end10
[2025-02-09 01:01:13] Production.INFO: ==716== Releasing lock...
[2025-02-09 01:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:01:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:01:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:01:15] Production.INFO: call_cost start
[2025-02-09 01:01:15] Production.INFO: call_cost end
[2025-02-09 01:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:01:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:01:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:01:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:01:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:01:16] Production.INFO: ==712== Releasing lock...
[2025-02-09 01:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:01:19] Production.INFO: count ==660
[2025-02-09 01:01:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:01:05 - End Time 2025-02-09 01:01:05
[2025-02-09 01:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433552', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433552', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433552', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433552', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:01:19] Production.INFO: ProcessCDR(1,14433552,1,1,2)
[2025-02-09 01:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433552', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433552', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:01:22] Production.INFO: ==720== Releasing lock...
[2025-02-09 01:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:01:22] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:02:02] Production.INFO: ==781== Lock acquired, processing the job...
[2025-02-09 06:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:02:02] Production.INFO: neon service started
[2025-02-09 06:02:02] Production.INFO: neon service started
[2025-02-09 06:02:02] Production.INFO: ==781== Releasing lock...
[2025-02-09 06:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:02:02] Production.INFO: ==783== Lock acquired, processing the job...
[2025-02-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:02:03] Production.INFO: ==783== Releasing lock...
[2025-02-09 01:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:02:03] Production.INFO: ==785== Lock acquired, processing the job...
[2025-02-09 06:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:02:03] Production.INFO: ==785== Releasing lock...
[2025-02-09 06:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:02:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:02:03] Production.INFO: ==790== Lock acquired, processing the job...
[2025-02-09 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:02:03] Production.INFO: ==798== Lock acquired, processing the job...
[2025-02-09 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:02:04] Production.INFO: count ==21
[2025-02-09 01:02:04] Production.INFO: ==790== Releasing lock...
[2025-02-09 01:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:02:04] Production.INFO: count ==21
[2025-02-09 01:02:04] Production.INFO: ==788== Lock acquired, processing the job...
[2025-02-09 01:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433554') start
[2025-02-09 01:02:04] Production.INFO: ==792== Lock acquired, processing the job...
[2025-02-09 01:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:02:04] Production.INFO: ==796== Lock acquired, processing the job...
[2025-02-09 01:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:02:04] Production.INFO: ==794== Lock acquired, processing the job...
[2025-02-09 01:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433554') end
[2025-02-09 01:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:02:04] Production.INFO: 1
[2025-02-09 01:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:02:04] Production.INFO: ==798== Releasing lock...
[2025-02-09 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:02:04] Production.INFO: Account Balance Start.
[2025-02-09 01:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:02:04] Production.INFO: 117
[2025-02-09 01:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:02:04] Production.ERROR: done
[2025-02-09 01:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:02:04] Production.INFO: Total Charge 0
[2025-02-09 01:02:04] Production.INFO: CreateAllLog End
[2025-02-09 01:02:04] Production.ERROR: done
[2025-02-09 01:02:04] Production.INFO: Account Balance End.
[2025-02-09 01:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:02:04] Production.INFO: ==794== Releasing lock...
[2025-02-09 01:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:02:05
[end_date_ymd] => 2025-02-09 01:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-08 22:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 01:02:12] Production.ERROR: CronJobId end10
[2025-02-09 01:02:12] Production.INFO: ==792== Releasing lock...
[2025-02-09 01:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:02:14] Production.INFO: call_cost start
[2025-02-09 01:02:14] Production.INFO: call_cost end
[2025-02-09 01:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:02:15] Production.INFO: ==788== Releasing lock...
[2025-02-09 01:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:02:18] Production.INFO: count ==650
[2025-02-09 01:02:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:02:05 - End Time 2025-02-09 01:02:05
[2025-02-09 01:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433557', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433557', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433557', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433557', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:02:18] Production.INFO: ProcessCDR(1,14433557,1,1,2)
[2025-02-09 01:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433557', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433557', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:02:23] Production.INFO: ==796== Releasing lock...
[2025-02-09 01:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:02:23] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:03:01] Production.INFO: ==852== Lock acquired, processing the job...
[2025-02-09 06:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:03:01] Production.INFO: neon service started
[2025-02-09 06:03:01] Production.INFO: neon service started
[2025-02-09 06:03:01] Production.INFO: ==852== Releasing lock...
[2025-02-09 06:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:03:02] Production.INFO: ==854== Lock acquired, processing the job...
[2025-02-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:03:02] Production.INFO: ==854== Releasing lock...
[2025-02-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:03:02] Production.INFO: ==856== Lock acquired, processing the job...
[2025-02-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:03:02] Production.INFO: ==856== Releasing lock...
[2025-02-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:03:03] Production.INFO: ==866== Lock acquired, processing the job...
[2025-02-09 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:03:03] Production.INFO: ==868== Lock acquired, processing the job...
[2025-02-09 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:03:03] Production.INFO: ==858== Lock acquired, processing the job...
[2025-02-09 01:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:03:03] Production.INFO: count ==21
[2025-02-09 01:03:03] Production.INFO: ==860== Lock acquired, processing the job...
[2025-02-09 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:03:03] Production.INFO: count ==21
[2025-02-09 01:03:03] Production.INFO: ==862== Lock acquired, processing the job...
[2025-02-09 01:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:03:03] Production.INFO: ==864== Lock acquired, processing the job...
[2025-02-09 01:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433558') start
[2025-02-09 01:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433558') end
[2025-02-09 01:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:03:03] Production.INFO: 1
[2025-02-09 01:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:03:03] Production.INFO: Account Balance Start.
[2025-02-09 01:03:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:03:03] Production.INFO: 117
[2025-02-09 01:03:04] Production.INFO: ==868== Releasing lock...
[2025-02-09 01:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:03:04] Production.ERROR: done
[2025-02-09 01:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:03:04] Production.INFO: Total Charge 0
[2025-02-09 01:03:04] Production.INFO: CreateAllLog End
[2025-02-09 01:03:04] Production.INFO: ==860== Releasing lock...
[2025-02-09 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:03:04] Production.ERROR: done
[2025-02-09 01:03:04] Production.INFO: Account Balance End.
[2025-02-09 01:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:03:04] Production.INFO: ==864== Releasing lock...
[2025-02-09 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:03:05
[end_date_ymd] => 2025-02-09 01:03:05
[RateCDR] => 1
)
[2025-02-09 01:03: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` >= '2025-02-08 22:03:05' and `end` < '2025-02-09 01:03: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 ,'')
[2025-02-09 01:03:13] Production.ERROR: CronJobId end10
[2025-02-09 01:03:13] Production.INFO: ==862== Releasing lock...
[2025-02-09 01:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:03:15] Production.INFO: call_cost start
[2025-02-09 01:03:15] Production.INFO: call_cost end
[2025-02-09 01:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:03:16] Production.INFO: ==858== Releasing lock...
[2025-02-09 01:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:03:20] Production.INFO: count ==653
[2025-02-09 01:03:20] Production.ERROR: pbx CDR StartTime 2025-02-08 22:03:05 - End Time 2025-02-09 01:03:05
[2025-02-09 01:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433562', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433562', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433562', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433562', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:03:20] Production.INFO: ProcessCDR(1,14433562,1,1,2)
[2025-02-09 01:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433562', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433562', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:03:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:03:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:03:25] Production.INFO: ==866== Releasing lock...
[2025-02-09 01:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:03:25] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:04:02] Production.INFO: ==926== Lock acquired, processing the job...
[2025-02-09 06:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:04:02] Production.INFO: neon service started
[2025-02-09 06:04:02] Production.INFO: neon service started
[2025-02-09 06:04:02] Production.INFO: ==926== Releasing lock...
[2025-02-09 06:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:04:02] Production.INFO: ==928== Lock acquired, processing the job...
[2025-02-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:04:02] Production.INFO: ==930== Lock acquired, processing the job...
[2025-02-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:04:02] Production.INFO: ==930== Releasing lock...
[2025-02-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:04:03] Production.INFO: ==928== Releasing lock...
[2025-02-09 01:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:04:04] Production.INFO: ==939== Lock acquired, processing the job...
[2025-02-09 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:04:04] Production.INFO: ==943== Lock acquired, processing the job...
[2025-02-09 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:04:04] Production.INFO: ==933== Lock acquired, processing the job...
[2025-02-09 01:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:04:04] Production.INFO: Account Balance Start.
[2025-02-09 01:04:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:04:04] Production.INFO: 117
[2025-02-09 01:04:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:04:04] Production.INFO: ==935== Lock acquired, processing the job...
[2025-02-09 01:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:04:04] Production.INFO: ==937== Lock acquired, processing the job...
[2025-02-09 01:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:04:04] Production.INFO: count ==21
[2025-02-09 01:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:04:04] Production.INFO: Total Charge 0
[2025-02-09 01:04:04] Production.INFO: count ==21
[2025-02-09 01:04:04] Production.INFO: CreateAllLog End
[2025-02-09 01:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433564') start
[2025-02-09 01:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:04:04] Production.INFO: ==941== Lock acquired, processing the job...
[2025-02-09 01:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:04:04] Production.INFO: Account Balance End.
[2025-02-09 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433564') end
[2025-02-09 01:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:04:04] Production.INFO: 1
[2025-02-09 01:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:04:04] Production.INFO: ==939== Releasing lock...
[2025-02-09 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:04:04] Production.INFO: ==943== Releasing lock...
[2025-02-09 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:04:04] Production.ERROR: done
[2025-02-09 01:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:04:04] Production.INFO: ==935== Releasing lock...
[2025-02-09 01:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:04:04] Production.ERROR: done
[2025-02-09 01:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:04:05
[end_date_ymd] => 2025-02-09 01:04:05
[RateCDR] => 1
)
[2025-02-09 01:04: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` >= '2025-02-08 22:04:05' and `end` < '2025-02-09 01:04: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 ,'')
[2025-02-09 01:04:12] Production.ERROR: CronJobId end10
[2025-02-09 01:04:12] Production.INFO: ==937== Releasing lock...
[2025-02-09 01:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:04:14] Production.INFO: call_cost start
[2025-02-09 01:04:14] Production.INFO: call_cost end
[2025-02-09 01:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:04:15] Production.INFO: ==933== Releasing lock...
[2025-02-09 01:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:04:20] Production.INFO: count ==649
[2025-02-09 01:04:20] Production.ERROR: pbx CDR StartTime 2025-02-08 22:04:05 - End Time 2025-02-09 01:04:05
[2025-02-09 01:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433567', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433567', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433567', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433567', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:04:20] Production.INFO: ProcessCDR(1,14433567,1,1,2)
[2025-02-09 01:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433567', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433567', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:04:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:04:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:04:25] Production.INFO: ==941== Releasing lock...
[2025-02-09 01:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:04:25] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:05:01] Production.INFO: ==1000== Lock acquired, processing the job...
[2025-02-09 06:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:05:01] Production.INFO: neon service started
[2025-02-09 06:05:01] Production.INFO: neon service started
[2025-02-09 06:05:01] Production.INFO: ==1000== Releasing lock...
[2025-02-09 06:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:05:02] Production.INFO: ==1002== Lock acquired, processing the job...
[2025-02-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:05:02] Production.INFO: ==1002== Releasing lock...
[2025-02-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:05:02] Production.INFO: ==1004== Lock acquired, processing the job...
[2025-02-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:05:02] Production.INFO: ==1004== Releasing lock...
[2025-02-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:05:03] Production.INFO: ==1009== Lock acquired, processing the job...
[2025-02-09 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:05:03] Production.INFO: ==1009== Releasing lock...
[2025-02-09 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:05:03] Production.INFO: ==1007== Lock acquired, processing the job...
[2025-02-09 01:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:05:03] Production.INFO: ==1015== Lock acquired, processing the job...
[2025-02-09 01:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:05:03] Production.INFO: ==1013== Lock acquired, processing the job...
[2025-02-09 01:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:05:03] Production.INFO: ==1011== Lock acquired, processing the job...
[2025-02-09 01:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:05:03] Production.INFO: ==1017== Lock acquired, processing the job...
[2025-02-09 01:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:05:03] Production.INFO: Account Balance Start.
[2025-02-09 01:05:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:05:03] Production.INFO: 117
[2025-02-09 01:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:05:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:05:04] Production.INFO: Total Charge 0
[2025-02-09 01:05:04] Production.INFO: count ==21
[2025-02-09 01:05:04] Production.INFO: CreateAllLog End
[2025-02-09 01:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:05:04] Production.INFO: count ==21
[2025-02-09 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433571') start
[2025-02-09 01:05:04] Production.ERROR: done
[2025-02-09 01:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433571') end
[2025-02-09 01:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:05:04] Production.INFO: 1
[2025-02-09 01:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:05:04] Production.INFO: ==1017== Releasing lock...
[2025-02-09 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:05:04] Production.ERROR: done
[2025-02-09 01:05:04] Production.INFO: Account Balance End.
[2025-02-09 01:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:05:04] Production.INFO: ==1013== Releasing lock...
[2025-02-09 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:05:05
[end_date_ymd] => 2025-02-09 01:05:05
[RateCDR] => 1
)
[2025-02-09 01:05: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` >= '2025-02-08 22:05:05' and `end` < '2025-02-09 01:05: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 ,'')
[2025-02-09 01:05:13] Production.ERROR: CronJobId end10
[2025-02-09 01:05:13] Production.INFO: ==1011== Releasing lock...
[2025-02-09 01:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:05:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:05:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:05:15] Production.INFO: call_cost start
[2025-02-09 01:05:15] Production.INFO: call_cost end
[2025-02-09 01:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:05:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:05:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:05:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:05:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:05:16] Production.INFO: ==1007== Releasing lock...
[2025-02-09 01:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:05:18] Production.INFO: count ==646
[2025-02-09 01:05:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:05:05 - End Time 2025-02-09 01:05:05
[2025-02-09 01:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433572', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433572', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433572', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433572', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:05:18] Production.INFO: ProcessCDR(1,14433572,1,1,2)
[2025-02-09 01:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433572', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433572', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:05:22] Production.INFO: ==1015== Releasing lock...
[2025-02-09 01:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:05:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:06:02] Production.INFO: ==1071== Lock acquired, processing the job...
[2025-02-09 06:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:06:02] Production.INFO: neon service started
[2025-02-09 06:06:02] Production.INFO: neon service started
[2025-02-09 06:06:02] Production.INFO: ==1071== Releasing lock...
[2025-02-09 06:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:06:02] Production.INFO: ==1075== Lock acquired, processing the job...
[2025-02-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:06:02] Production.INFO: ==1075== Releasing lock...
[2025-02-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:06:02] Production.INFO: ==1073== Lock acquired, processing the job...
[2025-02-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:06:03] Production.INFO: ==1073== Releasing lock...
[2025-02-09 01:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:06:03] Production.INFO: ==1078== Lock acquired, processing the job...
[2025-02-09 01:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:06:04] Production.INFO: ==1084== Lock acquired, processing the job...
[2025-02-09 01:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:06:04] Production.INFO: ==1088== Lock acquired, processing the job...
[2025-02-09 01:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:06:04] Production.INFO: count ==21
[2025-02-09 01:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:06:04] Production.INFO: Account Balance Start.
[2025-02-09 01:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:06:04] Production.INFO: count ==21
[2025-02-09 01:06:04] Production.INFO: 117
[2025-02-09 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433574') start
[2025-02-09 01:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:06:04] Production.INFO: ==1080== Lock acquired, processing the job...
[2025-02-09 01:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:06:04] Production.INFO: ==1086== Lock acquired, processing the job...
[2025-02-09 01:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:06:04] Production.INFO: Total Charge 0
[2025-02-09 01:06:04] Production.INFO: CreateAllLog End
[2025-02-09 01:06:04] Production.INFO: ==1082== Lock acquired, processing the job...
[2025-02-09 01:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433574') end
[2025-02-09 01:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:06:04] Production.INFO: 1
[2025-02-09 01:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:06:04] Production.INFO: ==1088== Releasing lock...
[2025-02-09 01:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:06:04] Production.INFO: ==1080== Releasing lock...
[2025-02-09 01:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:06:04] Production.ERROR: done
[2025-02-09 01:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:06:04] Production.INFO: Account Balance End.
[2025-02-09 01:06:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:06:05] Production.INFO: ==1084== Releasing lock...
[2025-02-09 01:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:06:05] Production.ERROR: done
[2025-02-09 01:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:06:06
[end_date_ymd] => 2025-02-09 01:06:06
[RateCDR] => 1
)
[2025-02-09 01:06: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-02-08 22:06:06' and `end` < '2025-02-09 01:06: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-02-09 01:06:13] Production.ERROR: CronJobId end10
[2025-02-09 01:06:13] Production.INFO: ==1082== Releasing lock...
[2025-02-09 01:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:06:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:06:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:06:16] Production.INFO: call_cost start
[2025-02-09 01:06:16] Production.INFO: call_cost end
[2025-02-09 01:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:06:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:06:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:06:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:06:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:06:17] Production.INFO: ==1078== Releasing lock...
[2025-02-09 01:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:06:19] Production.INFO: count ==643
[2025-02-09 01:06:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:06:06 - End Time 2025-02-09 01:06:06
[2025-02-09 01:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433577', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433577', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433577', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433577', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:06:19] Production.INFO: ProcessCDR(1,14433577,1,1,2)
[2025-02-09 01:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433577', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433577', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:06:22] Production.INFO: ==1086== Releasing lock...
[2025-02-09 01:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:06:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:07:01] Production.INFO: ==1189== Lock acquired, processing the job...
[2025-02-09 06:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:07:01] Production.INFO: neon service started
[2025-02-09 06:07:01] Production.INFO: neon service started
[2025-02-09 06:07:01] Production.INFO: ==1189== Releasing lock...
[2025-02-09 06:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:07:01] Production.INFO: ==1191== Lock acquired, processing the job...
[2025-02-09 01:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:07:02] Production.INFO: ==1191== Releasing lock...
[2025-02-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:07:02] Production.INFO: ==1193== Lock acquired, processing the job...
[2025-02-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:07:02] Production.INFO: ==1193== Releasing lock...
[2025-02-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:07:03] Production.INFO: ==1198== Lock acquired, processing the job...
[2025-02-09 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:07:03] Production.INFO: ==1196== Lock acquired, processing the job...
[2025-02-09 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:07:03] Production.INFO: ==1200== Lock acquired, processing the job...
[2025-02-09 01:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:07:03] Production.INFO: ==1202== Lock acquired, processing the job...
[2025-02-09 01:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:07:03] Production.INFO: ==1204== Lock acquired, processing the job...
[2025-02-09 01:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:07:03] Production.INFO: ==1206== Lock acquired, processing the job...
[2025-02-09 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:07:03] Production.INFO: Account Balance Start.
[2025-02-09 01:07:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:07:03] Production.INFO: 117
[2025-02-09 01:07:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:07:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:07:03] Production.INFO: Total Charge 0
[2025-02-09 01:07:03] Production.INFO: CreateAllLog End
[2025-02-09 01:07:03] Production.INFO: ==1198== Releasing lock...
[2025-02-09 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:07:03] Production.INFO: count ==21
[2025-02-09 01:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:07:03] Production.INFO: count ==21
[2025-02-09 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433581') start
[2025-02-09 01:07:03] Production.ERROR: done
[2025-02-09 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433581') end
[2025-02-09 01:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:07:03] Production.INFO: 1
[2025-02-09 01:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:07:03] Production.INFO: Account Balance End.
[2025-02-09 01:07:04] Production.ERROR: done
[2025-02-09 01:07:04] Production.INFO: ==1206== Releasing lock...
[2025-02-09 01:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:07:04] Production.INFO: ==1202== Releasing lock...
[2025-02-09 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:07:05
[end_date_ymd] => 2025-02-09 01:07:05
[RateCDR] => 1
)
[2025-02-09 01:07: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` >= '2025-02-08 22:07:05' and `end` < '2025-02-09 01:07: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 ,'')
[2025-02-09 01:07:11] Production.ERROR: CronJobId end10
[2025-02-09 01:07:11] Production.INFO: ==1200== Releasing lock...
[2025-02-09 01:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:07:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:07:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:07:14] Production.INFO: call_cost start
[2025-02-09 01:07:14] Production.INFO: call_cost end
[2025-02-09 01:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:07:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:07:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:07:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:07:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:07:15] Production.INFO: ==1196== Releasing lock...
[2025-02-09 01:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:07:18] Production.INFO: count ==640
[2025-02-09 01:07:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:07:05 - End Time 2025-02-09 01:07:05
[2025-02-09 01:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433582', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433582', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433582', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433582', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:07:18] Production.INFO: ProcessCDR(1,14433582,1,1,2)
[2025-02-09 01:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433582', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433582', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:07:22] Production.INFO: ==1204== Releasing lock...
[2025-02-09 01:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:07:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:08:02] Production.INFO: ==1275== Lock acquired, processing the job...
[2025-02-09 06:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:08:02] Production.INFO: neon service started
[2025-02-09 06:08:02] Production.INFO: neon service started
[2025-02-09 06:08:02] Production.INFO: ==1275== Releasing lock...
[2025-02-09 06:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:08:02] Production.INFO: ==1277== Lock acquired, processing the job...
[2025-02-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:08:02] Production.INFO: ==1277== Releasing lock...
[2025-02-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:08:02] Production.INFO: ==1279== Lock acquired, processing the job...
[2025-02-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:08:02] Production.INFO: ==1279== Releasing lock...
[2025-02-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:08:03] Production.INFO: ==1286== Lock acquired, processing the job...
[2025-02-09 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:08:03] Production.INFO: ==1292== Lock acquired, processing the job...
[2025-02-09 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:08:03] Production.INFO: ==1284== Lock acquired, processing the job...
[2025-02-09 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:08:03] Production.INFO: ==1282== Lock acquired, processing the job...
[2025-02-09 01:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:08:03] Production.INFO: count ==21
[2025-02-09 01:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:08:04] Production.INFO: count ==21
[2025-02-09 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433583') start
[2025-02-09 01:08:04] Production.INFO: ==1288== Lock acquired, processing the job...
[2025-02-09 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:08:04] Production.INFO: ==1290== Lock acquired, processing the job...
[2025-02-09 01:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433583') end
[2025-02-09 01:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:08:04] Production.INFO: 1
[2025-02-09 01:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:08:04] Production.INFO: Account Balance Start.
[2025-02-09 01:08:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:08:04] Production.INFO: 117
[2025-02-09 01:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:08:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:08:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:08:04] Production.INFO: ==1292== Releasing lock...
[2025-02-09 01:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:08:04] Production.INFO: ==1284== Releasing lock...
[2025-02-09 01:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:08:04] Production.INFO: Total Charge 0
[2025-02-09 01:08:04] Production.INFO: CreateAllLog End
[2025-02-09 01:08:04] Production.ERROR: done
[2025-02-09 01:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:08:04] Production.INFO: Account Balance End.
[2025-02-09 01:08:04] Production.ERROR: done
[2025-02-09 01:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:08:04] Production.INFO: ==1288== Releasing lock...
[2025-02-09 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:08:05
[end_date_ymd] => 2025-02-09 01:08:05
[RateCDR] => 1
)
[2025-02-09 01:08: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` >= '2025-02-08 22:08:05' and `end` < '2025-02-09 01:08: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 ,'')
[2025-02-09 01:08:11] Production.ERROR: CronJobId end10
[2025-02-09 01:08:11] Production.INFO: ==1286== Releasing lock...
[2025-02-09 01:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:08:14] Production.INFO: call_cost start
[2025-02-09 01:08:14] Production.INFO: call_cost end
[2025-02-09 01:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:08:15] Production.INFO: ==1282== Releasing lock...
[2025-02-09 01:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:08:18] Production.INFO: count ==636
[2025-02-09 01:08:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:08:05 - End Time 2025-02-09 01:08:05
[2025-02-09 01:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433587', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433587', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433587', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433587', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:08:18] Production.INFO: ProcessCDR(1,14433587,1,1,2)
[2025-02-09 01:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433587', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433587', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:08:22] Production.INFO: ==1290== Releasing lock...
[2025-02-09 01:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:08:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:09:01] Production.INFO: ==1346== Lock acquired, processing the job...
[2025-02-09 06:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:09:01] Production.INFO: neon service started
[2025-02-09 06:09:01] Production.INFO: neon service started
[2025-02-09 06:09:01] Production.INFO: ==1346== Releasing lock...
[2025-02-09 06:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:09:02] Production.INFO: ==1348== Lock acquired, processing the job...
[2025-02-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:09:02] Production.INFO: ==1350== Lock acquired, processing the job...
[2025-02-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:09:02] Production.INFO: ==1350== Releasing lock...
[2025-02-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:09:02] Production.INFO: ==1348== Releasing lock...
[2025-02-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:09:03] Production.INFO: ==1357== Lock acquired, processing the job...
[2025-02-09 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:09:03] Production.INFO: ==1363== Lock acquired, processing the job...
[2025-02-09 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:09:03] Production.INFO: ==1352== Lock acquired, processing the job...
[2025-02-09 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:09:03] Production.INFO: ==1361== Lock acquired, processing the job...
[2025-02-09 01:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:09:03] Production.INFO: ==1355== Lock acquired, processing the job...
[2025-02-09 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:09:03] Production.INFO: ==1359== Lock acquired, processing the job...
[2025-02-09 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:09:03] Production.INFO: count ==21
[2025-02-09 01:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:09:03] Production.INFO: count ==21
[2025-02-09 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433588') start
[2025-02-09 01:09:03] Production.INFO: Account Balance Start.
[2025-02-09 01:09:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:09:03] Production.INFO: 117
[2025-02-09 01:09:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433588') end
[2025-02-09 01:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:09:03] Production.INFO: 1
[2025-02-09 01:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:09:03] Production.INFO: ==1363== Releasing lock...
[2025-02-09 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:09:03] Production.ERROR: done
[2025-02-09 01:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:09:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:09:03] Production.INFO: ==1355== Releasing lock...
[2025-02-09 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:09:04] Production.ERROR: done
[2025-02-09 01:09:04] Production.INFO: Total Charge 0
[2025-02-09 01:09:04] Production.INFO: CreateAllLog End
[2025-02-09 01:09:04] Production.INFO: Account Balance End.
[2025-02-09 01:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:09:04] Production.INFO: ==1359== Releasing lock...
[2025-02-09 01:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:09:05
[end_date_ymd] => 2025-02-09 01:09:05
[RateCDR] => 1
)
[2025-02-09 01:09: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` >= '2025-02-08 22:09:05' and `end` < '2025-02-09 01:09: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 ,'')
[2025-02-09 01:09:11] Production.ERROR: CronJobId end10
[2025-02-09 01:09:11] Production.INFO: ==1357== Releasing lock...
[2025-02-09 01:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:09:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:09:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:09:14] Production.INFO: call_cost start
[2025-02-09 01:09:14] Production.INFO: call_cost end
[2025-02-09 01:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:09:15] Production.INFO: ==1352== Releasing lock...
[2025-02-09 01:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:09:17] Production.INFO: count ==623
[2025-02-09 01:09:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:09:05 - End Time 2025-02-09 01:09:05
[2025-02-09 01:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433592', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433592', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433592', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433592', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:09:18] Production.INFO: ProcessCDR(1,14433592,1,1,2)
[2025-02-09 01:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433592', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433592', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:09:21] Production.INFO: ==1361== Releasing lock...
[2025-02-09 01:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:09:21] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:10:01] Production.INFO: ==1419== Lock acquired, processing the job...
[2025-02-09 06:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:10:01] Production.INFO: neon service started
[2025-02-09 06:10:01] Production.INFO: neon service started
[2025-02-09 06:10:01] Production.INFO: ==1419== Releasing lock...
[2025-02-09 06:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:10:02] Production.INFO: ==1421== Lock acquired, processing the job...
[2025-02-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:10:02] Production.INFO: ==1423== Lock acquired, processing the job...
[2025-02-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:10:02] Production.INFO: ==1423== Releasing lock...
[2025-02-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:10:02] Production.INFO: ==1421== Releasing lock...
[2025-02-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:10:03] Production.INFO: ==1432== Lock acquired, processing the job...
[2025-02-09 01:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:10:03] Production.INFO: ==1436== Lock acquired, processing the job...
[2025-02-09 01:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:10:03] Production.INFO: ==1438== Lock acquired, processing the job...
[2025-02-09 01:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 01:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:10:04] Production.INFO: ==1425== Lock acquired, processing the job...
[2025-02-09 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 01:10:04] Production.INFO: ==1427== Lock acquired, processing the job...
[2025-02-09 01:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:10:04] Production.INFO: ==1430== Lock acquired, processing the job...
[2025-02-09 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:10:04] Production.INFO: ==1434== Lock acquired, processing the job...
[2025-02-09 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:10:04] Production.ERROR: CronJob PID - 1427
[2025-02-09 01:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 01:10:04] Production.ERROR: CronJob ID - 5
[2025-02-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:10:00
[2025-02-09 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:10:04] Production.ERROR: CronJob PID - 1430
[2025-02-09 01:10:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 01:10:04] Production.ERROR: CronJob ID - 7
[2025-02-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:10:00
[2025-02-09 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:10:04] Production.ERROR: CronJob PID - 1432
[2025-02-09 01:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 01:10:04] Production.ERROR: CronJob ID - 10
[2025-02-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:10:00
[2025-02-09 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:10:04] Production.ERROR: CronJob PID - 1436
[2025-02-09 01:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 01:10:04] Production.ERROR: CronJob ID - 16
[2025-02-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:10:00
[2025-02-09 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:10:04] Production.ERROR: CronJob PID - 1438
[2025-02-09 01:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-09 01:10:04] Production.ERROR: CronJob ID - 17
[2025-02-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:10:00
[2025-02-09 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 01:10:04] Production.INFO: ==1425== Releasing lock...
[2025-02-09 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 01:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 01:10:04] Production.INFO: ==1440== Lock acquired, processing the job...
[2025-02-09 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:10:04] Production.ERROR: done
[2025-02-09 01:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:10:04] Production.INFO: Account Balance Start.
[2025-02-09 01:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:10:04] Production.INFO: 117
[2025-02-09 01:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:10:04] Production.INFO: ==1430== Releasing lock...
[2025-02-09 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:10:04] Production.ERROR: done
[2025-02-09 01:10:04] Production.INFO: Total Charge 0
[2025-02-09 01:10:04] Production.ERROR: done
[2025-02-09 01:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:10:04] Production.INFO: CreateAllLog End
[2025-02-09 01:10:04] Production.INFO: count ==21
[2025-02-09 01:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:10:04] Production.INFO: count ==21
[2025-02-09 01:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 01:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433597', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433596') start
[2025-02-09 01:10:04] Production.INFO: Account Balance End.
[2025-02-09 01:10:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:10:04] Production.INFO: ==1434== Releasing lock...
[2025-02-09 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433596') end
[2025-02-09 01:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:10:04] Production.INFO: 1
[2025-02-09 01:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:10:05] Production.INFO: ==1440== Releasing lock...
[2025-02-09 01:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:10:05
[end_date_ymd] => 2025-02-09 01:10:05
[RateCDR] => 1
)
[2025-02-09 01:10: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` >= '2025-02-08 22:10:05' and `end` < '2025-02-09 01:10: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 ,'')
[2025-02-09 01:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433597', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 01:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 01:10:08] Production.INFO: ProcessCDR(1,14433597,1,1,2)
[2025-02-09 01:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433597,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433597,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:10:08] Production.INFO: ==1438== Releasing lock...
[2025-02-09 01:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 01:10:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 01:10:14] Production.ERROR: CronJobId end10
[2025-02-09 01:10:14] Production.INFO: ==1432== Releasing lock...
[2025-02-09 01:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:10:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:10:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:10:16] Production.INFO: call_cost start
[2025-02-09 01:10:16] Production.INFO: call_cost end
[2025-02-09 01:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:10:17] Production.INFO: ==1427== Releasing lock...
[2025-02-09 01:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:10:18] Production.INFO: count ==628
[2025-02-09 01:10:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:10:05 - End Time 2025-02-09 01:10:05
[2025-02-09 01:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433598', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433598', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433598', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433598', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:10:18] Production.INFO: ProcessCDR(1,14433598,1,1,2)
[2025-02-09 01:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433598', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433598', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:10:22] Production.INFO: ==1436== Releasing lock...
[2025-02-09 01:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:10:22] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:11:01] Production.INFO: ==1497== Lock acquired, processing the job...
[2025-02-09 06:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:11:01] Production.INFO: neon service started
[2025-02-09 06:11:01] Production.INFO: neon service started
[2025-02-09 06:11:01] Production.INFO: ==1497== Releasing lock...
[2025-02-09 06:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:11:01] Production.INFO: ==1501== Lock acquired, processing the job...
[2025-02-09 06:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:11:01] Production.INFO: ==1501== Releasing lock...
[2025-02-09 06:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:11:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:11:01] Production.INFO: ==1499== Lock acquired, processing the job...
[2025-02-09 01:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:11:02] Production.INFO: ==1499== Releasing lock...
[2025-02-09 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:11:03] Production.INFO: ==1543== Lock acquired, processing the job...
[2025-02-09 01:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:11:03] Production.INFO: ==1545== Lock acquired, processing the job...
[2025-02-09 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:11:03] Production.INFO: ==1535== Lock acquired, processing the job...
[2025-02-09 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:11:03] Production.INFO: count ==21
[2025-02-09 01:11:03] Production.INFO: ==1537== Lock acquired, processing the job...
[2025-02-09 01:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:11:03] Production.INFO: count ==21
[2025-02-09 01:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433599') start
[2025-02-09 01:11:03] Production.INFO: ==1539== Lock acquired, processing the job...
[2025-02-09 01:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:11:03] Production.INFO: ==1541== Lock acquired, processing the job...
[2025-02-09 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433599') end
[2025-02-09 01:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:11:03] Production.INFO: 1
[2025-02-09 01:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:11:03] Production.INFO: Account Balance Start.
[2025-02-09 01:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:11:03] Production.INFO: 117
[2025-02-09 01:11:03] Production.ERROR: done
[2025-02-09 01:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:11:03] Production.INFO: ==1545== Releasing lock...
[2025-02-09 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:11:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:11:03] Production.INFO: Total Charge 0
[2025-02-09 01:11:03] Production.INFO: CreateAllLog End
[2025-02-09 01:11:04] Production.INFO: ==1537== Releasing lock...
[2025-02-09 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:11:04] Production.ERROR: done
[2025-02-09 01:11:04] Production.INFO: Account Balance End.
[2025-02-09 01:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:11:04] Production.INFO: ==1541== Releasing lock...
[2025-02-09 01:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:11:05
[end_date_ymd] => 2025-02-09 01:11:05
[RateCDR] => 1
)
[2025-02-09 01:11: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` >= '2025-02-08 22:11:05' and `end` < '2025-02-09 01:11: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 ,'')
[2025-02-09 01:11:11] Production.ERROR: CronJobId end10
[2025-02-09 01:11:11] Production.INFO: ==1539== Releasing lock...
[2025-02-09 01:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:11:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:11:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:11:14] Production.INFO: call_cost start
[2025-02-09 01:11:14] Production.INFO: call_cost end
[2025-02-09 01:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:11:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:11:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:11:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:11:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:11:15] Production.INFO: ==1535== Releasing lock...
[2025-02-09 01:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:11:19] Production.INFO: count ==638
[2025-02-09 01:11:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:11:05 - End Time 2025-02-09 01:11:05
[2025-02-09 01:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433603', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433603', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433603', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433603', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:11:19] Production.INFO: ProcessCDR(1,14433603,1,1,2)
[2025-02-09 01:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433603', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433603', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:11:24] Production.INFO: ==1543== Releasing lock...
[2025-02-09 01:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:11:24] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:12:01] Production.INFO: ==1614== Lock acquired, processing the job...
[2025-02-09 06:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:12:01] Production.INFO: neon service started
[2025-02-09 06:12:01] Production.INFO: neon service started
[2025-02-09 06:12:01] Production.INFO: ==1614== Releasing lock...
[2025-02-09 06:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:12:02] Production.INFO: ==1618== Lock acquired, processing the job...
[2025-02-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:12:02] Production.INFO: ==1618== Releasing lock...
[2025-02-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:12:02] Production.INFO: ==1616== Lock acquired, processing the job...
[2025-02-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:12:02] Production.INFO: ==1616== Releasing lock...
[2025-02-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:12:03] Production.INFO: ==1629== Lock acquired, processing the job...
[2025-02-09 01:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:12:03] Production.INFO: ==1627== Lock acquired, processing the job...
[2025-02-09 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:12:03] Production.INFO: Account Balance Start.
[2025-02-09 01:12:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:12:03] Production.INFO: 117
[2025-02-09 01:12:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:12:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:12:03] Production.INFO: Total Charge 0
[2025-02-09 01:12:03] Production.INFO: CreateAllLog End
[2025-02-09 01:12:03] Production.INFO: ==1621== Lock acquired, processing the job...
[2025-02-09 01:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:12:03] Production.INFO: ==1623== Lock acquired, processing the job...
[2025-02-09 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:12:03] Production.INFO: Account Balance End.
[2025-02-09 01:12:03] Production.INFO: ==1625== Lock acquired, processing the job...
[2025-02-09 01:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:12:03] Production.ERROR: CronJobId end 12
[2025-02-09 01:12:03] Production.INFO: ==1627== Releasing lock...
[2025-02-09 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:12:04] Production.ERROR: done
[2025-02-09 01:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:12:04] Production.INFO: ==1631== Lock acquired, processing the job...
[2025-02-09 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:12:04] Production.ERROR: done
[2025-02-09 01:12:04] Production.INFO: ==1623== Releasing lock...
[2025-02-09 01:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:12:04] Production.INFO: count ==21
[2025-02-09 01:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:12:04] Production.INFO: count ==21
[2025-02-09 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433608') start
[2025-02-09 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433608') end
[2025-02-09 01:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:12:04] Production.INFO: 1
[2025-02-09 01:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:12:04] Production.INFO: ==1631== Releasing lock...
[2025-02-09 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:12:05
[end_date_ymd] => 2025-02-09 01:12:05
[RateCDR] => 1
)
[2025-02-09 01:12: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` >= '2025-02-08 22:12:05' and `end` < '2025-02-09 01:12: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 ,'')
[2025-02-09 01:12:11] Production.ERROR: CronJobId end10
[2025-02-09 01:12:11] Production.INFO: ==1625== Releasing lock...
[2025-02-09 01:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:12:14] Production.INFO: call_cost start
[2025-02-09 01:12:14] Production.INFO: call_cost end
[2025-02-09 01:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:12:15] Production.INFO: ==1621== Releasing lock...
[2025-02-09 01:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:12:19] Production.INFO: count ==638
[2025-02-09 01:12:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:12:05 - End Time 2025-02-09 01:12:05
[2025-02-09 01:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433607', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433607', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433607', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433607', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:12:19] Production.INFO: ProcessCDR(1,14433607,1,1,2)
[2025-02-09 01:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433607', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433607', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:12:22] Production.INFO: ==1629== Releasing lock...
[2025-02-09 01:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:12:22] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:13:02] Production.INFO: ==1691== Lock acquired, processing the job...
[2025-02-09 06:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:13:02] Production.INFO: neon service started
[2025-02-09 06:13:02] Production.INFO: neon service started
[2025-02-09 06:13:02] Production.INFO: ==1691== Releasing lock...
[2025-02-09 06:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:13:02] Production.INFO: ==1696== Lock acquired, processing the job...
[2025-02-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:13:02] Production.INFO: ==1696== Releasing lock...
[2025-02-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:13:02] Production.INFO: ==1694== Lock acquired, processing the job...
[2025-02-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:13:03] Production.INFO: ==1694== Releasing lock...
[2025-02-09 01:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:13:03] Production.INFO: ==1698== Lock acquired, processing the job...
[2025-02-09 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:13:03] Production.INFO: ==1704== Lock acquired, processing the job...
[2025-02-09 01:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:13:03] Production.INFO: ==1708== Lock acquired, processing the job...
[2025-02-09 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:13:03] Production.INFO: Account Balance Start.
[2025-02-09 01:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:13:03] Production.INFO: 117
[2025-02-09 01:13:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:13:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:13:04] Production.INFO: count ==21
[2025-02-09 01:13:04] Production.INFO: Total Charge 0
[2025-02-09 01:13:04] Production.INFO: CreateAllLog End
[2025-02-09 01:13:04] Production.INFO: ==1700== Lock acquired, processing the job...
[2025-02-09 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:13:04] Production.INFO: count ==21
[2025-02-09 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433611') start
[2025-02-09 01:13:04] Production.INFO: ==1702== Lock acquired, processing the job...
[2025-02-09 01:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:13:04] Production.INFO: ==1706== Lock acquired, processing the job...
[2025-02-09 01:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:13:04] Production.INFO: Account Balance End.
[2025-02-09 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433611') end
[2025-02-09 01:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:13:04] Production.INFO: 1
[2025-02-09 01:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:13:04] Production.INFO: ==1704== Releasing lock...
[2025-02-09 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:13:04] Production.INFO: ==1708== Releasing lock...
[2025-02-09 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:13:04] Production.ERROR: done
[2025-02-09 01:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:13:04] Production.INFO: ==1700== Releasing lock...
[2025-02-09 01:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:13:04] Production.ERROR: done
[2025-02-09 01:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:13:05
[end_date_ymd] => 2025-02-09 01:13:05
[RateCDR] => 1
)
[2025-02-09 01:13: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` >= '2025-02-08 22:13:05' and `end` < '2025-02-09 01:13: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 ,'')
[2025-02-09 01:13:13] Production.ERROR: CronJobId end10
[2025-02-09 01:13:13] Production.INFO: ==1702== Releasing lock...
[2025-02-09 01:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:13:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:13:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:13:14] Production.INFO: call_cost start
[2025-02-09 01:13:14] Production.INFO: call_cost end
[2025-02-09 01:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:13:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:13:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:13:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:13:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:13:15] Production.INFO: ==1698== Releasing lock...
[2025-02-09 01:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:13:21] Production.INFO: count ==634
[2025-02-09 01:13:21] Production.ERROR: pbx CDR StartTime 2025-02-08 22:13:05 - End Time 2025-02-09 01:13:05
[2025-02-09 01:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433613', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433613', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433613', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433613', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:13:21] Production.INFO: ProcessCDR(1,14433613,1,1,2)
[2025-02-09 01:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:13:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:13:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433613', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433613', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:13:24] Production.INFO: ==1706== Releasing lock...
[2025-02-09 01:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:13:24] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:14:01] Production.INFO: ==1761== Lock acquired, processing the job...
[2025-02-09 06:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:14:01] Production.INFO: neon service started
[2025-02-09 06:14:01] Production.INFO: neon service started
[2025-02-09 06:14:01] Production.INFO: ==1761== Releasing lock...
[2025-02-09 06:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:14:02] Production.INFO: ==1763== Lock acquired, processing the job...
[2025-02-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:14:02] Production.INFO: ==1763== Releasing lock...
[2025-02-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:14:02] Production.INFO: ==1765== Lock acquired, processing the job...
[2025-02-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:14:02] Production.INFO: ==1765== Releasing lock...
[2025-02-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:14:03] Production.INFO: ==1768== Lock acquired, processing the job...
[2025-02-09 01:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:14:03] Production.INFO: ==1770== Lock acquired, processing the job...
[2025-02-09 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:14:03] Production.INFO: ==1772== Lock acquired, processing the job...
[2025-02-09 01:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:14:03] Production.INFO: ==1774== Lock acquired, processing the job...
[2025-02-09 01:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:14:03] Production.INFO: Account Balance Start.
[2025-02-09 01:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:14:03] Production.INFO: 117
[2025-02-09 01:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:14:03] Production.INFO: ==1776== Lock acquired, processing the job...
[2025-02-09 01:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:14:03] Production.INFO: ==1778== Lock acquired, processing the job...
[2025-02-09 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:14:03] Production.INFO: Total Charge 0
[2025-02-09 01:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:14:03] Production.INFO: CreateAllLog End
[2025-02-09 01:14:03] Production.INFO: count ==21
[2025-02-09 01:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:14:03] Production.INFO: count ==21
[2025-02-09 01:14:03] Production.INFO: ==1770== Releasing lock...
[2025-02-09 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433617') start
[2025-02-09 01:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433617') end
[2025-02-09 01:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:14:03] Production.INFO: 1
[2025-02-09 01:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:14:04] Production.ERROR: done
[2025-02-09 01:14:04] Production.INFO: ==1778== Releasing lock...
[2025-02-09 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:14:04] Production.INFO: Account Balance End.
[2025-02-09 01:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:14:04] Production.INFO: ==1774== Releasing lock...
[2025-02-09 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:14:04] Production.ERROR: done
[2025-02-09 01:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:14:04
[end_date_ymd] => 2025-02-09 01:14:04
[RateCDR] => 1
)
[2025-02-09 01:14:04] 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-02-08 22:14:04' and `end` < '2025-02-09 01:14:04'
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-02-09 01:14:12] Production.ERROR: CronJobId end10
[2025-02-09 01:14:12] Production.INFO: ==1772== Releasing lock...
[2025-02-09 01:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:14:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:14:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:14:14] Production.INFO: call_cost start
[2025-02-09 01:14:14] Production.INFO: call_cost end
[2025-02-09 01:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:14:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:14:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:14:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:14:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:14:15] Production.INFO: ==1768== Releasing lock...
[2025-02-09 01:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:14:18] Production.INFO: count ==633
[2025-02-09 01:14:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:14:04 - End Time 2025-02-09 01:14:04
[2025-02-09 01:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433618', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433618', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433618', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433618', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:14:18] Production.INFO: ProcessCDR(1,14433618,1,1,2)
[2025-02-09 01:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433618', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433618', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:14:23] Production.INFO: ==1776== Releasing lock...
[2025-02-09 01:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:14:23] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:15:02] Production.INFO: ==1839== Lock acquired, processing the job...
[2025-02-09 06:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:15:02] Production.INFO: neon service started
[2025-02-09 06:15:02] Production.INFO: neon service started
[2025-02-09 06:15:02] Production.INFO: ==1839== Releasing lock...
[2025-02-09 06:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:15:02] Production.INFO: ==1841== Lock acquired, processing the job...
[2025-02-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:15:02] Production.INFO: ==1841== Releasing lock...
[2025-02-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:15:02] Production.INFO: ==1843== Lock acquired, processing the job...
[2025-02-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:15:02] Production.INFO: ==1843== Releasing lock...
[2025-02-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:15:03] Production.INFO: ==1850== Lock acquired, processing the job...
[2025-02-09 01:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:15:03] Production.INFO: ==1846== Lock acquired, processing the job...
[2025-02-09 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:15:03] Production.INFO: ==1848== Lock acquired, processing the job...
[2025-02-09 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:15:04] Production.INFO: ==1852== Lock acquired, processing the job...
[2025-02-09 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:15:04] Production.INFO: ==1854== Lock acquired, processing the job...
[2025-02-09 01:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:15:04] Production.INFO: Account Balance Start.
[2025-02-09 01:15:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:15:04] Production.INFO: 117
[2025-02-09 01:15:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:15:04] Production.INFO: ==1856== Lock acquired, processing the job...
[2025-02-09 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:15:04] Production.INFO: ==1848== Releasing lock...
[2025-02-09 01:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:15:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:15:04] Production.INFO: Total Charge 0
[2025-02-09 01:15:04] Production.INFO: CreateAllLog End
[2025-02-09 01:15:04] Production.INFO: Account Balance End.
[2025-02-09 01:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:15:04] Production.INFO: ==1852== Releasing lock...
[2025-02-09 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:15:04] Production.INFO: count ==21
[2025-02-09 01:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:15:04] Production.INFO: count ==21
[2025-02-09 01:15:04] Production.ERROR: done
[2025-02-09 01:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433622') start
[2025-02-09 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433622') end
[2025-02-09 01:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:15:04] Production.INFO: 1
[2025-02-09 01:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:15:05] Production.ERROR: done
[2025-02-09 01:15:05] Production.INFO: ==1856== Releasing lock...
[2025-02-09 01:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:15:05
[end_date_ymd] => 2025-02-09 01:15:05
[RateCDR] => 1
)
[2025-02-09 01:15: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` >= '2025-02-08 22:15:05' and `end` < '2025-02-09 01:15: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 ,'')
[2025-02-09 01:15:11] Production.ERROR: CronJobId end10
[2025-02-09 01:15:11] Production.INFO: ==1850== Releasing lock...
[2025-02-09 01:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:15:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:15:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:15:14] Production.INFO: call_cost start
[2025-02-09 01:15:14] Production.INFO: call_cost end
[2025-02-09 01:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:15:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:15:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:15:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:15:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:15:15] Production.INFO: ==1846== Releasing lock...
[2025-02-09 01:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:15:18] Production.INFO: count ==633
[2025-02-09 01:15:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:15:05 - End Time 2025-02-09 01:15:05
[2025-02-09 01:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433623', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433623', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433623', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433623', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:15:18] Production.INFO: ProcessCDR(1,14433623,1,1,2)
[2025-02-09 01:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433623', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433623', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:15:21] Production.INFO: ==1854== Releasing lock...
[2025-02-09 01:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:15:21] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:16:01] Production.INFO: ==1909== Lock acquired, processing the job...
[2025-02-09 06:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:16:01] Production.INFO: neon service started
[2025-02-09 06:16:01] Production.INFO: neon service started
[2025-02-09 06:16:01] Production.INFO: ==1909== Releasing lock...
[2025-02-09 06:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:16:01] Production.INFO: ==1911== Lock acquired, processing the job...
[2025-02-09 01:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:16:02] Production.INFO: ==1911== Releasing lock...
[2025-02-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:16:02] Production.INFO: ==1913== Lock acquired, processing the job...
[2025-02-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:16:02] Production.INFO: ==1913== Releasing lock...
[2025-02-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:16:03] Production.INFO: ==1916== Lock acquired, processing the job...
[2025-02-09 01:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:16:03] Production.INFO: ==1918== Lock acquired, processing the job...
[2025-02-09 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:16:03] Production.INFO: ==1922== Lock acquired, processing the job...
[2025-02-09 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:16:03] Production.INFO: Account Balance Start.
[2025-02-09 01:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:16:03] Production.INFO: 117
[2025-02-09 01:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:16:03] Production.INFO: ==1920== Lock acquired, processing the job...
[2025-02-09 01:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:16:03] Production.INFO: ==1926== Lock acquired, processing the job...
[2025-02-09 01:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:16:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:16:03] Production.INFO: Total Charge 0
[2025-02-09 01:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:16:03] Production.INFO: CreateAllLog End
[2025-02-09 01:16:03] Production.INFO: ==1924== Lock acquired, processing the job...
[2025-02-09 01:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:16:03] Production.INFO: count ==21
[2025-02-09 01:16:03] Production.INFO: ==1918== Releasing lock...
[2025-02-09 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:16:03] Production.INFO: count ==21
[2025-02-09 01:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433627') start
[2025-02-09 01:16:03] Production.INFO: Account Balance End.
[2025-02-09 01:16:03] Production.ERROR: CronJobId end 12
[2025-02-09 01:16:03] Production.INFO: ==1922== Releasing lock...
[2025-02-09 01:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433627') end
[2025-02-09 01:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:16:03] Production.INFO: 1
[2025-02-09 01:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:16:04] Production.INFO: ==1926== Releasing lock...
[2025-02-09 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:16:04] Production.ERROR: done
[2025-02-09 01:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:16:04] Production.ERROR: done
[2025-02-09 01:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:16:05
[end_date_ymd] => 2025-02-09 01:16:05
[RateCDR] => 1
)
[2025-02-09 01:16: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` >= '2025-02-08 22:16:05' and `end` < '2025-02-09 01:16: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 ,'')
[2025-02-09 01:16:11] Production.ERROR: CronJobId end10
[2025-02-09 01:16:11] Production.INFO: ==1920== Releasing lock...
[2025-02-09 01:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:16:14] Production.INFO: call_cost start
[2025-02-09 01:16:14] Production.INFO: call_cost end
[2025-02-09 01:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:16:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:16:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:16:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:16:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:16:15] Production.INFO: ==1916== Releasing lock...
[2025-02-09 01:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:16:19] Production.INFO: count ==633
[2025-02-09 01:16:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:16:05 - End Time 2025-02-09 01:16:05
[2025-02-09 01:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433628', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433628', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433628', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433628', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:16:19] Production.INFO: ProcessCDR(1,14433628,1,1,2)
[2025-02-09 01:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433628', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433628', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:16:22] Production.INFO: ==1924== Releasing lock...
[2025-02-09 01:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:16:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:17:01] Production.INFO: ==1982== Lock acquired, processing the job...
[2025-02-09 06:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:17:01] Production.INFO: neon service started
[2025-02-09 06:17:02] Production.INFO: neon service started
[2025-02-09 06:17:02] Production.INFO: ==1982== Releasing lock...
[2025-02-09 06:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:17:02] Production.INFO: ==1986== Lock acquired, processing the job...
[2025-02-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:17:02] Production.INFO: ==1986== Releasing lock...
[2025-02-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:17:02] Production.INFO: ==1984== Lock acquired, processing the job...
[2025-02-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:17:02] Production.INFO: ==1984== Releasing lock...
[2025-02-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:17:03] Production.INFO: ==1996== Lock acquired, processing the job...
[2025-02-09 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:17:03] Production.INFO: ==1998== Lock acquired, processing the job...
[2025-02-09 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:17:03] Production.INFO: Account Balance Start.
[2025-02-09 01:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:17:03] Production.INFO: 117
[2025-02-09 01:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:17:03] Production.INFO: ==1989== Lock acquired, processing the job...
[2025-02-09 01:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:17:04] Production.INFO: Total Charge 0
[2025-02-09 01:17:04] Production.INFO: ==1993== Lock acquired, processing the job...
[2025-02-09 01:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:17:04] Production.INFO: ==1991== Lock acquired, processing the job...
[2025-02-09 01:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:17:04] Production.INFO: ==2000== Lock acquired, processing the job...
[2025-02-09 01:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:17:04] Production.INFO: CreateAllLog End
[2025-02-09 01:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:17:04] Production.ERROR: done
[2025-02-09 01:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:17:04] Production.INFO: Account Balance End.
[2025-02-09 01:17:04] Production.INFO: count ==21
[2025-02-09 01:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:17:04] Production.INFO: count ==21
[2025-02-09 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433630') start
[2025-02-09 01:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:17:04] Production.INFO: ==1996== Releasing lock...
[2025-02-09 01:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:17:04] Production.ERROR: done
[2025-02-09 01:17:04] Production.INFO: ==1991== Releasing lock...
[2025-02-09 01:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433630') end
[2025-02-09 01:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:17:04] Production.INFO: 1
[2025-02-09 01:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:17:04] Production.INFO: ==2000== Releasing lock...
[2025-02-09 01:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:17:05
[end_date_ymd] => 2025-02-09 01:17:05
[RateCDR] => 1
)
[2025-02-09 01:17: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` >= '2025-02-08 22:17:05' and `end` < '2025-02-09 01:17: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 ,'')
[2025-02-09 01:17:12] Production.ERROR: CronJobId end10
[2025-02-09 01:17:12] Production.INFO: ==1993== Releasing lock...
[2025-02-09 01:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:17:14] Production.INFO: call_cost start
[2025-02-09 01:17:14] Production.INFO: call_cost end
[2025-02-09 01:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:17:15] Production.INFO: ==1989== Releasing lock...
[2025-02-09 01:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:17:18] Production.INFO: count ==633
[2025-02-09 01:17:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:17:05 - End Time 2025-02-09 01:17:05
[2025-02-09 01:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433633', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433633', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433633', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433633', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:17:18] Production.INFO: ProcessCDR(1,14433633,1,1,2)
[2025-02-09 01:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433633', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433633', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:17:21] Production.INFO: ==1998== Releasing lock...
[2025-02-09 01:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:17:21] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:18:01] Production.INFO: ==2058== Lock acquired, processing the job...
[2025-02-09 06:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:18:01] Production.INFO: neon service started
[2025-02-09 06:18:01] Production.INFO: neon service started
[2025-02-09 06:18:01] Production.INFO: ==2058== Releasing lock...
[2025-02-09 06:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:18:02] Production.INFO: ==2060== Lock acquired, processing the job...
[2025-02-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:18:02] Production.INFO: ==2062== Lock acquired, processing the job...
[2025-02-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:18:02] Production.INFO: ==2062== Releasing lock...
[2025-02-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:18:02] Production.INFO: ==2060== Releasing lock...
[2025-02-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:18:03] Production.INFO: ==2066== Lock acquired, processing the job...
[2025-02-09 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:18:03] Production.INFO: ==2070== Lock acquired, processing the job...
[2025-02-09 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:18:03] Production.INFO: ==2076== Lock acquired, processing the job...
[2025-02-09 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:18:03] Production.INFO: ==2068== Lock acquired, processing the job...
[2025-02-09 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:18:03] Production.INFO: count ==21
[2025-02-09 01:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:18:03] Production.INFO: count ==21
[2025-02-09 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433635') start
[2025-02-09 01:18:03] Production.INFO: ==2072== Lock acquired, processing the job...
[2025-02-09 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:18:03] Production.INFO: ==2074== Lock acquired, processing the job...
[2025-02-09 01:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433635') end
[2025-02-09 01:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:18:03] Production.INFO: 1
[2025-02-09 01:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:18:03] Production.INFO: ==2076== Releasing lock...
[2025-02-09 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:18:03] Production.INFO: Account Balance Start.
[2025-02-09 01:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:18:03] Production.INFO: 117
[2025-02-09 01:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:18:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:18:04] Production.INFO: Total Charge 0
[2025-02-09 01:18:04] Production.INFO: CreateAllLog End
[2025-02-09 01:18:04] Production.INFO: ==2068== Releasing lock...
[2025-02-09 01:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:18:04] Production.ERROR: done
[2025-02-09 01:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:18:04] Production.INFO: Account Balance End.
[2025-02-09 01:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:18:04] Production.INFO: ==2072== Releasing lock...
[2025-02-09 01:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:18:04] Production.ERROR: done
[2025-02-09 01:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:18:05
[end_date_ymd] => 2025-02-09 01:18:05
[RateCDR] => 1
)
[2025-02-09 01:18: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` >= '2025-02-08 22:18:05' and `end` < '2025-02-09 01:18: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 ,'')
[2025-02-09 01:18:11] Production.ERROR: CronJobId end10
[2025-02-09 01:18:11] Production.INFO: ==2070== Releasing lock...
[2025-02-09 01:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:18:14] Production.INFO: call_cost start
[2025-02-09 01:18:14] Production.INFO: call_cost end
[2025-02-09 01:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:18:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:18:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:18:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:18:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:18:15] Production.INFO: ==2066== Releasing lock...
[2025-02-09 01:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:18:18] Production.INFO: count ==632
[2025-02-09 01:18:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:18:05 - End Time 2025-02-09 01:18:05
[2025-02-09 01:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433638', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433638', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433638', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433638', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:18:18] Production.INFO: ProcessCDR(1,14433638,1,1,2)
[2025-02-09 01:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433638', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433638', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:18:22] Production.INFO: ==2074== Releasing lock...
[2025-02-09 01:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:18:22] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:19:01] Production.INFO: ==2133== Lock acquired, processing the job...
[2025-02-09 06:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:19:01] Production.INFO: neon service started
[2025-02-09 06:19:01] Production.INFO: neon service started
[2025-02-09 06:19:01] Production.INFO: ==2133== Releasing lock...
[2025-02-09 06:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:19:02] Production.INFO: ==2137== Lock acquired, processing the job...
[2025-02-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:19:02] Production.INFO: ==2137== Releasing lock...
[2025-02-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:19:02] Production.INFO: ==2135== Lock acquired, processing the job...
[2025-02-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:19:02] Production.INFO: ==2135== Releasing lock...
[2025-02-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:19:03] Production.INFO: ==2139== Lock acquired, processing the job...
[2025-02-09 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:19:03] Production.INFO: ==2141== Lock acquired, processing the job...
[2025-02-09 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:19:03] Production.INFO: ==2143== Lock acquired, processing the job...
[2025-02-09 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:19:03] Production.INFO: ==2148== Lock acquired, processing the job...
[2025-02-09 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:19:03] Production.INFO: ==2146== Lock acquired, processing the job...
[2025-02-09 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:19:03] Production.INFO: ==2150== Lock acquired, processing the job...
[2025-02-09 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:19:04] Production.INFO: ==2141== Releasing lock...
[2025-02-09 01:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:19:04] Production.INFO: Account Balance Start.
[2025-02-09 01:19:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:19:04] Production.INFO: 117
[2025-02-09 01:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:19:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:19:04] Production.INFO: count ==21
[2025-02-09 01:19:04] Production.ERROR: done
[2025-02-09 01:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:19:04] Production.INFO: count ==21
[2025-02-09 01:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433642') start
[2025-02-09 01:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433642') end
[2025-02-09 01:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:19:04] Production.INFO: 1
[2025-02-09 01:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:19:04] Production.ERROR: done
[2025-02-09 01:19:04] Production.INFO: Total Charge 0
[2025-02-09 01:19:04] Production.INFO: CreateAllLog End
[2025-02-09 01:19:04] Production.INFO: ==2150== Releasing lock...
[2025-02-09 01:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:19:04] Production.INFO: Account Balance End.
[2025-02-09 01:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:19:04] Production.INFO: ==2146== Releasing lock...
[2025-02-09 01:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:19:05
[end_date_ymd] => 2025-02-09 01:19:05
[RateCDR] => 1
)
[2025-02-09 01:19: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` >= '2025-02-08 22:19:05' and `end` < '2025-02-09 01:19: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 ,'')
[2025-02-09 01:19:11] Production.ERROR: CronJobId end10
[2025-02-09 01:19:11] Production.INFO: ==2143== Releasing lock...
[2025-02-09 01:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:19:13] Production.INFO: call_cost start
[2025-02-09 01:19:13] Production.INFO: call_cost end
[2025-02-09 01:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:19:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:19:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:19:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:19:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:19:14] Production.INFO: ==2139== Releasing lock...
[2025-02-09 01:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:19:18] Production.INFO: count ==630
[2025-02-09 01:19:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:19:05 - End Time 2025-02-09 01:19:05
[2025-02-09 01:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433643', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433643', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433643', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433643', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:19:18] Production.INFO: ProcessCDR(1,14433643,1,1,2)
[2025-02-09 01:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433643', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433643', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:19:21] Production.INFO: ==2148== Releasing lock...
[2025-02-09 01:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:19:21] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:20:02] Production.INFO: ==2205== Lock acquired, processing the job...
[2025-02-09 06:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:20:02] Production.INFO: neon service started
[2025-02-09 06:20:02] Production.INFO: neon service started
[2025-02-09 06:20:02] Production.INFO: ==2205== Releasing lock...
[2025-02-09 06:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:20:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 01:20:02] Production.INFO: ==2207== Lock acquired, processing the job...
[2025-02-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:20:03] Production.INFO: ==2209== Lock acquired, processing the job...
[2025-02-09 06:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:20:03] Production.INFO: ==2209== Releasing lock...
[2025-02-09 06:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:20:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:20:03] Production.INFO: ==2207== Releasing lock...
[2025-02-09 01:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:20:04] Production.INFO: ==2216== Lock acquired, processing the job...
[2025-02-09 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:20:04] Production.INFO: ==2218== Lock acquired, processing the job...
[2025-02-09 01:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:20:04] Production.INFO: ==2226== Lock acquired, processing the job...
[2025-02-09 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:20:04] Production.INFO: ==2212== Lock acquired, processing the job...
[2025-02-09 01:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 01:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:20:04] Production.INFO: count ==21
[2025-02-09 01:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 01:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:20:04] Production.ERROR: CronJob PID - 2216
[2025-02-09 01:20:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 01:20:04] Production.ERROR: CronJob ID - 7
[2025-02-09 01:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:20:00
[2025-02-09 01:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:20:04] Production.ERROR: CronJob PID - 2218
[2025-02-09 01:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 01:20:04] Production.ERROR: CronJob ID - 10
[2025-02-09 01:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:20:00
[2025-02-09 01:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:20:04] Production.ERROR: CronJob PID - 2226
[2025-02-09 01:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 01:20:04] Production.ERROR: CronJob ID - 19
[2025-02-09 01:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 01:20:00
[2025-02-09 01:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:20:04] Production.INFO: ==2214== Lock acquired, processing the job...
[2025-02-09 01:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:20:04] Production.INFO: count ==21
[2025-02-09 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433645') start
[2025-02-09 01:20:04] Production.INFO: ==2220== Lock acquired, processing the job...
[2025-02-09 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:20:04] Production.INFO: ==2216== Releasing lock...
[2025-02-09 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 01:20:04] Production.INFO: ==2212== Releasing lock...
[2025-02-09 01:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 01:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 01:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433645') end
[2025-02-09 01:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:20:05] Production.INFO: 1
[2025-02-09 01:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:20:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:20:05] Production.INFO: ==2222== Lock acquired, processing the job...
[2025-02-09 01:20:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:20:05] Production.INFO: ==2226== Releasing lock...
[2025-02-09 01:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:20:05] Production.INFO: ==2224== Lock acquired, processing the job...
[2025-02-09 01:20:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 01:20:05] Production.INFO: Account Balance Start.
[2025-02-09 01:20:05] Production.INFO: CreateAllLog Start
[2025-02-09 01:20:05] Production.INFO: 117
[2025-02-09 01:20:05] Production.INFO: Date 2025-02-08
[2025-02-09 01:20:05] Production.INFO: Reseller ==> 0
[2025-02-09 01:20:05] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:20:05] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:20:05] Production.INFO: Date 2025-02-09
[2025-02-09 01:20:05] Production.INFO: Reseller ==> 0
[2025-02-09 01:20:05] Production.INFO: Total Charge 0
[2025-02-09 01:20:05] Production.INFO: CreateAllLog End
[2025-02-09 01:20:05] Production.ERROR: done
[2025-02-09 01:20:05] Production.ERROR: done
[2025-02-09 01:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 01:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433648', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 01:20:05] Production.ERROR: done
[2025-02-09 01:20:05] Production.INFO: Account Balance End.
[2025-02-09 01:20:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:20:05] Production.INFO: ==2220== Releasing lock...
[2025-02-09 01:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:20:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:20:07
[end_date_ymd] => 2025-02-09 01:20:07
[RateCDR] => 1
)
[2025-02-09 01:20: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-02-08 22:20:07' and `end` < '2025-02-09 01:20: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-02-09 01:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433648', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 01:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 01:20:10] Production.INFO: ProcessCDR(1,14433648,1,1,2)
[2025-02-09 01:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433648,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433648,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:20:10] Production.INFO: ==2224== Releasing lock...
[2025-02-09 01:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 01:20:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 01:20:14] Production.ERROR: CronJobId end10
[2025-02-09 01:20:14] Production.INFO: ==2218== Releasing lock...
[2025-02-09 01:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:20:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:20:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:20:16] Production.INFO: call_cost start
[2025-02-09 01:20:16] Production.INFO: call_cost end
[2025-02-09 01:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:20:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:20:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:20:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:20:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:20:17] Production.INFO: ==2214== Releasing lock...
[2025-02-09 01:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:20:20] Production.INFO: count ==640
[2025-02-09 01:20:20] Production.ERROR: pbx CDR StartTime 2025-02-08 22:20:07 - End Time 2025-02-09 01:20:07
[2025-02-09 01:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433649', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433649', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433649', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433649', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:20:20] Production.INFO: ProcessCDR(1,14433649,1,1,2)
[2025-02-09 01:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433649', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433649', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:20:23] Production.INFO: ==2222== Releasing lock...
[2025-02-09 01:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:20:23] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:21:01] Production.INFO: ==2279== Lock acquired, processing the job...
[2025-02-09 06:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:21:01] Production.INFO: neon service started
[2025-02-09 06:21:01] Production.INFO: neon service started
[2025-02-09 06:21:01] Production.INFO: ==2279== Releasing lock...
[2025-02-09 06:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:21:02] Production.INFO: ==2281== Lock acquired, processing the job...
[2025-02-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:21:02] Production.INFO: ==2283== Lock acquired, processing the job...
[2025-02-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:21:02] Production.INFO: ==2283== Releasing lock...
[2025-02-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:21:02] Production.INFO: ==2281== Releasing lock...
[2025-02-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:21:03] Production.INFO: ==2288== Lock acquired, processing the job...
[2025-02-09 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:21:03] Production.INFO: ==2292== Lock acquired, processing the job...
[2025-02-09 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:21:03] Production.INFO: ==2286== Lock acquired, processing the job...
[2025-02-09 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:21:03] Production.INFO: Account Balance Start.
[2025-02-09 01:21:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:21:03] Production.INFO: 117
[2025-02-09 01:21:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:21:03] Production.INFO: ==2290== Lock acquired, processing the job...
[2025-02-09 01:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:21:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:21:03] Production.INFO: ==2288== Releasing lock...
[2025-02-09 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:21:03] Production.INFO: Total Charge 0
[2025-02-09 01:21:03] Production.INFO: CreateAllLog End
[2025-02-09 01:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:21:04] Production.INFO: ==2294== Lock acquired, processing the job...
[2025-02-09 01:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:21:04] Production.INFO: ==2296== Lock acquired, processing the job...
[2025-02-09 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:21:04] Production.INFO: Account Balance End.
[2025-02-09 01:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:21:04] Production.INFO: ==2292== Releasing lock...
[2025-02-09 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:21:04] Production.INFO: count ==21
[2025-02-09 01:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:21:04] Production.INFO: count ==21
[2025-02-09 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433653') start
[2025-02-09 01:21:04] Production.ERROR: done
[2025-02-09 01:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433653') end
[2025-02-09 01:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:21:04] Production.INFO: 1
[2025-02-09 01:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:21:04] Production.INFO: ==2296== Releasing lock...
[2025-02-09 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:21:04] Production.ERROR: done
[2025-02-09 01:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:21:05
[end_date_ymd] => 2025-02-09 01:21:05
[RateCDR] => 1
)
[2025-02-09 01:21: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` >= '2025-02-08 22:21:05' and `end` < '2025-02-09 01:21: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 ,'')
[2025-02-09 01:21:12] Production.ERROR: CronJobId end10
[2025-02-09 01:21:12] Production.INFO: ==2290== Releasing lock...
[2025-02-09 01:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:21:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:21:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:21:13] Production.INFO: call_cost start
[2025-02-09 01:21:13] Production.INFO: call_cost end
[2025-02-09 01:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:21:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:21:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:21:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:21:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:21:14] Production.INFO: ==2286== Releasing lock...
[2025-02-09 01:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:21:18] Production.INFO: count ==674
[2025-02-09 01:21:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:21:05 - End Time 2025-02-09 01:21:05
[2025-02-09 01:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433654', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433654', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433654', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433654', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:21:18] Production.INFO: ProcessCDR(1,14433654,1,1,2)
[2025-02-09 01:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433654', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433654', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:21:21] Production.INFO: ==2294== Releasing lock...
[2025-02-09 01:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:21:21] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:22:02] Production.INFO: ==2391== Lock acquired, processing the job...
[2025-02-09 06:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:22:02] Production.INFO: neon service started
[2025-02-09 06:22:02] Production.INFO: neon service started
[2025-02-09 06:22:02] Production.INFO: ==2391== Releasing lock...
[2025-02-09 06:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:22:02] Production.INFO: ==2393== Lock acquired, processing the job...
[2025-02-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:22:02] Production.INFO: ==2393== Releasing lock...
[2025-02-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:22:02] Production.INFO: ==2395== Lock acquired, processing the job...
[2025-02-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:22:03] Production.INFO: ==2395== Releasing lock...
[2025-02-09 06:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:22:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:22:03] Production.INFO: ==2398== Lock acquired, processing the job...
[2025-02-09 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:22:03] Production.INFO: ==2400== Lock acquired, processing the job...
[2025-02-09 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:22:03] Production.INFO: ==2402== Lock acquired, processing the job...
[2025-02-09 01:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:22:04] Production.INFO: ==2404== Lock acquired, processing the job...
[2025-02-09 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:22:04] Production.INFO: ==2406== Lock acquired, processing the job...
[2025-02-09 01:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:22:04] Production.INFO: Account Balance Start.
[2025-02-09 01:22:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:22:04] Production.INFO: 117
[2025-02-09 01:22:04] Production.INFO: ==2408== Lock acquired, processing the job...
[2025-02-09 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:22:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:22:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:22:04] Production.INFO: Total Charge 0
[2025-02-09 01:22:04] Production.INFO: CreateAllLog End
[2025-02-09 01:22:04] Production.INFO: ==2400== Releasing lock...
[2025-02-09 01:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:22:04] Production.INFO: count ==21
[2025-02-09 01:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:22:04] Production.INFO: count ==21
[2025-02-09 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433658') start
[2025-02-09 01:22:04] Production.ERROR: done
[2025-02-09 01:22:04] Production.INFO: Account Balance End.
[2025-02-09 01:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433658') end
[2025-02-09 01:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:22:04] Production.INFO: 1
[2025-02-09 01:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:22:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:22:05] Production.INFO: ==2404== Releasing lock...
[2025-02-09 01:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:22:05] Production.ERROR: done
[2025-02-09 01:22:05] Production.INFO: ==2408== Releasing lock...
[2025-02-09 01:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:22:06
[end_date_ymd] => 2025-02-09 01:22:06
[RateCDR] => 1
)
[2025-02-09 01:22: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-02-08 22:22:06' and `end` < '2025-02-09 01:22: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-02-09 01:22:12] Production.ERROR: CronJobId end10
[2025-02-09 01:22:12] Production.INFO: ==2402== Releasing lock...
[2025-02-09 01:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:22:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:22:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:22:14] Production.INFO: call_cost start
[2025-02-09 01:22:14] Production.INFO: call_cost end
[2025-02-09 01:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:22:15] Production.INFO: ==2398== Releasing lock...
[2025-02-09 01:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:22:18] Production.INFO: count ==678
[2025-02-09 01:22:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:22:06 - End Time 2025-02-09 01:22:06
[2025-02-09 01:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433659', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433659', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433659', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433659', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:22:19] Production.INFO: ProcessCDR(1,14433659,1,1,2)
[2025-02-09 01:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433659', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433659', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:22:22] Production.INFO: ==2406== Releasing lock...
[2025-02-09 01:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:22:22] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:23:01] Production.INFO: ==2463== Lock acquired, processing the job...
[2025-02-09 06:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:23:01] Production.INFO: neon service started
[2025-02-09 06:23:01] Production.INFO: neon service started
[2025-02-09 06:23:01] Production.INFO: ==2463== Releasing lock...
[2025-02-09 06:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:23:01] Production.INFO: ==2467== Lock acquired, processing the job...
[2025-02-09 06:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:23:02] Production.INFO: ==2467== Releasing lock...
[2025-02-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:23:02] Production.INFO: ==2465== Lock acquired, processing the job...
[2025-02-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:23:02] Production.INFO: ==2465== Releasing lock...
[2025-02-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:23:03] Production.INFO: ==2470== Lock acquired, processing the job...
[2025-02-09 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:23:03] Production.INFO: ==2476== Lock acquired, processing the job...
[2025-02-09 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:23:03] Production.INFO: ==2472== Lock acquired, processing the job...
[2025-02-09 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:23:03] Production.INFO: Account Balance Start.
[2025-02-09 01:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:23:03] Production.INFO: 117
[2025-02-09 01:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:23:03] Production.INFO: ==2474== Lock acquired, processing the job...
[2025-02-09 01:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:23:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:23:03] Production.INFO: Total Charge 0
[2025-02-09 01:23:03] Production.INFO: ==2478== Lock acquired, processing the job...
[2025-02-09 01:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:23:03] Production.INFO: CreateAllLog End
[2025-02-09 01:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:23:03] Production.INFO: ==2480== Lock acquired, processing the job...
[2025-02-09 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:23:03] Production.INFO: ==2472== Releasing lock...
[2025-02-09 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:23:03] Production.INFO: Account Balance End.
[2025-02-09 01:23:03] Production.ERROR: CronJobId end 12
[2025-02-09 01:23:03] Production.INFO: ==2476== Releasing lock...
[2025-02-09 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:23:03] Production.INFO: count ==21
[2025-02-09 01:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:23:03] Production.INFO: count ==21
[2025-02-09 01:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433663') start
[2025-02-09 01:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433663') end
[2025-02-09 01:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:23:03] Production.INFO: 1
[2025-02-09 01:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:23:04] Production.ERROR: done
[2025-02-09 01:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:23:04] Production.INFO: ==2480== Releasing lock...
[2025-02-09 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:23:04] Production.ERROR: done
[2025-02-09 01:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:23:05
[end_date_ymd] => 2025-02-09 01:23:05
[RateCDR] => 1
)
[2025-02-09 01:23: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` >= '2025-02-08 22:23:05' and `end` < '2025-02-09 01:23: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 ,'')
[2025-02-09 01:23:12] Production.ERROR: CronJobId end10
[2025-02-09 01:23:12] Production.INFO: ==2474== Releasing lock...
[2025-02-09 01:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:23:14] Production.INFO: call_cost start
[2025-02-09 01:23:14] Production.INFO: call_cost end
[2025-02-09 01:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:23:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:23:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:23:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:23:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:23:15] Production.INFO: ==2470== Releasing lock...
[2025-02-09 01:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:23:19] Production.INFO: count ==683
[2025-02-09 01:23:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:23:05 - End Time 2025-02-09 01:23:05
[2025-02-09 01:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433664', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433664', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433664', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433664', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:23:19] Production.INFO: ProcessCDR(1,14433664,1,1,2)
[2025-02-09 01:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433664', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433664', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:23:22] Production.INFO: ==2478== Releasing lock...
[2025-02-09 01:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:23:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:24:02] Production.INFO: ==2537== Lock acquired, processing the job...
[2025-02-09 06:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:24:02] Production.INFO: neon service started
[2025-02-09 06:24:02] Production.INFO: neon service started
[2025-02-09 06:24:02] Production.INFO: ==2537== Releasing lock...
[2025-02-09 06:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:24:02] Production.INFO: ==2541== Lock acquired, processing the job...
[2025-02-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:24:02] Production.INFO: ==2541== Releasing lock...
[2025-02-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:24:02] Production.INFO: ==2539== Lock acquired, processing the job...
[2025-02-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:24:02] Production.INFO: ==2539== Releasing lock...
[2025-02-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:24:03] Production.INFO: ==2544== Lock acquired, processing the job...
[2025-02-09 01:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:24:03] Production.INFO: ==2552== Lock acquired, processing the job...
[2025-02-09 01:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:24:03] Production.INFO: ==2546== Lock acquired, processing the job...
[2025-02-09 01:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:24:04] Production.INFO: ==2548== Lock acquired, processing the job...
[2025-02-09 01:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:24:04] Production.INFO: ==2554== Lock acquired, processing the job...
[2025-02-09 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:24:04] Production.INFO: ==2550== Lock acquired, processing the job...
[2025-02-09 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:24:04] Production.INFO: ==2546== Releasing lock...
[2025-02-09 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:24:04] Production.INFO: Account Balance Start.
[2025-02-09 01:24:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:24:04] Production.INFO: 117
[2025-02-09 01:24:04] Production.ERROR: done
[2025-02-09 01:24:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:24:04] Production.INFO: count ==21
[2025-02-09 01:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:24:04] Production.INFO: count ==21
[2025-02-09 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433668') start
[2025-02-09 01:24:04] Production.INFO: Total Charge 0
[2025-02-09 01:24:04] Production.INFO: CreateAllLog End
[2025-02-09 01:24:04] Production.ERROR: done
[2025-02-09 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433668') end
[2025-02-09 01:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:24:04] Production.INFO: 1
[2025-02-09 01:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:24:04] Production.INFO: ==2554== Releasing lock...
[2025-02-09 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:24:04] Production.INFO: Account Balance End.
[2025-02-09 01:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:24:04] Production.INFO: ==2550== Releasing lock...
[2025-02-09 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:24:05
[end_date_ymd] => 2025-02-09 01:24:05
[RateCDR] => 1
)
[2025-02-09 01:24: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` >= '2025-02-08 22:24:05' and `end` < '2025-02-09 01:24: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 ,'')
[2025-02-09 01:24:11] Production.ERROR: CronJobId end10
[2025-02-09 01:24:11] Production.INFO: ==2548== Releasing lock...
[2025-02-09 01:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:24:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:24:13] Production.INFO: call_cost start
[2025-02-09 01:24:13] Production.INFO: call_cost end
[2025-02-09 01:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:24:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:24:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:24:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:24:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:24:14] Production.INFO: ==2544== Releasing lock...
[2025-02-09 01:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:24:18] Production.INFO: count ==677
[2025-02-09 01:24:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:24:05 - End Time 2025-02-09 01:24:05
[2025-02-09 01:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433669', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433669', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433669', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433669', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:24:18] Production.INFO: ProcessCDR(1,14433669,1,1,2)
[2025-02-09 01:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433669', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433669', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:24:21] Production.INFO: ==2552== Releasing lock...
[2025-02-09 01:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:24:21] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:25:01] Production.INFO: ==2608== Lock acquired, processing the job...
[2025-02-09 06:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:25:01] Production.INFO: neon service started
[2025-02-09 06:25:01] Production.INFO: neon service started
[2025-02-09 06:25:01] Production.INFO: ==2608== Releasing lock...
[2025-02-09 06:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:25:01] Production.INFO: ==2612== Lock acquired, processing the job...
[2025-02-09 06:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:25:01] Production.INFO: ==2612== Releasing lock...
[2025-02-09 06:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:25:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:25:02] Production.INFO: ==2610== Lock acquired, processing the job...
[2025-02-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:25:02] Production.INFO: ==2610== Releasing lock...
[2025-02-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:25:03] Production.INFO: ==2618== Lock acquired, processing the job...
[2025-02-09 01:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:25:03] Production.INFO: ==2622== Lock acquired, processing the job...
[2025-02-09 01:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:25:03] Production.INFO: ==2614== Lock acquired, processing the job...
[2025-02-09 01:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:25:03] Production.INFO: ==2616== Lock acquired, processing the job...
[2025-02-09 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:25:03] Production.INFO: ==2620== Lock acquired, processing the job...
[2025-02-09 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:25:03] Production.INFO: ==2625== Lock acquired, processing the job...
[2025-02-09 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:25:03] Production.INFO: Account Balance Start.
[2025-02-09 01:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:25:03] Production.INFO: 117
[2025-02-09 01:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:25:03] Production.ERROR: done
[2025-02-09 01:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:25:03] Production.INFO: Total Charge 0
[2025-02-09 01:25:03] Production.INFO: count ==21
[2025-02-09 01:25:03] Production.INFO: CreateAllLog End
[2025-02-09 01:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:25:03] Production.INFO: count ==21
[2025-02-09 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433673') start
[2025-02-09 01:25:03] Production.ERROR: done
[2025-02-09 01:25:03] Production.INFO: ==2616== Releasing lock...
[2025-02-09 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433673') end
[2025-02-09 01:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:25:03] Production.INFO: 1
[2025-02-09 01:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:25:04] Production.INFO: ==2625== Releasing lock...
[2025-02-09 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:25:04] Production.INFO: Account Balance End.
[2025-02-09 01:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:25:04] Production.INFO: ==2620== Releasing lock...
[2025-02-09 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:25:04
[end_date_ymd] => 2025-02-09 01:25:04
[RateCDR] => 1
)
[2025-02-09 01:25:04] 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-02-08 22:25:04' and `end` < '2025-02-09 01:25:04'
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-02-09 01:25:11] Production.ERROR: CronJobId end10
[2025-02-09 01:25:11] Production.INFO: ==2618== Releasing lock...
[2025-02-09 01:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:25:13] Production.INFO: call_cost start
[2025-02-09 01:25:13] Production.INFO: call_cost end
[2025-02-09 01:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:25:14] Production.INFO: ==2614== Releasing lock...
[2025-02-09 01:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:25:17] Production.INFO: count ==680
[2025-02-09 01:25:17] Production.ERROR: pbx CDR StartTime 2025-02-08 22:25:04 - End Time 2025-02-09 01:25:04
[2025-02-09 01:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433674', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433674', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433674', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433674', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:25:17] Production.INFO: ProcessCDR(1,14433674,1,1,2)
[2025-02-09 01:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433674', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433674', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:25:22] Production.INFO: ==2622== Releasing lock...
[2025-02-09 01:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:25:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:26:01] Production.INFO: ==2689== Lock acquired, processing the job...
[2025-02-09 06:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:26:01] Production.INFO: neon service started
[2025-02-09 06:26:01] Production.INFO: neon service started
[2025-02-09 06:26:01] Production.INFO: ==2689== Releasing lock...
[2025-02-09 06:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:26:02] Production.INFO: ==2693== Lock acquired, processing the job...
[2025-02-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:26:02] Production.INFO: ==2693== Releasing lock...
[2025-02-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:26:02] Production.INFO: ==2691== Lock acquired, processing the job...
[2025-02-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:26:02] Production.INFO: ==2691== Releasing lock...
[2025-02-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:26:03] Production.INFO: ==2697== Lock acquired, processing the job...
[2025-02-09 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:26:03] Production.INFO: ==2706== Lock acquired, processing the job...
[2025-02-09 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:26:03] Production.INFO: ==2695== Lock acquired, processing the job...
[2025-02-09 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:26:04] Production.INFO: count ==21
[2025-02-09 01:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:26:04] Production.INFO: count ==21
[2025-02-09 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433676') start
[2025-02-09 01:26:04] Production.INFO: ==2699== Lock acquired, processing the job...
[2025-02-09 01:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:26:04] Production.INFO: ==2704== Lock acquired, processing the job...
[2025-02-09 01:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:26:04] Production.INFO: ==2701== Lock acquired, processing the job...
[2025-02-09 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:26:04] Production.INFO: ==2697== Releasing lock...
[2025-02-09 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433676') end
[2025-02-09 01:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:26:04] Production.INFO: 1
[2025-02-09 01:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:26:04] Production.INFO: Account Balance Start.
[2025-02-09 01:26:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:26:04] Production.INFO: 117
[2025-02-09 01:26:04] Production.INFO: ==2706== Releasing lock...
[2025-02-09 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:26:04] Production.INFO: Total Charge 0
[2025-02-09 01:26:04] Production.INFO: CreateAllLog End
[2025-02-09 01:26:04] Production.ERROR: done
[2025-02-09 01:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:26:04] Production.ERROR: done
[2025-02-09 01:26:04] Production.INFO: Account Balance End.
[2025-02-09 01:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:26:04] Production.INFO: ==2701== Releasing lock...
[2025-02-09 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:26:05
[end_date_ymd] => 2025-02-09 01:26:05
[RateCDR] => 1
)
[2025-02-09 01:26: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` >= '2025-02-08 22:26:05' and `end` < '2025-02-09 01:26: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 ,'')
[2025-02-09 01:26:12] Production.ERROR: CronJobId end10
[2025-02-09 01:26:12] Production.INFO: ==2699== Releasing lock...
[2025-02-09 01:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:26:14] Production.INFO: call_cost start
[2025-02-09 01:26:14] Production.INFO: call_cost end
[2025-02-09 01:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:26:15] Production.INFO: ==2695== Releasing lock...
[2025-02-09 01:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:26:19] Production.INFO: count ==679
[2025-02-09 01:26:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:26:05 - End Time 2025-02-09 01:26:05
[2025-02-09 01:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433679', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433679', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433679', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433679', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:26:19] Production.INFO: ProcessCDR(1,14433679,1,1,2)
[2025-02-09 01:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433679', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433679', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:26:23] Production.INFO: ==2704== Releasing lock...
[2025-02-09 01:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:26:23] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:27:01] Production.INFO: ==2761== Lock acquired, processing the job...
[2025-02-09 06:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:27:01] Production.INFO: neon service started
[2025-02-09 06:27:01] Production.INFO: neon service started
[2025-02-09 06:27:01] Production.INFO: ==2761== Releasing lock...
[2025-02-09 06:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:27:01] Production.INFO: ==2763== Lock acquired, processing the job...
[2025-02-09 01:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:27:02] Production.INFO: ==2763== Releasing lock...
[2025-02-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:27:02] Production.INFO: ==2765== Lock acquired, processing the job...
[2025-02-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:27:02] Production.INFO: ==2765== Releasing lock...
[2025-02-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:27:03] Production.INFO: ==2771== Lock acquired, processing the job...
[2025-02-09 01:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:27:03] Production.INFO: ==2777== Lock acquired, processing the job...
[2025-02-09 01:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:27:03] Production.INFO: ==2767== Lock acquired, processing the job...
[2025-02-09 01:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:27:03] Production.INFO: ==2769== Lock acquired, processing the job...
[2025-02-09 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:27:03] Production.INFO: ==2773== Lock acquired, processing the job...
[2025-02-09 01:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:27:03] Production.INFO: ==2775== Lock acquired, processing the job...
[2025-02-09 01:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:27:03] Production.INFO: count ==21
[2025-02-09 01:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:27:03] Production.INFO: Account Balance Start.
[2025-02-09 01:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:27:03] Production.INFO: 117
[2025-02-09 01:27:03] Production.INFO: count ==21
[2025-02-09 01:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433680') start
[2025-02-09 01:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:27:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:27:03] Production.INFO: Total Charge 0
[2025-02-09 01:27:03] Production.INFO: CreateAllLog End
[2025-02-09 01:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433680') end
[2025-02-09 01:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:27:03] Production.INFO: 1
[2025-02-09 01:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:27:03] Production.INFO: ==2777== Releasing lock...
[2025-02-09 01:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:27:03] Production.INFO: ==2769== Releasing lock...
[2025-02-09 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:27:03] Production.INFO: Account Balance End.
[2025-02-09 01:27:03] Production.ERROR: CronJobId end 12
[2025-02-09 01:27:03] Production.INFO: ==2773== Releasing lock...
[2025-02-09 01:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:27:03] Production.ERROR: done
[2025-02-09 01:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:27:03] Production.ERROR: done
[2025-02-09 01:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:27:04
[end_date_ymd] => 2025-02-09 01:27:04
[RateCDR] => 1
)
[2025-02-09 01:27:04] 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-02-08 22:27:04' and `end` < '2025-02-09 01:27:04'
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-02-09 01:27:11] Production.ERROR: CronJobId end10
[2025-02-09 01:27:11] Production.INFO: ==2771== Releasing lock...
[2025-02-09 01:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:27:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:27:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:27:14] Production.INFO: call_cost start
[2025-02-09 01:27:14] Production.INFO: call_cost end
[2025-02-09 01:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:27:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:27:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:27:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:27:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:27:15] Production.INFO: ==2767== Releasing lock...
[2025-02-09 01:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:27:17] Production.INFO: count ==679
[2025-02-09 01:27:17] Production.ERROR: pbx CDR StartTime 2025-02-08 22:27:04 - End Time 2025-02-09 01:27:04
[2025-02-09 01:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433684', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433684', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433684', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433684', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:27:17] Production.INFO: ProcessCDR(1,14433684,1,1,2)
[2025-02-09 01:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433684', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433684', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:27:21] Production.INFO: ==2775== Releasing lock...
[2025-02-09 01:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:27:21] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:28:01] Production.INFO: ==2832== Lock acquired, processing the job...
[2025-02-09 06:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:28:01] Production.INFO: neon service started
[2025-02-09 06:28:01] Production.INFO: neon service started
[2025-02-09 06:28:01] Production.INFO: ==2832== Releasing lock...
[2025-02-09 06:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:28:02] Production.INFO: ==2836== Lock acquired, processing the job...
[2025-02-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:28:02] Production.INFO: ==2836== Releasing lock...
[2025-02-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:28:02] Production.INFO: ==2834== Lock acquired, processing the job...
[2025-02-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:28:02] Production.INFO: ==2834== Releasing lock...
[2025-02-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:28:03] Production.INFO: ==2844== Lock acquired, processing the job...
[2025-02-09 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:28:03] Production.INFO: ==2846== Lock acquired, processing the job...
[2025-02-09 01:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:28:03] Production.INFO: Account Balance Start.
[2025-02-09 01:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:28:03] Production.INFO: 117
[2025-02-09 01:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:28:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:28:03] Production.INFO: ==2840== Lock acquired, processing the job...
[2025-02-09 01:28:03] Production.INFO: Total Charge 0
[2025-02-09 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:28:03] Production.INFO: ==2838== Lock acquired, processing the job...
[2025-02-09 01:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:28:03] Production.INFO: CreateAllLog End
[2025-02-09 01:28:03] Production.INFO: ==2842== Lock acquired, processing the job...
[2025-02-09 01:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:28:03] Production.INFO: ==2848== Lock acquired, processing the job...
[2025-02-09 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:28:04] Production.INFO: Account Balance End.
[2025-02-09 01:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:28:04] Production.INFO: ==2844== Releasing lock...
[2025-02-09 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:28:04] Production.INFO: count ==21
[2025-02-09 01:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:28:04] Production.INFO: count ==21
[2025-02-09 01:28:04] Production.ERROR: done
[2025-02-09 01:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:28:04] Production.INFO: ==2840== Releasing lock...
[2025-02-09 01:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433688') start
[2025-02-09 01:28:04] Production.ERROR: done
[2025-02-09 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433688') end
[2025-02-09 01:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:28:04] Production.INFO: 1
[2025-02-09 01:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:28:04] Production.INFO: ==2848== Releasing lock...
[2025-02-09 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:28:05
[end_date_ymd] => 2025-02-09 01:28:05
[RateCDR] => 1
)
[2025-02-09 01:28: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` >= '2025-02-08 22:28:05' and `end` < '2025-02-09 01:28: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 ,'')
[2025-02-09 01:28:12] Production.ERROR: CronJobId end10
[2025-02-09 01:28:12] Production.INFO: ==2842== Releasing lock...
[2025-02-09 01:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:28:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:28:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:28:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:28:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:28:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:28:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:28:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:28:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:28:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:28:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:28:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:28:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:28:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:28:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:28:15] Production.INFO: call_cost start
[2025-02-09 01:28:15] Production.INFO: call_cost end
[2025-02-09 01:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:28:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:28:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:28:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:28:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:28:16] Production.INFO: ==2838== Releasing lock...
[2025-02-09 01:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:28:18] Production.INFO: count ==679
[2025-02-09 01:28:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:28:05 - End Time 2025-02-09 01:28:05
[2025-02-09 01:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433689', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433689', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433689', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433689', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:28:18] Production.INFO: ProcessCDR(1,14433689,1,1,2)
[2025-02-09 01:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433689', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433689', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:28:21] Production.INFO: ==2846== Releasing lock...
[2025-02-09 01:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:28:21] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 06:29:02] Production.INFO: ==2904== Lock acquired, processing the job...
[2025-02-09 06:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:29:02] Production.INFO: neon service started
[2025-02-09 06:29:02] Production.INFO: neon service started
[2025-02-09 06:29:02] Production.INFO: ==2904== Releasing lock...
[2025-02-09 06:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:29:02] Production.INFO: ==2908== Lock acquired, processing the job...
[2025-02-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:29:02] Production.INFO: ==2908== Releasing lock...
[2025-02-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:29:02] Production.INFO: ==2906== Lock acquired, processing the job...
[2025-02-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:29:03] Production.INFO: ==2906== Releasing lock...
[2025-02-09 01:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:29:04] Production.INFO: ==2921== Lock acquired, processing the job...
[2025-02-09 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:29:04] Production.INFO: ==2919== Lock acquired, processing the job...
[2025-02-09 01:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:29:04] Production.INFO: count ==21
[2025-02-09 01:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:29:04] Production.INFO: count ==21
[2025-02-09 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433690') start
[2025-02-09 01:29:04] Production.INFO: ==2911== Lock acquired, processing the job...
[2025-02-09 01:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:29:04] Production.INFO: ==2913== Lock acquired, processing the job...
[2025-02-09 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:29:04] Production.INFO: ==2915== Lock acquired, processing the job...
[2025-02-09 01:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433690') end
[2025-02-09 01:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:29:04] Production.INFO: 1
[2025-02-09 01:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:29:04] Production.INFO: ==2917== Lock acquired, processing the job...
[2025-02-09 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:29:04] Production.INFO: Account Balance Start.
[2025-02-09 01:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:29:04] Production.INFO: 117
[2025-02-09 01:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:29:04] Production.INFO: ==2921== Releasing lock...
[2025-02-09 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:29:04] Production.ERROR: done
[2025-02-09 01:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:29:04] Production.INFO: Total Charge 0
[2025-02-09 01:29:04] Production.INFO: CreateAllLog End
[2025-02-09 01:29:04] Production.INFO: ==2913== Releasing lock...
[2025-02-09 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:29:04] Production.ERROR: done
[2025-02-09 01:29:05] Production.INFO: Account Balance End.
[2025-02-09 01:29:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:29:05] Production.INFO: ==2917== Releasing lock...
[2025-02-09 01:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:29:05
[end_date_ymd] => 2025-02-09 01:29:05
[RateCDR] => 1
)
[2025-02-09 01:29: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` >= '2025-02-08 22:29:05' and `end` < '2025-02-09 01:29: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 ,'')
[2025-02-09 01:29:12] Production.ERROR: CronJobId end10
[2025-02-09 01:29:12] Production.INFO: ==2915== Releasing lock...
[2025-02-09 01:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:29:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:29:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:29:15] Production.INFO: call_cost start
[2025-02-09 01:29:15] Production.INFO: call_cost end
[2025-02-09 01:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:29:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:29:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:29:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:29:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:29:16] Production.INFO: ==2911== Releasing lock...
[2025-02-09 01:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:29:18] Production.INFO: count ==679
[2025-02-09 01:29:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:29:05 - End Time 2025-02-09 01:29:05
[2025-02-09 01:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433694', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433694', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433694', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433694', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:29:18] Production.INFO: ProcessCDR(1,14433694,1,1,2)
[2025-02-09 01:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433694', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433694', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:29:22] Production.INFO: ==2919== Releasing lock...
[2025-02-09 01:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:29:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:30:01] Production.INFO: ==2976== Lock acquired, processing the job...
[2025-02-09 06:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:30:01] Production.INFO: neon service started
[2025-02-09 06:30:01] Production.INFO: neon service started
[2025-02-09 06:30:01] Production.INFO: ==2976== Releasing lock...
[2025-02-09 06:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:30:02] Production.INFO: ==2980== Lock acquired, processing the job...
[2025-02-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:30:02] Production.INFO: ==2980== Releasing lock...
[2025-02-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:30:02] Production.INFO: ==2978== Lock acquired, processing the job...
[2025-02-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:30:02] Production.INFO: ==2978== Releasing lock...
[2025-02-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:30:03] Production.INFO: ==2983== Lock acquired, processing the job...
[2025-02-09 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 01:30:03] Production.INFO: ==2985== Lock acquired, processing the job...
[2025-02-09 01:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 01:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 01:30:03] Production.ERROR: CronJob PID - 2985
[2025-02-09 01:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 01:30:03] Production.ERROR: CronJob ID - 5
[2025-02-09 01:30:03] Production.ERROR: CronJob Last Run Time 2025-02-09 01:30:00
[2025-02-09 01:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 01:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 01:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 01:30:03] Production.INFO: ==2983== Releasing lock...
[2025-02-09 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 01:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 01:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:30:03] Production.INFO: ==2991== Lock acquired, processing the job...
[2025-02-09 01:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:30:04] Production.INFO: Account Balance Start.
[2025-02-09 01:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:30:04] Production.INFO: 117
[2025-02-09 01:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:30:04] Production.INFO: ==2987== Lock acquired, processing the job...
[2025-02-09 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:30:04] Production.INFO: ==2995== Lock acquired, processing the job...
[2025-02-09 01:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 01:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:30:04] Production.INFO: ==2989== Lock acquired, processing the job...
[2025-02-09 01:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:30:04] Production.INFO: Total Charge 0
[2025-02-09 01:30:04] Production.INFO: CreateAllLog End
[2025-02-09 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:30:04] Production.INFO: ==2993== Lock acquired, processing the job...
[2025-02-09 01:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:30:04] Production.INFO: ==2997== Lock acquired, processing the job...
[2025-02-09 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:30:04] Production.INFO: Account Balance End.
[2025-02-09 01:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:30:04] Production.ERROR: done
[2025-02-09 01:30:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:30:04] Production.INFO: ==2991== Releasing lock...
[2025-02-09 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:30:04] Production.INFO: count ==21
[2025-02-09 01:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:30:04] Production.INFO: count ==21
[2025-02-09 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433698') start
[2025-02-09 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433699', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 01:30:04] Production.INFO: ==2987== Releasing lock...
[2025-02-09 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:30:04] Production.ERROR: done
[2025-02-09 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433698') end
[2025-02-09 01:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:30:04] Production.INFO: 1
[2025-02-09 01:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:30:05] Production.INFO: ==2997== Releasing lock...
[2025-02-09 01:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:30:05] Production.ERROR: done
[2025-02-09 01:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:30:06
[end_date_ymd] => 2025-02-09 01:30:06
[RateCDR] => 1
)
[2025-02-09 01:30: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-02-08 22:30:06' and `end` < '2025-02-09 01:30: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-02-09 01:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433699', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 01:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 01:30:09] Production.INFO: ProcessCDR(1,14433699,1,1,2)
[2025-02-09 01:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433699,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433699,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:30:09] Production.INFO: ==2995== Releasing lock...
[2025-02-09 01:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 01:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 01:30:14] Production.ERROR: CronJobId end10
[2025-02-09 01:30:14] Production.INFO: ==2989== Releasing lock...
[2025-02-09 01:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:30:16] Production.INFO: call_cost start
[2025-02-09 01:30:16] Production.INFO: call_cost end
[2025-02-09 01:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:30:17] Production.INFO: ==2985== Releasing lock...
[2025-02-09 01:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:30:19] Production.INFO: count ==687
[2025-02-09 01:30:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:30:06 - End Time 2025-02-09 01:30:06
[2025-02-09 01:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433700', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433700', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433700', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433700', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:30:19] Production.INFO: ProcessCDR(1,14433700,1,1,2)
[2025-02-09 01:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433700', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433700', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:30:22] Production.INFO: ==2993== Releasing lock...
[2025-02-09 01:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:30:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:31:02] Production.INFO: ==3056== Lock acquired, processing the job...
[2025-02-09 06:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:31:02] Production.INFO: neon service started
[2025-02-09 06:31:02] Production.INFO: neon service started
[2025-02-09 06:31:02] Production.INFO: ==3056== Releasing lock...
[2025-02-09 06:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:31:02] Production.INFO: ==3058== Lock acquired, processing the job...
[2025-02-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:31:02] Production.INFO: ==3058== Releasing lock...
[2025-02-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:31:02] Production.INFO: ==3060== Lock acquired, processing the job...
[2025-02-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:31:02] Production.INFO: ==3060== Releasing lock...
[2025-02-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:31:03] Production.INFO: ==3064== Lock acquired, processing the job...
[2025-02-09 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:31:03] Production.INFO: ==3062== Lock acquired, processing the job...
[2025-02-09 01:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:31:03] Production.INFO: ==3072== Lock acquired, processing the job...
[2025-02-09 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:31:03] Production.INFO: count ==21
[2025-02-09 01:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:31:03] Production.INFO: count ==21
[2025-02-09 01:31:03] Production.INFO: ==3066== Lock acquired, processing the job...
[2025-02-09 01:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:31:03] Production.INFO: ==3070== Lock acquired, processing the job...
[2025-02-09 01:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433702') start
[2025-02-09 01:31:04] Production.INFO: ==3068== Lock acquired, processing the job...
[2025-02-09 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:31:04] Production.INFO: ==3064== Releasing lock...
[2025-02-09 01:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433702') end
[2025-02-09 01:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:31:04] Production.INFO: 1
[2025-02-09 01:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:31:04] Production.INFO: Account Balance Start.
[2025-02-09 01:31:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:31:04] Production.INFO: 117
[2025-02-09 01:31:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:31:04] Production.INFO: ==3072== Releasing lock...
[2025-02-09 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:31:04] Production.INFO: Total Charge 0
[2025-02-09 01:31:04] Production.INFO: CreateAllLog End
[2025-02-09 01:31:04] Production.ERROR: done
[2025-02-09 01:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:31:04] Production.ERROR: done
[2025-02-09 01:31:04] Production.INFO: Account Balance End.
[2025-02-09 01:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:31:04] Production.INFO: ==3068== Releasing lock...
[2025-02-09 01:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:31:05
[end_date_ymd] => 2025-02-09 01:31:05
[RateCDR] => 1
)
[2025-02-09 01:31: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` >= '2025-02-08 22:31:05' and `end` < '2025-02-09 01:31: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 ,'')
[2025-02-09 01:31:11] Production.ERROR: CronJobId end10
[2025-02-09 01:31:11] Production.INFO: ==3066== Releasing lock...
[2025-02-09 01:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:31:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:31:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:31:14] Production.INFO: call_cost start
[2025-02-09 01:31:14] Production.INFO: call_cost end
[2025-02-09 01:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:31:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:31:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:31:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:31:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:31:15] Production.INFO: ==3062== Releasing lock...
[2025-02-09 01:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:31:18] Production.INFO: count ==697
[2025-02-09 01:31:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:31:05 - End Time 2025-02-09 01:31:05
[2025-02-09 01:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433705', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433705', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433705', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433705', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:31:18] Production.INFO: ProcessCDR(1,14433705,1,1,2)
[2025-02-09 01:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433705', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433705', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:31:21] Production.INFO: ==3070== Releasing lock...
[2025-02-09 01:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:31:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:32:01] Production.INFO: ==3128== Lock acquired, processing the job...
[2025-02-09 06:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:32:01] Production.INFO: neon service started
[2025-02-09 06:32:01] Production.INFO: neon service started
[2025-02-09 06:32:01] Production.INFO: ==3128== Releasing lock...
[2025-02-09 06:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:32:01] Production.INFO: ==3130== Lock acquired, processing the job...
[2025-02-09 01:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:32:02] Production.INFO: ==3130== Releasing lock...
[2025-02-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:32:02] Production.INFO: ==3132== Lock acquired, processing the job...
[2025-02-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:32:02] Production.INFO: ==3132== Releasing lock...
[2025-02-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:32:03] Production.INFO: ==3134== Lock acquired, processing the job...
[2025-02-09 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:32:03] Production.INFO: ==3140== Lock acquired, processing the job...
[2025-02-09 01:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:32:03] Production.INFO: ==3136== Lock acquired, processing the job...
[2025-02-09 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:32:03] Production.INFO: ==3144== Lock acquired, processing the job...
[2025-02-09 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:32:03] Production.INFO: ==3138== Lock acquired, processing the job...
[2025-02-09 01:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:32:03] Production.INFO: Account Balance Start.
[2025-02-09 01:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:32:03] Production.INFO: 117
[2025-02-09 01:32:03] Production.INFO: ==3142== Lock acquired, processing the job...
[2025-02-09 01:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:32:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:32:03] Production.INFO: count ==21
[2025-02-09 01:32:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:32:03] Production.INFO: count ==21
[2025-02-09 01:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433708') start
[2025-02-09 01:32:03] Production.INFO: Total Charge 0
[2025-02-09 01:32:03] Production.INFO: CreateAllLog End
[2025-02-09 01:32:03] Production.INFO: ==3136== Releasing lock...
[2025-02-09 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433708') end
[2025-02-09 01:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:32:03] Production.INFO: 1
[2025-02-09 01:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:32:03] Production.INFO: ==3144== Releasing lock...
[2025-02-09 01:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:32:03] Production.ERROR: done
[2025-02-09 01:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:32:03] Production.ERROR: done
[2025-02-09 01:32:04] Production.INFO: Account Balance End.
[2025-02-09 01:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:32:04] Production.INFO: ==3140== Releasing lock...
[2025-02-09 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:32:05
[end_date_ymd] => 2025-02-09 01:32:05
[RateCDR] => 1
)
[2025-02-09 01:32: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` >= '2025-02-08 22:32:05' and `end` < '2025-02-09 01:32: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 ,'')
[2025-02-09 01:32:12] Production.ERROR: CronJobId end10
[2025-02-09 01:32:12] Production.INFO: ==3138== Releasing lock...
[2025-02-09 01:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:32:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:32:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:32:13] Production.INFO: call_cost start
[2025-02-09 01:32:13] Production.INFO: call_cost end
[2025-02-09 01:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:32:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:32:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:32:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:32:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:32:14] Production.INFO: ==3134== Releasing lock...
[2025-02-09 01:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:32:17] Production.INFO: count ==697
[2025-02-09 01:32:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:32:05 - End Time 2025-02-09 01:32:05
[2025-02-09 01:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433710', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433710', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433710', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433710', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:32:18] Production.INFO: ProcessCDR(1,14433710,1,1,2)
[2025-02-09 01:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433710', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433710', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:32:21] Production.INFO: ==3142== Releasing lock...
[2025-02-09 01:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:32:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:33:02] Production.INFO: ==3199== Lock acquired, processing the job...
[2025-02-09 06:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:33:02] Production.INFO: neon service started
[2025-02-09 06:33:02] Production.INFO: neon service started
[2025-02-09 06:33:02] Production.INFO: ==3199== Releasing lock...
[2025-02-09 06:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:33:02] Production.INFO: ==3202== Lock acquired, processing the job...
[2025-02-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:33:02] Production.INFO: ==3202== Releasing lock...
[2025-02-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:33:03] Production.INFO: ==3204== Lock acquired, processing the job...
[2025-02-09 06:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:33:03] Production.INFO: ==3204== Releasing lock...
[2025-02-09 06:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:33:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:33:03] Production.INFO: ==3214== Lock acquired, processing the job...
[2025-02-09 01:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:33:03] Production.INFO: ==3210== Lock acquired, processing the job...
[2025-02-09 01:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:33:03] Production.INFO: ==3206== Lock acquired, processing the job...
[2025-02-09 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:33:03] Production.INFO: ==3208== Lock acquired, processing the job...
[2025-02-09 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:33:03] Production.INFO: ==3212== Lock acquired, processing the job...
[2025-02-09 01:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:33:04] Production.INFO: ==3216== Lock acquired, processing the job...
[2025-02-09 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:33:04] Production.INFO: Account Balance Start.
[2025-02-09 01:33:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:33:04] Production.INFO: 117
[2025-02-09 01:33:04] Production.ERROR: done
[2025-02-09 01:33:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:33:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:33:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:33:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:33:04] Production.INFO: Total Charge 0
[2025-02-09 01:33:04] Production.INFO: CreateAllLog End
[2025-02-09 01:33:04] Production.INFO: count ==21
[2025-02-09 01:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:33:04] Production.INFO: count ==21
[2025-02-09 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433714') start
[2025-02-09 01:33:04] Production.INFO: ==3208== Releasing lock...
[2025-02-09 01:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:33:04] Production.ERROR: done
[2025-02-09 01:33:04] Production.INFO: Account Balance End.
[2025-02-09 01:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:33:04] Production.INFO: ==3212== Releasing lock...
[2025-02-09 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433714') end
[2025-02-09 01:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:33:04] Production.INFO: 1
[2025-02-09 01:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:33:04] Production.INFO: ==3216== Releasing lock...
[2025-02-09 01:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:33:05
[end_date_ymd] => 2025-02-09 01:33:05
[RateCDR] => 1
)
[2025-02-09 01:33: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` >= '2025-02-08 22:33:05' and `end` < '2025-02-09 01:33: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 ,'')
[2025-02-09 01:33:11] Production.ERROR: CronJobId end10
[2025-02-09 01:33:11] Production.INFO: ==3210== Releasing lock...
[2025-02-09 01:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:33:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:33:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:33:15] Production.INFO: call_cost start
[2025-02-09 01:33:15] Production.INFO: call_cost end
[2025-02-09 01:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:33:15] Production.INFO: ==3206== Releasing lock...
[2025-02-09 01:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:33:18] Production.INFO: count ==701
[2025-02-09 01:33:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:33:05 - End Time 2025-02-09 01:33:05
[2025-02-09 01:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433715', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433715', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433715', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433715', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:33:18] Production.INFO: ProcessCDR(1,14433715,1,1,2)
[2025-02-09 01:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433715', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433715', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:33:21] Production.INFO: ==3214== Releasing lock...
[2025-02-09 01:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:33:21] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 06:34:01] Production.INFO: ==3274== Lock acquired, processing the job...
[2025-02-09 06:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:34:01] Production.INFO: neon service started
[2025-02-09 06:34:01] Production.INFO: neon service started
[2025-02-09 06:34:01] Production.INFO: ==3274== Releasing lock...
[2025-02-09 06:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:34:01] Production.INFO: ==3279== Lock acquired, processing the job...
[2025-02-09 06:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:34:01] Production.INFO: ==3279== Releasing lock...
[2025-02-09 06:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:34:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:34:02] Production.INFO: ==3277== Lock acquired, processing the job...
[2025-02-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:34:02] Production.INFO: ==3277== Releasing lock...
[2025-02-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:34:03] Production.INFO: ==3287== Lock acquired, processing the job...
[2025-02-09 01:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:34:03] Production.INFO: ==3291== Lock acquired, processing the job...
[2025-02-09 01:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:34:03] Production.INFO: Account Balance Start.
[2025-02-09 01:34:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:34:03] Production.INFO: 117
[2025-02-09 01:34:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:34:03] Production.INFO: count ==21
[2025-02-09 01:34:03] Production.INFO: ==3281== Lock acquired, processing the job...
[2025-02-09 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:34:03] Production.INFO: count ==21
[2025-02-09 01:34:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:34:03] Production.INFO: ==3283== Lock acquired, processing the job...
[2025-02-09 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433717') start
[2025-02-09 01:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:34:03] Production.INFO: Total Charge 0
[2025-02-09 01:34:03] Production.INFO: CreateAllLog End
[2025-02-09 01:34:03] Production.INFO: ==3285== Lock acquired, processing the job...
[2025-02-09 01:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:34:03] Production.INFO: ==3289== Lock acquired, processing the job...
[2025-02-09 01:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433717') end
[2025-02-09 01:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:34:03] Production.INFO: 1
[2025-02-09 01:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:34:03] Production.INFO: Account Balance End.
[2025-02-09 01:34:03] Production.INFO: ==3291== Releasing lock...
[2025-02-09 01:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:34:04] Production.INFO: ==3287== Releasing lock...
[2025-02-09 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:34:04] Production.INFO: ==3283== Releasing lock...
[2025-02-09 01:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:34:04] Production.ERROR: done
[2025-02-09 01:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:34:04] Production.ERROR: done
[2025-02-09 01:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:34:05
[end_date_ymd] => 2025-02-09 01:34:05
[RateCDR] => 1
)
[2025-02-09 01:34: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` >= '2025-02-08 22:34:05' and `end` < '2025-02-09 01:34: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 ,'')
[2025-02-09 01:34:13] Production.ERROR: CronJobId end10
[2025-02-09 01:34:13] Production.INFO: ==3285== Releasing lock...
[2025-02-09 01:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:34:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:34:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:34:15] Production.INFO: call_cost start
[2025-02-09 01:34:15] Production.INFO: call_cost end
[2025-02-09 01:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:34:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:34:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:34:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:34:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:34:16] Production.INFO: ==3281== Releasing lock...
[2025-02-09 01:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:34:18] Production.INFO: count ==699
[2025-02-09 01:34:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:34:05 - End Time 2025-02-09 01:34:05
[2025-02-09 01:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433720', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433720', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433720', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433720', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:34:18] Production.INFO: ProcessCDR(1,14433720,1,1,2)
[2025-02-09 01:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433720', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433720', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:34:22] Production.INFO: ==3289== Releasing lock...
[2025-02-09 01:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:34:22] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 06:35:01] Production.INFO: ==3345== Lock acquired, processing the job...
[2025-02-09 06:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:35:02] Production.INFO: neon service started
[2025-02-09 06:35:02] Production.INFO: neon service started
[2025-02-09 06:35:02] Production.INFO: ==3345== Releasing lock...
[2025-02-09 06:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:35:02] Production.INFO: ==3347== Lock acquired, processing the job...
[2025-02-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:35:02] Production.INFO: ==3349== Lock acquired, processing the job...
[2025-02-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:35:02] Production.INFO: ==3347== Releasing lock...
[2025-02-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:35:02] Production.INFO: ==3349== Releasing lock...
[2025-02-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:35:03] Production.INFO: ==3362== Lock acquired, processing the job...
[2025-02-09 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:35:03] Production.INFO: ==3360== Lock acquired, processing the job...
[2025-02-09 01:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:35:03] Production.INFO: count ==21
[2025-02-09 01:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:35:04] Production.INFO: count ==21
[2025-02-09 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433721') start
[2025-02-09 01:35:04] Production.INFO: ==3356== Lock acquired, processing the job...
[2025-02-09 01:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:35:04] Production.INFO: ==3354== Lock acquired, processing the job...
[2025-02-09 01:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:35:04] Production.INFO: ==3352== Lock acquired, processing the job...
[2025-02-09 01:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:35:04] Production.INFO: ==3358== Lock acquired, processing the job...
[2025-02-09 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433721') end
[2025-02-09 01:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:35:04] Production.INFO: 1
[2025-02-09 01:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:35:04] Production.INFO: Account Balance Start.
[2025-02-09 01:35:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:35:04] Production.INFO: 117
[2025-02-09 01:35:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:35:04] Production.INFO: ==3362== Releasing lock...
[2025-02-09 01:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:35:04] Production.ERROR: done
[2025-02-09 01:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:35:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:35:04] Production.INFO: Total Charge 0
[2025-02-09 01:35:04] Production.INFO: CreateAllLog End
[2025-02-09 01:35:04] Production.ERROR: done
[2025-02-09 01:35:04] Production.INFO: ==3354== Releasing lock...
[2025-02-09 01:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:35:04] Production.INFO: Account Balance End.
[2025-02-09 01:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:35:04] Production.INFO: ==3358== Releasing lock...
[2025-02-09 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:35:05
[end_date_ymd] => 2025-02-09 01:35:05
[RateCDR] => 1
)
[2025-02-09 01:35: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` >= '2025-02-08 22:35:05' and `end` < '2025-02-09 01:35: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 ,'')
[2025-02-09 01:35:13] Production.ERROR: CronJobId end10
[2025-02-09 01:35:13] Production.INFO: ==3356== Releasing lock...
[2025-02-09 01:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:35:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:35:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:35:15] Production.INFO: call_cost start
[2025-02-09 01:35:15] Production.INFO: call_cost end
[2025-02-09 01:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:35:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:35:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:35:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:35:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:35:16] Production.INFO: ==3352== Releasing lock...
[2025-02-09 01:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:35:18] Production.INFO: count ==694
[2025-02-09 01:35:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:35:05 - End Time 2025-02-09 01:35:05
[2025-02-09 01:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433725', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433725', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433725', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433725', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:35:18] Production.INFO: ProcessCDR(1,14433725,1,1,2)
[2025-02-09 01:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433725', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433725', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:35:22] Production.INFO: ==3360== Releasing lock...
[2025-02-09 01:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:35:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:36:01] Production.INFO: ==3418== Lock acquired, processing the job...
[2025-02-09 06:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:36:01] Production.INFO: neon service started
[2025-02-09 06:36:01] Production.INFO: neon service started
[2025-02-09 06:36:01] Production.INFO: ==3418== Releasing lock...
[2025-02-09 06:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:36:02] Production.INFO: ==3420== Lock acquired, processing the job...
[2025-02-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:36:02] Production.INFO: ==3422== Lock acquired, processing the job...
[2025-02-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:36:02] Production.INFO: ==3422== Releasing lock...
[2025-02-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:36:02] Production.INFO: ==3420== Releasing lock...
[2025-02-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:36:03] Production.INFO: ==3427== Lock acquired, processing the job...
[2025-02-09 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:36:03] Production.INFO: ==3433== Lock acquired, processing the job...
[2025-02-09 01:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:36:03] Production.INFO: ==3427== Releasing lock...
[2025-02-09 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:36:03] Production.INFO: ==3425== Lock acquired, processing the job...
[2025-02-09 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:36:04] Production.INFO: ==3429== Lock acquired, processing the job...
[2025-02-09 01:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:36:04] Production.INFO: ==3431== Lock acquired, processing the job...
[2025-02-09 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:36:04] Production.INFO: ==3435== Lock acquired, processing the job...
[2025-02-09 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:36:04] Production.ERROR: done
[2025-02-09 01:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:36:04] Production.INFO: Account Balance Start.
[2025-02-09 01:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:36:04] Production.INFO: 117
[2025-02-09 01:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:36:04] Production.INFO: count ==21
[2025-02-09 01:36:04] Production.ERROR: done
[2025-02-09 01:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:36:04] Production.INFO: count ==21
[2025-02-09 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433728') start
[2025-02-09 01:36:04] Production.INFO: Total Charge 0
[2025-02-09 01:36:04] Production.INFO: CreateAllLog End
[2025-02-09 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433728') end
[2025-02-09 01:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:36:04] Production.INFO: 1
[2025-02-09 01:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:36:04] Production.INFO: ==3435== Releasing lock...
[2025-02-09 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:36:04] Production.INFO: Account Balance End.
[2025-02-09 01:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:36:04] Production.INFO: ==3431== Releasing lock...
[2025-02-09 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:36:05
[end_date_ymd] => 2025-02-09 01:36:05
[RateCDR] => 1
)
[2025-02-09 01:36: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` >= '2025-02-08 22:36:05' and `end` < '2025-02-09 01:36: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 ,'')
[2025-02-09 01:36:12] Production.ERROR: CronJobId end10
[2025-02-09 01:36:12] Production.INFO: ==3429== Releasing lock...
[2025-02-09 01:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:36:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:36:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:36:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:36:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:36:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:36:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:36:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:36:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:36:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:36:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:36:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:36:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:36:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:36:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:36:15] Production.INFO: call_cost start
[2025-02-09 01:36:15] Production.INFO: call_cost end
[2025-02-09 01:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:36:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:36:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:36:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:36:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:36:16] Production.INFO: ==3425== Releasing lock...
[2025-02-09 01:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:36:20] Production.INFO: count ==692
[2025-02-09 01:36:20] Production.ERROR: pbx CDR StartTime 2025-02-08 22:36:05 - End Time 2025-02-09 01:36:05
[2025-02-09 01:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433730', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433730', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433730', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433730', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:36:20] Production.INFO: ProcessCDR(1,14433730,1,1,2)
[2025-02-09 01:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433730', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433730', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:36:24] Production.INFO: ==3433== Releasing lock...
[2025-02-09 01:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:36:24] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 06:37:02] Production.INFO: ==3489== Lock acquired, processing the job...
[2025-02-09 06:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:37:02] Production.INFO: neon service started
[2025-02-09 06:37:02] Production.INFO: neon service started
[2025-02-09 06:37:02] Production.INFO: ==3489== Releasing lock...
[2025-02-09 06:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:37:02] Production.INFO: ==3491== Lock acquired, processing the job...
[2025-02-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:37:02] Production.INFO: ==3491== Releasing lock...
[2025-02-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:37:02] Production.INFO: ==3493== Lock acquired, processing the job...
[2025-02-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:37:02] Production.INFO: ==3493== Releasing lock...
[2025-02-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:37:03] Production.INFO: ==3506== Lock acquired, processing the job...
[2025-02-09 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:37:03] Production.INFO: ==3504== Lock acquired, processing the job...
[2025-02-09 01:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:37:03] Production.INFO: ==3496== Lock acquired, processing the job...
[2025-02-09 01:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:37:04] Production.INFO: ==3498== Lock acquired, processing the job...
[2025-02-09 01:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:37:04] Production.INFO: ==3500== Lock acquired, processing the job...
[2025-02-09 01:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:37:04] Production.INFO: ==3502== Lock acquired, processing the job...
[2025-02-09 01:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:37:04] Production.INFO: count ==21
[2025-02-09 01:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:37:04] Production.INFO: count ==21
[2025-02-09 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433731') start
[2025-02-09 01:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:37:04] Production.INFO: Account Balance Start.
[2025-02-09 01:37:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:37:04] Production.INFO: 117
[2025-02-09 01:37:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:37:04] Production.ERROR: done
[2025-02-09 01:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433731') end
[2025-02-09 01:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:37:04] Production.INFO: 1
[2025-02-09 01:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:37:04] Production.INFO: ==3506== Releasing lock...
[2025-02-09 01:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:37:04] Production.ERROR: done
[2025-02-09 01:37:04] Production.INFO: ==3498== Releasing lock...
[2025-02-09 01:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:37:04] Production.INFO: Total Charge 0
[2025-02-09 01:37:04] Production.INFO: CreateAllLog End
[2025-02-09 01:37:04] Production.INFO: Account Balance End.
[2025-02-09 01:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:37:04] Production.INFO: ==3502== Releasing lock...
[2025-02-09 01:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:37:06
[end_date_ymd] => 2025-02-09 01:37:06
[RateCDR] => 1
)
[2025-02-09 01:37: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-02-08 22:37:06' and `end` < '2025-02-09 01:37: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-02-09 01:37:13] Production.ERROR: CronJobId end10
[2025-02-09 01:37:13] Production.INFO: ==3500== Releasing lock...
[2025-02-09 01:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:37:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:37:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:37:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:37:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:37:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:37:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:37:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:37:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:37:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:37:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:37:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:37:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:37:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:37:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:37:16] Production.INFO: call_cost start
[2025-02-09 01:37:16] Production.INFO: call_cost end
[2025-02-09 01:37:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:37:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:37:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:37:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:37:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:37:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:37:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:37:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:37:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:37:17] Production.INFO: ==3496== Releasing lock...
[2025-02-09 01:37:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:37:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:37:18] Production.INFO: count ==685
[2025-02-09 01:37:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:37:06 - End Time 2025-02-09 01:37:06
[2025-02-09 01:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433735', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433735', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433735', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433735', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:37:19] Production.INFO: ProcessCDR(1,14433735,1,1,2)
[2025-02-09 01:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433735', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433735', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:37:22] Production.INFO: ==3504== Releasing lock...
[2025-02-09 01:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:37:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:38:01] Production.INFO: ==3607== Lock acquired, processing the job...
[2025-02-09 06:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:38:01] Production.INFO: neon service started
[2025-02-09 06:38:01] Production.INFO: neon service started
[2025-02-09 06:38:01] Production.INFO: ==3607== Releasing lock...
[2025-02-09 06:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:38:02] Production.INFO: ==3609== Lock acquired, processing the job...
[2025-02-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:38:02] Production.INFO: ==3611== Lock acquired, processing the job...
[2025-02-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:38:02] Production.INFO: ==3611== Releasing lock...
[2025-02-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:38:02] Production.INFO: ==3609== Releasing lock...
[2025-02-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:38:03] Production.INFO: ==3622== Lock acquired, processing the job...
[2025-02-09 01:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:38:03] Production.INFO: ==3620== Lock acquired, processing the job...
[2025-02-09 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:38:03] Production.INFO: ==3613== Lock acquired, processing the job...
[2025-02-09 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:38:03] Production.INFO: ==3616== Lock acquired, processing the job...
[2025-02-09 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:38:03] Production.INFO: Account Balance Start.
[2025-02-09 01:38:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:38:03] Production.INFO: 117
[2025-02-09 01:38:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:38:03] Production.INFO: ==3618== Lock acquired, processing the job...
[2025-02-09 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:38:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:38:03] Production.INFO: ==3624== Lock acquired, processing the job...
[2025-02-09 01:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:38:03] Production.INFO: Total Charge 0
[2025-02-09 01:38:03] Production.ERROR: done
[2025-02-09 01:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:38:03] Production.INFO: CreateAllLog End
[2025-02-09 01:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:38:04] Production.INFO: count ==21
[2025-02-09 01:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:38:04] Production.INFO: count ==21
[2025-02-09 01:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:38:04] Production.ERROR: done
[2025-02-09 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433739') start
[2025-02-09 01:38:04] Production.INFO: ==3616== Releasing lock...
[2025-02-09 01:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:38:04] Production.INFO: Account Balance End.
[2025-02-09 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433739') end
[2025-02-09 01:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:38:04] Production.INFO: 1
[2025-02-09 01:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:38:04] Production.INFO: ==3620== Releasing lock...
[2025-02-09 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:38:04] Production.INFO: ==3624== Releasing lock...
[2025-02-09 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:38:05
[end_date_ymd] => 2025-02-09 01:38:05
[RateCDR] => 1
)
[2025-02-09 01:38: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` >= '2025-02-08 22:38:05' and `end` < '2025-02-09 01:38: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 ,'')
[2025-02-09 01:38:13] Production.ERROR: CronJobId end10
[2025-02-09 01:38:13] Production.INFO: ==3618== Releasing lock...
[2025-02-09 01:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:38:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:38:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:38:16] Production.INFO: call_cost start
[2025-02-09 01:38:16] Production.INFO: call_cost end
[2025-02-09 01:38:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:38:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:38:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:38:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:38:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:38:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:38:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:38:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:38:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:38:17] Production.INFO: ==3613== Releasing lock...
[2025-02-09 01:38:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:38:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:38:18] Production.INFO: count ==684
[2025-02-09 01:38:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:38:05 - End Time 2025-02-09 01:38:05
[2025-02-09 01:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433740', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433740', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433740', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433740', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:38:18] Production.INFO: ProcessCDR(1,14433740,1,1,2)
[2025-02-09 01:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433740', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433740', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:38:21] Production.INFO: ==3622== Releasing lock...
[2025-02-09 01:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:38:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:39:02] Production.INFO: ==3684== Lock acquired, processing the job...
[2025-02-09 06:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:39:02] Production.INFO: neon service started
[2025-02-09 06:39:02] Production.INFO: neon service started
[2025-02-09 06:39:02] Production.INFO: ==3684== Releasing lock...
[2025-02-09 06:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:39:02] Production.INFO: ==3688== Lock acquired, processing the job...
[2025-02-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:39:02] Production.INFO: ==3688== Releasing lock...
[2025-02-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:39:02] Production.INFO: ==3686== Lock acquired, processing the job...
[2025-02-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:39:03] Production.INFO: ==3686== Releasing lock...
[2025-02-09 01:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:39:03] Production.INFO: ==3691== Lock acquired, processing the job...
[2025-02-09 01:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:39:04] Production.INFO: ==3697== Lock acquired, processing the job...
[2025-02-09 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:39:04] Production.INFO: Account Balance Start.
[2025-02-09 01:39:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:39:04] Production.INFO: 117
[2025-02-09 01:39:04] Production.INFO: ==3693== Lock acquired, processing the job...
[2025-02-09 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:39:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:39:04] Production.INFO: ==3695== Lock acquired, processing the job...
[2025-02-09 01:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:39:04] Production.INFO: ==3699== Lock acquired, processing the job...
[2025-02-09 01:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:39:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:39:04] Production.INFO: Total Charge 0
[2025-02-09 01:39:04] Production.INFO: CreateAllLog End
[2025-02-09 01:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:39:04] Production.INFO: ==3701== Lock acquired, processing the job...
[2025-02-09 01:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:39:04] Production.INFO: ==3693== Releasing lock...
[2025-02-09 01:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:39:04] Production.INFO: Account Balance End.
[2025-02-09 01:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:39:04] Production.INFO: ==3697== Releasing lock...
[2025-02-09 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:39:04] Production.INFO: count ==21
[2025-02-09 01:39:04] Production.ERROR: done
[2025-02-09 01:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:39:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:39:05] Production.INFO: count ==21
[2025-02-09 01:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433744') start
[2025-02-09 01:39:05] Production.ERROR: done
[2025-02-09 01:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433744') end
[2025-02-09 01:39:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:39:05] Production.INFO: 1
[2025-02-09 01:39:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:39:05] Production.INFO: ==3701== Releasing lock...
[2025-02-09 01:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:39:06
[end_date_ymd] => 2025-02-09 01:39:06
[RateCDR] => 1
)
[2025-02-09 01:39: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-02-08 22:39:06' and `end` < '2025-02-09 01:39: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-02-09 01:39:13] Production.ERROR: CronJobId end10
[2025-02-09 01:39:13] Production.INFO: ==3695== Releasing lock...
[2025-02-09 01:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:39:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:39:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:39:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:39:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:39:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:39:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:39:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:39:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:39:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:39:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:39:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:39:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:39:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:39:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:39:15] Production.INFO: call_cost start
[2025-02-09 01:39:15] Production.INFO: call_cost end
[2025-02-09 01:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:39:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:39:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:39:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:39:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:39:16] Production.INFO: ==3691== Releasing lock...
[2025-02-09 01:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:39:19] Production.INFO: count ==685
[2025-02-09 01:39:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:39:06 - End Time 2025-02-09 01:39:06
[2025-02-09 01:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433745', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433745', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433745', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433745', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:39:19] Production.INFO: ProcessCDR(1,14433745,1,1,2)
[2025-02-09 01:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433745', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433745', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:39:24] Production.INFO: ==3699== Releasing lock...
[2025-02-09 01:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:39:24] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 06:40:01] Production.INFO: ==3757== Lock acquired, processing the job...
[2025-02-09 06:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:40:01] Production.INFO: neon service started
[2025-02-09 06:40:01] Production.INFO: neon service started
[2025-02-09 06:40:01] Production.INFO: ==3757== Releasing lock...
[2025-02-09 06:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:40:02] Production.INFO: ==3759== Lock acquired, processing the job...
[2025-02-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:40:02] Production.INFO: ==3761== Lock acquired, processing the job...
[2025-02-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:40:02] Production.INFO: ==3759== Releasing lock...
[2025-02-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:40:02] Production.INFO: ==3761== Releasing lock...
[2025-02-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:40:03] Production.INFO: ==3763== Lock acquired, processing the job...
[2025-02-09 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 01:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 01:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 01:40:03] Production.INFO: ==3763== Releasing lock...
[2025-02-09 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 01:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 01:40:03] Production.INFO: ==3765== Lock acquired, processing the job...
[2025-02-09 01:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:40:03] Production.INFO: ==3767== Lock acquired, processing the job...
[2025-02-09 01:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:40:03] Production.INFO: ==3769== Lock acquired, processing the job...
[2025-02-09 01:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:40:04] Production.INFO: ==3771== Lock acquired, processing the job...
[2025-02-09 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:40:04] Production.INFO: ==3767== Releasing lock...
[2025-02-09 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:40:04] Production.INFO: ==3774== Lock acquired, processing the job...
[2025-02-09 01:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:40:04] Production.INFO: Account Balance Start.
[2025-02-09 01:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:40:04] Production.INFO: 117
[2025-02-09 01:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:40:04] Production.INFO: ==3778== Lock acquired, processing the job...
[2025-02-09 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:40:04] Production.INFO: ==3776== Lock acquired, processing the job...
[2025-02-09 01:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 01:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:40:04] Production.INFO: Total Charge 0
[2025-02-09 01:40:04] Production.INFO: CreateAllLog End
[2025-02-09 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:40:04] Production.INFO: count ==21
[2025-02-09 01:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:40:04] Production.INFO: count ==21
[2025-02-09 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433749') start
[2025-02-09 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433749') end
[2025-02-09 01:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:40:04] Production.INFO: 1
[2025-02-09 01:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:40:04] Production.ERROR: done
[2025-02-09 01:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:40:05] Production.INFO: ==3778== Releasing lock...
[2025-02-09 01:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:40:05] Production.ERROR: done
[2025-02-09 01:40:05] Production.ERROR: done
[2025-02-09 01:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 01:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433750', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 01:40:05] Production.INFO: Account Balance End.
[2025-02-09 01:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:40:05] Production.INFO: ==3771== Releasing lock...
[2025-02-09 01:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:40:06
[end_date_ymd] => 2025-02-09 01:40:06
[RateCDR] => 1
)
[2025-02-09 01:40: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-02-08 22:40:06' and `end` < '2025-02-09 01:40: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-02-09 01:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433750', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 01:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 01:40:10] Production.INFO: ProcessCDR(1,14433750,1,1,2)
[2025-02-09 01:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433750,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433750,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:40:10] Production.INFO: ==3776== Releasing lock...
[2025-02-09 01:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 01:40:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 01:40:15] Production.ERROR: CronJobId end10
[2025-02-09 01:40:15] Production.INFO: ==3769== Releasing lock...
[2025-02-09 01:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:40:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:40:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:40:18] Production.INFO: call_cost start
[2025-02-09 01:40:18] Production.INFO: call_cost end
[2025-02-09 01:40:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:40:19] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:40:19] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:40:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:40:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:40:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:40:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:40:19] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:40:19] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:40:19] Production.INFO: ==3765== Releasing lock...
[2025-02-09 01:40:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:40:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:40:19] Production.INFO: count ==693
[2025-02-09 01:40:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:40:06 - End Time 2025-02-09 01:40:06
[2025-02-09 01:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433751', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433751', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433751', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433751', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:40:19] Production.INFO: ProcessCDR(1,14433751,1,1,2)
[2025-02-09 01:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433751', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433751', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:40:23] Production.INFO: ==3774== Releasing lock...
[2025-02-09 01:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:40:23] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:41:02] Production.INFO: ==3834== Lock acquired, processing the job...
[2025-02-09 06:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:41:02] Production.INFO: neon service started
[2025-02-09 06:41:02] Production.INFO: neon service started
[2025-02-09 06:41:02] Production.INFO: ==3834== Releasing lock...
[2025-02-09 06:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:41:02] Production.INFO: ==3836== Lock acquired, processing the job...
[2025-02-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:41:03] Production.INFO: ==3838== Lock acquired, processing the job...
[2025-02-09 06:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:41:03] Production.INFO: ==3838== Releasing lock...
[2025-02-09 06:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:41:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:41:03] Production.INFO: ==3836== Releasing lock...
[2025-02-09 01:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:41:04] Production.INFO: ==3845== Lock acquired, processing the job...
[2025-02-09 01:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:41:04] Production.INFO: ==3841== Lock acquired, processing the job...
[2025-02-09 01:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:41:04] Production.INFO: ==3851== Lock acquired, processing the job...
[2025-02-09 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:41:04] Production.INFO: ==3843== Lock acquired, processing the job...
[2025-02-09 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:41:04] Production.INFO: count ==21
[2025-02-09 01:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:41:04] Production.INFO: count ==21
[2025-02-09 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433752') start
[2025-02-09 01:41:04] Production.INFO: ==3847== Lock acquired, processing the job...
[2025-02-09 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:41:04] Production.INFO: ==3849== Lock acquired, processing the job...
[2025-02-09 01:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:41:04] Production.INFO: Account Balance Start.
[2025-02-09 01:41:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:41:04] Production.INFO: 117
[2025-02-09 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433752') end
[2025-02-09 01:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:41:04] Production.INFO: 1
[2025-02-09 01:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:41:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:41:05] Production.INFO: Date 2025-02-09
[2025-02-09 01:41:05] Production.INFO: Reseller ==> 0
[2025-02-09 01:41:05] Production.INFO: ==3851== Releasing lock...
[2025-02-09 01:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:41:05] Production.INFO: Total Charge 0
[2025-02-09 01:41:05] Production.INFO: ==3843== Releasing lock...
[2025-02-09 01:41:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:41:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:41:05] Production.INFO: CreateAllLog End
[2025-02-09 01:41:05] Production.ERROR: done
[2025-02-09 01:41:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:41:05] Production.ERROR: done
[2025-02-09 01:41:05] Production.INFO: Account Balance End.
[2025-02-09 01:41:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:41:05] Production.INFO: ==3847== Releasing lock...
[2025-02-09 01:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:41:06
[end_date_ymd] => 2025-02-09 01:41:06
[RateCDR] => 1
)
[2025-02-09 01:41: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-02-08 22:41:06' and `end` < '2025-02-09 01:41: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-02-09 01:41:13] Production.ERROR: CronJobId end10
[2025-02-09 01:41:13] Production.INFO: ==3845== Releasing lock...
[2025-02-09 01:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:41:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:41:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:41:16] Production.INFO: call_cost start
[2025-02-09 01:41:16] Production.INFO: call_cost end
[2025-02-09 01:41:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:41:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:41:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:41:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:41:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:41:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:41:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:41:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:41:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:41:17] Production.INFO: ==3841== Releasing lock...
[2025-02-09 01:41:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:41:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:41:19] Production.INFO: count ==750
[2025-02-09 01:41:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:41:06 - End Time 2025-02-09 01:41:06
[2025-02-09 01:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433756', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433756', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433756', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433756', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:41:19] Production.INFO: ProcessCDR(1,14433756,1,1,2)
[2025-02-09 01:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:41:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:41:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433756', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433756', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:41:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:41:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:41:25] Production.INFO: ==3849== Releasing lock...
[2025-02-09 01:41:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:41:25] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:42:01] Production.INFO: ==3904== Lock acquired, processing the job...
[2025-02-09 06:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:42:01] Production.INFO: neon service started
[2025-02-09 06:42:01] Production.INFO: neon service started
[2025-02-09 06:42:01] Production.INFO: ==3904== Releasing lock...
[2025-02-09 06:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:42:02] Production.INFO: ==3909== Lock acquired, processing the job...
[2025-02-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:42:02] Production.INFO: ==3909== Releasing lock...
[2025-02-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:42:02] Production.INFO: ==3907== Lock acquired, processing the job...
[2025-02-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:42:02] Production.INFO: ==3907== Releasing lock...
[2025-02-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:42:03] Production.INFO: ==3911== Lock acquired, processing the job...
[2025-02-09 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:42:03] Production.INFO: ==3915== Lock acquired, processing the job...
[2025-02-09 01:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:42:03] Production.INFO: ==3921== Lock acquired, processing the job...
[2025-02-09 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:42:03] Production.INFO: ==3913== Lock acquired, processing the job...
[2025-02-09 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:42:04] Production.INFO: count ==21
[2025-02-09 01:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:42:04] Production.INFO: count ==21
[2025-02-09 01:42:04] Production.INFO: ==3917== Lock acquired, processing the job...
[2025-02-09 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433758') start
[2025-02-09 01:42:04] Production.INFO: ==3919== Lock acquired, processing the job...
[2025-02-09 01:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433758') end
[2025-02-09 01:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:42:04] Production.INFO: 1
[2025-02-09 01:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:42:04] Production.INFO: Account Balance Start.
[2025-02-09 01:42:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:42:04] Production.INFO: 117
[2025-02-09 01:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:42:04] Production.INFO: ==3921== Releasing lock...
[2025-02-09 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:42:04] Production.INFO: Total Charge 0
[2025-02-09 01:42:04] Production.INFO: ==3913== Releasing lock...
[2025-02-09 01:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:42:04] Production.INFO: CreateAllLog End
[2025-02-09 01:42:04] Production.ERROR: done
[2025-02-09 01:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:42:04] Production.ERROR: done
[2025-02-09 01:42:04] Production.INFO: Account Balance End.
[2025-02-09 01:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:42:04] Production.INFO: ==3917== Releasing lock...
[2025-02-09 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:42:05
[end_date_ymd] => 2025-02-09 01:42:05
[RateCDR] => 1
)
[2025-02-09 01:42: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` >= '2025-02-08 22:42:05' and `end` < '2025-02-09 01:42: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 ,'')
[2025-02-09 01:42:12] Production.ERROR: CronJobId end10
[2025-02-09 01:42:12] Production.INFO: ==3915== Releasing lock...
[2025-02-09 01:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:42:15] Production.INFO: call_cost start
[2025-02-09 01:42:15] Production.INFO: call_cost end
[2025-02-09 01:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:42:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:42:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:42:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:42:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:42:16] Production.INFO: ==3911== Releasing lock...
[2025-02-09 01:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:42:19] Production.INFO: count ==749
[2025-02-09 01:42:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:42:05 - End Time 2025-02-09 01:42:05
[2025-02-09 01:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433761', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433761', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433761', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433761', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:42:20] Production.INFO: ProcessCDR(1,14433761,1,1,2)
[2025-02-09 01:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433761', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433761', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:42:23] Production.INFO: ==3919== Releasing lock...
[2025-02-09 01:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:42:23] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 06:43:02] Production.INFO: ==3977== Lock acquired, processing the job...
[2025-02-09 06:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:43:02] Production.INFO: neon service started
[2025-02-09 06:43:02] Production.INFO: neon service started
[2025-02-09 06:43:02] Production.INFO: ==3977== Releasing lock...
[2025-02-09 06:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:43:02] Production.INFO: ==3979== Lock acquired, processing the job...
[2025-02-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:43:02] Production.INFO: ==3981== Lock acquired, processing the job...
[2025-02-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:43:02] Production.INFO: ==3981== Releasing lock...
[2025-02-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:43:02] Production.INFO: ==3979== Releasing lock...
[2025-02-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:43:03] Production.INFO: ==3987== Lock acquired, processing the job...
[2025-02-09 01:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:43:03] Production.INFO: ==3991== Lock acquired, processing the job...
[2025-02-09 01:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:43:03] Production.INFO: ==3994== Lock acquired, processing the job...
[2025-02-09 01:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:43:03] Production.INFO: ==3985== Lock acquired, processing the job...
[2025-02-09 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:43:03] Production.INFO: ==3983== Lock acquired, processing the job...
[2025-02-09 01:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:43:04] Production.INFO: count ==21
[2025-02-09 01:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:43:04] Production.INFO: count ==21
[2025-02-09 01:43:04] Production.INFO: ==3989== Lock acquired, processing the job...
[2025-02-09 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433762') start
[2025-02-09 01:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:43:04] Production.INFO: Account Balance Start.
[2025-02-09 01:43:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:43:04] Production.ERROR: done
[2025-02-09 01:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:43:04] Production.INFO: 117
[2025-02-09 01:43:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:43:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:43:04] Production.INFO: Total Charge 0
[2025-02-09 01:43:04] Production.INFO: CreateAllLog End
[2025-02-09 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433762') end
[2025-02-09 01:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:43:04] Production.INFO: 1
[2025-02-09 01:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:43:04] Production.ERROR: done
[2025-02-09 01:43:04] Production.INFO: ==3985== Releasing lock...
[2025-02-09 01:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:43:04] Production.INFO: ==3994== Releasing lock...
[2025-02-09 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:43:04] Production.INFO: Account Balance End.
[2025-02-09 01:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:43:04] Production.INFO: ==3989== Releasing lock...
[2025-02-09 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:43:05
[end_date_ymd] => 2025-02-09 01:43:05
[RateCDR] => 1
)
[2025-02-09 01:43: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` >= '2025-02-08 22:43:05' and `end` < '2025-02-09 01:43: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 ,'')
[2025-02-09 01:43:12] Production.ERROR: CronJobId end10
[2025-02-09 01:43:12] Production.INFO: ==3987== Releasing lock...
[2025-02-09 01:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:43:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:43:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:43:14] Production.INFO: call_cost start
[2025-02-09 01:43:14] Production.INFO: call_cost end
[2025-02-09 01:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:43:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:43:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:43:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:43:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:43:15] Production.INFO: ==3983== Releasing lock...
[2025-02-09 01:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:43:19] Production.INFO: count ==748
[2025-02-09 01:43:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:43:05 - End Time 2025-02-09 01:43:05
[2025-02-09 01:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433766', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433766', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433766', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433766', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:43:19] Production.INFO: ProcessCDR(1,14433766,1,1,2)
[2025-02-09 01:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433766', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433766', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:43:22] Production.INFO: ==3991== Releasing lock...
[2025-02-09 01:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:43:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:44:01] Production.INFO: ==4049== Lock acquired, processing the job...
[2025-02-09 06:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:44:01] Production.INFO: neon service started
[2025-02-09 06:44:01] Production.INFO: neon service started
[2025-02-09 06:44:01] Production.INFO: ==4049== Releasing lock...
[2025-02-09 06:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:44:02] Production.INFO: ==4053== Lock acquired, processing the job...
[2025-02-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:44:02] Production.INFO: ==4053== Releasing lock...
[2025-02-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:44:02] Production.INFO: ==4051== Lock acquired, processing the job...
[2025-02-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:44:02] Production.INFO: ==4051== Releasing lock...
[2025-02-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:44:03] Production.INFO: ==4055== Lock acquired, processing the job...
[2025-02-09 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:44:03] Production.INFO: ==4057== Lock acquired, processing the job...
[2025-02-09 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:44:03] Production.INFO: ==4059== Lock acquired, processing the job...
[2025-02-09 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:44:03] Production.INFO: ==4062== Lock acquired, processing the job...
[2025-02-09 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:44:03] Production.INFO: ==4064== Lock acquired, processing the job...
[2025-02-09 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:44:03] Production.INFO: Account Balance Start.
[2025-02-09 01:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:44:03] Production.INFO: 117
[2025-02-09 01:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:44:03] Production.INFO: ==4066== Lock acquired, processing the job...
[2025-02-09 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:44:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:44:04] Production.INFO: Total Charge 0
[2025-02-09 01:44:04] Production.INFO: CreateAllLog End
[2025-02-09 01:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:44:04] Production.INFO: count ==21
[2025-02-09 01:44:04] Production.INFO: ==4057== Releasing lock...
[2025-02-09 01:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:44:04] Production.INFO: count ==21
[2025-02-09 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433770') start
[2025-02-09 01:44:04] Production.ERROR: done
[2025-02-09 01:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:44:04] Production.INFO: Account Balance End.
[2025-02-09 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433770') end
[2025-02-09 01:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:44:04] Production.INFO: 1
[2025-02-09 01:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:44:04] Production.INFO: ==4062== Releasing lock...
[2025-02-09 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:44:04] Production.INFO: ==4066== Releasing lock...
[2025-02-09 01:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:44:04] Production.ERROR: done
[2025-02-09 01:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:44:05
[end_date_ymd] => 2025-02-09 01:44:05
[RateCDR] => 1
)
[2025-02-09 01:44: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` >= '2025-02-08 22:44:05' and `end` < '2025-02-09 01:44: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 ,'')
[2025-02-09 01:44:13] Production.ERROR: CronJobId end10
[2025-02-09 01:44:13] Production.INFO: ==4059== Releasing lock...
[2025-02-09 01:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:44:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:44:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:44:15] Production.INFO: call_cost start
[2025-02-09 01:44:15] Production.INFO: call_cost end
[2025-02-09 01:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:44:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:44:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:44:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:44:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:44:16] Production.INFO: ==4055== Releasing lock...
[2025-02-09 01:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:44:18] Production.INFO: count ==749
[2025-02-09 01:44:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:44:05 - End Time 2025-02-09 01:44:05
[2025-02-09 01:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433771', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433771', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433771', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433771', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:44:18] Production.INFO: ProcessCDR(1,14433771,1,1,2)
[2025-02-09 01:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433771', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433771', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:44:22] Production.INFO: ==4064== Releasing lock...
[2025-02-09 01:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:44:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:45:02] Production.INFO: ==4125== Lock acquired, processing the job...
[2025-02-09 06:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:45:02] Production.INFO: neon service started
[2025-02-09 06:45:02] Production.INFO: neon service started
[2025-02-09 06:45:02] Production.INFO: ==4125== Releasing lock...
[2025-02-09 06:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:45:02] Production.INFO: ==4127== Lock acquired, processing the job...
[2025-02-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:45:02] Production.INFO: ==4127== Releasing lock...
[2025-02-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:45:03] Production.INFO: ==4129== Lock acquired, processing the job...
[2025-02-09 06:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:45:03] Production.INFO: ==4129== Releasing lock...
[2025-02-09 06:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:45:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:45:03] Production.INFO: ==4131== Lock acquired, processing the job...
[2025-02-09 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:45:03] Production.INFO: ==4133== Lock acquired, processing the job...
[2025-02-09 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:45:03] Production.INFO: ==4135== Lock acquired, processing the job...
[2025-02-09 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:45:04] Production.INFO: ==4137== Lock acquired, processing the job...
[2025-02-09 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:45:04] Production.INFO: ==4133== Releasing lock...
[2025-02-09 01:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:45:04] Production.INFO: ==4141== Lock acquired, processing the job...
[2025-02-09 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:45:04] Production.INFO: ==4139== Lock acquired, processing the job...
[2025-02-09 01:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:45:04] Production.INFO: Account Balance Start.
[2025-02-09 01:45:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:45:04] Production.INFO: 117
[2025-02-09 01:45:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:45:04] Production.INFO: count ==21
[2025-02-09 01:45:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:45:04] Production.INFO: count ==21
[2025-02-09 01:45:04] Production.INFO: Total Charge 0
[2025-02-09 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433775') start
[2025-02-09 01:45:04] Production.INFO: CreateAllLog End
[2025-02-09 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433775') end
[2025-02-09 01:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:45:04] Production.INFO: 1
[2025-02-09 01:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:45:04] Production.ERROR: done
[2025-02-09 01:45:04] Production.INFO: ==4141== Releasing lock...
[2025-02-09 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:45:04] Production.ERROR: done
[2025-02-09 01:45:04] Production.INFO: Account Balance End.
[2025-02-09 01:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:45:04] Production.INFO: ==4137== Releasing lock...
[2025-02-09 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:45:05
[end_date_ymd] => 2025-02-09 01:45:05
[RateCDR] => 1
)
[2025-02-09 01:45: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` >= '2025-02-08 22:45:05' and `end` < '2025-02-09 01:45: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 ,'')
[2025-02-09 01:45:11] Production.ERROR: CronJobId end10
[2025-02-09 01:45:11] Production.INFO: ==4135== Releasing lock...
[2025-02-09 01:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:45:14] Production.INFO: call_cost start
[2025-02-09 01:45:14] Production.INFO: call_cost end
[2025-02-09 01:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:45:15] Production.INFO: ==4131== Releasing lock...
[2025-02-09 01:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:45:18] Production.INFO: count ==749
[2025-02-09 01:45:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:45:05 - End Time 2025-02-09 01:45:05
[2025-02-09 01:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433776', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433776', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433776', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433776', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:45:18] Production.INFO: ProcessCDR(1,14433776,1,1,2)
[2025-02-09 01:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433776', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433776', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:45:22] Production.INFO: ==4139== Releasing lock...
[2025-02-09 01:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:45:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:46:01] Production.INFO: ==4201== Lock acquired, processing the job...
[2025-02-09 06:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:46:01] Production.INFO: neon service started
[2025-02-09 06:46:01] Production.INFO: neon service started
[2025-02-09 06:46:01] Production.INFO: ==4201== Releasing lock...
[2025-02-09 06:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:46:02] Production.INFO: ==4203== Lock acquired, processing the job...
[2025-02-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:46:02] Production.INFO: ==4205== Lock acquired, processing the job...
[2025-02-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:46:02] Production.INFO: ==4205== Releasing lock...
[2025-02-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:46:02] Production.INFO: ==4203== Releasing lock...
[2025-02-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:46:03] Production.INFO: ==4208== Lock acquired, processing the job...
[2025-02-09 01:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:46:03] Production.INFO: ==4210== Lock acquired, processing the job...
[2025-02-09 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:46:03] Production.INFO: ==4214== Lock acquired, processing the job...
[2025-02-09 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:46:03] Production.INFO: Account Balance Start.
[2025-02-09 01:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:46:03] Production.INFO: 117
[2025-02-09 01:46:04] Production.INFO: ==4212== Lock acquired, processing the job...
[2025-02-09 01:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:46:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:46:04] Production.INFO: ==4216== Lock acquired, processing the job...
[2025-02-09 01:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:46:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:46:04] Production.INFO: ==4218== Lock acquired, processing the job...
[2025-02-09 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:46:04] Production.INFO: ==4210== Releasing lock...
[2025-02-09 01:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:46:04] Production.INFO: Total Charge 0
[2025-02-09 01:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:46:04] Production.INFO: CreateAllLog End
[2025-02-09 01:46:04] Production.INFO: Account Balance End.
[2025-02-09 01:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:46:04] Production.INFO: ==4214== Releasing lock...
[2025-02-09 01:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:46:04] Production.INFO: count ==21
[2025-02-09 01:46:04] Production.ERROR: done
[2025-02-09 01:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:46:04] Production.INFO: count ==21
[2025-02-09 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433780') start
[2025-02-09 01:46:04] Production.ERROR: done
[2025-02-09 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433780') end
[2025-02-09 01:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:46:04] Production.INFO: 1
[2025-02-09 01:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:46:04] Production.INFO: ==4218== Releasing lock...
[2025-02-09 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:46:05
[end_date_ymd] => 2025-02-09 01:46:05
[RateCDR] => 1
)
[2025-02-09 01:46: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` >= '2025-02-08 22:46:05' and `end` < '2025-02-09 01:46: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 ,'')
[2025-02-09 01:46:12] Production.ERROR: CronJobId end10
[2025-02-09 01:46:12] Production.INFO: ==4212== Releasing lock...
[2025-02-09 01:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:46:14] Production.INFO: call_cost start
[2025-02-09 01:46:14] Production.INFO: call_cost end
[2025-02-09 01:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:46:15] Production.INFO: ==4208== Releasing lock...
[2025-02-09 01:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:46:18] Production.INFO: count ==749
[2025-02-09 01:46:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:46:05 - End Time 2025-02-09 01:46:05
[2025-02-09 01:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433781', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433781', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433781', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433781', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:46:19] Production.INFO: ProcessCDR(1,14433781,1,1,2)
[2025-02-09 01:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433781', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433781', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:46:22] Production.INFO: ==4216== Releasing lock...
[2025-02-09 01:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:46:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:47:02] Production.INFO: ==4271== Lock acquired, processing the job...
[2025-02-09 06:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:47:02] Production.INFO: neon service started
[2025-02-09 06:47:02] Production.INFO: neon service started
[2025-02-09 06:47:02] Production.INFO: ==4271== Releasing lock...
[2025-02-09 06:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:47:02] Production.INFO: ==4275== Lock acquired, processing the job...
[2025-02-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:47:02] Production.INFO: ==4275== Releasing lock...
[2025-02-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:47:02] Production.INFO: ==4273== Lock acquired, processing the job...
[2025-02-09 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:47:03] Production.INFO: ==4273== Releasing lock...
[2025-02-09 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:47:03] Production.INFO: ==4278== Lock acquired, processing the job...
[2025-02-09 01:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:47:04] Production.INFO: ==4284== Lock acquired, processing the job...
[2025-02-09 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:47:04] Production.INFO: Account Balance Start.
[2025-02-09 01:47:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:47:04] Production.INFO: 117
[2025-02-09 01:47:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:47:04] Production.INFO: ==4280== Lock acquired, processing the job...
[2025-02-09 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:47:04] Production.INFO: ==4282== Lock acquired, processing the job...
[2025-02-09 01:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:47:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:47:04] Production.INFO: Total Charge 0
[2025-02-09 01:47:04] Production.INFO: ==4286== Lock acquired, processing the job...
[2025-02-09 01:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:47:04] Production.INFO: CreateAllLog End
[2025-02-09 01:47:04] Production.INFO: ==4288== Lock acquired, processing the job...
[2025-02-09 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:47:04] Production.INFO: ==4280== Releasing lock...
[2025-02-09 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:47:04] Production.INFO: count ==21
[2025-02-09 01:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:47:04] Production.INFO: count ==21
[2025-02-09 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433785') start
[2025-02-09 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433785') end
[2025-02-09 01:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:47:04] Production.INFO: 1
[2025-02-09 01:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:47:04] Production.INFO: ==4288== Releasing lock...
[2025-02-09 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:47:04] Production.ERROR: done
[2025-02-09 01:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:47:05] Production.ERROR: done
[2025-02-09 01:47:05] Production.INFO: Account Balance End.
[2025-02-09 01:47:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:47:05] Production.INFO: ==4284== Releasing lock...
[2025-02-09 01:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:47:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:47:06
[end_date_ymd] => 2025-02-09 01:47:06
[RateCDR] => 1
)
[2025-02-09 01:47: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-02-08 22:47:06' and `end` < '2025-02-09 01:47: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-02-09 01:47:13] Production.ERROR: CronJobId end10
[2025-02-09 01:47:13] Production.INFO: ==4282== Releasing lock...
[2025-02-09 01:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:47:15] Production.INFO: call_cost start
[2025-02-09 01:47:15] Production.INFO: call_cost end
[2025-02-09 01:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:47:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:47:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:47:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:47:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:47:16] Production.INFO: ==4278== Releasing lock...
[2025-02-09 01:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:47:19] Production.INFO: count ==749
[2025-02-09 01:47:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:47:06 - End Time 2025-02-09 01:47:06
[2025-02-09 01:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433786', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433786', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433786', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433786', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:47:19] Production.INFO: ProcessCDR(1,14433786,1,1,2)
[2025-02-09 01:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433786', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433786', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:47:24] Production.INFO: ==4286== Releasing lock...
[2025-02-09 01:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:47:24] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 06:48:01] Production.INFO: ==4344== Lock acquired, processing the job...
[2025-02-09 06:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:48:01] Production.INFO: neon service started
[2025-02-09 06:48:01] Production.INFO: neon service started
[2025-02-09 06:48:01] Production.INFO: ==4344== Releasing lock...
[2025-02-09 06:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:48:02] Production.INFO: ==4346== Lock acquired, processing the job...
[2025-02-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:48:02] Production.INFO: ==4346== Releasing lock...
[2025-02-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:48:02] Production.INFO: ==4348== Lock acquired, processing the job...
[2025-02-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:48:02] Production.INFO: ==4348== Releasing lock...
[2025-02-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:48:03] Production.INFO: ==4361== Lock acquired, processing the job...
[2025-02-09 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:48:03] Production.INFO: ==4359== Lock acquired, processing the job...
[2025-02-09 01:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:48:03] Production.INFO: ==4351== Lock acquired, processing the job...
[2025-02-09 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:48:03] Production.INFO: ==4353== Lock acquired, processing the job...
[2025-02-09 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:48:03] Production.INFO: count ==21
[2025-02-09 01:48:03] Production.INFO: ==4355== Lock acquired, processing the job...
[2025-02-09 01:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:48:03] Production.INFO: count ==21
[2025-02-09 01:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433787') start
[2025-02-09 01:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:48:03] Production.INFO: ==4357== Lock acquired, processing the job...
[2025-02-09 01:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433787') end
[2025-02-09 01:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:48:03] Production.INFO: 1
[2025-02-09 01:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:48:03] Production.INFO: Account Balance Start.
[2025-02-09 01:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:48:03] Production.INFO: 117
[2025-02-09 01:48:03] Production.INFO: ==4361== Releasing lock...
[2025-02-09 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:48:04] Production.INFO: Total Charge 0
[2025-02-09 01:48:04] Production.INFO: CreateAllLog End
[2025-02-09 01:48:04] Production.INFO: ==4353== Releasing lock...
[2025-02-09 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:48:04] Production.ERROR: done
[2025-02-09 01:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:48:04] Production.ERROR: done
[2025-02-09 01:48:04] Production.INFO: Account Balance End.
[2025-02-09 01:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:48:04] Production.INFO: ==4357== Releasing lock...
[2025-02-09 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:48:05
[end_date_ymd] => 2025-02-09 01:48:05
[RateCDR] => 1
)
[2025-02-09 01:48: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` >= '2025-02-08 22:48:05' and `end` < '2025-02-09 01:48: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 ,'')
[2025-02-09 01:48:12] Production.ERROR: CronJobId end10
[2025-02-09 01:48:12] Production.INFO: ==4355== Releasing lock...
[2025-02-09 01:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:48:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:48:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:48:15] Production.INFO: call_cost start
[2025-02-09 01:48:15] Production.INFO: call_cost end
[2025-02-09 01:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:48:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:48:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:48:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:48:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:48:16] Production.INFO: ==4351== Releasing lock...
[2025-02-09 01:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:48:18] Production.INFO: count ==744
[2025-02-09 01:48:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:48:05 - End Time 2025-02-09 01:48:05
[2025-02-09 01:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433791', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433791', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433791', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433791', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:48:18] Production.INFO: ProcessCDR(1,14433791,1,1,2)
[2025-02-09 01:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433791', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433791', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:48:22] Production.INFO: ==4359== Releasing lock...
[2025-02-09 01:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:48:22] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 06:49:02] Production.INFO: ==4417== Lock acquired, processing the job...
[2025-02-09 06:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:49:02] Production.INFO: neon service started
[2025-02-09 06:49:02] Production.INFO: neon service started
[2025-02-09 06:49:02] Production.INFO: ==4417== Releasing lock...
[2025-02-09 06:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:49:02] Production.INFO: ==4420== Lock acquired, processing the job...
[2025-02-09 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:49:02] Production.INFO: ==4422== Lock acquired, processing the job...
[2025-02-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:49:03] Production.INFO: ==4422== Releasing lock...
[2025-02-09 06:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:49:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:49:03] Production.INFO: ==4420== Releasing lock...
[2025-02-09 01:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:49:04] Production.INFO: ==4425== Lock acquired, processing the job...
[2025-02-09 01:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:49:04] Production.INFO: ==4433== Lock acquired, processing the job...
[2025-02-09 01:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:49:04] Production.INFO: ==4435== Lock acquired, processing the job...
[2025-02-09 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:49:04] Production.INFO: ==4427== Lock acquired, processing the job...
[2025-02-09 01:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:49:04] Production.INFO: ==4429== Lock acquired, processing the job...
[2025-02-09 01:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:49:04] Production.INFO: count ==21
[2025-02-09 01:49:04] Production.INFO: ==4431== Lock acquired, processing the job...
[2025-02-09 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:49:04] Production.INFO: count ==21
[2025-02-09 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433793') start
[2025-02-09 01:49:04] Production.ERROR: done
[2025-02-09 01:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:49:04] Production.INFO: Account Balance Start.
[2025-02-09 01:49:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:49:04] Production.INFO: 117
[2025-02-09 01:49:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:49:04] Production.ERROR: done
[2025-02-09 01:49:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433793') end
[2025-02-09 01:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:49:04] Production.INFO: 1
[2025-02-09 01:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:49:04] Production.INFO: Total Charge 0
[2025-02-09 01:49:04] Production.INFO: ==4435== Releasing lock...
[2025-02-09 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:49:05] Production.INFO: CreateAllLog End
[2025-02-09 01:49:05] Production.INFO: ==4427== Releasing lock...
[2025-02-09 01:49:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:49:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:49:05] Production.INFO: Account Balance End.
[2025-02-09 01:49:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:49:05] Production.INFO: ==4431== Releasing lock...
[2025-02-09 01:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:49:06
[end_date_ymd] => 2025-02-09 01:49:06
[RateCDR] => 1
)
[2025-02-09 01:49: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-02-08 22:49:06' and `end` < '2025-02-09 01:49: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-02-09 01:49:13] Production.ERROR: CronJobId end10
[2025-02-09 01:49:13] Production.INFO: ==4429== Releasing lock...
[2025-02-09 01:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:49:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:49:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:49:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:49:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:49:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:49:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:49:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:49:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:49:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:49:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:49:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:49:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:49:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:49:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:49:16] Production.INFO: call_cost start
[2025-02-09 01:49:16] Production.INFO: call_cost end
[2025-02-09 01:49:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:49:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:49:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:49:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:49:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:49:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:49:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:49:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:49:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:49:17] Production.INFO: ==4425== Releasing lock...
[2025-02-09 01:49:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:49:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:49:19] Production.INFO: count ==744
[2025-02-09 01:49:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:49:06 - End Time 2025-02-09 01:49:06
[2025-02-09 01:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433796', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433796', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433796', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433796', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:49:19] Production.INFO: ProcessCDR(1,14433796,1,1,2)
[2025-02-09 01:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433796', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433796', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:49:22] Production.INFO: ==4433== Releasing lock...
[2025-02-09 01:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:49:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:50:01] Production.INFO: ==4493== Lock acquired, processing the job...
[2025-02-09 06:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:50:01] Production.INFO: neon service started
[2025-02-09 06:50:01] Production.INFO: neon service started
[2025-02-09 06:50:01] Production.INFO: ==4493== Releasing lock...
[2025-02-09 06:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:50:02] Production.INFO: ==4495== Lock acquired, processing the job...
[2025-02-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:50:02] Production.INFO: ==4497== Lock acquired, processing the job...
[2025-02-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:50:02] Production.INFO: ==4497== Releasing lock...
[2025-02-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:50:02] Production.INFO: ==4495== Releasing lock...
[2025-02-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:50:03] Production.INFO: ==4500== Lock acquired, processing the job...
[2025-02-09 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 01:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 01:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 01:50:03] Production.INFO: ==4500== Releasing lock...
[2025-02-09 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 01:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 01:50:03] Production.INFO: ==4506== Lock acquired, processing the job...
[2025-02-09 01:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:50:03] Production.INFO: ==4502== Lock acquired, processing the job...
[2025-02-09 01:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:50:04] Production.INFO: ==4514== Lock acquired, processing the job...
[2025-02-09 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:50:04] Production.INFO: ==4510== Lock acquired, processing the job...
[2025-02-09 01:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:50:04] Production.INFO: ==4504== Lock acquired, processing the job...
[2025-02-09 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:50:04] Production.INFO: count ==21
[2025-02-09 01:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:50:04] Production.INFO: count ==21
[2025-02-09 01:50:04] Production.INFO: ==4508== Lock acquired, processing the job...
[2025-02-09 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433798') start
[2025-02-09 01:50:04] Production.INFO: ==4512== Lock acquired, processing the job...
[2025-02-09 01:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:50:04] Production.INFO: Account Balance Start.
[2025-02-09 01:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:50:04] Production.INFO: 117
[2025-02-09 01:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433798') end
[2025-02-09 01:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:50:04] Production.INFO: 1
[2025-02-09 01:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:50:04] Production.INFO: ==4514== Releasing lock...
[2025-02-09 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:50:04] Production.ERROR: done
[2025-02-09 01:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:50:04] Production.INFO: Total Charge 0
[2025-02-09 01:50:04] Production.INFO: CreateAllLog End
[2025-02-09 01:50:04] Production.INFO: ==4504== Releasing lock...
[2025-02-09 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:50:04] Production.ERROR: done
[2025-02-09 01:50:05] Production.ERROR: done
[2025-02-09 01:50:05] Production.INFO: Account Balance End.
[2025-02-09 01:50:05] Production.ERROR: CronJobId end 12
[2025-02-09 01:50:05] Production.INFO: ==4508== Releasing lock...
[2025-02-09 01:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 01:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433801', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 01:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:50:06
[end_date_ymd] => 2025-02-09 01:50:06
[RateCDR] => 1
)
[2025-02-09 01:50: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-02-08 22:50:06' and `end` < '2025-02-09 01:50: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-02-09 01:50:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433801', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 01:50:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 01:50:10] Production.INFO: ProcessCDR(1,14433801,1,1,2)
[2025-02-09 01:50:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433801,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433801,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:50:10] Production.INFO: ==4512== Releasing lock...
[2025-02-09 01:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 01:50:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 01:50:15] Production.ERROR: CronJobId end10
[2025-02-09 01:50:15] Production.INFO: ==4506== Releasing lock...
[2025-02-09 01:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:50:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:50:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:50:18] Production.INFO: call_cost start
[2025-02-09 01:50:18] Production.INFO: call_cost end
[2025-02-09 01:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:50:19] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:50:19] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:50:19] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:50:19] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:50:19] Production.INFO: ==4502== Releasing lock...
[2025-02-09 01:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:50:19] Production.INFO: count ==758
[2025-02-09 01:50:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:50:06 - End Time 2025-02-09 01:50:06
[2025-02-09 01:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433802', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433802', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433802', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433802', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:50:19] Production.INFO: ProcessCDR(1,14433802,1,1,2)
[2025-02-09 01:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433802', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433802', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:50:23] Production.INFO: ==4510== Releasing lock...
[2025-02-09 01:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:50:23] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 06:51:02] Production.INFO: ==4583== Lock acquired, processing the job...
[2025-02-09 06:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:51:02] Production.INFO: neon service started
[2025-02-09 06:51:02] Production.INFO: neon service started
[2025-02-09 06:51:02] Production.INFO: ==4583== Releasing lock...
[2025-02-09 06:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:51:02] Production.INFO: ==4587== Lock acquired, processing the job...
[2025-02-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:51:02] Production.INFO: ==4587== Releasing lock...
[2025-02-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:51:02] Production.INFO: ==4585== Lock acquired, processing the job...
[2025-02-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:51:02] Production.INFO: ==4585== Releasing lock...
[2025-02-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:51:03] Production.INFO: ==4594== Lock acquired, processing the job...
[2025-02-09 01:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:51:03] Production.INFO: ==4600== Lock acquired, processing the job...
[2025-02-09 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:51:03] Production.INFO: ==4590== Lock acquired, processing the job...
[2025-02-09 01:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:51:04] Production.INFO: count ==21
[2025-02-09 01:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:51:04] Production.INFO: count ==21
[2025-02-09 01:51:04] Production.INFO: ==4592== Lock acquired, processing the job...
[2025-02-09 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433803') start
[2025-02-09 01:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:51:04] Production.INFO: ==4598== Lock acquired, processing the job...
[2025-02-09 01:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:51:04] Production.INFO: ==4596== Lock acquired, processing the job...
[2025-02-09 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433803') end
[2025-02-09 01:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:51:04] Production.INFO: 1
[2025-02-09 01:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:51:04] Production.INFO: ==4600== Releasing lock...
[2025-02-09 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:51:04] Production.INFO: Account Balance Start.
[2025-02-09 01:51:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:51:04] Production.INFO: 117
[2025-02-09 01:51:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:51:04] Production.INFO: Total Charge 0
[2025-02-09 01:51:04] Production.INFO: CreateAllLog End
[2025-02-09 01:51:04] Production.ERROR: done
[2025-02-09 01:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:51:04] Production.INFO: ==4592== Releasing lock...
[2025-02-09 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:51:04] Production.INFO: Account Balance End.
[2025-02-09 01:51:04] Production.ERROR: done
[2025-02-09 01:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:51:04] Production.INFO: ==4596== Releasing lock...
[2025-02-09 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:51:05
[end_date_ymd] => 2025-02-09 01:51:05
[RateCDR] => 1
)
[2025-02-09 01:51: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` >= '2025-02-08 22:51:05' and `end` < '2025-02-09 01:51: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 ,'')
[2025-02-09 01:51:13] Production.ERROR: CronJobId end10
[2025-02-09 01:51:13] Production.INFO: ==4594== Releasing lock...
[2025-02-09 01:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:51:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:51:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:51:15] Production.INFO: call_cost start
[2025-02-09 01:51:15] Production.INFO: call_cost end
[2025-02-09 01:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:51:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:51:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:51:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:51:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:51:17] Production.INFO: ==4590== Releasing lock...
[2025-02-09 01:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:51:18] Production.INFO: count ==807
[2025-02-09 01:51:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:51:05 - End Time 2025-02-09 01:51:05
[2025-02-09 01:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433807', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433807', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433807', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433807', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:51:18] Production.INFO: ProcessCDR(1,14433807,1,1,2)
[2025-02-09 01:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433807', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433807', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:51:22] Production.INFO: ==4598== Releasing lock...
[2025-02-09 01:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:51:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 06:52:01] Production.INFO: ==4656== Lock acquired, processing the job...
[2025-02-09 06:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:52:01] Production.INFO: neon service started
[2025-02-09 06:52:01] Production.INFO: neon service started
[2025-02-09 06:52:01] Production.INFO: ==4656== Releasing lock...
[2025-02-09 06:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:52:01] Production.INFO: ==4659== Lock acquired, processing the job...
[2025-02-09 01:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:52:02] Production.INFO: ==4659== Releasing lock...
[2025-02-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:52:02] Production.INFO: ==4661== Lock acquired, processing the job...
[2025-02-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:52:02] Production.INFO: ==4661== Releasing lock...
[2025-02-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:52:03] Production.INFO: ==4671== Lock acquired, processing the job...
[2025-02-09 01:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:52:03] Production.INFO: ==4673== Lock acquired, processing the job...
[2025-02-09 01:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:52:03] Production.INFO: ==4663== Lock acquired, processing the job...
[2025-02-09 01:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:52:03] Production.INFO: ==4665== Lock acquired, processing the job...
[2025-02-09 01:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:52:03] Production.INFO: ==4667== Lock acquired, processing the job...
[2025-02-09 01:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:52:03] Production.INFO: ==4669== Lock acquired, processing the job...
[2025-02-09 01:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:52:03] Production.INFO: count ==21
[2025-02-09 01:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:52:03] Production.INFO: count ==21
[2025-02-09 01:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433808') start
[2025-02-09 01:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:52:03] Production.INFO: Account Balance Start.
[2025-02-09 01:52:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:52:03] Production.INFO: 117
[2025-02-09 01:52:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433808') end
[2025-02-09 01:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:52:03] Production.INFO: 1
[2025-02-09 01:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:52:03] Production.ERROR: done
[2025-02-09 01:52:04] Production.INFO: ==4673== Releasing lock...
[2025-02-09 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:52:04] Production.INFO: Total Charge 0
[2025-02-09 01:52:04] Production.INFO: CreateAllLog End
[2025-02-09 01:52:04] Production.INFO: ==4665== Releasing lock...
[2025-02-09 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:52:04] Production.ERROR: done
[2025-02-09 01:52:04] Production.INFO: Account Balance End.
[2025-02-09 01:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:52:04] Production.INFO: ==4669== Releasing lock...
[2025-02-09 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:52:05
[end_date_ymd] => 2025-02-09 01:52:05
[RateCDR] => 1
)
[2025-02-09 01:52: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` >= '2025-02-08 22:52:05' and `end` < '2025-02-09 01:52: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 ,'')
[2025-02-09 01:52:12] Production.ERROR: CronJobId end10
[2025-02-09 01:52:12] Production.INFO: ==4667== Releasing lock...
[2025-02-09 01:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:52:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:52:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:52:16] Production.INFO: call_cost start
[2025-02-09 01:52:16] Production.INFO: call_cost end
[2025-02-09 01:52:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:52:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:52:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:52:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:52:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:52:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:52:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:52:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:52:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:52:17] Production.INFO: ==4663== Releasing lock...
[2025-02-09 01:52:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:52:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:52:18] Production.INFO: count ==807
[2025-02-09 01:52:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:52:05 - End Time 2025-02-09 01:52:05
[2025-02-09 01:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433812', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433812', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433812', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433812', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:52:18] Production.INFO: ProcessCDR(1,14433812,1,1,2)
[2025-02-09 01:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433812', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433812', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:52:22] Production.INFO: ==4671== Releasing lock...
[2025-02-09 01:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:52:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 06:53:02] Production.INFO: ==4776== Lock acquired, processing the job...
[2025-02-09 06:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:53:02] Production.INFO: neon service started
[2025-02-09 06:53:02] Production.INFO: neon service started
[2025-02-09 06:53:02] Production.INFO: ==4776== Releasing lock...
[2025-02-09 06:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:53:02] Production.INFO: ==4779== Lock acquired, processing the job...
[2025-02-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:53:02] Production.INFO: ==4781== Lock acquired, processing the job...
[2025-02-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:53:02] Production.INFO: ==4779== Releasing lock...
[2025-02-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:53:02] Production.INFO: ==4781== Releasing lock...
[2025-02-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:53:03] Production.INFO: ==4791== Lock acquired, processing the job...
[2025-02-09 01:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:53:03] Production.INFO: ==4789== Lock acquired, processing the job...
[2025-02-09 01:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:53:03] Production.INFO: ==4783== Lock acquired, processing the job...
[2025-02-09 01:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:53:03] Production.INFO: Account Balance Start.
[2025-02-09 01:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:53:03] Production.INFO: 117
[2025-02-09 01:53:04] Production.INFO: ==4787== Lock acquired, processing the job...
[2025-02-09 01:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:53:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:53:04] Production.INFO: ==4785== Lock acquired, processing the job...
[2025-02-09 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:53:04] Production.INFO: ==4793== Lock acquired, processing the job...
[2025-02-09 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:53:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:53:04] Production.INFO: Total Charge 0
[2025-02-09 01:53:04] Production.INFO: CreateAllLog End
[2025-02-09 01:53:04] Production.ERROR: done
[2025-02-09 01:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:53:04] Production.INFO: count ==21
[2025-02-09 01:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:53:04] Production.INFO: count ==21
[2025-02-09 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433816') start
[2025-02-09 01:53:04] Production.ERROR: done
[2025-02-09 01:53:04] Production.INFO: Account Balance End.
[2025-02-09 01:53:04] Production.INFO: ==4785== Releasing lock...
[2025-02-09 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:53:04] Production.INFO: ==4789== Releasing lock...
[2025-02-09 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433816') end
[2025-02-09 01:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:53:04] Production.INFO: 1
[2025-02-09 01:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:53:04] Production.INFO: ==4793== Releasing lock...
[2025-02-09 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:53:05
[end_date_ymd] => 2025-02-09 01:53:05
[RateCDR] => 1
)
[2025-02-09 01:53: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` >= '2025-02-08 22:53:05' and `end` < '2025-02-09 01:53: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 ,'')
[2025-02-09 01:53:13] Production.ERROR: CronJobId end10
[2025-02-09 01:53:13] Production.INFO: ==4787== Releasing lock...
[2025-02-09 01:53:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:53:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:53:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:53:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:53:15] Production.INFO: call_cost start
[2025-02-09 01:53:15] Production.INFO: call_cost end
[2025-02-09 01:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:53:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:53:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:53:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:53:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:53:16] Production.INFO: ==4783== Releasing lock...
[2025-02-09 01:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:53:19] Production.INFO: count ==805
[2025-02-09 01:53:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:53:05 - End Time 2025-02-09 01:53:05
[2025-02-09 01:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433817', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433817', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433817', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433817', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:53:19] Production.INFO: ProcessCDR(1,14433817,1,1,2)
[2025-02-09 01:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433817', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433817', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:53:22] Production.INFO: ==4791== Releasing lock...
[2025-02-09 01:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:53:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 06:54:01] Production.INFO: ==4846== Lock acquired, processing the job...
[2025-02-09 06:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:54:01] Production.INFO: neon service started
[2025-02-09 06:54:01] Production.INFO: neon service started
[2025-02-09 06:54:01] Production.INFO: ==4846== Releasing lock...
[2025-02-09 06:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:54:01] Production.INFO: ==4849== Lock acquired, processing the job...
[2025-02-09 01:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:54:02] Production.INFO: ==4849== Releasing lock...
[2025-02-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:54:02] Production.INFO: ==4852== Lock acquired, processing the job...
[2025-02-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:54:02] Production.INFO: ==4852== Releasing lock...
[2025-02-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:54:03] Production.INFO: ==4854== Lock acquired, processing the job...
[2025-02-09 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:54:03] Production.INFO: ==4858== Lock acquired, processing the job...
[2025-02-09 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:54:03] Production.INFO: ==4862== Lock acquired, processing the job...
[2025-02-09 01:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:54:03] Production.INFO: ==4864== Lock acquired, processing the job...
[2025-02-09 01:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:54:03] Production.INFO: ==4856== Lock acquired, processing the job...
[2025-02-09 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:54:03] Production.INFO: ==4860== Lock acquired, processing the job...
[2025-02-09 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:54:03] Production.INFO: Account Balance Start.
[2025-02-09 01:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:54:03] Production.INFO: 117
[2025-02-09 01:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:54:03] Production.INFO: count ==21
[2025-02-09 01:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:54:03] Production.INFO: count ==21
[2025-02-09 01:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433819') start
[2025-02-09 01:54:03] Production.ERROR: done
[2025-02-09 01:54:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:54:04] Production.INFO: Total Charge 0
[2025-02-09 01:54:04] Production.INFO: CreateAllLog End
[2025-02-09 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433819') end
[2025-02-09 01:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:54:04] Production.INFO: 1
[2025-02-09 01:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:54:04] Production.INFO: ==4864== Releasing lock...
[2025-02-09 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:54:04] Production.INFO: ==4856== Releasing lock...
[2025-02-09 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:54:04] Production.ERROR: done
[2025-02-09 01:54:04] Production.INFO: Account Balance End.
[2025-02-09 01:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:54:04] Production.INFO: ==4860== Releasing lock...
[2025-02-09 01:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:54:05
[end_date_ymd] => 2025-02-09 01:54:05
[RateCDR] => 1
)
[2025-02-09 01:54: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` >= '2025-02-08 22:54:05' and `end` < '2025-02-09 01:54: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 ,'')
[2025-02-09 01:54:12] Production.ERROR: CronJobId end10
[2025-02-09 01:54:12] Production.INFO: ==4858== Releasing lock...
[2025-02-09 01:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:54:15] Production.INFO: call_cost start
[2025-02-09 01:54:15] Production.INFO: call_cost end
[2025-02-09 01:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:54:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:54:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:54:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:54:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:54:16] Production.INFO: ==4854== Releasing lock...
[2025-02-09 01:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:54:18] Production.INFO: count ==805
[2025-02-09 01:54:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:54:05 - End Time 2025-02-09 01:54:05
[2025-02-09 01:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433822', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433822', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433822', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433822', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:54:18] Production.INFO: ProcessCDR(1,14433822,1,1,2)
[2025-02-09 01:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433822', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433822', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:54:21] Production.INFO: ==4862== Releasing lock...
[2025-02-09 01:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:54:21] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 06:55:02] Production.INFO: ==4921== Lock acquired, processing the job...
[2025-02-09 06:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:55:02] Production.INFO: neon service started
[2025-02-09 06:55:02] Production.INFO: neon service started
[2025-02-09 06:55:02] Production.INFO: ==4921== Releasing lock...
[2025-02-09 06:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:55:02] Production.INFO: ==4923== Lock acquired, processing the job...
[2025-02-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:55:02] Production.INFO: ==4925== Lock acquired, processing the job...
[2025-02-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:55:02] Production.INFO: ==4923== Releasing lock...
[2025-02-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:55:02] Production.INFO: ==4925== Releasing lock...
[2025-02-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:55:03] Production.INFO: ==4933== Lock acquired, processing the job...
[2025-02-09 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:55:03] Production.INFO: ==4938== Lock acquired, processing the job...
[2025-02-09 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:55:04] Production.INFO: ==4927== Lock acquired, processing the job...
[2025-02-09 01:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:55:04] Production.INFO: Account Balance Start.
[2025-02-09 01:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:55:04] Production.INFO: 117
[2025-02-09 01:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:55:04] Production.INFO: ==4929== Lock acquired, processing the job...
[2025-02-09 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:55:04] Production.INFO: count ==21
[2025-02-09 01:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:55:04] Production.INFO: count ==21
[2025-02-09 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433824') start
[2025-02-09 01:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:55:04] Production.INFO: ==4931== Lock acquired, processing the job...
[2025-02-09 01:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:55:04] Production.INFO: Total Charge 0
[2025-02-09 01:55:04] Production.INFO: ==4936== Lock acquired, processing the job...
[2025-02-09 01:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:55:04] Production.INFO: CreateAllLog End
[2025-02-09 01:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433824') end
[2025-02-09 01:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:55:04] Production.INFO: 1
[2025-02-09 01:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:55:04] Production.INFO: ==4938== Releasing lock...
[2025-02-09 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:55:04] Production.INFO: Account Balance End.
[2025-02-09 01:55:04] Production.INFO: ==4929== Releasing lock...
[2025-02-09 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:55:04] Production.INFO: ==4933== Releasing lock...
[2025-02-09 01:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:55:04] Production.ERROR: done
[2025-02-09 01:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:55:05] Production.ERROR: done
[2025-02-09 01:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:55:06
[end_date_ymd] => 2025-02-09 01:55:06
[RateCDR] => 1
)
[2025-02-09 01:55: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-02-08 22:55:06' and `end` < '2025-02-09 01:55: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-02-09 01:55:13] Production.ERROR: CronJobId end10
[2025-02-09 01:55:13] Production.INFO: ==4931== Releasing lock...
[2025-02-09 01:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:55:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:55:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:55:15] Production.INFO: call_cost start
[2025-02-09 01:55:15] Production.INFO: call_cost end
[2025-02-09 01:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:55:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:55:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:55:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:55:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:55:16] Production.INFO: ==4927== Releasing lock...
[2025-02-09 01:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:55:19] Production.INFO: count ==801
[2025-02-09 01:55:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:55:06 - End Time 2025-02-09 01:55:06
[2025-02-09 01:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433827', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433827', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433827', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433827', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:55:19] Production.INFO: ProcessCDR(1,14433827,1,1,2)
[2025-02-09 01:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433827', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433827', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:55:22] Production.INFO: ==4936== Releasing lock...
[2025-02-09 01:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:55:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:56:01] Production.INFO: ==4994== Lock acquired, processing the job...
[2025-02-09 06:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:56:01] Production.INFO: neon service started
[2025-02-09 06:56:01] Production.INFO: neon service started
[2025-02-09 06:56:01] Production.INFO: ==4994== Releasing lock...
[2025-02-09 06:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:56:01] Production.INFO: ==4998== Lock acquired, processing the job...
[2025-02-09 06:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:56:02] Production.INFO: ==4998== Releasing lock...
[2025-02-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:56:02] Production.INFO: ==4996== Lock acquired, processing the job...
[2025-02-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:56:02] Production.INFO: ==4996== Releasing lock...
[2025-02-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 01:56:03] Production.INFO: ==5009== Lock acquired, processing the job...
[2025-02-09 01:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:56:03] Production.INFO: ==5011== Lock acquired, processing the job...
[2025-02-09 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:56:03] Production.INFO: ==5001== Lock acquired, processing the job...
[2025-02-09 01:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:56:03] Production.INFO: ==5003== Lock acquired, processing the job...
[2025-02-09 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:56:03] Production.INFO: ==5005== Lock acquired, processing the job...
[2025-02-09 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:56:03] Production.INFO: count ==21
[2025-02-09 01:56:03] Production.INFO: ==5007== Lock acquired, processing the job...
[2025-02-09 01:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:56:03] Production.INFO: count ==21
[2025-02-09 01:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433828') start
[2025-02-09 01:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433828') end
[2025-02-09 01:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:56:04] Production.INFO: 1
[2025-02-09 01:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:56:04] Production.INFO: Account Balance Start.
[2025-02-09 01:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:56:04] Production.INFO: 117
[2025-02-09 01:56:04] Production.INFO: ==5011== Releasing lock...
[2025-02-09 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:56:04] Production.ERROR: done
[2025-02-09 01:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:56:04] Production.INFO: Total Charge 0
[2025-02-09 01:56:04] Production.INFO: CreateAllLog End
[2025-02-09 01:56:04] Production.ERROR: done
[2025-02-09 01:56:04] Production.INFO: ==5003== Releasing lock...
[2025-02-09 01:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:56:04] Production.INFO: Account Balance End.
[2025-02-09 01:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:56:04] Production.INFO: ==5007== Releasing lock...
[2025-02-09 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:56:05
[end_date_ymd] => 2025-02-09 01:56:05
[RateCDR] => 1
)
[2025-02-09 01:56: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` >= '2025-02-08 22:56:05' and `end` < '2025-02-09 01:56: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 ,'')
[2025-02-09 01:56:13] Production.ERROR: CronJobId end10
[2025-02-09 01:56:13] Production.INFO: ==5005== Releasing lock...
[2025-02-09 01:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:56:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:56:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:56:16] Production.INFO: call_cost start
[2025-02-09 01:56:16] Production.INFO: call_cost end
[2025-02-09 01:56:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:56:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:56:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:56:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:56:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:56:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:56:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:56:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:56:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:56:17] Production.INFO: ==5001== Releasing lock...
[2025-02-09 01:56:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:56:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:56:19] Production.INFO: count ==800
[2025-02-09 01:56:19] Production.ERROR: pbx CDR StartTime 2025-02-08 22:56:05 - End Time 2025-02-09 01:56:05
[2025-02-09 01:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433832', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433832', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433832', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433832', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:56:19] Production.INFO: ProcessCDR(1,14433832,1,1,2)
[2025-02-09 01:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433832', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433832', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:56:23] Production.INFO: ==5009== Releasing lock...
[2025-02-09 01:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:56:23] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:57:01] Production.INFO: ==5072== Lock acquired, processing the job...
[2025-02-09 06:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:57:02] Production.INFO: neon service started
[2025-02-09 06:57:02] Production.INFO: neon service started
[2025-02-09 06:57:02] Production.INFO: ==5072== Releasing lock...
[2025-02-09 06:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:57:02] Production.INFO: ==5074== Lock acquired, processing the job...
[2025-02-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:57:02] Production.INFO: ==5076== Lock acquired, processing the job...
[2025-02-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 01:57:02] Production.INFO: ==5074== Releasing lock...
[2025-02-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:57:02] Production.INFO: ==5076== Releasing lock...
[2025-02-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:57:03] Production.INFO: ==5084== Lock acquired, processing the job...
[2025-02-09 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:57:03] Production.INFO: ==5078== Lock acquired, processing the job...
[2025-02-09 01:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:57:03] Production.INFO: ==5086== Lock acquired, processing the job...
[2025-02-09 01:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:57:03] Production.INFO: Account Balance Start.
[2025-02-09 01:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:57:03] Production.INFO: 117
[2025-02-09 01:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:57:03] Production.INFO: ==5080== Lock acquired, processing the job...
[2025-02-09 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:57:03] Production.INFO: ==5082== Lock acquired, processing the job...
[2025-02-09 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:57:04] Production.INFO: Total Charge 0
[2025-02-09 01:57:04] Production.INFO: CreateAllLog End
[2025-02-09 01:57:04] Production.INFO: ==5089== Lock acquired, processing the job...
[2025-02-09 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:57:04] Production.ERROR: done
[2025-02-09 01:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:57:04] Production.INFO: count ==21
[2025-02-09 01:57:04] Production.ERROR: done
[2025-02-09 01:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:57:04] Production.INFO: count ==21
[2025-02-09 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433836') start
[2025-02-09 01:57:04] Production.INFO: Account Balance End.
[2025-02-09 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433836') end
[2025-02-09 01:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:57:04] Production.INFO: 1
[2025-02-09 01:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:57:04] Production.INFO: ==5080== Releasing lock...
[2025-02-09 01:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:57:04] Production.INFO: ==5089== Releasing lock...
[2025-02-09 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:57:04] Production.INFO: ==5084== Releasing lock...
[2025-02-09 01:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:57:05
[end_date_ymd] => 2025-02-09 01:57:05
[RateCDR] => 1
)
[2025-02-09 01:57: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` >= '2025-02-08 22:57:05' and `end` < '2025-02-09 01:57: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 ,'')
[2025-02-09 01:57:12] Production.ERROR: CronJobId end10
[2025-02-09 01:57:12] Production.INFO: ==5082== Releasing lock...
[2025-02-09 01:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:57:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:57:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:57:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:57:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:57:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:57:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:57:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:57:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:57:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:57:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:57:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:57:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:57:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:57:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:57:16] Production.INFO: call_cost start
[2025-02-09 01:57:16] Production.INFO: call_cost end
[2025-02-09 01:57:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:57:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:57:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:57:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:57:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:57:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:57:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:57:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:57:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:57:17] Production.INFO: ==5078== Releasing lock...
[2025-02-09 01:57:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:57:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:57:18] Production.INFO: count ==800
[2025-02-09 01:57:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:57:05 - End Time 2025-02-09 01:57:05
[2025-02-09 01:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433837', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433837', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433837', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433837', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:57:18] Production.INFO: ProcessCDR(1,14433837,1,1,2)
[2025-02-09 01:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433837', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433837', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:57:22] Production.INFO: ==5086== Releasing lock...
[2025-02-09 01:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:57:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 06:58:01] Production.INFO: ==5148== Lock acquired, processing the job...
[2025-02-09 06:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:58:01] Production.INFO: neon service started
[2025-02-09 06:58:01] Production.INFO: neon service started
[2025-02-09 06:58:01] Production.INFO: ==5148== Releasing lock...
[2025-02-09 06:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:58:01] Production.INFO: ==5150== Lock acquired, processing the job...
[2025-02-09 01:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:58:02] Production.INFO: ==5150== Releasing lock...
[2025-02-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:58:02] Production.INFO: ==5152== Lock acquired, processing the job...
[2025-02-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:58:02] Production.INFO: ==5152== Releasing lock...
[2025-02-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:58:03] Production.INFO: ==5165== Lock acquired, processing the job...
[2025-02-09 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:58:03] Production.INFO: ==5163== Lock acquired, processing the job...
[2025-02-09 01:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:58:03] Production.INFO: ==5155== Lock acquired, processing the job...
[2025-02-09 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:58:03] Production.INFO: count ==21
[2025-02-09 01:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:58:03] Production.INFO: count ==21
[2025-02-09 01:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433838') start
[2025-02-09 01:58:03] Production.INFO: ==5157== Lock acquired, processing the job...
[2025-02-09 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:58:03] Production.INFO: ==5159== Lock acquired, processing the job...
[2025-02-09 01:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:58:03] Production.INFO: ==5161== Lock acquired, processing the job...
[2025-02-09 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:58:03] Production.INFO: Account Balance Start.
[2025-02-09 01:58:03] Production.INFO: CreateAllLog Start
[2025-02-09 01:58:03] Production.INFO: 117
[2025-02-09 01:58:03] Production.INFO: Date 2025-02-08
[2025-02-09 01:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433838') end
[2025-02-09 01:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:58:03] Production.INFO: 1
[2025-02-09 01:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:58:03] Production.INFO: Date 2025-02-09
[2025-02-09 01:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 01:58:03] Production.INFO: Total Charge 0
[2025-02-09 01:58:03] Production.INFO: ==5165== Releasing lock...
[2025-02-09 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:58:03] Production.INFO: CreateAllLog End
[2025-02-09 01:58:03] Production.ERROR: done
[2025-02-09 01:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:58:04] Production.ERROR: done
[2025-02-09 01:58:04] Production.INFO: ==5157== Releasing lock...
[2025-02-09 01:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:58:04] Production.INFO: Account Balance End.
[2025-02-09 01:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:58:04] Production.INFO: ==5161== Releasing lock...
[2025-02-09 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:58:05
[end_date_ymd] => 2025-02-09 01:58:05
[RateCDR] => 1
)
[2025-02-09 01:58: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` >= '2025-02-08 22:58:05' and `end` < '2025-02-09 01:58: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 ,'')
[2025-02-09 01:58:12] Production.ERROR: CronJobId end10
[2025-02-09 01:58:12] Production.INFO: ==5159== Releasing lock...
[2025-02-09 01:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:58:15] Production.INFO: call_cost start
[2025-02-09 01:58:15] Production.INFO: call_cost end
[2025-02-09 01:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:58:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:58:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:58:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:58:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:58:16] Production.INFO: ==5155== Releasing lock...
[2025-02-09 01:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:58:20] Production.INFO: count ==801
[2025-02-09 01:58:20] Production.ERROR: pbx CDR StartTime 2025-02-08 22:58:05 - End Time 2025-02-09 01:58:05
[2025-02-09 01:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433842', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433842', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433842', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433842', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:58:20] Production.INFO: ProcessCDR(1,14433842,1,1,2)
[2025-02-09 01:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433842', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433842', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:58:24] Production.INFO: ==5163== Releasing lock...
[2025-02-09 01:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:58:24] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 06:59:02] Production.INFO: ==5221== Lock acquired, processing the job...
[2025-02-09 06:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 06:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 06:59:02] Production.INFO: neon service started
[2025-02-09 06:59:02] Production.INFO: neon service started
[2025-02-09 06:59:02] Production.INFO: ==5221== Releasing lock...
[2025-02-09 06:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 06:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 01:59:02] Production.INFO: ==5223== Lock acquired, processing the job...
[2025-02-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 01:59:02] Production.INFO: ==5223== Releasing lock...
[2025-02-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 01:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:59:02] Production.INFO: ==5225== Lock acquired, processing the job...
[2025-02-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:59:03] Production.INFO: ==5225== Releasing lock...
[2025-02-09 06:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 06:59:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 01:59:03] Production.INFO: ==5238== Lock acquired, processing the job...
[2025-02-09 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 01:59:03] Production.INFO: ==5236== Lock acquired, processing the job...
[2025-02-09 01:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 01:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 01:59:04] Production.INFO: ==5234== Lock acquired, processing the job...
[2025-02-09 01:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 01:59:04] Production.INFO: ==5230== Lock acquired, processing the job...
[2025-02-09 01:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 01:59:04] Production.INFO: ==5228== Lock acquired, processing the job...
[2025-02-09 01:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 01:59:04] Production.INFO: ==5232== Lock acquired, processing the job...
[2025-02-09 01:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 01:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:59:04] Production.INFO: count ==21
[2025-02-09 01:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 01:59:04] Production.INFO: count ==21
[2025-02-09 01:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433843') start
[2025-02-09 01:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 01:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 01:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 01:59:04] Production.INFO: Account Balance Start.
[2025-02-09 01:59:04] Production.INFO: CreateAllLog Start
[2025-02-09 01:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 01:59:04] Production.INFO: 117
[2025-02-09 01:59:04] Production.INFO: Date 2025-02-08
[2025-02-09 01:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:59:04] Production.INFO: Date 2025-02-09
[2025-02-09 01:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 01:59:04] Production.INFO: Total Charge 0
[2025-02-09 01:59:04] Production.INFO: CreateAllLog End
[2025-02-09 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433843') end
[2025-02-09 01:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 01:59:04] Production.INFO: 1
[2025-02-09 01:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 01:59:04] Production.INFO: ==5238== Releasing lock...
[2025-02-09 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 01:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 01:59:04] Production.ERROR: done
[2025-02-09 01:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 01:59:04] Production.ERROR: done
[2025-02-09 01:59:04] Production.INFO: ==5230== Releasing lock...
[2025-02-09 01:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 01:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 01:59:04] Production.INFO: Account Balance End.
[2025-02-09 01:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 01:59:04] Production.INFO: ==5234== Releasing lock...
[2025-02-09 01:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 01:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 01:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 22:59:05
[end_date_ymd] => 2025-02-09 01:59:05
[RateCDR] => 1
)
[2025-02-09 01:59: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` >= '2025-02-08 22:59:05' and `end` < '2025-02-09 01:59: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 ,'')
[2025-02-09 01:59:12] Production.ERROR: CronJobId end10
[2025-02-09 01:59:12] Production.INFO: ==5232== Releasing lock...
[2025-02-09 01:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 01:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 01:59:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 01:59:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 01:59:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 01:59:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 01:59:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 01:59:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 01:59:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 01:59:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 01:59:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 01:59:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 01:59:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 01:59:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 01:59:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 01:59:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 01:59:15] Production.INFO: call_cost start
[2025-02-09 01:59:15] Production.INFO: call_cost end
[2025-02-09 01:59:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 01:59:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 01:59:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 01:59:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 01:59:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 01:59:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 01:59:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 01:59:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 01:59:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 01:59:16] Production.INFO: ==5228== Releasing lock...
[2025-02-09 01:59:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 01:59:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 01:59:18] Production.INFO: count ==801
[2025-02-09 01:59:18] Production.ERROR: pbx CDR StartTime 2025-02-08 22:59:05 - End Time 2025-02-09 01:59:05
[2025-02-09 01:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433847', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433847', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433847', 'tblTempVendorCDR_20' ) start
[2025-02-09 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433847', 'tblTempVendorCDR_20' ) end
[2025-02-09 01:59:18] Production.INFO: ProcessCDR(1,14433847,1,1,2)
[2025-02-09 01:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 01:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 01:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433847', 'tblTempUsageDetail_20' ) start
[2025-02-09 01:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433847', 'tblTempUsageDetail_20' ) end
[2025-02-09 01:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 01:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 01:59:23] Production.INFO: ==5236== Releasing lock...
[2025-02-09 01:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 01:59:23] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:00:01] Production.INFO: ==5293== Lock acquired, processing the job...
[2025-02-09 07:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:00:01] Production.INFO: neon service started
[2025-02-09 07:00:01] Production.INFO: neon service started
[2025-02-09 07:00:01] Production.INFO: ==5293== Releasing lock...
[2025-02-09 07:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:00:02] Production.INFO: ==5295== Lock acquired, processing the job...
[2025-02-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:00:02] Production.INFO: ==5297== Lock acquired, processing the job...
[2025-02-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:00:02] Production.INFO: ==5295== Releasing lock...
[2025-02-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:00:02] Production.INFO: ==5297== Releasing lock...
[2025-02-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:00:03] Production.INFO: ==5300== Lock acquired, processing the job...
[2025-02-09 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 02:00:03] Production.INFO: ==5304== Lock acquired, processing the job...
[2025-02-09 02:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 02:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 02:00:03] Production.INFO: ==5300== Releasing lock...
[2025-02-09 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 02:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 02:00:03] Production.INFO: ==5306== Lock acquired, processing the job...
[2025-02-09 02:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:00:03] Production.INFO: ==5302== Lock acquired, processing the job...
[2025-02-09 02:00:03] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts#
[2025-02-09 02:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:00:04] Production.INFO: ==5308== Lock acquired, processing the job...
[2025-02-09 02:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:00:04] Production.INFO: ==5310== Lock acquired, processing the job...
[2025-02-09 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:00:04] Production.INFO: ==5312== Lock acquired, processing the job...
[2025-02-09 02:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:00:04] Production.INFO: ==5316== Lock acquired, processing the job...
[2025-02-09 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:00:04] Production.INFO: ==5314== Lock acquired, processing the job...
[2025-02-09 02:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 02:00:04] Production.INFO: Account Balance Start.
[2025-02-09 02:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:00:04] Production.INFO: 117
[2025-02-09 02:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:00:04] Production.INFO: count ==21
[2025-02-09 02:00:04] Production.INFO: ==5306== Releasing lock...
[2025-02-09 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:00:04] Production.INFO: count ==21
[2025-02-09 02:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433851') start
[2025-02-09 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433851') end
[2025-02-09 02:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:00:04] Production.INFO: 1
[2025-02-09 02:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:00:04] Production.INFO: Total Charge 0
[2025-02-09 02:00:04] Production.INFO: CreateAllLog End
[2025-02-09 02:00:04] Production.INFO: ==5316== Releasing lock...
[2025-02-09 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:00:04] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-02-09 02:00:04] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.4G 13G 10% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 35G 16G 70% /
/dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379
/dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928
/dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200
/dev/sdb1 79G 26G 50G 34% /mysql
/dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434
/dev/loop1 67M 67M 0 100% /var/lib/snapd/snap/core24/609
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
/dev/loop7 67M 67M 0 100% /var/lib/snapd/snap/core24/716
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-02-09 02:00:04] Production.INFO: Delete Storage Log Start
[2025-02-09 02:00:04] Production.INFO: Front End Delete Storage Log Start
[2025-02-09 02:00:04] Production.ERROR: done
[2025-02-09 02:00:04] Production.ERROR: done
[2025-02-09 02:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 02:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433852', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 02:00:05] Production.INFO: Account Balance End.
[2025-02-09 02:00:05] Production.ERROR: done
[2025-02-09 02:00:05] Production.ERROR: CronJobId end 12
[2025-02-09 02:00:05] Production.INFO: ==5310== Releasing lock...
[2025-02-09 02:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:00:05] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-02-09 02:00:05] Production.INFO: Front End Delete Storage Log End
[2025-02-09 02:00:05] Production.INFO: Back End(Service) Delete Storage Log Start
[2025-02-09 02:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:00:06
[end_date_ymd] => 2025-02-09 02:00:06
[RateCDR] => 1
)
[2025-02-09 02: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-02-08 23:00:06' and `end` < '2025-02-09 02: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-02-09 02:00:08] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-02-09 02:00:08] Production.INFO: Back End(Service) Delete Storage Log End
[2025-02-09 02:00:08] Production.INFO: Delete Storage Log End
[2025-02-09 02:00:08] Production.INFO: Delete Temp Files Start
[2025-02-09 02:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433852', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 02:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 02:00:08] Production.INFO: ProcessCDR(1,14433852,1,1,2)
[2025-02-09 02:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433852,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433852,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:00:08] Production.INFO: ==5314== Releasing lock...
[2025-02-09 02:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 02:00:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 02:00:09] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \;
[2025-02-09 02:00:09] Production.INFO: Delete Temp Files End
[2025-02-09 02:00:09] Production.INFO: Delete CDR File Start
[2025-02-09 02:00:09] Production.INFO: Delete CDR File End
[2025-02-09 02:00:09] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-02-09 02:00:09] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.4G 13G 10% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 35G 16G 69% /
/dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379
/dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928
/dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200
/dev/sdb1 79G 26G 50G 34% /mysql
/dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434
/dev/loop1 67M 67M 0 100% /var/lib/snapd/snap/core24/609
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
/dev/loop7 67M 67M 0 100% /var/lib/snapd/snap/core24/716
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-02-09 02:00:09] Production.ERROR: CronJobId end 4
[2025-02-09 02:00:09] Production.INFO: ==5302== Releasing lock...
[2025-02-09 02:00:09] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops#
[2025-02-09 02:00:09] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 02:00:16] Production.ERROR: CronJobId end10
[2025-02-09 02:00:16] Production.INFO: ==5308== Releasing lock...
[2025-02-09 02:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:00:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:00:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:00:18] Production.INFO: call_cost start
[2025-02-09 02:00:18] Production.INFO: call_cost end
[2025-02-09 02:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:00:19] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:00:19] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:00:19] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:00:19] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:00:19] Production.INFO: ==5304== Releasing lock...
[2025-02-09 02:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:00:19] Production.INFO: count ==809
[2025-02-09 02:00:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:00:06 - End Time 2025-02-09 02:00:06
[2025-02-09 02:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433853', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433853', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433853', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433853', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:00:19] Production.INFO: ProcessCDR(1,14433853,1,1,2)
[2025-02-09 02:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433853', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433853', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:00:23] Production.INFO: ==5312== Releasing lock...
[2025-02-09 02:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:00:23] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:01:02] Production.INFO: ==5549== Lock acquired, processing the job...
[2025-02-09 07:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:01:02] Production.INFO: neon service started
[2025-02-09 07:01:02] Production.INFO: neon service started
[2025-02-09 07:01:02] Production.INFO: ==5549== Releasing lock...
[2025-02-09 07:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:01:02] Production.INFO: ==5558== Lock acquired, processing the job...
[2025-02-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:01:03] Production.INFO: ==5560== Lock acquired, processing the job...
[2025-02-09 07:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:01:03] Production.INFO: ==5560== Releasing lock...
[2025-02-09 07:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:01:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:01:03] Production.INFO: ==5558== Releasing lock...
[2025-02-09 02:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:01:04] Production.INFO: ==5569== Lock acquired, processing the job...
[2025-02-09 02:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:01:04] Production.INFO: ==5573== Lock acquired, processing the job...
[2025-02-09 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:01:04] Production.INFO: Account Balance Start.
[2025-02-09 02:01:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:01:04] Production.INFO: 117
[2025-02-09 02:01:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:01:04] Production.INFO: ==5563== Lock acquired, processing the job...
[2025-02-09 02:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:01:04] Production.INFO: ==5565== Lock acquired, processing the job...
[2025-02-09 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:01:04] Production.INFO: ==5567== Lock acquired, processing the job...
[2025-02-09 02:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:01:04] Production.INFO: Total Charge 0
[2025-02-09 02:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:01:04] Production.INFO: count ==21
[2025-02-09 02:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:01:04] Production.INFO: CreateAllLog End
[2025-02-09 02:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:01:04] Production.INFO: count ==21
[2025-02-09 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433855') start
[2025-02-09 02:01:04] Production.INFO: ==5571== Lock acquired, processing the job...
[2025-02-09 02:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433855') end
[2025-02-09 02:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:01:04] Production.INFO: 1
[2025-02-09 02:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:01:04] Production.INFO: ==5573== Releasing lock...
[2025-02-09 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:01:05] Production.INFO: ==5565== Releasing lock...
[2025-02-09 02:01:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:01:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:01:05] Production.ERROR: done
[2025-02-09 02:01:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:01:05] Production.INFO: Account Balance End.
[2025-02-09 02:01:05] Production.ERROR: CronJobId end 12
[2025-02-09 02:01:05] Production.INFO: ==5569== Releasing lock...
[2025-02-09 02:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:01:05] Production.ERROR: done
[2025-02-09 02:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:01:06
[end_date_ymd] => 2025-02-09 02:01:06
[RateCDR] => 1
)
[2025-02-09 02:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-08 23:01:06' and `end` < '2025-02-09 02:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 02:01:14] Production.ERROR: CronJobId end10
[2025-02-09 02:01:14] Production.INFO: ==5567== Releasing lock...
[2025-02-09 02:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:01:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:01:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:01:16] Production.INFO: call_cost start
[2025-02-09 02:01:16] Production.INFO: call_cost end
[2025-02-09 02:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:01:17] Production.INFO: ==5563== Releasing lock...
[2025-02-09 02:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:01:20] Production.INFO: count ==831
[2025-02-09 02:01:20] Production.ERROR: pbx CDR StartTime 2025-02-08 23:01:06 - End Time 2025-02-09 02:01:06
[2025-02-09 02:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433858', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433858', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433858', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433858', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:01:20] Production.INFO: ProcessCDR(1,14433858,1,1,2)
[2025-02-09 02:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433858', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433858', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:01:24] Production.INFO: ==5571== Releasing lock...
[2025-02-09 02:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:01:24] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 07:02:01] Production.INFO: ==5627== Lock acquired, processing the job...
[2025-02-09 07:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:02:01] Production.INFO: neon service started
[2025-02-09 07:02:01] Production.INFO: neon service started
[2025-02-09 07:02:01] Production.INFO: ==5627== Releasing lock...
[2025-02-09 07:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:02:02] Production.INFO: ==5632== Lock acquired, processing the job...
[2025-02-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:02:02] Production.INFO: ==5632== Releasing lock...
[2025-02-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:02:02] Production.INFO: ==5630== Lock acquired, processing the job...
[2025-02-09 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:02:02] Production.INFO: ==5630== Releasing lock...
[2025-02-09 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:02:03] Production.INFO: ==5638== Lock acquired, processing the job...
[2025-02-09 02:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:02:03] Production.INFO: ==5644== Lock acquired, processing the job...
[2025-02-09 02:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:02:04] Production.INFO: ==5634== Lock acquired, processing the job...
[2025-02-09 02:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:02:04] Production.INFO: count ==21
[2025-02-09 02:02:04] Production.INFO: ==5636== Lock acquired, processing the job...
[2025-02-09 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:02:04] Production.INFO: count ==21
[2025-02-09 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433859') start
[2025-02-09 02:02:04] Production.INFO: ==5642== Lock acquired, processing the job...
[2025-02-09 02:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:02:04] Production.INFO: ==5640== Lock acquired, processing the job...
[2025-02-09 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:02:04] Production.INFO: Account Balance Start.
[2025-02-09 02:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:02:04] Production.INFO: 117
[2025-02-09 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433859') end
[2025-02-09 02:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:02:04] Production.INFO: 1
[2025-02-09 02:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:02:04] Production.INFO: ==5644== Releasing lock...
[2025-02-09 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:02:04] Production.INFO: Total Charge 0
[2025-02-09 02:02:04] Production.INFO: CreateAllLog End
[2025-02-09 02:02:04] Production.INFO: ==5636== Releasing lock...
[2025-02-09 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:02:04] Production.INFO: Account Balance End.
[2025-02-09 02:02:04] Production.ERROR: done
[2025-02-09 02:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:02:04] Production.INFO: ==5640== Releasing lock...
[2025-02-09 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:02:04] Production.ERROR: done
[2025-02-09 02:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:02:06
[end_date_ymd] => 2025-02-09 02:02:06
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-08 23:02:06' and `end` < '2025-02-09 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 ,'')
[2025-02-09 02:02:12] Production.ERROR: CronJobId end10
[2025-02-09 02:02:12] Production.INFO: ==5638== Releasing lock...
[2025-02-09 02:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:02:15] Production.INFO: call_cost start
[2025-02-09 02:02:15] Production.INFO: call_cost end
[2025-02-09 02:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:02:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:02:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:02:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:02:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:02:16] Production.INFO: ==5634== Releasing lock...
[2025-02-09 02:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:02:20] Production.INFO: count ==831
[2025-02-09 02:02:20] Production.ERROR: pbx CDR StartTime 2025-02-08 23:02:06 - End Time 2025-02-09 02:02:06
[2025-02-09 02:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433863', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433863', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433863', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433863', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:02:20] Production.INFO: ProcessCDR(1,14433863,1,1,2)
[2025-02-09 02:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433863', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433863', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:02:24] Production.INFO: ==5642== Releasing lock...
[2025-02-09 02:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:02:24] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 07:03:02] Production.INFO: ==5703== Lock acquired, processing the job...
[2025-02-09 07:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:03:02] Production.INFO: neon service started
[2025-02-09 07:03:02] Production.INFO: neon service started
[2025-02-09 07:03:02] Production.INFO: ==5703== Releasing lock...
[2025-02-09 07:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:03:02] Production.INFO: ==5707== Lock acquired, processing the job...
[2025-02-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:03:02] Production.INFO: ==5707== Releasing lock...
[2025-02-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:03:02] Production.INFO: ==5705== Lock acquired, processing the job...
[2025-02-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:03:03] Production.INFO: ==5705== Releasing lock...
[2025-02-09 02:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:03:04] Production.INFO: ==5710== Lock acquired, processing the job...
[2025-02-09 02:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:03:04] Production.INFO: ==5712== Lock acquired, processing the job...
[2025-02-09 02:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:03:04] Production.INFO: ==5716== Lock acquired, processing the job...
[2025-02-09 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:03:04] Production.INFO: ==5714== Lock acquired, processing the job...
[2025-02-09 02:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:03:04] Production.INFO: Account Balance Start.
[2025-02-09 02:03:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:03:04] Production.INFO: 117
[2025-02-09 02:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:03:04] Production.INFO: ==5718== Lock acquired, processing the job...
[2025-02-09 02:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:03:04] Production.INFO: Total Charge 0
[2025-02-09 02:03:04] Production.INFO: CreateAllLog End
[2025-02-09 02:03:04] Production.INFO: ==5712== Releasing lock...
[2025-02-09 02:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:03:04] Production.INFO: ==5720== Lock acquired, processing the job...
[2025-02-09 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:03:04] Production.INFO: Account Balance End.
[2025-02-09 02:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:03:04] Production.INFO: ==5716== Releasing lock...
[2025-02-09 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:03:05] Production.ERROR: done
[2025-02-09 02:03:05] Production.INFO: count ==21
[2025-02-09 02:03:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:03:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:03:05] Production.INFO: count ==21
[2025-02-09 02:03:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433867') start
[2025-02-09 02:03:05] Production.ERROR: done
[2025-02-09 02:03:05] Production.ERROR: PBX CALL prc_importPBXExtension('14433867') end
[2025-02-09 02:03:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:03:05] Production.INFO: 1
[2025-02-09 02:03:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:03:05] Production.INFO: ==5720== Releasing lock...
[2025-02-09 02:03:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:03:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:03:06
[end_date_ymd] => 2025-02-09 02:03:06
[RateCDR] => 1
)
[2025-02-09 02:03: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-02-08 23:03:06' and `end` < '2025-02-09 02:03: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-02-09 02:03:13] Production.ERROR: CronJobId end10
[2025-02-09 02:03:13] Production.INFO: ==5714== Releasing lock...
[2025-02-09 02:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:03:15] Production.INFO: call_cost start
[2025-02-09 02:03:15] Production.INFO: call_cost end
[2025-02-09 02:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:03:16] Production.INFO: ==5710== Releasing lock...
[2025-02-09 02:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:03:22] Production.INFO: count ==831
[2025-02-09 02:03:22] Production.ERROR: pbx CDR StartTime 2025-02-08 23:03:06 - End Time 2025-02-09 02:03:06
[2025-02-09 02:03:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433868', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433868', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433868', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433868', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:03:22] Production.INFO: ProcessCDR(1,14433868,1,1,2)
[2025-02-09 02:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:03:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433868', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433868', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:03:26] Production.INFO: ==5718== Releasing lock...
[2025-02-09 02:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:03:26] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 07:04:01] Production.INFO: ==5773== Lock acquired, processing the job...
[2025-02-09 07:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:04:01] Production.INFO: neon service started
[2025-02-09 07:04:01] Production.INFO: neon service started
[2025-02-09 07:04:01] Production.INFO: ==5773== Releasing lock...
[2025-02-09 07:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:04:02] Production.INFO: ==5775== Lock acquired, processing the job...
[2025-02-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:04:02] Production.INFO: ==5775== Releasing lock...
[2025-02-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:04:02] Production.INFO: ==5777== Lock acquired, processing the job...
[2025-02-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:04:02] Production.INFO: ==5777== Releasing lock...
[2025-02-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:04:03] Production.INFO: ==5781== Lock acquired, processing the job...
[2025-02-09 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:04:03] Production.INFO: ==5787== Lock acquired, processing the job...
[2025-02-09 02:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:04:03] Production.INFO: ==5779== Lock acquired, processing the job...
[2025-02-09 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:04:03] Production.INFO: ==5785== Lock acquired, processing the job...
[2025-02-09 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:04:03] Production.INFO: ==5783== Lock acquired, processing the job...
[2025-02-09 02:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:04:03] Production.INFO: ==5789== Lock acquired, processing the job...
[2025-02-09 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:04:03] Production.INFO: Account Balance Start.
[2025-02-09 02:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:04:03] Production.INFO: 117
[2025-02-09 02:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:04:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:04:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:04:03] Production.INFO: Total Charge 0
[2025-02-09 02:04:03] Production.INFO: CreateAllLog End
[2025-02-09 02:04:03] Production.INFO: ==5781== Releasing lock...
[2025-02-09 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:04:03] Production.INFO: count ==21
[2025-02-09 02:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:04:04] Production.INFO: count ==21
[2025-02-09 02:04:04] Production.ERROR: done
[2025-02-09 02:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433872') start
[2025-02-09 02:04:04] Production.ERROR: done
[2025-02-09 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433872') end
[2025-02-09 02:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:04:04] Production.INFO: 1
[2025-02-09 02:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:04:04] Production.INFO: ==5789== Releasing lock...
[2025-02-09 02:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:04:04] Production.INFO: Account Balance End.
[2025-02-09 02:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:04:04] Production.INFO: ==5785== Releasing lock...
[2025-02-09 02:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:04:05
[end_date_ymd] => 2025-02-09 02:04:05
[RateCDR] => 1
)
[2025-02-09 02:04: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` >= '2025-02-08 23:04:05' and `end` < '2025-02-09 02:04: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 ,'')
[2025-02-09 02:04:11] Production.ERROR: CronJobId end10
[2025-02-09 02:04:11] Production.INFO: ==5783== Releasing lock...
[2025-02-09 02:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:04:14] Production.INFO: call_cost start
[2025-02-09 02:04:14] Production.INFO: call_cost end
[2025-02-09 02:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:04:15] Production.INFO: ==5779== Releasing lock...
[2025-02-09 02:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:04:32] Production.INFO: count ==830
[2025-02-09 02:04:32] Production.ERROR: pbx CDR StartTime 2025-02-08 23:04:05 - End Time 2025-02-09 02:04:05
[2025-02-09 02:04:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:04:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433873', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:04:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433873', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:04:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433873', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:04:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433873', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:04:32] Production.INFO: ProcessCDR(1,14433873,1,1,2)
[2025-02-09 02:04:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:04:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:04:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:04:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:04:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433873', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:04:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433873', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:04:35] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:04:35] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:04:35] Production.INFO: ==5787== Releasing lock...
[2025-02-09 02:04:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:04:35] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:05:02] Production.INFO: ==5845== Lock acquired, processing the job...
[2025-02-09 07:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:05:02] Production.INFO: neon service started
[2025-02-09 07:05:02] Production.INFO: neon service started
[2025-02-09 07:05:02] Production.INFO: ==5845== Releasing lock...
[2025-02-09 07:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:05:02] Production.INFO: ==5848== Lock acquired, processing the job...
[2025-02-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:05:02] Production.INFO: ==5850== Lock acquired, processing the job...
[2025-02-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:05:03] Production.INFO: ==5850== Releasing lock...
[2025-02-09 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:05:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:05:03] Production.INFO: ==5848== Releasing lock...
[2025-02-09 02:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:05:03] Production.INFO: ==5856== Lock acquired, processing the job...
[2025-02-09 02:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:05:03] Production.INFO: ==5858== Lock acquired, processing the job...
[2025-02-09 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:05:04] Production.INFO: Account Balance Start.
[2025-02-09 02:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:05:04] Production.INFO: 117
[2025-02-09 02:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:05:04] Production.INFO: ==5862== Lock acquired, processing the job...
[2025-02-09 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:05:04] Production.INFO: Total Charge 0
[2025-02-09 02:05:04] Production.INFO: CreateAllLog End
[2025-02-09 02:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:05:04] Production.INFO: ==5854== Lock acquired, processing the job...
[2025-02-09 02:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:05:04] Production.INFO: count ==21
[2025-02-09 02:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:05:04] Production.INFO: count ==21
[2025-02-09 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433875') start
[2025-02-09 02:05:04] Production.INFO: ==5852== Lock acquired, processing the job...
[2025-02-09 02:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:05:04] Production.INFO: Account Balance End.
[2025-02-09 02:05:04] Production.INFO: ==5860== Lock acquired, processing the job...
[2025-02-09 02:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:05:04] Production.INFO: ==5858== Releasing lock...
[2025-02-09 02:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433875') end
[2025-02-09 02:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:05:04] Production.INFO: 1
[2025-02-09 02:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:05:04] Production.INFO: ==5862== Releasing lock...
[2025-02-09 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:05:04] Production.INFO: ==5854== Releasing lock...
[2025-02-09 02:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:05:04] Production.ERROR: done
[2025-02-09 02:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:05:04] Production.ERROR: done
[2025-02-09 02:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:05:05
[end_date_ymd] => 2025-02-09 02:05:05
[RateCDR] => 1
)
[2025-02-09 02:05: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` >= '2025-02-08 23:05:05' and `end` < '2025-02-09 02:05: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 ,'')
[2025-02-09 02:05:12] Production.ERROR: CronJobId end10
[2025-02-09 02:05:12] Production.INFO: ==5856== Releasing lock...
[2025-02-09 02:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:05:15] Production.INFO: call_cost start
[2025-02-09 02:05:15] Production.INFO: call_cost end
[2025-02-09 02:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:05:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:05:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:05:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:05:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:05:16] Production.INFO: ==5852== Releasing lock...
[2025-02-09 02:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:05:19] Production.INFO: count ==827
[2025-02-09 02:05:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:05:05 - End Time 2025-02-09 02:05:05
[2025-02-09 02:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433878', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433878', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433878', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433878', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:05:19] Production.INFO: ProcessCDR(1,14433878,1,1,2)
[2025-02-09 02:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433878', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433878', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:05:22] Production.INFO: ==5860== Releasing lock...
[2025-02-09 02:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:05:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:06:01] Production.INFO: ==5922== Lock acquired, processing the job...
[2025-02-09 07:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:06:01] Production.INFO: neon service started
[2025-02-09 07:06:01] Production.INFO: neon service started
[2025-02-09 07:06:01] Production.INFO: ==5922== Releasing lock...
[2025-02-09 07:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:06:02] Production.INFO: ==5927== Lock acquired, processing the job...
[2025-02-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:06:02] Production.INFO: ==5927== Releasing lock...
[2025-02-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:06:02] Production.INFO: ==5925== Lock acquired, processing the job...
[2025-02-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:06:02] Production.INFO: ==5925== Releasing lock...
[2025-02-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:06:03] Production.INFO: ==5931== Lock acquired, processing the job...
[2025-02-09 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:06:03] Production.INFO: ==5929== Lock acquired, processing the job...
[2025-02-09 02:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:06:03] Production.INFO: ==5935== Lock acquired, processing the job...
[2025-02-09 02:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:06:03] Production.INFO: ==5933== Lock acquired, processing the job...
[2025-02-09 02:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:06:03] Production.INFO: Account Balance Start.
[2025-02-09 02:06:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:06:03] Production.INFO: 117
[2025-02-09 02:06:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:06:03] Production.INFO: ==5931== Releasing lock...
[2025-02-09 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:06:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:06:03] Production.INFO: Total Charge 0
[2025-02-09 02:06:04] Production.INFO: ==5937== Lock acquired, processing the job...
[2025-02-09 02:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:06:04] Production.INFO: ==5939== Lock acquired, processing the job...
[2025-02-09 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:06:04] Production.INFO: CreateAllLog End
[2025-02-09 02:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:06:04] Production.INFO: count ==21
[2025-02-09 02:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:06:04] Production.INFO: count ==21
[2025-02-09 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433882') start
[2025-02-09 02:06:04] Production.ERROR: done
[2025-02-09 02:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433882') end
[2025-02-09 02:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:06:04] Production.INFO: 1
[2025-02-09 02:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:06:04] Production.INFO: ==5939== Releasing lock...
[2025-02-09 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:06:04] Production.ERROR: done
[2025-02-09 02:06:04] Production.INFO: Account Balance End.
[2025-02-09 02:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:06:04] Production.INFO: ==5935== Releasing lock...
[2025-02-09 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:06:05
[end_date_ymd] => 2025-02-09 02:06:05
[RateCDR] => 1
)
[2025-02-09 02:06: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` >= '2025-02-08 23:06:05' and `end` < '2025-02-09 02:06: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 ,'')
[2025-02-09 02:06:12] Production.ERROR: CronJobId end10
[2025-02-09 02:06:12] Production.INFO: ==5933== Releasing lock...
[2025-02-09 02:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:06:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:06:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:06:15] Production.INFO: call_cost start
[2025-02-09 02:06:15] Production.INFO: call_cost end
[2025-02-09 02:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:06:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:06:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:06:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:06:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:06:16] Production.INFO: ==5929== Releasing lock...
[2025-02-09 02:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:06:18] Production.INFO: count ==826
[2025-02-09 02:06:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:06:05 - End Time 2025-02-09 02:06:05
[2025-02-09 02:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433883', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433883', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433883', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433883', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:06:18] Production.INFO: ProcessCDR(1,14433883,1,1,2)
[2025-02-09 02:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433883', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433883', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:06:22] Production.INFO: ==5937== Releasing lock...
[2025-02-09 02:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:06:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:07:02] Production.INFO: ==6001== Lock acquired, processing the job...
[2025-02-09 07:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:07:02] Production.INFO: neon service started
[2025-02-09 07:07:02] Production.INFO: neon service started
[2025-02-09 07:07:02] Production.INFO: ==6001== Releasing lock...
[2025-02-09 07:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:07:02] Production.INFO: ==6003== Lock acquired, processing the job...
[2025-02-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:07:02] Production.INFO: ==6003== Releasing lock...
[2025-02-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:07:03] Production.INFO: ==6005== Lock acquired, processing the job...
[2025-02-09 07:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:07:03] Production.INFO: ==6005== Releasing lock...
[2025-02-09 07:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:07:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:07:03] Production.INFO: ==6013== Lock acquired, processing the job...
[2025-02-09 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:07:04] Production.INFO: ==6015== Lock acquired, processing the job...
[2025-02-09 02:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:07:04] Production.INFO: ==6007== Lock acquired, processing the job...
[2025-02-09 02:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:07:04] Production.INFO: ==6009== Lock acquired, processing the job...
[2025-02-09 02:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:07:04] Production.INFO: ==6011== Lock acquired, processing the job...
[2025-02-09 02:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:07:04] Production.INFO: Account Balance Start.
[2025-02-09 02:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:07:04] Production.INFO: 117
[2025-02-09 02:07:04] Production.INFO: ==6017== Lock acquired, processing the job...
[2025-02-09 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:07:04] Production.INFO: Total Charge 0
[2025-02-09 02:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:07:04] Production.INFO: CreateAllLog End
[2025-02-09 02:07:04] Production.INFO: count ==21
[2025-02-09 02:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:07:04] Production.INFO: count ==21
[2025-02-09 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433887') start
[2025-02-09 02:07:04] Production.ERROR: done
[2025-02-09 02:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433887') end
[2025-02-09 02:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:07:04] Production.INFO: 1
[2025-02-09 02:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:07:04] Production.ERROR: done
[2025-02-09 02:07:04] Production.INFO: ==6017== Releasing lock...
[2025-02-09 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:07:04] Production.INFO: ==6009== Releasing lock...
[2025-02-09 02:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:07:04] Production.INFO: Account Balance End.
[2025-02-09 02:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:07:04] Production.INFO: ==6013== Releasing lock...
[2025-02-09 02:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:07:05
[end_date_ymd] => 2025-02-09 02:07:05
[RateCDR] => 1
)
[2025-02-09 02:07: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` >= '2025-02-08 23:07:05' and `end` < '2025-02-09 02:07: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 ,'')
[2025-02-09 02:07:12] Production.ERROR: CronJobId end10
[2025-02-09 02:07:12] Production.INFO: ==6011== Releasing lock...
[2025-02-09 02:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:07:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:07:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:07:14] Production.INFO: call_cost start
[2025-02-09 02:07:14] Production.INFO: call_cost end
[2025-02-09 02:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:07:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:07:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:07:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:07:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:07:15] Production.INFO: ==6007== Releasing lock...
[2025-02-09 02:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:07:18] Production.INFO: count ==829
[2025-02-09 02:07:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:07:05 - End Time 2025-02-09 02:07:05
[2025-02-09 02:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433888', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433888', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433888', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433888', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:07:18] Production.INFO: ProcessCDR(1,14433888,1,1,2)
[2025-02-09 02:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433888', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433888', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:07:22] Production.INFO: ==6015== Releasing lock...
[2025-02-09 02:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:07:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:08:01] Production.INFO: ==6110== Lock acquired, processing the job...
[2025-02-09 07:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:08:01] Production.INFO: neon service started
[2025-02-09 07:08:01] Production.INFO: neon service started
[2025-02-09 07:08:01] Production.INFO: ==6110== Releasing lock...
[2025-02-09 07:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:08:02] Production.INFO: ==6112== Lock acquired, processing the job...
[2025-02-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:08:02] Production.INFO: ==6112== Releasing lock...
[2025-02-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:08:02] Production.INFO: ==6114== Lock acquired, processing the job...
[2025-02-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:08:02] Production.INFO: ==6114== Releasing lock...
[2025-02-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:08:03] Production.INFO: ==6123== Lock acquired, processing the job...
[2025-02-09 02:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:08:03] Production.INFO: ==6127== Lock acquired, processing the job...
[2025-02-09 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:08:03] Production.INFO: ==6117== Lock acquired, processing the job...
[2025-02-09 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:08:03] Production.INFO: Account Balance Start.
[2025-02-09 02:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:08:03] Production.INFO: 117
[2025-02-09 02:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:08:03] Production.INFO: count ==21
[2025-02-09 02:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:08:03] Production.INFO: count ==21
[2025-02-09 02:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433890') start
[2025-02-09 02:08:03] Production.INFO: ==6121== Lock acquired, processing the job...
[2025-02-09 02:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:08:03] Production.INFO: ==6119== Lock acquired, processing the job...
[2025-02-09 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:08:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:08:03] Production.INFO: Total Charge 0
[2025-02-09 02:08:03] Production.INFO: CreateAllLog End
[2025-02-09 02:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433890') end
[2025-02-09 02:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:08:03] Production.INFO: 1
[2025-02-09 02:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:08:03] Production.INFO: ==6125== Lock acquired, processing the job...
[2025-02-09 02:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:08:03] Production.INFO: ==6127== Releasing lock...
[2025-02-09 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:08:03] Production.INFO: Account Balance End.
[2025-02-09 02:08:03] Production.ERROR: CronJobId end 12
[2025-02-09 02:08:03] Production.INFO: ==6123== Releasing lock...
[2025-02-09 02:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:08:04] Production.INFO: ==6119== Releasing lock...
[2025-02-09 02:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:08:04] Production.ERROR: done
[2025-02-09 02:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:08:04] Production.ERROR: done
[2025-02-09 02:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:08:05
[end_date_ymd] => 2025-02-09 02:08:05
[RateCDR] => 1
)
[2025-02-09 02:08: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` >= '2025-02-08 23:08:05' and `end` < '2025-02-09 02:08: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 ,'')
[2025-02-09 02:08:12] Production.ERROR: CronJobId end10
[2025-02-09 02:08:12] Production.INFO: ==6121== Releasing lock...
[2025-02-09 02:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:08:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:08:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:08:14] Production.INFO: call_cost start
[2025-02-09 02:08:14] Production.INFO: call_cost end
[2025-02-09 02:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:08:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:08:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:08:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:08:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:08:14] Production.INFO: ==6117== Releasing lock...
[2025-02-09 02:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:08:18] Production.INFO: count ==830
[2025-02-09 02:08:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:08:05 - End Time 2025-02-09 02:08:05
[2025-02-09 02:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433893', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433893', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433893', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433893', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:08:18] Production.INFO: ProcessCDR(1,14433893,1,1,2)
[2025-02-09 02:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433893', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433893', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:08:22] Production.INFO: ==6125== Releasing lock...
[2025-02-09 02:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:08:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:09:02] Production.INFO: ==6183== Lock acquired, processing the job...
[2025-02-09 07:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:09:02] Production.INFO: neon service started
[2025-02-09 07:09:02] Production.INFO: neon service started
[2025-02-09 07:09:02] Production.INFO: ==6183== Releasing lock...
[2025-02-09 07:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:09:02] Production.INFO: ==6185== Lock acquired, processing the job...
[2025-02-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:09:02] Production.INFO: ==6187== Lock acquired, processing the job...
[2025-02-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:09:02] Production.INFO: ==6187== Releasing lock...
[2025-02-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:09:02] Production.INFO: ==6185== Releasing lock...
[2025-02-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:09:03] Production.INFO: ==6198== Lock acquired, processing the job...
[2025-02-09 02:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:09:03] Production.INFO: ==6200== Lock acquired, processing the job...
[2025-02-09 02:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:09:03] Production.INFO: ==6190== Lock acquired, processing the job...
[2025-02-09 02:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:09:03] Production.INFO: ==6192== Lock acquired, processing the job...
[2025-02-09 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:09:03] Production.INFO: ==6194== Lock acquired, processing the job...
[2025-02-09 02:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:09:04] Production.INFO: ==6196== Lock acquired, processing the job...
[2025-02-09 02:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:09:04] Production.INFO: count ==21
[2025-02-09 02:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:09:04] Production.INFO: count ==21
[2025-02-09 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433894') start
[2025-02-09 02:09:04] Production.ERROR: done
[2025-02-09 02:09:04] Production.INFO: Account Balance Start.
[2025-02-09 02:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:09:04] Production.INFO: 117
[2025-02-09 02:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433894') end
[2025-02-09 02:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:09:04] Production.INFO: 1
[2025-02-09 02:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:09:04] Production.INFO: ==6200== Releasing lock...
[2025-02-09 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:09:04] Production.ERROR: done
[2025-02-09 02:09:04] Production.INFO: Total Charge 0
[2025-02-09 02:09:04] Production.INFO: CreateAllLog End
[2025-02-09 02:09:04] Production.INFO: ==6192== Releasing lock...
[2025-02-09 02:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:09:04] Production.INFO: Account Balance End.
[2025-02-09 02:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:09:04] Production.INFO: ==6196== Releasing lock...
[2025-02-09 02:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:09:05
[end_date_ymd] => 2025-02-09 02:09:05
[RateCDR] => 1
)
[2025-02-09 02:09: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` >= '2025-02-08 23:09:05' and `end` < '2025-02-09 02:09: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 ,'')
[2025-02-09 02:09:12] Production.ERROR: CronJobId end10
[2025-02-09 02:09:12] Production.INFO: ==6194== Releasing lock...
[2025-02-09 02:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:09:14] Production.INFO: call_cost start
[2025-02-09 02:09:14] Production.INFO: call_cost end
[2025-02-09 02:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:09:15] Production.INFO: ==6190== Releasing lock...
[2025-02-09 02:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:09:19] Production.INFO: count ==830
[2025-02-09 02:09:20] Production.ERROR: pbx CDR StartTime 2025-02-08 23:09:05 - End Time 2025-02-09 02:09:05
[2025-02-09 02:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433898', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433898', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433898', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433898', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:09:20] Production.INFO: ProcessCDR(1,14433898,1,1,2)
[2025-02-09 02:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433898', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433898', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:09:23] Production.INFO: ==6198== Releasing lock...
[2025-02-09 02:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:09:23] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:10:01] Production.INFO: ==6258== Lock acquired, processing the job...
[2025-02-09 07:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:10:01] Production.INFO: neon service started
[2025-02-09 07:10:01] Production.INFO: neon service started
[2025-02-09 07:10:01] Production.INFO: ==6258== Releasing lock...
[2025-02-09 07:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:10:02] Production.INFO: ==6260== Lock acquired, processing the job...
[2025-02-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:10:02] Production.INFO: ==6262== Lock acquired, processing the job...
[2025-02-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:10:02] Production.INFO: ==6262== Releasing lock...
[2025-02-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:10:02] Production.INFO: ==6260== Releasing lock...
[2025-02-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:10:04] Production.INFO: ==6269== Lock acquired, processing the job...
[2025-02-09 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:10:04] Production.INFO: ==6275== Lock acquired, processing the job...
[2025-02-09 02:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:10:04] Production.INFO: ==6279== Lock acquired, processing the job...
[2025-02-09 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:10:04] Production.INFO: ==6265== Lock acquired, processing the job...
[2025-02-09 02:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 02:10:04] Production.INFO: ==6267== Lock acquired, processing the job...
[2025-02-09 02:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:10:04] Production.INFO: ==6271== Lock acquired, processing the job...
[2025-02-09 02:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 02:10:04] Production.ERROR: CronJob PID - 6267
[2025-02-09 02:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 02:10:04] Production.ERROR: CronJob ID - 5
[2025-02-09 02:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 02:10:00
[2025-02-09 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 02:10:04] Production.ERROR: CronJob PID - 6269
[2025-02-09 02:10:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 02:10:04] Production.ERROR: CronJob ID - 7
[2025-02-09 02:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 02:10:00
[2025-02-09 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 02:10:04] Production.ERROR: CronJob PID - 6275
[2025-02-09 02:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 02:10:04] Production.ERROR: CronJob ID - 16
[2025-02-09 02:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 02:10:00
[2025-02-09 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 02:10:04] Production.ERROR: CronJob PID - 6279
[2025-02-09 02:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 02:10:04] Production.ERROR: CronJob ID - 19
[2025-02-09 02:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 02:10:00
[2025-02-09 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 02:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:10:04] Production.INFO: ==6273== Lock acquired, processing the job...
[2025-02-09 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:10:04] Production.INFO: ==6277== Lock acquired, processing the job...
[2025-02-09 02:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 02:10:04] Production.INFO: count ==21
[2025-02-09 02:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 02:10:04] Production.INFO: ==6265== Releasing lock...
[2025-02-09 02:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 02:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 02:10:04] Production.INFO: count ==21
[2025-02-09 02:10:04] Production.INFO: ==6269== Releasing lock...
[2025-02-09 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:10:04] Production.ERROR: done
[2025-02-09 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433900') start
[2025-02-09 02:10:04] Production.INFO: Account Balance Start.
[2025-02-09 02:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:10:04] Production.INFO: 117
[2025-02-09 02:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433900') end
[2025-02-09 02:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:10:04] Production.INFO: 1
[2025-02-09 02:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:10:04] Production.ERROR: done
[2025-02-09 02:10:04] Production.INFO: ==6279== Releasing lock...
[2025-02-09 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:10:04] Production.INFO: Total Charge 0
[2025-02-09 02:10:04] Production.INFO: CreateAllLog End
[2025-02-09 02:10:05] Production.ERROR: done
[2025-02-09 02:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 02:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433904', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 02:10:05] Production.INFO: Account Balance End.
[2025-02-09 02:10:05] Production.ERROR: CronJobId end 12
[2025-02-09 02:10:05] Production.INFO: ==6273== Releasing lock...
[2025-02-09 02:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:10:06
[end_date_ymd] => 2025-02-09 02:10:06
[RateCDR] => 1
)
[2025-02-09 02:10: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-02-08 23:10:06' and `end` < '2025-02-09 02:10: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-02-09 02:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433904', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 02:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 02:10:09] Production.INFO: ProcessCDR(1,14433904,1,1,2)
[2025-02-09 02:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433904,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433904,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:10:09] Production.INFO: ==6277== Releasing lock...
[2025-02-09 02:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 02:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 02:10:14] Production.ERROR: CronJobId end10
[2025-02-09 02:10:14] Production.INFO: ==6271== Releasing lock...
[2025-02-09 02:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:10:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:10:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:10:16] Production.INFO: call_cost start
[2025-02-09 02:10:16] Production.INFO: call_cost end
[2025-02-09 02:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:10:17] Production.INFO: ==6267== Releasing lock...
[2025-02-09 02:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:10:19] Production.INFO: count ==838
[2025-02-09 02:10:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:10:06 - End Time 2025-02-09 02:10:06
[2025-02-09 02:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433903', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433903', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433903', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433903', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:10:19] Production.INFO: ProcessCDR(1,14433903,1,1,2)
[2025-02-09 02:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433903', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433903', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:10:22] Production.INFO: ==6275== Releasing lock...
[2025-02-09 02:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:10:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:11:02] Production.INFO: ==6334== Lock acquired, processing the job...
[2025-02-09 07:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:11:02] Production.INFO: neon service started
[2025-02-09 07:11:02] Production.INFO: neon service started
[2025-02-09 07:11:02] Production.INFO: ==6334== Releasing lock...
[2025-02-09 07:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:11:02] Production.INFO: ==6336== Lock acquired, processing the job...
[2025-02-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:11:02] Production.INFO: ==6336== Releasing lock...
[2025-02-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:11:02] Production.INFO: ==6338== Lock acquired, processing the job...
[2025-02-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:11:03] Production.INFO: ==6338== Releasing lock...
[2025-02-09 07:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:11:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:11:03] Production.INFO: ==6348== Lock acquired, processing the job...
[2025-02-09 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:11:03] Production.INFO: ==6346== Lock acquired, processing the job...
[2025-02-09 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:11:03] Production.INFO: ==6340== Lock acquired, processing the job...
[2025-02-09 02:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:11:03] Production.INFO: Account Balance Start.
[2025-02-09 02:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:11:03] Production.INFO: 117
[2025-02-09 02:11:03] Production.INFO: ==6342== Lock acquired, processing the job...
[2025-02-09 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:11:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:11:04] Production.INFO: ==6344== Lock acquired, processing the job...
[2025-02-09 02:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:11:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:11:04] Production.INFO: ==6350== Lock acquired, processing the job...
[2025-02-09 02:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:11:04] Production.INFO: Total Charge 0
[2025-02-09 02:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:11:04] Production.INFO: CreateAllLog End
[2025-02-09 02:11:04] Production.ERROR: done
[2025-02-09 02:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:11:04] Production.INFO: count ==21
[2025-02-09 02:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:11:04] Production.INFO: count ==21
[2025-02-09 02:11:04] Production.ERROR: done
[2025-02-09 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433908') start
[2025-02-09 02:11:04] Production.INFO: Account Balance End.
[2025-02-09 02:11:04] Production.INFO: ==6342== Releasing lock...
[2025-02-09 02:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433908') end
[2025-02-09 02:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:11:04] Production.INFO: 1
[2025-02-09 02:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:11:04] Production.INFO: ==6346== Releasing lock...
[2025-02-09 02:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:11:04] Production.INFO: ==6350== Releasing lock...
[2025-02-09 02:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:11:05
[end_date_ymd] => 2025-02-09 02:11:05
[RateCDR] => 1
)
[2025-02-09 02:11: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` >= '2025-02-08 23:11:05' and `end` < '2025-02-09 02:11: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 ,'')
[2025-02-09 02:11:12] Production.ERROR: CronJobId end10
[2025-02-09 02:11:12] Production.INFO: ==6344== Releasing lock...
[2025-02-09 02:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:11:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:11:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:11:15] Production.INFO: call_cost start
[2025-02-09 02:11:15] Production.INFO: call_cost end
[2025-02-09 02:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:11:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:11:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:11:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:11:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:11:16] Production.INFO: ==6340== Releasing lock...
[2025-02-09 02:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:11:18] Production.INFO: count ==854
[2025-02-09 02:11:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:11:05 - End Time 2025-02-09 02:11:05
[2025-02-09 02:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433909', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433909', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433909', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433909', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:11:18] Production.INFO: ProcessCDR(1,14433909,1,1,2)
[2025-02-09 02:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433909', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433909', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:11:21] Production.INFO: ==6348== Releasing lock...
[2025-02-09 02:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:11:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:12:01] Production.INFO: ==6406== Lock acquired, processing the job...
[2025-02-09 07:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:12:01] Production.INFO: neon service started
[2025-02-09 07:12:01] Production.INFO: neon service started
[2025-02-09 07:12:01] Production.INFO: ==6406== Releasing lock...
[2025-02-09 07:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:12:02] Production.INFO: ==6408== Lock acquired, processing the job...
[2025-02-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:12:02] Production.INFO: ==6410== Lock acquired, processing the job...
[2025-02-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:12:02] Production.INFO: ==6408== Releasing lock...
[2025-02-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:12:02] Production.INFO: ==6410== Releasing lock...
[2025-02-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:12:03] Production.INFO: ==6412== Lock acquired, processing the job...
[2025-02-09 02:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:12:03] Production.INFO: ==6416== Lock acquired, processing the job...
[2025-02-09 02:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:12:03] Production.INFO: ==6422== Lock acquired, processing the job...
[2025-02-09 02:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:12:03] Production.INFO: ==6414== Lock acquired, processing the job...
[2025-02-09 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:12:03] Production.INFO: ==6418== Lock acquired, processing the job...
[2025-02-09 02:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:12:03] Production.INFO: ==6420== Lock acquired, processing the job...
[2025-02-09 02:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:12:03] Production.INFO: count ==21
[2025-02-09 02:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:12:03] Production.INFO: count ==21
[2025-02-09 02:12:03] Production.INFO: Account Balance Start.
[2025-02-09 02:12:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:12:03] Production.INFO: 117
[2025-02-09 02:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433911') start
[2025-02-09 02:12:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:12:03] Production.INFO: ==6414== Releasing lock...
[2025-02-09 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:12:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:12:03] Production.INFO: Total Charge 0
[2025-02-09 02:12:04] Production.INFO: CreateAllLog End
[2025-02-09 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433911') end
[2025-02-09 02:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:12:04] Production.INFO: 1
[2025-02-09 02:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:12:04] Production.INFO: ==6422== Releasing lock...
[2025-02-09 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:12:04] Production.ERROR: done
[2025-02-09 02:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:12:04] Production.INFO: Account Balance End.
[2025-02-09 02:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:12:04] Production.INFO: ==6418== Releasing lock...
[2025-02-09 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:12:04] Production.ERROR: done
[2025-02-09 02:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:12:05
[end_date_ymd] => 2025-02-09 02:12:05
[RateCDR] => 1
)
[2025-02-09 02:12: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` >= '2025-02-08 23:12:05' and `end` < '2025-02-09 02:12: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 ,'')
[2025-02-09 02:12:11] Production.ERROR: CronJobId end10
[2025-02-09 02:12:11] Production.INFO: ==6416== Releasing lock...
[2025-02-09 02:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:12:14] Production.INFO: call_cost start
[2025-02-09 02:12:14] Production.INFO: call_cost end
[2025-02-09 02:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:12:15] Production.INFO: ==6412== Releasing lock...
[2025-02-09 02:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:12:19] Production.INFO: count ==854
[2025-02-09 02:12:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:12:05 - End Time 2025-02-09 02:12:05
[2025-02-09 02:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433914', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433914', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433914', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433914', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:12:19] Production.INFO: ProcessCDR(1,14433914,1,1,2)
[2025-02-09 02:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433914', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433914', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:12:22] Production.INFO: ==6420== Releasing lock...
[2025-02-09 02:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:12:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:13:02] Production.INFO: ==6479== Lock acquired, processing the job...
[2025-02-09 07:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:13:02] Production.INFO: neon service started
[2025-02-09 07:13:02] Production.INFO: neon service started
[2025-02-09 07:13:02] Production.INFO: ==6479== Releasing lock...
[2025-02-09 07:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:13:02] Production.INFO: ==6483== Lock acquired, processing the job...
[2025-02-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:13:02] Production.INFO: ==6483== Releasing lock...
[2025-02-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:13:02] Production.INFO: ==6481== Lock acquired, processing the job...
[2025-02-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:13:02] Production.INFO: ==6481== Releasing lock...
[2025-02-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:13:03] Production.INFO: ==6492== Lock acquired, processing the job...
[2025-02-09 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:13:03] Production.INFO: ==6496== Lock acquired, processing the job...
[2025-02-09 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:13:03] Production.INFO: Account Balance Start.
[2025-02-09 02:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:13:03] Production.INFO: 117
[2025-02-09 02:13:03] Production.INFO: ==6486== Lock acquired, processing the job...
[2025-02-09 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:13:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:13:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:13:03] Production.INFO: ==6488== Lock acquired, processing the job...
[2025-02-09 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:13:03] Production.INFO: Total Charge 0
[2025-02-09 02:13:04] Production.INFO: ==6490== Lock acquired, processing the job...
[2025-02-09 02:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:13:04] Production.INFO: CreateAllLog End
[2025-02-09 02:13:04] Production.INFO: count ==21
[2025-02-09 02:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:13:04] Production.INFO: count ==21
[2025-02-09 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433916') start
[2025-02-09 02:13:04] Production.INFO: ==6494== Lock acquired, processing the job...
[2025-02-09 02:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433916') end
[2025-02-09 02:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:13:04] Production.INFO: 1
[2025-02-09 02:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:13:04] Production.INFO: Account Balance End.
[2025-02-09 02:13:04] Production.INFO: ==6496== Releasing lock...
[2025-02-09 02:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:13:04] Production.INFO: ==6492== Releasing lock...
[2025-02-09 02:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:13:04] Production.INFO: ==6488== Releasing lock...
[2025-02-09 02:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:13:04] Production.ERROR: done
[2025-02-09 02:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:13:04] Production.ERROR: done
[2025-02-09 02:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:13:05
[end_date_ymd] => 2025-02-09 02:13:05
[RateCDR] => 1
)
[2025-02-09 02:13: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` >= '2025-02-08 23:13:05' and `end` < '2025-02-09 02:13: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 ,'')
[2025-02-09 02:13:12] Production.ERROR: CronJobId end10
[2025-02-09 02:13:12] Production.INFO: ==6490== Releasing lock...
[2025-02-09 02:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:13:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:13:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:13:15] Production.INFO: call_cost start
[2025-02-09 02:13:15] Production.INFO: call_cost end
[2025-02-09 02:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:13:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:13:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:13:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:13:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:13:16] Production.INFO: ==6486== Releasing lock...
[2025-02-09 02:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:13:19] Production.INFO: count ==851
[2025-02-09 02:13:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:13:05 - End Time 2025-02-09 02:13:05
[2025-02-09 02:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433919', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433919', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433919', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433919', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:13:19] Production.INFO: ProcessCDR(1,14433919,1,1,2)
[2025-02-09 02:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433919', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433919', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:13:23] Production.INFO: ==6494== Releasing lock...
[2025-02-09 02:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:13:23] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:14:01] Production.INFO: ==6553== Lock acquired, processing the job...
[2025-02-09 07:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:14:01] Production.INFO: neon service started
[2025-02-09 07:14:01] Production.INFO: neon service started
[2025-02-09 07:14:01] Production.INFO: ==6553== Releasing lock...
[2025-02-09 07:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:14:02] Production.INFO: ==6556== Lock acquired, processing the job...
[2025-02-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:14:02] Production.INFO: ==6558== Lock acquired, processing the job...
[2025-02-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:14:02] Production.INFO: ==6558== Releasing lock...
[2025-02-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:14:02] Production.INFO: ==6556== Releasing lock...
[2025-02-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:14:03] Production.INFO: ==6566== Lock acquired, processing the job...
[2025-02-09 02:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:14:03] Production.INFO: ==6568== Lock acquired, processing the job...
[2025-02-09 02:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:14:03] Production.INFO: Account Balance Start.
[2025-02-09 02:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:14:03] Production.INFO: 117
[2025-02-09 02:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:14:03] Production.INFO: ==6560== Lock acquired, processing the job...
[2025-02-09 02:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:14:03] Production.INFO: Total Charge 0
[2025-02-09 02:14:03] Production.INFO: CreateAllLog End
[2025-02-09 02:14:03] Production.INFO: ==6562== Lock acquired, processing the job...
[2025-02-09 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:14:03] Production.INFO: ==6564== Lock acquired, processing the job...
[2025-02-09 02:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:14:03] Production.INFO: Account Balance End.
[2025-02-09 02:14:03] Production.INFO: ==6570== Lock acquired, processing the job...
[2025-02-09 02:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:14:03] Production.ERROR: done
[2025-02-09 02:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:14:03] Production.ERROR: CronJobId end 12
[2025-02-09 02:14:03] Production.INFO: ==6566== Releasing lock...
[2025-02-09 02:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:14:04] Production.INFO: count ==21
[2025-02-09 02:14:04] Production.ERROR: done
[2025-02-09 02:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:14:04] Production.INFO: count ==21
[2025-02-09 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433922') start
[2025-02-09 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433922') end
[2025-02-09 02:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:14:04] Production.INFO: 1
[2025-02-09 02:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:14:04] Production.INFO: ==6570== Releasing lock...
[2025-02-09 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:14:04] Production.INFO: ==6562== Releasing lock...
[2025-02-09 02:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:14:05
[end_date_ymd] => 2025-02-09 02:14:05
[RateCDR] => 1
)
[2025-02-09 02:14: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` >= '2025-02-08 23:14:05' and `end` < '2025-02-09 02:14: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 ,'')
[2025-02-09 02:14:12] Production.ERROR: CronJobId end10
[2025-02-09 02:14:12] Production.INFO: ==6564== Releasing lock...
[2025-02-09 02:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:14:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:14:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:14:14] Production.INFO: call_cost start
[2025-02-09 02:14:14] Production.INFO: call_cost end
[2025-02-09 02:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:14:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:14:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:14:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:14:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:14:15] Production.INFO: ==6560== Releasing lock...
[2025-02-09 02:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:14:19] Production.INFO: count ==854
[2025-02-09 02:14:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:14:05 - End Time 2025-02-09 02:14:05
[2025-02-09 02:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433924', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433924', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433924', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433924', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:14:19] Production.INFO: ProcessCDR(1,14433924,1,1,2)
[2025-02-09 02:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433924', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433924', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:14:22] Production.INFO: ==6568== Releasing lock...
[2025-02-09 02:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:14:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:15:01] Production.INFO: ==6628== Lock acquired, processing the job...
[2025-02-09 07:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:15:01] Production.INFO: neon service started
[2025-02-09 07:15:02] Production.INFO: neon service started
[2025-02-09 07:15:02] Production.INFO: ==6628== Releasing lock...
[2025-02-09 07:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:15:02] Production.INFO: ==6630== Lock acquired, processing the job...
[2025-02-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:15:02] Production.INFO: ==6632== Lock acquired, processing the job...
[2025-02-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:15:02] Production.INFO: ==6632== Releasing lock...
[2025-02-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:15:02] Production.INFO: ==6630== Releasing lock...
[2025-02-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:15:03] Production.INFO: ==6635== Lock acquired, processing the job...
[2025-02-09 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:15:03] Production.INFO: ==6637== Lock acquired, processing the job...
[2025-02-09 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:15:03] Production.INFO: ==6643== Lock acquired, processing the job...
[2025-02-09 02:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:15:03] Production.INFO: ==6639== Lock acquired, processing the job...
[2025-02-09 02:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:15:03] Production.INFO: ==6641== Lock acquired, processing the job...
[2025-02-09 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:15:04] Production.INFO: ==6645== Lock acquired, processing the job...
[2025-02-09 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:15:04] Production.INFO: Account Balance Start.
[2025-02-09 02:15:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:15:04] Production.INFO: 117
[2025-02-09 02:15:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:15:04] Production.INFO: ==6637== Releasing lock...
[2025-02-09 02:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:15:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:15:04] Production.ERROR: done
[2025-02-09 02:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:15:04] Production.ERROR: done
[2025-02-09 02:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:15:04] Production.INFO: Total Charge 0
[2025-02-09 02:15:04] Production.INFO: CreateAllLog End
[2025-02-09 02:15:04] Production.INFO: count ==21
[2025-02-09 02:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:15:04] Production.INFO: count ==21
[2025-02-09 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433928') start
[2025-02-09 02:15:04] Production.INFO: Account Balance End.
[2025-02-09 02:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:15:04] Production.INFO: ==6641== Releasing lock...
[2025-02-09 02:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433928') end
[2025-02-09 02:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:15:04] Production.INFO: 1
[2025-02-09 02:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:15:04] Production.INFO: ==6645== Releasing lock...
[2025-02-09 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:15:05
[end_date_ymd] => 2025-02-09 02:15:05
[RateCDR] => 1
)
[2025-02-09 02:15: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` >= '2025-02-08 23:15:05' and `end` < '2025-02-09 02:15: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 ,'')
[2025-02-09 02:15:11] Production.ERROR: CronJobId end10
[2025-02-09 02:15:11] Production.INFO: ==6639== Releasing lock...
[2025-02-09 02:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:15:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:15:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:15:14] Production.INFO: call_cost start
[2025-02-09 02:15:14] Production.INFO: call_cost end
[2025-02-09 02:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:15:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:15:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:15:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:15:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:15:14] Production.INFO: ==6635== Releasing lock...
[2025-02-09 02:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:15:18] Production.INFO: count ==853
[2025-02-09 02:15:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:15:05 - End Time 2025-02-09 02:15:05
[2025-02-09 02:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433929', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433929', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433929', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433929', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:15:18] Production.INFO: ProcessCDR(1,14433929,1,1,2)
[2025-02-09 02:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433929', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433929', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:15:21] Production.INFO: ==6643== Releasing lock...
[2025-02-09 02:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:15:21] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:16:01] Production.INFO: ==6723== Lock acquired, processing the job...
[2025-02-09 07:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:16:01] Production.INFO: neon service started
[2025-02-09 07:16:01] Production.INFO: neon service started
[2025-02-09 07:16:01] Production.INFO: ==6723== Releasing lock...
[2025-02-09 07:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:16:01] Production.INFO: ==6730== Lock acquired, processing the job...
[2025-02-09 07:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:16:01] Production.INFO: ==6730== Releasing lock...
[2025-02-09 07:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:16:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:16:02] Production.INFO: ==6728== Lock acquired, processing the job...
[2025-02-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:16:02] Production.INFO: ==6728== Releasing lock...
[2025-02-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:16:03] Production.INFO: ==6734== Lock acquired, processing the job...
[2025-02-09 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:16:03] Production.INFO: ==6742== Lock acquired, processing the job...
[2025-02-09 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:16:03] Production.INFO: ==6732== Lock acquired, processing the job...
[2025-02-09 02:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:16:03] Production.INFO: ==6736== Lock acquired, processing the job...
[2025-02-09 02:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:16:03] Production.INFO: count ==21
[2025-02-09 02:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:16:03] Production.INFO: count ==21
[2025-02-09 02:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433931') start
[2025-02-09 02:16:03] Production.INFO: ==6738== Lock acquired, processing the job...
[2025-02-09 02:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:16:03] Production.INFO: ==6740== Lock acquired, processing the job...
[2025-02-09 02:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433931') end
[2025-02-09 02:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:16:03] Production.INFO: 1
[2025-02-09 02:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:16:03] Production.INFO: ==6742== Releasing lock...
[2025-02-09 02:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:16:03] Production.INFO: ==6734== Releasing lock...
[2025-02-09 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:16:03] Production.INFO: Account Balance Start.
[2025-02-09 02:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:16:03] Production.INFO: 117
[2025-02-09 02:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:16:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:16:03] Production.INFO: Total Charge 0
[2025-02-09 02:16:03] Production.INFO: CreateAllLog End
[2025-02-09 02:16:04] Production.INFO: Account Balance End.
[2025-02-09 02:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:16:04] Production.INFO: ==6738== Releasing lock...
[2025-02-09 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:16:04] Production.ERROR: done
[2025-02-09 02:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:16:04] Production.ERROR: done
[2025-02-09 02:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:16:05
[end_date_ymd] => 2025-02-09 02:16:05
[RateCDR] => 1
)
[2025-02-09 02:16: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` >= '2025-02-08 23:16:05' and `end` < '2025-02-09 02:16: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 ,'')
[2025-02-09 02:16:11] Production.ERROR: CronJobId end10
[2025-02-09 02:16:11] Production.INFO: ==6736== Releasing lock...
[2025-02-09 02:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:16:14] Production.INFO: call_cost start
[2025-02-09 02:16:14] Production.INFO: call_cost end
[2025-02-09 02:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:16:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:16:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:16:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:16:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:16:14] Production.INFO: ==6732== Releasing lock...
[2025-02-09 02:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:16:20] Production.INFO: count ==853
[2025-02-09 02:16:20] Production.ERROR: pbx CDR StartTime 2025-02-08 23:16:05 - End Time 2025-02-09 02:16:05
[2025-02-09 02:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433934', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433934', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433934', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433934', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:16:20] Production.INFO: ProcessCDR(1,14433934,1,1,2)
[2025-02-09 02:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433934', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433934', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:16:23] Production.INFO: ==6740== Releasing lock...
[2025-02-09 02:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:16:23] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:17:01] Production.INFO: ==6818== Lock acquired, processing the job...
[2025-02-09 07:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:17:02] Production.INFO: neon service started
[2025-02-09 07:17:02] Production.INFO: neon service started
[2025-02-09 07:17:02] Production.INFO: ==6818== Releasing lock...
[2025-02-09 07:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:17:02] Production.INFO: ==6820== Lock acquired, processing the job...
[2025-02-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:17:02] Production.INFO: ==6820== Releasing lock...
[2025-02-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:17:02] Production.INFO: ==6822== Lock acquired, processing the job...
[2025-02-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:17:02] Production.INFO: ==6822== Releasing lock...
[2025-02-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:17:03] Production.INFO: ==6829== Lock acquired, processing the job...
[2025-02-09 02:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:17:03] Production.INFO: ==6825== Lock acquired, processing the job...
[2025-02-09 02:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:17:03] Production.INFO: ==6827== Lock acquired, processing the job...
[2025-02-09 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:17:04] Production.INFO: ==6831== Lock acquired, processing the job...
[2025-02-09 02:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:17:04] Production.INFO: ==6833== Lock acquired, processing the job...
[2025-02-09 02:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:17:04] Production.INFO: Account Balance Start.
[2025-02-09 02:17:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:17:04] Production.INFO: 117
[2025-02-09 02:17:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:17:04] Production.INFO: ==6835== Lock acquired, processing the job...
[2025-02-09 02:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:17:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:17:04] Production.INFO: Total Charge 0
[2025-02-09 02:17:04] Production.INFO: CreateAllLog End
[2025-02-09 02:17:04] Production.INFO: ==6827== Releasing lock...
[2025-02-09 02:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:17:04] Production.INFO: count ==21
[2025-02-09 02:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:17:04] Production.INFO: count ==21
[2025-02-09 02:17:04] Production.ERROR: done
[2025-02-09 02:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433938') start
[2025-02-09 02:17:04] Production.INFO: Account Balance End.
[2025-02-09 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433938') end
[2025-02-09 02:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:17:04] Production.INFO: 1
[2025-02-09 02:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:17:04] Production.INFO: ==6831== Releasing lock...
[2025-02-09 02:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:17:04] Production.ERROR: done
[2025-02-09 02:17:04] Production.INFO: ==6835== Releasing lock...
[2025-02-09 02:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:17:05
[end_date_ymd] => 2025-02-09 02:17:05
[RateCDR] => 1
)
[2025-02-09 02:17: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` >= '2025-02-08 23:17:05' and `end` < '2025-02-09 02:17: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 ,'')
[2025-02-09 02:17:12] Production.ERROR: CronJobId end10
[2025-02-09 02:17:12] Production.INFO: ==6829== Releasing lock...
[2025-02-09 02:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:17:14] Production.INFO: call_cost start
[2025-02-09 02:17:14] Production.INFO: call_cost end
[2025-02-09 02:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:17:15] Production.INFO: ==6825== Releasing lock...
[2025-02-09 02:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:17:19] Production.INFO: count ==853
[2025-02-09 02:17:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:17:05 - End Time 2025-02-09 02:17:05
[2025-02-09 02:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433939', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433939', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433939', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433939', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:17:19] Production.INFO: ProcessCDR(1,14433939,1,1,2)
[2025-02-09 02:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433939', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433939', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:17:22] Production.INFO: ==6833== Releasing lock...
[2025-02-09 02:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:17:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:18:01] Production.INFO: ==6907== Lock acquired, processing the job...
[2025-02-09 07:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:18:01] Production.INFO: neon service started
[2025-02-09 07:18:01] Production.INFO: neon service started
[2025-02-09 07:18:01] Production.INFO: ==6907== Releasing lock...
[2025-02-09 07:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:18:01] Production.INFO: ==6909== Lock acquired, processing the job...
[2025-02-09 02:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:18:02] Production.INFO: ==6909== Releasing lock...
[2025-02-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:18:02] Production.INFO: ==6911== Lock acquired, processing the job...
[2025-02-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:18:02] Production.INFO: ==6911== Releasing lock...
[2025-02-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:18:03] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-02-09 02:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:18:03] Production.INFO: ==6918== Lock acquired, processing the job...
[2025-02-09 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:18:03] Production.INFO: ==6922== Lock acquired, processing the job...
[2025-02-09 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:18:03] Production.INFO: ==6920== Lock acquired, processing the job...
[2025-02-09 02:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:18:03] Production.INFO: Account Balance Start.
[2025-02-09 02:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:18:03] Production.INFO: 117
[2025-02-09 02:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:18:03] Production.INFO: ==6924== Lock acquired, processing the job...
[2025-02-09 02:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:18:03] Production.INFO: ==6926== Lock acquired, processing the job...
[2025-02-09 02:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:18:03] Production.INFO: ==6918== Releasing lock...
[2025-02-09 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:18:03] Production.INFO: Total Charge 0
[2025-02-09 02:18:03] Production.INFO: CreateAllLog End
[2025-02-09 02:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:18:03] Production.INFO: count ==21
[2025-02-09 02:18:03] Production.ERROR: done
[2025-02-09 02:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:18:03] Production.INFO: Account Balance End.
[2025-02-09 02:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:18:03] Production.INFO: count ==21
[2025-02-09 02:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433943') start
[2025-02-09 02:18:03] Production.ERROR: CronJobId end 12
[2025-02-09 02:18:03] Production.INFO: ==6922== Releasing lock...
[2025-02-09 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433943') end
[2025-02-09 02:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:18:04] Production.INFO: 1
[2025-02-09 02:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:18:04] Production.INFO: ==6926== Releasing lock...
[2025-02-09 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:18:04] Production.ERROR: done
[2025-02-09 02:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:18:05
[end_date_ymd] => 2025-02-09 02:18:05
[RateCDR] => 1
)
[2025-02-09 02:18: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` >= '2025-02-08 23:18:05' and `end` < '2025-02-09 02:18: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 ,'')
[2025-02-09 02:18:11] Production.ERROR: CronJobId end10
[2025-02-09 02:18:11] Production.INFO: ==6920== Releasing lock...
[2025-02-09 02:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:18:13] Production.INFO: call_cost start
[2025-02-09 02:18:13] Production.INFO: call_cost end
[2025-02-09 02:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:18:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:18:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:18:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:18:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:18:14] Production.INFO: ==6915== Releasing lock...
[2025-02-09 02:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:18:17] Production.INFO: count ==857
[2025-02-09 02:18:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:18:05 - End Time 2025-02-09 02:18:05
[2025-02-09 02:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433944', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433944', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433944', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433944', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:18:18] Production.INFO: ProcessCDR(1,14433944,1,1,2)
[2025-02-09 02:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433944', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433944', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:18:21] Production.INFO: ==6924== Releasing lock...
[2025-02-09 02:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:18:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:19:01] Production.INFO: ==7007== Lock acquired, processing the job...
[2025-02-09 07:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:19:01] Production.INFO: neon service started
[2025-02-09 07:19:01] Production.INFO: neon service started
[2025-02-09 07:19:01] Production.INFO: ==7007== Releasing lock...
[2025-02-09 07:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:19:02] Production.INFO: ==7009== Lock acquired, processing the job...
[2025-02-09 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:19:02] Production.INFO: ==7011== Lock acquired, processing the job...
[2025-02-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:19:02] Production.INFO: ==7011== Releasing lock...
[2025-02-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:19:03] Production.INFO: ==7009== Releasing lock...
[2025-02-09 02:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:19:04] Production.INFO: ==7016== Lock acquired, processing the job...
[2025-02-09 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:19:04] Production.INFO: ==7014== Lock acquired, processing the job...
[2025-02-09 02:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:19:04] Production.INFO: ==7020== Lock acquired, processing the job...
[2025-02-09 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:19:04] Production.INFO: ==7018== Lock acquired, processing the job...
[2025-02-09 02:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:19:04] Production.INFO: ==7024== Lock acquired, processing the job...
[2025-02-09 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:19:04] Production.INFO: Account Balance Start.
[2025-02-09 02:19:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:19:04] Production.INFO: 117
[2025-02-09 02:19:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:19:04] Production.INFO: ==7022== Lock acquired, processing the job...
[2025-02-09 02:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:19:04] Production.INFO: count ==21
[2025-02-09 02:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:19:04] Production.INFO: count ==21
[2025-02-09 02:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433948') start
[2025-02-09 02:19:04] Production.INFO: Total Charge 0
[2025-02-09 02:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:19:04] Production.INFO: CreateAllLog End
[2025-02-09 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433948') end
[2025-02-09 02:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:19:04] Production.INFO: 1
[2025-02-09 02:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:19:04] Production.INFO: ==7016== Releasing lock...
[2025-02-09 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:19:04] Production.INFO: ==7024== Releasing lock...
[2025-02-09 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:19:05] Production.ERROR: done
[2025-02-09 02:19:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:19:05] Production.INFO: Account Balance End.
[2025-02-09 02:19:05] Production.ERROR: CronJobId end 12
[2025-02-09 02:19:05] Production.INFO: ==7020== Releasing lock...
[2025-02-09 02:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:19:05] Production.ERROR: done
[2025-02-09 02:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:19:06
[end_date_ymd] => 2025-02-09 02:19:06
[RateCDR] => 1
)
[2025-02-09 02:19: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-02-08 23:19:06' and `end` < '2025-02-09 02:19: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-02-09 02:19:13] Production.ERROR: CronJobId end10
[2025-02-09 02:19:13] Production.INFO: ==7018== Releasing lock...
[2025-02-09 02:19:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:19:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:19:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:19:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:19:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:19:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:19:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:19:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:19:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:19:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:19:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:19:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:19:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:19:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:19:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:19:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:19:16] Production.INFO: call_cost start
[2025-02-09 02:19:16] Production.INFO: call_cost end
[2025-02-09 02:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:19:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:19:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:19:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:19:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:19:17] Production.INFO: ==7014== Releasing lock...
[2025-02-09 02:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:19:19] Production.INFO: count ==859
[2025-02-09 02:19:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:19:06 - End Time 2025-02-09 02:19:06
[2025-02-09 02:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433949', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433949', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433949', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433949', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:19:19] Production.INFO: ProcessCDR(1,14433949,1,1,2)
[2025-02-09 02:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433949', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433949', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:19:22] Production.INFO: ==7022== Releasing lock...
[2025-02-09 02:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:19:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:20:01] Production.INFO: ==7102== Lock acquired, processing the job...
[2025-02-09 07:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:20:01] Production.INFO: neon service started
[2025-02-09 07:20:01] Production.INFO: neon service started
[2025-02-09 07:20:01] Production.INFO: ==7102== Releasing lock...
[2025-02-09 07:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:20:01] Production.INFO: ==7104== Lock acquired, processing the job...
[2025-02-09 02:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:20:02] Production.INFO: ==7104== Releasing lock...
[2025-02-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:20:02] Production.INFO: ==7106== Lock acquired, processing the job...
[2025-02-09 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:20:02] Production.INFO: ==7106== Releasing lock...
[2025-02-09 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:20:02] Production.INFO: 26 MB #Memory Used#
[2025-02-09 02:20:03] Production.INFO: ==7108== Lock acquired, processing the job...
[2025-02-09 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 02:20:03] Production.INFO: ==7112== Lock acquired, processing the job...
[2025-02-09 02:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 02:20:03] Production.INFO: ==7110== Lock acquired, processing the job...
[2025-02-09 02:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:20:03] Production.INFO: ==7118== Lock acquired, processing the job...
[2025-02-09 02:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 02:20:03] Production.INFO: ==7108== Releasing lock...
[2025-02-09 02:20:03] Production.INFO: ==7120== Lock acquired, processing the job...
[2025-02-09 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 02:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 02:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 02:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:20:03] Production.INFO: ==7114== Lock acquired, processing the job...
[2025-02-09 02:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:20:03] Production.INFO: ==7116== Lock acquired, processing the job...
[2025-02-09 02:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:20:03] Production.INFO: ==7122== Lock acquired, processing the job...
[2025-02-09 02:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:20:03] Production.INFO: Account Balance Start.
[2025-02-09 02:20:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:20:03] Production.INFO: 117
[2025-02-09 02:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:20:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:20:03] Production.INFO: count ==21
[2025-02-09 02:20:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:20:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:20:03] Production.INFO: count ==21
[2025-02-09 02:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433953') start
[2025-02-09 02:20:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:20:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:20:03] Production.INFO: Total Charge 0
[2025-02-09 02:20:03] Production.INFO: CreateAllLog End
[2025-02-09 02:20:03] Production.ERROR: done
[2025-02-09 02:20:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:20:03] Production.INFO: ==7112== Releasing lock...
[2025-02-09 02:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:20:04] Production.ERROR: done
[2025-02-09 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433953') end
[2025-02-09 02:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:20:04] Production.INFO: 1
[2025-02-09 02:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 02:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433954', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 02:20:04] Production.INFO: ==7122== Releasing lock...
[2025-02-09 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:20:04] Production.ERROR: done
[2025-02-09 02:20:04] Production.INFO: Account Balance End.
[2025-02-09 02:20:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:20:04] Production.INFO: ==7116== Releasing lock...
[2025-02-09 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:20:05
[end_date_ymd] => 2025-02-09 02:20:05
[RateCDR] => 1
)
[2025-02-09 02:20: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` >= '2025-02-08 23:20:05' and `end` < '2025-02-09 02:20: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 ,'')
[2025-02-09 02:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14433954', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 02:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 02:20:08] Production.INFO: ProcessCDR(1,14433954,1,1,2)
[2025-02-09 02:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14433954,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14433954,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:20:08] Production.INFO: ==7120== Releasing lock...
[2025-02-09 02:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 02:20:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 02:20:13] Production.ERROR: CronJobId end10
[2025-02-09 02:20:13] Production.INFO: ==7114== Releasing lock...
[2025-02-09 02:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:20:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:20:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:20:16] Production.INFO: call_cost start
[2025-02-09 02:20:16] Production.INFO: call_cost end
[2025-02-09 02:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:20:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:20:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:20:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:20:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:20:16] Production.INFO: ==7110== Releasing lock...
[2025-02-09 02:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:20:18] Production.INFO: count ==868
[2025-02-09 02:20:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:20:05 - End Time 2025-02-09 02:20:05
[2025-02-09 02:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433955', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433955', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433955', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433955', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:20:18] Production.INFO: ProcessCDR(1,14433955,1,1,2)
[2025-02-09 02:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433955', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433955', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:20:23] Production.INFO: ==7118== Releasing lock...
[2025-02-09 02:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:20:23] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:21:01] Production.INFO: ==7200== Lock acquired, processing the job...
[2025-02-09 07:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:21:01] Production.INFO: neon service started
[2025-02-09 07:21:01] Production.INFO: neon service started
[2025-02-09 07:21:01] Production.INFO: ==7200== Releasing lock...
[2025-02-09 07:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:21:02] Production.INFO: ==7202== Lock acquired, processing the job...
[2025-02-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:21:02] Production.INFO: ==7204== Lock acquired, processing the job...
[2025-02-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:21:02] Production.INFO: ==7202== Releasing lock...
[2025-02-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:21:02] Production.INFO: ==7204== Releasing lock...
[2025-02-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:21:03] Production.INFO: ==7211== Lock acquired, processing the job...
[2025-02-09 02:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:21:03] Production.INFO: ==7207== Lock acquired, processing the job...
[2025-02-09 02:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:21:03] Production.INFO: ==7215== Lock acquired, processing the job...
[2025-02-09 02:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:21:03] Production.INFO: ==7209== Lock acquired, processing the job...
[2025-02-09 02:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:21:03] Production.INFO: ==7213== Lock acquired, processing the job...
[2025-02-09 02:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:21:04] Production.INFO: ==7217== Lock acquired, processing the job...
[2025-02-09 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:21:04] Production.ERROR: done
[2025-02-09 02:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:21:04] Production.INFO: Account Balance Start.
[2025-02-09 02:21:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:21:04] Production.INFO: 117
[2025-02-09 02:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:21:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:21:04] Production.INFO: count ==21
[2025-02-09 02:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:21:04] Production.INFO: count ==21
[2025-02-09 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433958') start
[2025-02-09 02:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:21:04] Production.INFO: Total Charge 0
[2025-02-09 02:21:04] Production.INFO: CreateAllLog End
[2025-02-09 02:21:04] Production.ERROR: done
[2025-02-09 02:21:04] Production.INFO: ==7209== Releasing lock...
[2025-02-09 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433958') end
[2025-02-09 02:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:21:04] Production.INFO: 1
[2025-02-09 02:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:21:04] Production.INFO: ==7217== Releasing lock...
[2025-02-09 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:21:04] Production.INFO: Account Balance End.
[2025-02-09 02:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:21:04] Production.INFO: ==7213== Releasing lock...
[2025-02-09 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:21:05
[end_date_ymd] => 2025-02-09 02:21:05
[RateCDR] => 1
)
[2025-02-09 02:21: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` >= '2025-02-08 23:21:05' and `end` < '2025-02-09 02:21: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 ,'')
[2025-02-09 02:21:12] Production.ERROR: CronJobId end10
[2025-02-09 02:21:12] Production.INFO: ==7211== Releasing lock...
[2025-02-09 02:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:21:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:21:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:21:15] Production.INFO: call_cost start
[2025-02-09 02:21:15] Production.INFO: call_cost end
[2025-02-09 02:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:21:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:21:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:21:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:21:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:21:16] Production.INFO: ==7207== Releasing lock...
[2025-02-09 02:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:21:18] Production.INFO: count ==894
[2025-02-09 02:21:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:21:05 - End Time 2025-02-09 02:21:05
[2025-02-09 02:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433960', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433960', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433960', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433960', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:21:18] Production.INFO: ProcessCDR(1,14433960,1,1,2)
[2025-02-09 02:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433960', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433960', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:21:22] Production.INFO: ==7215== Releasing lock...
[2025-02-09 02:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:21:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:22:01] Production.INFO: ==7295== Lock acquired, processing the job...
[2025-02-09 07:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:22:01] Production.INFO: neon service started
[2025-02-09 07:22:01] Production.INFO: neon service started
[2025-02-09 07:22:01] Production.INFO: ==7295== Releasing lock...
[2025-02-09 07:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:22:01] Production.INFO: ==7297== Lock acquired, processing the job...
[2025-02-09 02:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:22:02] Production.INFO: ==7297== Releasing lock...
[2025-02-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:22:02] Production.INFO: ==7299== Lock acquired, processing the job...
[2025-02-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:22:02] Production.INFO: ==7299== Releasing lock...
[2025-02-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:22:02] Production.INFO: ==7301== Lock acquired, processing the job...
[2025-02-09 02:22:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:22:03] Production.INFO: ==7303== Lock acquired, processing the job...
[2025-02-09 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:22:03] Production.INFO: ==7305== Lock acquired, processing the job...
[2025-02-09 02:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:22:03] Production.INFO: ==7307== Lock acquired, processing the job...
[2025-02-09 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:22:03] Production.INFO: ==7310== Lock acquired, processing the job...
[2025-02-09 02:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:22:03] Production.INFO: ==7303== Releasing lock...
[2025-02-09 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:22:03] Production.INFO: ==7312== Lock acquired, processing the job...
[2025-02-09 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:22:03] Production.INFO: Account Balance Start.
[2025-02-09 02:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:22:03] Production.INFO: 117
[2025-02-09 02:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:22:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:22:03] Production.INFO: count ==21
[2025-02-09 02:22:03] Production.INFO: Total Charge 0
[2025-02-09 02:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:22:03] Production.INFO: count ==21
[2025-02-09 02:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433964') start
[2025-02-09 02:22:03] Production.INFO: CreateAllLog End
[2025-02-09 02:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433964') end
[2025-02-09 02:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:22:03] Production.INFO: 1
[2025-02-09 02:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:22:03] Production.INFO: ==7312== Releasing lock...
[2025-02-09 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:22:03] Production.ERROR: done
[2025-02-09 02:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:22:04] Production.ERROR: done
[2025-02-09 02:22:04] Production.INFO: Account Balance End.
[2025-02-09 02:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:22:04] Production.INFO: ==7307== Releasing lock...
[2025-02-09 02:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:22:05
[end_date_ymd] => 2025-02-09 02:22:05
[RateCDR] => 1
)
[2025-02-09 02:22: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` >= '2025-02-08 23:22:05' and `end` < '2025-02-09 02:22: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 ,'')
[2025-02-09 02:22:12] Production.ERROR: CronJobId end10
[2025-02-09 02:22:12] Production.INFO: ==7305== Releasing lock...
[2025-02-09 02:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:22:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:22:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:22:14] Production.INFO: call_cost start
[2025-02-09 02:22:14] Production.INFO: call_cost end
[2025-02-09 02:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:22:15] Production.INFO: ==7301== Releasing lock...
[2025-02-09 02:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:22:18] Production.INFO: count ==895
[2025-02-09 02:22:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:22:05 - End Time 2025-02-09 02:22:05
[2025-02-09 02:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433965', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433965', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433965', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433965', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:22:18] Production.INFO: ProcessCDR(1,14433965,1,1,2)
[2025-02-09 02:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433965', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433965', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:22:22] Production.INFO: ==7310== Releasing lock...
[2025-02-09 02:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:22:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:23:01] Production.INFO: ==7394== Lock acquired, processing the job...
[2025-02-09 07:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:23:01] Production.INFO: neon service started
[2025-02-09 07:23:01] Production.INFO: neon service started
[2025-02-09 07:23:01] Production.INFO: ==7394== Releasing lock...
[2025-02-09 07:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:23:02] Production.INFO: ==7397== Lock acquired, processing the job...
[2025-02-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:23:02] Production.INFO: ==7399== Lock acquired, processing the job...
[2025-02-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:23:02] Production.INFO: ==7399== Releasing lock...
[2025-02-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:23:02] Production.INFO: ==7397== Releasing lock...
[2025-02-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:23:03] Production.INFO: ==7403== Lock acquired, processing the job...
[2025-02-09 02:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:23:03] Production.INFO: ==7409== Lock acquired, processing the job...
[2025-02-09 02:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:23:03] Production.INFO: Account Balance Start.
[2025-02-09 02:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:23:03] Production.INFO: 117
[2025-02-09 02:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:23:03] Production.INFO: ==7413== Lock acquired, processing the job...
[2025-02-09 02:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:23:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:23:03] Production.INFO: Total Charge 0
[2025-02-09 02:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:23:03] Production.INFO: CreateAllLog End
[2025-02-09 02:23:03] Production.INFO: count ==21
[2025-02-09 02:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:23:03] Production.INFO: count ==21
[2025-02-09 02:23:04] Production.INFO: ==7405== Lock acquired, processing the job...
[2025-02-09 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433968') start
[2025-02-09 02:23:04] Production.INFO: ==7407== Lock acquired, processing the job...
[2025-02-09 02:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:23:04] Production.INFO: ==7411== Lock acquired, processing the job...
[2025-02-09 02:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433968') end
[2025-02-09 02:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:23:04] Production.INFO: 1
[2025-02-09 02:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:23:04] Production.INFO: ==7413== Releasing lock...
[2025-02-09 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:23:04] Production.INFO: Account Balance End.
[2025-02-09 02:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:23:04] Production.INFO: ==7409== Releasing lock...
[2025-02-09 02:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:23:04] Production.ERROR: done
[2025-02-09 02:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:23:04] Production.ERROR: done
[2025-02-09 02:23:04] Production.INFO: ==7405== Releasing lock...
[2025-02-09 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:23:05
[end_date_ymd] => 2025-02-09 02:23:05
[RateCDR] => 1
)
[2025-02-09 02:23: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` >= '2025-02-08 23:23:05' and `end` < '2025-02-09 02:23: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 ,'')
[2025-02-09 02:23:12] Production.ERROR: CronJobId end10
[2025-02-09 02:23:12] Production.INFO: ==7407== Releasing lock...
[2025-02-09 02:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:23:14] Production.INFO: call_cost start
[2025-02-09 02:23:14] Production.INFO: call_cost end
[2025-02-09 02:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:23:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:23:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:23:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:23:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:23:15] Production.INFO: ==7403== Releasing lock...
[2025-02-09 02:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:23:19] Production.INFO: count ==895
[2025-02-09 02:23:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:23:05 - End Time 2025-02-09 02:23:05
[2025-02-09 02:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433970', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433970', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433970', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433970', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:23:19] Production.INFO: ProcessCDR(1,14433970,1,1,2)
[2025-02-09 02:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433970', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433970', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:23:22] Production.INFO: ==7411== Releasing lock...
[2025-02-09 02:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:23:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:24:02] Production.INFO: ==7533== Lock acquired, processing the job...
[2025-02-09 07:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:24:02] Production.INFO: neon service started
[2025-02-09 07:24:02] Production.INFO: neon service started
[2025-02-09 07:24:02] Production.INFO: ==7533== Releasing lock...
[2025-02-09 07:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:24:02] Production.INFO: ==7536== Lock acquired, processing the job...
[2025-02-09 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:24:02] Production.INFO: ==7538== Lock acquired, processing the job...
[2025-02-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:24:02] Production.INFO: ==7538== Releasing lock...
[2025-02-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:24:03] Production.INFO: ==7536== Releasing lock...
[2025-02-09 02:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:24:03] Production.INFO: ==7541== Lock acquired, processing the job...
[2025-02-09 02:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:24:03] Production.INFO: ==7545== Lock acquired, processing the job...
[2025-02-09 02:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:24:03] Production.INFO: ==7547== Lock acquired, processing the job...
[2025-02-09 02:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:24:04] Production.INFO: ==7543== Lock acquired, processing the job...
[2025-02-09 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:24:04] Production.INFO: Account Balance Start.
[2025-02-09 02:24:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:24:04] Production.INFO: 117
[2025-02-09 02:24:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:24:04] Production.INFO: ==7550== Lock acquired, processing the job...
[2025-02-09 02:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:24:04] Production.INFO: Total Charge 0
[2025-02-09 02:24:04] Production.INFO: CreateAllLog End
[2025-02-09 02:24:04] Production.INFO: ==7552== Lock acquired, processing the job...
[2025-02-09 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:24:04] Production.INFO: ==7543== Releasing lock...
[2025-02-09 02:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:24:04] Production.INFO: count ==21
[2025-02-09 02:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:24:04] Production.INFO: count ==21
[2025-02-09 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433974') start
[2025-02-09 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433974') end
[2025-02-09 02:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:24:04] Production.INFO: 1
[2025-02-09 02:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:24:04] Production.INFO: Account Balance End.
[2025-02-09 02:24:04] Production.INFO: ==7552== Releasing lock...
[2025-02-09 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:24:04] Production.ERROR: done
[2025-02-09 02:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:24:04] Production.INFO: ==7547== Releasing lock...
[2025-02-09 02:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:24:04] Production.ERROR: done
[2025-02-09 02:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:24:05
[end_date_ymd] => 2025-02-09 02:24:05
[RateCDR] => 1
)
[2025-02-09 02:24: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` >= '2025-02-08 23:24:05' and `end` < '2025-02-09 02:24: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 ,'')
[2025-02-09 02:24:12] Production.ERROR: CronJobId end10
[2025-02-09 02:24:12] Production.INFO: ==7545== Releasing lock...
[2025-02-09 02:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:24:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:24:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:24:15] Production.INFO: call_cost start
[2025-02-09 02:24:15] Production.INFO: call_cost end
[2025-02-09 02:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:24:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:24:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:24:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:24:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:24:16] Production.INFO: ==7541== Releasing lock...
[2025-02-09 02:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:24:18] Production.INFO: count ==895
[2025-02-09 02:24:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:24:05 - End Time 2025-02-09 02:24:05
[2025-02-09 02:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433975', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433975', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433975', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433975', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:24:18] Production.INFO: ProcessCDR(1,14433975,1,1,2)
[2025-02-09 02:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433975', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433975', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:24:21] Production.INFO: ==7550== Releasing lock...
[2025-02-09 02:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:24:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:25:01] Production.INFO: ==7627== Lock acquired, processing the job...
[2025-02-09 07:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:25:01] Production.INFO: neon service started
[2025-02-09 07:25:01] Production.INFO: neon service started
[2025-02-09 07:25:01] Production.INFO: ==7627== Releasing lock...
[2025-02-09 07:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:25:02] Production.INFO: ==7629== Lock acquired, processing the job...
[2025-02-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:25:02] Production.INFO: ==7629== Releasing lock...
[2025-02-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:25:02] Production.INFO: ==7631== Lock acquired, processing the job...
[2025-02-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:25:02] Production.INFO: ==7631== Releasing lock...
[2025-02-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:25:03] Production.INFO: ==7636== Lock acquired, processing the job...
[2025-02-09 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:25:03] Production.INFO: ==7644== Lock acquired, processing the job...
[2025-02-09 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:25:03] Production.INFO: ==7634== Lock acquired, processing the job...
[2025-02-09 02:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:25:03] Production.INFO: ==7638== Lock acquired, processing the job...
[2025-02-09 02:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:25:03] Production.INFO: count ==21
[2025-02-09 02:25:03] Production.INFO: ==7640== Lock acquired, processing the job...
[2025-02-09 02:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:25:03] Production.INFO: ==7636== Releasing lock...
[2025-02-09 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:25:03] Production.INFO: count ==21
[2025-02-09 02:25:03] Production.INFO: ==7642== Lock acquired, processing the job...
[2025-02-09 02:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433977') start
[2025-02-09 02:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:25:03] Production.INFO: Account Balance Start.
[2025-02-09 02:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:25:03] Production.INFO: 117
[2025-02-09 02:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433977') end
[2025-02-09 02:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:25:03] Production.INFO: 1
[2025-02-09 02:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:25:03] Production.INFO: ==7644== Releasing lock...
[2025-02-09 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:25:04] Production.ERROR: done
[2025-02-09 02:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:25:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:25:04] Production.ERROR: done
[2025-02-09 02:25:04] Production.INFO: Total Charge 0
[2025-02-09 02:25:04] Production.INFO: CreateAllLog End
[2025-02-09 02:25:04] Production.INFO: Account Balance End.
[2025-02-09 02:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:25:04] Production.INFO: ==7640== Releasing lock...
[2025-02-09 02:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:25:05
[end_date_ymd] => 2025-02-09 02:25:05
[RateCDR] => 1
)
[2025-02-09 02:25: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` >= '2025-02-08 23:25:05' and `end` < '2025-02-09 02:25: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 ,'')
[2025-02-09 02:25:12] Production.ERROR: CronJobId end10
[2025-02-09 02:25:12] Production.INFO: ==7638== Releasing lock...
[2025-02-09 02:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:25:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:25:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:25:14] Production.INFO: call_cost start
[2025-02-09 02:25:14] Production.INFO: call_cost end
[2025-02-09 02:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:25:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:25:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:25:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:25:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:25:15] Production.INFO: ==7634== Releasing lock...
[2025-02-09 02:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:25:18] Production.INFO: count ==895
[2025-02-09 02:25:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:25:05 - End Time 2025-02-09 02:25:05
[2025-02-09 02:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433980', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433980', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433980', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433980', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:25:18] Production.INFO: ProcessCDR(1,14433980,1,1,2)
[2025-02-09 02:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433980', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433980', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:25:21] Production.INFO: ==7642== Releasing lock...
[2025-02-09 02:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:25:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:26:02] Production.INFO: ==7728== Lock acquired, processing the job...
[2025-02-09 07:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:26:02] Production.INFO: neon service started
[2025-02-09 07:26:02] Production.INFO: neon service started
[2025-02-09 07:26:02] Production.INFO: ==7728== Releasing lock...
[2025-02-09 07:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:26:02] Production.INFO: ==7730== Lock acquired, processing the job...
[2025-02-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:26:02] Production.INFO: ==7732== Lock acquired, processing the job...
[2025-02-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:26:02] Production.INFO: ==7730== Releasing lock...
[2025-02-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:26:02] Production.INFO: ==7732== Releasing lock...
[2025-02-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:26:03] Production.INFO: ==7734== Lock acquired, processing the job...
[2025-02-09 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:26:03] Production.INFO: ==7736== Lock acquired, processing the job...
[2025-02-09 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:26:03] Production.INFO: ==7740== Lock acquired, processing the job...
[2025-02-09 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:26:03] Production.INFO: ==7738== Lock acquired, processing the job...
[2025-02-09 02:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:26:03] Production.INFO: ==7742== Lock acquired, processing the job...
[2025-02-09 02:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:26:04] Production.INFO: Account Balance Start.
[2025-02-09 02:26:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:26:04] Production.INFO: 117
[2025-02-09 02:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:26:04] Production.INFO: Total Charge 0
[2025-02-09 02:26:04] Production.INFO: ==7744== Lock acquired, processing the job...
[2025-02-09 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:26:04] Production.INFO: ==7736== Releasing lock...
[2025-02-09 02:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:26:04] Production.INFO: CreateAllLog End
[2025-02-09 02:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:26:04] Production.ERROR: done
[2025-02-09 02:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:26:04] Production.INFO: count ==21
[2025-02-09 02:26:04] Production.INFO: Account Balance End.
[2025-02-09 02:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:26:04] Production.INFO: count ==21
[2025-02-09 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433984') start
[2025-02-09 02:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:26:04] Production.INFO: ==7740== Releasing lock...
[2025-02-09 02:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:26:04] Production.ERROR: done
[2025-02-09 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433984') end
[2025-02-09 02:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:26:04] Production.INFO: 1
[2025-02-09 02:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:26:04] Production.INFO: ==7744== Releasing lock...
[2025-02-09 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:26:05
[end_date_ymd] => 2025-02-09 02:26:05
[RateCDR] => 1
)
[2025-02-09 02:26: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` >= '2025-02-08 23:26:05' and `end` < '2025-02-09 02:26: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 ,'')
[2025-02-09 02:26:12] Production.ERROR: CronJobId end10
[2025-02-09 02:26:12] Production.INFO: ==7738== Releasing lock...
[2025-02-09 02:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:26:15] Production.INFO: call_cost start
[2025-02-09 02:26:15] Production.INFO: call_cost end
[2025-02-09 02:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:26:15] Production.INFO: ==7734== Releasing lock...
[2025-02-09 02:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:26:19] Production.INFO: count ==894
[2025-02-09 02:26:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:26:05 - End Time 2025-02-09 02:26:05
[2025-02-09 02:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433985', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433985', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433985', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433985', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:26:19] Production.INFO: ProcessCDR(1,14433985,1,1,2)
[2025-02-09 02:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433985', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433985', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:26:22] Production.INFO: ==7742== Releasing lock...
[2025-02-09 02:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:26:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 07:27:01] Production.INFO: ==7823== Lock acquired, processing the job...
[2025-02-09 07:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:27:01] Production.INFO: neon service started
[2025-02-09 07:27:01] Production.INFO: neon service started
[2025-02-09 07:27:01] Production.INFO: ==7823== Releasing lock...
[2025-02-09 07:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:27:01] Production.INFO: ==7825== Lock acquired, processing the job...
[2025-02-09 02:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:27:02] Production.INFO: ==7825== Releasing lock...
[2025-02-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:27:02] Production.INFO: ==7827== Lock acquired, processing the job...
[2025-02-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:27:02] Production.INFO: ==7827== Releasing lock...
[2025-02-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:27:03] Production.INFO: ==7834== Lock acquired, processing the job...
[2025-02-09 02:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:27:03] Production.INFO: ==7830== Lock acquired, processing the job...
[2025-02-09 02:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:27:03] Production.INFO: ==7838== Lock acquired, processing the job...
[2025-02-09 02:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:27:03] Production.INFO: ==7832== Lock acquired, processing the job...
[2025-02-09 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:27:03] Production.INFO: ==7836== Lock acquired, processing the job...
[2025-02-09 02:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:27:03] Production.INFO: ==7840== Lock acquired, processing the job...
[2025-02-09 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:27:03] Production.ERROR: done
[2025-02-09 02:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:27:03] Production.INFO: Account Balance Start.
[2025-02-09 02:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:27:03] Production.INFO: 117
[2025-02-09 02:27:03] Production.INFO: count ==21
[2025-02-09 02:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:27:03] Production.INFO: count ==21
[2025-02-09 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433989') start
[2025-02-09 02:27:03] Production.ERROR: done
[2025-02-09 02:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:27:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:27:03] Production.INFO: Total Charge 0
[2025-02-09 02:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433989') end
[2025-02-09 02:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:27:03] Production.INFO: 1
[2025-02-09 02:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:27:03] Production.INFO: CreateAllLog End
[2025-02-09 02:27:03] Production.INFO: ==7840== Releasing lock...
[2025-02-09 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:27:04] Production.INFO: Account Balance End.
[2025-02-09 02:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:27:04] Production.INFO: ==7836== Releasing lock...
[2025-02-09 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:27:04] Production.INFO: ==7832== Releasing lock...
[2025-02-09 02:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:27:04
[end_date_ymd] => 2025-02-09 02:27:04
[RateCDR] => 1
)
[2025-02-09 02:27:04] 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-02-08 23:27:04' and `end` < '2025-02-09 02:27:04'
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-02-09 02:27:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,12))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 02:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:27:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:27:12] Production.ERROR: CronJobId end10
[2025-02-09 02:27:12] Production.INFO: ==7834== Releasing lock...
[2025-02-09 02:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:27:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:27:13] Production.INFO: call_cost start
[2025-02-09 02:27:13] Production.INFO: call_cost end
[2025-02-09 02:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:27:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:27:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:27:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:27:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:27:14] Production.INFO: ==7830== Releasing lock...
[2025-02-09 02:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:27:17] Production.INFO: count ==893
[2025-02-09 02:27:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:27:04 - End Time 2025-02-09 02:27:04
[2025-02-09 02:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433990', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433990', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433990', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433990', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:27:18] Production.INFO: ProcessCDR(1,14433990,1,1,2)
[2025-02-09 02:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433990', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433990', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:27:21] Production.INFO: ==7838== Releasing lock...
[2025-02-09 02:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:27:21] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 07:28:02] Production.INFO: ==7921== Lock acquired, processing the job...
[2025-02-09 07:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:28:02] Production.INFO: neon service started
[2025-02-09 07:28:02] Production.INFO: neon service started
[2025-02-09 07:28:02] Production.INFO: ==7921== Releasing lock...
[2025-02-09 07:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:28:02] Production.INFO: ==7923== Lock acquired, processing the job...
[2025-02-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:28:02] Production.INFO: ==7923== Releasing lock...
[2025-02-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:28:02] Production.INFO: ==7925== Lock acquired, processing the job...
[2025-02-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:28:02] Production.INFO: ==7925== Releasing lock...
[2025-02-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:28:03] Production.INFO: ==7928== Lock acquired, processing the job...
[2025-02-09 02:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:28:03] Production.INFO: ==7930== Lock acquired, processing the job...
[2025-02-09 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:28:03] Production.INFO: ==7932== Lock acquired, processing the job...
[2025-02-09 02:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:28:04] Production.INFO: ==7936== Lock acquired, processing the job...
[2025-02-09 02:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:28:04] Production.INFO: ==7934== Lock acquired, processing the job...
[2025-02-09 02:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:28:04] Production.INFO: ==7930== Releasing lock...
[2025-02-09 02:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:28:04] Production.INFO: ==7938== Lock acquired, processing the job...
[2025-02-09 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:28:04] Production.INFO: Account Balance Start.
[2025-02-09 02:28:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:28:04] Production.INFO: 117
[2025-02-09 02:28:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:28:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:28:04] Production.INFO: Total Charge 0
[2025-02-09 02:28:04] Production.INFO: CreateAllLog End
[2025-02-09 02:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:28:04] Production.INFO: count ==21
[2025-02-09 02:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:28:04] Production.INFO: count ==21
[2025-02-09 02:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433994') start
[2025-02-09 02:28:04] Production.ERROR: done
[2025-02-09 02:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433994') end
[2025-02-09 02:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:28:04] Production.INFO: 1
[2025-02-09 02:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:28:04] Production.INFO: ==7938== Releasing lock...
[2025-02-09 02:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:28:04] Production.ERROR: done
[2025-02-09 02:28:04] Production.INFO: Account Balance End.
[2025-02-09 02:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:28:04] Production.INFO: ==7934== Releasing lock...
[2025-02-09 02:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:28:05
[end_date_ymd] => 2025-02-09 02:28:05
[RateCDR] => 1
)
[2025-02-09 02:28: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` >= '2025-02-08 23:28:05' and `end` < '2025-02-09 02:28: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 ,'')
[2025-02-09 02:28:13] Production.ERROR: CronJobId end10
[2025-02-09 02:28:13] Production.INFO: ==7932== Releasing lock...
[2025-02-09 02:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:28:14] Production.INFO: call_cost start
[2025-02-09 02:28:14] Production.INFO: call_cost end
[2025-02-09 02:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:28:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:28:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:28:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:28:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:28:14] Production.INFO: ==7928== Releasing lock...
[2025-02-09 02:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:28:18] Production.INFO: count ==890
[2025-02-09 02:28:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:28:05 - End Time 2025-02-09 02:28:05
[2025-02-09 02:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433995', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14433995', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433995', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14433995', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:28:18] Production.INFO: ProcessCDR(1,14433995,1,1,2)
[2025-02-09 02:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14433995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14433995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14433995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14433995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433995', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14433995', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:28:22] Production.INFO: ==7936== Releasing lock...
[2025-02-09 02:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:28:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:29:01] Production.INFO: ==8013== Lock acquired, processing the job...
[2025-02-09 07:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:29:01] Production.INFO: neon service started
[2025-02-09 07:29:01] Production.INFO: neon service started
[2025-02-09 07:29:01] Production.INFO: ==8013== Releasing lock...
[2025-02-09 07:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:29:02] Production.INFO: ==8015== Lock acquired, processing the job...
[2025-02-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:29:02] Production.INFO: ==8017== Lock acquired, processing the job...
[2025-02-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:29:02] Production.INFO: ==8017== Releasing lock...
[2025-02-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:29:02] Production.INFO: ==8015== Releasing lock...
[2025-02-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:29:03] Production.INFO: ==8024== Lock acquired, processing the job...
[2025-02-09 02:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:29:03] Production.INFO: ==8030== Lock acquired, processing the job...
[2025-02-09 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:29:03] Production.INFO: ==8022== Lock acquired, processing the job...
[2025-02-09 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:29:03] Production.INFO: ==8020== Lock acquired, processing the job...
[2025-02-09 02:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:29:03] Production.INFO: ==8026== Lock acquired, processing the job...
[2025-02-09 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:29:03] Production.INFO: count ==21
[2025-02-09 02:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:29:03] Production.INFO: count ==21
[2025-02-09 02:29:03] Production.INFO: ==8028== Lock acquired, processing the job...
[2025-02-09 02:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14433996') start
[2025-02-09 02:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14433996') end
[2025-02-09 02:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:29:04] Production.INFO: 1
[2025-02-09 02:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:29:04] Production.INFO: Account Balance Start.
[2025-02-09 02:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:29:04] Production.INFO: 117
[2025-02-09 02:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:29:04] Production.INFO: Total Charge 0
[2025-02-09 02:29:04] Production.INFO: CreateAllLog End
[2025-02-09 02:29:04] Production.INFO: ==8030== Releasing lock...
[2025-02-09 02:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:29:04] Production.INFO: ==8022== Releasing lock...
[2025-02-09 02:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:29:04] Production.ERROR: done
[2025-02-09 02:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:29:04] Production.INFO: Account Balance End.
[2025-02-09 02:29:04] Production.ERROR: done
[2025-02-09 02:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:29:04] Production.INFO: ==8026== Releasing lock...
[2025-02-09 02:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:29:05
[end_date_ymd] => 2025-02-09 02:29:05
[RateCDR] => 1
)
[2025-02-09 02:29: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` >= '2025-02-08 23:29:05' and `end` < '2025-02-09 02:29: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 ,'')
[2025-02-09 02:29:12] Production.ERROR: CronJobId end10
[2025-02-09 02:29:12] Production.INFO: ==8024== Releasing lock...
[2025-02-09 02:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:29:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:29:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:29:14] Production.INFO: call_cost start
[2025-02-09 02:29:14] Production.INFO: call_cost end
[2025-02-09 02:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:29:15] Production.INFO: ==8020== Releasing lock...
[2025-02-09 02:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:29:19] Production.INFO: count ==888
[2025-02-09 02:29:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:29:05 - End Time 2025-02-09 02:29:05
[2025-02-09 02:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434000', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434000', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434000', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434000', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:29:19] Production.INFO: ProcessCDR(1,14434000,1,1,2)
[2025-02-09 02:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434000', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434000', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:29:22] Production.INFO: ==8028== Releasing lock...
[2025-02-09 02:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:29:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:30:02] Production.INFO: ==8113== Lock acquired, processing the job...
[2025-02-09 07:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:30:02] Production.INFO: neon service started
[2025-02-09 07:30:02] Production.INFO: neon service started
[2025-02-09 07:30:02] Production.INFO: ==8113== Releasing lock...
[2025-02-09 07:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:30:02] Production.INFO: ==8115== Lock acquired, processing the job...
[2025-02-09 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:30:02] Production.INFO: ==8117== Lock acquired, processing the job...
[2025-02-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:30:02] Production.INFO: ==8117== Releasing lock...
[2025-02-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:30:03] Production.INFO: ==8115== Releasing lock...
[2025-02-09 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:30:04] Production.INFO: ==8126== Lock acquired, processing the job...
[2025-02-09 02:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:30:04] Production.INFO: ==8120== Lock acquired, processing the job...
[2025-02-09 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 02:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 02:30:04] Production.ERROR: CronJob PID - 8126
[2025-02-09 02:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 02:30:04] Production.ERROR: CronJob ID - 10
[2025-02-09 02:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 02:30:00
[2025-02-09 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 02:30:04] Production.INFO: ==8122== Lock acquired, processing the job...
[2025-02-09 02:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:30:04] Production.INFO: ==8124== Lock acquired, processing the job...
[2025-02-09 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:30:04] Production.INFO: ==8132== Lock acquired, processing the job...
[2025-02-09 02:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 02:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 02:30:04] Production.INFO: ==8120== Releasing lock...
[2025-02-09 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 02:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 02:30:04] Production.INFO: ==8128== Lock acquired, processing the job...
[2025-02-09 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:30:04] Production.INFO: ==8130== Lock acquired, processing the job...
[2025-02-09 02:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:30:04] Production.INFO: ==8134== Lock acquired, processing the job...
[2025-02-09 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:30:04] Production.INFO: Account Balance Start.
[2025-02-09 02:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:30:04] Production.INFO: 117
[2025-02-09 02:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:30:04] Production.ERROR: done
[2025-02-09 02:30:04] Production.INFO: count ==21
[2025-02-09 02:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:30:04] Production.INFO: count ==21
[2025-02-09 02:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 02:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434005', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434004') start
[2025-02-09 02:30:04] Production.INFO: Total Charge 0
[2025-02-09 02:30:04] Production.INFO: CreateAllLog End
[2025-02-09 02:30:04] Production.ERROR: done
[2025-02-09 02:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434004') end
[2025-02-09 02:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:30:05] Production.INFO: 1
[2025-02-09 02:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:30:05] Production.ERROR: done
[2025-02-09 02:30:05] Production.INFO: ==8134== Releasing lock...
[2025-02-09 02:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:30:05] Production.INFO: Account Balance End.
[2025-02-09 02:30:05] Production.INFO: ==8124== Releasing lock...
[2025-02-09 02:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:30:05] Production.ERROR: CronJobId end 12
[2025-02-09 02:30:05] Production.INFO: ==8128== Releasing lock...
[2025-02-09 02:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:30:06
[end_date_ymd] => 2025-02-09 02:30:06
[RateCDR] => 1
)
[2025-02-09 02:30: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-02-08 23:30:06' and `end` < '2025-02-09 02:30: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-02-09 02:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434005', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 02:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 02:30:08] Production.INFO: ProcessCDR(1,14434005,1,1,2)
[2025-02-09 02:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434005,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434005,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:30:08] Production.INFO: ==8132== Releasing lock...
[2025-02-09 02:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 02:30:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 02:30:14] Production.ERROR: CronJobId end10
[2025-02-09 02:30:14] Production.INFO: ==8126== Releasing lock...
[2025-02-09 02:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:30:17] Production.INFO: call_cost start
[2025-02-09 02:30:17] Production.INFO: call_cost end
[2025-02-09 02:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:30:17] Production.INFO: ==8122== Releasing lock...
[2025-02-09 02:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:30:19] Production.INFO: count ==896
[2025-02-09 02:30:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:30:06 - End Time 2025-02-09 02:30:06
[2025-02-09 02:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434006', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434006', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434006', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434006', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:30:19] Production.INFO: ProcessCDR(1,14434006,1,1,2)
[2025-02-09 02:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434006', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434006', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:30:22] Production.INFO: ==8130== Releasing lock...
[2025-02-09 02:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:30:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:31:01] Production.INFO: ==8209== Lock acquired, processing the job...
[2025-02-09 07:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:31:01] Production.INFO: neon service started
[2025-02-09 07:31:01] Production.INFO: neon service started
[2025-02-09 07:31:01] Production.INFO: ==8209== Releasing lock...
[2025-02-09 07:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:31:02] Production.INFO: ==8213== Lock acquired, processing the job...
[2025-02-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:31:02] Production.INFO: ==8213== Releasing lock...
[2025-02-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:31:02] Production.INFO: ==8211== Lock acquired, processing the job...
[2025-02-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:31:02] Production.INFO: ==8211== Releasing lock...
[2025-02-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:31:03] Production.INFO: ==8222== Lock acquired, processing the job...
[2025-02-09 02:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:31:03] Production.INFO: Account Balance Start.
[2025-02-09 02:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:31:03] Production.INFO: 117
[2025-02-09 02:31:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:31:03] Production.INFO: ==8226== Lock acquired, processing the job...
[2025-02-09 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:31:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:31:03] Production.INFO: Total Charge 0
[2025-02-09 02:31:03] Production.INFO: ==8216== Lock acquired, processing the job...
[2025-02-09 02:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:31:03] Production.INFO: CreateAllLog End
[2025-02-09 02:31:03] Production.INFO: ==8218== Lock acquired, processing the job...
[2025-02-09 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:31:03] Production.INFO: ==8220== Lock acquired, processing the job...
[2025-02-09 02:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:31:03] Production.INFO: Account Balance End.
[2025-02-09 02:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:31:03] Production.ERROR: CronJobId end 12
[2025-02-09 02:31:03] Production.INFO: ==8222== Releasing lock...
[2025-02-09 02:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:31:03] Production.INFO: ==8224== Lock acquired, processing the job...
[2025-02-09 02:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:31:03] Production.INFO: count ==21
[2025-02-09 02:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:31:03] Production.INFO: count ==21
[2025-02-09 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434008') start
[2025-02-09 02:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434008') end
[2025-02-09 02:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:31:04] Production.INFO: 1
[2025-02-09 02:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:31:04] Production.INFO: ==8226== Releasing lock...
[2025-02-09 02:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:31:04] Production.INFO: ==8218== Releasing lock...
[2025-02-09 02:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:31:04] Production.ERROR: done
[2025-02-09 02:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:31:04] Production.ERROR: done
[2025-02-09 02:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:31:05
[end_date_ymd] => 2025-02-09 02:31:05
[RateCDR] => 1
)
[2025-02-09 02:31: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` >= '2025-02-08 23:31:05' and `end` < '2025-02-09 02:31: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 ,'')
[2025-02-09 02:31:13] Production.ERROR: CronJobId end10
[2025-02-09 02:31:13] Production.INFO: ==8220== Releasing lock...
[2025-02-09 02:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:31:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:31:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:31:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:31:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:31:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:31:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:31:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:31:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:31:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:31:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:31:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:31:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:31:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:31:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:31:15] Production.INFO: call_cost start
[2025-02-09 02:31:15] Production.INFO: call_cost end
[2025-02-09 02:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:31:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:31:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:31:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:31:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:31:16] Production.INFO: ==8216== Releasing lock...
[2025-02-09 02:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:31:18] Production.INFO: count ==923
[2025-02-09 02:31:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:31:05 - End Time 2025-02-09 02:31:05
[2025-02-09 02:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434011', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434011', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434011', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434011', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:31:18] Production.INFO: ProcessCDR(1,14434011,1,1,2)
[2025-02-09 02:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434011', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434011', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:31:21] Production.INFO: ==8224== Releasing lock...
[2025-02-09 02:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:31:21] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:32:02] Production.INFO: ==8306== Lock acquired, processing the job...
[2025-02-09 07:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:32:02] Production.INFO: neon service started
[2025-02-09 07:32:02] Production.INFO: neon service started
[2025-02-09 07:32:02] Production.INFO: ==8306== Releasing lock...
[2025-02-09 07:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:32:02] Production.INFO: ==8308== Lock acquired, processing the job...
[2025-02-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:32:02] Production.INFO: ==8310== Lock acquired, processing the job...
[2025-02-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:32:02] Production.INFO: ==8310== Releasing lock...
[2025-02-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:32:02] Production.INFO: ==8308== Releasing lock...
[2025-02-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:32:03] Production.INFO: ==8315== Lock acquired, processing the job...
[2025-02-09 02:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:32:03] Production.INFO: ==8313== Lock acquired, processing the job...
[2025-02-09 02:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:32:03] Production.INFO: ==8317== Lock acquired, processing the job...
[2025-02-09 02:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:32:03] Production.INFO: ==8321== Lock acquired, processing the job...
[2025-02-09 02:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:32:03] Production.INFO: ==8319== Lock acquired, processing the job...
[2025-02-09 02:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:32:04] Production.INFO: ==8315== Releasing lock...
[2025-02-09 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:32:04] Production.INFO: ==8323== Lock acquired, processing the job...
[2025-02-09 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:32:04] Production.INFO: Account Balance Start.
[2025-02-09 02:32:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:32:04] Production.INFO: 117
[2025-02-09 02:32:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:32:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:32:04] Production.INFO: count ==21
[2025-02-09 02:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:32:04] Production.INFO: count ==21
[2025-02-09 02:32:04] Production.ERROR: done
[2025-02-09 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434015') start
[2025-02-09 02:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:32:04] Production.INFO: Total Charge 0
[2025-02-09 02:32:04] Production.INFO: CreateAllLog End
[2025-02-09 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434015') end
[2025-02-09 02:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:32:04] Production.INFO: 1
[2025-02-09 02:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:32:04] Production.ERROR: done
[2025-02-09 02:32:04] Production.INFO: ==8323== Releasing lock...
[2025-02-09 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:32:04] Production.INFO: Account Balance End.
[2025-02-09 02:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:32:04] Production.INFO: ==8319== Releasing lock...
[2025-02-09 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:32:05
[end_date_ymd] => 2025-02-09 02:32:05
[RateCDR] => 1
)
[2025-02-09 02:32: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` >= '2025-02-08 23:32:05' and `end` < '2025-02-09 02:32: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 ,'')
[2025-02-09 02:32:11] Production.ERROR: CronJobId end10
[2025-02-09 02:32:11] Production.INFO: ==8317== Releasing lock...
[2025-02-09 02:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:32:14] Production.INFO: call_cost start
[2025-02-09 02:32:14] Production.INFO: call_cost end
[2025-02-09 02:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:32:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:32:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:32:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:32:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:32:15] Production.INFO: ==8313== Releasing lock...
[2025-02-09 02:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:32:19] Production.INFO: count ==923
[2025-02-09 02:32:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:32:05 - End Time 2025-02-09 02:32:05
[2025-02-09 02:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434016', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434016', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434016', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434016', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:32:19] Production.INFO: ProcessCDR(1,14434016,1,1,2)
[2025-02-09 02:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434016', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434016', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:32:22] Production.INFO: ==8321== Releasing lock...
[2025-02-09 02:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:32:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:33:01] Production.INFO: ==8404== Lock acquired, processing the job...
[2025-02-09 07:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:33:01] Production.INFO: neon service started
[2025-02-09 07:33:01] Production.INFO: neon service started
[2025-02-09 07:33:01] Production.INFO: ==8404== Releasing lock...
[2025-02-09 07:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:33:01] Production.INFO: ==8407== Lock acquired, processing the job...
[2025-02-09 02:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:33:02] Production.INFO: ==8407== Releasing lock...
[2025-02-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:33:02] Production.INFO: ==8409== Lock acquired, processing the job...
[2025-02-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:33:02] Production.INFO: ==8409== Releasing lock...
[2025-02-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:33:03] Production.INFO: ==8417== Lock acquired, processing the job...
[2025-02-09 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:33:03] Production.INFO: ==8419== Lock acquired, processing the job...
[2025-02-09 02:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:33:03] Production.INFO: Account Balance Start.
[2025-02-09 02:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:33:03] Production.INFO: 117
[2025-02-09 02:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:33:03] Production.INFO: ==8411== Lock acquired, processing the job...
[2025-02-09 02:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:33:03] Production.INFO: ==8415== Lock acquired, processing the job...
[2025-02-09 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:33:03] Production.INFO: Total Charge 0
[2025-02-09 02:33:03] Production.INFO: ==8413== Lock acquired, processing the job...
[2025-02-09 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:33:03] Production.INFO: CreateAllLog End
[2025-02-09 02:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:33:03] Production.INFO: ==8421== Lock acquired, processing the job...
[2025-02-09 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:33:03] Production.ERROR: done
[2025-02-09 02:33:03] Production.INFO: Account Balance End.
[2025-02-09 02:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:33:03] Production.INFO: count ==21
[2025-02-09 02:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:33:03] Production.INFO: count ==21
[2025-02-09 02:33:03] Production.ERROR: CronJobId end 12
[2025-02-09 02:33:03] Production.INFO: ==8417== Releasing lock...
[2025-02-09 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434020') start
[2025-02-09 02:33:03] Production.ERROR: done
[2025-02-09 02:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434020') end
[2025-02-09 02:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:33:03] Production.INFO: 1
[2025-02-09 02:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:33:04] Production.INFO: ==8421== Releasing lock...
[2025-02-09 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:33:04] Production.INFO: ==8413== Releasing lock...
[2025-02-09 02:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:33:05
[end_date_ymd] => 2025-02-09 02:33:05
[RateCDR] => 1
)
[2025-02-09 02:33: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` >= '2025-02-08 23:33:05' and `end` < '2025-02-09 02:33: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 ,'')
[2025-02-09 02:33:11] Production.ERROR: CronJobId end10
[2025-02-09 02:33:11] Production.INFO: ==8415== Releasing lock...
[2025-02-09 02:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:33:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:33:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:33:14] Production.INFO: call_cost start
[2025-02-09 02:33:14] Production.INFO: call_cost end
[2025-02-09 02:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:33:15] Production.INFO: ==8411== Releasing lock...
[2025-02-09 02:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:33:17] Production.INFO: count ==921
[2025-02-09 02:33:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:33:05 - End Time 2025-02-09 02:33:05
[2025-02-09 02:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434021', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434021', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434021', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434021', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:33:18] Production.INFO: ProcessCDR(1,14434021,1,1,2)
[2025-02-09 02:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434021', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434021', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:33:21] Production.INFO: ==8419== Releasing lock...
[2025-02-09 02:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:33:21] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:34:02] Production.INFO: ==8505== Lock acquired, processing the job...
[2025-02-09 07:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:34:02] Production.INFO: neon service started
[2025-02-09 07:34:02] Production.INFO: neon service started
[2025-02-09 07:34:02] Production.INFO: ==8505== Releasing lock...
[2025-02-09 07:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:34:02] Production.INFO: ==8507== Lock acquired, processing the job...
[2025-02-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:34:02] Production.INFO: ==8507== Releasing lock...
[2025-02-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:34:02] Production.INFO: ==8509== Lock acquired, processing the job...
[2025-02-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:34:02] Production.INFO: ==8509== Releasing lock...
[2025-02-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:34:03] Production.INFO: ==8514== Lock acquired, processing the job...
[2025-02-09 02:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:34:03] Production.INFO: ==8512== Lock acquired, processing the job...
[2025-02-09 02:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:34:03] Production.INFO: ==8523== Lock acquired, processing the job...
[2025-02-09 02:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:34:03] Production.INFO: ==8517== Lock acquired, processing the job...
[2025-02-09 02:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:34:03] Production.INFO: ==8521== Lock acquired, processing the job...
[2025-02-09 02:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:34:03] Production.INFO: ==8519== Lock acquired, processing the job...
[2025-02-09 02:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:34:03] Production.INFO: count ==21
[2025-02-09 02:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:34:03] Production.INFO: count ==21
[2025-02-09 02:34:03] Production.INFO: Account Balance Start.
[2025-02-09 02:34:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434023') start
[2025-02-09 02:34:04] Production.INFO: 117
[2025-02-09 02:34:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:34:04] Production.INFO: ==8514== Releasing lock...
[2025-02-09 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434023') end
[2025-02-09 02:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:34:04] Production.INFO: 1
[2025-02-09 02:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:34:04] Production.INFO: Total Charge 0
[2025-02-09 02:34:04] Production.INFO: CreateAllLog End
[2025-02-09 02:34:04] Production.INFO: ==8523== Releasing lock...
[2025-02-09 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:34:04] Production.ERROR: done
[2025-02-09 02:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:34:04] Production.ERROR: done
[2025-02-09 02:34:04] Production.INFO: Account Balance End.
[2025-02-09 02:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:34:04] Production.INFO: ==8519== Releasing lock...
[2025-02-09 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:34:05
[end_date_ymd] => 2025-02-09 02:34:05
[RateCDR] => 1
)
[2025-02-09 02:34: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` >= '2025-02-08 23:34:05' and `end` < '2025-02-09 02:34: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 ,'')
[2025-02-09 02:34:13] Production.ERROR: CronJobId end10
[2025-02-09 02:34:13] Production.INFO: ==8517== Releasing lock...
[2025-02-09 02:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:34:15] Production.INFO: call_cost start
[2025-02-09 02:34:15] Production.INFO: call_cost end
[2025-02-09 02:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:34:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:34:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:34:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:34:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:34:16] Production.INFO: ==8512== Releasing lock...
[2025-02-09 02:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:34:19] Production.INFO: count ==921
[2025-02-09 02:34:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:34:05 - End Time 2025-02-09 02:34:05
[2025-02-09 02:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434026', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434026', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434026', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434026', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:34:19] Production.INFO: ProcessCDR(1,14434026,1,1,2)
[2025-02-09 02:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434026', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434026', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:34:22] Production.INFO: ==8521== Releasing lock...
[2025-02-09 02:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:34:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:35:01] Production.INFO: ==8602== Lock acquired, processing the job...
[2025-02-09 07:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:35:01] Production.INFO: neon service started
[2025-02-09 07:35:01] Production.INFO: neon service started
[2025-02-09 07:35:01] Production.INFO: ==8602== Releasing lock...
[2025-02-09 07:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:35:01] Production.INFO: ==8606== Lock acquired, processing the job...
[2025-02-09 07:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:35:01] Production.INFO: ==8606== Releasing lock...
[2025-02-09 07:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:35:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:35:02] Production.INFO: ==8604== Lock acquired, processing the job...
[2025-02-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:35:02] Production.INFO: ==8604== Releasing lock...
[2025-02-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:35:03] Production.INFO: ==8608== Lock acquired, processing the job...
[2025-02-09 02:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:35:03] Production.INFO: ==8610== Lock acquired, processing the job...
[2025-02-09 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:35:03] Production.INFO: ==8618== Lock acquired, processing the job...
[2025-02-09 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:35:03] Production.INFO: ==8610== Releasing lock...
[2025-02-09 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:35:03] Production.INFO: ==8614== Lock acquired, processing the job...
[2025-02-09 02:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:35:03] Production.INFO: count ==21
[2025-02-09 02:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:35:03] Production.INFO: count ==21
[2025-02-09 02:35:03] Production.INFO: ==8612== Lock acquired, processing the job...
[2025-02-09 02:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434029') start
[2025-02-09 02:35:03] Production.INFO: Account Balance Start.
[2025-02-09 02:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:35:03] Production.INFO: 117
[2025-02-09 02:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:35:03] Production.INFO: ==8616== Lock acquired, processing the job...
[2025-02-09 02:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:35:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434029') end
[2025-02-09 02:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:35:03] Production.INFO: 1
[2025-02-09 02:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:35:03] Production.INFO: ==8618== Releasing lock...
[2025-02-09 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:35:03] Production.INFO: Total Charge 0
[2025-02-09 02:35:03] Production.INFO: CreateAllLog End
[2025-02-09 02:35:04] Production.ERROR: done
[2025-02-09 02:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:35:04] Production.INFO: Account Balance End.
[2025-02-09 02:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:35:04] Production.INFO: ==8614== Releasing lock...
[2025-02-09 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:35:04] Production.ERROR: done
[2025-02-09 02:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:35:05
[end_date_ymd] => 2025-02-09 02:35:05
[RateCDR] => 1
)
[2025-02-09 02:35: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` >= '2025-02-08 23:35:05' and `end` < '2025-02-09 02:35: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 ,'')
[2025-02-09 02:35:11] Production.ERROR: CronJobId end10
[2025-02-09 02:35:11] Production.INFO: ==8612== Releasing lock...
[2025-02-09 02:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:35:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:35:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:35:14] Production.INFO: call_cost start
[2025-02-09 02:35:14] Production.INFO: call_cost end
[2025-02-09 02:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:35:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:35:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:35:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:35:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:35:15] Production.INFO: ==8608== Releasing lock...
[2025-02-09 02:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:35:18] Production.INFO: count ==920
[2025-02-09 02:35:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:35:05 - End Time 2025-02-09 02:35:05
[2025-02-09 02:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434031', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434031', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434031', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434031', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:35:18] Production.INFO: ProcessCDR(1,14434031,1,1,2)
[2025-02-09 02:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434031', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434031', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:35:21] Production.INFO: ==8616== Releasing lock...
[2025-02-09 02:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:35:21] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:36:01] Production.INFO: ==8703== Lock acquired, processing the job...
[2025-02-09 07:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:36:02] Production.INFO: neon service started
[2025-02-09 07:36:02] Production.INFO: neon service started
[2025-02-09 07:36:02] Production.INFO: ==8703== Releasing lock...
[2025-02-09 07:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:36:02] Production.INFO: ==8705== Lock acquired, processing the job...
[2025-02-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:36:02] Production.INFO: ==8708== Lock acquired, processing the job...
[2025-02-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:36:02] Production.INFO: ==8708== Releasing lock...
[2025-02-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:36:03] Production.INFO: ==8705== Releasing lock...
[2025-02-09 02:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:36:04] Production.INFO: ==8716== Lock acquired, processing the job...
[2025-02-09 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:36:04] Production.INFO: ==8720== Lock acquired, processing the job...
[2025-02-09 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:36:04] Production.INFO: Account Balance Start.
[2025-02-09 02:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:36:04] Production.INFO: 117
[2025-02-09 02:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:36:04] Production.INFO: ==8710== Lock acquired, processing the job...
[2025-02-09 02:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:36:04] Production.INFO: ==8712== Lock acquired, processing the job...
[2025-02-09 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:36:04] Production.INFO: Total Charge 0
[2025-02-09 02:36:04] Production.INFO: ==8714== Lock acquired, processing the job...
[2025-02-09 02:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:36:04] Production.INFO: CreateAllLog End
[2025-02-09 02:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:36:04] Production.INFO: ==8718== Lock acquired, processing the job...
[2025-02-09 02:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:36:04] Production.INFO: count ==21
[2025-02-09 02:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:36:04] Production.INFO: count ==21
[2025-02-09 02:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434033') start
[2025-02-09 02:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434033') end
[2025-02-09 02:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:36:04] Production.INFO: 1
[2025-02-09 02:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:36:04] Production.INFO: ==8720== Releasing lock...
[2025-02-09 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:36:04] Production.INFO: Account Balance End.
[2025-02-09 02:36:04] Production.INFO: ==8712== Releasing lock...
[2025-02-09 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:36:04] Production.ERROR: done
[2025-02-09 02:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:36:04] Production.INFO: ==8716== Releasing lock...
[2025-02-09 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:36:04] Production.ERROR: done
[2025-02-09 02:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:36:05
[end_date_ymd] => 2025-02-09 02:36:05
[RateCDR] => 1
)
[2025-02-09 02:36: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` >= '2025-02-08 23:36:05' and `end` < '2025-02-09 02:36: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 ,'')
[2025-02-09 02:36:12] Production.ERROR: CronJobId end10
[2025-02-09 02:36:12] Production.INFO: ==8714== Releasing lock...
[2025-02-09 02:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:36:14] Production.INFO: call_cost start
[2025-02-09 02:36:14] Production.INFO: call_cost end
[2025-02-09 02:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:36:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:36:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:36:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:36:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:36:15] Production.INFO: ==8710== Releasing lock...
[2025-02-09 02:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:36:19] Production.INFO: count ==920
[2025-02-09 02:36:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:36:05 - End Time 2025-02-09 02:36:05
[2025-02-09 02:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434036', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434036', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434036', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434036', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:36:19] Production.INFO: ProcessCDR(1,14434036,1,1,2)
[2025-02-09 02:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434036', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434036', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:36:22] Production.INFO: ==8718== Releasing lock...
[2025-02-09 02:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:36:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:37:01] Production.INFO: ==8797== Lock acquired, processing the job...
[2025-02-09 07:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:37:01] Production.INFO: neon service started
[2025-02-09 07:37:01] Production.INFO: neon service started
[2025-02-09 07:37:01] Production.INFO: ==8797== Releasing lock...
[2025-02-09 07:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:37:02] Production.INFO: ==8799== Lock acquired, processing the job...
[2025-02-09 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:37:02] Production.INFO: ==8802== Lock acquired, processing the job...
[2025-02-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:37:02] Production.INFO: ==8802== Releasing lock...
[2025-02-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:37:02] Production.INFO: ==8799== Releasing lock...
[2025-02-09 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:37:03] Production.INFO: ==8804== Lock acquired, processing the job...
[2025-02-09 02:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:37:03] Production.INFO: ==8806== Lock acquired, processing the job...
[2025-02-09 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:37:03] Production.INFO: ==8808== Lock acquired, processing the job...
[2025-02-09 02:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:37:03] Production.INFO: ==8810== Lock acquired, processing the job...
[2025-02-09 02:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:37:03] Production.INFO: Account Balance Start.
[2025-02-09 02:37:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:37:03] Production.INFO: 117
[2025-02-09 02:37:03] Production.INFO: ==8806== Releasing lock...
[2025-02-09 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:37:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:37:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:37:03] Production.INFO: Total Charge 0
[2025-02-09 02:37:03] Production.INFO: CreateAllLog End
[2025-02-09 02:37:04] Production.INFO: Account Balance End.
[2025-02-09 02:37:04] Production.INFO: ==8812== Lock acquired, processing the job...
[2025-02-09 02:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:37:04] Production.INFO: ==8814== Lock acquired, processing the job...
[2025-02-09 02:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:37:04] Production.INFO: ==8810== Releasing lock...
[2025-02-09 02:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:37:04] Production.INFO: count ==21
[2025-02-09 02:37:04] Production.ERROR: done
[2025-02-09 02:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:37:04] Production.INFO: count ==21
[2025-02-09 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434040') start
[2025-02-09 02:37:04] Production.ERROR: done
[2025-02-09 02:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434040') end
[2025-02-09 02:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:37:04] Production.INFO: 1
[2025-02-09 02:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:37:04] Production.INFO: ==8814== Releasing lock...
[2025-02-09 02:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:37:05
[end_date_ymd] => 2025-02-09 02:37:05
[RateCDR] => 1
)
[2025-02-09 02:37: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` >= '2025-02-08 23:37:05' and `end` < '2025-02-09 02:37: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 ,'')
[2025-02-09 02:37:12] Production.ERROR: CronJobId end10
[2025-02-09 02:37:12] Production.INFO: ==8808== Releasing lock...
[2025-02-09 02:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:37:14] Production.INFO: call_cost start
[2025-02-09 02:37:14] Production.INFO: call_cost end
[2025-02-09 02:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:37:15] Production.INFO: ==8804== Releasing lock...
[2025-02-09 02:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:37:18] Production.INFO: count ==917
[2025-02-09 02:37:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:37:05 - End Time 2025-02-09 02:37:05
[2025-02-09 02:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434041', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434041', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434041', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434041', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:37:18] Production.INFO: ProcessCDR(1,14434041,1,1,2)
[2025-02-09 02:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434041', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434041', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:37:22] Production.INFO: ==8812== Releasing lock...
[2025-02-09 02:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:37:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:38:01] Production.INFO: ==8893== Lock acquired, processing the job...
[2025-02-09 07:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:38:01] Production.INFO: neon service started
[2025-02-09 07:38:02] Production.INFO: neon service started
[2025-02-09 07:38:02] Production.INFO: ==8893== Releasing lock...
[2025-02-09 07:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:38:02] Production.INFO: ==8895== Lock acquired, processing the job...
[2025-02-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:38:02] Production.INFO: ==8895== Releasing lock...
[2025-02-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:38:02] Production.INFO: ==8897== Lock acquired, processing the job...
[2025-02-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:38:02] Production.INFO: ==8897== Releasing lock...
[2025-02-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:38:03] Production.INFO: ==8906== Lock acquired, processing the job...
[2025-02-09 02:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:38:03] Production.INFO: ==8908== Lock acquired, processing the job...
[2025-02-09 02:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:38:03] Production.INFO: Account Balance Start.
[2025-02-09 02:38:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:38:03] Production.INFO: 117
[2025-02-09 02:38:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:38:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:38:04] Production.INFO: ==8902== Lock acquired, processing the job...
[2025-02-09 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:38:04] Production.INFO: ==8900== Lock acquired, processing the job...
[2025-02-09 02:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:38:04] Production.INFO: ==8904== Lock acquired, processing the job...
[2025-02-09 02:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:38:04] Production.INFO: Total Charge 0
[2025-02-09 02:38:04] Production.INFO: ==8910== Lock acquired, processing the job...
[2025-02-09 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:38:04] Production.INFO: CreateAllLog End
[2025-02-09 02:38:04] Production.ERROR: done
[2025-02-09 02:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:38:04] Production.INFO: Account Balance End.
[2025-02-09 02:38:04] Production.INFO: count ==21
[2025-02-09 02:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:38:04] Production.INFO: ==8906== Releasing lock...
[2025-02-09 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:38:04] Production.INFO: count ==21
[2025-02-09 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434043') start
[2025-02-09 02:38:04] Production.ERROR: done
[2025-02-09 02:38:04] Production.INFO: ==8902== Releasing lock...
[2025-02-09 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434043') end
[2025-02-09 02:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:38:04] Production.INFO: 1
[2025-02-09 02:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:38:04] Production.INFO: ==8910== Releasing lock...
[2025-02-09 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:38:05
[end_date_ymd] => 2025-02-09 02:38:05
[RateCDR] => 1
)
[2025-02-09 02:38: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` >= '2025-02-08 23:38:05' and `end` < '2025-02-09 02:38: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 ,'')
[2025-02-09 02:38:12] Production.ERROR: CronJobId end10
[2025-02-09 02:38:12] Production.INFO: ==8904== Releasing lock...
[2025-02-09 02:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:38:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:38:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:38:14] Production.INFO: call_cost start
[2025-02-09 02:38:14] Production.INFO: call_cost end
[2025-02-09 02:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:38:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:38:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:38:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:38:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:38:15] Production.INFO: ==8900== Releasing lock...
[2025-02-09 02:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:38:18] Production.INFO: count ==916
[2025-02-09 02:38:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:38:05 - End Time 2025-02-09 02:38:05
[2025-02-09 02:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434046', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434046', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434046', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434046', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:38:18] Production.INFO: ProcessCDR(1,14434046,1,1,2)
[2025-02-09 02:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434046', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434046', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:38:21] Production.INFO: ==8908== Releasing lock...
[2025-02-09 02:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:38:21] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:39:01] Production.INFO: ==9029== Lock acquired, processing the job...
[2025-02-09 07:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:39:01] Production.INFO: neon service started
[2025-02-09 07:39:01] Production.INFO: neon service started
[2025-02-09 07:39:01] Production.INFO: ==9029== Releasing lock...
[2025-02-09 07:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:39:02] Production.INFO: ==9033== Lock acquired, processing the job...
[2025-02-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:39:02] Production.INFO: ==9035== Lock acquired, processing the job...
[2025-02-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:39:02] Production.INFO: ==9035== Releasing lock...
[2025-02-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:39:02] Production.INFO: ==9033== Releasing lock...
[2025-02-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:39:03] Production.INFO: ==9042== Lock acquired, processing the job...
[2025-02-09 02:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:39:03] Production.INFO: ==9048== Lock acquired, processing the job...
[2025-02-09 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:39:03] Production.INFO: ==9038== Lock acquired, processing the job...
[2025-02-09 02:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:39:03] Production.INFO: ==9040== Lock acquired, processing the job...
[2025-02-09 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:39:03] Production.INFO: count ==21
[2025-02-09 02:39:03] Production.INFO: ==9046== Lock acquired, processing the job...
[2025-02-09 02:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:39:03] Production.INFO: ==9044== Lock acquired, processing the job...
[2025-02-09 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:39:03] Production.INFO: count ==21
[2025-02-09 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434047') start
[2025-02-09 02:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:39:03] Production.INFO: Account Balance Start.
[2025-02-09 02:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:39:03] Production.INFO: 117
[2025-02-09 02:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434047') end
[2025-02-09 02:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:39:03] Production.INFO: 1
[2025-02-09 02:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:39:03] Production.INFO: ==9048== Releasing lock...
[2025-02-09 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:39:03] Production.INFO: Total Charge 0
[2025-02-09 02:39:04] Production.INFO: ==9040== Releasing lock...
[2025-02-09 02:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:39:04] Production.INFO: CreateAllLog End
[2025-02-09 02:39:04] Production.ERROR: done
[2025-02-09 02:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:39:04] Production.ERROR: done
[2025-02-09 02:39:04] Production.INFO: Account Balance End.
[2025-02-09 02:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:39:04] Production.INFO: ==9044== Releasing lock...
[2025-02-09 02:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:39:05
[end_date_ymd] => 2025-02-09 02:39:05
[RateCDR] => 1
)
[2025-02-09 02:39: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` >= '2025-02-08 23:39:05' and `end` < '2025-02-09 02:39: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 ,'')
[2025-02-09 02:39:10] Production.ERROR: CronJobId end10
[2025-02-09 02:39:10] Production.INFO: ==9042== Releasing lock...
[2025-02-09 02:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:39:14] Production.INFO: call_cost start
[2025-02-09 02:39:14] Production.INFO: call_cost end
[2025-02-09 02:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:39:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:39:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:39:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:39:15] Production.INFO: ==9038== Releasing lock...
[2025-02-09 02:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:39:18] Production.INFO: count ==916
[2025-02-09 02:39:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:39:05 - End Time 2025-02-09 02:39:05
[2025-02-09 02:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434051', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434051', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434051', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434051', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:39:18] Production.INFO: ProcessCDR(1,14434051,1,1,2)
[2025-02-09 02:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434051', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434051', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:39:21] Production.INFO: ==9046== Releasing lock...
[2025-02-09 02:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:39:21] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:40:01] Production.INFO: ==9120== Lock acquired, processing the job...
[2025-02-09 07:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:40:01] Production.INFO: neon service started
[2025-02-09 07:40:01] Production.INFO: neon service started
[2025-02-09 07:40:01] Production.INFO: ==9120== Releasing lock...
[2025-02-09 07:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:40:02] Production.INFO: ==9122== Lock acquired, processing the job...
[2025-02-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:40:02] Production.INFO: ==9124== Lock acquired, processing the job...
[2025-02-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:40:02] Production.INFO: ==9122== Releasing lock...
[2025-02-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:40:02] Production.INFO: ==9124== Releasing lock...
[2025-02-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:40:03] Production.INFO: ==9131== Lock acquired, processing the job...
[2025-02-09 02:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:40:03] Production.INFO: ==9127== Lock acquired, processing the job...
[2025-02-09 02:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 02:40:03] Production.INFO: ==9139== Lock acquired, processing the job...
[2025-02-09 02:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 02:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 02:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 02:40:03] Production.ERROR: CronJob PID - 9131
[2025-02-09 02:40:03] Production.ERROR: CronJob Title - Account Block
[2025-02-09 02:40:03] Production.ERROR: CronJob ID - 7
[2025-02-09 02:40:03] Production.ERROR: CronJob Last Run Time 2025-02-09 02:40:00
[2025-02-09 02:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 02:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 02:40:03] Production.INFO: ==9141== Lock acquired, processing the job...
[2025-02-09 02:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 02:40:04] Production.INFO: ==9127== Releasing lock...
[2025-02-09 02:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 02:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 02:40:04] Production.INFO: ==9129== Lock acquired, processing the job...
[2025-02-09 02:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:40:04] Production.INFO: ==9133== Lock acquired, processing the job...
[2025-02-09 02:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:40:04] Production.INFO: count ==21
[2025-02-09 02:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:40:04] Production.INFO: count ==21
[2025-02-09 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434053') start
[2025-02-09 02:40:04] Production.INFO: ==9137== Lock acquired, processing the job...
[2025-02-09 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:40:04] Production.INFO: ==9135== Lock acquired, processing the job...
[2025-02-09 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:40:04] Production.INFO: ==9131== Releasing lock...
[2025-02-09 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434053') end
[2025-02-09 02:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:40:04] Production.INFO: 1
[2025-02-09 02:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:40:04] Production.INFO: ==9141== Releasing lock...
[2025-02-09 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:40:04] Production.ERROR: done
[2025-02-09 02:40:04] Production.INFO: Account Balance Start.
[2025-02-09 02:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:40:04] Production.INFO: 117
[2025-02-09 02:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 02:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434056', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 02:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:40:04] Production.INFO: Total Charge 0
[2025-02-09 02:40:04] Production.INFO: CreateAllLog End
[2025-02-09 02:40:04] Production.ERROR: done
[2025-02-09 02:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:40:04] Production.ERROR: done
[2025-02-09 02:40:04] Production.INFO: Account Balance End.
[2025-02-09 02:40:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:40:04] Production.INFO: ==9135== Releasing lock...
[2025-02-09 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:40:06
[end_date_ymd] => 2025-02-09 02:40:06
[RateCDR] => 1
)
[2025-02-09 02:40: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-02-08 23:40:06' and `end` < '2025-02-09 02:40: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-02-09 02:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434056', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 02:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 02:40:09] Production.INFO: ProcessCDR(1,14434056,1,1,2)
[2025-02-09 02:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434056,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434056,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:40:09] Production.INFO: ==9139== Releasing lock...
[2025-02-09 02:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 02:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 02:40:13] Production.ERROR: CronJobId end10
[2025-02-09 02:40:13] Production.INFO: ==9133== Releasing lock...
[2025-02-09 02:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:40:16] Production.INFO: call_cost start
[2025-02-09 02:40:16] Production.INFO: call_cost end
[2025-02-09 02:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:40:17] Production.INFO: ==9129== Releasing lock...
[2025-02-09 02:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:40:19] Production.INFO: count ==924
[2025-02-09 02:40:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:40:06 - End Time 2025-02-09 02:40:06
[2025-02-09 02:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434057', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434057', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434057', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434057', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:40:19] Production.INFO: ProcessCDR(1,14434057,1,1,2)
[2025-02-09 02:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434057', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434057', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:40:22] Production.INFO: ==9137== Releasing lock...
[2025-02-09 02:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:40:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:41:02] Production.INFO: ==9200== Lock acquired, processing the job...
[2025-02-09 07:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:41:02] Production.INFO: neon service started
[2025-02-09 07:41:02] Production.INFO: neon service started
[2025-02-09 07:41:02] Production.INFO: ==9200== Releasing lock...
[2025-02-09 07:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:41:02] Production.INFO: ==9203== Lock acquired, processing the job...
[2025-02-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:41:02] Production.INFO: ==9205== Lock acquired, processing the job...
[2025-02-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:41:03] Production.INFO: ==9205== Releasing lock...
[2025-02-09 07:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:41:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:41:03] Production.INFO: ==9203== Releasing lock...
[2025-02-09 02:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:41:03] Production.INFO: ==9207== Lock acquired, processing the job...
[2025-02-09 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:41:04] Production.INFO: ==9209== Lock acquired, processing the job...
[2025-02-09 02:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:41:04] Production.INFO: ==9215== Lock acquired, processing the job...
[2025-02-09 02:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:41:04] Production.INFO: ==9211== Lock acquired, processing the job...
[2025-02-09 02:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:41:04] Production.INFO: ==9217== Lock acquired, processing the job...
[2025-02-09 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:41:04] Production.INFO: ==9213== Lock acquired, processing the job...
[2025-02-09 02:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:41:04] Production.INFO: ==9209== Releasing lock...
[2025-02-09 02:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:41:04] Production.INFO: Account Balance Start.
[2025-02-09 02:41:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:41:04] Production.INFO: 117
[2025-02-09 02:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:41:04] Production.ERROR: done
[2025-02-09 02:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:41:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:41:04] Production.INFO: count ==21
[2025-02-09 02:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:41:04] Production.INFO: count ==21
[2025-02-09 02:41:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434060') start
[2025-02-09 02:41:04] Production.INFO: Total Charge 0
[2025-02-09 02:41:04] Production.INFO: CreateAllLog End
[2025-02-09 02:41:04] Production.ERROR: done
[2025-02-09 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434060') end
[2025-02-09 02:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:41:04] Production.INFO: 1
[2025-02-09 02:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:41:04] Production.INFO: ==9217== Releasing lock...
[2025-02-09 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:41:04] Production.INFO: Account Balance End.
[2025-02-09 02:41:05] Production.ERROR: CronJobId end 12
[2025-02-09 02:41:05] Production.INFO: ==9213== Releasing lock...
[2025-02-09 02:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:41:05
[end_date_ymd] => 2025-02-09 02:41:05
[RateCDR] => 1
)
[2025-02-09 02:41: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` >= '2025-02-08 23:41:05' and `end` < '2025-02-09 02:41: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 ,'')
[2025-02-09 02:41:12] Production.ERROR: CronJobId end10
[2025-02-09 02:41:12] Production.INFO: ==9211== Releasing lock...
[2025-02-09 02:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:41:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:41:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:41:15] Production.INFO: call_cost start
[2025-02-09 02:41:15] Production.INFO: call_cost end
[2025-02-09 02:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:41:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:41:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:41:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:41:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:41:16] Production.INFO: ==9207== Releasing lock...
[2025-02-09 02:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:41:18] Production.INFO: count ==939
[2025-02-09 02:41:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:41:05 - End Time 2025-02-09 02:41:05
[2025-02-09 02:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434062', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434062', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434062', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434062', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:41:19] Production.INFO: ProcessCDR(1,14434062,1,1,2)
[2025-02-09 02:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434062', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434062', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:41:22] Production.INFO: ==9215== Releasing lock...
[2025-02-09 02:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:41:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:42:01] Production.INFO: ==9277== Lock acquired, processing the job...
[2025-02-09 07:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:42:01] Production.INFO: neon service started
[2025-02-09 07:42:01] Production.INFO: neon service started
[2025-02-09 07:42:01] Production.INFO: ==9277== Releasing lock...
[2025-02-09 07:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:42:02] Production.INFO: ==9279== Lock acquired, processing the job...
[2025-02-09 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:42:02] Production.INFO: ==9281== Lock acquired, processing the job...
[2025-02-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:42:02] Production.INFO: ==9281== Releasing lock...
[2025-02-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:42:02] Production.INFO: ==9279== Releasing lock...
[2025-02-09 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:42:03] Production.INFO: ==9284== Lock acquired, processing the job...
[2025-02-09 02:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:42:03] Production.INFO: ==9290== Lock acquired, processing the job...
[2025-02-09 02:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:42:03] Production.INFO: ==9292== Lock acquired, processing the job...
[2025-02-09 02:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:42:03] Production.INFO: Account Balance Start.
[2025-02-09 02:42:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:42:03] Production.INFO: 117
[2025-02-09 02:42:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:42:03] Production.INFO: ==9286== Lock acquired, processing the job...
[2025-02-09 02:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:42:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:42:03] Production.INFO: Total Charge 0
[2025-02-09 02:42:03] Production.INFO: ==9288== Lock acquired, processing the job...
[2025-02-09 02:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:42:03] Production.INFO: CreateAllLog End
[2025-02-09 02:42:04] Production.INFO: ==9294== Lock acquired, processing the job...
[2025-02-09 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:42:04] Production.INFO: count ==21
[2025-02-09 02:42:04] Production.ERROR: done
[2025-02-09 02:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:42:04] Production.INFO: count ==21
[2025-02-09 02:42:04] Production.INFO: Account Balance End.
[2025-02-09 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434066') start
[2025-02-09 02:42:04] Production.ERROR: done
[2025-02-09 02:42:04] Production.INFO: ==9286== Releasing lock...
[2025-02-09 02:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:42:04] Production.INFO: ==9290== Releasing lock...
[2025-02-09 02:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434066') end
[2025-02-09 02:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:42:04] Production.INFO: 1
[2025-02-09 02:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:42:04] Production.INFO: ==9294== Releasing lock...
[2025-02-09 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:42:05
[end_date_ymd] => 2025-02-09 02:42:05
[RateCDR] => 1
)
[2025-02-09 02:42: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` >= '2025-02-08 23:42:05' and `end` < '2025-02-09 02:42: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 ,'')
[2025-02-09 02:42:11] Production.ERROR: CronJobId end10
[2025-02-09 02:42:11] Production.INFO: ==9288== Releasing lock...
[2025-02-09 02:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:42:14] Production.INFO: call_cost start
[2025-02-09 02:42:14] Production.INFO: call_cost end
[2025-02-09 02:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:42:15] Production.INFO: ==9284== Releasing lock...
[2025-02-09 02:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:42:18] Production.INFO: count ==939
[2025-02-09 02:42:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:42:05 - End Time 2025-02-09 02:42:05
[2025-02-09 02:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434067', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434067', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434067', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434067', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:42:18] Production.INFO: ProcessCDR(1,14434067,1,1,2)
[2025-02-09 02:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434067', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434067', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:42:21] Production.INFO: ==9292== Releasing lock...
[2025-02-09 02:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:42:21] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:43:02] Production.INFO: ==9351== Lock acquired, processing the job...
[2025-02-09 07:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:43:02] Production.INFO: neon service started
[2025-02-09 07:43:02] Production.INFO: neon service started
[2025-02-09 07:43:02] Production.INFO: ==9351== Releasing lock...
[2025-02-09 07:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:43:02] Production.INFO: ==9355== Lock acquired, processing the job...
[2025-02-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:43:02] Production.INFO: ==9355== Releasing lock...
[2025-02-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:43:02] Production.INFO: ==9353== Lock acquired, processing the job...
[2025-02-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:43:02] Production.INFO: ==9353== Releasing lock...
[2025-02-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:43:03] Production.INFO: ==9360== Lock acquired, processing the job...
[2025-02-09 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:43:03] Production.INFO: ==9368== Lock acquired, processing the job...
[2025-02-09 02:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:43:04] Production.INFO: ==9360== Releasing lock...
[2025-02-09 02:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:43:04] Production.INFO: ==9358== Lock acquired, processing the job...
[2025-02-09 02:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:43:04] Production.INFO: ==9362== Lock acquired, processing the job...
[2025-02-09 02:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:43:04] Production.INFO: count ==21
[2025-02-09 02:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:43:04] Production.INFO: ==9364== Lock acquired, processing the job...
[2025-02-09 02:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:43:04] Production.INFO: count ==21
[2025-02-09 02:43:04] Production.INFO: ==9366== Lock acquired, processing the job...
[2025-02-09 02:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434069') start
[2025-02-09 02:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:43:04] Production.INFO: Account Balance Start.
[2025-02-09 02:43:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434069') end
[2025-02-09 02:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:43:04] Production.INFO: 1
[2025-02-09 02:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:43:04] Production.INFO: 117
[2025-02-09 02:43:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:43:04] Production.INFO: ==9368== Releasing lock...
[2025-02-09 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:43:04] Production.ERROR: done
[2025-02-09 02:43:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:43:04] Production.INFO: Total Charge 0
[2025-02-09 02:43:04] Production.INFO: CreateAllLog End
[2025-02-09 02:43:04] Production.ERROR: done
[2025-02-09 02:43:04] Production.INFO: Account Balance End.
[2025-02-09 02:43:05] Production.ERROR: CronJobId end 12
[2025-02-09 02:43:05] Production.INFO: ==9364== Releasing lock...
[2025-02-09 02:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:43:05
[end_date_ymd] => 2025-02-09 02:43:05
[RateCDR] => 1
)
[2025-02-09 02:43: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` >= '2025-02-08 23:43:05' and `end` < '2025-02-09 02:43: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 ,'')
[2025-02-09 02:43:12] Production.ERROR: CronJobId end10
[2025-02-09 02:43:12] Production.INFO: ==9362== Releasing lock...
[2025-02-09 02:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:43:15] Production.INFO: call_cost start
[2025-02-09 02:43:15] Production.INFO: call_cost end
[2025-02-09 02:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:43:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:43:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:43:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:43:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:43:15] Production.INFO: ==9358== Releasing lock...
[2025-02-09 02:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:43:18] Production.INFO: count ==939
[2025-02-09 02:43:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:43:05 - End Time 2025-02-09 02:43:05
[2025-02-09 02:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434072', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434072', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434072', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434072', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:43:18] Production.INFO: ProcessCDR(1,14434072,1,1,2)
[2025-02-09 02:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434072', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434072', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:43:22] Production.INFO: ==9366== Releasing lock...
[2025-02-09 02:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:43:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:44:01] Production.INFO: ==9428== Lock acquired, processing the job...
[2025-02-09 07:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:44:01] Production.INFO: neon service started
[2025-02-09 07:44:01] Production.INFO: neon service started
[2025-02-09 07:44:01] Production.INFO: ==9428== Releasing lock...
[2025-02-09 07:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:44:02] Production.INFO: ==9432== Lock acquired, processing the job...
[2025-02-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:44:02] Production.INFO: ==9432== Releasing lock...
[2025-02-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:44:02] Production.INFO: ==9430== Lock acquired, processing the job...
[2025-02-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:44:02] Production.INFO: ==9430== Releasing lock...
[2025-02-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:44:03] Production.INFO: ==9438== Lock acquired, processing the job...
[2025-02-09 02:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:44:03] Production.INFO: ==9434== Lock acquired, processing the job...
[2025-02-09 02:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:44:03] Production.INFO: ==9440== Lock acquired, processing the job...
[2025-02-09 02:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:44:03] Production.INFO: Account Balance Start.
[2025-02-09 02:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:44:03] Production.INFO: 117
[2025-02-09 02:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:44:03] Production.INFO: ==9436== Lock acquired, processing the job...
[2025-02-09 02:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:44:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:44:03] Production.INFO: Total Charge 0
[2025-02-09 02:44:03] Production.INFO: CreateAllLog End
[2025-02-09 02:44:03] Production.INFO: ==9442== Lock acquired, processing the job...
[2025-02-09 02:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:44:03] Production.INFO: ==9444== Lock acquired, processing the job...
[2025-02-09 02:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:44:03] Production.INFO: Account Balance End.
[2025-02-09 02:44:03] Production.INFO: count ==21
[2025-02-09 02:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:44:03] Production.INFO: count ==21
[2025-02-09 02:44:03] Production.ERROR: CronJobId end 12
[2025-02-09 02:44:03] Production.INFO: ==9440== Releasing lock...
[2025-02-09 02:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434076') start
[2025-02-09 02:44:04] Production.INFO: ==9436== Releasing lock...
[2025-02-09 02:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434076') end
[2025-02-09 02:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:44:04] Production.INFO: 1
[2025-02-09 02:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:44:04] Production.INFO: ==9444== Releasing lock...
[2025-02-09 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:44:04] Production.ERROR: done
[2025-02-09 02:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:44:04] Production.ERROR: done
[2025-02-09 02:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:44:05
[end_date_ymd] => 2025-02-09 02:44:05
[RateCDR] => 1
)
[2025-02-09 02:44: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` >= '2025-02-08 23:44:05' and `end` < '2025-02-09 02:44: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 ,'')
[2025-02-09 02:44:12] Production.ERROR: CronJobId end10
[2025-02-09 02:44:12] Production.INFO: ==9438== Releasing lock...
[2025-02-09 02:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:44:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:44:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:44:14] Production.INFO: call_cost start
[2025-02-09 02:44:14] Production.INFO: call_cost end
[2025-02-09 02:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:44:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:44:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:44:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:44:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:44:15] Production.INFO: ==9434== Releasing lock...
[2025-02-09 02:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:44:18] Production.INFO: count ==937
[2025-02-09 02:44:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:44:05 - End Time 2025-02-09 02:44:05
[2025-02-09 02:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434077', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434077', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434077', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434077', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:44:18] Production.INFO: ProcessCDR(1,14434077,1,1,2)
[2025-02-09 02:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434077', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434077', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:44:21] Production.INFO: ==9442== Releasing lock...
[2025-02-09 02:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:44:21] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:45:02] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-02-09 07:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:45:02] Production.INFO: neon service started
[2025-02-09 07:45:02] Production.INFO: neon service started
[2025-02-09 07:45:02] Production.INFO: ==9498== Releasing lock...
[2025-02-09 07:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:45:02] Production.INFO: ==9502== Lock acquired, processing the job...
[2025-02-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:45:02] Production.INFO: ==9502== Releasing lock...
[2025-02-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:45:02] Production.INFO: ==9500== Lock acquired, processing the job...
[2025-02-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:45:02] Production.INFO: ==9500== Releasing lock...
[2025-02-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:45:03] Production.INFO: ==9509== Lock acquired, processing the job...
[2025-02-09 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:45:03] Production.INFO: ==9517== Lock acquired, processing the job...
[2025-02-09 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:45:04] Production.INFO: ==9507== Lock acquired, processing the job...
[2025-02-09 02:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:45:04] Production.INFO: count ==21
[2025-02-09 02:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:45:04] Production.INFO: count ==21
[2025-02-09 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434079') start
[2025-02-09 02:45:04] Production.INFO: ==9511== Lock acquired, processing the job...
[2025-02-09 02:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:45:04] Production.INFO: ==9513== Lock acquired, processing the job...
[2025-02-09 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:45:04] Production.INFO: ==9515== Lock acquired, processing the job...
[2025-02-09 02:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434079') end
[2025-02-09 02:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:45:04] Production.INFO: 1
[2025-02-09 02:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:45:04] Production.INFO: ==9509== Releasing lock...
[2025-02-09 02:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:45:04] Production.INFO: ==9517== Releasing lock...
[2025-02-09 02:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:45:04] Production.INFO: Account Balance Start.
[2025-02-09 02:45:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:45:04] Production.INFO: 117
[2025-02-09 02:45:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:45:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:45:04] Production.INFO: Total Charge 0
[2025-02-09 02:45:04] Production.INFO: CreateAllLog End
[2025-02-09 02:45:04] Production.INFO: Account Balance End.
[2025-02-09 02:45:04] Production.ERROR: done
[2025-02-09 02:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:45:04] Production.INFO: ==9513== Releasing lock...
[2025-02-09 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:45:04] Production.ERROR: done
[2025-02-09 02:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:45:05
[end_date_ymd] => 2025-02-09 02:45:05
[RateCDR] => 1
)
[2025-02-09 02:45: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` >= '2025-02-08 23:45:05' and `end` < '2025-02-09 02:45: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 ,'')
[2025-02-09 02:45:12] Production.ERROR: CronJobId end10
[2025-02-09 02:45:12] Production.INFO: ==9511== Releasing lock...
[2025-02-09 02:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:45:14] Production.INFO: call_cost start
[2025-02-09 02:45:14] Production.INFO: call_cost end
[2025-02-09 02:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:45:15] Production.INFO: ==9507== Releasing lock...
[2025-02-09 02:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:45:18] Production.INFO: count ==933
[2025-02-09 02:45:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:45:05 - End Time 2025-02-09 02:45:05
[2025-02-09 02:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434082', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434082', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434082', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434082', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:45:19] Production.INFO: ProcessCDR(1,14434082,1,1,2)
[2025-02-09 02:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434082', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434082', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:45:22] Production.INFO: ==9515== Releasing lock...
[2025-02-09 02:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:45:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:46:01] Production.INFO: ==9579== Lock acquired, processing the job...
[2025-02-09 07:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:46:01] Production.INFO: neon service started
[2025-02-09 07:46:01] Production.INFO: neon service started
[2025-02-09 07:46:01] Production.INFO: ==9579== Releasing lock...
[2025-02-09 07:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:46:01] Production.INFO: ==9583== Lock acquired, processing the job...
[2025-02-09 07:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:46:01] Production.INFO: ==9583== Releasing lock...
[2025-02-09 07:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:46:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:46:02] Production.INFO: ==9581== Lock acquired, processing the job...
[2025-02-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:46:02] Production.INFO: ==9581== Releasing lock...
[2025-02-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:46:03] Production.INFO: ==9586== Lock acquired, processing the job...
[2025-02-09 02:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:46:03] Production.INFO: ==9588== Lock acquired, processing the job...
[2025-02-09 02:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:46:03] Production.INFO: ==9590== Lock acquired, processing the job...
[2025-02-09 02:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:46:03] Production.INFO: ==9592== Lock acquired, processing the job...
[2025-02-09 02:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:46:03] Production.INFO: ==9588== Releasing lock...
[2025-02-09 02:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:46:03] Production.INFO: ==9594== Lock acquired, processing the job...
[2025-02-09 02:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:46:03] Production.INFO: ==9596== Lock acquired, processing the job...
[2025-02-09 02:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:46:03] Production.INFO: Account Balance Start.
[2025-02-09 02:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:46:03] Production.INFO: 117
[2025-02-09 02:46:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:46:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:46:03] Production.INFO: Total Charge 0
[2025-02-09 02:46:03] Production.INFO: CreateAllLog End
[2025-02-09 02:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:46:03] Production.INFO: count ==21
[2025-02-09 02:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:46:03] Production.INFO: count ==21
[2025-02-09 02:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434086') start
[2025-02-09 02:46:04] Production.ERROR: done
[2025-02-09 02:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434086') end
[2025-02-09 02:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:46:04] Production.INFO: 1
[2025-02-09 02:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:46:04] Production.INFO: Account Balance End.
[2025-02-09 02:46:04] Production.INFO: ==9596== Releasing lock...
[2025-02-09 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:46:04] Production.INFO: ==9592== Releasing lock...
[2025-02-09 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:46:04] Production.ERROR: done
[2025-02-09 02:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:46:05
[end_date_ymd] => 2025-02-09 02:46:05
[RateCDR] => 1
)
[2025-02-09 02:46: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` >= '2025-02-08 23:46:05' and `end` < '2025-02-09 02:46: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 ,'')
[2025-02-09 02:46:10] Production.ERROR: CronJobId end10
[2025-02-09 02:46:10] Production.INFO: ==9590== Releasing lock...
[2025-02-09 02:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:46:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:46:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:46:13] Production.INFO: call_cost start
[2025-02-09 02:46:13] Production.INFO: call_cost end
[2025-02-09 02:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:46:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:46:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:46:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:46:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:46:14] Production.INFO: ==9586== Releasing lock...
[2025-02-09 02:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:46:18] Production.INFO: count ==929
[2025-02-09 02:46:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:46:05 - End Time 2025-02-09 02:46:05
[2025-02-09 02:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434087', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434087', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434087', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434087', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:46:18] Production.INFO: ProcessCDR(1,14434087,1,1,2)
[2025-02-09 02:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434087', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434087', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:46:22] Production.INFO: ==9594== Releasing lock...
[2025-02-09 02:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:46:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 07:47:02] Production.INFO: ==9658== Lock acquired, processing the job...
[2025-02-09 07:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:47:02] Production.INFO: neon service started
[2025-02-09 07:47:02] Production.INFO: neon service started
[2025-02-09 07:47:02] Production.INFO: ==9658== Releasing lock...
[2025-02-09 07:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:47:02] Production.INFO: ==9662== Lock acquired, processing the job...
[2025-02-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:47:02] Production.INFO: ==9662== Releasing lock...
[2025-02-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:47:02] Production.INFO: ==9660== Lock acquired, processing the job...
[2025-02-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:47:02] Production.INFO: ==9660== Releasing lock...
[2025-02-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:47:03] Production.INFO: ==9665== Lock acquired, processing the job...
[2025-02-09 02:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:47:03] Production.INFO: ==9667== Lock acquired, processing the job...
[2025-02-09 02:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:47:03] Production.INFO: ==9673== Lock acquired, processing the job...
[2025-02-09 02:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:47:03] Production.INFO: ==9669== Lock acquired, processing the job...
[2025-02-09 02:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:47:04] Production.INFO: ==9671== Lock acquired, processing the job...
[2025-02-09 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:47:04] Production.INFO: ==9667== Releasing lock...
[2025-02-09 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:47:04] Production.INFO: ==9675== Lock acquired, processing the job...
[2025-02-09 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:47:04] Production.ERROR: done
[2025-02-09 02:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:47:04] Production.INFO: Account Balance Start.
[2025-02-09 02:47:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:47:04] Production.INFO: 117
[2025-02-09 02:47:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:47:04] Production.INFO: count ==21
[2025-02-09 02:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:47:04] Production.INFO: count ==21
[2025-02-09 02:47:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:47:04] Production.INFO: Total Charge 0
[2025-02-09 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434090') start
[2025-02-09 02:47:04] Production.INFO: CreateAllLog End
[2025-02-09 02:47:04] Production.ERROR: done
[2025-02-09 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434090') end
[2025-02-09 02:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:47:04] Production.INFO: 1
[2025-02-09 02:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:47:04] Production.INFO: ==9675== Releasing lock...
[2025-02-09 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:47:04] Production.INFO: Account Balance End.
[2025-02-09 02:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:47:04] Production.INFO: ==9671== Releasing lock...
[2025-02-09 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:47:05
[end_date_ymd] => 2025-02-09 02:47:05
[RateCDR] => 1
)
[2025-02-09 02:47: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` >= '2025-02-08 23:47:05' and `end` < '2025-02-09 02:47: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 ,'')
[2025-02-09 02:47:11] Production.ERROR: CronJobId end10
[2025-02-09 02:47:11] Production.INFO: ==9669== Releasing lock...
[2025-02-09 02:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:47:14] Production.INFO: call_cost start
[2025-02-09 02:47:14] Production.INFO: call_cost end
[2025-02-09 02:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:47:15] Production.INFO: ==9665== Releasing lock...
[2025-02-09 02:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:47:18] Production.INFO: count ==930
[2025-02-09 02:47:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:47:05 - End Time 2025-02-09 02:47:05
[2025-02-09 02:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434092', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434092', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434092', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434092', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:47:18] Production.INFO: ProcessCDR(1,14434092,1,1,2)
[2025-02-09 02:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434092', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434092', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:47:21] Production.INFO: ==9673== Releasing lock...
[2025-02-09 02:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:47:21] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 07:48:01] Production.INFO: ==9731== Lock acquired, processing the job...
[2025-02-09 07:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:48:01] Production.INFO: neon service started
[2025-02-09 07:48:01] Production.INFO: neon service started
[2025-02-09 07:48:01] Production.INFO: ==9731== Releasing lock...
[2025-02-09 07:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:48:01] Production.INFO: ==9735== Lock acquired, processing the job...
[2025-02-09 07:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:48:01] Production.INFO: ==9735== Releasing lock...
[2025-02-09 07:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:48:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:48:02] Production.INFO: ==9733== Lock acquired, processing the job...
[2025-02-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:48:02] Production.INFO: ==9733== Releasing lock...
[2025-02-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:48:03] Production.INFO: ==9741== Lock acquired, processing the job...
[2025-02-09 02:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:48:03] Production.INFO: ==9744== Lock acquired, processing the job...
[2025-02-09 02:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:48:03] Production.INFO: ==9746== Lock acquired, processing the job...
[2025-02-09 02:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:48:03] Production.INFO: ==9739== Lock acquired, processing the job...
[2025-02-09 02:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:48:03] Production.INFO: Account Balance Start.
[2025-02-09 02:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:48:03] Production.INFO: 117
[2025-02-09 02:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:48:03] Production.INFO: ==9741== Releasing lock...
[2025-02-09 02:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:48:03] Production.INFO: Total Charge 0
[2025-02-09 02:48:03] Production.INFO: CreateAllLog End
[2025-02-09 02:48:03] Production.INFO: ==9748== Lock acquired, processing the job...
[2025-02-09 02:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:48:03] Production.INFO: ==9750== Lock acquired, processing the job...
[2025-02-09 02:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:48:03] Production.INFO: Account Balance End.
[2025-02-09 02:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:48:03] Production.ERROR: CronJobId end 12
[2025-02-09 02:48:03] Production.INFO: ==9746== Releasing lock...
[2025-02-09 02:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:48:03] Production.INFO: count ==21
[2025-02-09 02:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:48:03] Production.INFO: count ==21
[2025-02-09 02:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434096') start
[2025-02-09 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434096') end
[2025-02-09 02:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:48:04] Production.INFO: 1
[2025-02-09 02:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:48:04] Production.ERROR: done
[2025-02-09 02:48:04] Production.INFO: ==9750== Releasing lock...
[2025-02-09 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:48:04] Production.ERROR: done
[2025-02-09 02:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:48:05
[end_date_ymd] => 2025-02-09 02:48:05
[RateCDR] => 1
)
[2025-02-09 02:48: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` >= '2025-02-08 23:48:05' and `end` < '2025-02-09 02:48: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 ,'')
[2025-02-09 02:48:11] Production.ERROR: CronJobId end10
[2025-02-09 02:48:11] Production.INFO: ==9744== Releasing lock...
[2025-02-09 02:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:48:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:48:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:48:13] Production.INFO: call_cost start
[2025-02-09 02:48:13] Production.INFO: call_cost end
[2025-02-09 02:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:48:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:48:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:48:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:48:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:48:14] Production.INFO: ==9739== Releasing lock...
[2025-02-09 02:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:48:18] Production.INFO: count ==932
[2025-02-09 02:48:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:48:05 - End Time 2025-02-09 02:48:05
[2025-02-09 02:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434097', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434097', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434097', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434097', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:48:18] Production.INFO: ProcessCDR(1,14434097,1,1,2)
[2025-02-09 02:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434097', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434097', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:48:21] Production.INFO: ==9748== Releasing lock...
[2025-02-09 02:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:48:21] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:49:01] Production.INFO: ==9809== Lock acquired, processing the job...
[2025-02-09 07:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:49:01] Production.INFO: neon service started
[2025-02-09 07:49:01] Production.INFO: neon service started
[2025-02-09 07:49:01] Production.INFO: ==9809== Releasing lock...
[2025-02-09 07:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:49:02] Production.INFO: ==9811== Lock acquired, processing the job...
[2025-02-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:49:02] Production.INFO: ==9813== Lock acquired, processing the job...
[2025-02-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:49:02] Production.INFO: ==9813== Releasing lock...
[2025-02-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:49:02] Production.INFO: ==9811== Releasing lock...
[2025-02-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:49:03] Production.INFO: ==9816== Lock acquired, processing the job...
[2025-02-09 02:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:49:03] Production.INFO: ==9818== Lock acquired, processing the job...
[2025-02-09 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:49:03] Production.INFO: ==9820== Lock acquired, processing the job...
[2025-02-09 02:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:49:03] Production.INFO: ==9826== Lock acquired, processing the job...
[2025-02-09 02:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:49:03] Production.INFO: ==9822== Lock acquired, processing the job...
[2025-02-09 02:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:49:03] Production.INFO: ==9824== Lock acquired, processing the job...
[2025-02-09 02:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:49:03] Production.INFO: Account Balance Start.
[2025-02-09 02:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:49:03] Production.INFO: 117
[2025-02-09 02:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:49:03] Production.INFO: count ==21
[2025-02-09 02:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:49:04] Production.INFO: count ==21
[2025-02-09 02:49:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434099') start
[2025-02-09 02:49:04] Production.INFO: ==9818== Releasing lock...
[2025-02-09 02:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:49:04] Production.INFO: Total Charge 0
[2025-02-09 02:49:04] Production.INFO: CreateAllLog End
[2025-02-09 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434099') end
[2025-02-09 02:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:49:04] Production.INFO: 1
[2025-02-09 02:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:49:04] Production.INFO: Account Balance End.
[2025-02-09 02:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:49:04] Production.INFO: ==9822== Releasing lock...
[2025-02-09 02:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:49:04] Production.INFO: ==9826== Releasing lock...
[2025-02-09 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:49:04] Production.ERROR: done
[2025-02-09 02:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:49:04] Production.ERROR: done
[2025-02-09 02:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:49:05
[end_date_ymd] => 2025-02-09 02:49:05
[RateCDR] => 1
)
[2025-02-09 02:49: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` >= '2025-02-08 23:49:05' and `end` < '2025-02-09 02:49: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 ,'')
[2025-02-09 02:49:12] Production.ERROR: CronJobId end10
[2025-02-09 02:49:12] Production.INFO: ==9820== Releasing lock...
[2025-02-09 02:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:49:14] Production.INFO: call_cost start
[2025-02-09 02:49:14] Production.INFO: call_cost end
[2025-02-09 02:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:49:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:49:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:49:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:49:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:49:15] Production.INFO: ==9816== Releasing lock...
[2025-02-09 02:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:49:18] Production.INFO: count ==932
[2025-02-09 02:49:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:49:05 - End Time 2025-02-09 02:49:05
[2025-02-09 02:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434102', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434102', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434102', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434102', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:49:18] Production.INFO: ProcessCDR(1,14434102,1,1,2)
[2025-02-09 02:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434102', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434102', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:49:22] Production.INFO: ==9824== Releasing lock...
[2025-02-09 02:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:49:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:50:01] Production.INFO: ==9883== Lock acquired, processing the job...
[2025-02-09 07:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:50:01] Production.INFO: neon service started
[2025-02-09 07:50:01] Production.INFO: neon service started
[2025-02-09 07:50:01] Production.INFO: ==9883== Releasing lock...
[2025-02-09 07:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:50:01] Production.INFO: ==9887== Lock acquired, processing the job...
[2025-02-09 07:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:50:01] Production.INFO: ==9887== Releasing lock...
[2025-02-09 07:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:50:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:50:01] Production.INFO: ==9885== Lock acquired, processing the job...
[2025-02-09 02:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:50:02] Production.INFO: ==9885== Releasing lock...
[2025-02-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:50:03] Production.INFO: ==9890== Lock acquired, processing the job...
[2025-02-09 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 02:50:03] Production.INFO: ==9892== Lock acquired, processing the job...
[2025-02-09 02:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 02:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 02:50:03] Production.ERROR: CronJob PID - 9892
[2025-02-09 02:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 02:50:03] Production.ERROR: CronJob ID - 5
[2025-02-09 02:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 02:50:00
[2025-02-09 02:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 02:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 02:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 02:50:03] Production.INFO: ==9890== Releasing lock...
[2025-02-09 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 02:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 02:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:50:03] Production.INFO: ==9898== Lock acquired, processing the job...
[2025-02-09 02:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:50:03] Production.INFO: ==9894== Lock acquired, processing the job...
[2025-02-09 02:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:50:03] Production.INFO: Account Balance Start.
[2025-02-09 02:50:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:50:03] Production.INFO: 117
[2025-02-09 02:50:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:50:03] Production.INFO: ==9904== Lock acquired, processing the job...
[2025-02-09 02:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:50:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:50:03] Production.INFO: ==9896== Lock acquired, processing the job...
[2025-02-09 02:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:50:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:50:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:50:03] Production.INFO: Total Charge 0
[2025-02-09 02:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:50:03] Production.INFO: ==9900== Lock acquired, processing the job...
[2025-02-09 02:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:50:04] Production.INFO: CreateAllLog End
[2025-02-09 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:50:04] Production.INFO: count ==21
[2025-02-09 02:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:50:04] Production.INFO: count ==21
[2025-02-09 02:50:04] Production.INFO: ==9902== Lock acquired, processing the job...
[2025-02-09 02:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 02:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434106') start
[2025-02-09 02:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:50:04] Production.INFO: ==9894== Releasing lock...
[2025-02-09 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434106') end
[2025-02-09 02:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:50:04] Production.INFO: 1
[2025-02-09 02:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:50:04] Production.ERROR: done
[2025-02-09 02:50:04] Production.INFO: ==9904== Releasing lock...
[2025-02-09 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:50:04] Production.INFO: Account Balance End.
[2025-02-09 02:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:50:04] Production.INFO: ==9898== Releasing lock...
[2025-02-09 02:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:50:04] Production.ERROR: done
[2025-02-09 02:50:04] Production.ERROR: done
[2025-02-09 02:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 02:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434108', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 02:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:50:05
[end_date_ymd] => 2025-02-09 02:50:05
[RateCDR] => 1
)
[2025-02-09 02:50: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` >= '2025-02-08 23:50:05' and `end` < '2025-02-09 02:50: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 ,'')
[2025-02-09 02:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434108', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 02:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 02:50:09] Production.INFO: ProcessCDR(1,14434108,1,1,2)
[2025-02-09 02:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434108,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434108,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:50:09] Production.INFO: ==9902== Releasing lock...
[2025-02-09 02:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 02:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 02:50:14] Production.ERROR: CronJobId end10
[2025-02-09 02:50:14] Production.INFO: ==9896== Releasing lock...
[2025-02-09 02:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:50:16] Production.INFO: call_cost start
[2025-02-09 02:50:16] Production.INFO: call_cost end
[2025-02-09 02:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:50:17] Production.INFO: ==9892== Releasing lock...
[2025-02-09 02:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:50:18] Production.INFO: count ==938
[2025-02-09 02:50:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:50:05 - End Time 2025-02-09 02:50:05
[2025-02-09 02:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434107', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434107', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434107', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434107', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:50:18] Production.INFO: ProcessCDR(1,14434107,1,1,2)
[2025-02-09 02:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434107,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434107,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434107', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434107', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:50:22] Production.INFO: ==9900== Releasing lock...
[2025-02-09 02:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:50:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:51:01] Production.INFO: ==9964== Lock acquired, processing the job...
[2025-02-09 07:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:51:01] Production.INFO: neon service started
[2025-02-09 07:51:01] Production.INFO: neon service started
[2025-02-09 07:51:01] Production.INFO: ==9964== Releasing lock...
[2025-02-09 07:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:51:02] Production.INFO: ==9968== Lock acquired, processing the job...
[2025-02-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:51:02] Production.INFO: ==9968== Releasing lock...
[2025-02-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:51:02] Production.INFO: ==9966== Lock acquired, processing the job...
[2025-02-09 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:51:02] Production.INFO: ==9966== Releasing lock...
[2025-02-09 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:51:03] Production.INFO: ==9976== Lock acquired, processing the job...
[2025-02-09 02:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:51:03] Production.INFO: ==9979== Lock acquired, processing the job...
[2025-02-09 02:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:51:03] Production.INFO: ==9981== Lock acquired, processing the job...
[2025-02-09 02:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:51:03] Production.INFO: Account Balance Start.
[2025-02-09 02:51:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:51:03] Production.INFO: 117
[2025-02-09 02:51:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:51:03] Production.INFO: ==9974== Lock acquired, processing the job...
[2025-02-09 02:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:51:03] Production.INFO: count ==21
[2025-02-09 02:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:51:03] Production.INFO: count ==21
[2025-02-09 02:51:03] Production.INFO: ==9972== Lock acquired, processing the job...
[2025-02-09 02:51:03] Production.INFO: ==9970== Lock acquired, processing the job...
[2025-02-09 02:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434110') start
[2025-02-09 02:51:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:51:03] Production.ERROR: done
[2025-02-09 02:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:51:03] Production.INFO: Total Charge 0
[2025-02-09 02:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:51:03] Production.INFO: CreateAllLog End
[2025-02-09 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434110') end
[2025-02-09 02:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:51:04] Production.INFO: 1
[2025-02-09 02:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:51:04] Production.ERROR: done
[2025-02-09 02:51:04] Production.INFO: ==9981== Releasing lock...
[2025-02-09 02:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:51:04] Production.INFO: Account Balance End.
[2025-02-09 02:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:51:04] Production.INFO: ==9976== Releasing lock...
[2025-02-09 02:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:51:04] Production.INFO: ==9972== Releasing lock...
[2025-02-09 02:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:51:05
[end_date_ymd] => 2025-02-09 02:51:05
[RateCDR] => 1
)
[2025-02-09 02:51: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` >= '2025-02-08 23:51:05' and `end` < '2025-02-09 02:51: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 ,'')
[2025-02-09 02:51:10] Production.ERROR: CronJobId end10
[2025-02-09 02:51:10] Production.INFO: ==9974== Releasing lock...
[2025-02-09 02:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:51:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:51:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:51:13] Production.INFO: call_cost start
[2025-02-09 02:51:13] Production.INFO: call_cost end
[2025-02-09 02:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:51:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:51:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:51:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:51:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:51:14] Production.INFO: ==9970== Releasing lock...
[2025-02-09 02:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:51:19] Production.INFO: count ==952
[2025-02-09 02:51:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:51:05 - End Time 2025-02-09 02:51:05
[2025-02-09 02:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434113', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434113', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434113', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434113', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:51:19] Production.INFO: ProcessCDR(1,14434113,1,1,2)
[2025-02-09 02:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434113', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434113', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:51:22] Production.INFO: ==9979== Releasing lock...
[2025-02-09 02:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:51:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:52:02] Production.INFO: ==10036== Lock acquired, processing the job...
[2025-02-09 07:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:52:02] Production.INFO: neon service started
[2025-02-09 07:52:02] Production.INFO: neon service started
[2025-02-09 07:52:02] Production.INFO: ==10036== Releasing lock...
[2025-02-09 07:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:52:02] Production.INFO: ==10041== Lock acquired, processing the job...
[2025-02-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:52:02] Production.INFO: ==10041== Releasing lock...
[2025-02-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:52:02] Production.INFO: ==10039== Lock acquired, processing the job...
[2025-02-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:52:03] Production.INFO: ==10039== Releasing lock...
[2025-02-09 02:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:52:04] Production.INFO: ==10047== Lock acquired, processing the job...
[2025-02-09 02:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:52:04] Production.INFO: ==10043== Lock acquired, processing the job...
[2025-02-09 02:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:52:04] Production.INFO: ==10053== Lock acquired, processing the job...
[2025-02-09 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:52:04] Production.INFO: ==10045== Lock acquired, processing the job...
[2025-02-09 02:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:52:04] Production.INFO: count ==21
[2025-02-09 02:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:52:04] Production.INFO: count ==21
[2025-02-09 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434114') start
[2025-02-09 02:52:04] Production.INFO: ==10049== Lock acquired, processing the job...
[2025-02-09 02:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:52:04] Production.INFO: ==10051== Lock acquired, processing the job...
[2025-02-09 02:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434114') end
[2025-02-09 02:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:52:04] Production.INFO: 1
[2025-02-09 02:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:52:04] Production.INFO: ==10053== Releasing lock...
[2025-02-09 02:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:52:04] Production.INFO: Account Balance Start.
[2025-02-09 02:52:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:52:04] Production.INFO: 117
[2025-02-09 02:52:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:52:04] Production.INFO: ==10045== Releasing lock...
[2025-02-09 02:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:52:04] Production.INFO: Total Charge 0
[2025-02-09 02:52:04] Production.INFO: CreateAllLog End
[2025-02-09 02:52:04] Production.ERROR: done
[2025-02-09 02:52:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:52:05] Production.ERROR: done
[2025-02-09 02:52:05] Production.INFO: Account Balance End.
[2025-02-09 02:52:05] Production.ERROR: CronJobId end 12
[2025-02-09 02:52:05] Production.INFO: ==10049== Releasing lock...
[2025-02-09 02:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:52:06
[end_date_ymd] => 2025-02-09 02:52:06
[RateCDR] => 1
)
[2025-02-09 02:52: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-02-08 23:52:06' and `end` < '2025-02-09 02:52: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-02-09 02:52:12] Production.ERROR: CronJobId end10
[2025-02-09 02:52:12] Production.INFO: ==10047== Releasing lock...
[2025-02-09 02:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:52:14] Production.INFO: call_cost start
[2025-02-09 02:52:14] Production.INFO: call_cost end
[2025-02-09 02:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:52:15] Production.INFO: ==10043== Releasing lock...
[2025-02-09 02:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:52:18] Production.INFO: count ==951
[2025-02-09 02:52:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:52:06 - End Time 2025-02-09 02:52:06
[2025-02-09 02:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434118', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434118', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434118', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434118', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:52:19] Production.INFO: ProcessCDR(1,14434118,1,1,2)
[2025-02-09 02:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434118', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434118', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:52:22] Production.INFO: ==10051== Releasing lock...
[2025-02-09 02:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:52:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:53:01] Production.INFO: ==10113== Lock acquired, processing the job...
[2025-02-09 07:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:53:01] Production.INFO: neon service started
[2025-02-09 07:53:01] Production.INFO: neon service started
[2025-02-09 07:53:01] Production.INFO: ==10113== Releasing lock...
[2025-02-09 07:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:53:02] Production.INFO: ==10117== Lock acquired, processing the job...
[2025-02-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:53:02] Production.INFO: ==10117== Releasing lock...
[2025-02-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:53:02] Production.INFO: ==10115== Lock acquired, processing the job...
[2025-02-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:53:02] Production.INFO: ==10115== Releasing lock...
[2025-02-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:53:03] Production.INFO: ==10120== Lock acquired, processing the job...
[2025-02-09 02:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:53:03] Production.INFO: ==10122== Lock acquired, processing the job...
[2025-02-09 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:53:03] Production.INFO: ==10124== Lock acquired, processing the job...
[2025-02-09 02:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:53:03] Production.INFO: ==10128== Lock acquired, processing the job...
[2025-02-09 02:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:53:03] Production.INFO: ==10126== Lock acquired, processing the job...
[2025-02-09 02:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:53:03] Production.INFO: ==10130== Lock acquired, processing the job...
[2025-02-09 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:53:03] Production.INFO: ==10122== Releasing lock...
[2025-02-09 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:53:04] Production.INFO: Account Balance Start.
[2025-02-09 02:53:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:53:04] Production.INFO: 117
[2025-02-09 02:53:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:53:04] Production.INFO: count ==21
[2025-02-09 02:53:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:53:04] Production.INFO: count ==21
[2025-02-09 02:53:04] Production.INFO: Total Charge 0
[2025-02-09 02:53:04] Production.INFO: CreateAllLog End
[2025-02-09 02:53:04] Production.ERROR: done
[2025-02-09 02:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434122') start
[2025-02-09 02:53:04] Production.ERROR: done
[2025-02-09 02:53:04] Production.INFO: Account Balance End.
[2025-02-09 02:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434122') end
[2025-02-09 02:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:53:04] Production.INFO: 1
[2025-02-09 02:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:53:04] Production.INFO: ==10126== Releasing lock...
[2025-02-09 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:53:04] Production.INFO: ==10130== Releasing lock...
[2025-02-09 02:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:53:05
[end_date_ymd] => 2025-02-09 02:53:05
[RateCDR] => 1
)
[2025-02-09 02:53: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` >= '2025-02-08 23:53:05' and `end` < '2025-02-09 02:53: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 ,'')
[2025-02-09 02:53:12] Production.ERROR: CronJobId end10
[2025-02-09 02:53:12] Production.INFO: ==10124== Releasing lock...
[2025-02-09 02:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:53:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:53:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:53:14] Production.INFO: call_cost start
[2025-02-09 02:53:14] Production.INFO: call_cost end
[2025-02-09 02:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:53:15] Production.INFO: ==10120== Releasing lock...
[2025-02-09 02:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:53:19] Production.INFO: count ==950
[2025-02-09 02:53:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:53:05 - End Time 2025-02-09 02:53:05
[2025-02-09 02:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434123', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434123', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434123', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434123', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:53:19] Production.INFO: ProcessCDR(1,14434123,1,1,2)
[2025-02-09 02:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434123', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434123', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:53:22] Production.INFO: ==10128== Releasing lock...
[2025-02-09 02:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:53:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:54:02] Production.INFO: ==10186== Lock acquired, processing the job...
[2025-02-09 07:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:54:02] Production.INFO: neon service started
[2025-02-09 07:54:02] Production.INFO: neon service started
[2025-02-09 07:54:02] Production.INFO: ==10186== Releasing lock...
[2025-02-09 07:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:54:02] Production.INFO: ==10188== Lock acquired, processing the job...
[2025-02-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:54:02] Production.INFO: ==10188== Releasing lock...
[2025-02-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:54:03] Production.INFO: ==10190== Lock acquired, processing the job...
[2025-02-09 07:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:54:03] Production.INFO: ==10190== Releasing lock...
[2025-02-09 07:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:54:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:54:03] Production.INFO: ==10196== Lock acquired, processing the job...
[2025-02-09 02:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:54:03] Production.INFO: ==10192== Lock acquired, processing the job...
[2025-02-09 02:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:54:04] Production.INFO: ==10201== Lock acquired, processing the job...
[2025-02-09 02:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:54:04] Production.INFO: ==10194== Lock acquired, processing the job...
[2025-02-09 02:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:54:04] Production.INFO: ==10199== Lock acquired, processing the job...
[2025-02-09 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:54:04] Production.INFO: ==10203== Lock acquired, processing the job...
[2025-02-09 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:54:04] Production.INFO: Account Balance Start.
[2025-02-09 02:54:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:54:04] Production.INFO: 117
[2025-02-09 02:54:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:54:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:54:04] Production.INFO: count ==21
[2025-02-09 02:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:54:04] Production.ERROR: done
[2025-02-09 02:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:54:04] Production.INFO: count ==21
[2025-02-09 02:54:04] Production.INFO: ==10194== Releasing lock...
[2025-02-09 02:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434127') start
[2025-02-09 02:54:04] Production.INFO: Total Charge 0
[2025-02-09 02:54:04] Production.INFO: CreateAllLog End
[2025-02-09 02:54:04] Production.ERROR: done
[2025-02-09 02:54:04] Production.INFO: Account Balance End.
[2025-02-09 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434127') end
[2025-02-09 02:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:54:04] Production.INFO: 1
[2025-02-09 02:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:54:04] Production.INFO: ==10203== Releasing lock...
[2025-02-09 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:54:04] Production.INFO: ==10199== Releasing lock...
[2025-02-09 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:54:05
[end_date_ymd] => 2025-02-09 02:54:05
[RateCDR] => 1
)
[2025-02-09 02:54: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` >= '2025-02-08 23:54:05' and `end` < '2025-02-09 02:54: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 ,'')
[2025-02-09 02:54:12] Production.ERROR: CronJobId end10
[2025-02-09 02:54:12] Production.INFO: ==10196== Releasing lock...
[2025-02-09 02:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:54:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:54:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:54:15] Production.INFO: call_cost start
[2025-02-09 02:54:15] Production.INFO: call_cost end
[2025-02-09 02:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:54:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:54:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:54:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:54:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:54:16] Production.INFO: ==10192== Releasing lock...
[2025-02-09 02:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:54:18] Production.INFO: count ==950
[2025-02-09 02:54:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:54:05 - End Time 2025-02-09 02:54:05
[2025-02-09 02:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434128', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434128', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434128', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434128', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:54:18] Production.INFO: ProcessCDR(1,14434128,1,1,2)
[2025-02-09 02:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434128', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434128', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:54:22] Production.INFO: ==10201== Releasing lock...
[2025-02-09 02:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:54:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:55:01] Production.INFO: ==10305== Lock acquired, processing the job...
[2025-02-09 07:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:55:01] Production.INFO: neon service started
[2025-02-09 07:55:01] Production.INFO: neon service started
[2025-02-09 07:55:01] Production.INFO: ==10305== Releasing lock...
[2025-02-09 07:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:55:02] Production.INFO: ==10309== Lock acquired, processing the job...
[2025-02-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:55:02] Production.INFO: ==10309== Releasing lock...
[2025-02-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:55:02] Production.INFO: ==10307== Lock acquired, processing the job...
[2025-02-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:55:02] Production.INFO: ==10307== Releasing lock...
[2025-02-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:55:03] Production.INFO: ==10313== Lock acquired, processing the job...
[2025-02-09 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:55:03] Production.INFO: ==10322== Lock acquired, processing the job...
[2025-02-09 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:55:03] Production.INFO: ==10311== Lock acquired, processing the job...
[2025-02-09 02:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:55:03] Production.INFO: count ==21
[2025-02-09 02:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:55:03] Production.INFO: ==10313== Releasing lock...
[2025-02-09 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:55:03] Production.INFO: count ==21
[2025-02-09 02:55:03] Production.INFO: ==10315== Lock acquired, processing the job...
[2025-02-09 02:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434130') start
[2025-02-09 02:55:03] Production.INFO: ==10317== Lock acquired, processing the job...
[2025-02-09 02:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:55:03] Production.INFO: ==10319== Lock acquired, processing the job...
[2025-02-09 02:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434130') end
[2025-02-09 02:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:55:03] Production.INFO: 1
[2025-02-09 02:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:55:03] Production.INFO: ==10322== Releasing lock...
[2025-02-09 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:55:03] Production.INFO: Account Balance Start.
[2025-02-09 02:55:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:55:03] Production.INFO: 117
[2025-02-09 02:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:55:04] Production.INFO: Total Charge 0
[2025-02-09 02:55:04] Production.INFO: CreateAllLog End
[2025-02-09 02:55:04] Production.ERROR: done
[2025-02-09 02:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:55:04] Production.INFO: Account Balance End.
[2025-02-09 02:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:55:04] Production.INFO: ==10317== Releasing lock...
[2025-02-09 02:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:55:04] Production.ERROR: done
[2025-02-09 02:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:55:05
[end_date_ymd] => 2025-02-09 02:55:05
[RateCDR] => 1
)
[2025-02-09 02:55: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` >= '2025-02-08 23:55:05' and `end` < '2025-02-09 02:55: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 ,'')
[2025-02-09 02:55:12] Production.ERROR: CronJobId end10
[2025-02-09 02:55:12] Production.INFO: ==10315== Releasing lock...
[2025-02-09 02:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:55:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:55:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:55:14] Production.INFO: call_cost start
[2025-02-09 02:55:14] Production.INFO: call_cost end
[2025-02-09 02:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:55:15] Production.INFO: ==10311== Releasing lock...
[2025-02-09 02:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:55:18] Production.INFO: count ==949
[2025-02-09 02:55:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:55:05 - End Time 2025-02-09 02:55:05
[2025-02-09 02:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434133', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434133', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434133', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434133', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:55:18] Production.INFO: ProcessCDR(1,14434133,1,1,2)
[2025-02-09 02:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434133', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434133', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:55:21] Production.INFO: ==10319== Releasing lock...
[2025-02-09 02:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:55:21] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:56:02] Production.INFO: ==10379== Lock acquired, processing the job...
[2025-02-09 07:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:56:02] Production.INFO: neon service started
[2025-02-09 07:56:02] Production.INFO: neon service started
[2025-02-09 07:56:02] Production.INFO: ==10379== Releasing lock...
[2025-02-09 07:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:56:02] Production.INFO: ==10383== Lock acquired, processing the job...
[2025-02-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:56:02] Production.INFO: ==10383== Releasing lock...
[2025-02-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:56:02] Production.INFO: ==10381== Lock acquired, processing the job...
[2025-02-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:56:02] Production.INFO: ==10381== Releasing lock...
[2025-02-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:56:03] Production.INFO: ==10386== Lock acquired, processing the job...
[2025-02-09 02:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:56:04] Production.INFO: ==10396== Lock acquired, processing the job...
[2025-02-09 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:56:04] Production.INFO: ==10388== Lock acquired, processing the job...
[2025-02-09 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:56:04] Production.INFO: ==10390== Lock acquired, processing the job...
[2025-02-09 02:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:56:04] Production.INFO: count ==21
[2025-02-09 02:56:04] Production.INFO: ==10392== Lock acquired, processing the job...
[2025-02-09 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:56:04] Production.INFO: count ==21
[2025-02-09 02:56:04] Production.INFO: ==10394== Lock acquired, processing the job...
[2025-02-09 02:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434135') start
[2025-02-09 02:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:56:04] Production.INFO: Account Balance Start.
[2025-02-09 02:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 02:56:04] Production.INFO: 117
[2025-02-09 02:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 02:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434135') end
[2025-02-09 02:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:56:04] Production.INFO: 1
[2025-02-09 02:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:56:04] Production.INFO: ==10396== Releasing lock...
[2025-02-09 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 02:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 02:56:04] Production.INFO: Total Charge 0
[2025-02-09 02:56:04] Production.INFO: CreateAllLog End
[2025-02-09 02:56:04] Production.ERROR: done
[2025-02-09 02:56:04] Production.INFO: ==10388== Releasing lock...
[2025-02-09 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:56:05] Production.ERROR: done
[2025-02-09 02:56:05] Production.INFO: Account Balance End.
[2025-02-09 02:56:05] Production.ERROR: CronJobId end 12
[2025-02-09 02:56:05] Production.INFO: ==10392== Releasing lock...
[2025-02-09 02:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:56:06
[end_date_ymd] => 2025-02-09 02:56:06
[RateCDR] => 1
)
[2025-02-09 02:56: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-02-08 23:56:06' and `end` < '2025-02-09 02:56: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-02-09 02:56:11] Production.ERROR: CronJobId end10
[2025-02-09 02:56:11] Production.INFO: ==10390== Releasing lock...
[2025-02-09 02:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:56:14] Production.INFO: call_cost start
[2025-02-09 02:56:14] Production.INFO: call_cost end
[2025-02-09 02:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:56:15] Production.INFO: ==10386== Releasing lock...
[2025-02-09 02:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:56:18] Production.INFO: count ==949
[2025-02-09 02:56:19] Production.ERROR: pbx CDR StartTime 2025-02-08 23:56:06 - End Time 2025-02-09 02:56:06
[2025-02-09 02:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434138', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434138', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434138', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434138', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:56:19] Production.INFO: ProcessCDR(1,14434138,1,1,2)
[2025-02-09 02:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434138', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434138', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:56:23] Production.INFO: ==10394== Releasing lock...
[2025-02-09 02:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:56:23] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:57:01] Production.INFO: ==10453== Lock acquired, processing the job...
[2025-02-09 07:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:57:01] Production.INFO: neon service started
[2025-02-09 07:57:01] Production.INFO: neon service started
[2025-02-09 07:57:01] Production.INFO: ==10453== Releasing lock...
[2025-02-09 07:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:57:01] Production.INFO: ==10455== Lock acquired, processing the job...
[2025-02-09 02:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:57:02] Production.INFO: ==10457== Lock acquired, processing the job...
[2025-02-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 02:57:02] Production.INFO: ==10455== Releasing lock...
[2025-02-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:57:02] Production.INFO: ==10457== Releasing lock...
[2025-02-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:57:02] Production.INFO: ==10460== Lock acquired, processing the job...
[2025-02-09 02:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:57:02] Production.INFO: ==10462== Lock acquired, processing the job...
[2025-02-09 02:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:57:02] Production.INFO: ==10464== Lock acquired, processing the job...
[2025-02-09 02:57:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:57:03] Production.INFO: ==10462== Releasing lock...
[2025-02-09 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:57:03] Production.INFO: ==10466== Lock acquired, processing the job...
[2025-02-09 02:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:57:03] Production.INFO: ==10468== Lock acquired, processing the job...
[2025-02-09 02:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:57:03] Production.INFO: ==10470== Lock acquired, processing the job...
[2025-02-09 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:57:03] Production.INFO: Account Balance Start.
[2025-02-09 02:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:57:03] Production.INFO: 117
[2025-02-09 02:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:57:03] Production.INFO: Total Charge 0
[2025-02-09 02:57:03] Production.INFO: count ==21
[2025-02-09 02:57:03] Production.INFO: CreateAllLog End
[2025-02-09 02:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:57:03] Production.INFO: count ==21
[2025-02-09 02:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434142') start
[2025-02-09 02:57:03] Production.ERROR: done
[2025-02-09 02:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434142') end
[2025-02-09 02:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:57:04] Production.INFO: 1
[2025-02-09 02:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:57:04] Production.INFO: Account Balance End.
[2025-02-09 02:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:57:04] Production.INFO: ==10466== Releasing lock...
[2025-02-09 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:57:04] Production.INFO: ==10470== Releasing lock...
[2025-02-09 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:57:04] Production.ERROR: done
[2025-02-09 02:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:57:05
[end_date_ymd] => 2025-02-09 02:57:05
[RateCDR] => 1
)
[2025-02-09 02:57: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` >= '2025-02-08 23:57:05' and `end` < '2025-02-09 02:57: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 ,'')
[2025-02-09 02:57:12] Production.ERROR: CronJobId end10
[2025-02-09 02:57:12] Production.INFO: ==10464== Releasing lock...
[2025-02-09 02:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:57:14] Production.INFO: call_cost start
[2025-02-09 02:57:14] Production.INFO: call_cost end
[2025-02-09 02:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:57:15] Production.INFO: ==10460== Releasing lock...
[2025-02-09 02:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:57:18] Production.INFO: count ==950
[2025-02-09 02:57:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:57:05 - End Time 2025-02-09 02:57:05
[2025-02-09 02:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434143', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434143', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434143', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434143', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:57:18] Production.INFO: ProcessCDR(1,14434143,1,1,2)
[2025-02-09 02:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434143', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434143', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:57:23] Production.INFO: ==10468== Releasing lock...
[2025-02-09 02:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:57:23] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:58:01] Production.INFO: ==10533== Lock acquired, processing the job...
[2025-02-09 07:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:58:01] Production.INFO: neon service started
[2025-02-09 07:58:01] Production.INFO: neon service started
[2025-02-09 07:58:01] Production.INFO: ==10533== Releasing lock...
[2025-02-09 07:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:58:02] Production.INFO: ==10537== Lock acquired, processing the job...
[2025-02-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:58:02] Production.INFO: ==10537== Releasing lock...
[2025-02-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:58:02] Production.INFO: ==10535== Lock acquired, processing the job...
[2025-02-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 02:58:02] Production.INFO: ==10535== Releasing lock...
[2025-02-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:58:03] Production.INFO: ==10544== Lock acquired, processing the job...
[2025-02-09 02:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:58:03] Production.INFO: ==10546== Lock acquired, processing the job...
[2025-02-09 02:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:58:03] Production.INFO: ==10550== Lock acquired, processing the job...
[2025-02-09 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:58:03] Production.INFO: Account Balance Start.
[2025-02-09 02:58:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:58:03] Production.INFO: 117
[2025-02-09 02:58:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:58:03] Production.INFO: count ==21
[2025-02-09 02:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:58:03] Production.INFO: count ==21
[2025-02-09 02:58:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434145') start
[2025-02-09 02:58:03] Production.INFO: Total Charge 0
[2025-02-09 02:58:03] Production.INFO: ==10540== Lock acquired, processing the job...
[2025-02-09 02:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:58:03] Production.INFO: CreateAllLog End
[2025-02-09 02:58:03] Production.INFO: ==10542== Lock acquired, processing the job...
[2025-02-09 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:58:04] Production.INFO: ==10548== Lock acquired, processing the job...
[2025-02-09 02:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434145') end
[2025-02-09 02:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:58:04] Production.INFO: 1
[2025-02-09 02:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:58:04] Production.INFO: ==10550== Releasing lock...
[2025-02-09 02:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:58:04] Production.INFO: Account Balance End.
[2025-02-09 02:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 02:58:04] Production.INFO: ==10546== Releasing lock...
[2025-02-09 02:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:58:04] Production.INFO: ==10542== Releasing lock...
[2025-02-09 02:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:58:04] Production.ERROR: done
[2025-02-09 02:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:58:04] Production.ERROR: done
[2025-02-09 02:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:58:05
[end_date_ymd] => 2025-02-09 02:58:05
[RateCDR] => 1
)
[2025-02-09 02:58: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` >= '2025-02-08 23:58:05' and `end` < '2025-02-09 02:58: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 ,'')
[2025-02-09 02:58:12] Production.ERROR: CronJobId end10
[2025-02-09 02:58:12] Production.INFO: ==10544== Releasing lock...
[2025-02-09 02:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:58:14] Production.INFO: call_cost start
[2025-02-09 02:58:14] Production.INFO: call_cost end
[2025-02-09 02:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:58:15] Production.INFO: ==10540== Releasing lock...
[2025-02-09 02:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:58:18] Production.INFO: count ==949
[2025-02-09 02:58:18] Production.ERROR: pbx CDR StartTime 2025-02-08 23:58:05 - End Time 2025-02-09 02:58:05
[2025-02-09 02:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434148', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434148', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434148', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434148', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:58:18] Production.INFO: ProcessCDR(1,14434148,1,1,2)
[2025-02-09 02:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434148', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434148', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:58:21] Production.INFO: ==10548== Releasing lock...
[2025-02-09 02:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:58:21] Production.INFO: 35 MB #Memory Used#
[2025-02-09 07:59:01] Production.INFO: ==10609== Lock acquired, processing the job...
[2025-02-09 07:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 07:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 07:59:01] Production.INFO: neon service started
[2025-02-09 07:59:01] Production.INFO: neon service started
[2025-02-09 07:59:01] Production.INFO: ==10609== Releasing lock...
[2025-02-09 07:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 07:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 02:59:01] Production.INFO: ==10611== Lock acquired, processing the job...
[2025-02-09 02:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:59:01] Production.INFO: ==10613== Lock acquired, processing the job...
[2025-02-09 07:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:59:01] Production.INFO: ==10613== Releasing lock...
[2025-02-09 07:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:59:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 02:59:02] Production.INFO: ==10611== Releasing lock...
[2025-02-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 02:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 02:59:02] Production.INFO: ==10618== Lock acquired, processing the job...
[2025-02-09 02:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 02:59:03] Production.INFO: ==10616== Lock acquired, processing the job...
[2025-02-09 02:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 02:59:03] Production.INFO: ==10620== Lock acquired, processing the job...
[2025-02-09 02:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 02:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 02:59:03] Production.INFO: ==10624== Lock acquired, processing the job...
[2025-02-09 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 02:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 02:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 02:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 02:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 02:59:03] Production.INFO: ==10618== Releasing lock...
[2025-02-09 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 02:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 02:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 02:59:03] Production.INFO: ==10622== Lock acquired, processing the job...
[2025-02-09 02:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 02:59:03] Production.INFO: ==10626== Lock acquired, processing the job...
[2025-02-09 02:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 02:59:03] Production.INFO: Account Balance Start.
[2025-02-09 02:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 02:59:03] Production.INFO: 117
[2025-02-09 02:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 02:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 02:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 02:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:59:03] Production.INFO: Total Charge 0
[2025-02-09 02:59:03] Production.INFO: CreateAllLog End
[2025-02-09 02:59:03] Production.INFO: count ==21
[2025-02-09 02:59:03] Production.ERROR: done
[2025-02-09 02:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 02:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 02:59:03] Production.INFO: count ==21
[2025-02-09 02:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434152') start
[2025-02-09 02:59:03] Production.ERROR: done
[2025-02-09 02:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434152') end
[2025-02-09 02:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 02:59:03] Production.INFO: 1
[2025-02-09 02:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 02:59:03] Production.INFO: Account Balance End.
[2025-02-09 02:59:03] Production.INFO: ==10626== Releasing lock...
[2025-02-09 02:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 02:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 02:59:03] Production.ERROR: CronJobId end 12
[2025-02-09 02:59:03] Production.INFO: ==10622== Releasing lock...
[2025-02-09 02:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 02:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 02:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-08 23:59:04
[end_date_ymd] => 2025-02-09 02:59:04
[RateCDR] => 1
)
[2025-02-09 02:59:04] 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-02-08 23:59:04' and `end` < '2025-02-09 02:59:04'
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-02-09 02:59:11] Production.ERROR: CronJobId end10
[2025-02-09 02:59:11] Production.INFO: ==10620== Releasing lock...
[2025-02-09 02:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 02:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 02:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 02:59:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 02:59:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 02:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 02:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 02:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 02:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 02:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 02:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 02:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 02:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 02:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 02:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 02:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 02:59:14] Production.INFO: call_cost start
[2025-02-09 02:59:14] Production.INFO: call_cost end
[2025-02-09 02:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 02:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 02:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 02:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 02:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 02:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 02:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 02:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 02:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 02:59:15] Production.INFO: ==10616== Releasing lock...
[2025-02-09 02:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 02:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 02:59:17] Production.INFO: count ==948
[2025-02-09 02:59:17] Production.ERROR: pbx CDR StartTime 2025-02-08 23:59:04 - End Time 2025-02-09 02:59:04
[2025-02-09 02:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434153', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434153', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434153', 'tblTempVendorCDR_20' ) start
[2025-02-09 02:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434153', 'tblTempVendorCDR_20' ) end
[2025-02-09 02:59:17] Production.INFO: ProcessCDR(1,14434153,1,1,2)
[2025-02-09 02:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 02:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 02:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434153', 'tblTempUsageDetail_20' ) start
[2025-02-09 02:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434153', 'tblTempUsageDetail_20' ) end
[2025-02-09 02:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 02:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 02:59:20] Production.INFO: ==10624== Releasing lock...
[2025-02-09 02:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 02:59:20] Production.INFO: 35 MB #Memory Used#
[2025-02-09 08:00:01] Production.INFO: ==10686== Lock acquired, processing the job...
[2025-02-09 08:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:00:01] Production.INFO: neon service started
[2025-02-09 08:00:01] Production.INFO: neon service started
[2025-02-09 08:00:01] Production.INFO: ==10686== Releasing lock...
[2025-02-09 08:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:00:02] Production.INFO: ==10688== Lock acquired, processing the job...
[2025-02-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:00:02] Production.INFO: ==10688== Releasing lock...
[2025-02-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:00:02] Production.INFO: ==10690== Lock acquired, processing the job...
[2025-02-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:00:02] Production.INFO: ==10690== Releasing lock...
[2025-02-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:00:03] Production.INFO: ==10700== Lock acquired, processing the job...
[2025-02-09 03:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:00:03] Production.INFO: ==10698== Lock acquired, processing the job...
[2025-02-09 03:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:00:03] Production.INFO: Account Balance Start.
[2025-02-09 03:00:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:00:03] Production.INFO: 117
[2025-02-09 03:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:00:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:00:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:00:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:00:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:00:03] Production.INFO: Total Charge 0
[2025-02-09 03:00:03] Production.INFO: CreateAllLog End
[2025-02-09 03:00:03] Production.INFO: Account Balance End.
[2025-02-09 03:00:03] Production.ERROR: CronJobId end 12
[2025-02-09 03:00:03] Production.INFO: ==10700== Releasing lock...
[2025-02-09 03:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:00:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:00:04] Production.INFO: ==10692== Lock acquired, processing the job...
[2025-02-09 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 03:00:04] Production.INFO: ==10696== Lock acquired, processing the job...
[2025-02-09 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:00:04] Production.INFO: ==10694== Lock acquired, processing the job...
[2025-02-09 03:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 03:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:00:04] Production.ERROR: CronJob PID - 10694
[2025-02-09 03:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 03:00:04] Production.ERROR: CronJob ID - 5
[2025-02-09 03:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 03:00:00
[2025-02-09 03:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:00:04] Production.ERROR: CronJob PID - 10696
[2025-02-09 03:00:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 03:00:04] Production.ERROR: CronJob ID - 7
[2025-02-09 03:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 03:00:00
[2025-02-09 03:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:00:04] Production.ERROR: CronJob PID - 10698
[2025-02-09 03:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 03:00:04] Production.ERROR: CronJob ID - 10
[2025-02-09 03:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 03:00:00
[2025-02-09 03:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:00:04] Production.INFO: ==10702== Lock acquired, processing the job...
[2025-02-09 03:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 03:00:04] Production.INFO: ==10692== Releasing lock...
[2025-02-09 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 03:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 03:00:04] Production.INFO: ==10705== Lock acquired, processing the job...
[2025-02-09 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 03:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:00:04] Production.INFO: ==10707== Lock acquired, processing the job...
[2025-02-09 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:00:04] Production.INFO: count ==21
[2025-02-09 03:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:00:04] Production.INFO: count ==21
[2025-02-09 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434157') start
[2025-02-09 03:00:04] Production.INFO: ==10696== Releasing lock...
[2025-02-09 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:00:04] Production.ERROR: done
[2025-02-09 03:00:04] Production.ERROR: done
[2025-02-09 03:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434157') end
[2025-02-09 03:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:00:04] Production.INFO: 1
[2025-02-09 03:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 03:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434158', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 03:00:04] Production.INFO: ==10707== Releasing lock...
[2025-02-09 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:00:05] Production.ERROR: done
[2025-02-09 03:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:00:06
[end_date_ymd] => 2025-02-09 03:00:06
[RateCDR] => 1
)
[2025-02-09 03: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-02-09 00:00:06' and `end` < '2025-02-09 03: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-02-09 03:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434158', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 03:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 03:00:09] Production.INFO: ProcessCDR(1,14434158,1,1,2)
[2025-02-09 03:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434158,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434158,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:00:09] Production.INFO: ==10705== Releasing lock...
[2025-02-09 03:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 03:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 03:00:14] Production.ERROR: CronJobId end10
[2025-02-09 03:00:14] Production.INFO: ==10698== Releasing lock...
[2025-02-09 03:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:00:17] Production.INFO: call_cost start
[2025-02-09 03:00:17] Production.INFO: call_cost end
[2025-02-09 03:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:00:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:00:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:00:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:00:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:00:18] Production.INFO: ==10694== Releasing lock...
[2025-02-09 03:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:00:19] Production.INFO: count ==957
[2025-02-09 03:00:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:00:06 - End Time 2025-02-09 03:00:06
[2025-02-09 03:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434159', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434159', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434159', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434159', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:00:19] Production.INFO: ProcessCDR(1,14434159,1,1,2)
[2025-02-09 03:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434159', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434159', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:00:24] Production.INFO: ==10702== Releasing lock...
[2025-02-09 03:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:00:24] Production.INFO: 35 MB #Memory Used#
[2025-02-09 08:01:02] Production.INFO: ==10765== Lock acquired, processing the job...
[2025-02-09 08:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:01:02] Production.INFO: neon service started
[2025-02-09 08:01:02] Production.INFO: neon service started
[2025-02-09 08:01:02] Production.INFO: ==10765== Releasing lock...
[2025-02-09 08:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:01:02] Production.INFO: ==10781== Lock acquired, processing the job...
[2025-02-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:01:02] Production.INFO: ==10781== Releasing lock...
[2025-02-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:01:02] Production.INFO: ==10779== Lock acquired, processing the job...
[2025-02-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:01:03] Production.INFO: ==10779== Releasing lock...
[2025-02-09 03:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:01:04] Production.INFO: ==10786== Lock acquired, processing the job...
[2025-02-09 03:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:01:04] Production.INFO: ==10784== Lock acquired, processing the job...
[2025-02-09 03:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:01:04] Production.INFO: ==10792== Lock acquired, processing the job...
[2025-02-09 03:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:01:04] Production.INFO: ==10788== Lock acquired, processing the job...
[2025-02-09 03:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:01:04] Production.INFO: ==10790== Lock acquired, processing the job...
[2025-02-09 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:01:04] Production.INFO: ==10786== Releasing lock...
[2025-02-09 03:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:01:04] Production.INFO: ==10794== Lock acquired, processing the job...
[2025-02-09 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:01:04] Production.INFO: Account Balance Start.
[2025-02-09 03:01:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:01:04] Production.INFO: 117
[2025-02-09 03:01:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:01:04] Production.ERROR: done
[2025-02-09 03:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:01:04] Production.INFO: Total Charge 0
[2025-02-09 03:01:04] Production.INFO: CreateAllLog End
[2025-02-09 03:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:01:04] Production.INFO: count ==21
[2025-02-09 03:01:05] Production.ERROR: done
[2025-02-09 03:01:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:01:05] Production.INFO: count ==21
[2025-02-09 03:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434163') start
[2025-02-09 03:01:05] Production.INFO: Account Balance End.
[2025-02-09 03:01:05] Production.ERROR: CronJobId end 12
[2025-02-09 03:01:05] Production.INFO: ==10790== Releasing lock...
[2025-02-09 03:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434163') end
[2025-02-09 03:01:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:01:05] Production.INFO: 1
[2025-02-09 03:01:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:01:05] Production.INFO: ==10794== Releasing lock...
[2025-02-09 03:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:01:06
[end_date_ymd] => 2025-02-09 03:01:06
[RateCDR] => 1
)
[2025-02-09 03:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 00:01:06' and `end` < '2025-02-09 03:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 03:01:14] Production.ERROR: CronJobId end10
[2025-02-09 03:01:14] Production.INFO: ==10788== Releasing lock...
[2025-02-09 03:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:01:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:01:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:01:16] Production.INFO: call_cost start
[2025-02-09 03:01:16] Production.INFO: call_cost end
[2025-02-09 03:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:01:17] Production.INFO: ==10784== Releasing lock...
[2025-02-09 03:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:01:19] Production.INFO: count ==963
[2025-02-09 03:01:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:01:06 - End Time 2025-02-09 03:01:06
[2025-02-09 03:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434164', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434164', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434164', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434164', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:01:19] Production.INFO: ProcessCDR(1,14434164,1,1,2)
[2025-02-09 03:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434164', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434164', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:01:22] Production.INFO: ==10792== Releasing lock...
[2025-02-09 03:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:01:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 08:02:01] Production.INFO: ==10924== Lock acquired, processing the job...
[2025-02-09 08:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:02:01] Production.INFO: neon service started
[2025-02-09 08:02:01] Production.INFO: neon service started
[2025-02-09 08:02:01] Production.INFO: ==10924== Releasing lock...
[2025-02-09 08:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:02:02] Production.INFO: ==10926== Lock acquired, processing the job...
[2025-02-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:02:02] Production.INFO: ==10928== Lock acquired, processing the job...
[2025-02-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:02:02] Production.INFO: ==10928== Releasing lock...
[2025-02-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:02:02] Production.INFO: ==10926== Releasing lock...
[2025-02-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:02:03] Production.INFO: ==10931== Lock acquired, processing the job...
[2025-02-09 03:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:02:03] Production.INFO: ==10933== Lock acquired, processing the job...
[2025-02-09 03:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:02:03] Production.INFO: ==10937== Lock acquired, processing the job...
[2025-02-09 03:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:02:03] Production.INFO: Account Balance Start.
[2025-02-09 03:02:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:02:03] Production.INFO: 117
[2025-02-09 03:02:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:02:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:02:03] Production.INFO: Total Charge 0
[2025-02-09 03:02:03] Production.INFO: CreateAllLog End
[2025-02-09 03:02:03] Production.INFO: ==10935== Lock acquired, processing the job...
[2025-02-09 03:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:02:04] Production.INFO: ==10939== Lock acquired, processing the job...
[2025-02-09 03:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:02:04] Production.INFO: Account Balance End.
[2025-02-09 03:02:04] Production.INFO: ==10941== Lock acquired, processing the job...
[2025-02-09 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:02:04] Production.INFO: ==10933== Releasing lock...
[2025-02-09 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:02:04] Production.INFO: ==10937== Releasing lock...
[2025-02-09 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:02:04] Production.INFO: count ==21
[2025-02-09 03:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:02:04] Production.INFO: count ==21
[2025-02-09 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434168') start
[2025-02-09 03:02:04] Production.ERROR: done
[2025-02-09 03:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434168') end
[2025-02-09 03:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:02:04] Production.INFO: 1
[2025-02-09 03:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:02:04] Production.INFO: ==10941== Releasing lock...
[2025-02-09 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:02:04] Production.ERROR: done
[2025-02-09 03:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:02:05
[end_date_ymd] => 2025-02-09 03:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 00:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 03:02:11] Production.ERROR: CronJobId end10
[2025-02-09 03:02:11] Production.INFO: ==10935== Releasing lock...
[2025-02-09 03:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:02:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:02:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:02:13] Production.INFO: call_cost start
[2025-02-09 03:02:13] Production.INFO: call_cost end
[2025-02-09 03:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:02:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:02:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:02:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:02:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:02:14] Production.INFO: ==10931== Releasing lock...
[2025-02-09 03:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:02:18] Production.INFO: count ==963
[2025-02-09 03:02:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:02:05 - End Time 2025-02-09 03:02:05
[2025-02-09 03:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434169', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434169', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434169', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434169', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:02:18] Production.INFO: ProcessCDR(1,14434169,1,1,2)
[2025-02-09 03:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434169', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434169', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:02:22] Production.INFO: ==10939== Releasing lock...
[2025-02-09 03:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:02:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 08:03:02] Production.INFO: ==10995== Lock acquired, processing the job...
[2025-02-09 08:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:03:02] Production.INFO: neon service started
[2025-02-09 08:03:02] Production.INFO: neon service started
[2025-02-09 08:03:02] Production.INFO: ==10995== Releasing lock...
[2025-02-09 08:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:03:02] Production.INFO: ==10999== Lock acquired, processing the job...
[2025-02-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:03:02] Production.INFO: ==10999== Releasing lock...
[2025-02-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:03:02] Production.INFO: ==10997== Lock acquired, processing the job...
[2025-02-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:03:03] Production.INFO: ==10997== Releasing lock...
[2025-02-09 03:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:03:03] Production.INFO: ==11001== Lock acquired, processing the job...
[2025-02-09 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:03:03] Production.INFO: ==11005== Lock acquired, processing the job...
[2025-02-09 03:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:03:03] Production.INFO: ==11012== Lock acquired, processing the job...
[2025-02-09 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:03:04] Production.INFO: ==11003== Lock acquired, processing the job...
[2025-02-09 03:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:03:04] Production.INFO: count ==21
[2025-02-09 03:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:03:04] Production.INFO: count ==21
[2025-02-09 03:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434171') start
[2025-02-09 03:03:04] Production.INFO: ==11007== Lock acquired, processing the job...
[2025-02-09 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:03:04] Production.INFO: ==11010== Lock acquired, processing the job...
[2025-02-09 03:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434171') end
[2025-02-09 03:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:03:04] Production.INFO: 1
[2025-02-09 03:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:03:04] Production.INFO: Account Balance Start.
[2025-02-09 03:03:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:03:04] Production.INFO: 117
[2025-02-09 03:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:03:04] Production.INFO: ==11012== Releasing lock...
[2025-02-09 03:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:03:04] Production.INFO: ==11003== Releasing lock...
[2025-02-09 03:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:03:04] Production.INFO: Total Charge 0
[2025-02-09 03:03:04] Production.INFO: CreateAllLog End
[2025-02-09 03:03:04] Production.INFO: Account Balance End.
[2025-02-09 03:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:03:04] Production.INFO: ==11007== Releasing lock...
[2025-02-09 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:03:04] Production.ERROR: done
[2025-02-09 03:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:03:04] Production.ERROR: done
[2025-02-09 03:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:03:05
[end_date_ymd] => 2025-02-09 03:03:05
[RateCDR] => 1
)
[2025-02-09 03:03: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` >= '2025-02-09 00:03:05' and `end` < '2025-02-09 03:03: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 ,'')
[2025-02-09 03:03:11] Production.ERROR: CronJobId end10
[2025-02-09 03:03:11] Production.INFO: ==11005== Releasing lock...
[2025-02-09 03:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:03:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:03:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:03:14] Production.INFO: call_cost start
[2025-02-09 03:03:14] Production.INFO: call_cost end
[2025-02-09 03:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:03:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:03:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:03:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:03:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:03:14] Production.INFO: ==11001== Releasing lock...
[2025-02-09 03:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:03:19] Production.INFO: count ==964
[2025-02-09 03:03:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:03:05 - End Time 2025-02-09 03:03:05
[2025-02-09 03:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434174', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434174', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434174', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434174', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:03:19] Production.INFO: ProcessCDR(1,14434174,1,1,2)
[2025-02-09 03:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434174', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434174', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:03:22] Production.INFO: ==11010== Releasing lock...
[2025-02-09 03:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:03:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 08:04:01] Production.INFO: ==11064== Lock acquired, processing the job...
[2025-02-09 08:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:04:01] Production.INFO: neon service started
[2025-02-09 08:04:01] Production.INFO: neon service started
[2025-02-09 08:04:01] Production.INFO: ==11064== Releasing lock...
[2025-02-09 08:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:04:02] Production.INFO: ==11066== Lock acquired, processing the job...
[2025-02-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:04:02] Production.INFO: ==11068== Lock acquired, processing the job...
[2025-02-09 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:04:02] Production.INFO: ==11068== Releasing lock...
[2025-02-09 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:04:02] Production.INFO: ==11066== Releasing lock...
[2025-02-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:04:03] Production.INFO: ==11077== Lock acquired, processing the job...
[2025-02-09 03:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:04:03] Production.INFO: ==11079== Lock acquired, processing the job...
[2025-02-09 03:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:04:03] Production.INFO: Account Balance Start.
[2025-02-09 03:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:04:03] Production.INFO: 117
[2025-02-09 03:04:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:04:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:04:03] Production.INFO: ==11071== Lock acquired, processing the job...
[2025-02-09 03:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:04:03] Production.INFO: Total Charge 0
[2025-02-09 03:04:03] Production.INFO: ==11075== Lock acquired, processing the job...
[2025-02-09 03:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:04:03] Production.INFO: CreateAllLog End
[2025-02-09 03:04:03] Production.INFO: ==11073== Lock acquired, processing the job...
[2025-02-09 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:04:04] Production.INFO: ==11081== Lock acquired, processing the job...
[2025-02-09 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:04:04] Production.ERROR: done
[2025-02-09 03:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:04:04] Production.INFO: Account Balance End.
[2025-02-09 03:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:04:04] Production.INFO: ==11077== Releasing lock...
[2025-02-09 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:04:04] Production.INFO: count ==21
[2025-02-09 03:04:04] Production.ERROR: done
[2025-02-09 03:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:04:04] Production.INFO: ==11073== Releasing lock...
[2025-02-09 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:04:04] Production.INFO: count ==21
[2025-02-09 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434178') start
[2025-02-09 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434178') end
[2025-02-09 03:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:04:04] Production.INFO: 1
[2025-02-09 03:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:04:04] Production.INFO: ==11081== Releasing lock...
[2025-02-09 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:04:05
[end_date_ymd] => 2025-02-09 03:04:05
[RateCDR] => 1
)
[2025-02-09 03:04: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` >= '2025-02-09 00:04:05' and `end` < '2025-02-09 03:04: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 ,'')
[2025-02-09 03:04:11] Production.ERROR: CronJobId end10
[2025-02-09 03:04:11] Production.INFO: ==11075== Releasing lock...
[2025-02-09 03:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:04:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:04:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:04:13] Production.INFO: call_cost start
[2025-02-09 03:04:13] Production.INFO: call_cost end
[2025-02-09 03:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:04:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:04:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:04:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:04:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:04:14] Production.INFO: ==11071== Releasing lock...
[2025-02-09 03:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:04:18] Production.INFO: count ==965
[2025-02-09 03:04:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:04:05 - End Time 2025-02-09 03:04:05
[2025-02-09 03:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434179', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434179', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434179', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434179', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:04:18] Production.INFO: ProcessCDR(1,14434179,1,1,2)
[2025-02-09 03:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434179', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434179', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:04:23] Production.INFO: ==11079== Releasing lock...
[2025-02-09 03:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:04:23] Production.INFO: 35 MB #Memory Used#
[2025-02-09 08:05:02] Production.INFO: ==11135== Lock acquired, processing the job...
[2025-02-09 08:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:05:02] Production.INFO: neon service started
[2025-02-09 08:05:02] Production.INFO: neon service started
[2025-02-09 08:05:02] Production.INFO: ==11135== Releasing lock...
[2025-02-09 08:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:05:02] Production.INFO: ==11137== Lock acquired, processing the job...
[2025-02-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:05:02] Production.INFO: ==11137== Releasing lock...
[2025-02-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:05:02] Production.INFO: ==11139== Lock acquired, processing the job...
[2025-02-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:05:03] Production.INFO: ==11139== Releasing lock...
[2025-02-09 08:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:05:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:05:03] Production.INFO: ==11149== Lock acquired, processing the job...
[2025-02-09 03:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:05:03] Production.INFO: ==11145== Lock acquired, processing the job...
[2025-02-09 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:05:03] Production.INFO: ==11141== Lock acquired, processing the job...
[2025-02-09 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:05:03] Production.INFO: ==11143== Lock acquired, processing the job...
[2025-02-09 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:05:03] Production.INFO: ==11147== Lock acquired, processing the job...
[2025-02-09 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:05:04] Production.INFO: ==11152== Lock acquired, processing the job...
[2025-02-09 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:05:04] Production.INFO: Account Balance Start.
[2025-02-09 03:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:05:04] Production.INFO: 117
[2025-02-09 03:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:05:04] Production.INFO: Total Charge 0
[2025-02-09 03:05:04] Production.ERROR: done
[2025-02-09 03:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:05:04] Production.INFO: CreateAllLog End
[2025-02-09 03:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:05:04] Production.INFO: count ==21
[2025-02-09 03:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:05:04] Production.INFO: count ==21
[2025-02-09 03:05:04] Production.ERROR: done
[2025-02-09 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434183') start
[2025-02-09 03:05:04] Production.INFO: ==11143== Releasing lock...
[2025-02-09 03:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:05:04] Production.INFO: Account Balance End.
[2025-02-09 03:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434183') end
[2025-02-09 03:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:05:04] Production.INFO: 1
[2025-02-09 03:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:05:04] Production.INFO: ==11147== Releasing lock...
[2025-02-09 03:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:05:04] Production.INFO: ==11152== Releasing lock...
[2025-02-09 03:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:05:05
[end_date_ymd] => 2025-02-09 03:05:05
[RateCDR] => 1
)
[2025-02-09 03:05: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` >= '2025-02-09 00:05:05' and `end` < '2025-02-09 03:05: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 ,'')
[2025-02-09 03:05:11] Production.ERROR: CronJobId end10
[2025-02-09 03:05:11] Production.INFO: ==11145== Releasing lock...
[2025-02-09 03:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:05:14] Production.INFO: call_cost start
[2025-02-09 03:05:14] Production.INFO: call_cost end
[2025-02-09 03:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:05:15] Production.INFO: ==11141== Releasing lock...
[2025-02-09 03:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:05:18] Production.INFO: count ==970
[2025-02-09 03:05:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:05:05 - End Time 2025-02-09 03:05:05
[2025-02-09 03:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434184', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434184', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434184', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434184', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:05:18] Production.INFO: ProcessCDR(1,14434184,1,1,2)
[2025-02-09 03:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434184', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434184', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:05:21] Production.INFO: ==11149== Releasing lock...
[2025-02-09 03:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:05:21] Production.INFO: 35.25 MB #Memory Used#
[2025-02-09 08:06:01] Production.INFO: ==11283== Lock acquired, processing the job...
[2025-02-09 08:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:06:01] Production.INFO: neon service started
[2025-02-09 08:06:01] Production.INFO: neon service started
[2025-02-09 08:06:01] Production.INFO: ==11283== Releasing lock...
[2025-02-09 08:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:06:02] Production.INFO: ==11285== Lock acquired, processing the job...
[2025-02-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:06:02] Production.INFO: ==11287== Lock acquired, processing the job...
[2025-02-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:06:02] Production.INFO: ==11287== Releasing lock...
[2025-02-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:06:02] Production.INFO: ==11285== Releasing lock...
[2025-02-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:06:03] Production.INFO: ==11296== Lock acquired, processing the job...
[2025-02-09 03:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:06:03] Production.INFO: ==11298== Lock acquired, processing the job...
[2025-02-09 03:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:06:03] Production.INFO: Account Balance Start.
[2025-02-09 03:06:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:06:03] Production.INFO: 117
[2025-02-09 03:06:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:06:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:06:03] Production.INFO: Total Charge 0
[2025-02-09 03:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:06:03] Production.INFO: CreateAllLog End
[2025-02-09 03:06:03] Production.INFO: ==11290== Lock acquired, processing the job...
[2025-02-09 03:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:06:03] Production.INFO: ==11292== Lock acquired, processing the job...
[2025-02-09 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:06:03] Production.INFO: ==11294== Lock acquired, processing the job...
[2025-02-09 03:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:06:03] Production.INFO: ==11300== Lock acquired, processing the job...
[2025-02-09 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:06:03] Production.INFO: Account Balance End.
[2025-02-09 03:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:06:04] Production.INFO: ==11296== Releasing lock...
[2025-02-09 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:06:04] Production.INFO: count ==21
[2025-02-09 03:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:06:04] Production.INFO: count ==21
[2025-02-09 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434186') start
[2025-02-09 03:06:04] Production.ERROR: done
[2025-02-09 03:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434186') end
[2025-02-09 03:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:06:04] Production.INFO: 1
[2025-02-09 03:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:06:04] Production.ERROR: done
[2025-02-09 03:06:04] Production.INFO: ==11300== Releasing lock...
[2025-02-09 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:06:04] Production.INFO: ==11292== Releasing lock...
[2025-02-09 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:06:05
[end_date_ymd] => 2025-02-09 03:06:05
[RateCDR] => 1
)
[2025-02-09 03:06: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` >= '2025-02-09 00:06:05' and `end` < '2025-02-09 03:06: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 ,'')
[2025-02-09 03:06:12] Production.ERROR: CronJobId end10
[2025-02-09 03:06:12] Production.INFO: ==11294== Releasing lock...
[2025-02-09 03:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:06:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:06:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:06:14] Production.INFO: call_cost start
[2025-02-09 03:06:14] Production.INFO: call_cost end
[2025-02-09 03:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:06:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:06:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:06:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:06:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:06:15] Production.INFO: ==11290== Releasing lock...
[2025-02-09 03:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:06:18] Production.INFO: count ==977
[2025-02-09 03:06:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:06:05 - End Time 2025-02-09 03:06:05
[2025-02-09 03:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434189', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434189', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434189', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434189', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:06:18] Production.INFO: ProcessCDR(1,14434189,1,1,2)
[2025-02-09 03:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434189', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434189', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:06:21] Production.INFO: ==11298== Releasing lock...
[2025-02-09 03:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:06:21] Production.INFO: 35.25 MB #Memory Used#
[2025-02-09 08:07:02] Production.INFO: ==11354== Lock acquired, processing the job...
[2025-02-09 08:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:07:02] Production.INFO: neon service started
[2025-02-09 08:07:02] Production.INFO: neon service started
[2025-02-09 08:07:02] Production.INFO: ==11354== Releasing lock...
[2025-02-09 08:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:07:02] Production.INFO: ==11359== Lock acquired, processing the job...
[2025-02-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:07:02] Production.INFO: ==11359== Releasing lock...
[2025-02-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:07:02] Production.INFO: ==11357== Lock acquired, processing the job...
[2025-02-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:07:02] Production.INFO: ==11357== Releasing lock...
[2025-02-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:07:03] Production.INFO: ==11361== Lock acquired, processing the job...
[2025-02-09 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:07:03] Production.INFO: ==11365== Lock acquired, processing the job...
[2025-02-09 03:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:07:03] Production.INFO: ==11367== Lock acquired, processing the job...
[2025-02-09 03:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:07:03] Production.INFO: Account Balance Start.
[2025-02-09 03:07:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:07:03] Production.INFO: 117
[2025-02-09 03:07:03] Production.INFO: ==11363== Lock acquired, processing the job...
[2025-02-09 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:07:04] Production.INFO: ==11369== Lock acquired, processing the job...
[2025-02-09 03:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:07:04] Production.INFO: Total Charge 0
[2025-02-09 03:07:04] Production.INFO: ==11371== Lock acquired, processing the job...
[2025-02-09 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:07:04] Production.INFO: CreateAllLog End
[2025-02-09 03:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:07:04] Production.INFO: ==11363== Releasing lock...
[2025-02-09 03:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:07:04] Production.INFO: count ==21
[2025-02-09 03:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:07:04] Production.INFO: count ==21
[2025-02-09 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434193') start
[2025-02-09 03:07:04] Production.INFO: Account Balance End.
[2025-02-09 03:07:04] Production.ERROR: done
[2025-02-09 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434193') end
[2025-02-09 03:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:07:04] Production.INFO: 1
[2025-02-09 03:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:07:04] Production.INFO: ==11367== Releasing lock...
[2025-02-09 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:07:04] Production.INFO: ==11371== Releasing lock...
[2025-02-09 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:07:04] Production.ERROR: done
[2025-02-09 03:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:07:05
[end_date_ymd] => 2025-02-09 03:07:05
[RateCDR] => 1
)
[2025-02-09 03:07: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` >= '2025-02-09 00:07:05' and `end` < '2025-02-09 03:07: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 ,'')
[2025-02-09 03:07:11] Production.ERROR: CronJobId end10
[2025-02-09 03:07:11] Production.INFO: ==11365== Releasing lock...
[2025-02-09 03:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:07:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:07:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:07:14] Production.INFO: call_cost start
[2025-02-09 03:07:14] Production.INFO: call_cost end
[2025-02-09 03:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:07:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:07:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:07:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:07:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:07:15] Production.INFO: ==11361== Releasing lock...
[2025-02-09 03:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:07:19] Production.INFO: count ==977
[2025-02-09 03:07:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:07:05 - End Time 2025-02-09 03:07:05
[2025-02-09 03:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434194', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434194', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434194', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434194', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:07:19] Production.INFO: ProcessCDR(1,14434194,1,1,2)
[2025-02-09 03:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434194', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434194', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:07:22] Production.INFO: ==11369== Releasing lock...
[2025-02-09 03:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:07:22] Production.INFO: 35.25 MB #Memory Used#
[2025-02-09 08:08:01] Production.INFO: ==11423== Lock acquired, processing the job...
[2025-02-09 08:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:08:01] Production.INFO: neon service started
[2025-02-09 08:08:01] Production.INFO: neon service started
[2025-02-09 08:08:01] Production.INFO: ==11423== Releasing lock...
[2025-02-09 08:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:08:01] Production.INFO: ==11427== Lock acquired, processing the job...
[2025-02-09 08:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:08:01] Production.INFO: ==11427== Releasing lock...
[2025-02-09 08:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:08:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:08:02] Production.INFO: ==11425== Lock acquired, processing the job...
[2025-02-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:08:02] Production.INFO: ==11425== Releasing lock...
[2025-02-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:08:03] Production.INFO: ==11436== Lock acquired, processing the job...
[2025-02-09 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:08:03] Production.INFO: Account Balance Start.
[2025-02-09 03:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:08:03] Production.INFO: 117
[2025-02-09 03:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:08:03] Production.INFO: ==11430== Lock acquired, processing the job...
[2025-02-09 03:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:08:03] Production.INFO: ==11440== Lock acquired, processing the job...
[2025-02-09 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:08:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:08:03] Production.INFO: ==11432== Lock acquired, processing the job...
[2025-02-09 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:08:03] Production.INFO: Total Charge 0
[2025-02-09 03:08:03] Production.INFO: ==11434== Lock acquired, processing the job...
[2025-02-09 03:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:08:03] Production.INFO: CreateAllLog End
[2025-02-09 03:08:03] Production.INFO: ==11438== Lock acquired, processing the job...
[2025-02-09 03:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:08:03] Production.INFO: count ==21
[2025-02-09 03:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:08:03] Production.INFO: count ==21
[2025-02-09 03:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434197') start
[2025-02-09 03:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434197') end
[2025-02-09 03:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:08:03] Production.INFO: 1
[2025-02-09 03:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:08:03] Production.INFO: Account Balance End.
[2025-02-09 03:08:03] Production.ERROR: CronJobId end 12
[2025-02-09 03:08:03] Production.INFO: ==11436== Releasing lock...
[2025-02-09 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:08:03] Production.INFO: ==11440== Releasing lock...
[2025-02-09 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:08:03] Production.ERROR: done
[2025-02-09 03:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:08:04] Production.INFO: ==11432== Releasing lock...
[2025-02-09 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:08:04] Production.ERROR: done
[2025-02-09 03:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:08:05
[end_date_ymd] => 2025-02-09 03:08:05
[RateCDR] => 1
)
[2025-02-09 03:08: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` >= '2025-02-09 00:08:05' and `end` < '2025-02-09 03:08: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 ,'')
[2025-02-09 03:08:12] Production.ERROR: CronJobId end10
[2025-02-09 03:08:12] Production.INFO: ==11434== Releasing lock...
[2025-02-09 03:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:08:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:08:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:08:14] Production.INFO: call_cost start
[2025-02-09 03:08:14] Production.INFO: call_cost end
[2025-02-09 03:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:08:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:08:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:08:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:08:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:08:14] Production.INFO: ==11430== Releasing lock...
[2025-02-09 03:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:08:18] Production.INFO: count ==968
[2025-02-09 03:08:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:08:05 - End Time 2025-02-09 03:08:05
[2025-02-09 03:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434199', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434199', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434199', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434199', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:08:18] Production.INFO: ProcessCDR(1,14434199,1,1,2)
[2025-02-09 03:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434199', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434199', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:08:21] Production.INFO: ==11438== Releasing lock...
[2025-02-09 03:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:08:21] Production.INFO: 35.25 MB #Memory Used#
[2025-02-09 08:09:01] Production.INFO: ==11576== Lock acquired, processing the job...
[2025-02-09 08:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:09:01] Production.INFO: neon service started
[2025-02-09 08:09:01] Production.INFO: neon service started
[2025-02-09 08:09:01] Production.INFO: ==11576== Releasing lock...
[2025-02-09 08:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:09:02] Production.INFO: ==11580== Lock acquired, processing the job...
[2025-02-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:09:02] Production.INFO: ==11580== Releasing lock...
[2025-02-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:09:02] Production.INFO: ==11578== Lock acquired, processing the job...
[2025-02-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:09:02] Production.INFO: ==11578== Releasing lock...
[2025-02-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:09:03] Production.INFO: ==11587== Lock acquired, processing the job...
[2025-02-09 03:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:09:03] Production.INFO: ==11593== Lock acquired, processing the job...
[2025-02-09 03:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:09:03] Production.INFO: ==11583== Lock acquired, processing the job...
[2025-02-09 03:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:09:03] Production.INFO: count ==21
[2025-02-09 03:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:09:03] Production.INFO: ==11585== Lock acquired, processing the job...
[2025-02-09 03:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:09:03] Production.INFO: count ==21
[2025-02-09 03:09:03] Production.INFO: ==11589== Lock acquired, processing the job...
[2025-02-09 03:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434200') start
[2025-02-09 03:09:03] Production.INFO: ==11591== Lock acquired, processing the job...
[2025-02-09 03:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:09:04] Production.INFO: Account Balance Start.
[2025-02-09 03:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:09:04] Production.INFO: 117
[2025-02-09 03:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434200') end
[2025-02-09 03:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:09:04] Production.INFO: 1
[2025-02-09 03:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:09:04] Production.INFO: Total Charge 0
[2025-02-09 03:09:04] Production.INFO: CreateAllLog End
[2025-02-09 03:09:04] Production.INFO: ==11593== Releasing lock...
[2025-02-09 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:09:04] Production.INFO: ==11585== Releasing lock...
[2025-02-09 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:09:04] Production.INFO: Account Balance End.
[2025-02-09 03:09:04] Production.ERROR: done
[2025-02-09 03:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:09:04] Production.INFO: ==11589== Releasing lock...
[2025-02-09 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:09:04] Production.ERROR: done
[2025-02-09 03:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:09:05
[end_date_ymd] => 2025-02-09 03:09:05
[RateCDR] => 1
)
[2025-02-09 03:09: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` >= '2025-02-09 00:09:05' and `end` < '2025-02-09 03:09: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 ,'')
[2025-02-09 03:09:12] Production.ERROR: CronJobId end10
[2025-02-09 03:09:12] Production.INFO: ==11587== Releasing lock...
[2025-02-09 03:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:09:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:09:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:09:13] Production.INFO: call_cost start
[2025-02-09 03:09:13] Production.INFO: call_cost end
[2025-02-09 03:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:09:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:09:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:09:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:09:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:09:14] Production.INFO: ==11583== Releasing lock...
[2025-02-09 03:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:09:18] Production.INFO: count ==966
[2025-02-09 03:09:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:09:05 - End Time 2025-02-09 03:09:05
[2025-02-09 03:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434204', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434204', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434204', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434204', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:09:18] Production.INFO: ProcessCDR(1,14434204,1,1,2)
[2025-02-09 03:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434204', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434204', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:09:22] Production.INFO: ==11591== Releasing lock...
[2025-02-09 03:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:09:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 08:10:01] Production.INFO: ==11685== Lock acquired, processing the job...
[2025-02-09 08:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:10:01] Production.INFO: neon service started
[2025-02-09 08:10:01] Production.INFO: neon service started
[2025-02-09 08:10:01] Production.INFO: ==11685== Releasing lock...
[2025-02-09 08:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:10:02] Production.INFO: ==11687== Lock acquired, processing the job...
[2025-02-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:10:02] Production.INFO: ==11689== Lock acquired, processing the job...
[2025-02-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:10:02] Production.INFO: ==11689== Releasing lock...
[2025-02-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:10:02] Production.INFO: ==11687== Releasing lock...
[2025-02-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:10:03] Production.INFO: ==11696== Lock acquired, processing the job...
[2025-02-09 03:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:10:03] Production.INFO: ==11692== Lock acquired, processing the job...
[2025-02-09 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 03:10:03] Production.INFO: ==11703== Lock acquired, processing the job...
[2025-02-09 03:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:10:03] Production.INFO: ==11694== Lock acquired, processing the job...
[2025-02-09 03:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:10:03] Production.ERROR: CronJob PID - 11696
[2025-02-09 03:10:03] Production.ERROR: CronJob Title - Account Block
[2025-02-09 03:10:03] Production.ERROR: CronJob ID - 7
[2025-02-09 03:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 03:10:00
[2025-02-09 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:10:03] Production.ERROR: CronJob PID - 11703
[2025-02-09 03:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 03:10:03] Production.ERROR: CronJob ID - 16
[2025-02-09 03:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 03:10:00
[2025-02-09 03:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 03:10:04] Production.INFO: ==11692== Releasing lock...
[2025-02-09 03:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 03:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 03:10:04] Production.INFO: ==11707== Lock acquired, processing the job...
[2025-02-09 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:10:04] Production.INFO: ==11698== Lock acquired, processing the job...
[2025-02-09 03:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:10:04] Production.INFO: ==11705== Lock acquired, processing the job...
[2025-02-09 03:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 03:10:04] Production.INFO: ==11700== Lock acquired, processing the job...
[2025-02-09 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:10:04] Production.INFO: ==11696== Releasing lock...
[2025-02-09 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:10:04] Production.INFO: Account Balance Start.
[2025-02-09 03:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:10:04] Production.INFO: 117
[2025-02-09 03:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:10:04] Production.INFO: count ==21
[2025-02-09 03:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:10:04] Production.INFO: count ==21
[2025-02-09 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434206') start
[2025-02-09 03:10:04] Production.INFO: Total Charge 0
[2025-02-09 03:10:04] Production.INFO: CreateAllLog End
[2025-02-09 03:10:04] Production.ERROR: done
[2025-02-09 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434206') end
[2025-02-09 03:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:10:04] Production.INFO: 1
[2025-02-09 03:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:10:04] Production.ERROR: done
[2025-02-09 03:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 03:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434209', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 03:10:04] Production.INFO: ==11707== Releasing lock...
[2025-02-09 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:10:04] Production.ERROR: done
[2025-02-09 03:10:04] Production.INFO: Account Balance End.
[2025-02-09 03:10:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:10:04] Production.INFO: ==11700== Releasing lock...
[2025-02-09 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:10:05
[end_date_ymd] => 2025-02-09 03:10:05
[RateCDR] => 1
)
[2025-02-09 03:10: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` >= '2025-02-09 00:10:05' and `end` < '2025-02-09 03:10: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 ,'')
[2025-02-09 03:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434209', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 03:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 03:10:08] Production.INFO: ProcessCDR(1,14434209,1,1,2)
[2025-02-09 03:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434209,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434209,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:10:09] Production.INFO: ==11705== Releasing lock...
[2025-02-09 03:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 03:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 03:10:13] Production.ERROR: CronJobId end10
[2025-02-09 03:10:13] Production.INFO: ==11698== Releasing lock...
[2025-02-09 03:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:10:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:10:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:10:16] Production.INFO: call_cost start
[2025-02-09 03:10:16] Production.INFO: call_cost end
[2025-02-09 03:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:10:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:10:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:10:17] Production.INFO: ==11694== Releasing lock...
[2025-02-09 03:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:10:18] Production.INFO: count ==962
[2025-02-09 03:10:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:10:05 - End Time 2025-02-09 03:10:05
[2025-02-09 03:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434210', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434210', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434210', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434210', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:10:18] Production.INFO: ProcessCDR(1,14434210,1,1,2)
[2025-02-09 03:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434210', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434210', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:10:22] Production.INFO: ==11703== Releasing lock...
[2025-02-09 03:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:10:22] Production.INFO: 35 MB #Memory Used#
[2025-02-09 08:11:01] Production.INFO: ==11759== Lock acquired, processing the job...
[2025-02-09 08:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:11:01] Production.INFO: neon service started
[2025-02-09 08:11:01] Production.INFO: neon service started
[2025-02-09 08:11:01] Production.INFO: ==11759== Releasing lock...
[2025-02-09 08:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:11:02] Production.INFO: ==11761== Lock acquired, processing the job...
[2025-02-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:11:02] Production.INFO: ==11761== Releasing lock...
[2025-02-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:11:02] Production.INFO: ==11763== Lock acquired, processing the job...
[2025-02-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:11:02] Production.INFO: ==11763== Releasing lock...
[2025-02-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:11:03] Production.INFO: ==11770== Lock acquired, processing the job...
[2025-02-09 03:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:11:03] Production.INFO: ==11766== Lock acquired, processing the job...
[2025-02-09 03:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:11:03] Production.INFO: ==11774== Lock acquired, processing the job...
[2025-02-09 03:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:11:03] Production.INFO: ==11768== Lock acquired, processing the job...
[2025-02-09 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:11:03] Production.INFO: ==11772== Lock acquired, processing the job...
[2025-02-09 03:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:11:03] Production.INFO: ==11776== Lock acquired, processing the job...
[2025-02-09 03:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:11:03] Production.INFO: Account Balance Start.
[2025-02-09 03:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:11:03] Production.INFO: 117
[2025-02-09 03:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:11:03] Production.INFO: count ==21
[2025-02-09 03:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:11:03] Production.INFO: count ==21
[2025-02-09 03:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434214') start
[2025-02-09 03:11:04] Production.INFO: ==11768== Releasing lock...
[2025-02-09 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:11:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:11:04] Production.ERROR: done
[2025-02-09 03:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:11:04] Production.INFO: Total Charge 0
[2025-02-09 03:11:04] Production.INFO: CreateAllLog End
[2025-02-09 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434214') end
[2025-02-09 03:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:11:04] Production.INFO: 1
[2025-02-09 03:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:11:04] Production.INFO: ==11776== Releasing lock...
[2025-02-09 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:11:04] Production.ERROR: done
[2025-02-09 03:11:04] Production.INFO: Account Balance End.
[2025-02-09 03:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:11:04] Production.INFO: ==11772== Releasing lock...
[2025-02-09 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:11:05
[end_date_ymd] => 2025-02-09 03:11:05
[RateCDR] => 1
)
[2025-02-09 03:11: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` >= '2025-02-09 00:11:05' and `end` < '2025-02-09 03:11: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 ,'')
[2025-02-09 03:11:12] Production.ERROR: CronJobId end10
[2025-02-09 03:11:12] Production.INFO: ==11770== Releasing lock...
[2025-02-09 03:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:11:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:11:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:11:14] Production.INFO: call_cost start
[2025-02-09 03:11:14] Production.INFO: call_cost end
[2025-02-09 03:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:11:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:11:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:11:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:11:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:11:15] Production.INFO: ==11766== Releasing lock...
[2025-02-09 03:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:11:18] Production.INFO: count ==928
[2025-02-09 03:11:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:11:05 - End Time 2025-02-09 03:11:05
[2025-02-09 03:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434215', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434215', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434215', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434215', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:11:18] Production.INFO: ProcessCDR(1,14434215,1,1,2)
[2025-02-09 03:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434215', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434215', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:11:21] Production.INFO: ==11774== Releasing lock...
[2025-02-09 03:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:11:21] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 08:12:02] Production.INFO: ==11830== Lock acquired, processing the job...
[2025-02-09 08:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:12:02] Production.INFO: neon service started
[2025-02-09 08:12:02] Production.INFO: neon service started
[2025-02-09 08:12:02] Production.INFO: ==11830== Releasing lock...
[2025-02-09 08:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:12:03] Production.INFO: ==11832== Lock acquired, processing the job...
[2025-02-09 03:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:12:03] Production.INFO: ==11834== Lock acquired, processing the job...
[2025-02-09 08:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:12:03] Production.INFO: ==11834== Releasing lock...
[2025-02-09 08:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:12:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:12:03] Production.INFO: ==11832== Releasing lock...
[2025-02-09 03:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:12:04] Production.INFO: ==11841== Lock acquired, processing the job...
[2025-02-09 03:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:12:04] Production.INFO: ==11847== Lock acquired, processing the job...
[2025-02-09 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:12:04] Production.INFO: ==11837== Lock acquired, processing the job...
[2025-02-09 03:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:12:04] Production.INFO: ==11839== Lock acquired, processing the job...
[2025-02-09 03:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:12:04] Production.INFO: ==11843== Lock acquired, processing the job...
[2025-02-09 03:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:12:04] Production.INFO: count ==21
[2025-02-09 03:12:04] Production.INFO: ==11845== Lock acquired, processing the job...
[2025-02-09 03:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:12:04] Production.INFO: count ==21
[2025-02-09 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434216') start
[2025-02-09 03:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:12:04] Production.INFO: Account Balance Start.
[2025-02-09 03:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:12:04] Production.INFO: 117
[2025-02-09 03:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:12:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434216') end
[2025-02-09 03:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:12:04] Production.INFO: 1
[2025-02-09 03:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:12:04] Production.INFO: Total Charge 0
[2025-02-09 03:12:04] Production.INFO: ==11847== Releasing lock...
[2025-02-09 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:12:04] Production.INFO: ==11839== Releasing lock...
[2025-02-09 03:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:12:05] Production.INFO: CreateAllLog End
[2025-02-09 03:12:05] Production.ERROR: done
[2025-02-09 03:12:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:12:05] Production.INFO: Account Balance End.
[2025-02-09 03:12:05] Production.ERROR: done
[2025-02-09 03:12:05] Production.ERROR: CronJobId end 12
[2025-02-09 03:12:05] Production.INFO: ==11843== Releasing lock...
[2025-02-09 03:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:12:06
[end_date_ymd] => 2025-02-09 03:12:06
[RateCDR] => 1
)
[2025-02-09 03:12: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-02-09 00:12:06' and `end` < '2025-02-09 03:12: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-02-09 03:12:13] Production.ERROR: CronJobId end10
[2025-02-09 03:12:13] Production.INFO: ==11841== Releasing lock...
[2025-02-09 03:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:12:14] Production.INFO: call_cost start
[2025-02-09 03:12:14] Production.INFO: call_cost end
[2025-02-09 03:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:12:15] Production.INFO: ==11837== Releasing lock...
[2025-02-09 03:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:12:19] Production.INFO: count ==928
[2025-02-09 03:12:20] Production.ERROR: pbx CDR StartTime 2025-02-09 00:12:06 - End Time 2025-02-09 03:12:06
[2025-02-09 03:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434220', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434220', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434220', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434220', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:12:20] Production.INFO: ProcessCDR(1,14434220,1,1,2)
[2025-02-09 03:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434220', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434220', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:12:23] Production.INFO: ==11845== Releasing lock...
[2025-02-09 03:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:12:23] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 08:13:01] Production.INFO: ==11982== Lock acquired, processing the job...
[2025-02-09 08:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:13:01] Production.INFO: neon service started
[2025-02-09 08:13:01] Production.INFO: neon service started
[2025-02-09 08:13:01] Production.INFO: ==11982== Releasing lock...
[2025-02-09 08:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:13:02] Production.INFO: ==11984== Lock acquired, processing the job...
[2025-02-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:13:02] Production.INFO: ==11984== Releasing lock...
[2025-02-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:13:02] Production.INFO: ==11986== Lock acquired, processing the job...
[2025-02-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:13:02] Production.INFO: ==11986== Releasing lock...
[2025-02-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:13:03] Production.INFO: ==11988== Lock acquired, processing the job...
[2025-02-09 03:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:13:03] Production.INFO: ==11990== Lock acquired, processing the job...
[2025-02-09 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:13:03] Production.INFO: ==11992== Lock acquired, processing the job...
[2025-02-09 03:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:13:03] Production.INFO: ==11990== Releasing lock...
[2025-02-09 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:13:03] Production.INFO: ==11994== Lock acquired, processing the job...
[2025-02-09 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:13:03] Production.INFO: ==11998== Lock acquired, processing the job...
[2025-02-09 03:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:13:03] Production.INFO: ==11996== Lock acquired, processing the job...
[2025-02-09 03:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:13:03] Production.INFO: Account Balance Start.
[2025-02-09 03:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:13:03] Production.INFO: 117
[2025-02-09 03:13:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:13:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:13:03] Production.INFO: Total Charge 0
[2025-02-09 03:13:04] Production.INFO: CreateAllLog End
[2025-02-09 03:13:04] Production.INFO: count ==21
[2025-02-09 03:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:13:04] Production.INFO: count ==21
[2025-02-09 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434224') start
[2025-02-09 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434224') end
[2025-02-09 03:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:13:04] Production.INFO: 1
[2025-02-09 03:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:13:04] Production.ERROR: done
[2025-02-09 03:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:13:04] Production.INFO: Account Balance End.
[2025-02-09 03:13:04] Production.INFO: ==11998== Releasing lock...
[2025-02-09 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:13:04] Production.ERROR: done
[2025-02-09 03:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:13:04] Production.INFO: ==11994== Releasing lock...
[2025-02-09 03:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:13:05
[end_date_ymd] => 2025-02-09 03:13:05
[RateCDR] => 1
)
[2025-02-09 03:13: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` >= '2025-02-09 00:13:05' and `end` < '2025-02-09 03:13: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 ,'')
[2025-02-09 03:13:11] Production.ERROR: CronJobId end10
[2025-02-09 03:13:11] Production.INFO: ==11992== Releasing lock...
[2025-02-09 03:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:13:14] Production.INFO: call_cost start
[2025-02-09 03:13:14] Production.INFO: call_cost end
[2025-02-09 03:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:13:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:13:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:13:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:13:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:13:15] Production.INFO: ==11988== Releasing lock...
[2025-02-09 03:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:13:18] Production.INFO: count ==929
[2025-02-09 03:13:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:13:05 - End Time 2025-02-09 03:13:05
[2025-02-09 03:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434225', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434225', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434225', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434225', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:13:18] Production.INFO: ProcessCDR(1,14434225,1,1,2)
[2025-02-09 03:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434225', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434225', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:13:23] Production.INFO: ==11996== Releasing lock...
[2025-02-09 03:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:13:23] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 08:14:02] Production.INFO: ==12061== Lock acquired, processing the job...
[2025-02-09 08:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:14:02] Production.INFO: neon service started
[2025-02-09 08:14:02] Production.INFO: neon service started
[2025-02-09 08:14:02] Production.INFO: ==12061== Releasing lock...
[2025-02-09 08:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:14:02] Production.INFO: ==12063== Lock acquired, processing the job...
[2025-02-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:14:02] Production.INFO: ==12063== Releasing lock...
[2025-02-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:14:03] Production.INFO: ==12065== Lock acquired, processing the job...
[2025-02-09 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:14:03] Production.INFO: ==12065== Releasing lock...
[2025-02-09 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:14:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:14:03] Production.INFO: ==12074== Lock acquired, processing the job...
[2025-02-09 03:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:14:03] Production.INFO: ==12068== Lock acquired, processing the job...
[2025-02-09 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:14:03] Production.INFO: ==12070== Lock acquired, processing the job...
[2025-02-09 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:14:03] Production.INFO: ==12072== Lock acquired, processing the job...
[2025-02-09 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:14:03] Production.INFO: Account Balance Start.
[2025-02-09 03:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:14:03] Production.INFO: 117
[2025-02-09 03:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:14:03] Production.INFO: ==12076== Lock acquired, processing the job...
[2025-02-09 03:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:14:04] Production.INFO: ==12078== Lock acquired, processing the job...
[2025-02-09 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:14:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:14:04] Production.INFO: Total Charge 0
[2025-02-09 03:14:04] Production.INFO: CreateAllLog End
[2025-02-09 03:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:14:04] Production.INFO: count ==21
[2025-02-09 03:14:04] Production.INFO: ==12070== Releasing lock...
[2025-02-09 03:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:14:04] Production.INFO: count ==21
[2025-02-09 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434229') start
[2025-02-09 03:14:04] Production.INFO: Account Balance End.
[2025-02-09 03:14:04] Production.ERROR: done
[2025-02-09 03:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:14:04] Production.INFO: ==12074== Releasing lock...
[2025-02-09 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434229') end
[2025-02-09 03:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:14:04] Production.INFO: 1
[2025-02-09 03:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:14:04] Production.INFO: ==12078== Releasing lock...
[2025-02-09 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:14:04] Production.ERROR: done
[2025-02-09 03:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:14:05
[end_date_ymd] => 2025-02-09 03:14:05
[RateCDR] => 1
)
[2025-02-09 03:14: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` >= '2025-02-09 00:14:05' and `end` < '2025-02-09 03:14: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 ,'')
[2025-02-09 03:14:12] Production.ERROR: CronJobId end10
[2025-02-09 03:14:12] Production.INFO: ==12072== Releasing lock...
[2025-02-09 03:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:14:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:14:14] Production.INFO: call_cost start
[2025-02-09 03:14:14] Production.INFO: call_cost end
[2025-02-09 03:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:14:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:14:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:14:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:14:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:14:15] Production.INFO: ==12068== Releasing lock...
[2025-02-09 03:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:14:18] Production.INFO: count ==927
[2025-02-09 03:14:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:14:05 - End Time 2025-02-09 03:14:05
[2025-02-09 03:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434230', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434230', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434230', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434230', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:14:18] Production.INFO: ProcessCDR(1,14434230,1,1,2)
[2025-02-09 03:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434230', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434230', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:14:21] Production.INFO: ==12076== Releasing lock...
[2025-02-09 03:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:14:21] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 08:15:01] Production.INFO: ==12131== Lock acquired, processing the job...
[2025-02-09 08:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:15:01] Production.INFO: neon service started
[2025-02-09 08:15:01] Production.INFO: neon service started
[2025-02-09 08:15:01] Production.INFO: ==12131== Releasing lock...
[2025-02-09 08:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:15:02] Production.INFO: ==12133== Lock acquired, processing the job...
[2025-02-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:15:02] Production.INFO: ==12133== Releasing lock...
[2025-02-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:15:02] Production.INFO: ==12135== Lock acquired, processing the job...
[2025-02-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:15:02] Production.INFO: ==12135== Releasing lock...
[2025-02-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:15:03] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-02-09 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:15:03] Production.INFO: ==12137== Lock acquired, processing the job...
[2025-02-09 03:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:15:03] Production.INFO: ==12143== Lock acquired, processing the job...
[2025-02-09 03:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:15:03] Production.INFO: Account Balance Start.
[2025-02-09 03:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:15:03] Production.INFO: 117
[2025-02-09 03:15:03] Production.INFO: ==12141== Lock acquired, processing the job...
[2025-02-09 03:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:15:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:15:03] Production.INFO: Total Charge 0
[2025-02-09 03:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:15:03] Production.INFO: ==12145== Lock acquired, processing the job...
[2025-02-09 03:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:15:03] Production.INFO: CreateAllLog End
[2025-02-09 03:15:03] Production.INFO: ==12147== Lock acquired, processing the job...
[2025-02-09 03:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:15:03] Production.INFO: ==12139== Releasing lock...
[2025-02-09 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:15:03] Production.INFO: Account Balance End.
[2025-02-09 03:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:15:04] Production.INFO: count ==21
[2025-02-09 03:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:15:04] Production.INFO: count ==21
[2025-02-09 03:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:15:04] Production.INFO: ==12143== Releasing lock...
[2025-02-09 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434234') start
[2025-02-09 03:15:04] Production.ERROR: done
[2025-02-09 03:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434234') end
[2025-02-09 03:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:15:04] Production.INFO: 1
[2025-02-09 03:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:15:04] Production.INFO: ==12147== Releasing lock...
[2025-02-09 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:15:04] Production.ERROR: done
[2025-02-09 03:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:15:05
[end_date_ymd] => 2025-02-09 03:15:05
[RateCDR] => 1
)
[2025-02-09 03:15: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` >= '2025-02-09 00:15:05' and `end` < '2025-02-09 03:15: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 ,'')
[2025-02-09 03:15:12] Production.ERROR: CronJobId end10
[2025-02-09 03:15:12] Production.INFO: ==12141== Releasing lock...
[2025-02-09 03:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:15:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:15:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:15:14] Production.INFO: call_cost start
[2025-02-09 03:15:14] Production.INFO: call_cost end
[2025-02-09 03:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:15:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:15:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:15:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:15:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:15:15] Production.INFO: ==12137== Releasing lock...
[2025-02-09 03:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:15:18] Production.INFO: count ==917
[2025-02-09 03:15:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:15:05 - End Time 2025-02-09 03:15:05
[2025-02-09 03:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434235', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434235', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434235', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434235', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:15:18] Production.INFO: ProcessCDR(1,14434235,1,1,2)
[2025-02-09 03:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434235', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434235', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:15:21] Production.INFO: ==12145== Releasing lock...
[2025-02-09 03:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:15:21] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 08:16:02] Production.INFO: ==12204== Lock acquired, processing the job...
[2025-02-09 08:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:16:02] Production.INFO: neon service started
[2025-02-09 08:16:02] Production.INFO: neon service started
[2025-02-09 08:16:02] Production.INFO: ==12204== Releasing lock...
[2025-02-09 08:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:16:02] Production.INFO: ==12206== Lock acquired, processing the job...
[2025-02-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:16:02] Production.INFO: ==12208== Lock acquired, processing the job...
[2025-02-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:16:02] Production.INFO: ==12206== Releasing lock...
[2025-02-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:16:03] Production.INFO: ==12208== Releasing lock...
[2025-02-09 08:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:16:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:16:03] Production.INFO: ==12210== Lock acquired, processing the job...
[2025-02-09 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:16:03] Production.INFO: ==12212== Lock acquired, processing the job...
[2025-02-09 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:16:03] Production.INFO: ==12220== Lock acquired, processing the job...
[2025-02-09 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:16:04] Production.INFO: ==12214== Lock acquired, processing the job...
[2025-02-09 03:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:16:04] Production.INFO: count ==21
[2025-02-09 03:16:04] Production.INFO: ==12216== Lock acquired, processing the job...
[2025-02-09 03:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:16:04] Production.INFO: count ==21
[2025-02-09 03:16:04] Production.INFO: ==12218== Lock acquired, processing the job...
[2025-02-09 03:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434237') start
[2025-02-09 03:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:16:04] Production.INFO: Account Balance Start.
[2025-02-09 03:16:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:16:04] Production.INFO: 117
[2025-02-09 03:16:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434237') end
[2025-02-09 03:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:16:04] Production.INFO: 1
[2025-02-09 03:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:16:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:16:04] Production.INFO: Total Charge 0
[2025-02-09 03:16:04] Production.INFO: CreateAllLog End
[2025-02-09 03:16:04] Production.INFO: ==12220== Releasing lock...
[2025-02-09 03:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:16:04] Production.ERROR: done
[2025-02-09 03:16:04] Production.INFO: ==12212== Releasing lock...
[2025-02-09 03:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:16:04] Production.INFO: Account Balance End.
[2025-02-09 03:16:04] Production.ERROR: done
[2025-02-09 03:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:16:04] Production.INFO: ==12216== Releasing lock...
[2025-02-09 03:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:16:05
[end_date_ymd] => 2025-02-09 03:16:05
[RateCDR] => 1
)
[2025-02-09 03:16: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` >= '2025-02-09 00:16:05' and `end` < '2025-02-09 03:16: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 ,'')
[2025-02-09 03:16:11] Production.ERROR: CronJobId end10
[2025-02-09 03:16:12] Production.INFO: ==12214== Releasing lock...
[2025-02-09 03:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:16:13] Production.INFO: call_cost start
[2025-02-09 03:16:13] Production.INFO: call_cost end
[2025-02-09 03:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:16:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:16:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:16:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:16:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:16:14] Production.INFO: ==12210== Releasing lock...
[2025-02-09 03:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:16:18] Production.INFO: count ==913
[2025-02-09 03:16:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:16:05 - End Time 2025-02-09 03:16:05
[2025-02-09 03:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434240', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434240', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434240', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434240', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:16:18] Production.INFO: ProcessCDR(1,14434240,1,1,2)
[2025-02-09 03:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434240', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434240', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:16:22] Production.INFO: ==12218== Releasing lock...
[2025-02-09 03:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:16:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 08:17:01] Production.INFO: ==12351== Lock acquired, processing the job...
[2025-02-09 08:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:17:01] Production.INFO: neon service started
[2025-02-09 08:17:01] Production.INFO: neon service started
[2025-02-09 08:17:01] Production.INFO: ==12351== Releasing lock...
[2025-02-09 08:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:17:02] Production.INFO: ==12353== Lock acquired, processing the job...
[2025-02-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:17:02] Production.INFO: ==12353== Releasing lock...
[2025-02-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:17:02] Production.INFO: ==12355== Lock acquired, processing the job...
[2025-02-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:17:02] Production.INFO: ==12355== Releasing lock...
[2025-02-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:17:03] Production.INFO: ==12364== Lock acquired, processing the job...
[2025-02-09 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:17:03] Production.INFO: Account Balance Start.
[2025-02-09 03:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:17:03] Production.INFO: 117
[2025-02-09 03:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:17:03] Production.INFO: ==12358== Lock acquired, processing the job...
[2025-02-09 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:17:03] Production.INFO: ==12368== Lock acquired, processing the job...
[2025-02-09 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:17:03] Production.INFO: Total Charge 0
[2025-02-09 03:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:17:03] Production.INFO: CreateAllLog End
[2025-02-09 03:17:03] Production.INFO: ==12360== Lock acquired, processing the job...
[2025-02-09 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:17:03] Production.INFO: ==12362== Lock acquired, processing the job...
[2025-02-09 03:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:17:03] Production.INFO: count ==21
[2025-02-09 03:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:17:03] Production.INFO: count ==21
[2025-02-09 03:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434242') start
[2025-02-09 03:17:03] Production.INFO: Account Balance End.
[2025-02-09 03:17:03] Production.INFO: ==12366== Lock acquired, processing the job...
[2025-02-09 03:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:17:03] Production.ERROR: CronJobId end 12
[2025-02-09 03:17:03] Production.INFO: ==12364== Releasing lock...
[2025-02-09 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434242') end
[2025-02-09 03:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:17:03] Production.INFO: 1
[2025-02-09 03:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:17:03] Production.INFO: ==12368== Releasing lock...
[2025-02-09 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:17:04] Production.INFO: ==12360== Releasing lock...
[2025-02-09 03:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:17:04] Production.ERROR: done
[2025-02-09 03:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:17:04] Production.ERROR: done
[2025-02-09 03:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:17:05
[end_date_ymd] => 2025-02-09 03:17:05
[RateCDR] => 1
)
[2025-02-09 03:17: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` >= '2025-02-09 00:17:05' and `end` < '2025-02-09 03:17: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 ,'')
[2025-02-09 03:17:11] Production.ERROR: CronJobId end10
[2025-02-09 03:17:11] Production.INFO: ==12362== Releasing lock...
[2025-02-09 03:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:17:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:17:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:17:14] Production.INFO: call_cost start
[2025-02-09 03:17:14] Production.INFO: call_cost end
[2025-02-09 03:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:17:15] Production.INFO: ==12358== Releasing lock...
[2025-02-09 03:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:17:20] Production.INFO: count ==911
[2025-02-09 03:17:20] Production.ERROR: pbx CDR StartTime 2025-02-09 00:17:05 - End Time 2025-02-09 03:17:05
[2025-02-09 03:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434245', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434245', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434245', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434245', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:17:20] Production.INFO: ProcessCDR(1,14434245,1,1,2)
[2025-02-09 03:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434245', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434245', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:17:23] Production.INFO: ==12366== Releasing lock...
[2025-02-09 03:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:17:23] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 08:18:02] Production.INFO: ==12422== Lock acquired, processing the job...
[2025-02-09 08:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:18:02] Production.INFO: neon service started
[2025-02-09 08:18:02] Production.INFO: neon service started
[2025-02-09 08:18:02] Production.INFO: ==12422== Releasing lock...
[2025-02-09 08:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:18:02] Production.INFO: ==12427== Lock acquired, processing the job...
[2025-02-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:18:02] Production.INFO: ==12427== Releasing lock...
[2025-02-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:18:02] Production.INFO: ==12425== Lock acquired, processing the job...
[2025-02-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:18:02] Production.INFO: ==12425== Releasing lock...
[2025-02-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:18:03] Production.INFO: ==12431== Lock acquired, processing the job...
[2025-02-09 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:18:03] Production.INFO: ==12435== Lock acquired, processing the job...
[2025-02-09 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:18:03] Production.INFO: Account Balance Start.
[2025-02-09 03:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:18:03] Production.INFO: 117
[2025-02-09 03:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:18:03] Production.INFO: ==12439== Lock acquired, processing the job...
[2025-02-09 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:18:03] Production.INFO: ==12433== Lock acquired, processing the job...
[2025-02-09 03:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:18:04] Production.INFO: ==12429== Lock acquired, processing the job...
[2025-02-09 03:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:18:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:18:04] Production.INFO: Total Charge 0
[2025-02-09 03:18:04] Production.INFO: CreateAllLog End
[2025-02-09 03:18:04] Production.INFO: ==12431== Releasing lock...
[2025-02-09 03:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:18:04] Production.INFO: ==12437== Lock acquired, processing the job...
[2025-02-09 03:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:18:04] Production.INFO: count ==21
[2025-02-09 03:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:18:04] Production.INFO: count ==21
[2025-02-09 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434248') start
[2025-02-09 03:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:18:04] Production.INFO: Account Balance End.
[2025-02-09 03:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:18:04] Production.INFO: ==12435== Releasing lock...
[2025-02-09 03:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434248') end
[2025-02-09 03:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:18:04] Production.INFO: 1
[2025-02-09 03:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:18:04] Production.INFO: ==12439== Releasing lock...
[2025-02-09 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:18:04] Production.ERROR: done
[2025-02-09 03:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:18:04] Production.ERROR: done
[2025-02-09 03:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:18:05
[end_date_ymd] => 2025-02-09 03:18:05
[RateCDR] => 1
)
[2025-02-09 03:18: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` >= '2025-02-09 00:18:05' and `end` < '2025-02-09 03:18: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 ,'')
[2025-02-09 03:18:11] Production.ERROR: CronJobId end10
[2025-02-09 03:18:11] Production.INFO: ==12433== Releasing lock...
[2025-02-09 03:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:18:14] Production.INFO: call_cost start
[2025-02-09 03:18:14] Production.INFO: call_cost end
[2025-02-09 03:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:18:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:18:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:18:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:18:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:18:15] Production.INFO: ==12429== Releasing lock...
[2025-02-09 03:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:18:18] Production.INFO: count ==910
[2025-02-09 03:18:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:18:05 - End Time 2025-02-09 03:18:05
[2025-02-09 03:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434250', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434250', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434250', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434250', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:18:18] Production.INFO: ProcessCDR(1,14434250,1,1,2)
[2025-02-09 03:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434250', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434250', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:18:22] Production.INFO: ==12437== Releasing lock...
[2025-02-09 03:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:18:22] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 08:19:01] Production.INFO: ==12493== Lock acquired, processing the job...
[2025-02-09 08:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:19:01] Production.INFO: neon service started
[2025-02-09 08:19:01] Production.INFO: neon service started
[2025-02-09 08:19:01] Production.INFO: ==12493== Releasing lock...
[2025-02-09 08:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:19:01] Production.INFO: ==12495== Lock acquired, processing the job...
[2025-02-09 03:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:19:02] Production.INFO: ==12495== Releasing lock...
[2025-02-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:19:02] Production.INFO: ==12497== Lock acquired, processing the job...
[2025-02-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:19:02] Production.INFO: ==12497== Releasing lock...
[2025-02-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:19:03] Production.INFO: ==12506== Lock acquired, processing the job...
[2025-02-09 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:19:03] Production.INFO: ==12508== Lock acquired, processing the job...
[2025-02-09 03:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:19:03] Production.INFO: Account Balance Start.
[2025-02-09 03:19:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:19:03] Production.INFO: 117
[2025-02-09 03:19:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:19:03] Production.INFO: ==12502== Lock acquired, processing the job...
[2025-02-09 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:19:03] Production.INFO: ==12500== Lock acquired, processing the job...
[2025-02-09 03:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:19:03] Production.INFO: ==12504== Lock acquired, processing the job...
[2025-02-09 03:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:19:03] Production.INFO: ==12510== Lock acquired, processing the job...
[2025-02-09 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:19:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:19:03] Production.INFO: Total Charge 0
[2025-02-09 03:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:19:03] Production.INFO: CreateAllLog End
[2025-02-09 03:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:19:03] Production.INFO: count ==21
[2025-02-09 03:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:19:03] Production.INFO: count ==21
[2025-02-09 03:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434252') start
[2025-02-09 03:19:03] Production.ERROR: done
[2025-02-09 03:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434252') end
[2025-02-09 03:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:19:03] Production.INFO: 1
[2025-02-09 03:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:19:03] Production.INFO: Account Balance End.
[2025-02-09 03:19:03] Production.INFO: ==12510== Releasing lock...
[2025-02-09 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:19:03] Production.ERROR: done
[2025-02-09 03:19:03] Production.ERROR: CronJobId end 12
[2025-02-09 03:19:03] Production.INFO: ==12506== Releasing lock...
[2025-02-09 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:19:03] Production.INFO: ==12502== Releasing lock...
[2025-02-09 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:19:04
[end_date_ymd] => 2025-02-09 03:19:04
[RateCDR] => 1
)
[2025-02-09 03:19:04] 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-02-09 00:19:04' and `end` < '2025-02-09 03:19:04'
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-02-09 03:19:10] Production.ERROR: CronJobId end10
[2025-02-09 03:19:10] Production.INFO: ==12504== Releasing lock...
[2025-02-09 03:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:19:14] Production.INFO: call_cost start
[2025-02-09 03:19:14] Production.INFO: call_cost end
[2025-02-09 03:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:19:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:19:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:19:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:19:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:19:15] Production.INFO: ==12500== Releasing lock...
[2025-02-09 03:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:19:18] Production.INFO: count ==914
[2025-02-09 03:19:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:19:04 - End Time 2025-02-09 03:19:04
[2025-02-09 03:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434255', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434255', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434255', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434255', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:19:18] Production.INFO: ProcessCDR(1,14434255,1,1,2)
[2025-02-09 03:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434255', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434255', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:19:21] Production.INFO: ==12508== Releasing lock...
[2025-02-09 03:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:19:21] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 08:20:01] Production.INFO: ==12562== Lock acquired, processing the job...
[2025-02-09 08:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:20:01] Production.INFO: neon service started
[2025-02-09 08:20:02] Production.INFO: neon service started
[2025-02-09 08:20:02] Production.INFO: ==12562== Releasing lock...
[2025-02-09 08:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:20:02] Production.INFO: ==12564== Lock acquired, processing the job...
[2025-02-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:20:02] Production.INFO: ==12564== Releasing lock...
[2025-02-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:20:02] Production.INFO: ==12566== Lock acquired, processing the job...
[2025-02-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:20:02] Production.INFO: ==12566== Releasing lock...
[2025-02-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:20:02] Production.INFO: 26 MB #Memory Used#
[2025-02-09 03:20:03] Production.INFO: ==12569== Lock acquired, processing the job...
[2025-02-09 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 03:20:03] Production.INFO: ==12573== Lock acquired, processing the job...
[2025-02-09 03:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 03:20:03] Production.INFO: ==12571== Lock acquired, processing the job...
[2025-02-09 03:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 03:20:03] Production.INFO: ==12569== Releasing lock...
[2025-02-09 03:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 03:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 03:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:20:04] Production.INFO: ==12579== Lock acquired, processing the job...
[2025-02-09 03:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:20:04] Production.INFO: ==12575== Lock acquired, processing the job...
[2025-02-09 03:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:20:04] Production.INFO: ==12573== Releasing lock...
[2025-02-09 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:20:04] Production.INFO: ==12577== Lock acquired, processing the job...
[2025-02-09 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:20:04] Production.INFO: ==12581== Lock acquired, processing the job...
[2025-02-09 03:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:20:04] Production.INFO: ==12583== Lock acquired, processing the job...
[2025-02-09 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:20:04] Production.ERROR: done
[2025-02-09 03:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:20:04] Production.INFO: Account Balance Start.
[2025-02-09 03:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:20:04] Production.INFO: 117
[2025-02-09 03:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:20:04] Production.INFO: count ==21
[2025-02-09 03:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:20:04] Production.INFO: count ==21
[2025-02-09 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434259') start
[2025-02-09 03:20:04] Production.ERROR: done
[2025-02-09 03:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434259') end
[2025-02-09 03:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:20:04] Production.INFO: 1
[2025-02-09 03:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:20:04] Production.INFO: Total Charge 0
[2025-02-09 03:20:05] Production.ERROR: done
[2025-02-09 03:20:05] Production.INFO: CreateAllLog End
[2025-02-09 03:20:05] Production.INFO: ==12583== Releasing lock...
[2025-02-09 03:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 03:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434261', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 03:20:05] Production.INFO: Account Balance End.
[2025-02-09 03:20:05] Production.ERROR: CronJobId end 12
[2025-02-09 03:20:05] Production.INFO: ==12577== Releasing lock...
[2025-02-09 03:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:20:06
[end_date_ymd] => 2025-02-09 03:20:06
[RateCDR] => 1
)
[2025-02-09 03:20: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-02-09 00:20:06' and `end` < '2025-02-09 03:20: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-02-09 03:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434261', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 03:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 03:20:09] Production.INFO: ProcessCDR(1,14434261,1,1,2)
[2025-02-09 03:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434261,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434261,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:20:09] Production.INFO: ==12581== Releasing lock...
[2025-02-09 03:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 03:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 03:20:14] Production.ERROR: CronJobId end10
[2025-02-09 03:20:14] Production.INFO: ==12575== Releasing lock...
[2025-02-09 03:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:20:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:20:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:20:17] Production.INFO: call_cost start
[2025-02-09 03:20:17] Production.INFO: call_cost end
[2025-02-09 03:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:20:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:20:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:20:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:20:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:20:18] Production.INFO: ==12571== Releasing lock...
[2025-02-09 03:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:20:20] Production.INFO: count ==912
[2025-02-09 03:20:20] Production.ERROR: pbx CDR StartTime 2025-02-09 00:20:06 - End Time 2025-02-09 03:20:06
[2025-02-09 03:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434260', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434260', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434260', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434260', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:20:20] Production.INFO: ProcessCDR(1,14434260,1,1,2)
[2025-02-09 03:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434260', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434260', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:20:23] Production.INFO: ==12579== Releasing lock...
[2025-02-09 03:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:20:23] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 08:21:01] Production.INFO: ==12640== Lock acquired, processing the job...
[2025-02-09 08:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:21:01] Production.INFO: neon service started
[2025-02-09 08:21:01] Production.INFO: neon service started
[2025-02-09 08:21:01] Production.INFO: ==12640== Releasing lock...
[2025-02-09 08:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:21:01] Production.INFO: ==12642== Lock acquired, processing the job...
[2025-02-09 03:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:21:02] Production.INFO: ==12644== Lock acquired, processing the job...
[2025-02-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:21:02] Production.INFO: ==12642== Releasing lock...
[2025-02-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:21:02] Production.INFO: ==12644== Releasing lock...
[2025-02-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:21:02] Production.INFO: ==12646== Lock acquired, processing the job...
[2025-02-09 03:21:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:21:02] Production.INFO: ==12648== Lock acquired, processing the job...
[2025-02-09 03:21:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:21:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:21:03] Production.INFO: ==12650== Lock acquired, processing the job...
[2025-02-09 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:21:03] Production.INFO: ==12653== Lock acquired, processing the job...
[2025-02-09 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:21:03] Production.INFO: ==12655== Lock acquired, processing the job...
[2025-02-09 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:21:03] Production.INFO: Account Balance Start.
[2025-02-09 03:21:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:21:03] Production.INFO: 117
[2025-02-09 03:21:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:21:03] Production.INFO: ==12648== Releasing lock...
[2025-02-09 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:21:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:21:03] Production.INFO: Total Charge 0
[2025-02-09 03:21:03] Production.INFO: ==12657== Lock acquired, processing the job...
[2025-02-09 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:21:03] Production.INFO: CreateAllLog End
[2025-02-09 03:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:21:03] Production.ERROR: done
[2025-02-09 03:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:21:03] Production.INFO: count ==21
[2025-02-09 03:21:03] Production.INFO: Account Balance End.
[2025-02-09 03:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:21:03] Production.INFO: count ==21
[2025-02-09 03:21:03] Production.ERROR: CronJobId end 12
[2025-02-09 03:21:03] Production.INFO: ==12653== Releasing lock...
[2025-02-09 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434265') start
[2025-02-09 03:21:04] Production.ERROR: done
[2025-02-09 03:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434265') end
[2025-02-09 03:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:21:04] Production.INFO: 1
[2025-02-09 03:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:21:04] Production.INFO: ==12657== Releasing lock...
[2025-02-09 03:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:21:05
[end_date_ymd] => 2025-02-09 03:21:05
[RateCDR] => 1
)
[2025-02-09 03:21: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` >= '2025-02-09 00:21:05' and `end` < '2025-02-09 03:21: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 ,'')
[2025-02-09 03:21:12] Production.ERROR: CronJobId end10
[2025-02-09 03:21:12] Production.INFO: ==12650== Releasing lock...
[2025-02-09 03:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:21:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:21:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:21:14] Production.INFO: call_cost start
[2025-02-09 03:21:14] Production.INFO: call_cost end
[2025-02-09 03:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:21:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:21:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:21:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:21:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:21:15] Production.INFO: ==12646== Releasing lock...
[2025-02-09 03:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:21:22] Production.INFO: count ==897
[2025-02-09 03:21:22] Production.ERROR: pbx CDR StartTime 2025-02-09 00:21:05 - End Time 2025-02-09 03:21:05
[2025-02-09 03:21:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434266', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434266', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434266', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434266', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:21:22] Production.INFO: ProcessCDR(1,14434266,1,1,2)
[2025-02-09 03:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434266', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434266', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:21:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:21:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:21:26] Production.INFO: ==12655== Releasing lock...
[2025-02-09 03:21:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:21:26] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 08:22:01] Production.INFO: ==12708== Lock acquired, processing the job...
[2025-02-09 08:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:22:01] Production.INFO: neon service started
[2025-02-09 08:22:02] Production.INFO: neon service started
[2025-02-09 08:22:02] Production.INFO: ==12708== Releasing lock...
[2025-02-09 08:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:22:02] Production.INFO: ==12712== Lock acquired, processing the job...
[2025-02-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:22:02] Production.INFO: ==12710== Lock acquired, processing the job...
[2025-02-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:22:02] Production.INFO: ==12712== Releasing lock...
[2025-02-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:22:03] Production.INFO: ==12710== Releasing lock...
[2025-02-09 03:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:22:03] Production.INFO: ==12719== Lock acquired, processing the job...
[2025-02-09 03:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:22:03] Production.INFO: ==12723== Lock acquired, processing the job...
[2025-02-09 03:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:22:04] Production.INFO: ==12715== Lock acquired, processing the job...
[2025-02-09 03:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:22:04] Production.INFO: ==12717== Lock acquired, processing the job...
[2025-02-09 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:22:04] Production.INFO: ==12725== Lock acquired, processing the job...
[2025-02-09 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:22:04] Production.INFO: ==12721== Lock acquired, processing the job...
[2025-02-09 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:22:04] Production.ERROR: done
[2025-02-09 03:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:22:04] Production.INFO: Account Balance Start.
[2025-02-09 03:22:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:22:04] Production.INFO: 117
[2025-02-09 03:22:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:22:04] Production.INFO: count ==21
[2025-02-09 03:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:22:04] Production.INFO: count ==21
[2025-02-09 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434268') start
[2025-02-09 03:22:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:22:04] Production.INFO: Total Charge 0
[2025-02-09 03:22:04] Production.ERROR: done
[2025-02-09 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434268') end
[2025-02-09 03:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:22:04] Production.INFO: 1
[2025-02-09 03:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:22:04] Production.INFO: CreateAllLog End
[2025-02-09 03:22:04] Production.INFO: ==12725== Releasing lock...
[2025-02-09 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:22:04] Production.INFO: ==12717== Releasing lock...
[2025-02-09 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:22:04] Production.INFO: Account Balance End.
[2025-02-09 03:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:22:04] Production.INFO: ==12721== Releasing lock...
[2025-02-09 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:22:05
[end_date_ymd] => 2025-02-09 03:22:05
[RateCDR] => 1
)
[2025-02-09 03:22: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` >= '2025-02-09 00:22:05' and `end` < '2025-02-09 03:22: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 ,'')
[2025-02-09 03:22:12] Production.ERROR: CronJobId end10
[2025-02-09 03:22:12] Production.INFO: ==12719== Releasing lock...
[2025-02-09 03:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:22:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:22:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:22:14] Production.INFO: call_cost start
[2025-02-09 03:22:14] Production.INFO: call_cost end
[2025-02-09 03:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:22:15] Production.INFO: ==12715== Releasing lock...
[2025-02-09 03:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:22:19] Production.INFO: count ==898
[2025-02-09 03:22:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:22:05 - End Time 2025-02-09 03:22:05
[2025-02-09 03:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434271', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434271', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434271', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434271', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:22:19] Production.INFO: ProcessCDR(1,14434271,1,1,2)
[2025-02-09 03:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434271', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434271', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:22:22] Production.INFO: ==12723== Releasing lock...
[2025-02-09 03:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:22:22] Production.INFO: 34.5 MB #Memory Used#
[2025-02-09 08:23:01] Production.INFO: ==12781== Lock acquired, processing the job...
[2025-02-09 08:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:23:01] Production.INFO: neon service started
[2025-02-09 08:23:01] Production.INFO: neon service started
[2025-02-09 08:23:01] Production.INFO: ==12781== Releasing lock...
[2025-02-09 08:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:23:01] Production.INFO: ==12785== Lock acquired, processing the job...
[2025-02-09 08:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:23:01] Production.INFO: ==12785== Releasing lock...
[2025-02-09 08:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:23:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:23:01] Production.INFO: ==12783== Lock acquired, processing the job...
[2025-02-09 03:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:23:02] Production.INFO: ==12783== Releasing lock...
[2025-02-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:23:03] Production.INFO: ==12789== Lock acquired, processing the job...
[2025-02-09 03:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:23:03] Production.INFO: ==12791== Lock acquired, processing the job...
[2025-02-09 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:23:03] Production.INFO: ==12796== Lock acquired, processing the job...
[2025-02-09 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:23:03] Production.INFO: ==12798== Lock acquired, processing the job...
[2025-02-09 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:23:03] Production.INFO: ==12793== Lock acquired, processing the job...
[2025-02-09 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:23:03] Production.INFO: ==12801== Lock acquired, processing the job...
[2025-02-09 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:23:03] Production.INFO: Account Balance Start.
[2025-02-09 03:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:23:03] Production.INFO: 117
[2025-02-09 03:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:23:03] Production.INFO: count ==21
[2025-02-09 03:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:23:03] Production.INFO: count ==21
[2025-02-09 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434275') start
[2025-02-09 03:23:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:23:03] Production.INFO: Total Charge 0
[2025-02-09 03:23:03] Production.INFO: CreateAllLog End
[2025-02-09 03:23:03] Production.INFO: ==12791== Releasing lock...
[2025-02-09 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434275') end
[2025-02-09 03:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:23:03] Production.INFO: 1
[2025-02-09 03:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:23:03] Production.INFO: ==12801== Releasing lock...
[2025-02-09 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:23:04] Production.ERROR: done
[2025-02-09 03:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:23:04] Production.INFO: Account Balance End.
[2025-02-09 03:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:23:04] Production.INFO: ==12796== Releasing lock...
[2025-02-09 03:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:23:04] Production.ERROR: done
[2025-02-09 03:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:23:05
[end_date_ymd] => 2025-02-09 03:23:05
[RateCDR] => 1
)
[2025-02-09 03:23: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` >= '2025-02-09 00:23:05' and `end` < '2025-02-09 03:23: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 ,'')
[2025-02-09 03:23:13] Production.ERROR: CronJobId end10
[2025-02-09 03:23:13] Production.INFO: ==12793== Releasing lock...
[2025-02-09 03:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:23:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:23:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:23:15] Production.INFO: call_cost start
[2025-02-09 03:23:15] Production.INFO: call_cost end
[2025-02-09 03:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:23:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:23:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:23:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:23:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:23:16] Production.INFO: ==12789== Releasing lock...
[2025-02-09 03:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:23:18] Production.INFO: count ==895
[2025-02-09 03:23:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:23:05 - End Time 2025-02-09 03:23:05
[2025-02-09 03:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434276', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434276', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434276', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434276', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:23:18] Production.INFO: ProcessCDR(1,14434276,1,1,2)
[2025-02-09 03:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434276', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434276', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:23:21] Production.INFO: ==12798== Releasing lock...
[2025-02-09 03:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:23:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 08:24:01] Production.INFO: ==12903== Lock acquired, processing the job...
[2025-02-09 08:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:24:01] Production.INFO: neon service started
[2025-02-09 08:24:01] Production.INFO: neon service started
[2025-02-09 08:24:01] Production.INFO: ==12903== Releasing lock...
[2025-02-09 08:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:24:02] Production.INFO: ==12905== Lock acquired, processing the job...
[2025-02-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:24:02] Production.INFO: ==12905== Releasing lock...
[2025-02-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:24:02] Production.INFO: ==12907== Lock acquired, processing the job...
[2025-02-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:24:02] Production.INFO: ==12907== Releasing lock...
[2025-02-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:24:03] Production.INFO: ==12914== Lock acquired, processing the job...
[2025-02-09 03:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:24:03] Production.INFO: ==12920== Lock acquired, processing the job...
[2025-02-09 03:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:24:03] Production.INFO: ==12912== Lock acquired, processing the job...
[2025-02-09 03:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:24:04] Production.INFO: ==12910== Lock acquired, processing the job...
[2025-02-09 03:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:24:04] Production.INFO: count ==21
[2025-02-09 03:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:24:04] Production.INFO: count ==21
[2025-02-09 03:24:04] Production.INFO: ==12918== Lock acquired, processing the job...
[2025-02-09 03:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:24:04] Production.INFO: ==12916== Lock acquired, processing the job...
[2025-02-09 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434277') start
[2025-02-09 03:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434277') end
[2025-02-09 03:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:24:04] Production.INFO: 1
[2025-02-09 03:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:24:04] Production.INFO: Account Balance Start.
[2025-02-09 03:24:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:24:04] Production.INFO: 117
[2025-02-09 03:24:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:24:04] Production.INFO: Total Charge 0
[2025-02-09 03:24:04] Production.INFO: CreateAllLog End
[2025-02-09 03:24:04] Production.INFO: ==12920== Releasing lock...
[2025-02-09 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:24:04] Production.INFO: ==12912== Releasing lock...
[2025-02-09 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:24:04] Production.ERROR: done
[2025-02-09 03:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:24:04] Production.INFO: Account Balance End.
[2025-02-09 03:24:04] Production.ERROR: done
[2025-02-09 03:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:24:04] Production.INFO: ==12916== Releasing lock...
[2025-02-09 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:24:05
[end_date_ymd] => 2025-02-09 03:24:05
[RateCDR] => 1
)
[2025-02-09 03:24: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` >= '2025-02-09 00:24:05' and `end` < '2025-02-09 03:24: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 ,'')
[2025-02-09 03:24:12] Production.ERROR: CronJobId end10
[2025-02-09 03:24:12] Production.INFO: ==12914== Releasing lock...
[2025-02-09 03:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:24:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:24:14] Production.INFO: call_cost start
[2025-02-09 03:24:14] Production.INFO: call_cost end
[2025-02-09 03:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:24:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:24:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:24:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:24:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:24:15] Production.INFO: ==12910== Releasing lock...
[2025-02-09 03:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:24:18] Production.INFO: count ==889
[2025-02-09 03:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:24:05 - End Time 2025-02-09 03:24:05
[2025-02-09 03:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434281', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434281', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434281', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434281', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:24:19] Production.INFO: ProcessCDR(1,14434281,1,1,2)
[2025-02-09 03:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434281', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434281', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:24:22] Production.INFO: ==12918== Releasing lock...
[2025-02-09 03:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:24:22] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 08:25:01] Production.INFO: ==12974== Lock acquired, processing the job...
[2025-02-09 08:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:25:01] Production.INFO: neon service started
[2025-02-09 08:25:01] Production.INFO: neon service started
[2025-02-09 08:25:01] Production.INFO: ==12974== Releasing lock...
[2025-02-09 08:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:25:02] Production.INFO: ==12976== Lock acquired, processing the job...
[2025-02-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:25:02] Production.INFO: ==12978== Lock acquired, processing the job...
[2025-02-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:25:02] Production.INFO: ==12978== Releasing lock...
[2025-02-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:25:02] Production.INFO: ==12976== Releasing lock...
[2025-02-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:25:03] Production.INFO: ==12981== Lock acquired, processing the job...
[2025-02-09 03:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:25:03] Production.INFO: ==12983== Lock acquired, processing the job...
[2025-02-09 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:25:03] Production.INFO: ==12987== Lock acquired, processing the job...
[2025-02-09 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:25:03] Production.INFO: Account Balance Start.
[2025-02-09 03:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:25:03] Production.INFO: 117
[2025-02-09 03:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:25:03] Production.INFO: ==12989== Lock acquired, processing the job...
[2025-02-09 03:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:25:03] Production.INFO: Total Charge 0
[2025-02-09 03:25:03] Production.INFO: CreateAllLog End
[2025-02-09 03:25:03] Production.INFO: ==12991== Lock acquired, processing the job...
[2025-02-09 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:25:03] Production.INFO: ==12985== Lock acquired, processing the job...
[2025-02-09 03:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:25:03] Production.INFO: ==12983== Releasing lock...
[2025-02-09 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:25:03] Production.INFO: count ==21
[2025-02-09 03:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:25:03] Production.INFO: count ==21
[2025-02-09 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434285') start
[2025-02-09 03:25:03] Production.ERROR: done
[2025-02-09 03:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:25:03] Production.INFO: Account Balance End.
[2025-02-09 03:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:25:04] Production.INFO: ==12987== Releasing lock...
[2025-02-09 03:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434285') end
[2025-02-09 03:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:25:04] Production.INFO: 1
[2025-02-09 03:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:25:04] Production.INFO: ==12991== Releasing lock...
[2025-02-09 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:25:04] Production.ERROR: done
[2025-02-09 03:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:25:05
[end_date_ymd] => 2025-02-09 03:25:05
[RateCDR] => 1
)
[2025-02-09 03:25: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` >= '2025-02-09 00:25:05' and `end` < '2025-02-09 03:25: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 ,'')
[2025-02-09 03:25:11] Production.ERROR: CronJobId end10
[2025-02-09 03:25:11] Production.INFO: ==12985== Releasing lock...
[2025-02-09 03:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:25:13] Production.INFO: call_cost start
[2025-02-09 03:25:13] Production.INFO: call_cost end
[2025-02-09 03:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:25:14] Production.INFO: ==12981== Releasing lock...
[2025-02-09 03:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:25:18] Production.INFO: count ==882
[2025-02-09 03:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:25:05 - End Time 2025-02-09 03:25:05
[2025-02-09 03:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434286', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434286', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434286', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434286', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:25:18] Production.INFO: ProcessCDR(1,14434286,1,1,2)
[2025-02-09 03:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434286', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434286', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:25:21] Production.INFO: ==12989== Releasing lock...
[2025-02-09 03:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:25:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 08:26:01] Production.INFO: ==13049== Lock acquired, processing the job...
[2025-02-09 08:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:26:01] Production.INFO: neon service started
[2025-02-09 08:26:01] Production.INFO: neon service started
[2025-02-09 08:26:01] Production.INFO: ==13049== Releasing lock...
[2025-02-09 08:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:26:02] Production.INFO: ==13051== Lock acquired, processing the job...
[2025-02-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:26:02] Production.INFO: ==13051== Releasing lock...
[2025-02-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:26:02] Production.INFO: ==13053== Lock acquired, processing the job...
[2025-02-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:26:02] Production.INFO: ==13053== Releasing lock...
[2025-02-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:26:03] Production.INFO: ==13062== Lock acquired, processing the job...
[2025-02-09 03:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:26:03] Production.INFO: ==13060== Lock acquired, processing the job...
[2025-02-09 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:26:03] Production.INFO: ==13058== Lock acquired, processing the job...
[2025-02-09 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:26:03] Production.INFO: ==13056== Lock acquired, processing the job...
[2025-02-09 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:26:03] Production.INFO: ==13064== Lock acquired, processing the job...
[2025-02-09 03:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:26:03] Production.INFO: Account Balance Start.
[2025-02-09 03:26:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:26:03] Production.INFO: 117
[2025-02-09 03:26:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:26:03] Production.INFO: ==13066== Lock acquired, processing the job...
[2025-02-09 03:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:26:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:26:03] Production.INFO: Total Charge 0
[2025-02-09 03:26:03] Production.INFO: CreateAllLog End
[2025-02-09 03:26:03] Production.ERROR: done
[2025-02-09 03:26:03] Production.INFO: ==13058== Releasing lock...
[2025-02-09 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:26:04] Production.INFO: Account Balance End.
[2025-02-09 03:26:04] Production.INFO: count ==21
[2025-02-09 03:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:26:04] Production.INFO: count ==21
[2025-02-09 03:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:26:04] Production.INFO: ==13062== Releasing lock...
[2025-02-09 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434290') start
[2025-02-09 03:26:04] Production.ERROR: done
[2025-02-09 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434290') end
[2025-02-09 03:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:26:04] Production.INFO: 1
[2025-02-09 03:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:26:04] Production.INFO: ==13066== Releasing lock...
[2025-02-09 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:26:05
[end_date_ymd] => 2025-02-09 03:26:05
[RateCDR] => 1
)
[2025-02-09 03:26: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` >= '2025-02-09 00:26:05' and `end` < '2025-02-09 03:26: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 ,'')
[2025-02-09 03:26:12] Production.ERROR: CronJobId end10
[2025-02-09 03:26:12] Production.INFO: ==13060== Releasing lock...
[2025-02-09 03:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:26:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:26:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:26:14] Production.INFO: call_cost start
[2025-02-09 03:26:14] Production.INFO: call_cost end
[2025-02-09 03:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:26:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:26:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:26:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:26:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:26:14] Production.INFO: ==13056== Releasing lock...
[2025-02-09 03:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:26:18] Production.INFO: count ==878
[2025-02-09 03:26:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:26:05 - End Time 2025-02-09 03:26:05
[2025-02-09 03:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434291', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434291', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434291', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434291', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:26:18] Production.INFO: ProcessCDR(1,14434291,1,1,2)
[2025-02-09 03:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434291', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434291', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:26:21] Production.INFO: ==13064== Releasing lock...
[2025-02-09 03:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:26:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 08:27:02] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-02-09 08:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:27:02] Production.INFO: neon service started
[2025-02-09 08:27:02] Production.INFO: neon service started
[2025-02-09 08:27:02] Production.INFO: ==13161== Releasing lock...
[2025-02-09 08:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:27:02] Production.INFO: ==13164== Lock acquired, processing the job...
[2025-02-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:27:02] Production.INFO: ==13166== Lock acquired, processing the job...
[2025-02-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:27:03] Production.INFO: ==13166== Releasing lock...
[2025-02-09 08:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:27:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:27:03] Production.INFO: ==13164== Releasing lock...
[2025-02-09 03:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:27:04] Production.INFO: ==13170== Lock acquired, processing the job...
[2025-02-09 03:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:27:04] Production.INFO: ==13174== Lock acquired, processing the job...
[2025-02-09 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:27:04] Production.INFO: ==13176== Lock acquired, processing the job...
[2025-02-09 03:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:27:04] Production.INFO: Account Balance Start.
[2025-02-09 03:27:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:27:04] Production.INFO: 117
[2025-02-09 03:27:04] Production.INFO: ==13168== Lock acquired, processing the job...
[2025-02-09 03:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:27:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:27:04] Production.INFO: ==13172== Lock acquired, processing the job...
[2025-02-09 03:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:27:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:27:04] Production.INFO: Total Charge 0
[2025-02-09 03:27:04] Production.INFO: CreateAllLog End
[2025-02-09 03:27:04] Production.INFO: ==13170== Releasing lock...
[2025-02-09 03:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:27:04] Production.INFO: ==13178== Lock acquired, processing the job...
[2025-02-09 03:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:27:04] Production.ERROR: done
[2025-02-09 03:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:27:04] Production.INFO: Account Balance End.
[2025-02-09 03:27:04] Production.INFO: count ==21
[2025-02-09 03:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:27:04] Production.INFO: count ==21
[2025-02-09 03:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:27:04] Production.INFO: ==13174== Releasing lock...
[2025-02-09 03:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434295') start
[2025-02-09 03:27:04] Production.ERROR: done
[2025-02-09 03:27:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434295') end
[2025-02-09 03:27:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:27:05] Production.INFO: 1
[2025-02-09 03:27:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:27:05] Production.INFO: ==13178== Releasing lock...
[2025-02-09 03:27:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:27:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:27:06
[end_date_ymd] => 2025-02-09 03:27:06
[RateCDR] => 1
)
[2025-02-09 03:27: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-02-09 00:27:06' and `end` < '2025-02-09 03:27: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-02-09 03:27:12] Production.ERROR: CronJobId end10
[2025-02-09 03:27:12] Production.INFO: ==13172== Releasing lock...
[2025-02-09 03:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:27:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:27:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:27:14] Production.INFO: call_cost start
[2025-02-09 03:27:14] Production.INFO: call_cost end
[2025-02-09 03:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:27:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:27:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:27:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:27:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:27:15] Production.INFO: ==13168== Releasing lock...
[2025-02-09 03:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:27:18] Production.INFO: count ==864
[2025-02-09 03:27:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:27:06 - End Time 2025-02-09 03:27:06
[2025-02-09 03:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434296', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434296', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434296', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434296', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:27:19] Production.INFO: ProcessCDR(1,14434296,1,1,2)
[2025-02-09 03:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434296', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434296', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:27:22] Production.INFO: ==13176== Releasing lock...
[2025-02-09 03:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:27:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 08:28:01] Production.INFO: ==13235== Lock acquired, processing the job...
[2025-02-09 08:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:28:01] Production.INFO: neon service started
[2025-02-09 08:28:01] Production.INFO: neon service started
[2025-02-09 08:28:01] Production.INFO: ==13235== Releasing lock...
[2025-02-09 08:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:28:02] Production.INFO: ==13237== Lock acquired, processing the job...
[2025-02-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:28:02] Production.INFO: ==13237== Releasing lock...
[2025-02-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:28:02] Production.INFO: ==13239== Lock acquired, processing the job...
[2025-02-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:28:02] Production.INFO: ==13239== Releasing lock...
[2025-02-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:28:03] Production.INFO: ==13245== Lock acquired, processing the job...
[2025-02-09 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:28:03] Production.INFO: ==13252== Lock acquired, processing the job...
[2025-02-09 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:28:03] Production.INFO: ==13241== Lock acquired, processing the job...
[2025-02-09 03:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:28:03] Production.INFO: ==13243== Lock acquired, processing the job...
[2025-02-09 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:28:03] Production.INFO: ==13247== Lock acquired, processing the job...
[2025-02-09 03:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:28:03] Production.INFO: ==13249== Lock acquired, processing the job...
[2025-02-09 03:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:28:03] Production.INFO: Account Balance Start.
[2025-02-09 03:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:28:03] Production.INFO: 117
[2025-02-09 03:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:28:03] Production.INFO: count ==21
[2025-02-09 03:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:28:03] Production.INFO: count ==21
[2025-02-09 03:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434297') start
[2025-02-09 03:28:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:28:03] Production.INFO: Total Charge 0
[2025-02-09 03:28:03] Production.INFO: CreateAllLog End
[2025-02-09 03:28:04] Production.INFO: ==13243== Releasing lock...
[2025-02-09 03:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434297') end
[2025-02-09 03:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:28:04] Production.INFO: 1
[2025-02-09 03:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:28:04] Production.INFO: ==13252== Releasing lock...
[2025-02-09 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:28:04] Production.ERROR: done
[2025-02-09 03:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:28:04] Production.INFO: Account Balance End.
[2025-02-09 03:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:28:04] Production.INFO: ==13247== Releasing lock...
[2025-02-09 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:28:04] Production.ERROR: done
[2025-02-09 03:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:28:05
[end_date_ymd] => 2025-02-09 03:28:05
[RateCDR] => 1
)
[2025-02-09 03:28: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` >= '2025-02-09 00:28:05' and `end` < '2025-02-09 03:28: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 ,'')
[2025-02-09 03:28:13] Production.ERROR: CronJobId end10
[2025-02-09 03:28:13] Production.INFO: ==13245== Releasing lock...
[2025-02-09 03:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:28:14] Production.INFO: call_cost start
[2025-02-09 03:28:14] Production.INFO: call_cost end
[2025-02-09 03:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:28:15] Production.INFO: ==13241== Releasing lock...
[2025-02-09 03:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:28:19] Production.INFO: count ==857
[2025-02-09 03:28:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:28:05 - End Time 2025-02-09 03:28:05
[2025-02-09 03:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434301', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434301', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434301', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434301', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:28:19] Production.INFO: ProcessCDR(1,14434301,1,1,2)
[2025-02-09 03:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434301', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434301', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:28:22] Production.INFO: ==13249== Releasing lock...
[2025-02-09 03:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:28:22] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 08:29:02] Production.INFO: ==13313== Lock acquired, processing the job...
[2025-02-09 08:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:29:02] Production.INFO: neon service started
[2025-02-09 08:29:02] Production.INFO: neon service started
[2025-02-09 08:29:02] Production.INFO: ==13313== Releasing lock...
[2025-02-09 08:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:29:02] Production.INFO: ==13317== Lock acquired, processing the job...
[2025-02-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:29:02] Production.INFO: ==13317== Releasing lock...
[2025-02-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:29:02] Production.INFO: ==13315== Lock acquired, processing the job...
[2025-02-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:29:03] Production.INFO: ==13315== Releasing lock...
[2025-02-09 03:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:29:04] Production.INFO: ==13326== Lock acquired, processing the job...
[2025-02-09 03:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:29:04] Production.INFO: ==13328== Lock acquired, processing the job...
[2025-02-09 03:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:29:04] Production.INFO: Account Balance Start.
[2025-02-09 03:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:29:04] Production.INFO: 117
[2025-02-09 03:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:29:04] Production.INFO: ==13320== Lock acquired, processing the job...
[2025-02-09 03:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:29:04] Production.INFO: ==13324== Lock acquired, processing the job...
[2025-02-09 03:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:29:04] Production.INFO: ==13322== Lock acquired, processing the job...
[2025-02-09 03:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:29:04] Production.INFO: Total Charge 0
[2025-02-09 03:29:04] Production.INFO: CreateAllLog End
[2025-02-09 03:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:29:04] Production.INFO: ==13330== Lock acquired, processing the job...
[2025-02-09 03:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:29:04] Production.ERROR: done
[2025-02-09 03:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:29:04] Production.INFO: count ==21
[2025-02-09 03:29:04] Production.INFO: Account Balance End.
[2025-02-09 03:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:29:04] Production.INFO: count ==21
[2025-02-09 03:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434303') start
[2025-02-09 03:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:29:04] Production.INFO: ==13326== Releasing lock...
[2025-02-09 03:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:29:04] Production.ERROR: done
[2025-02-09 03:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434303') end
[2025-02-09 03:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:29:04] Production.INFO: 1
[2025-02-09 03:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:29:05] Production.INFO: ==13330== Releasing lock...
[2025-02-09 03:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:29:05] Production.INFO: ==13322== Releasing lock...
[2025-02-09 03:29:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:29:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:29:05
[end_date_ymd] => 2025-02-09 03:29:05
[RateCDR] => 1
)
[2025-02-09 03:29: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` >= '2025-02-09 00:29:05' and `end` < '2025-02-09 03:29: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 ,'')
[2025-02-09 03:29:12] Production.ERROR: CronJobId end10
[2025-02-09 03:29:12] Production.INFO: ==13324== Releasing lock...
[2025-02-09 03:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:29:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:29:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:29:15] Production.INFO: call_cost start
[2025-02-09 03:29:15] Production.INFO: call_cost end
[2025-02-09 03:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:29:15] Production.INFO: ==13320== Releasing lock...
[2025-02-09 03:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:29:19] Production.INFO: count ==844
[2025-02-09 03:29:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:29:05 - End Time 2025-02-09 03:29:05
[2025-02-09 03:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434306', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434306', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434306', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434306', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:29:19] Production.INFO: ProcessCDR(1,14434306,1,1,2)
[2025-02-09 03:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434306', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434306', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:29:22] Production.INFO: ==13328== Releasing lock...
[2025-02-09 03:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:29:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 08:30:01] Production.INFO: ==13394== Lock acquired, processing the job...
[2025-02-09 08:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:30:01] Production.INFO: neon service started
[2025-02-09 08:30:01] Production.INFO: neon service started
[2025-02-09 08:30:01] Production.INFO: ==13394== Releasing lock...
[2025-02-09 08:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:30:02] Production.INFO: ==13396== Lock acquired, processing the job...
[2025-02-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:30:02] Production.INFO: ==13398== Lock acquired, processing the job...
[2025-02-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:30:02] Production.INFO: ==13398== Releasing lock...
[2025-02-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:30:02] Production.INFO: ==13396== Releasing lock...
[2025-02-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:30:03] Production.INFO: ==13401== Lock acquired, processing the job...
[2025-02-09 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 03:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 03:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 03:30:03] Production.INFO: ==13401== Releasing lock...
[2025-02-09 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 03:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 03:30:04] Production.INFO: ==13403== Lock acquired, processing the job...
[2025-02-09 03:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:30:04] Production.INFO: ==13405== Lock acquired, processing the job...
[2025-02-09 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:30:04] Production.INFO: ==13413== Lock acquired, processing the job...
[2025-02-09 03:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:30:04] Production.INFO: ==13407== Lock acquired, processing the job...
[2025-02-09 03:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:30:04] Production.INFO: ==13411== Lock acquired, processing the job...
[2025-02-09 03:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:30:04] Production.INFO: ==13409== Lock acquired, processing the job...
[2025-02-09 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:30:04] Production.INFO: ==13415== Lock acquired, processing the job...
[2025-02-09 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:30:04] Production.INFO: ==13405== Releasing lock...
[2025-02-09 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:30:04] Production.ERROR: done
[2025-02-09 03:30:04] Production.INFO: Account Balance Start.
[2025-02-09 03:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:30:04] Production.INFO: 117
[2025-02-09 03:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 03:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434310', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 03:30:04] Production.INFO: count ==21
[2025-02-09 03:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:30:04] Production.INFO: count ==21
[2025-02-09 03:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434311') start
[2025-02-09 03:30:04] Production.INFO: Total Charge 0
[2025-02-09 03:30:04] Production.INFO: CreateAllLog End
[2025-02-09 03:30:04] Production.ERROR: done
[2025-02-09 03:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434311') end
[2025-02-09 03:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:30:04] Production.INFO: 1
[2025-02-09 03:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:30:05] Production.INFO: ==13415== Releasing lock...
[2025-02-09 03:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:30:05] Production.ERROR: done
[2025-02-09 03:30:05] Production.INFO: Account Balance End.
[2025-02-09 03:30:05] Production.ERROR: CronJobId end 12
[2025-02-09 03:30:05] Production.INFO: ==13409== Releasing lock...
[2025-02-09 03:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:30:06
[end_date_ymd] => 2025-02-09 03:30:06
[RateCDR] => 1
)
[2025-02-09 03:30: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-02-09 00:30:06' and `end` < '2025-02-09 03:30: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-02-09 03:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434310', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 03:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 03:30:09] Production.INFO: ProcessCDR(1,14434310,1,1,2)
[2025-02-09 03:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434310,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:30:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434310,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:30:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:30:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:30:10] Production.INFO: ==13413== Releasing lock...
[2025-02-09 03:30:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 03:30:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 03:30:14] Production.ERROR: CronJobId end10
[2025-02-09 03:30:14] Production.INFO: ==13407== Releasing lock...
[2025-02-09 03:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:30:16] Production.INFO: call_cost start
[2025-02-09 03:30:16] Production.INFO: call_cost end
[2025-02-09 03:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:30:17] Production.INFO: ==13403== Releasing lock...
[2025-02-09 03:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:30:20] Production.INFO: count ==837
[2025-02-09 03:30:20] Production.ERROR: pbx CDR StartTime 2025-02-09 00:30:06 - End Time 2025-02-09 03:30:06
[2025-02-09 03:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434312', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434312', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434312', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434312', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:30:20] Production.INFO: ProcessCDR(1,14434312,1,1,2)
[2025-02-09 03:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434312', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434312', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:30:24] Production.INFO: ==13411== Releasing lock...
[2025-02-09 03:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:30:24] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 08:31:02] Production.INFO: ==13468== Lock acquired, processing the job...
[2025-02-09 08:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:31:02] Production.INFO: neon service started
[2025-02-09 08:31:02] Production.INFO: neon service started
[2025-02-09 08:31:02] Production.INFO: ==13468== Releasing lock...
[2025-02-09 08:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:31:02] Production.INFO: ==13470== Lock acquired, processing the job...
[2025-02-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:31:03] Production.INFO: ==13472== Lock acquired, processing the job...
[2025-02-09 08:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:31:03] Production.INFO: ==13470== Releasing lock...
[2025-02-09 03:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:31:03] Production.INFO: ==13472== Releasing lock...
[2025-02-09 08:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:31:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:31:04] Production.INFO: ==13474== Lock acquired, processing the job...
[2025-02-09 03:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:31:04] Production.INFO: ==13478== Lock acquired, processing the job...
[2025-02-09 03:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:31:04] Production.INFO: ==13485== Lock acquired, processing the job...
[2025-02-09 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:31:04] Production.INFO: ==13476== Lock acquired, processing the job...
[2025-02-09 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:31:04] Production.INFO: count ==21
[2025-02-09 03:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:31:04] Production.INFO: count ==21
[2025-02-09 03:31:04] Production.INFO: ==13480== Lock acquired, processing the job...
[2025-02-09 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434313') start
[2025-02-09 03:31:04] Production.INFO: ==13482== Lock acquired, processing the job...
[2025-02-09 03:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434313') end
[2025-02-09 03:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:31:04] Production.INFO: 1
[2025-02-09 03:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:31:04] Production.INFO: ==13485== Releasing lock...
[2025-02-09 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:31:04] Production.INFO: Account Balance Start.
[2025-02-09 03:31:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:31:04] Production.INFO: 117
[2025-02-09 03:31:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:31:04] Production.INFO: ==13476== Releasing lock...
[2025-02-09 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:31:04] Production.INFO: Total Charge 0
[2025-02-09 03:31:05] Production.INFO: CreateAllLog End
[2025-02-09 03:31:05] Production.ERROR: done
[2025-02-09 03:31:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:31:05] Production.INFO: Account Balance End.
[2025-02-09 03:31:05] Production.ERROR: done
[2025-02-09 03:31:05] Production.ERROR: CronJobId end 12
[2025-02-09 03:31:05] Production.INFO: ==13480== Releasing lock...
[2025-02-09 03:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:31:06
[end_date_ymd] => 2025-02-09 03:31:06
[RateCDR] => 1
)
[2025-02-09 03:31: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-02-09 00:31:06' and `end` < '2025-02-09 03:31: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-02-09 03:31:13] Production.ERROR: CronJobId end10
[2025-02-09 03:31:13] Production.INFO: ==13478== Releasing lock...
[2025-02-09 03:31:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:31:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:31:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:31:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:31:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:31:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:31:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:31:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:31:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:31:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:31:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:31:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:31:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:31:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:31:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:31:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:31:16] Production.INFO: call_cost start
[2025-02-09 03:31:16] Production.INFO: call_cost end
[2025-02-09 03:31:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:31:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:31:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:31:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:31:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:31:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:31:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:31:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:31:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:31:17] Production.INFO: ==13474== Releasing lock...
[2025-02-09 03:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:31:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:31:19] Production.INFO: count ==807
[2025-02-09 03:31:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:31:06 - End Time 2025-02-09 03:31:06
[2025-02-09 03:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434317', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434317', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434317', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434317', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:31:19] Production.INFO: ProcessCDR(1,14434317,1,1,2)
[2025-02-09 03:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:31:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434317', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434317', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:31:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:31:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:31:24] Production.INFO: ==13482== Releasing lock...
[2025-02-09 03:31:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:31:24] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 08:32:01] Production.INFO: ==13539== Lock acquired, processing the job...
[2025-02-09 08:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:32:01] Production.INFO: neon service started
[2025-02-09 08:32:01] Production.INFO: neon service started
[2025-02-09 08:32:01] Production.INFO: ==13539== Releasing lock...
[2025-02-09 08:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:32:02] Production.INFO: ==13541== Lock acquired, processing the job...
[2025-02-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:32:02] Production.INFO: ==13541== Releasing lock...
[2025-02-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:32:02] Production.INFO: ==13543== Lock acquired, processing the job...
[2025-02-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:32:02] Production.INFO: ==13543== Releasing lock...
[2025-02-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:32:03] Production.INFO: ==13553== Lock acquired, processing the job...
[2025-02-09 03:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:32:03] Production.INFO: ==13551== Lock acquired, processing the job...
[2025-02-09 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:32:03] Production.ERROR: done
[2025-02-09 03:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:32:03] Production.INFO: Account Balance Start.
[2025-02-09 03:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:32:03] Production.INFO: 117
[2025-02-09 03:32:03] Production.INFO: ==13545== Lock acquired, processing the job...
[2025-02-09 03:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:32:03] Production.INFO: ==13547== Lock acquired, processing the job...
[2025-02-09 03:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:32:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:32:03] Production.ERROR: done
[2025-02-09 03:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:32:03] Production.INFO: ==13549== Lock acquired, processing the job...
[2025-02-09 03:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:32:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:32:03] Production.INFO: Total Charge 0
[2025-02-09 03:32:03] Production.INFO: CreateAllLog End
[2025-02-09 03:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:32:04] Production.INFO: ==13555== Lock acquired, processing the job...
[2025-02-09 03:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:32:04] Production.INFO: Account Balance End.
[2025-02-09 03:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:32:04] Production.INFO: ==13551== Releasing lock...
[2025-02-09 03:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:32:04] Production.INFO: ==13547== Releasing lock...
[2025-02-09 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:32:04] Production.INFO: count ==21
[2025-02-09 03:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:32:04] Production.INFO: count ==21
[2025-02-09 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434322') start
[2025-02-09 03:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434322') end
[2025-02-09 03:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:32:04] Production.INFO: 1
[2025-02-09 03:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:32:04] Production.INFO: ==13555== Releasing lock...
[2025-02-09 03:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:32:05
[end_date_ymd] => 2025-02-09 03:32:05
[RateCDR] => 1
)
[2025-02-09 03:32: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` >= '2025-02-09 00:32:05' and `end` < '2025-02-09 03:32: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 ,'')
[2025-02-09 03:32:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-02-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-09 03:32:11] Production.ERROR: CronJobId end10
[2025-02-09 03:32:11] Production.INFO: ==13549== Releasing lock...
[2025-02-09 03:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:32:15] Production.INFO: call_cost start
[2025-02-09 03:32:15] Production.INFO: call_cost end
[2025-02-09 03:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:32:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:32:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:32:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:32:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:32:16] Production.INFO: ==13545== Releasing lock...
[2025-02-09 03:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:32:18] Production.INFO: count ==799
[2025-02-09 03:32:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:32:05 - End Time 2025-02-09 03:32:05
[2025-02-09 03:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434319', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434319', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434319', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434319', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:32:18] Production.INFO: ProcessCDR(1,14434319,1,1,2)
[2025-02-09 03:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434319', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434319', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:32:21] Production.INFO: ==13553== Releasing lock...
[2025-02-09 03:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:32:21] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 08:33:02] Production.INFO: ==13613== Lock acquired, processing the job...
[2025-02-09 08:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:33:02] Production.INFO: neon service started
[2025-02-09 08:33:02] Production.INFO: neon service started
[2025-02-09 08:33:02] Production.INFO: ==13613== Releasing lock...
[2025-02-09 08:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:33:02] Production.INFO: ==13615== Lock acquired, processing the job...
[2025-02-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:33:02] Production.INFO: ==13617== Lock acquired, processing the job...
[2025-02-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:33:03] Production.INFO: ==13617== Releasing lock...
[2025-02-09 08:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:33:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:33:03] Production.INFO: ==13615== Releasing lock...
[2025-02-09 03:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:33:04] Production.INFO: ==13625== Lock acquired, processing the job...
[2025-02-09 03:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:33:04] Production.INFO: ==13629== Lock acquired, processing the job...
[2025-02-09 03:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:33:04] Production.INFO: ==13621== Lock acquired, processing the job...
[2025-02-09 03:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:33:04] Production.INFO: ==13623== Lock acquired, processing the job...
[2025-02-09 03:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:33:04] Production.INFO: ==13627== Lock acquired, processing the job...
[2025-02-09 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:33:04] Production.INFO: Account Balance Start.
[2025-02-09 03:33:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:33:04] Production.INFO: 117
[2025-02-09 03:33:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:33:04] Production.INFO: ==13631== Lock acquired, processing the job...
[2025-02-09 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:33:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:33:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:33:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:33:04] Production.INFO: Total Charge 0
[2025-02-09 03:33:04] Production.INFO: CreateAllLog End
[2025-02-09 03:33:04] Production.ERROR: done
[2025-02-09 03:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:33:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:33:05] Production.INFO: ==13623== Releasing lock...
[2025-02-09 03:33:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:33:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:33:05] Production.INFO: count ==21
[2025-02-09 03:33:05] Production.ERROR: done
[2025-02-09 03:33:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:33:05] Production.INFO: count ==21
[2025-02-09 03:33:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434326') start
[2025-02-09 03:33:05] Production.INFO: Account Balance End.
[2025-02-09 03:33:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434326') end
[2025-02-09 03:33:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:33:05] Production.INFO: 1
[2025-02-09 03:33:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:33:05] Production.ERROR: CronJobId end 12
[2025-02-09 03:33:05] Production.INFO: ==13627== Releasing lock...
[2025-02-09 03:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:33:05] Production.INFO: ==13631== Releasing lock...
[2025-02-09 03:33:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:33:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:33:06
[end_date_ymd] => 2025-02-09 03:33:06
[RateCDR] => 1
)
[2025-02-09 03:33: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-02-09 00:33:06' and `end` < '2025-02-09 03:33: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-02-09 03:33:14] Production.ERROR: CronJobId end10
[2025-02-09 03:33:14] Production.INFO: ==13625== Releasing lock...
[2025-02-09 03:33:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:33:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:33:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:33:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:33:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:33:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:33:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:33:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:33:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:33:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:33:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:33:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:33:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:33:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:33:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:33:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:33:17] Production.INFO: call_cost start
[2025-02-09 03:33:17] Production.INFO: call_cost end
[2025-02-09 03:33:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:33:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:33:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:33:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:33:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:33:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:33:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:33:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:33:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:33:18] Production.INFO: ==13621== Releasing lock...
[2025-02-09 03:33:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:33:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:33:19] Production.INFO: count ==784
[2025-02-09 03:33:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:33:06 - End Time 2025-02-09 03:33:06
[2025-02-09 03:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434327', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434327', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434327', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434327', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:33:19] Production.INFO: ProcessCDR(1,14434327,1,1,2)
[2025-02-09 03:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434327', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434327', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:33:23] Production.INFO: ==13629== Releasing lock...
[2025-02-09 03:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:33:23] Production.INFO: 33 MB #Memory Used#
[2025-02-09 08:34:01] Production.INFO: ==13690== Lock acquired, processing the job...
[2025-02-09 08:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:34:01] Production.INFO: neon service started
[2025-02-09 08:34:01] Production.INFO: neon service started
[2025-02-09 08:34:01] Production.INFO: ==13690== Releasing lock...
[2025-02-09 08:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:34:02] Production.INFO: ==13695== Lock acquired, processing the job...
[2025-02-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:34:02] Production.INFO: ==13695== Releasing lock...
[2025-02-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:34:02] Production.INFO: ==13692== Lock acquired, processing the job...
[2025-02-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:34:02] Production.INFO: ==13692== Releasing lock...
[2025-02-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:34:03] Production.INFO: ==13701== Lock acquired, processing the job...
[2025-02-09 03:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:34:03] Production.INFO: ==13707== Lock acquired, processing the job...
[2025-02-09 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:34:03] Production.INFO: ==13699== Lock acquired, processing the job...
[2025-02-09 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:34:03] Production.INFO: ==13697== Lock acquired, processing the job...
[2025-02-09 03:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:34:04] Production.INFO: ==13703== Lock acquired, processing the job...
[2025-02-09 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:34:04] Production.INFO: ==13705== Lock acquired, processing the job...
[2025-02-09 03:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:34:04] Production.INFO: count ==21
[2025-02-09 03:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:34:04] Production.INFO: count ==21
[2025-02-09 03:34:04] Production.INFO: Account Balance Start.
[2025-02-09 03:34:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:34:04] Production.INFO: 117
[2025-02-09 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434328') start
[2025-02-09 03:34:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:34:04] Production.INFO: Total Charge 0
[2025-02-09 03:34:04] Production.INFO: CreateAllLog End
[2025-02-09 03:34:04] Production.INFO: ==13699== Releasing lock...
[2025-02-09 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434328') end
[2025-02-09 03:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:34:04] Production.INFO: 1
[2025-02-09 03:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:34:04] Production.INFO: ==13707== Releasing lock...
[2025-02-09 03:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:34:04] Production.ERROR: done
[2025-02-09 03:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:34:04] Production.INFO: Account Balance End.
[2025-02-09 03:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:34:04] Production.INFO: ==13703== Releasing lock...
[2025-02-09 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:34:04] Production.ERROR: done
[2025-02-09 03:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:34:06
[end_date_ymd] => 2025-02-09 03:34:06
[RateCDR] => 1
)
[2025-02-09 03:34: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-02-09 00:34:06' and `end` < '2025-02-09 03:34: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-02-09 03:34:12] Production.ERROR: CronJobId end10
[2025-02-09 03:34:12] Production.INFO: ==13701== Releasing lock...
[2025-02-09 03:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:34:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:34:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:34:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:34:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:34:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:34:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:34:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:34:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:34:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:34:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:34:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:34:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:34:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:34:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:34:16] Production.INFO: call_cost start
[2025-02-09 03:34:16] Production.INFO: call_cost end
[2025-02-09 03:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:34:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:34:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:34:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:34:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:34:17] Production.INFO: ==13697== Releasing lock...
[2025-02-09 03:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:34:20] Production.INFO: count ==770
[2025-02-09 03:34:20] Production.ERROR: pbx CDR StartTime 2025-02-09 00:34:06 - End Time 2025-02-09 03:34:06
[2025-02-09 03:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434332', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434332', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434332', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434332', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:34:20] Production.INFO: ProcessCDR(1,14434332,1,1,2)
[2025-02-09 03:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434332', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434332', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:34:23] Production.INFO: ==13705== Releasing lock...
[2025-02-09 03:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:34:23] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 08:35:02] Production.INFO: ==13766== Lock acquired, processing the job...
[2025-02-09 08:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:35:02] Production.INFO: neon service started
[2025-02-09 08:35:02] Production.INFO: neon service started
[2025-02-09 08:35:02] Production.INFO: ==13766== Releasing lock...
[2025-02-09 08:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:35:02] Production.INFO: ==13770== Lock acquired, processing the job...
[2025-02-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:35:02] Production.INFO: ==13770== Releasing lock...
[2025-02-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:35:02] Production.INFO: ==13768== Lock acquired, processing the job...
[2025-02-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:35:03] Production.INFO: ==13768== Releasing lock...
[2025-02-09 03:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:35:04] Production.INFO: ==13781== Lock acquired, processing the job...
[2025-02-09 03:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:35:04] Production.INFO: ==13783== Lock acquired, processing the job...
[2025-02-09 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:35:04] Production.INFO: ==13773== Lock acquired, processing the job...
[2025-02-09 03:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:35:04] Production.INFO: count ==21
[2025-02-09 03:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:35:04] Production.INFO: count ==21
[2025-02-09 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434333') start
[2025-02-09 03:35:04] Production.INFO: ==13777== Lock acquired, processing the job...
[2025-02-09 03:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:35:04] Production.INFO: ==13775== Lock acquired, processing the job...
[2025-02-09 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:35:04] Production.INFO: ==13779== Lock acquired, processing the job...
[2025-02-09 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434333') end
[2025-02-09 03:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:35:04] Production.INFO: 1
[2025-02-09 03:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:35:04] Production.INFO: ==13783== Releasing lock...
[2025-02-09 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:35:04] Production.ERROR: done
[2025-02-09 03:35:04] Production.INFO: Account Balance Start.
[2025-02-09 03:35:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:35:04] Production.INFO: 117
[2025-02-09 03:35:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:35:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:35:04] Production.INFO: Total Charge 0
[2025-02-09 03:35:04] Production.ERROR: done
[2025-02-09 03:35:04] Production.INFO: CreateAllLog End
[2025-02-09 03:35:04] Production.INFO: ==13775== Releasing lock...
[2025-02-09 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:35:04] Production.INFO: Account Balance End.
[2025-02-09 03:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:35:04] Production.INFO: ==13779== Releasing lock...
[2025-02-09 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:35:05
[end_date_ymd] => 2025-02-09 03:35:05
[RateCDR] => 1
)
[2025-02-09 03:35: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` >= '2025-02-09 00:35:05' and `end` < '2025-02-09 03:35: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 ,'')
[2025-02-09 03:35:13] Production.ERROR: CronJobId end10
[2025-02-09 03:35:13] Production.INFO: ==13777== Releasing lock...
[2025-02-09 03:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:35:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:35:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:35:16] Production.INFO: call_cost start
[2025-02-09 03:35:16] Production.INFO: call_cost end
[2025-02-09 03:35:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:35:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:35:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:35:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:35:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:35:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:35:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:35:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:35:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:35:17] Production.INFO: ==13773== Releasing lock...
[2025-02-09 03:35:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:35:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:35:18] Production.INFO: count ==762
[2025-02-09 03:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:35:05 - End Time 2025-02-09 03:35:05
[2025-02-09 03:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434337', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434337', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434337', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434337', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:35:18] Production.INFO: ProcessCDR(1,14434337,1,1,2)
[2025-02-09 03:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434337', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434337', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:35:23] Production.INFO: ==13781== Releasing lock...
[2025-02-09 03:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:35:23] Production.INFO: 33 MB #Memory Used#
[2025-02-09 08:36:01] Production.INFO: ==13838== Lock acquired, processing the job...
[2025-02-09 08:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:36:01] Production.INFO: neon service started
[2025-02-09 08:36:01] Production.INFO: neon service started
[2025-02-09 08:36:01] Production.INFO: ==13838== Releasing lock...
[2025-02-09 08:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:36:02] Production.INFO: ==13840== Lock acquired, processing the job...
[2025-02-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:36:02] Production.INFO: ==13840== Releasing lock...
[2025-02-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:36:02] Production.INFO: ==13842== Lock acquired, processing the job...
[2025-02-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:36:02] Production.INFO: ==13842== Releasing lock...
[2025-02-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:36:03] Production.INFO: ==13855== Lock acquired, processing the job...
[2025-02-09 03:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:36:03] Production.INFO: ==13853== Lock acquired, processing the job...
[2025-02-09 03:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:36:03] Production.INFO: count ==21
[2025-02-09 03:36:03] Production.INFO: ==13845== Lock acquired, processing the job...
[2025-02-09 03:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:36:03] Production.INFO: count ==21
[2025-02-09 03:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434338') start
[2025-02-09 03:36:03] Production.INFO: ==13847== Lock acquired, processing the job...
[2025-02-09 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:36:03] Production.INFO: ==13849== Lock acquired, processing the job...
[2025-02-09 03:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:36:03] Production.INFO: ==13851== Lock acquired, processing the job...
[2025-02-09 03:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434338') end
[2025-02-09 03:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:36:03] Production.INFO: 1
[2025-02-09 03:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:36:03] Production.INFO: Account Balance Start.
[2025-02-09 03:36:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:36:03] Production.INFO: 117
[2025-02-09 03:36:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:36:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:36:03] Production.INFO: ==13855== Releasing lock...
[2025-02-09 03:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:36:03] Production.INFO: Total Charge 0
[2025-02-09 03:36:03] Production.INFO: CreateAllLog End
[2025-02-09 03:36:04] Production.INFO: ==13847== Releasing lock...
[2025-02-09 03:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:36:04] Production.ERROR: done
[2025-02-09 03:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:36:04] Production.INFO: Account Balance End.
[2025-02-09 03:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:36:04] Production.INFO: ==13851== Releasing lock...
[2025-02-09 03:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:36:04] Production.ERROR: done
[2025-02-09 03:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:36:05
[end_date_ymd] => 2025-02-09 03:36:05
[RateCDR] => 1
)
[2025-02-09 03:36: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` >= '2025-02-09 00:36:05' and `end` < '2025-02-09 03:36: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 ,'')
[2025-02-09 03:36:13] Production.ERROR: CronJobId end10
[2025-02-09 03:36:13] Production.INFO: ==13849== Releasing lock...
[2025-02-09 03:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:36:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:36:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:36:15] Production.INFO: call_cost start
[2025-02-09 03:36:15] Production.INFO: call_cost end
[2025-02-09 03:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:36:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:36:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:36:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:36:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:36:16] Production.INFO: ==13845== Releasing lock...
[2025-02-09 03:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:36:18] Production.INFO: count ==752
[2025-02-09 03:36:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:36:05 - End Time 2025-02-09 03:36:05
[2025-02-09 03:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434342', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434342', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434342', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434342', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:36:18] Production.INFO: ProcessCDR(1,14434342,1,1,2)
[2025-02-09 03:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434342', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434342', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:36:23] Production.INFO: ==13853== Releasing lock...
[2025-02-09 03:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:36:23] Production.INFO: 33 MB #Memory Used#
[2025-02-09 08:37:02] Production.INFO: ==13913== Lock acquired, processing the job...
[2025-02-09 08:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:37:02] Production.INFO: neon service started
[2025-02-09 08:37:02] Production.INFO: neon service started
[2025-02-09 08:37:02] Production.INFO: ==13913== Releasing lock...
[2025-02-09 08:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:37:02] Production.INFO: ==13915== Lock acquired, processing the job...
[2025-02-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:37:02] Production.INFO: ==13915== Releasing lock...
[2025-02-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:37:02] Production.INFO: ==13917== Lock acquired, processing the job...
[2025-02-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:37:02] Production.INFO: ==13917== Releasing lock...
[2025-02-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:37:03] Production.INFO: ==13928== Lock acquired, processing the job...
[2025-02-09 03:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:37:03] Production.INFO: ==13930== Lock acquired, processing the job...
[2025-02-09 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:37:03] Production.INFO: ==13919== Lock acquired, processing the job...
[2025-02-09 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:37:03] Production.INFO: count ==21
[2025-02-09 03:37:03] Production.INFO: ==13921== Lock acquired, processing the job...
[2025-02-09 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:37:03] Production.INFO: ==13924== Lock acquired, processing the job...
[2025-02-09 03:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:37:03] Production.INFO: count ==21
[2025-02-09 03:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434343') start
[2025-02-09 03:37:03] Production.INFO: ==13926== Lock acquired, processing the job...
[2025-02-09 03:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:37:03] Production.ERROR: done
[2025-02-09 03:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:37:03] Production.INFO: Account Balance Start.
[2025-02-09 03:37:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:37:03] Production.INFO: 117
[2025-02-09 03:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:37:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434343') end
[2025-02-09 03:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:37:04] Production.INFO: 1
[2025-02-09 03:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:37:04] Production.INFO: Total Charge 0
[2025-02-09 03:37:04] Production.INFO: CreateAllLog End
[2025-02-09 03:37:04] Production.INFO: ==13930== Releasing lock...
[2025-02-09 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:37:04] Production.INFO: ==13921== Releasing lock...
[2025-02-09 03:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:37:04] Production.ERROR: done
[2025-02-09 03:37:04] Production.INFO: Account Balance End.
[2025-02-09 03:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:37:04] Production.INFO: ==13926== Releasing lock...
[2025-02-09 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:37:05
[end_date_ymd] => 2025-02-09 03:37:05
[RateCDR] => 1
)
[2025-02-09 03:37: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` >= '2025-02-09 00:37:05' and `end` < '2025-02-09 03:37: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 ,'')
[2025-02-09 03:37:11] Production.ERROR: CronJobId end10
[2025-02-09 03:37:11] Production.INFO: ==13924== Releasing lock...
[2025-02-09 03:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:37:14] Production.INFO: call_cost start
[2025-02-09 03:37:14] Production.INFO: call_cost end
[2025-02-09 03:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:37:15] Production.INFO: ==13919== Releasing lock...
[2025-02-09 03:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:37:19] Production.INFO: count ==743
[2025-02-09 03:37:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:37:05 - End Time 2025-02-09 03:37:05
[2025-02-09 03:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434347', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434347', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434347', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434347', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:37:19] Production.INFO: ProcessCDR(1,14434347,1,1,2)
[2025-02-09 03:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434347', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434347', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:37:22] Production.INFO: ==13928== Releasing lock...
[2025-02-09 03:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:37:22] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 08:38:01] Production.INFO: ==13985== Lock acquired, processing the job...
[2025-02-09 08:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:38:01] Production.INFO: neon service started
[2025-02-09 08:38:01] Production.INFO: neon service started
[2025-02-09 08:38:01] Production.INFO: ==13985== Releasing lock...
[2025-02-09 08:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:38:01] Production.INFO: ==13989== Lock acquired, processing the job...
[2025-02-09 08:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:38:01] Production.INFO: ==13989== Releasing lock...
[2025-02-09 08:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:38:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:38:02] Production.INFO: ==13987== Lock acquired, processing the job...
[2025-02-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:38:02] Production.INFO: ==13987== Releasing lock...
[2025-02-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:38:03] Production.INFO: ==13996== Lock acquired, processing the job...
[2025-02-09 03:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:38:03] Production.INFO: ==13992== Lock acquired, processing the job...
[2025-02-09 03:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:38:03] Production.INFO: ==13998== Lock acquired, processing the job...
[2025-02-09 03:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:38:03] Production.INFO: Account Balance Start.
[2025-02-09 03:38:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:38:03] Production.INFO: 117
[2025-02-09 03:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:38:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:38:03] Production.INFO: ==13994== Lock acquired, processing the job...
[2025-02-09 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:38:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:38:03] Production.INFO: Total Charge 0
[2025-02-09 03:38:03] Production.INFO: CreateAllLog End
[2025-02-09 03:38:03] Production.INFO: ==14000== Lock acquired, processing the job...
[2025-02-09 03:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:38:03] Production.INFO: ==14002== Lock acquired, processing the job...
[2025-02-09 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:38:03] Production.INFO: Account Balance End.
[2025-02-09 03:38:04] Production.INFO: count ==21
[2025-02-09 03:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:38:04] Production.INFO: count ==21
[2025-02-09 03:38:04] Production.INFO: ==13998== Releasing lock...
[2025-02-09 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434351') start
[2025-02-09 03:38:04] Production.INFO: ==13994== Releasing lock...
[2025-02-09 03:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434351') end
[2025-02-09 03:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:38:04] Production.INFO: 1
[2025-02-09 03:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:38:04] Production.INFO: ==14002== Releasing lock...
[2025-02-09 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:38:04] Production.ERROR: done
[2025-02-09 03:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:38:04] Production.ERROR: done
[2025-02-09 03:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:38:05
[end_date_ymd] => 2025-02-09 03:38:05
[RateCDR] => 1
)
[2025-02-09 03:38: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` >= '2025-02-09 00:38:05' and `end` < '2025-02-09 03:38: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 ,'')
[2025-02-09 03:38:13] Production.ERROR: CronJobId end10
[2025-02-09 03:38:13] Production.INFO: ==13996== Releasing lock...
[2025-02-09 03:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:38:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:38:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:38:15] Production.INFO: call_cost start
[2025-02-09 03:38:15] Production.INFO: call_cost end
[2025-02-09 03:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:38:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:38:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:38:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:38:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:38:16] Production.INFO: ==13992== Releasing lock...
[2025-02-09 03:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:38:19] Production.INFO: count ==734
[2025-02-09 03:38:20] Production.ERROR: pbx CDR StartTime 2025-02-09 00:38:05 - End Time 2025-02-09 03:38:05
[2025-02-09 03:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434352', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434352', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434352', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434352', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:38:20] Production.INFO: ProcessCDR(1,14434352,1,1,2)
[2025-02-09 03:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434352', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434352', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:38:23] Production.INFO: ==14000== Releasing lock...
[2025-02-09 03:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:38:23] Production.INFO: 33 MB #Memory Used#
[2025-02-09 08:39:02] Production.INFO: ==14058== Lock acquired, processing the job...
[2025-02-09 08:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:39:02] Production.INFO: neon service started
[2025-02-09 08:39:02] Production.INFO: neon service started
[2025-02-09 08:39:02] Production.INFO: ==14058== Releasing lock...
[2025-02-09 08:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:39:02] Production.INFO: ==14060== Lock acquired, processing the job...
[2025-02-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:39:02] Production.INFO: ==14062== Lock acquired, processing the job...
[2025-02-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:39:02] Production.INFO: ==14062== Releasing lock...
[2025-02-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:39:02] Production.INFO: ==14060== Releasing lock...
[2025-02-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:39:03] Production.INFO: ==14065== Lock acquired, processing the job...
[2025-02-09 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:39:03] Production.INFO: ==14067== Lock acquired, processing the job...
[2025-02-09 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:39:03] Production.INFO: ==14069== Lock acquired, processing the job...
[2025-02-09 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:39:04] Production.INFO: ==14071== Lock acquired, processing the job...
[2025-02-09 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:39:04] Production.INFO: ==14075== Lock acquired, processing the job...
[2025-02-09 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:39:04] Production.INFO: ==14073== Lock acquired, processing the job...
[2025-02-09 03:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:39:04] Production.INFO: Account Balance Start.
[2025-02-09 03:39:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:39:04] Production.INFO: 117
[2025-02-09 03:39:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:39:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:39:04] Production.INFO: Total Charge 0
[2025-02-09 03:39:04] Production.INFO: count ==21
[2025-02-09 03:39:04] Production.INFO: CreateAllLog End
[2025-02-09 03:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:39:04] Production.INFO: count ==21
[2025-02-09 03:39:04] Production.INFO: ==14067== Releasing lock...
[2025-02-09 03:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434356') start
[2025-02-09 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434356') end
[2025-02-09 03:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:39:04] Production.INFO: 1
[2025-02-09 03:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:39:04] Production.ERROR: done
[2025-02-09 03:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:39:04] Production.INFO: ==14075== Releasing lock...
[2025-02-09 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:39:04] Production.ERROR: done
[2025-02-09 03:39:04] Production.INFO: Account Balance End.
[2025-02-09 03:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:39:04] Production.INFO: ==14071== Releasing lock...
[2025-02-09 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:39:05
[end_date_ymd] => 2025-02-09 03:39:05
[RateCDR] => 1
)
[2025-02-09 03:39: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` >= '2025-02-09 00:39:05' and `end` < '2025-02-09 03:39: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 ,'')
[2025-02-09 03:39:13] Production.ERROR: CronJobId end10
[2025-02-09 03:39:13] Production.INFO: ==14069== Releasing lock...
[2025-02-09 03:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:39:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:39:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:39:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:39:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:39:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:39:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:39:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:39:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:39:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:39:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:39:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:39:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:39:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:39:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:39:16] Production.INFO: call_cost start
[2025-02-09 03:39:16] Production.INFO: call_cost end
[2025-02-09 03:39:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:39:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:39:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:39:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:39:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:39:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:39:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:39:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:39:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:39:17] Production.INFO: ==14065== Releasing lock...
[2025-02-09 03:39:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:39:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:39:19] Production.INFO: count ==725
[2025-02-09 03:39:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:39:05 - End Time 2025-02-09 03:39:05
[2025-02-09 03:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434357', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434357', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434357', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434357', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:39:19] Production.INFO: ProcessCDR(1,14434357,1,1,2)
[2025-02-09 03:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434357', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434357', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:39:23] Production.INFO: ==14073== Releasing lock...
[2025-02-09 03:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:39:23] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 08:40:01] Production.INFO: ==14137== Lock acquired, processing the job...
[2025-02-09 08:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:40:01] Production.INFO: neon service started
[2025-02-09 08:40:01] Production.INFO: neon service started
[2025-02-09 08:40:01] Production.INFO: ==14137== Releasing lock...
[2025-02-09 08:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:40:02] Production.INFO: ==14140== Lock acquired, processing the job...
[2025-02-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:40:02] Production.INFO: ==14142== Lock acquired, processing the job...
[2025-02-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:40:02] Production.INFO: ==14140== Releasing lock...
[2025-02-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:40:02] Production.INFO: ==14142== Releasing lock...
[2025-02-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:40:03] Production.INFO: ==14150== Lock acquired, processing the job...
[2025-02-09 03:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:40:03] Production.INFO: ==14154== Lock acquired, processing the job...
[2025-02-09 03:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:40:03] Production.INFO: ==14158== Lock acquired, processing the job...
[2025-02-09 03:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:40:04] Production.INFO: ==14144== Lock acquired, processing the job...
[2025-02-09 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 03:40:04] Production.INFO: ==14146== Lock acquired, processing the job...
[2025-02-09 03:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:40:04] Production.INFO: ==14148== Lock acquired, processing the job...
[2025-02-09 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:40:04] Production.INFO: count ==21
[2025-02-09 03:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:40:04] Production.INFO: count ==21
[2025-02-09 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434358') start
[2025-02-09 03:40:04] Production.INFO: ==14152== Lock acquired, processing the job...
[2025-02-09 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:40:04] Production.INFO: ==14156== Lock acquired, processing the job...
[2025-02-09 03:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:40:04] Production.ERROR: CronJob PID - 14146
[2025-02-09 03:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 03:40:04] Production.ERROR: CronJob ID - 5
[2025-02-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 03:40:00
[2025-02-09 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:40:04] Production.ERROR: CronJob PID - 14148
[2025-02-09 03:40:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 03:40:04] Production.ERROR: CronJob ID - 7
[2025-02-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 03:40:00
[2025-02-09 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:40:04] Production.ERROR: CronJob PID - 14150
[2025-02-09 03:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 03:40:04] Production.ERROR: CronJob ID - 10
[2025-02-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 03:40:00
[2025-02-09 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:40:04] Production.ERROR: CronJob PID - 14152
[2025-02-09 03:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 03:40:04] Production.ERROR: CronJob ID - 12
[2025-02-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 03:40:00
[2025-02-09 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:40:04] Production.ERROR: CronJob PID - 14154
[2025-02-09 03:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 03:40:04] Production.ERROR: CronJob ID - 16
[2025-02-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 03:40:00
[2025-02-09 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:40:04] Production.ERROR: CronJob PID - 14158
[2025-02-09 03:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 03:40:04] Production.ERROR: CronJob ID - 19
[2025-02-09 03:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 03:40:00
[2025-02-09 03:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:40:04] Production.INFO: Account Balance Start.
[2025-02-09 03:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:40:04] Production.INFO: 117
[2025-02-09 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434358') end
[2025-02-09 03:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:40:04] Production.INFO: 1
[2025-02-09 03:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 03:40:04] Production.INFO: ==14144== Releasing lock...
[2025-02-09 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 03:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 03:40:04] Production.ERROR: done
[2025-02-09 03:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:40:04] Production.INFO: ==14158== Releasing lock...
[2025-02-09 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:40:04] Production.INFO: Total Charge 0
[2025-02-09 03:40:04] Production.INFO: CreateAllLog End
[2025-02-09 03:40:04] Production.ERROR: done
[2025-02-09 03:40:04] Production.INFO: ==14148== Releasing lock...
[2025-02-09 03:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:40:04] Production.ERROR: done
[2025-02-09 03:40:04] Production.INFO: Account Balance End.
[2025-02-09 03:40:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:40:04] Production.INFO: ==14152== Releasing lock...
[2025-02-09 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 03:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434363', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 03:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:40:05
[end_date_ymd] => 2025-02-09 03:40:05
[RateCDR] => 1
)
[2025-02-09 03:40: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` >= '2025-02-09 00:40:05' and `end` < '2025-02-09 03:40: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 ,'')
[2025-02-09 03:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434363', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 03:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 03:40:10] Production.INFO: ProcessCDR(1,14434363,1,1,2)
[2025-02-09 03:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434363,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434363,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:40:10] Production.INFO: ==14156== Releasing lock...
[2025-02-09 03:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 03:40:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 03:40:14] Production.ERROR: CronJobId end10
[2025-02-09 03:40:14] Production.INFO: ==14150== Releasing lock...
[2025-02-09 03:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:40:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:40:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:40:17] Production.INFO: call_cost start
[2025-02-09 03:40:17] Production.INFO: call_cost end
[2025-02-09 03:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:40:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:40:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:40:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:40:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:40:18] Production.INFO: ==14146== Releasing lock...
[2025-02-09 03:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:40:18] Production.INFO: count ==715
[2025-02-09 03:40:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:40:05 - End Time 2025-02-09 03:40:05
[2025-02-09 03:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434362', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434362', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434362', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434362', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:40:18] Production.INFO: ProcessCDR(1,14434362,1,1,2)
[2025-02-09 03:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434362', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434362', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:40:22] Production.INFO: ==14154== Releasing lock...
[2025-02-09 03:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:40:22] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 08:41:02] Production.INFO: ==14222== Lock acquired, processing the job...
[2025-02-09 08:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:41:02] Production.INFO: neon service started
[2025-02-09 08:41:02] Production.INFO: neon service started
[2025-02-09 08:41:02] Production.INFO: ==14222== Releasing lock...
[2025-02-09 08:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:41:02] Production.INFO: ==14226== Lock acquired, processing the job...
[2025-02-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:41:02] Production.INFO: ==14226== Releasing lock...
[2025-02-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:41:02] Production.INFO: ==14224== Lock acquired, processing the job...
[2025-02-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:41:02] Production.INFO: ==14224== Releasing lock...
[2025-02-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:41:03] Production.INFO: ==14229== Lock acquired, processing the job...
[2025-02-09 03:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:41:03] Production.INFO: ==14231== Lock acquired, processing the job...
[2025-02-09 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:41:03] Production.INFO: ==14237== Lock acquired, processing the job...
[2025-02-09 03:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:41:04] Production.INFO: ==14233== Lock acquired, processing the job...
[2025-02-09 03:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:41:04] Production.INFO: ==14231== Releasing lock...
[2025-02-09 03:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:41:04] Production.INFO: ==14235== Lock acquired, processing the job...
[2025-02-09 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:41:04] Production.INFO: ==14239== Lock acquired, processing the job...
[2025-02-09 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:41:04] Production.ERROR: done
[2025-02-09 03:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:41:04] Production.INFO: Account Balance Start.
[2025-02-09 03:41:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:41:04] Production.INFO: 117
[2025-02-09 03:41:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:41:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:41:04] Production.INFO: Total Charge 0
[2025-02-09 03:41:04] Production.ERROR: done
[2025-02-09 03:41:04] Production.INFO: CreateAllLog End
[2025-02-09 03:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:41:04] Production.INFO: count ==21
[2025-02-09 03:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:41:04] Production.INFO: count ==21
[2025-02-09 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434367') start
[2025-02-09 03:41:04] Production.INFO: Account Balance End.
[2025-02-09 03:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434367') end
[2025-02-09 03:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:41:04] Production.INFO: 1
[2025-02-09 03:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:41:04] Production.INFO: ==14235== Releasing lock...
[2025-02-09 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:41:04] Production.INFO: ==14239== Releasing lock...
[2025-02-09 03:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:41:05
[end_date_ymd] => 2025-02-09 03:41:05
[RateCDR] => 1
)
[2025-02-09 03:41: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` >= '2025-02-09 00:41:05' and `end` < '2025-02-09 03:41: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 ,'')
[2025-02-09 03:41:12] Production.ERROR: CronJobId end10
[2025-02-09 03:41:12] Production.INFO: ==14233== Releasing lock...
[2025-02-09 03:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:41:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:41:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:41:15] Production.INFO: call_cost start
[2025-02-09 03:41:15] Production.INFO: call_cost end
[2025-02-09 03:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:41:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:41:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:41:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:41:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:41:16] Production.INFO: ==14229== Releasing lock...
[2025-02-09 03:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:41:19] Production.INFO: count ==693
[2025-02-09 03:41:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:41:05 - End Time 2025-02-09 03:41:05
[2025-02-09 03:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434368', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434368', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434368', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434368', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:41:19] Production.INFO: ProcessCDR(1,14434368,1,1,2)
[2025-02-09 03:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434368', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434368', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:41:24] Production.INFO: ==14237== Releasing lock...
[2025-02-09 03:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:41:24] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 08:42:01] Production.INFO: ==14294== Lock acquired, processing the job...
[2025-02-09 08:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:42:01] Production.INFO: neon service started
[2025-02-09 08:42:01] Production.INFO: neon service started
[2025-02-09 08:42:01] Production.INFO: ==14294== Releasing lock...
[2025-02-09 08:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:42:01] Production.INFO: ==14298== Lock acquired, processing the job...
[2025-02-09 08:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:42:01] Production.INFO: ==14298== Releasing lock...
[2025-02-09 08:42:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:42:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:42:02] Production.INFO: ==14296== Lock acquired, processing the job...
[2025-02-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:42:02] Production.INFO: ==14296== Releasing lock...
[2025-02-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:42:03] Production.INFO: ==14301== Lock acquired, processing the job...
[2025-02-09 03:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:42:03] Production.INFO: ==14303== Lock acquired, processing the job...
[2025-02-09 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:42:03] Production.INFO: ==14305== Lock acquired, processing the job...
[2025-02-09 03:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:42:03] Production.INFO: ==14303== Releasing lock...
[2025-02-09 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:42:03] Production.INFO: ==14309== Lock acquired, processing the job...
[2025-02-09 03:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:42:03] Production.INFO: ==14307== Lock acquired, processing the job...
[2025-02-09 03:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:42:03] Production.INFO: ==14311== Lock acquired, processing the job...
[2025-02-09 03:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:42:03] Production.INFO: Account Balance Start.
[2025-02-09 03:42:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:42:03] Production.INFO: 117
[2025-02-09 03:42:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:42:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:42:04] Production.INFO: Total Charge 0
[2025-02-09 03:42:04] Production.INFO: CreateAllLog End
[2025-02-09 03:42:04] Production.INFO: count ==21
[2025-02-09 03:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:42:04] Production.INFO: count ==21
[2025-02-09 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434372') start
[2025-02-09 03:42:04] Production.ERROR: done
[2025-02-09 03:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434372') end
[2025-02-09 03:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:42:04] Production.INFO: 1
[2025-02-09 03:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:42:04] Production.INFO: Account Balance End.
[2025-02-09 03:42:04] Production.INFO: ==14311== Releasing lock...
[2025-02-09 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:42:04] Production.INFO: ==14307== Releasing lock...
[2025-02-09 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:42:04] Production.ERROR: done
[2025-02-09 03:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:42:05
[end_date_ymd] => 2025-02-09 03:42:05
[RateCDR] => 1
)
[2025-02-09 03:42: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` >= '2025-02-09 00:42:05' and `end` < '2025-02-09 03:42: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 ,'')
[2025-02-09 03:42:12] Production.ERROR: CronJobId end10
[2025-02-09 03:42:12] Production.INFO: ==14305== Releasing lock...
[2025-02-09 03:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:42:14] Production.INFO: call_cost start
[2025-02-09 03:42:14] Production.INFO: call_cost end
[2025-02-09 03:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:42:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:42:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:42:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:42:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:42:16] Production.INFO: ==14301== Releasing lock...
[2025-02-09 03:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:42:18] Production.INFO: count ==693
[2025-02-09 03:42:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:42:05 - End Time 2025-02-09 03:42:05
[2025-02-09 03:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434373', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434373', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434373', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434373', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:42:18] Production.INFO: ProcessCDR(1,14434373,1,1,2)
[2025-02-09 03:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434373', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434373', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:42:21] Production.INFO: ==14309== Releasing lock...
[2025-02-09 03:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:42:21] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 08:43:02] Production.INFO: ==14411== Lock acquired, processing the job...
[2025-02-09 08:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:43:02] Production.INFO: neon service started
[2025-02-09 08:43:02] Production.INFO: neon service started
[2025-02-09 08:43:02] Production.INFO: ==14411== Releasing lock...
[2025-02-09 08:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:43:02] Production.INFO: ==14413== Lock acquired, processing the job...
[2025-02-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:43:02] Production.INFO: ==14413== Releasing lock...
[2025-02-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:43:02] Production.INFO: ==14415== Lock acquired, processing the job...
[2025-02-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:43:03] Production.INFO: ==14415== Releasing lock...
[2025-02-09 08:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:43:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:43:03] Production.INFO: ==14417== Lock acquired, processing the job...
[2025-02-09 03:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:43:03] Production.INFO: ==14419== Lock acquired, processing the job...
[2025-02-09 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:43:03] Production.INFO: ==14421== Lock acquired, processing the job...
[2025-02-09 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:43:03] Production.INFO: ==14423== Lock acquired, processing the job...
[2025-02-09 03:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:43:03] Production.INFO: ==14425== Lock acquired, processing the job...
[2025-02-09 03:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:43:04] Production.INFO: Account Balance Start.
[2025-02-09 03:43:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:43:04] Production.INFO: 117
[2025-02-09 03:43:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:43:04] Production.INFO: ==14427== Lock acquired, processing the job...
[2025-02-09 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:43:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:43:04] Production.INFO: Total Charge 0
[2025-02-09 03:43:04] Production.INFO: CreateAllLog End
[2025-02-09 03:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:43:04] Production.INFO: ==14419== Releasing lock...
[2025-02-09 03:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:43:04] Production.ERROR: done
[2025-02-09 03:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:43:04] Production.INFO: count ==21
[2025-02-09 03:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:43:04] Production.INFO: count ==21
[2025-02-09 03:43:04] Production.INFO: Account Balance End.
[2025-02-09 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434377') start
[2025-02-09 03:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:43:04] Production.INFO: ==14423== Releasing lock...
[2025-02-09 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:43:04] Production.ERROR: done
[2025-02-09 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434377') end
[2025-02-09 03:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:43:04] Production.INFO: 1
[2025-02-09 03:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:43:04] Production.INFO: ==14427== Releasing lock...
[2025-02-09 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:43:05
[end_date_ymd] => 2025-02-09 03:43:05
[RateCDR] => 1
)
[2025-02-09 03:43: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` >= '2025-02-09 00:43:05' and `end` < '2025-02-09 03:43: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 ,'')
[2025-02-09 03:43:12] Production.ERROR: CronJobId end10
[2025-02-09 03:43:12] Production.INFO: ==14421== Releasing lock...
[2025-02-09 03:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:43:15] Production.INFO: call_cost start
[2025-02-09 03:43:15] Production.INFO: call_cost end
[2025-02-09 03:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:43:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:43:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:43:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:43:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:43:16] Production.INFO: ==14417== Releasing lock...
[2025-02-09 03:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:43:19] Production.INFO: count ==693
[2025-02-09 03:43:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:43:05 - End Time 2025-02-09 03:43:05
[2025-02-09 03:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434378', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434378', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434378', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434378', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:43:19] Production.INFO: ProcessCDR(1,14434378,1,1,2)
[2025-02-09 03:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434378', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434378', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:43:22] Production.INFO: ==14425== Releasing lock...
[2025-02-09 03:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:43:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 08:44:01] Production.INFO: ==14486== Lock acquired, processing the job...
[2025-02-09 08:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:44:01] Production.INFO: neon service started
[2025-02-09 08:44:01] Production.INFO: neon service started
[2025-02-09 08:44:01] Production.INFO: ==14486== Releasing lock...
[2025-02-09 08:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:44:01] Production.INFO: ==14488== Lock acquired, processing the job...
[2025-02-09 03:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:44:02] Production.INFO: ==14488== Releasing lock...
[2025-02-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:44:02] Production.INFO: ==14490== Lock acquired, processing the job...
[2025-02-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:44:02] Production.INFO: ==14490== Releasing lock...
[2025-02-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:44:03] Production.INFO: ==14492== Lock acquired, processing the job...
[2025-02-09 03:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:44:03] Production.INFO: ==14496== Lock acquired, processing the job...
[2025-02-09 03:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:44:03] Production.INFO: ==14494== Lock acquired, processing the job...
[2025-02-09 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:44:03] Production.INFO: ==14498== Lock acquired, processing the job...
[2025-02-09 03:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:44:03] Production.INFO: ==14501== Lock acquired, processing the job...
[2025-02-09 03:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:44:03] Production.INFO: ==14503== Lock acquired, processing the job...
[2025-02-09 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:44:03] Production.INFO: Account Balance Start.
[2025-02-09 03:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:44:03] Production.INFO: 117
[2025-02-09 03:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:44:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:44:03] Production.INFO: count ==21
[2025-02-09 03:44:03] Production.INFO: Total Charge 0
[2025-02-09 03:44:03] Production.INFO: CreateAllLog End
[2025-02-09 03:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:44:03] Production.INFO: count ==21
[2025-02-09 03:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434382') start
[2025-02-09 03:44:03] Production.INFO: ==14494== Releasing lock...
[2025-02-09 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434382') end
[2025-02-09 03:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:44:04] Production.INFO: 1
[2025-02-09 03:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:44:04] Production.INFO: Account Balance End.
[2025-02-09 03:44:04] Production.ERROR: done
[2025-02-09 03:44:04] Production.INFO: ==14503== Releasing lock...
[2025-02-09 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:44:04] Production.INFO: ==14498== Releasing lock...
[2025-02-09 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:44:04] Production.ERROR: done
[2025-02-09 03:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:44:05
[end_date_ymd] => 2025-02-09 03:44:05
[RateCDR] => 1
)
[2025-02-09 03:44: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` >= '2025-02-09 00:44:05' and `end` < '2025-02-09 03:44: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 ,'')
[2025-02-09 03:44:13] Production.ERROR: CronJobId end10
[2025-02-09 03:44:13] Production.INFO: ==14496== Releasing lock...
[2025-02-09 03:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:44:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:44:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:44:15] Production.INFO: call_cost start
[2025-02-09 03:44:15] Production.INFO: call_cost end
[2025-02-09 03:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:44:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:44:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:44:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:44:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:44:16] Production.INFO: ==14492== Releasing lock...
[2025-02-09 03:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:44:18] Production.INFO: count ==690
[2025-02-09 03:44:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:44:05 - End Time 2025-02-09 03:44:05
[2025-02-09 03:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434383', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434383', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434383', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434383', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:44:18] Production.INFO: ProcessCDR(1,14434383,1,1,2)
[2025-02-09 03:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434383', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434383', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:44:22] Production.INFO: ==14501== Releasing lock...
[2025-02-09 03:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:44:22] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 08:45:01] Production.INFO: ==14557== Lock acquired, processing the job...
[2025-02-09 08:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:45:01] Production.INFO: neon service started
[2025-02-09 08:45:01] Production.INFO: neon service started
[2025-02-09 08:45:01] Production.INFO: ==14557== Releasing lock...
[2025-02-09 08:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:45:02] Production.INFO: ==14559== Lock acquired, processing the job...
[2025-02-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:45:02] Production.INFO: ==14561== Lock acquired, processing the job...
[2025-02-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:45:02] Production.INFO: ==14561== Releasing lock...
[2025-02-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:45:03] Production.INFO: ==14559== Releasing lock...
[2025-02-09 03:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:45:04] Production.INFO: ==14570== Lock acquired, processing the job...
[2025-02-09 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:45:04] Production.INFO: ==14572== Lock acquired, processing the job...
[2025-02-09 03:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:45:04] Production.INFO: Account Balance Start.
[2025-02-09 03:45:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:45:04] Production.INFO: 117
[2025-02-09 03:45:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:45:04] Production.INFO: ==14564== Lock acquired, processing the job...
[2025-02-09 03:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:45:04] Production.INFO: ==14574== Lock acquired, processing the job...
[2025-02-09 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:45:04] Production.INFO: ==14566== Lock acquired, processing the job...
[2025-02-09 03:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:45:04] Production.INFO: ==14568== Lock acquired, processing the job...
[2025-02-09 03:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:45:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:45:04] Production.INFO: Total Charge 0
[2025-02-09 03:45:04] Production.INFO: CreateAllLog End
[2025-02-09 03:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:45:04] Production.INFO: count ==21
[2025-02-09 03:45:04] Production.INFO: Account Balance End.
[2025-02-09 03:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:45:04] Production.INFO: count ==21
[2025-02-09 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434385') start
[2025-02-09 03:45:04] Production.ERROR: done
[2025-02-09 03:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:45:04] Production.INFO: ==14566== Releasing lock...
[2025-02-09 03:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:45:04] Production.INFO: ==14570== Releasing lock...
[2025-02-09 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:45:04] Production.ERROR: done
[2025-02-09 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434385') end
[2025-02-09 03:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:45:04] Production.INFO: 1
[2025-02-09 03:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:45:04] Production.INFO: ==14574== Releasing lock...
[2025-02-09 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:45:05
[end_date_ymd] => 2025-02-09 03:45:05
[RateCDR] => 1
)
[2025-02-09 03:45: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` >= '2025-02-09 00:45:05' and `end` < '2025-02-09 03:45: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 ,'')
[2025-02-09 03:45:13] Production.ERROR: CronJobId end10
[2025-02-09 03:45:13] Production.INFO: ==14568== Releasing lock...
[2025-02-09 03:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:45:15] Production.INFO: call_cost start
[2025-02-09 03:45:15] Production.INFO: call_cost end
[2025-02-09 03:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:45:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:45:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:45:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:45:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:45:16] Production.INFO: ==14564== Releasing lock...
[2025-02-09 03:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:45:20] Production.INFO: count ==685
[2025-02-09 03:45:20] Production.ERROR: pbx CDR StartTime 2025-02-09 00:45:05 - End Time 2025-02-09 03:45:05
[2025-02-09 03:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434388', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434388', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434388', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434388', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:45:20] Production.INFO: ProcessCDR(1,14434388,1,1,2)
[2025-02-09 03:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434388', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434388', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:45:23] Production.INFO: ==14572== Releasing lock...
[2025-02-09 03:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:45:23] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 08:46:01] Production.INFO: ==14629== Lock acquired, processing the job...
[2025-02-09 08:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:46:01] Production.INFO: neon service started
[2025-02-09 08:46:01] Production.INFO: neon service started
[2025-02-09 08:46:01] Production.INFO: ==14629== Releasing lock...
[2025-02-09 08:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:46:01] Production.INFO: ==14631== Lock acquired, processing the job...
[2025-02-09 03:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:46:02] Production.INFO: ==14631== Releasing lock...
[2025-02-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:46:02] Production.INFO: ==14633== Lock acquired, processing the job...
[2025-02-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:46:02] Production.INFO: ==14633== Releasing lock...
[2025-02-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:46:03] Production.INFO: ==14636== Lock acquired, processing the job...
[2025-02-09 03:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:46:03] Production.INFO: ==14642== Lock acquired, processing the job...
[2025-02-09 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:46:03] Production.INFO: ==14644== Lock acquired, processing the job...
[2025-02-09 03:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:46:03] Production.INFO: Account Balance Start.
[2025-02-09 03:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:46:03] Production.INFO: 117
[2025-02-09 03:46:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:46:03] Production.INFO: ==14638== Lock acquired, processing the job...
[2025-02-09 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:46:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:46:03] Production.INFO: Total Charge 0
[2025-02-09 03:46:03] Production.INFO: ==14640== Lock acquired, processing the job...
[2025-02-09 03:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:46:03] Production.INFO: CreateAllLog End
[2025-02-09 03:46:03] Production.INFO: ==14646== Lock acquired, processing the job...
[2025-02-09 03:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:46:03] Production.INFO: Account Balance End.
[2025-02-09 03:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:46:03] Production.INFO: count ==21
[2025-02-09 03:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:46:03] Production.INFO: count ==21
[2025-02-09 03:46:03] Production.ERROR: CronJobId end 12
[2025-02-09 03:46:03] Production.INFO: ==14642== Releasing lock...
[2025-02-09 03:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434391') start
[2025-02-09 03:46:03] Production.ERROR: done
[2025-02-09 03:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434391') end
[2025-02-09 03:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:46:03] Production.INFO: 1
[2025-02-09 03:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:46:04] Production.INFO: ==14646== Releasing lock...
[2025-02-09 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:46:04] Production.INFO: ==14638== Releasing lock...
[2025-02-09 03:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:46:04] Production.ERROR: done
[2025-02-09 03:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:46:05
[end_date_ymd] => 2025-02-09 03:46:05
[RateCDR] => 1
)
[2025-02-09 03:46: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` >= '2025-02-09 00:46:05' and `end` < '2025-02-09 03:46: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 ,'')
[2025-02-09 03:46:12] Production.ERROR: CronJobId end10
[2025-02-09 03:46:12] Production.INFO: ==14640== Releasing lock...
[2025-02-09 03:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:46:15] Production.INFO: call_cost start
[2025-02-09 03:46:15] Production.INFO: call_cost end
[2025-02-09 03:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:46:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:46:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:46:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:46:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:46:16] Production.INFO: ==14636== Releasing lock...
[2025-02-09 03:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:46:17] Production.INFO: count ==687
[2025-02-09 03:46:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:46:05 - End Time 2025-02-09 03:46:05
[2025-02-09 03:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434393', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434393', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434393', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434393', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:46:18] Production.INFO: ProcessCDR(1,14434393,1,1,2)
[2025-02-09 03:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434393', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434393', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:46:21] Production.INFO: ==14644== Releasing lock...
[2025-02-09 03:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:46:21] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 08:47:01] Production.INFO: ==14700== Lock acquired, processing the job...
[2025-02-09 08:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:47:01] Production.INFO: neon service started
[2025-02-09 08:47:01] Production.INFO: neon service started
[2025-02-09 08:47:01] Production.INFO: ==14700== Releasing lock...
[2025-02-09 08:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:47:02] Production.INFO: ==14704== Lock acquired, processing the job...
[2025-02-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:47:02] Production.INFO: ==14702== Lock acquired, processing the job...
[2025-02-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:47:02] Production.INFO: ==14704== Releasing lock...
[2025-02-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:47:02] Production.INFO: ==14702== Releasing lock...
[2025-02-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:47:03] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-02-09 03:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:47:03] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-02-09 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:47:03] Production.INFO: Account Balance Start.
[2025-02-09 03:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:47:03] Production.INFO: 117
[2025-02-09 03:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:47:04] Production.INFO: ==14707== Lock acquired, processing the job...
[2025-02-09 03:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:47:04] Production.INFO: ==14709== Lock acquired, processing the job...
[2025-02-09 03:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:47:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:47:04] Production.INFO: Total Charge 0
[2025-02-09 03:47:04] Production.INFO: CreateAllLog End
[2025-02-09 03:47:04] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-02-09 03:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:47:04] Production.INFO: ==14717== Lock acquired, processing the job...
[2025-02-09 03:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:47:04] Production.INFO: Account Balance End.
[2025-02-09 03:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:47:04] Production.INFO: ==14713== Releasing lock...
[2025-02-09 03:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:47:04] Production.INFO: count ==21
[2025-02-09 03:47:04] Production.ERROR: done
[2025-02-09 03:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:47:04] Production.INFO: count ==21
[2025-02-09 03:47:04] Production.INFO: ==14709== Releasing lock...
[2025-02-09 03:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434397') start
[2025-02-09 03:47:04] Production.ERROR: done
[2025-02-09 03:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434397') end
[2025-02-09 03:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:47:04] Production.INFO: 1
[2025-02-09 03:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:47:04] Production.INFO: ==14717== Releasing lock...
[2025-02-09 03:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:47:05
[end_date_ymd] => 2025-02-09 03:47:05
[RateCDR] => 1
)
[2025-02-09 03:47: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` >= '2025-02-09 00:47:05' and `end` < '2025-02-09 03:47: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 ,'')
[2025-02-09 03:47:13] Production.ERROR: CronJobId end10
[2025-02-09 03:47:13] Production.INFO: ==14711== Releasing lock...
[2025-02-09 03:47:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:47:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:47:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:47:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:47:15] Production.INFO: call_cost start
[2025-02-09 03:47:15] Production.INFO: call_cost end
[2025-02-09 03:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:47:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:47:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:47:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:47:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:47:16] Production.INFO: ==14707== Releasing lock...
[2025-02-09 03:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:47:19] Production.INFO: count ==684
[2025-02-09 03:47:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:47:05 - End Time 2025-02-09 03:47:05
[2025-02-09 03:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434398', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434398', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434398', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434398', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:47:19] Production.INFO: ProcessCDR(1,14434398,1,1,2)
[2025-02-09 03:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434398', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434398', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:47:23] Production.INFO: ==14715== Releasing lock...
[2025-02-09 03:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:47:23] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 08:48:01] Production.INFO: ==14776== Lock acquired, processing the job...
[2025-02-09 08:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:48:01] Production.INFO: neon service started
[2025-02-09 08:48:01] Production.INFO: neon service started
[2025-02-09 08:48:01] Production.INFO: ==14776== Releasing lock...
[2025-02-09 08:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:48:01] Production.INFO: ==14778== Lock acquired, processing the job...
[2025-02-09 03:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:48:02] Production.INFO: ==14778== Releasing lock...
[2025-02-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:48:02] Production.INFO: ==14780== Lock acquired, processing the job...
[2025-02-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:48:02] Production.INFO: ==14780== Releasing lock...
[2025-02-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:48:03] Production.INFO: ==14788== Lock acquired, processing the job...
[2025-02-09 03:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:48:03] Production.INFO: ==14792== Lock acquired, processing the job...
[2025-02-09 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:48:03] Production.INFO: Account Balance Start.
[2025-02-09 03:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:48:03] Production.INFO: 117
[2025-02-09 03:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:48:03] Production.INFO: ==14782== Lock acquired, processing the job...
[2025-02-09 03:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:48:03] Production.INFO: count ==21
[2025-02-09 03:48:03] Production.INFO: ==14784== Lock acquired, processing the job...
[2025-02-09 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:48:03] Production.INFO: count ==21
[2025-02-09 03:48:03] Production.INFO: Total Charge 0
[2025-02-09 03:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434400') start
[2025-02-09 03:48:03] Production.INFO: CreateAllLog End
[2025-02-09 03:48:03] Production.INFO: ==14786== Lock acquired, processing the job...
[2025-02-09 03:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434400') end
[2025-02-09 03:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:48:03] Production.INFO: 1
[2025-02-09 03:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:48:03] Production.INFO: ==14790== Lock acquired, processing the job...
[2025-02-09 03:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:48:03] Production.INFO: ==14792== Releasing lock...
[2025-02-09 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:48:03] Production.INFO: Account Balance End.
[2025-02-09 03:48:03] Production.ERROR: CronJobId end 12
[2025-02-09 03:48:03] Production.INFO: ==14788== Releasing lock...
[2025-02-09 03:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:48:03] Production.INFO: ==14784== Releasing lock...
[2025-02-09 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:48:04] Production.ERROR: done
[2025-02-09 03:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:48:04] Production.ERROR: done
[2025-02-09 03:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:48:05
[end_date_ymd] => 2025-02-09 03:48:05
[RateCDR] => 1
)
[2025-02-09 03:48: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` >= '2025-02-09 00:48:05' and `end` < '2025-02-09 03:48: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 ,'')
[2025-02-09 03:48:12] Production.ERROR: CronJobId end10
[2025-02-09 03:48:12] Production.INFO: ==14786== Releasing lock...
[2025-02-09 03:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:48:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:48:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:48:15] Production.INFO: call_cost start
[2025-02-09 03:48:15] Production.INFO: call_cost end
[2025-02-09 03:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:48:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:48:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:48:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:48:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:48:16] Production.INFO: ==14782== Releasing lock...
[2025-02-09 03:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:48:19] Production.INFO: count ==681
[2025-02-09 03:48:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:48:05 - End Time 2025-02-09 03:48:05
[2025-02-09 03:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434403', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434403', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434403', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434403', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:48:19] Production.INFO: ProcessCDR(1,14434403,1,1,2)
[2025-02-09 03:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434403', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434403', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:48:23] Production.INFO: ==14790== Releasing lock...
[2025-02-09 03:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:48:23] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 08:49:01] Production.INFO: ==14850== Lock acquired, processing the job...
[2025-02-09 08:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:49:01] Production.INFO: neon service started
[2025-02-09 08:49:01] Production.INFO: neon service started
[2025-02-09 08:49:01] Production.INFO: ==14850== Releasing lock...
[2025-02-09 08:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:49:02] Production.INFO: ==14852== Lock acquired, processing the job...
[2025-02-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:49:02] Production.INFO: ==14852== Releasing lock...
[2025-02-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:49:02] Production.INFO: ==14854== Lock acquired, processing the job...
[2025-02-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:49:02] Production.INFO: ==14854== Releasing lock...
[2025-02-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:49:03] Production.INFO: ==14863== Lock acquired, processing the job...
[2025-02-09 03:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:49:03] Production.INFO: ==14857== Lock acquired, processing the job...
[2025-02-09 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:49:03] Production.INFO: ==14867== Lock acquired, processing the job...
[2025-02-09 03:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:49:03] Production.INFO: ==14859== Lock acquired, processing the job...
[2025-02-09 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:49:03] Production.INFO: Account Balance Start.
[2025-02-09 03:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:49:03] Production.INFO: 117
[2025-02-09 03:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:49:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:49:03] Production.INFO: ==14861== Lock acquired, processing the job...
[2025-02-09 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:49:03] Production.INFO: Total Charge 0
[2025-02-09 03:49:03] Production.INFO: ==14865== Lock acquired, processing the job...
[2025-02-09 03:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:49:03] Production.INFO: CreateAllLog End
[2025-02-09 03:49:03] Production.INFO: count ==21
[2025-02-09 03:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:49:04] Production.INFO: count ==21
[2025-02-09 03:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434406') start
[2025-02-09 03:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434406') end
[2025-02-09 03:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:49:04] Production.INFO: 1
[2025-02-09 03:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:49:04] Production.INFO: ==14867== Releasing lock...
[2025-02-09 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:49:04] Production.INFO: ==14859== Releasing lock...
[2025-02-09 03:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:49:04] Production.INFO: Account Balance End.
[2025-02-09 03:49:04] Production.ERROR: done
[2025-02-09 03:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:49:04] Production.INFO: ==14863== Releasing lock...
[2025-02-09 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:49:04] Production.ERROR: done
[2025-02-09 03:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:49:05
[end_date_ymd] => 2025-02-09 03:49:05
[RateCDR] => 1
)
[2025-02-09 03:49: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` >= '2025-02-09 00:49:05' and `end` < '2025-02-09 03:49: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 ,'')
[2025-02-09 03:49:12] Production.ERROR: CronJobId end10
[2025-02-09 03:49:12] Production.INFO: ==14861== Releasing lock...
[2025-02-09 03:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:49:15] Production.INFO: call_cost start
[2025-02-09 03:49:15] Production.INFO: call_cost end
[2025-02-09 03:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:49:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:49:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:49:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:49:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:49:16] Production.INFO: ==14857== Releasing lock...
[2025-02-09 03:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:49:18] Production.INFO: count ==677
[2025-02-09 03:49:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:49:05 - End Time 2025-02-09 03:49:05
[2025-02-09 03:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434408', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434408', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434408', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434408', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:49:18] Production.INFO: ProcessCDR(1,14434408,1,1,2)
[2025-02-09 03:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434408', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434408', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:49:22] Production.INFO: ==14865== Releasing lock...
[2025-02-09 03:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:49:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 08:50:02] Production.INFO: ==14924== Lock acquired, processing the job...
[2025-02-09 08:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:50:02] Production.INFO: neon service started
[2025-02-09 08:50:02] Production.INFO: neon service started
[2025-02-09 08:50:02] Production.INFO: ==14924== Releasing lock...
[2025-02-09 08:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:50:02] Production.INFO: ==14926== Lock acquired, processing the job...
[2025-02-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:50:03] Production.INFO: ==14928== Lock acquired, processing the job...
[2025-02-09 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 03:50:03] Production.INFO: ==14926== Releasing lock...
[2025-02-09 03:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:50:03] Production.INFO: ==14928== Releasing lock...
[2025-02-09 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:50:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:50:04] Production.INFO: ==14937== Lock acquired, processing the job...
[2025-02-09 03:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:50:04] Production.INFO: ==14943== Lock acquired, processing the job...
[2025-02-09 03:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 03:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:50:04] Production.INFO: ==14931== Lock acquired, processing the job...
[2025-02-09 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:50:04] Production.INFO: ==14933== Lock acquired, processing the job...
[2025-02-09 03:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:50:04] Production.INFO: ==14945== Lock acquired, processing the job...
[2025-02-09 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:50:04] Production.INFO: ==14935== Lock acquired, processing the job...
[2025-02-09 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:50:05] Production.ERROR: CronJob PID - 14933
[2025-02-09 03:50:05] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 03:50:05] Production.ERROR: CronJob ID - 5
[2025-02-09 03:50:05] Production.ERROR: CronJob Last Run Time 2025-02-09 03:50:00
[2025-02-09 03:50:05] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:50:05] Production.ERROR: CronJob PID - 14935
[2025-02-09 03:50:05] Production.ERROR: CronJob Title - Account Block
[2025-02-09 03:50:05] Production.ERROR: CronJob ID - 7
[2025-02-09 03:50:05] Production.ERROR: CronJob Last Run Time 2025-02-09 03:50:00
[2025-02-09 03:50:05] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:50:05] Production.ERROR: CronJob PID - 14937
[2025-02-09 03:50:05] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 03:50:05] Production.ERROR: CronJob ID - 10
[2025-02-09 03:50:05] Production.ERROR: CronJob Last Run Time 2025-02-09 03:50:00
[2025-02-09 03:50:05] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:50:05] Production.ERROR: CronJob PID - 14943
[2025-02-09 03:50:05] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-09 03:50:05] Production.ERROR: CronJob ID - 17
[2025-02-09 03:50:05] Production.ERROR: CronJob Last Run Time 2025-02-09 03:50:00
[2025-02-09 03:50:05] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 03:50:05] Production.ERROR: CronJob PID - 14945
[2025-02-09 03:50:05] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 03:50:05] Production.ERROR: CronJob ID - 19
[2025-02-09 03:50:05] Production.ERROR: CronJob Last Run Time 2025-02-09 03:50:00
[2025-02-09 03:50:05] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 03:50:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:50:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:50:05] Production.INFO: count ==21
[2025-02-09 03:50:05] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 03:50:05] Production.INFO: ==14931== Releasing lock...
[2025-02-09 03:50:05] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 03:50:05] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 03:50:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:50:05] Production.INFO: count ==21
[2025-02-09 03:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434409') start
[2025-02-09 03:50:05] Production.INFO: ==14939== Lock acquired, processing the job...
[2025-02-09 03:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:50:05] Production.INFO: ==14941== Lock acquired, processing the job...
[2025-02-09 03:50:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:50:05] Production.ERROR: done
[2025-02-09 03:50:05] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 03:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434412', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 03:50:05] Production.INFO: Account Balance Start.
[2025-02-09 03:50:05] Production.INFO: CreateAllLog Start
[2025-02-09 03:50:05] Production.INFO: 117
[2025-02-09 03:50:05] Production.INFO: Date 2025-02-08
[2025-02-09 03:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434409') end
[2025-02-09 03:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:50:05] Production.INFO: 1
[2025-02-09 03:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:50:05] Production.INFO: Reseller ==> 0
[2025-02-09 03:50:05] Production.INFO: ==14935== Releasing lock...
[2025-02-09 03:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:50:05] Production.INFO: ==14945== Releasing lock...
[2025-02-09 03:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:50:05] Production.INFO: Date 2025-02-09
[2025-02-09 03:50:05] Production.INFO: Reseller ==> 0
[2025-02-09 03:50:05] Production.INFO: Total Charge 0
[2025-02-09 03:50:05] Production.INFO: CreateAllLog End
[2025-02-09 03:50:05] Production.ERROR: done
[2025-02-09 03:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:50:05] Production.INFO: Account Balance End.
[2025-02-09 03:50:05] Production.ERROR: done
[2025-02-09 03:50:05] Production.ERROR: CronJobId end 12
[2025-02-09 03:50:05] Production.INFO: ==14939== Releasing lock...
[2025-02-09 03:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:50:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:50:07
[end_date_ymd] => 2025-02-09 03:50:07
[RateCDR] => 1
)
[2025-02-09 03:50: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-02-09 00:50:07' and `end` < '2025-02-09 03:50: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-02-09 03:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434412', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 03:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 03:50:09] Production.INFO: ProcessCDR(1,14434412,1,1,2)
[2025-02-09 03:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434412,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434412,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:50:10] Production.INFO: ==14943== Releasing lock...
[2025-02-09 03:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 03:50:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 03:50:15] Production.ERROR: CronJobId end10
[2025-02-09 03:50:15] Production.INFO: ==14937== Releasing lock...
[2025-02-09 03:50:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:50:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:50:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:50:18] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:50:18] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:50:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:50:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:50:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:50:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:50:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:50:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:50:18] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:50:18] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:50:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:50:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:50:18] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:50:18] Production.INFO: call_cost start
[2025-02-09 03:50:18] Production.INFO: call_cost end
[2025-02-09 03:50:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:50:19] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:50:19] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:50:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:50:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:50:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:50:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:50:19] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:50:19] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:50:19] Production.INFO: ==14933== Releasing lock...
[2025-02-09 03:50:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:50:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:50:20] Production.INFO: count ==673
[2025-02-09 03:50:20] Production.ERROR: pbx CDR StartTime 2025-02-09 00:50:07 - End Time 2025-02-09 03:50:07
[2025-02-09 03:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434414', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434414', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434414', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434414', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:50:20] Production.INFO: ProcessCDR(1,14434414,1,1,2)
[2025-02-09 03:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434414', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434414', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:50:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:50:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:50:25] Production.INFO: ==14941== Releasing lock...
[2025-02-09 03:50:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:50:25] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 08:51:02] Production.INFO: ==15000== Lock acquired, processing the job...
[2025-02-09 08:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:51:02] Production.INFO: neon service started
[2025-02-09 08:51:02] Production.INFO: neon service started
[2025-02-09 08:51:02] Production.INFO: ==15000== Releasing lock...
[2025-02-09 08:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:51:02] Production.INFO: ==15004== Lock acquired, processing the job...
[2025-02-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:51:02] Production.INFO: ==15004== Releasing lock...
[2025-02-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:51:02] Production.INFO: ==15002== Lock acquired, processing the job...
[2025-02-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:51:02] Production.INFO: ==15002== Releasing lock...
[2025-02-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:51:03] Production.INFO: ==15009== Lock acquired, processing the job...
[2025-02-09 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:51:04] Production.INFO: ==15017== Lock acquired, processing the job...
[2025-02-09 03:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:51:04] Production.INFO: ==15009== Releasing lock...
[2025-02-09 03:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:51:04] Production.INFO: ==15007== Lock acquired, processing the job...
[2025-02-09 03:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:51:04] Production.INFO: count ==21
[2025-02-09 03:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:51:04] Production.INFO: count ==21
[2025-02-09 03:51:04] Production.INFO: ==15011== Lock acquired, processing the job...
[2025-02-09 03:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:51:04] Production.INFO: ==15013== Lock acquired, processing the job...
[2025-02-09 03:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434416') start
[2025-02-09 03:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:51:04] Production.INFO: ==15015== Lock acquired, processing the job...
[2025-02-09 03:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:51:04] Production.INFO: Account Balance Start.
[2025-02-09 03:51:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:51:04] Production.INFO: 117
[2025-02-09 03:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434416') end
[2025-02-09 03:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:51:04] Production.INFO: 1
[2025-02-09 03:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:51:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:51:04] Production.INFO: ==15017== Releasing lock...
[2025-02-09 03:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:51:04] Production.INFO: Total Charge 0
[2025-02-09 03:51:04] Production.INFO: CreateAllLog End
[2025-02-09 03:51:04] Production.ERROR: done
[2025-02-09 03:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:51:04] Production.ERROR: done
[2025-02-09 03:51:05] Production.INFO: Account Balance End.
[2025-02-09 03:51:05] Production.ERROR: CronJobId end 12
[2025-02-09 03:51:05] Production.INFO: ==15013== Releasing lock...
[2025-02-09 03:51:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:51:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:51:06
[end_date_ymd] => 2025-02-09 03:51:06
[RateCDR] => 1
)
[2025-02-09 03:51: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-02-09 00:51:06' and `end` < '2025-02-09 03:51: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-02-09 03:51:13] Production.ERROR: CronJobId end10
[2025-02-09 03:51:13] Production.INFO: ==15011== Releasing lock...
[2025-02-09 03:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:51:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:51:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:51:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:51:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:51:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:51:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:51:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:51:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:51:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:51:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:51:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:51:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:51:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:51:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:51:16] Production.INFO: call_cost start
[2025-02-09 03:51:16] Production.INFO: call_cost end
[2025-02-09 03:51:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:51:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:51:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:51:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:51:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:51:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:51:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:51:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:51:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:51:17] Production.INFO: ==15007== Releasing lock...
[2025-02-09 03:51:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:51:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:51:18] Production.INFO: count ==660
[2025-02-09 03:51:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:51:06 - End Time 2025-02-09 03:51:06
[2025-02-09 03:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434419', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434419', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434419', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434419', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:51:19] Production.INFO: ProcessCDR(1,14434419,1,1,2)
[2025-02-09 03:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434419', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434419', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:51:24] Production.INFO: ==15015== Releasing lock...
[2025-02-09 03:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:51:24] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 08:52:01] Production.INFO: ==15074== Lock acquired, processing the job...
[2025-02-09 08:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:52:01] Production.INFO: neon service started
[2025-02-09 08:52:01] Production.INFO: neon service started
[2025-02-09 08:52:01] Production.INFO: ==15074== Releasing lock...
[2025-02-09 08:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:52:01] Production.INFO: ==15078== Lock acquired, processing the job...
[2025-02-09 08:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:52:01] Production.INFO: ==15078== Releasing lock...
[2025-02-09 08:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:52:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:52:02] Production.INFO: ==15076== Lock acquired, processing the job...
[2025-02-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:52:02] Production.INFO: ==15076== Releasing lock...
[2025-02-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:52:03] Production.INFO: ==15081== Lock acquired, processing the job...
[2025-02-09 03:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:52:03] Production.INFO: ==15083== Lock acquired, processing the job...
[2025-02-09 03:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:52:03] Production.INFO: ==15089== Lock acquired, processing the job...
[2025-02-09 03:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:52:03] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-02-09 03:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:52:03] Production.INFO: ==15087== Lock acquired, processing the job...
[2025-02-09 03:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:52:03] Production.INFO: ==15083== Releasing lock...
[2025-02-09 03:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:52:03] Production.INFO: ==15091== Lock acquired, processing the job...
[2025-02-09 03:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:52:03] Production.INFO: Account Balance Start.
[2025-02-09 03:52:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:52:03] Production.INFO: 117
[2025-02-09 03:52:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:52:03] Production.ERROR: done
[2025-02-09 03:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:52:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:52:03] Production.INFO: Total Charge 0
[2025-02-09 03:52:03] Production.INFO: count ==21
[2025-02-09 03:52:03] Production.INFO: CreateAllLog End
[2025-02-09 03:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:52:03] Production.INFO: count ==21
[2025-02-09 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434423') start
[2025-02-09 03:52:04] Production.ERROR: done
[2025-02-09 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434423') end
[2025-02-09 03:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:52:04] Production.INFO: 1
[2025-02-09 03:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:52:04] Production.INFO: Account Balance End.
[2025-02-09 03:52:04] Production.INFO: ==15091== Releasing lock...
[2025-02-09 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:52:04] Production.INFO: ==15087== Releasing lock...
[2025-02-09 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:52:05
[end_date_ymd] => 2025-02-09 03:52:05
[RateCDR] => 1
)
[2025-02-09 03:52: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` >= '2025-02-09 00:52:05' and `end` < '2025-02-09 03:52: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 ,'')
[2025-02-09 03:52:12] Production.ERROR: CronJobId end10
[2025-02-09 03:52:12] Production.INFO: ==15085== Releasing lock...
[2025-02-09 03:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:52:15] Production.INFO: call_cost start
[2025-02-09 03:52:15] Production.INFO: call_cost end
[2025-02-09 03:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:52:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:52:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:52:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:52:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:52:16] Production.INFO: ==15081== Releasing lock...
[2025-02-09 03:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:52:18] Production.INFO: count ==660
[2025-02-09 03:52:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:52:05 - End Time 2025-02-09 03:52:05
[2025-02-09 03:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434424', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434424', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434424', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434424', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:52:18] Production.INFO: ProcessCDR(1,14434424,1,1,2)
[2025-02-09 03:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434424', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434424', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:52:22] Production.INFO: ==15089== Releasing lock...
[2025-02-09 03:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:52:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 08:53:01] Production.INFO: ==15155== Lock acquired, processing the job...
[2025-02-09 08:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:53:01] Production.INFO: neon service started
[2025-02-09 08:53:01] Production.INFO: neon service started
[2025-02-09 08:53:01] Production.INFO: ==15155== Releasing lock...
[2025-02-09 08:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:53:02] Production.INFO: ==15159== Lock acquired, processing the job...
[2025-02-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:53:02] Production.INFO: ==15159== Releasing lock...
[2025-02-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:53:02] Production.INFO: ==15157== Lock acquired, processing the job...
[2025-02-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:53:02] Production.INFO: ==15157== Releasing lock...
[2025-02-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:53:03] Production.INFO: ==15168== Lock acquired, processing the job...
[2025-02-09 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:53:03] Production.INFO: Account Balance Start.
[2025-02-09 03:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:53:03] Production.INFO: 117
[2025-02-09 03:53:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:53:03] Production.INFO: ==15162== Lock acquired, processing the job...
[2025-02-09 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:53:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:53:03] Production.INFO: ==15172== Lock acquired, processing the job...
[2025-02-09 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:53:03] Production.INFO: Total Charge 0
[2025-02-09 03:53:03] Production.INFO: CreateAllLog End
[2025-02-09 03:53:04] Production.INFO: ==15164== Lock acquired, processing the job...
[2025-02-09 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:53:04] Production.INFO: ==15166== Lock acquired, processing the job...
[2025-02-09 03:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:53:04] Production.INFO: ==15170== Lock acquired, processing the job...
[2025-02-09 03:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:53:04] Production.INFO: count ==21
[2025-02-09 03:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:53:04] Production.INFO: count ==21
[2025-02-09 03:53:04] Production.INFO: Account Balance End.
[2025-02-09 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434427') start
[2025-02-09 03:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:53:04] Production.INFO: ==15168== Releasing lock...
[2025-02-09 03:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434427') end
[2025-02-09 03:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:53:04] Production.INFO: 1
[2025-02-09 03:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:53:04] Production.INFO: ==15164== Releasing lock...
[2025-02-09 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:53:04] Production.INFO: ==15172== Releasing lock...
[2025-02-09 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:53:04] Production.ERROR: done
[2025-02-09 03:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:53:05] Production.ERROR: done
[2025-02-09 03:53:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:53:06
[end_date_ymd] => 2025-02-09 03:53:06
[RateCDR] => 1
)
[2025-02-09 03:53: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-02-09 00:53:06' and `end` < '2025-02-09 03:53: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-02-09 03:53:12] Production.ERROR: CronJobId end10
[2025-02-09 03:53:12] Production.INFO: ==15166== Releasing lock...
[2025-02-09 03:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:53:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:53:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:53:16] Production.INFO: call_cost start
[2025-02-09 03:53:16] Production.INFO: call_cost end
[2025-02-09 03:53:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:53:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:53:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:53:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:53:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:53:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:53:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:53:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:53:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:53:17] Production.INFO: ==15162== Releasing lock...
[2025-02-09 03:53:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:53:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:53:19] Production.INFO: count ==658
[2025-02-09 03:53:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:53:06 - End Time 2025-02-09 03:53:06
[2025-02-09 03:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434429', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434429', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434429', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434429', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:53:19] Production.INFO: ProcessCDR(1,14434429,1,1,2)
[2025-02-09 03:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434429', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434429', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:53:22] Production.INFO: ==15170== Releasing lock...
[2025-02-09 03:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:53:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 08:54:01] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-02-09 08:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:54:01] Production.INFO: neon service started
[2025-02-09 08:54:01] Production.INFO: neon service started
[2025-02-09 08:54:01] Production.INFO: ==15228== Releasing lock...
[2025-02-09 08:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:54:01] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-02-09 03:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:54:02] Production.INFO: ==15230== Releasing lock...
[2025-02-09 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:54:02] Production.INFO: ==15232== Lock acquired, processing the job...
[2025-02-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:54:02] Production.INFO: ==15232== Releasing lock...
[2025-02-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:54:02] Production.INFO: ==15239== Lock acquired, processing the job...
[2025-02-09 03:54:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:54:03] Production.INFO: ==15235== Lock acquired, processing the job...
[2025-02-09 03:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:54:03] Production.INFO: ==15245== Lock acquired, processing the job...
[2025-02-09 03:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:54:03] Production.INFO: ==15237== Lock acquired, processing the job...
[2025-02-09 03:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:54:03] Production.INFO: ==15241== Lock acquired, processing the job...
[2025-02-09 03:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:54:03] Production.INFO: ==15243== Lock acquired, processing the job...
[2025-02-09 03:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:54:03] Production.INFO: count ==21
[2025-02-09 03:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:54:03] Production.INFO: count ==21
[2025-02-09 03:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434430') start
[2025-02-09 03:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:54:03] Production.INFO: Account Balance Start.
[2025-02-09 03:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:54:03] Production.INFO: 117
[2025-02-09 03:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434430') end
[2025-02-09 03:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:54:03] Production.INFO: 1
[2025-02-09 03:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:54:03] Production.INFO: ==15245== Releasing lock...
[2025-02-09 03:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:54:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:54:03] Production.INFO: Total Charge 0
[2025-02-09 03:54:03] Production.INFO: CreateAllLog End
[2025-02-09 03:54:03] Production.INFO: ==15237== Releasing lock...
[2025-02-09 03:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:54:03] Production.ERROR: done
[2025-02-09 03:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:54:04] Production.INFO: Account Balance End.
[2025-02-09 03:54:04] Production.ERROR: done
[2025-02-09 03:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:54:04] Production.INFO: ==15241== Releasing lock...
[2025-02-09 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:54:05
[end_date_ymd] => 2025-02-09 03:54:05
[RateCDR] => 1
)
[2025-02-09 03:54: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` >= '2025-02-09 00:54:05' and `end` < '2025-02-09 03:54: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 ,'')
[2025-02-09 03:54:11] Production.ERROR: CronJobId end10
[2025-02-09 03:54:11] Production.INFO: ==15239== Releasing lock...
[2025-02-09 03:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:54:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:54:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:54:14] Production.INFO: call_cost start
[2025-02-09 03:54:14] Production.INFO: call_cost end
[2025-02-09 03:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:54:15] Production.INFO: ==15235== Releasing lock...
[2025-02-09 03:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:54:18] Production.INFO: count ==658
[2025-02-09 03:54:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:54:05 - End Time 2025-02-09 03:54:05
[2025-02-09 03:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434434', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434434', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434434', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434434', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:54:18] Production.INFO: ProcessCDR(1,14434434,1,1,2)
[2025-02-09 03:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434434', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434434', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:54:21] Production.INFO: ==15243== Releasing lock...
[2025-02-09 03:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:54:21] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 08:55:01] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-02-09 08:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:55:01] Production.INFO: neon service started
[2025-02-09 08:55:01] Production.INFO: neon service started
[2025-02-09 08:55:01] Production.INFO: ==15301== Releasing lock...
[2025-02-09 08:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:55:02] Production.INFO: ==15305== Lock acquired, processing the job...
[2025-02-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:55:02] Production.INFO: ==15305== Releasing lock...
[2025-02-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:55:02] Production.INFO: ==15303== Lock acquired, processing the job...
[2025-02-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:55:02] Production.INFO: ==15303== Releasing lock...
[2025-02-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:55:03] Production.INFO: ==15308== Lock acquired, processing the job...
[2025-02-09 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:55:03] Production.INFO: ==15314== Lock acquired, processing the job...
[2025-02-09 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:55:03] Production.INFO: ==15316== Lock acquired, processing the job...
[2025-02-09 03:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:55:03] Production.INFO: ==15310== Lock acquired, processing the job...
[2025-02-09 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:55:03] Production.INFO: Account Balance Start.
[2025-02-09 03:55:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:55:03] Production.INFO: 117
[2025-02-09 03:55:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:55:03] Production.INFO: ==15312== Lock acquired, processing the job...
[2025-02-09 03:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:55:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:55:04] Production.INFO: Total Charge 0
[2025-02-09 03:55:04] Production.INFO: CreateAllLog End
[2025-02-09 03:55:04] Production.INFO: ==15318== Lock acquired, processing the job...
[2025-02-09 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:55:04] Production.INFO: ==15310== Releasing lock...
[2025-02-09 03:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:55:04] Production.ERROR: done
[2025-02-09 03:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:55:04] Production.INFO: count ==21
[2025-02-09 03:55:04] Production.INFO: Account Balance End.
[2025-02-09 03:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:55:04] Production.INFO: count ==21
[2025-02-09 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434438') start
[2025-02-09 03:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:55:04] Production.INFO: ==15314== Releasing lock...
[2025-02-09 03:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:55:04] Production.ERROR: done
[2025-02-09 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434438') end
[2025-02-09 03:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:55:04] Production.INFO: 1
[2025-02-09 03:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:55:04] Production.INFO: ==15318== Releasing lock...
[2025-02-09 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:55:06
[end_date_ymd] => 2025-02-09 03:55:06
[RateCDR] => 1
)
[2025-02-09 03:55: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-02-09 00:55:06' and `end` < '2025-02-09 03:55: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-02-09 03:55:13] Production.ERROR: CronJobId end10
[2025-02-09 03:55:13] Production.INFO: ==15312== Releasing lock...
[2025-02-09 03:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:55:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:55:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:55:15] Production.INFO: call_cost start
[2025-02-09 03:55:15] Production.INFO: call_cost end
[2025-02-09 03:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:55:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:55:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:55:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:55:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:55:16] Production.INFO: ==15308== Releasing lock...
[2025-02-09 03:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:55:19] Production.INFO: count ==651
[2025-02-09 03:55:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:55:06 - End Time 2025-02-09 03:55:06
[2025-02-09 03:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434439', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434439', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434439', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434439', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:55:19] Production.INFO: ProcessCDR(1,14434439,1,1,2)
[2025-02-09 03:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434439', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434439', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:55:22] Production.INFO: ==15316== Releasing lock...
[2025-02-09 03:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:55:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 08:56:02] Production.INFO: ==15376== Lock acquired, processing the job...
[2025-02-09 08:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:56:02] Production.INFO: neon service started
[2025-02-09 08:56:02] Production.INFO: neon service started
[2025-02-09 08:56:02] Production.INFO: ==15376== Releasing lock...
[2025-02-09 08:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:56:02] Production.INFO: ==15378== Lock acquired, processing the job...
[2025-02-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:56:02] Production.INFO: ==15378== Releasing lock...
[2025-02-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:56:03] Production.INFO: ==15380== Lock acquired, processing the job...
[2025-02-09 08:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:56:03] Production.INFO: ==15380== Releasing lock...
[2025-02-09 08:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:56:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:56:03] Production.INFO: ==15390== Lock acquired, processing the job...
[2025-02-09 03:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:56:03] Production.INFO: ==15392== Lock acquired, processing the job...
[2025-02-09 03:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:56:03] Production.INFO: ==15382== Lock acquired, processing the job...
[2025-02-09 03:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:56:04] Production.INFO: ==15384== Lock acquired, processing the job...
[2025-02-09 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:56:04] Production.INFO: ==15388== Lock acquired, processing the job...
[2025-02-09 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:56:04] Production.INFO: ==15386== Lock acquired, processing the job...
[2025-02-09 03:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:56:04] Production.INFO: count ==21
[2025-02-09 03:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:56:04] Production.INFO: count ==21
[2025-02-09 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434440') start
[2025-02-09 03:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:56:04] Production.INFO: Account Balance Start.
[2025-02-09 03:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:56:04] Production.INFO: 117
[2025-02-09 03:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434440') end
[2025-02-09 03:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:56:04] Production.INFO: 1
[2025-02-09 03:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:56:04] Production.ERROR: done
[2025-02-09 03:56:04] Production.INFO: ==15392== Releasing lock...
[2025-02-09 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:56:04] Production.INFO: Total Charge 0
[2025-02-09 03:56:04] Production.INFO: CreateAllLog End
[2025-02-09 03:56:04] Production.ERROR: done
[2025-02-09 03:56:04] Production.INFO: ==15384== Releasing lock...
[2025-02-09 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:56:04] Production.INFO: Account Balance End.
[2025-02-09 03:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:56:04] Production.INFO: ==15388== Releasing lock...
[2025-02-09 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:56:05
[end_date_ymd] => 2025-02-09 03:56:05
[RateCDR] => 1
)
[2025-02-09 03:56: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` >= '2025-02-09 00:56:05' and `end` < '2025-02-09 03:56: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 ,'')
[2025-02-09 03:56:12] Production.ERROR: CronJobId end10
[2025-02-09 03:56:12] Production.INFO: ==15386== Releasing lock...
[2025-02-09 03:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:56:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:56:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:56:15] Production.INFO: call_cost start
[2025-02-09 03:56:15] Production.INFO: call_cost end
[2025-02-09 03:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:56:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:56:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:56:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:56:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:56:16] Production.INFO: ==15382== Releasing lock...
[2025-02-09 03:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:56:19] Production.INFO: count ==649
[2025-02-09 03:56:19] Production.ERROR: pbx CDR StartTime 2025-02-09 00:56:05 - End Time 2025-02-09 03:56:05
[2025-02-09 03:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434444', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434444', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434444', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434444', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:56:19] Production.INFO: ProcessCDR(1,14434444,1,1,2)
[2025-02-09 03:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434444', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434444', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:56:22] Production.INFO: ==15390== Releasing lock...
[2025-02-09 03:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:56:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 08:57:01] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-02-09 08:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:57:01] Production.INFO: neon service started
[2025-02-09 08:57:01] Production.INFO: neon service started
[2025-02-09 08:57:01] Production.INFO: ==15451== Releasing lock...
[2025-02-09 08:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:57:02] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-02-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:57:02] Production.INFO: ==15455== Lock acquired, processing the job...
[2025-02-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:57:02] Production.INFO: ==15455== Releasing lock...
[2025-02-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:57:02] Production.INFO: ==15453== Releasing lock...
[2025-02-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 03:57:03] Production.INFO: ==15462== Lock acquired, processing the job...
[2025-02-09 03:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:57:03] Production.INFO: ==15468== Lock acquired, processing the job...
[2025-02-09 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:57:03] Production.INFO: count ==21
[2025-02-09 03:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:57:03] Production.INFO: count ==21
[2025-02-09 03:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434445') start
[2025-02-09 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434445') end
[2025-02-09 03:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:57:03] Production.INFO: 1
[2025-02-09 03:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:57:03] Production.INFO: ==15468== Releasing lock...
[2025-02-09 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:57:03] Production.INFO: ==15458== Lock acquired, processing the job...
[2025-02-09 03:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:57:03] Production.INFO: ==15460== Lock acquired, processing the job...
[2025-02-09 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:57:03] Production.INFO: ==15466== Lock acquired, processing the job...
[2025-02-09 03:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:57:03] Production.INFO: ==15464== Lock acquired, processing the job...
[2025-02-09 03:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:57:04] Production.INFO: Account Balance Start.
[2025-02-09 03:57:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:57:04] Production.INFO: 117
[2025-02-09 03:57:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:57:04] Production.ERROR: done
[2025-02-09 03:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:57:04] Production.INFO: ==15460== Releasing lock...
[2025-02-09 03:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:57:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:57:04] Production.INFO: Total Charge 0
[2025-02-09 03:57:04] Production.INFO: CreateAllLog End
[2025-02-09 03:57:04] Production.ERROR: done
[2025-02-09 03:57:04] Production.INFO: Account Balance End.
[2025-02-09 03:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:57:04] Production.INFO: ==15464== Releasing lock...
[2025-02-09 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:57:05
[end_date_ymd] => 2025-02-09 03:57:05
[RateCDR] => 1
)
[2025-02-09 03:57: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` >= '2025-02-09 00:57:05' and `end` < '2025-02-09 03:57: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 ,'')
[2025-02-09 03:57:12] Production.ERROR: CronJobId end10
[2025-02-09 03:57:12] Production.INFO: ==15462== Releasing lock...
[2025-02-09 03:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:57:14] Production.INFO: call_cost start
[2025-02-09 03:57:14] Production.INFO: call_cost end
[2025-02-09 03:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:57:15] Production.INFO: ==15458== Releasing lock...
[2025-02-09 03:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:57:18] Production.INFO: count ==646
[2025-02-09 03:57:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:57:05 - End Time 2025-02-09 03:57:05
[2025-02-09 03:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434449', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434449', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434449', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434449', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:57:18] Production.INFO: ProcessCDR(1,14434449,1,1,2)
[2025-02-09 03:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434449', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434449', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:57:22] Production.INFO: ==15466== Releasing lock...
[2025-02-09 03:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:57:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 08:58:02] Production.INFO: ==15560== Lock acquired, processing the job...
[2025-02-09 08:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:58:02] Production.INFO: neon service started
[2025-02-09 08:58:02] Production.INFO: neon service started
[2025-02-09 08:58:02] Production.INFO: ==15560== Releasing lock...
[2025-02-09 08:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:58:02] Production.INFO: ==15562== Lock acquired, processing the job...
[2025-02-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:58:02] Production.INFO: ==15562== Releasing lock...
[2025-02-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:58:03] Production.INFO: ==15564== Lock acquired, processing the job...
[2025-02-09 08:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:58:03] Production.INFO: ==15564== Releasing lock...
[2025-02-09 08:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:58:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:58:03] Production.INFO: ==15566== Lock acquired, processing the job...
[2025-02-09 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:58:03] Production.INFO: ==15568== Lock acquired, processing the job...
[2025-02-09 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:58:03] Production.INFO: ==15572== Lock acquired, processing the job...
[2025-02-09 03:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:58:04] Production.INFO: ==15570== Lock acquired, processing the job...
[2025-02-09 03:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:58:04] Production.INFO: ==15574== Lock acquired, processing the job...
[2025-02-09 03:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:58:04] Production.INFO: ==15576== Lock acquired, processing the job...
[2025-02-09 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:58:04] Production.INFO: Account Balance Start.
[2025-02-09 03:58:04] Production.INFO: CreateAllLog Start
[2025-02-09 03:58:04] Production.INFO: count ==21
[2025-02-09 03:58:04] Production.INFO: 117
[2025-02-09 03:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:58:04] Production.INFO: count ==21
[2025-02-09 03:58:04] Production.INFO: Date 2025-02-08
[2025-02-09 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434453') start
[2025-02-09 03:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:58:04] Production.INFO: ==15568== Releasing lock...
[2025-02-09 03:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:58:04] Production.INFO: Date 2025-02-09
[2025-02-09 03:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 03:58:04] Production.ERROR: done
[2025-02-09 03:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434453') end
[2025-02-09 03:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:58:04] Production.INFO: 1
[2025-02-09 03:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:58:04] Production.INFO: Total Charge 0
[2025-02-09 03:58:04] Production.INFO: CreateAllLog End
[2025-02-09 03:58:04] Production.INFO: ==15576== Releasing lock...
[2025-02-09 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:58:04] Production.ERROR: done
[2025-02-09 03:58:04] Production.INFO: Account Balance End.
[2025-02-09 03:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:58:04] Production.INFO: ==15572== Releasing lock...
[2025-02-09 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:58:05
[end_date_ymd] => 2025-02-09 03:58:05
[RateCDR] => 1
)
[2025-02-09 03:58: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` >= '2025-02-09 00:58:05' and `end` < '2025-02-09 03:58: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 ,'')
[2025-02-09 03:58:12] Production.ERROR: CronJobId end10
[2025-02-09 03:58:12] Production.INFO: ==15570== Releasing lock...
[2025-02-09 03:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:58:15] Production.INFO: call_cost start
[2025-02-09 03:58:15] Production.INFO: call_cost end
[2025-02-09 03:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:58:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:58:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:58:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:58:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:58:16] Production.INFO: ==15566== Releasing lock...
[2025-02-09 03:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:58:18] Production.INFO: count ==641
[2025-02-09 03:58:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:58:05 - End Time 2025-02-09 03:58:05
[2025-02-09 03:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434454', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434454', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434454', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434454', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:58:18] Production.INFO: ProcessCDR(1,14434454,1,1,2)
[2025-02-09 03:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434454', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434454', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:58:22] Production.INFO: ==15574== Releasing lock...
[2025-02-09 03:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:58:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 08:59:01] Production.INFO: ==15632== Lock acquired, processing the job...
[2025-02-09 08:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 08:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 08:59:01] Production.INFO: neon service started
[2025-02-09 08:59:01] Production.INFO: neon service started
[2025-02-09 08:59:01] Production.INFO: ==15632== Releasing lock...
[2025-02-09 08:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 08:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 03:59:02] Production.INFO: ==15634== Lock acquired, processing the job...
[2025-02-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 03:59:02] Production.INFO: ==15634== Releasing lock...
[2025-02-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 03:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:59:02] Production.INFO: ==15636== Lock acquired, processing the job...
[2025-02-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:59:02] Production.INFO: ==15636== Releasing lock...
[2025-02-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 08:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 03:59:03] Production.INFO: ==15641== Lock acquired, processing the job...
[2025-02-09 03:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 03:59:03] Production.INFO: ==15643== Lock acquired, processing the job...
[2025-02-09 03:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 03:59:03] Production.INFO: ==15639== Lock acquired, processing the job...
[2025-02-09 03:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 03:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 03:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 03:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 03:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 03:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 03:59:03] Production.INFO: ==15645== Lock acquired, processing the job...
[2025-02-09 03:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 03:59:03] Production.INFO: ==15641== Releasing lock...
[2025-02-09 03:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 03:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 03:59:03] Production.INFO: ==15649== Lock acquired, processing the job...
[2025-02-09 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 03:59:03] Production.INFO: Account Balance Start.
[2025-02-09 03:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 03:59:03] Production.INFO: 117
[2025-02-09 03:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 03:59:03] Production.INFO: ==15647== Lock acquired, processing the job...
[2025-02-09 03:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 03:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 03:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 03:59:03] Production.INFO: count ==21
[2025-02-09 03:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 03:59:03] Production.INFO: count ==21
[2025-02-09 03:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434458') start
[2025-02-09 03:59:03] Production.INFO: Total Charge 0
[2025-02-09 03:59:03] Production.INFO: CreateAllLog End
[2025-02-09 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434458') end
[2025-02-09 03:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 03:59:03] Production.INFO: 1
[2025-02-09 03:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 03:59:04] Production.INFO: ==15649== Releasing lock...
[2025-02-09 03:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 03:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 03:59:04] Production.ERROR: done
[2025-02-09 03:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 03:59:04] Production.ERROR: done
[2025-02-09 03:59:04] Production.INFO: Account Balance End.
[2025-02-09 03:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 03:59:04] Production.INFO: ==15645== Releasing lock...
[2025-02-09 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 03:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 03:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 00:59:05
[end_date_ymd] => 2025-02-09 03:59:05
[RateCDR] => 1
)
[2025-02-09 03:59: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` >= '2025-02-09 00:59:05' and `end` < '2025-02-09 03:59: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 ,'')
[2025-02-09 03:59:12] Production.ERROR: CronJobId end10
[2025-02-09 03:59:12] Production.INFO: ==15643== Releasing lock...
[2025-02-09 03:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 03:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 03:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 03:59:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 03:59:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 03:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 03:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 03:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 03:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 03:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 03:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 03:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 03:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 03:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 03:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 03:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 03:59:14] Production.INFO: call_cost start
[2025-02-09 03:59:14] Production.INFO: call_cost end
[2025-02-09 03:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 03:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 03:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 03:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 03:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 03:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 03:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 03:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 03:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 03:59:15] Production.INFO: ==15639== Releasing lock...
[2025-02-09 03:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 03:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 03:59:18] Production.INFO: count ==641
[2025-02-09 03:59:18] Production.ERROR: pbx CDR StartTime 2025-02-09 00:59:05 - End Time 2025-02-09 03:59:05
[2025-02-09 03:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434459', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434459', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434459', 'tblTempVendorCDR_20' ) start
[2025-02-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434459', 'tblTempVendorCDR_20' ) end
[2025-02-09 03:59:18] Production.INFO: ProcessCDR(1,14434459,1,1,2)
[2025-02-09 03:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434459,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 03:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434459,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434459', 'tblTempUsageDetail_20' ) start
[2025-02-09 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434459', 'tblTempUsageDetail_20' ) end
[2025-02-09 03:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 03:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 03:59:21] Production.INFO: ==15647== Releasing lock...
[2025-02-09 03:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 03:59:21] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 09:00:02] Production.INFO: ==15703== Lock acquired, processing the job...
[2025-02-09 09:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:00:02] Production.INFO: neon service started
[2025-02-09 09:00:02] Production.INFO: neon service started
[2025-02-09 09:00:02] Production.INFO: ==15703== Releasing lock...
[2025-02-09 09:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:00:02] Production.INFO: ==15707== Lock acquired, processing the job...
[2025-02-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:00:02] Production.INFO: ==15707== Releasing lock...
[2025-02-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:00:02] Production.INFO: ==15705== Lock acquired, processing the job...
[2025-02-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:00:03] Production.INFO: ==15705== Releasing lock...
[2025-02-09 04:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:00:04] Production.INFO: ==15710== Lock acquired, processing the job...
[2025-02-09 04:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 04:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 04:00:04] Production.INFO: ==15714== Lock acquired, processing the job...
[2025-02-09 04:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 04:00:04] Production.INFO: ==15710== Releasing lock...
[2025-02-09 04:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 04:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 04:00:04] Production.INFO: ==15718== Lock acquired, processing the job...
[2025-02-09 04:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:00:04] Production.INFO: ==15722== Lock acquired, processing the job...
[2025-02-09 04:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:00:04] Production.INFO: ==15712== Lock acquired, processing the job...
[2025-02-09 04:00:04] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts#
[2025-02-09 04:00:04] Production.INFO: ==15716== Lock acquired, processing the job...
[2025-02-09 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:00:04] Production.INFO: ==15724== Lock acquired, processing the job...
[2025-02-09 04:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 04:00:04] Production.INFO: ==15720== Lock acquired, processing the job...
[2025-02-09 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:00:04] Production.ERROR: done
[2025-02-09 04:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:00:04] Production.INFO: DBcleanup Starts.
[2025-02-09 04:00:04] Production.INFO: Usage Download Log Start.
[2025-02-09 04:00:04] Production.INFO: Usage Download Log End.
[2025-02-09 04:00:04] Production.INFO: Cronjob History Delete Start.
[2025-02-09 04:00:04] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-02-10','Cronjob')
[2025-02-09 04:00:04] Production.INFO: ==15726== Lock acquired, processing the job...
[2025-02-09 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:00:05] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:00:05] Production.ERROR: done
[2025-02-09 04:00:05] Production.INFO: Account Balance Start.
[2025-02-09 04:00:05] Production.INFO: CreateAllLog Start
[2025-02-09 04:00:05] Production.INFO: 117
[2025-02-09 04:00:05] Production.INFO: Date 2025-02-08
[2025-02-09 04:00:05] Production.INFO: Reseller ==> 0
[2025-02-09 04:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:00:05] Production.INFO: Date 2025-02-09
[2025-02-09 04:00:05] Production.INFO: Reseller ==> 0
[2025-02-09 04:00:05] Production.INFO: count ==21
[2025-02-09 04:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:00:05] Production.INFO: count ==21
[2025-02-09 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434465') start
[2025-02-09 04:00:05] Production.INFO: ==15716== Releasing lock...
[2025-02-09 04:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:00:05] Production.INFO: Total Charge 0
[2025-02-09 04:00:05] Production.INFO: CreateAllLog End
[2025-02-09 04:00:05] Production.ERROR: done
[2025-02-09 04:00:05] Production.INFO: Account Balance End.
[2025-02-09 04:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434465') end
[2025-02-09 04:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:00:05] Production.INFO: 1
[2025-02-09 04:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 04:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434466', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 04:00:05] Production.INFO: ==15726== Releasing lock...
[2025-02-09 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:00:05] Production.ERROR: CronJobId end 12
[2025-02-09 04:00:05] Production.INFO: ==15720== Releasing lock...
[2025-02-09 04:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:00:06
[end_date_ymd] => 2025-02-09 04:00:06
[RateCDR] => 1
)
[2025-02-09 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-02-09 01:00:06' and `end` < '2025-02-09 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-02-09 04:00:11] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434466', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 04:00:11] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 04:00:11] Production.INFO: ProcessCDR(1,14434466,1,1,2)
[2025-02-09 04:00:11] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434466,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:00:11] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434466,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:00:11] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:00:11] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:00:11] Production.INFO: ==15724== Releasing lock...
[2025-02-09 04:00:11] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 04:00:11] Production.INFO: 26 MB #Memory Used#
[2025-02-09 04:00:18] Production.INFO: Cronjob History Delete End.
[2025-02-09 04:00:18] Production.INFO: Job Log Delete Start.
[2025-02-09 04:00:18] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-02-10','Job')
[2025-02-09 04:00:18] Production.INFO: Job Log Delete End.
[2025-02-09 04:00:18] Production.INFO: Customer RateSheet History Delete Starts.
[2025-02-09 04:00:18] Production.INFO: Customer RateSheet History Delete End.
[2025-02-09 04:00:18] Production.INFO: Vendor RateSheet History Delete Start.
[2025-02-09 04:00:18] Production.INFO: Vendor RateSheet History Delete End.
[2025-02-09 04:00:18] Production.INFO: All Old Rate Delete Start
[2025-02-09 04:00:18] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start.
[2025-02-09 04:00:18] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done.
[2025-02-09 04:00:18] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start.
[2025-02-09 04:00:18] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done.
[2025-02-09 04:00:18] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start.
[2025-02-09 04:00:18] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done.
[2025-02-09 04:00:18] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start.
[2025-02-09 04:00:18] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done.
[2025-02-09 04:00:18] Production.INFO: All Old Rate Delete End
[2025-02-09 04:00:18] Production.INFO: Customer CDR Delete Start.
[2025-02-09 04:00:18] Production.INFO: Customer CDR Delete End.
[2025-02-09 04:00:18] Production.INFO: Customer Failed Call Start.
[2025-02-09 04:00:18] Production.INFO: Customer Failed Call Delete End.
[2025-02-09 04:00:18] Production.INFO: Vendor CDR Delete Start.
[2025-02-09 04:00:18] Production.INFO: Vendor CDR Delete End.
[2025-02-09 04:00:18] Production.INFO: Vendor CDR Delete Start.
[2025-02-09 04:00:18] Production.INFO: Vendor CDR Delete End.
[2025-02-09 04:00:18] Production.INFO: RateLog Delete Start.
[2025-02-09 04:00:18] Production.INFO: RateLog Delete End.
[2025-02-09 04:00:18] Production.INFO: Archive Old Rate Delete Start.
[2025-02-09 04:00:18] Production.INFO: Archive Old Rate Delete End.
[2025-02-09 04:00:18] Production.INFO: Tickets Delete Start.
[2025-02-09 04:00:18] Production.INFO: Tickets Delete End.
[2025-02-09 04:00:18] Production.INFO: DBcleanup Done.
[2025-02-09 04:00:18] Production.ERROR: CronJobId end 3
[2025-02-09 04:00:18] Production.INFO: ==15712== Releasing lock...
[2025-02-09 04:00:18] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops#
[2025-02-09 04:00:18] Production.INFO: 26 MB #Memory Used#
[2025-02-09 04:00:19] Production.ERROR: CronJobId end10
[2025-02-09 04:00:19] Production.INFO: ==15718== Releasing lock...
[2025-02-09 04:00:19] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:00:19] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:00:19] Production.INFO: count ==633
[2025-02-09 04:00:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:00:06 - End Time 2025-02-09 04:00:06
[2025-02-09 04:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434464', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434464', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434464', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434464', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:00:19] Production.INFO: ProcessCDR(1,14434464,1,1,2)
[2025-02-09 04:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:00:20] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:00:20] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:00:20] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:00:20] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:00:20] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:00:20] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:00:20] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:00:20] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:00:20] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:00:20] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:00:20] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:00:20] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:00:20] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:00:20] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:00:21] Production.INFO: call_cost start
[2025-02-09 04:00:21] Production.INFO: call_cost end
[2025-02-09 04:00:22] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:00:22] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:00:22] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:00:22] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:00:22] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:00:22] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:00:22] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:00:22] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:00:22] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:00:22] Production.INFO: ==15714== Releasing lock...
[2025-02-09 04:00:22] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:00:22] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434464', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434464', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:00:23] Production.INFO: ==15722== Releasing lock...
[2025-02-09 04:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:00:23] Production.INFO: 32 MB #Memory Used#
[2025-02-09 09:01:01] Production.INFO: ==15782== Lock acquired, processing the job...
[2025-02-09 09:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:01:01] Production.INFO: neon service started
[2025-02-09 09:01:01] Production.INFO: neon service started
[2025-02-09 09:01:01] Production.INFO: ==15782== Releasing lock...
[2025-02-09 09:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:01:01] Production.INFO: ==15795== Lock acquired, processing the job...
[2025-02-09 04:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:01:02] Production.INFO: ==15795== Releasing lock...
[2025-02-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:01:02] Production.INFO: ==15797== Lock acquired, processing the job...
[2025-02-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:01:02] Production.INFO: ==15797== Releasing lock...
[2025-02-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:01:03] Production.INFO: ==15799== Lock acquired, processing the job...
[2025-02-09 04:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:01:03] Production.INFO: ==15801== Lock acquired, processing the job...
[2025-02-09 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:01:03] Production.INFO: ==15805== Lock acquired, processing the job...
[2025-02-09 04:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:01:03] Production.INFO: ==15807== Lock acquired, processing the job...
[2025-02-09 04:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:01:03] Production.INFO: ==15803== Lock acquired, processing the job...
[2025-02-09 04:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:01:03] Production.INFO: ==15809== Lock acquired, processing the job...
[2025-02-09 04:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:01:03] Production.INFO: Account Balance Start.
[2025-02-09 04:01:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:01:03] Production.INFO: 117
[2025-02-09 04:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:01:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:01:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:01:03] Production.INFO: count ==21
[2025-02-09 04:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:01:03] Production.INFO: count ==21
[2025-02-09 04:01:03] Production.INFO: Total Charge 0
[2025-02-09 04:01:03] Production.INFO: CreateAllLog End
[2025-02-09 04:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434470') start
[2025-02-09 04:01:03] Production.INFO: ==15801== Releasing lock...
[2025-02-09 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:01:03] Production.ERROR: done
[2025-02-09 04:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434470') end
[2025-02-09 04:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:01:04] Production.INFO: 1
[2025-02-09 04:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:01:04] Production.INFO: ==15809== Releasing lock...
[2025-02-09 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:01:04] Production.ERROR: done
[2025-02-09 04:01:04] Production.INFO: Account Balance End.
[2025-02-09 04:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:01:04] Production.INFO: ==15805== Releasing lock...
[2025-02-09 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:01:05
[end_date_ymd] => 2025-02-09 04:01:05
[RateCDR] => 1
)
[2025-02-09 04:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 01:01:05' and `end` < '2025-02-09 04:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 04:01:11] Production.ERROR: CronJobId end10
[2025-02-09 04:01:11] Production.INFO: ==15803== Releasing lock...
[2025-02-09 04:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:01:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:01:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:01:15] Production.INFO: call_cost start
[2025-02-09 04:01:15] Production.INFO: call_cost end
[2025-02-09 04:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:01:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:01:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:01:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:01:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:01:16] Production.INFO: ==15799== Releasing lock...
[2025-02-09 04:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:01:18] Production.INFO: count ==600
[2025-02-09 04:01:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:01:05 - End Time 2025-02-09 04:01:05
[2025-02-09 04:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434471', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434471', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434471', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434471', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:01:18] Production.INFO: ProcessCDR(1,14434471,1,1,2)
[2025-02-09 04:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434471', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434471', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:01:21] Production.INFO: ==15807== Releasing lock...
[2025-02-09 04:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:01:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:02:01] Production.INFO: ==15865== Lock acquired, processing the job...
[2025-02-09 09:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:02:01] Production.INFO: neon service started
[2025-02-09 09:02:01] Production.INFO: neon service started
[2025-02-09 09:02:01] Production.INFO: ==15865== Releasing lock...
[2025-02-09 09:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:02:02] Production.INFO: ==15867== Lock acquired, processing the job...
[2025-02-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:02:02] Production.INFO: ==15867== Releasing lock...
[2025-02-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:02:02] Production.INFO: ==15869== Lock acquired, processing the job...
[2025-02-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:02:02] Production.INFO: ==15869== Releasing lock...
[2025-02-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:02:03] Production.INFO: ==15871== Lock acquired, processing the job...
[2025-02-09 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:02:03] Production.INFO: ==15873== Lock acquired, processing the job...
[2025-02-09 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:02:03] Production.INFO: ==15875== Lock acquired, processing the job...
[2025-02-09 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:02:03] Production.INFO: ==15877== Lock acquired, processing the job...
[2025-02-09 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:02:03] Production.INFO: ==15881== Lock acquired, processing the job...
[2025-02-09 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:02:03] Production.INFO: ==15879== Lock acquired, processing the job...
[2025-02-09 04:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:02:03] Production.INFO: Account Balance Start.
[2025-02-09 04:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:02:04] Production.INFO: 117
[2025-02-09 04:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:02:04] Production.INFO: count ==21
[2025-02-09 04:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:02:04] Production.INFO: count ==21
[2025-02-09 04:02:04] Production.INFO: Total Charge 0
[2025-02-09 04:02:04] Production.INFO: CreateAllLog End
[2025-02-09 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434475') start
[2025-02-09 04:02:04] Production.INFO: ==15873== Releasing lock...
[2025-02-09 04:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434475') end
[2025-02-09 04:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:02:04] Production.INFO: 1
[2025-02-09 04:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:02:04] Production.INFO: ==15881== Releasing lock...
[2025-02-09 04:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:02:04] Production.ERROR: done
[2025-02-09 04:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:02:04] Production.INFO: Account Balance End.
[2025-02-09 04:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:02:04] Production.INFO: ==15877== Releasing lock...
[2025-02-09 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:02:04] Production.ERROR: done
[2025-02-09 04:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:02:05
[end_date_ymd] => 2025-02-09 04:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 01:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 04:02:12] Production.ERROR: CronJobId end10
[2025-02-09 04:02:12] Production.INFO: ==15875== Releasing lock...
[2025-02-09 04:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:02:14] Production.INFO: call_cost start
[2025-02-09 04:02:14] Production.INFO: call_cost end
[2025-02-09 04:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:02:15] Production.INFO: ==15871== Releasing lock...
[2025-02-09 04:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:02:18] Production.INFO: count ==599
[2025-02-09 04:02:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:02:05 - End Time 2025-02-09 04:02:05
[2025-02-09 04:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434476', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434476', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434476', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434476', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:02:18] Production.INFO: ProcessCDR(1,14434476,1,1,2)
[2025-02-09 04:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434476', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434476', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:02:21] Production.INFO: ==15879== Releasing lock...
[2025-02-09 04:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:02:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:03:01] Production.INFO: ==15936== Lock acquired, processing the job...
[2025-02-09 09:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:03:01] Production.INFO: neon service started
[2025-02-09 09:03:01] Production.INFO: neon service started
[2025-02-09 09:03:01] Production.INFO: ==15936== Releasing lock...
[2025-02-09 09:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:03:02] Production.INFO: ==15938== Lock acquired, processing the job...
[2025-02-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:03:02] Production.INFO: ==15940== Lock acquired, processing the job...
[2025-02-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:03:02] Production.INFO: ==15940== Releasing lock...
[2025-02-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:03:02] Production.INFO: ==15938== Releasing lock...
[2025-02-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:03:03] Production.INFO: ==15943== Lock acquired, processing the job...
[2025-02-09 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:03:03] Production.INFO: ==15951== Lock acquired, processing the job...
[2025-02-09 04:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:03:03] Production.INFO: ==15949== Lock acquired, processing the job...
[2025-02-09 04:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:03:03] Production.INFO: Account Balance Start.
[2025-02-09 04:03:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:03:03] Production.INFO: 117
[2025-02-09 04:03:03] Production.INFO: ==15945== Lock acquired, processing the job...
[2025-02-09 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:03:03] Production.INFO: ==15947== Lock acquired, processing the job...
[2025-02-09 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:03:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:03:03] Production.INFO: ==15953== Lock acquired, processing the job...
[2025-02-09 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:03:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:03:03] Production.INFO: Total Charge 0
[2025-02-09 04:03:03] Production.ERROR: done
[2025-02-09 04:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:03:03] Production.INFO: CreateAllLog End
[2025-02-09 04:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:03:03] Production.INFO: count ==21
[2025-02-09 04:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:03:04] Production.INFO: count ==21
[2025-02-09 04:03:04] Production.ERROR: done
[2025-02-09 04:03:04] Production.INFO: ==15945== Releasing lock...
[2025-02-09 04:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434480') start
[2025-02-09 04:03:04] Production.INFO: Account Balance End.
[2025-02-09 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434480') end
[2025-02-09 04:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:03:04] Production.INFO: 1
[2025-02-09 04:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:03:04] Production.INFO: ==15949== Releasing lock...
[2025-02-09 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:03:04] Production.INFO: ==15953== Releasing lock...
[2025-02-09 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:03:05
[end_date_ymd] => 2025-02-09 04:03:05
[RateCDR] => 1
)
[2025-02-09 04:03: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` >= '2025-02-09 01:03:05' and `end` < '2025-02-09 04:03: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 ,'')
[2025-02-09 04:03:12] Production.ERROR: CronJobId end10
[2025-02-09 04:03:12] Production.INFO: ==15947== Releasing lock...
[2025-02-09 04:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:03:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:03:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:03:14] Production.INFO: call_cost start
[2025-02-09 04:03:14] Production.INFO: call_cost end
[2025-02-09 04:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:03:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:03:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:03:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:03:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:03:15] Production.INFO: ==15943== Releasing lock...
[2025-02-09 04:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:03:18] Production.INFO: count ==594
[2025-02-09 04:03:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:03:05 - End Time 2025-02-09 04:03:05
[2025-02-09 04:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434481', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434481', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434481', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434481', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:03:18] Production.INFO: ProcessCDR(1,14434481,1,1,2)
[2025-02-09 04:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434481', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434481', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:03:21] Production.INFO: ==15951== Releasing lock...
[2025-02-09 04:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:03:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:04:01] Production.INFO: ==16009== Lock acquired, processing the job...
[2025-02-09 09:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:04:01] Production.INFO: neon service started
[2025-02-09 09:04:01] Production.INFO: neon service started
[2025-02-09 09:04:01] Production.INFO: ==16009== Releasing lock...
[2025-02-09 09:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:04:02] Production.INFO: ==16011== Lock acquired, processing the job...
[2025-02-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:04:02] Production.INFO: ==16013== Lock acquired, processing the job...
[2025-02-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:04:02] Production.INFO: ==16013== Releasing lock...
[2025-02-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:04:02] Production.INFO: ==16011== Releasing lock...
[2025-02-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:04:03] Production.INFO: ==16017== Lock acquired, processing the job...
[2025-02-09 04:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:04:03] Production.INFO: ==16021== Lock acquired, processing the job...
[2025-02-09 04:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:04:03] Production.INFO: ==16025== Lock acquired, processing the job...
[2025-02-09 04:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:04:03] Production.INFO: ==16019== Lock acquired, processing the job...
[2025-02-09 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:04:03] Production.INFO: ==16023== Lock acquired, processing the job...
[2025-02-09 04:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:04:03] Production.INFO: ==16027== Lock acquired, processing the job...
[2025-02-09 04:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:04:04] Production.ERROR: done
[2025-02-09 04:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:04:04] Production.INFO: count ==21
[2025-02-09 04:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:04:04] Production.INFO: Account Balance Start.
[2025-02-09 04:04:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:04:04] Production.INFO: count ==21
[2025-02-09 04:04:04] Production.INFO: 117
[2025-02-09 04:04:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434483') start
[2025-02-09 04:04:04] Production.ERROR: done
[2025-02-09 04:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:04:04] Production.INFO: Total Charge 0
[2025-02-09 04:04:04] Production.INFO: CreateAllLog End
[2025-02-09 04:04:04] Production.INFO: ==16019== Releasing lock...
[2025-02-09 04:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434483') end
[2025-02-09 04:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:04:04] Production.INFO: 1
[2025-02-09 04:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:04:04] Production.INFO: Account Balance End.
[2025-02-09 04:04:04] Production.INFO: ==16027== Releasing lock...
[2025-02-09 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:04:04] Production.INFO: ==16023== Releasing lock...
[2025-02-09 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:04:05
[end_date_ymd] => 2025-02-09 04:04:05
[RateCDR] => 1
)
[2025-02-09 04:04: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` >= '2025-02-09 01:04:05' and `end` < '2025-02-09 04:04: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 ,'')
[2025-02-09 04:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:04:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:04:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:04:13] Production.ERROR: CronJobId end10
[2025-02-09 04:04:13] Production.INFO: ==16021== Releasing lock...
[2025-02-09 04:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:04:13] Production.INFO: call_cost start
[2025-02-09 04:04:13] Production.INFO: call_cost end
[2025-02-09 04:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:04:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:04:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:04:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:04:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:04:14] Production.INFO: ==16017== Releasing lock...
[2025-02-09 04:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:04:18] Production.INFO: count ==593
[2025-02-09 04:04:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:04:05 - End Time 2025-02-09 04:04:05
[2025-02-09 04:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434486', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434486', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434486', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434486', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:04:18] Production.INFO: ProcessCDR(1,14434486,1,1,2)
[2025-02-09 04:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434486', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434486', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:04:21] Production.INFO: ==16025== Releasing lock...
[2025-02-09 04:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:04:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:05:02] Production.INFO: ==16083== Lock acquired, processing the job...
[2025-02-09 09:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:05:02] Production.INFO: neon service started
[2025-02-09 09:05:02] Production.INFO: neon service started
[2025-02-09 09:05:02] Production.INFO: ==16083== Releasing lock...
[2025-02-09 09:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:05:02] Production.INFO: ==16086== Lock acquired, processing the job...
[2025-02-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:05:03] Production.INFO: ==16088== Lock acquired, processing the job...
[2025-02-09 09:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:05:03] Production.INFO: ==16088== Releasing lock...
[2025-02-09 09:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:05:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:05:03] Production.INFO: ==16086== Releasing lock...
[2025-02-09 04:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:05:04] Production.INFO: ==16090== Lock acquired, processing the job...
[2025-02-09 04:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:05:04] Production.INFO: ==16100== Lock acquired, processing the job...
[2025-02-09 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:05:04] Production.INFO: ==16092== Lock acquired, processing the job...
[2025-02-09 04:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:05:04] Production.INFO: ==16094== Lock acquired, processing the job...
[2025-02-09 04:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:05:04] Production.INFO: ==16096== Lock acquired, processing the job...
[2025-02-09 04:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:05:04] Production.INFO: count ==21
[2025-02-09 04:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:05:04] Production.INFO: ==16098== Lock acquired, processing the job...
[2025-02-09 04:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:05:04] Production.INFO: count ==21
[2025-02-09 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434488') start
[2025-02-09 04:05:04] Production.INFO: Account Balance Start.
[2025-02-09 04:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:05:04] Production.INFO: 117
[2025-02-09 04:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:05:04] Production.INFO: Total Charge 0
[2025-02-09 04:05:04] Production.INFO: ==16092== Releasing lock...
[2025-02-09 04:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434488') end
[2025-02-09 04:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:05:04] Production.INFO: 1
[2025-02-09 04:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:05:04] Production.INFO: CreateAllLog End
[2025-02-09 04:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:05:04] Production.INFO: ==16100== Releasing lock...
[2025-02-09 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:05:04] Production.INFO: Account Balance End.
[2025-02-09 04:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:05:04] Production.INFO: ==16096== Releasing lock...
[2025-02-09 04:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:05:05] Production.ERROR: done
[2025-02-09 04:05:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:05:05] Production.ERROR: done
[2025-02-09 04:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:05:06
[end_date_ymd] => 2025-02-09 04:05:06
[RateCDR] => 1
)
[2025-02-09 04:05: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-02-09 01:05:06' and `end` < '2025-02-09 04:05: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-02-09 04:05:12] Production.ERROR: CronJobId end10
[2025-02-09 04:05:12] Production.INFO: ==16094== Releasing lock...
[2025-02-09 04:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:05:14] Production.INFO: call_cost start
[2025-02-09 04:05:14] Production.INFO: call_cost end
[2025-02-09 04:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:05:15] Production.INFO: ==16090== Releasing lock...
[2025-02-09 04:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:05:18] Production.INFO: count ==596
[2025-02-09 04:05:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:05:06 - End Time 2025-02-09 04:05:06
[2025-02-09 04:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434491', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434491', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434491', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434491', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:05:18] Production.INFO: ProcessCDR(1,14434491,1,1,2)
[2025-02-09 04:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434491', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434491', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:05:22] Production.INFO: ==16098== Releasing lock...
[2025-02-09 04:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:05:22] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:06:01] Production.INFO: ==16156== Lock acquired, processing the job...
[2025-02-09 09:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:06:01] Production.INFO: neon service started
[2025-02-09 09:06:01] Production.INFO: neon service started
[2025-02-09 09:06:01] Production.INFO: ==16156== Releasing lock...
[2025-02-09 09:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:06:02] Production.INFO: ==16160== Lock acquired, processing the job...
[2025-02-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:06:02] Production.INFO: ==16160== Releasing lock...
[2025-02-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:06:02] Production.INFO: ==16158== Lock acquired, processing the job...
[2025-02-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:06:02] Production.INFO: ==16158== Releasing lock...
[2025-02-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:06:03] Production.INFO: ==16163== Lock acquired, processing the job...
[2025-02-09 04:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:06:03] Production.INFO: ==16165== Lock acquired, processing the job...
[2025-02-09 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:06:03] Production.INFO: ==16165== Releasing lock...
[2025-02-09 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:06:03] Production.INFO: ==16171== Lock acquired, processing the job...
[2025-02-09 04:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:06:03] Production.INFO: ==16173== Lock acquired, processing the job...
[2025-02-09 04:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:06:03] Production.INFO: ==16167== Lock acquired, processing the job...
[2025-02-09 04:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:06:03] Production.INFO: ==16169== Lock acquired, processing the job...
[2025-02-09 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:06:04] Production.INFO: Account Balance Start.
[2025-02-09 04:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:06:04] Production.INFO: 117
[2025-02-09 04:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:06:04] Production.INFO: count ==21
[2025-02-09 04:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:06:04] Production.INFO: count ==21
[2025-02-09 04:06:04] Production.ERROR: done
[2025-02-09 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434494') start
[2025-02-09 04:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:06:04] Production.ERROR: done
[2025-02-09 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434494') end
[2025-02-09 04:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:06:04] Production.INFO: 1
[2025-02-09 04:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:06:04] Production.INFO: Total Charge 0
[2025-02-09 04:06:04] Production.INFO: CreateAllLog End
[2025-02-09 04:06:04] Production.INFO: ==16173== Releasing lock...
[2025-02-09 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:06:04] Production.INFO: Account Balance End.
[2025-02-09 04:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:06:04] Production.INFO: ==16169== Releasing lock...
[2025-02-09 04:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:06:05
[end_date_ymd] => 2025-02-09 04:06:05
[RateCDR] => 1
)
[2025-02-09 04:06: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` >= '2025-02-09 01:06:05' and `end` < '2025-02-09 04:06: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 ,'')
[2025-02-09 04:06:12] Production.ERROR: CronJobId end10
[2025-02-09 04:06:12] Production.INFO: ==16167== Releasing lock...
[2025-02-09 04:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:06:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:06:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:06:14] Production.INFO: call_cost start
[2025-02-09 04:06:14] Production.INFO: call_cost end
[2025-02-09 04:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:06:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:06:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:06:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:06:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:06:14] Production.INFO: ==16163== Releasing lock...
[2025-02-09 04:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:06:18] Production.INFO: count ==596
[2025-02-09 04:06:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:06:05 - End Time 2025-02-09 04:06:05
[2025-02-09 04:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434496', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434496', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434496', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434496', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:06:18] Production.INFO: ProcessCDR(1,14434496,1,1,2)
[2025-02-09 04:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434496', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434496', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:06:21] Production.INFO: ==16171== Releasing lock...
[2025-02-09 04:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:06:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:07:02] Production.INFO: ==16231== Lock acquired, processing the job...
[2025-02-09 09:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:07:02] Production.INFO: neon service started
[2025-02-09 09:07:02] Production.INFO: neon service started
[2025-02-09 09:07:02] Production.INFO: ==16231== Releasing lock...
[2025-02-09 09:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:07:02] Production.INFO: ==16233== Lock acquired, processing the job...
[2025-02-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:07:02] Production.INFO: ==16233== Releasing lock...
[2025-02-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:07:03] Production.INFO: ==16235== Lock acquired, processing the job...
[2025-02-09 09:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:07:03] Production.INFO: ==16235== Releasing lock...
[2025-02-09 09:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:07:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:07:03] Production.INFO: ==16241== Lock acquired, processing the job...
[2025-02-09 04:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:07:03] Production.INFO: ==16245== Lock acquired, processing the job...
[2025-02-09 04:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:07:03] Production.INFO: ==16237== Lock acquired, processing the job...
[2025-02-09 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:07:04] Production.INFO: ==16239== Lock acquired, processing the job...
[2025-02-09 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:07:04] Production.INFO: ==16243== Lock acquired, processing the job...
[2025-02-09 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:07:04] Production.INFO: ==16247== Lock acquired, processing the job...
[2025-02-09 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:07:04] Production.ERROR: done
[2025-02-09 04:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:07:04] Production.INFO: Account Balance Start.
[2025-02-09 04:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:07:04] Production.INFO: 117
[2025-02-09 04:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:07:04] Production.ERROR: done
[2025-02-09 04:07:04] Production.INFO: Total Charge 0
[2025-02-09 04:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:07:04] Production.INFO: CreateAllLog End
[2025-02-09 04:07:04] Production.INFO: count ==21
[2025-02-09 04:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:07:04] Production.INFO: count ==21
[2025-02-09 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434500') start
[2025-02-09 04:07:04] Production.INFO: ==16239== Releasing lock...
[2025-02-09 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:07:04] Production.INFO: Account Balance End.
[2025-02-09 04:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:07:04] Production.INFO: ==16243== Releasing lock...
[2025-02-09 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434500') end
[2025-02-09 04:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:07:04] Production.INFO: 1
[2025-02-09 04:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:07:04] Production.INFO: ==16247== Releasing lock...
[2025-02-09 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:07:05
[end_date_ymd] => 2025-02-09 04:07:05
[RateCDR] => 1
)
[2025-02-09 04:07: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` >= '2025-02-09 01:07:05' and `end` < '2025-02-09 04:07: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 ,'')
[2025-02-09 04:07:11] Production.ERROR: CronJobId end10
[2025-02-09 04:07:11] Production.INFO: ==16241== Releasing lock...
[2025-02-09 04:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:07:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:07:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:07:14] Production.INFO: call_cost start
[2025-02-09 04:07:14] Production.INFO: call_cost end
[2025-02-09 04:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:07:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:07:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:07:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:07:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:07:15] Production.INFO: ==16237== Releasing lock...
[2025-02-09 04:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:07:18] Production.INFO: count ==596
[2025-02-09 04:07:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:07:05 - End Time 2025-02-09 04:07:05
[2025-02-09 04:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434501', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434501', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434501', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434501', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:07:19] Production.INFO: ProcessCDR(1,14434501,1,1,2)
[2025-02-09 04:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434501', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434501', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:07:22] Production.INFO: ==16245== Releasing lock...
[2025-02-09 04:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:07:22] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:08:01] Production.INFO: ==16308== Lock acquired, processing the job...
[2025-02-09 09:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:08:01] Production.INFO: neon service started
[2025-02-09 09:08:01] Production.INFO: neon service started
[2025-02-09 09:08:01] Production.INFO: ==16308== Releasing lock...
[2025-02-09 09:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:08:02] Production.INFO: ==16310== Lock acquired, processing the job...
[2025-02-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:08:02] Production.INFO: ==16310== Releasing lock...
[2025-02-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:08:02] Production.INFO: ==16312== Lock acquired, processing the job...
[2025-02-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:08:02] Production.INFO: ==16312== Releasing lock...
[2025-02-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:08:03] Production.INFO: ==16317== Lock acquired, processing the job...
[2025-02-09 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:08:03] Production.INFO: ==16325== Lock acquired, processing the job...
[2025-02-09 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:08:03] Production.INFO: ==16319== Lock acquired, processing the job...
[2025-02-09 04:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:08:03] Production.INFO: ==16315== Lock acquired, processing the job...
[2025-02-09 04:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:08:03] Production.INFO: ==16321== Lock acquired, processing the job...
[2025-02-09 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:08:03] Production.INFO: count ==21
[2025-02-09 04:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:08:03] Production.INFO: count ==21
[2025-02-09 04:08:03] Production.INFO: ==16323== Lock acquired, processing the job...
[2025-02-09 04:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434503') start
[2025-02-09 04:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:08:03] Production.INFO: Account Balance Start.
[2025-02-09 04:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:08:03] Production.INFO: 117
[2025-02-09 04:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:08:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434503') end
[2025-02-09 04:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:08:03] Production.INFO: 1
[2025-02-09 04:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:08:03] Production.INFO: ==16317== Releasing lock...
[2025-02-09 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:08:04] Production.INFO: Total Charge 0
[2025-02-09 04:08:04] Production.INFO: CreateAllLog End
[2025-02-09 04:08:04] Production.INFO: ==16325== Releasing lock...
[2025-02-09 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:08:04] Production.ERROR: done
[2025-02-09 04:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:08:04] Production.ERROR: done
[2025-02-09 04:08:04] Production.INFO: Account Balance End.
[2025-02-09 04:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:08:04] Production.INFO: ==16321== Releasing lock...
[2025-02-09 04:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:08:05
[end_date_ymd] => 2025-02-09 04:08:05
[RateCDR] => 1
)
[2025-02-09 04:08: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` >= '2025-02-09 01:08:05' and `end` < '2025-02-09 04:08: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 ,'')
[2025-02-09 04:08:11] Production.ERROR: CronJobId end10
[2025-02-09 04:08:11] Production.INFO: ==16319== Releasing lock...
[2025-02-09 04:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:08:14] Production.INFO: call_cost start
[2025-02-09 04:08:14] Production.INFO: call_cost end
[2025-02-09 04:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:08:15] Production.INFO: ==16315== Releasing lock...
[2025-02-09 04:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:08:18] Production.INFO: count ==596
[2025-02-09 04:08:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:08:05 - End Time 2025-02-09 04:08:05
[2025-02-09 04:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434506', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434506', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434506', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434506', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:08:18] Production.INFO: ProcessCDR(1,14434506,1,1,2)
[2025-02-09 04:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434506', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434506', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:08:21] Production.INFO: ==16323== Releasing lock...
[2025-02-09 04:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:08:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:09:02] Production.INFO: ==16379== Lock acquired, processing the job...
[2025-02-09 09:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:09:02] Production.INFO: neon service started
[2025-02-09 09:09:02] Production.INFO: neon service started
[2025-02-09 09:09:02] Production.INFO: ==16379== Releasing lock...
[2025-02-09 09:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:09:02] Production.INFO: ==16383== Lock acquired, processing the job...
[2025-02-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:09:02] Production.INFO: ==16383== Releasing lock...
[2025-02-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:09:02] Production.INFO: ==16381== Lock acquired, processing the job...
[2025-02-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:09:03] Production.INFO: ==16381== Releasing lock...
[2025-02-09 04:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:09:03] Production.INFO: ==16386== Lock acquired, processing the job...
[2025-02-09 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:09:03] Production.INFO: ==16388== Lock acquired, processing the job...
[2025-02-09 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:09:03] Production.INFO: ==16392== Lock acquired, processing the job...
[2025-02-09 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:09:04] Production.INFO: Account Balance Start.
[2025-02-09 04:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:09:04] Production.INFO: 117
[2025-02-09 04:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:09:04] Production.INFO: ==16388== Releasing lock...
[2025-02-09 04:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:09:04] Production.INFO: Total Charge 0
[2025-02-09 04:09:04] Production.INFO: ==16390== Lock acquired, processing the job...
[2025-02-09 04:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:09:04] Production.INFO: CreateAllLog End
[2025-02-09 04:09:04] Production.INFO: ==16394== Lock acquired, processing the job...
[2025-02-09 04:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:09:04] Production.INFO: Account Balance End.
[2025-02-09 04:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:09:04] Production.INFO: ==16392== Releasing lock...
[2025-02-09 04:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:09:04] Production.INFO: ==16396== Lock acquired, processing the job...
[2025-02-09 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:09:04] Production.INFO: count ==21
[2025-02-09 04:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:09:04] Production.INFO: count ==21
[2025-02-09 04:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434510') start
[2025-02-09 04:09:04] Production.ERROR: done
[2025-02-09 04:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434510') end
[2025-02-09 04:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:09:04] Production.INFO: 1
[2025-02-09 04:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:09:04] Production.INFO: ==16396== Releasing lock...
[2025-02-09 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:09:05] Production.ERROR: done
[2025-02-09 04:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:09:05
[end_date_ymd] => 2025-02-09 04:09:05
[RateCDR] => 1
)
[2025-02-09 04:09: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` >= '2025-02-09 01:09:05' and `end` < '2025-02-09 04:09: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 ,'')
[2025-02-09 04:09:11] Production.ERROR: CronJobId end10
[2025-02-09 04:09:11] Production.INFO: ==16390== Releasing lock...
[2025-02-09 04:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:09:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:09:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:09:13] Production.INFO: call_cost start
[2025-02-09 04:09:13] Production.INFO: call_cost end
[2025-02-09 04:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:09:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:09:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:09:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:09:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:09:14] Production.INFO: ==16386== Releasing lock...
[2025-02-09 04:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:09:18] Production.INFO: count ==596
[2025-02-09 04:09:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:09:05 - End Time 2025-02-09 04:09:05
[2025-02-09 04:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434511', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434511', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434511', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434511', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:09:18] Production.INFO: ProcessCDR(1,14434511,1,1,2)
[2025-02-09 04:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434511', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434511', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:09:22] Production.INFO: ==16394== Releasing lock...
[2025-02-09 04:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:09:22] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:10:01] Production.INFO: ==16451== Lock acquired, processing the job...
[2025-02-09 09:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:10:01] Production.INFO: neon service started
[2025-02-09 09:10:01] Production.INFO: neon service started
[2025-02-09 09:10:01] Production.INFO: ==16451== Releasing lock...
[2025-02-09 09:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:10:02] Production.INFO: ==16453== Lock acquired, processing the job...
[2025-02-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:10:02] Production.INFO: ==16455== Lock acquired, processing the job...
[2025-02-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:10:02] Production.INFO: ==16453== Releasing lock...
[2025-02-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:10:02] Production.INFO: ==16455== Releasing lock...
[2025-02-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:10:03] Production.INFO: ==16458== Lock acquired, processing the job...
[2025-02-09 04:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 04:10:03] Production.INFO: ==16460== Lock acquired, processing the job...
[2025-02-09 04:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 04:10:03] Production.INFO: ==16462== Lock acquired, processing the job...
[2025-02-09 04:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 04:10:03] Production.INFO: ==16458== Releasing lock...
[2025-02-09 04:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 04:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 04:10:03] Production.INFO: ==16464== Lock acquired, processing the job...
[2025-02-09 04:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:10:03] Production.INFO: ==16466== Lock acquired, processing the job...
[2025-02-09 04:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:10:03] Production.INFO: ==16468== Lock acquired, processing the job...
[2025-02-09 04:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:10:04] Production.INFO: Account Balance Start.
[2025-02-09 04:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:10:04] Production.INFO: 117
[2025-02-09 04:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:10:04] Production.INFO: ==16470== Lock acquired, processing the job...
[2025-02-09 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 04:10:04] Production.INFO: ==16472== Lock acquired, processing the job...
[2025-02-09 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:10:04] Production.INFO: Total Charge 0
[2025-02-09 04:10:04] Production.INFO: CreateAllLog End
[2025-02-09 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:10:04] Production.INFO: ==16462== Releasing lock...
[2025-02-09 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:10:04] Production.INFO: count ==21
[2025-02-09 04:10:04] Production.ERROR: done
[2025-02-09 04:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:10:04] Production.INFO: count ==21
[2025-02-09 04:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434515') start
[2025-02-09 04:10:04] Production.INFO: Account Balance End.
[2025-02-09 04:10:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:10:04] Production.INFO: ==16466== Releasing lock...
[2025-02-09 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:10:04] Production.ERROR: done
[2025-02-09 04:10:04] Production.ERROR: done
[2025-02-09 04:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434515') end
[2025-02-09 04:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:10:04] Production.INFO: 1
[2025-02-09 04:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:10:04] Production.INFO: ==16472== Releasing lock...
[2025-02-09 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 04:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434517', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 04:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:10:05
[end_date_ymd] => 2025-02-09 04:10:05
[RateCDR] => 1
)
[2025-02-09 04:10: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` >= '2025-02-09 01:10:05' and `end` < '2025-02-09 04:10: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 ,'')
[2025-02-09 04:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434517', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 04:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 04:10:09] Production.INFO: ProcessCDR(1,14434517,1,1,2)
[2025-02-09 04:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434517,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434517,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:10:09] Production.INFO: ==16470== Releasing lock...
[2025-02-09 04:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 04:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 04:10:13] Production.ERROR: CronJobId end10
[2025-02-09 04:10:13] Production.INFO: ==16464== Releasing lock...
[2025-02-09 04:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:10:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:10:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:10:16] Production.INFO: call_cost start
[2025-02-09 04:10:16] Production.INFO: call_cost end
[2025-02-09 04:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:10:17] Production.INFO: ==16460== Releasing lock...
[2025-02-09 04:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:10:18] Production.INFO: count ==592
[2025-02-09 04:10:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:10:05 - End Time 2025-02-09 04:10:05
[2025-02-09 04:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434516', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434516', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434516', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434516', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:10:18] Production.INFO: ProcessCDR(1,14434516,1,1,2)
[2025-02-09 04:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434516', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434516', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:10:22] Production.INFO: ==16468== Releasing lock...
[2025-02-09 04:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:10:22] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:11:02] Production.INFO: ==16526== Lock acquired, processing the job...
[2025-02-09 09:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:11:02] Production.INFO: neon service started
[2025-02-09 09:11:02] Production.INFO: neon service started
[2025-02-09 09:11:02] Production.INFO: ==16526== Releasing lock...
[2025-02-09 09:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:11:02] Production.INFO: ==16528== Lock acquired, processing the job...
[2025-02-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:11:02] Production.INFO: ==16528== Releasing lock...
[2025-02-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:11:02] Production.INFO: ==16530== Lock acquired, processing the job...
[2025-02-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:11:02] Production.INFO: ==16530== Releasing lock...
[2025-02-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:11:03] Production.INFO: ==16532== Lock acquired, processing the job...
[2025-02-09 04:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:11:03] Production.INFO: ==16534== Lock acquired, processing the job...
[2025-02-09 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:11:03] Production.INFO: ==16538== Lock acquired, processing the job...
[2025-02-09 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:11:03] Production.INFO: ==16536== Lock acquired, processing the job...
[2025-02-09 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:11:03] Production.INFO: ==16542== Lock acquired, processing the job...
[2025-02-09 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:11:03] Production.INFO: ==16540== Lock acquired, processing the job...
[2025-02-09 04:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:11:03] Production.INFO: Account Balance Start.
[2025-02-09 04:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:11:03] Production.INFO: 117
[2025-02-09 04:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:11:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:11:03] Production.INFO: Total Charge 0
[2025-02-09 04:11:03] Production.INFO: CreateAllLog End
[2025-02-09 04:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:11:04] Production.INFO: count ==21
[2025-02-09 04:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:11:04] Production.INFO: count ==21
[2025-02-09 04:11:04] Production.INFO: ==16534== Releasing lock...
[2025-02-09 04:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434521') start
[2025-02-09 04:11:04] Production.INFO: Account Balance End.
[2025-02-09 04:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434521') end
[2025-02-09 04:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:11:04] Production.INFO: 1
[2025-02-09 04:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:11:04] Production.INFO: ==16538== Releasing lock...
[2025-02-09 04:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:11:04] Production.INFO: ==16542== Releasing lock...
[2025-02-09 04:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:11:04] Production.ERROR: done
[2025-02-09 04:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:11:04] Production.ERROR: done
[2025-02-09 04:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:11:05
[end_date_ymd] => 2025-02-09 04:11:05
[RateCDR] => 1
)
[2025-02-09 04:11: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` >= '2025-02-09 01:11:05' and `end` < '2025-02-09 04:11: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 ,'')
[2025-02-09 04:11:13] Production.ERROR: CronJobId end10
[2025-02-09 04:11:13] Production.INFO: ==16536== Releasing lock...
[2025-02-09 04:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:11:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:11:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:11:15] Production.INFO: call_cost start
[2025-02-09 04:11:15] Production.INFO: call_cost end
[2025-02-09 04:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:11:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:11:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:11:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:11:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:11:16] Production.INFO: ==16532== Releasing lock...
[2025-02-09 04:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:11:19] Production.INFO: count ==582
[2025-02-09 04:11:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:11:05 - End Time 2025-02-09 04:11:05
[2025-02-09 04:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434522', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434522', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434522', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434522', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:11:19] Production.INFO: ProcessCDR(1,14434522,1,1,2)
[2025-02-09 04:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434522', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434522', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:11:22] Production.INFO: ==16540== Releasing lock...
[2025-02-09 04:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:11:22] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:12:01] Production.INFO: ==16601== Lock acquired, processing the job...
[2025-02-09 09:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:12:01] Production.INFO: neon service started
[2025-02-09 09:12:01] Production.INFO: neon service started
[2025-02-09 09:12:01] Production.INFO: ==16601== Releasing lock...
[2025-02-09 09:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:12:02] Production.INFO: ==16604== Lock acquired, processing the job...
[2025-02-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:12:02] Production.INFO: ==16606== Lock acquired, processing the job...
[2025-02-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:12:02] Production.INFO: ==16606== Releasing lock...
[2025-02-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:12:02] Production.INFO: ==16604== Releasing lock...
[2025-02-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:12:03] Production.INFO: ==16612== Lock acquired, processing the job...
[2025-02-09 04:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:12:03] Production.INFO: ==16608== Lock acquired, processing the job...
[2025-02-09 04:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:12:03] Production.INFO: ==16610== Lock acquired, processing the job...
[2025-02-09 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:12:03] Production.INFO: ==16614== Lock acquired, processing the job...
[2025-02-09 04:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:12:04] Production.INFO: ==16618== Lock acquired, processing the job...
[2025-02-09 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:12:04] Production.INFO: ==16616== Lock acquired, processing the job...
[2025-02-09 04:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:12:04] Production.INFO: Account Balance Start.
[2025-02-09 04:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:12:04] Production.INFO: 117
[2025-02-09 04:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:12:04] Production.INFO: ==16610== Releasing lock...
[2025-02-09 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:12:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:12:04] Production.INFO: count ==21
[2025-02-09 04:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:12:04] Production.INFO: count ==21
[2025-02-09 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434526') start
[2025-02-09 04:12:04] Production.INFO: Total Charge 0
[2025-02-09 04:12:04] Production.INFO: CreateAllLog End
[2025-02-09 04:12:04] Production.ERROR: done
[2025-02-09 04:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434526') end
[2025-02-09 04:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:12:04] Production.INFO: 1
[2025-02-09 04:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:12:04] Production.INFO: ==16618== Releasing lock...
[2025-02-09 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:12:04] Production.ERROR: done
[2025-02-09 04:12:04] Production.INFO: Account Balance End.
[2025-02-09 04:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:12:04] Production.INFO: ==16614== Releasing lock...
[2025-02-09 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:12:05
[end_date_ymd] => 2025-02-09 04:12:05
[RateCDR] => 1
)
[2025-02-09 04:12: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` >= '2025-02-09 01:12:05' and `end` < '2025-02-09 04:12: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 ,'')
[2025-02-09 04:12:12] Production.ERROR: CronJobId end10
[2025-02-09 04:12:12] Production.INFO: ==16612== Releasing lock...
[2025-02-09 04:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:12:14] Production.INFO: call_cost start
[2025-02-09 04:12:14] Production.INFO: call_cost end
[2025-02-09 04:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:12:15] Production.INFO: ==16608== Releasing lock...
[2025-02-09 04:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:12:18] Production.INFO: count ==582
[2025-02-09 04:12:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:12:05 - End Time 2025-02-09 04:12:05
[2025-02-09 04:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434527', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434527', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434527', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434527', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:12:18] Production.INFO: ProcessCDR(1,14434527,1,1,2)
[2025-02-09 04:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434527', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434527', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:12:21] Production.INFO: ==16616== Releasing lock...
[2025-02-09 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:12:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:13:02] Production.INFO: ==16677== Lock acquired, processing the job...
[2025-02-09 09:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:13:02] Production.INFO: neon service started
[2025-02-09 09:13:02] Production.INFO: neon service started
[2025-02-09 09:13:02] Production.INFO: ==16677== Releasing lock...
[2025-02-09 09:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:13:02] Production.INFO: ==16681== Lock acquired, processing the job...
[2025-02-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:13:02] Production.INFO: ==16681== Releasing lock...
[2025-02-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:13:02] Production.INFO: ==16679== Lock acquired, processing the job...
[2025-02-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:13:02] Production.INFO: ==16679== Releasing lock...
[2025-02-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:13:03] Production.INFO: ==16688== Lock acquired, processing the job...
[2025-02-09 04:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:13:03] Production.INFO: ==16694== Lock acquired, processing the job...
[2025-02-09 04:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:13:03] Production.INFO: ==16684== Lock acquired, processing the job...
[2025-02-09 04:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:13:04] Production.INFO: ==16686== Lock acquired, processing the job...
[2025-02-09 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:13:04] Production.INFO: ==16690== Lock acquired, processing the job...
[2025-02-09 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:13:04] Production.INFO: count ==21
[2025-02-09 04:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:13:04] Production.INFO: count ==21
[2025-02-09 04:13:04] Production.INFO: ==16692== Lock acquired, processing the job...
[2025-02-09 04:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434528') start
[2025-02-09 04:13:04] Production.INFO: Account Balance Start.
[2025-02-09 04:13:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:13:04] Production.INFO: 117
[2025-02-09 04:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:13:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434528') end
[2025-02-09 04:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:13:04] Production.INFO: 1
[2025-02-09 04:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:13:04] Production.INFO: ==16694== Releasing lock...
[2025-02-09 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:13:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:13:04] Production.INFO: Total Charge 0
[2025-02-09 04:13:04] Production.INFO: CreateAllLog End
[2025-02-09 04:13:04] Production.INFO: ==16686== Releasing lock...
[2025-02-09 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:13:04] Production.ERROR: done
[2025-02-09 04:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:13:04] Production.ERROR: done
[2025-02-09 04:13:04] Production.INFO: Account Balance End.
[2025-02-09 04:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:13:04] Production.INFO: ==16690== Releasing lock...
[2025-02-09 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:13:05
[end_date_ymd] => 2025-02-09 04:13:05
[RateCDR] => 1
)
[2025-02-09 04:13: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` >= '2025-02-09 01:13:05' and `end` < '2025-02-09 04:13: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 ,'')
[2025-02-09 04:13:12] Production.ERROR: CronJobId end10
[2025-02-09 04:13:12] Production.INFO: ==16688== Releasing lock...
[2025-02-09 04:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:13:13] Production.INFO: call_cost start
[2025-02-09 04:13:13] Production.INFO: call_cost end
[2025-02-09 04:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:13:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:13:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:13:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:13:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:13:14] Production.INFO: ==16684== Releasing lock...
[2025-02-09 04:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:13:18] Production.INFO: count ==581
[2025-02-09 04:13:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:13:05 - End Time 2025-02-09 04:13:05
[2025-02-09 04:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434532', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434532', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434532', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434532', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:13:18] Production.INFO: ProcessCDR(1,14434532,1,1,2)
[2025-02-09 04:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434532', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434532', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:13:22] Production.INFO: ==16692== Releasing lock...
[2025-02-09 04:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:13:22] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:14:01] Production.INFO: ==16790== Lock acquired, processing the job...
[2025-02-09 09:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:14:01] Production.INFO: neon service started
[2025-02-09 09:14:01] Production.INFO: neon service started
[2025-02-09 09:14:01] Production.INFO: ==16790== Releasing lock...
[2025-02-09 09:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:14:01] Production.INFO: ==16792== Lock acquired, processing the job...
[2025-02-09 04:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:14:02] Production.INFO: ==16792== Releasing lock...
[2025-02-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:14:02] Production.INFO: ==16794== Lock acquired, processing the job...
[2025-02-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:14:02] Production.INFO: ==16794== Releasing lock...
[2025-02-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:14:03] Production.INFO: ==16797== Lock acquired, processing the job...
[2025-02-09 04:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:14:03] Production.INFO: ==16805== Lock acquired, processing the job...
[2025-02-09 04:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:14:03] Production.INFO: ==16799== Lock acquired, processing the job...
[2025-02-09 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:14:03] Production.INFO: ==16801== Lock acquired, processing the job...
[2025-02-09 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:14:03] Production.INFO: ==16803== Lock acquired, processing the job...
[2025-02-09 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:14:03] Production.INFO: Account Balance Start.
[2025-02-09 04:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:14:03] Production.INFO: 117
[2025-02-09 04:14:03] Production.INFO: ==16807== Lock acquired, processing the job...
[2025-02-09 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:14:03] Production.INFO: count ==21
[2025-02-09 04:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:14:03] Production.INFO: count ==21
[2025-02-09 04:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434536') start
[2025-02-09 04:14:03] Production.INFO: ==16799== Releasing lock...
[2025-02-09 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:14:03] Production.ERROR: done
[2025-02-09 04:14:03] Production.INFO: Total Charge 0
[2025-02-09 04:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:14:03] Production.INFO: CreateAllLog End
[2025-02-09 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434536') end
[2025-02-09 04:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:14:03] Production.INFO: 1
[2025-02-09 04:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:14:03] Production.INFO: ==16807== Releasing lock...
[2025-02-09 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:14:04] Production.ERROR: done
[2025-02-09 04:14:04] Production.INFO: Account Balance End.
[2025-02-09 04:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:14:04] Production.INFO: ==16803== Releasing lock...
[2025-02-09 04:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:14:04
[end_date_ymd] => 2025-02-09 04:14:04
[RateCDR] => 1
)
[2025-02-09 04:14:04] 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-02-09 01:14:04' and `end` < '2025-02-09 04:14:04'
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-02-09 04:14:12] Production.ERROR: CronJobId end10
[2025-02-09 04:14:12] Production.INFO: ==16801== Releasing lock...
[2025-02-09 04:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:14:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:14:13] Production.INFO: call_cost start
[2025-02-09 04:14:13] Production.INFO: call_cost end
[2025-02-09 04:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:14:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:14:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:14:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:14:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:14:14] Production.INFO: ==16797== Releasing lock...
[2025-02-09 04:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:14:17] Production.INFO: count ==579
[2025-02-09 04:14:17] Production.ERROR: pbx CDR StartTime 2025-02-09 01:14:04 - End Time 2025-02-09 04:14:04
[2025-02-09 04:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434537', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434537', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434537', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434537', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:14:17] Production.INFO: ProcessCDR(1,14434537,1,1,2)
[2025-02-09 04:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434537', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434537', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:14:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:14:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:14:20] Production.INFO: ==16805== Releasing lock...
[2025-02-09 04:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:14:20] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:15:01] Production.INFO: ==16873== Lock acquired, processing the job...
[2025-02-09 09:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:15:02] Production.INFO: neon service started
[2025-02-09 09:15:02] Production.INFO: neon service started
[2025-02-09 09:15:02] Production.INFO: ==16873== Releasing lock...
[2025-02-09 09:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:15:02] Production.INFO: ==16877== Lock acquired, processing the job...
[2025-02-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:15:02] Production.INFO: ==16877== Releasing lock...
[2025-02-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:15:02] Production.INFO: ==16875== Lock acquired, processing the job...
[2025-02-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:15:02] Production.INFO: ==16875== Releasing lock...
[2025-02-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:15:03] Production.INFO: ==16880== Lock acquired, processing the job...
[2025-02-09 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:15:03] Production.INFO: ==16882== Lock acquired, processing the job...
[2025-02-09 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:15:03] Production.INFO: ==16888== Lock acquired, processing the job...
[2025-02-09 04:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:15:03] Production.INFO: ==16884== Lock acquired, processing the job...
[2025-02-09 04:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:15:03] Production.INFO: ==16886== Lock acquired, processing the job...
[2025-02-09 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:15:03] Production.INFO: ==16890== Lock acquired, processing the job...
[2025-02-09 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:15:03] Production.INFO: ==16882== Releasing lock...
[2025-02-09 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:15:03] Production.INFO: Account Balance Start.
[2025-02-09 04:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:15:03] Production.INFO: 117
[2025-02-09 04:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:15:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:15:04] Production.INFO: Total Charge 0
[2025-02-09 04:15:04] Production.INFO: CreateAllLog End
[2025-02-09 04:15:04] Production.ERROR: done
[2025-02-09 04:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:15:04] Production.INFO: count ==21
[2025-02-09 04:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:15:04] Production.INFO: count ==21
[2025-02-09 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434541') start
[2025-02-09 04:15:04] Production.ERROR: done
[2025-02-09 04:15:04] Production.INFO: Account Balance End.
[2025-02-09 04:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:15:04] Production.INFO: ==16886== Releasing lock...
[2025-02-09 04:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434541') end
[2025-02-09 04:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:15:04] Production.INFO: 1
[2025-02-09 04:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:15:04] Production.INFO: ==16890== Releasing lock...
[2025-02-09 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:15:05
[end_date_ymd] => 2025-02-09 04:15:05
[RateCDR] => 1
)
[2025-02-09 04:15: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` >= '2025-02-09 01:15:05' and `end` < '2025-02-09 04:15: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 ,'')
[2025-02-09 04:15:12] Production.ERROR: CronJobId end10
[2025-02-09 04:15:12] Production.INFO: ==16884== Releasing lock...
[2025-02-09 04:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:15:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:15:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:15:14] Production.INFO: call_cost start
[2025-02-09 04:15:14] Production.INFO: call_cost end
[2025-02-09 04:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:15:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:15:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:15:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:15:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:15:15] Production.INFO: ==16880== Releasing lock...
[2025-02-09 04:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:15:18] Production.INFO: count ==579
[2025-02-09 04:15:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:15:05 - End Time 2025-02-09 04:15:05
[2025-02-09 04:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434542', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434542', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434542', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434542', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:15:18] Production.INFO: ProcessCDR(1,14434542,1,1,2)
[2025-02-09 04:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434542', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434542', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:15:21] Production.INFO: ==16888== Releasing lock...
[2025-02-09 04:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:15:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:16:01] Production.INFO: ==16944== Lock acquired, processing the job...
[2025-02-09 09:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:16:01] Production.INFO: neon service started
[2025-02-09 09:16:01] Production.INFO: neon service started
[2025-02-09 09:16:01] Production.INFO: ==16944== Releasing lock...
[2025-02-09 09:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:16:01] Production.INFO: ==16946== Lock acquired, processing the job...
[2025-02-09 04:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:16:02] Production.INFO: ==16948== Lock acquired, processing the job...
[2025-02-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:16:02] Production.INFO: ==16948== Releasing lock...
[2025-02-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:16:02] Production.INFO: ==16946== Releasing lock...
[2025-02-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:16:03] Production.INFO: ==16952== Lock acquired, processing the job...
[2025-02-09 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:16:03] Production.INFO: ==16956== Lock acquired, processing the job...
[2025-02-09 04:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:16:03] Production.INFO: ==16958== Lock acquired, processing the job...
[2025-02-09 04:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:16:03] Production.INFO: Account Balance Start.
[2025-02-09 04:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:16:03] Production.INFO: 117
[2025-02-09 04:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:16:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:16:03] Production.INFO: Total Charge 0
[2025-02-09 04:16:03] Production.INFO: ==16950== Lock acquired, processing the job...
[2025-02-09 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:16:03] Production.INFO: CreateAllLog End
[2025-02-09 04:16:03] Production.INFO: ==16954== Lock acquired, processing the job...
[2025-02-09 04:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:16:03] Production.INFO: ==16960== Lock acquired, processing the job...
[2025-02-09 04:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:16:03] Production.INFO: ==16952== Releasing lock...
[2025-02-09 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:16:03] Production.ERROR: done
[2025-02-09 04:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:16:03] Production.INFO: count ==21
[2025-02-09 04:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:16:03] Production.INFO: count ==21
[2025-02-09 04:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434545') start
[2025-02-09 04:16:03] Production.ERROR: done
[2025-02-09 04:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434545') end
[2025-02-09 04:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:16:03] Production.INFO: 1
[2025-02-09 04:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:16:03] Production.INFO: ==16960== Releasing lock...
[2025-02-09 04:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:16:03] Production.INFO: Account Balance End.
[2025-02-09 04:16:03] Production.ERROR: CronJobId end 12
[2025-02-09 04:16:03] Production.INFO: ==16956== Releasing lock...
[2025-02-09 04:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:16:04
[end_date_ymd] => 2025-02-09 04:16:04
[RateCDR] => 1
)
[2025-02-09 04:16:04] 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-02-09 01:16:04' and `end` < '2025-02-09 04:16:04'
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-02-09 04:16:11] Production.ERROR: CronJobId end10
[2025-02-09 04:16:11] Production.INFO: ==16954== Releasing lock...
[2025-02-09 04:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:16:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:16:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:16:13] Production.INFO: call_cost start
[2025-02-09 04:16:13] Production.INFO: call_cost end
[2025-02-09 04:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:16:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:16:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:16:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:16:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:16:14] Production.INFO: ==16950== Releasing lock...
[2025-02-09 04:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:16:17] Production.INFO: count ==579
[2025-02-09 04:16:17] Production.ERROR: pbx CDR StartTime 2025-02-09 01:16:04 - End Time 2025-02-09 04:16:04
[2025-02-09 04:16:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434547', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434547', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434547', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:16:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434547', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:16:17] Production.INFO: ProcessCDR(1,14434547,1,1,2)
[2025-02-09 04:16:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:16:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:16:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:16:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434547', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:16:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434547', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:16:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:16:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:16:20] Production.INFO: ==16958== Releasing lock...
[2025-02-09 04:16:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:16:20] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:17:01] Production.INFO: ==17018== Lock acquired, processing the job...
[2025-02-09 09:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:17:01] Production.INFO: neon service started
[2025-02-09 09:17:01] Production.INFO: neon service started
[2025-02-09 09:17:01] Production.INFO: ==17018== Releasing lock...
[2025-02-09 09:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:17:02] Production.INFO: ==17020== Lock acquired, processing the job...
[2025-02-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:17:02] Production.INFO: ==17020== Releasing lock...
[2025-02-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:17:02] Production.INFO: ==17022== Lock acquired, processing the job...
[2025-02-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:17:02] Production.INFO: ==17022== Releasing lock...
[2025-02-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:17:03] Production.INFO: ==17024== Lock acquired, processing the job...
[2025-02-09 04:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:17:03] Production.INFO: ==17026== Lock acquired, processing the job...
[2025-02-09 04:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:17:03] Production.INFO: ==17028== Lock acquired, processing the job...
[2025-02-09 04:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:17:03] Production.INFO: ==17032== Lock acquired, processing the job...
[2025-02-09 04:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:17:03] Production.INFO: ==17030== Lock acquired, processing the job...
[2025-02-09 04:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:17:03] Production.INFO: ==17034== Lock acquired, processing the job...
[2025-02-09 04:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:17:03] Production.INFO: Account Balance Start.
[2025-02-09 04:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:17:03] Production.INFO: 117
[2025-02-09 04:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:17:03] Production.INFO: ==17026== Releasing lock...
[2025-02-09 04:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:17:03] Production.INFO: count ==21
[2025-02-09 04:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:17:03] Production.INFO: count ==21
[2025-02-09 04:17:03] Production.INFO: Total Charge 0
[2025-02-09 04:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434551') start
[2025-02-09 04:17:03] Production.INFO: CreateAllLog End
[2025-02-09 04:17:04] Production.ERROR: done
[2025-02-09 04:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434551') end
[2025-02-09 04:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:17:04] Production.INFO: 1
[2025-02-09 04:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:17:04] Production.ERROR: done
[2025-02-09 04:17:04] Production.INFO: ==17034== Releasing lock...
[2025-02-09 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:17:04] Production.INFO: Account Balance End.
[2025-02-09 04:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:17:04] Production.INFO: ==17030== Releasing lock...
[2025-02-09 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:17:05
[end_date_ymd] => 2025-02-09 04:17:05
[RateCDR] => 1
)
[2025-02-09 04:17: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` >= '2025-02-09 01:17:05' and `end` < '2025-02-09 04:17: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 ,'')
[2025-02-09 04:17:11] Production.ERROR: CronJobId end10
[2025-02-09 04:17:11] Production.INFO: ==17028== Releasing lock...
[2025-02-09 04:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:17:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:17:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:17:13] Production.INFO: call_cost start
[2025-02-09 04:17:13] Production.INFO: call_cost end
[2025-02-09 04:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:17:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:17:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:17:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:17:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:17:14] Production.INFO: ==17024== Releasing lock...
[2025-02-09 04:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:17:17] Production.INFO: count ==579
[2025-02-09 04:17:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:17:05 - End Time 2025-02-09 04:17:05
[2025-02-09 04:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434552', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434552', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434552', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434552', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:17:18] Production.INFO: ProcessCDR(1,14434552,1,1,2)
[2025-02-09 04:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434552', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434552', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:17:21] Production.INFO: ==17032== Releasing lock...
[2025-02-09 04:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:17:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:18:02] Production.INFO: ==17100== Lock acquired, processing the job...
[2025-02-09 09:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:18:02] Production.INFO: neon service started
[2025-02-09 09:18:02] Production.INFO: neon service started
[2025-02-09 09:18:02] Production.INFO: ==17100== Releasing lock...
[2025-02-09 09:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:18:02] Production.INFO: ==17104== Lock acquired, processing the job...
[2025-02-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:18:02] Production.INFO: ==17104== Releasing lock...
[2025-02-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:18:02] Production.INFO: ==17102== Lock acquired, processing the job...
[2025-02-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:18:03] Production.INFO: ==17102== Releasing lock...
[2025-02-09 04:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:18:03] Production.INFO: ==17107== Lock acquired, processing the job...
[2025-02-09 04:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:18:03] Production.INFO: ==17111== Lock acquired, processing the job...
[2025-02-09 04:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:18:03] Production.INFO: ==17115== Lock acquired, processing the job...
[2025-02-09 04:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:18:04] Production.INFO: ==17109== Lock acquired, processing the job...
[2025-02-09 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:18:04] Production.INFO: ==17113== Lock acquired, processing the job...
[2025-02-09 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:18:04] Production.INFO: ==17117== Lock acquired, processing the job...
[2025-02-09 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:18:04] Production.INFO: Account Balance Start.
[2025-02-09 04:18:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:18:04] Production.INFO: 117
[2025-02-09 04:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:18:04] Production.ERROR: done
[2025-02-09 04:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:18:04] Production.INFO: count ==21
[2025-02-09 04:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:18:04] Production.INFO: count ==21
[2025-02-09 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434556') start
[2025-02-09 04:18:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:18:04] Production.INFO: ==17109== Releasing lock...
[2025-02-09 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434556') end
[2025-02-09 04:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:18:04] Production.INFO: 1
[2025-02-09 04:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:18:04] Production.ERROR: done
[2025-02-09 04:18:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:18:04] Production.INFO: Total Charge 0
[2025-02-09 04:18:04] Production.INFO: ==17117== Releasing lock...
[2025-02-09 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:18:04] Production.INFO: CreateAllLog End
[2025-02-09 04:18:04] Production.INFO: Account Balance End.
[2025-02-09 04:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:18:04] Production.INFO: ==17113== Releasing lock...
[2025-02-09 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:18:05
[end_date_ymd] => 2025-02-09 04:18:05
[RateCDR] => 1
)
[2025-02-09 04:18: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` >= '2025-02-09 01:18:05' and `end` < '2025-02-09 04:18: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 ,'')
[2025-02-09 04:18:12] Production.ERROR: CronJobId end10
[2025-02-09 04:18:12] Production.INFO: ==17111== Releasing lock...
[2025-02-09 04:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:18:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:18:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:18:14] Production.INFO: call_cost start
[2025-02-09 04:18:14] Production.INFO: call_cost end
[2025-02-09 04:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:18:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:18:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:18:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:18:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:18:15] Production.INFO: ==17107== Releasing lock...
[2025-02-09 04:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:18:18] Production.INFO: count ==572
[2025-02-09 04:18:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:18:05 - End Time 2025-02-09 04:18:05
[2025-02-09 04:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434557', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434557', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434557', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434557', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:18:18] Production.INFO: ProcessCDR(1,14434557,1,1,2)
[2025-02-09 04:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434557', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434557', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:18:22] Production.INFO: ==17115== Releasing lock...
[2025-02-09 04:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:18:22] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:19:01] Production.INFO: ==17174== Lock acquired, processing the job...
[2025-02-09 09:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:19:01] Production.INFO: neon service started
[2025-02-09 09:19:01] Production.INFO: neon service started
[2025-02-09 09:19:01] Production.INFO: ==17174== Releasing lock...
[2025-02-09 09:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:19:02] Production.INFO: ==17176== Lock acquired, processing the job...
[2025-02-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:19:02] Production.INFO: ==17178== Lock acquired, processing the job...
[2025-02-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:19:02] Production.INFO: ==17178== Releasing lock...
[2025-02-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:19:02] Production.INFO: ==17176== Releasing lock...
[2025-02-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:19:03] Production.INFO: ==17183== Lock acquired, processing the job...
[2025-02-09 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:19:03] Production.INFO: ==17191== Lock acquired, processing the job...
[2025-02-09 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:19:03] Production.INFO: count ==21
[2025-02-09 04:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:19:03] Production.INFO: count ==21
[2025-02-09 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434558') start
[2025-02-09 04:19:03] Production.INFO: ==17181== Lock acquired, processing the job...
[2025-02-09 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:19:03] Production.INFO: ==17183== Releasing lock...
[2025-02-09 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:19:03] Production.INFO: ==17185== Lock acquired, processing the job...
[2025-02-09 04:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434558') end
[2025-02-09 04:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:19:03] Production.INFO: 1
[2025-02-09 04:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:19:03] Production.INFO: ==17187== Lock acquired, processing the job...
[2025-02-09 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:19:03] Production.INFO: ==17189== Lock acquired, processing the job...
[2025-02-09 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:19:03] Production.INFO: ==17191== Releasing lock...
[2025-02-09 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:19:04] Production.INFO: Account Balance Start.
[2025-02-09 04:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:19:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:19:04] Production.INFO: 117
[2025-02-09 04:19:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:19:04] Production.INFO: Total Charge 0
[2025-02-09 04:19:04] Production.INFO: CreateAllLog End
[2025-02-09 04:19:04] Production.ERROR: done
[2025-02-09 04:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:19:04] Production.ERROR: done
[2025-02-09 04:19:04] Production.INFO: Account Balance End.
[2025-02-09 04:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:19:04] Production.INFO: ==17187== Releasing lock...
[2025-02-09 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:19:05
[end_date_ymd] => 2025-02-09 04:19:05
[RateCDR] => 1
)
[2025-02-09 04:19: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` >= '2025-02-09 01:19:05' and `end` < '2025-02-09 04:19: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 ,'')
[2025-02-09 04:19:11] Production.ERROR: CronJobId end10
[2025-02-09 04:19:11] Production.INFO: ==17185== Releasing lock...
[2025-02-09 04:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:19:14] Production.INFO: call_cost start
[2025-02-09 04:19:14] Production.INFO: call_cost end
[2025-02-09 04:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:19:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:19:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:19:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:19:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:19:15] Production.INFO: ==17181== Releasing lock...
[2025-02-09 04:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:19:18] Production.INFO: count ==572
[2025-02-09 04:19:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:19:05 - End Time 2025-02-09 04:19:05
[2025-02-09 04:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434562', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434562', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434562', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434562', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:19:18] Production.INFO: ProcessCDR(1,14434562,1,1,2)
[2025-02-09 04:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434562', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434562', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:19:21] Production.INFO: ==17189== Releasing lock...
[2025-02-09 04:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:19:21] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 09:20:02] Production.INFO: ==17249== Lock acquired, processing the job...
[2025-02-09 09:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:20:02] Production.INFO: neon service started
[2025-02-09 09:20:02] Production.INFO: neon service started
[2025-02-09 09:20:02] Production.INFO: ==17249== Releasing lock...
[2025-02-09 09:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:20:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 09:20:02] Production.INFO: ==17253== Lock acquired, processing the job...
[2025-02-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:20:02] Production.INFO: ==17253== Releasing lock...
[2025-02-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:20:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:20:02] Production.INFO: ==17251== Lock acquired, processing the job...
[2025-02-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:20:03] Production.INFO: ==17251== Releasing lock...
[2025-02-09 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:20:03] Production.INFO: ==17256== Lock acquired, processing the job...
[2025-02-09 04:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 04:20:04] Production.INFO: ==17258== Lock acquired, processing the job...
[2025-02-09 04:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 04:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:20:04] Production.ERROR: CronJob PID - 17258
[2025-02-09 04:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 04:20:04] Production.ERROR: CronJob ID - 5
[2025-02-09 04:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 04:20:00
[2025-02-09 04:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 04:20:04] Production.INFO: ==17256== Releasing lock...
[2025-02-09 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 04:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 04:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:20:04] Production.INFO: ==17264== Lock acquired, processing the job...
[2025-02-09 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:20:04] Production.INFO: ==17268== Lock acquired, processing the job...
[2025-02-09 04:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 04:20:04] Production.INFO: ==17260== Lock acquired, processing the job...
[2025-02-09 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:20:04] Production.INFO: Account Balance Start.
[2025-02-09 04:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:20:04] Production.INFO: 117
[2025-02-09 04:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:20:04] Production.INFO: Total Charge 0
[2025-02-09 04:20:04] Production.INFO: ==17262== Lock acquired, processing the job...
[2025-02-09 04:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:20:04] Production.INFO: CreateAllLog End
[2025-02-09 04:20:04] Production.INFO: ==17270== Lock acquired, processing the job...
[2025-02-09 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:20:04] Production.INFO: ==17266== Lock acquired, processing the job...
[2025-02-09 04:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:20:04] Production.INFO: ==17260== Releasing lock...
[2025-02-09 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:20:04] Production.INFO: Account Balance End.
[2025-02-09 04:20:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:20:04] Production.INFO: ==17264== Releasing lock...
[2025-02-09 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:20:04] Production.INFO: count ==21
[2025-02-09 04:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:20:04] Production.INFO: count ==21
[2025-02-09 04:20:04] Production.ERROR: done
[2025-02-09 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434566') start
[2025-02-09 04:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 04:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434567', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434566') end
[2025-02-09 04:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:20:04] Production.INFO: 1
[2025-02-09 04:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:20:05] Production.ERROR: done
[2025-02-09 04:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:20:05] Production.INFO: ==17270== Releasing lock...
[2025-02-09 04:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:20:05] Production.ERROR: done
[2025-02-09 04:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:20:06
[end_date_ymd] => 2025-02-09 04:20:06
[RateCDR] => 1
)
[2025-02-09 04:20: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-02-09 01:20:06' and `end` < '2025-02-09 04:20: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-02-09 04:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434567', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 04:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 04:20:09] Production.INFO: ProcessCDR(1,14434567,1,1,2)
[2025-02-09 04:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434567,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434567,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:20:09] Production.INFO: ==17268== Releasing lock...
[2025-02-09 04:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 04:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 04:20:13] Production.ERROR: CronJobId end10
[2025-02-09 04:20:13] Production.INFO: ==17262== Releasing lock...
[2025-02-09 04:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:20:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:20:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:20:15] Production.INFO: call_cost start
[2025-02-09 04:20:15] Production.INFO: call_cost end
[2025-02-09 04:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:20:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:20:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:20:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:20:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:20:16] Production.INFO: ==17258== Releasing lock...
[2025-02-09 04:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:20:18] Production.INFO: count ==566
[2025-02-09 04:20:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:20:06 - End Time 2025-02-09 04:20:06
[2025-02-09 04:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434568', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434568', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434568', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434568', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:20:18] Production.INFO: ProcessCDR(1,14434568,1,1,2)
[2025-02-09 04:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434568', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434568', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:20:21] Production.INFO: ==17266== Releasing lock...
[2025-02-09 04:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:20:21] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 09:21:01] Production.INFO: ==17325== Lock acquired, processing the job...
[2025-02-09 09:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:21:01] Production.INFO: neon service started
[2025-02-09 09:21:01] Production.INFO: neon service started
[2025-02-09 09:21:01] Production.INFO: ==17325== Releasing lock...
[2025-02-09 09:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:21:02] Production.INFO: ==17327== Lock acquired, processing the job...
[2025-02-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:21:02] Production.INFO: ==17329== Lock acquired, processing the job...
[2025-02-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:21:02] Production.INFO: ==17329== Releasing lock...
[2025-02-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:21:02] Production.INFO: ==17327== Releasing lock...
[2025-02-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:21:03] Production.INFO: ==17332== Lock acquired, processing the job...
[2025-02-09 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:21:03] Production.INFO: ==17340== Lock acquired, processing the job...
[2025-02-09 04:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:21:03] Production.INFO: ==17334== Lock acquired, processing the job...
[2025-02-09 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:21:03] Production.INFO: ==17336== Lock acquired, processing the job...
[2025-02-09 04:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:21:03] Production.INFO: ==17338== Lock acquired, processing the job...
[2025-02-09 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:21:03] Production.INFO: ==17342== Lock acquired, processing the job...
[2025-02-09 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:21:03] Production.ERROR: done
[2025-02-09 04:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:21:03] Production.INFO: Account Balance Start.
[2025-02-09 04:21:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:21:03] Production.INFO: 117
[2025-02-09 04:21:03] Production.INFO: count ==21
[2025-02-09 04:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:21:03] Production.INFO: count ==21
[2025-02-09 04:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434570') start
[2025-02-09 04:21:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:21:03] Production.ERROR: done
[2025-02-09 04:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:21:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:21:03] Production.INFO: Total Charge 0
[2025-02-09 04:21:03] Production.INFO: CreateAllLog End
[2025-02-09 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434570') end
[2025-02-09 04:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:21:04] Production.INFO: 1
[2025-02-09 04:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:21:04] Production.INFO: ==17342== Releasing lock...
[2025-02-09 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:21:04] Production.INFO: ==17334== Releasing lock...
[2025-02-09 04:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:21:04] Production.INFO: Account Balance End.
[2025-02-09 04:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:21:04] Production.INFO: ==17338== Releasing lock...
[2025-02-09 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:21:04
[end_date_ymd] => 2025-02-09 04:21:04
[RateCDR] => 1
)
[2025-02-09 04:21:04] 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-02-09 01:21:04' and `end` < '2025-02-09 04:21:04'
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-02-09 04:21:11] Production.ERROR: CronJobId end10
[2025-02-09 04:21:11] Production.INFO: ==17336== Releasing lock...
[2025-02-09 04:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:21:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:21:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:21:13] Production.INFO: call_cost start
[2025-02-09 04:21:13] Production.INFO: call_cost end
[2025-02-09 04:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:21:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:21:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:21:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:21:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:21:14] Production.INFO: ==17332== Releasing lock...
[2025-02-09 04:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:21:17] Production.INFO: count ==530
[2025-02-09 04:21:17] Production.ERROR: pbx CDR StartTime 2025-02-09 01:21:04 - End Time 2025-02-09 04:21:04
[2025-02-09 04:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434573', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434573', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434573', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434573', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:21:17] Production.INFO: ProcessCDR(1,14434573,1,1,2)
[2025-02-09 04:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434573', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434573', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:21:20] Production.INFO: ==17340== Releasing lock...
[2025-02-09 04:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:21:20] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:22:02] Production.INFO: ==17398== Lock acquired, processing the job...
[2025-02-09 09:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:22:02] Production.INFO: neon service started
[2025-02-09 09:22:02] Production.INFO: neon service started
[2025-02-09 09:22:02] Production.INFO: ==17398== Releasing lock...
[2025-02-09 09:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:22:02] Production.INFO: ==17402== Lock acquired, processing the job...
[2025-02-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:22:02] Production.INFO: ==17402== Releasing lock...
[2025-02-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:22:02] Production.INFO: ==17400== Lock acquired, processing the job...
[2025-02-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:22:02] Production.INFO: ==17400== Releasing lock...
[2025-02-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:22:03] Production.INFO: ==17405== Lock acquired, processing the job...
[2025-02-09 04:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:22:03] Production.INFO: ==17407== Lock acquired, processing the job...
[2025-02-09 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:22:03] Production.INFO: ==17411== Lock acquired, processing the job...
[2025-02-09 04:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:22:03] Production.INFO: ==17409== Lock acquired, processing the job...
[2025-02-09 04:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:22:03] Production.INFO: Account Balance Start.
[2025-02-09 04:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:22:03] Production.INFO: 117
[2025-02-09 04:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:22:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:22:03] Production.INFO: Total Charge 0
[2025-02-09 04:22:04] Production.INFO: CreateAllLog End
[2025-02-09 04:22:04] Production.INFO: Account Balance End.
[2025-02-09 04:22:04] Production.INFO: ==17407== Releasing lock...
[2025-02-09 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:22:04] Production.INFO: ==17413== Lock acquired, processing the job...
[2025-02-09 04:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:22:04] Production.INFO: ==17411== Releasing lock...
[2025-02-09 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:22:04] Production.INFO: ==17415== Lock acquired, processing the job...
[2025-02-09 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:22:04] Production.INFO: count ==21
[2025-02-09 04:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:22:04] Production.INFO: count ==21
[2025-02-09 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434577') start
[2025-02-09 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434577') end
[2025-02-09 04:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:22:04] Production.INFO: 1
[2025-02-09 04:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:22:04] Production.ERROR: done
[2025-02-09 04:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:22:04] Production.INFO: ==17415== Releasing lock...
[2025-02-09 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:22:04] Production.ERROR: done
[2025-02-09 04:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:22:05
[end_date_ymd] => 2025-02-09 04:22:05
[RateCDR] => 1
)
[2025-02-09 04:22: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` >= '2025-02-09 01:22:05' and `end` < '2025-02-09 04:22: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 ,'')
[2025-02-09 04:22:11] Production.ERROR: CronJobId end10
[2025-02-09 04:22:11] Production.INFO: ==17409== Releasing lock...
[2025-02-09 04:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:22:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:22:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:22:14] Production.INFO: call_cost start
[2025-02-09 04:22:14] Production.INFO: call_cost end
[2025-02-09 04:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:22:15] Production.INFO: ==17405== Releasing lock...
[2025-02-09 04:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:22:18] Production.INFO: count ==531
[2025-02-09 04:22:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:22:05 - End Time 2025-02-09 04:22:05
[2025-02-09 04:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434578', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434578', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434578', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434578', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:22:18] Production.INFO: ProcessCDR(1,14434578,1,1,2)
[2025-02-09 04:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434578', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434578', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:22:22] Production.INFO: ==17413== Releasing lock...
[2025-02-09 04:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:22:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:23:01] Production.INFO: ==17473== Lock acquired, processing the job...
[2025-02-09 09:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:23:01] Production.INFO: neon service started
[2025-02-09 09:23:01] Production.INFO: neon service started
[2025-02-09 09:23:01] Production.INFO: ==17473== Releasing lock...
[2025-02-09 09:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:23:02] Production.INFO: ==17475== Lock acquired, processing the job...
[2025-02-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:23:02] Production.INFO: ==17477== Lock acquired, processing the job...
[2025-02-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:23:02] Production.INFO: ==17477== Releasing lock...
[2025-02-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:23:02] Production.INFO: ==17475== Releasing lock...
[2025-02-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:23:03] Production.INFO: ==17486== Lock acquired, processing the job...
[2025-02-09 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:23:03] Production.INFO: ==17490== Lock acquired, processing the job...
[2025-02-09 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:23:03] Production.INFO: ==17480== Lock acquired, processing the job...
[2025-02-09 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:23:03] Production.INFO: Account Balance Start.
[2025-02-09 04:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:23:03] Production.INFO: 117
[2025-02-09 04:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:23:03] Production.INFO: count ==21
[2025-02-09 04:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:23:03] Production.INFO: count ==21
[2025-02-09 04:23:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434580') start
[2025-02-09 04:23:03] Production.INFO: ==17484== Lock acquired, processing the job...
[2025-02-09 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:23:03] Production.INFO: ==17482== Lock acquired, processing the job...
[2025-02-09 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:23:03] Production.INFO: Total Charge 0
[2025-02-09 04:23:03] Production.INFO: CreateAllLog End
[2025-02-09 04:23:03] Production.INFO: ==17488== Lock acquired, processing the job...
[2025-02-09 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434580') end
[2025-02-09 04:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:23:03] Production.INFO: 1
[2025-02-09 04:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:23:03] Production.INFO: ==17490== Releasing lock...
[2025-02-09 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:23:03] Production.INFO: Account Balance End.
[2025-02-09 04:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:23:04] Production.INFO: ==17486== Releasing lock...
[2025-02-09 04:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:23:04] Production.INFO: ==17482== Releasing lock...
[2025-02-09 04:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:23:04] Production.ERROR: done
[2025-02-09 04:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:23:04] Production.ERROR: done
[2025-02-09 04:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:23:05
[end_date_ymd] => 2025-02-09 04:23:05
[RateCDR] => 1
)
[2025-02-09 04:23: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` >= '2025-02-09 01:23:05' and `end` < '2025-02-09 04:23: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 ,'')
[2025-02-09 04:23:10] Production.ERROR: CronJobId end10
[2025-02-09 04:23:10] Production.INFO: ==17484== Releasing lock...
[2025-02-09 04:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:23:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:23:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:23:13] Production.INFO: call_cost start
[2025-02-09 04:23:13] Production.INFO: call_cost end
[2025-02-09 04:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:23:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:23:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:23:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:23:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:23:13] Production.INFO: ==17480== Releasing lock...
[2025-02-09 04:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:23:18] Production.INFO: count ==529
[2025-02-09 04:23:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:23:05 - End Time 2025-02-09 04:23:05
[2025-02-09 04:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434583', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434583', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434583', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434583', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:23:18] Production.INFO: ProcessCDR(1,14434583,1,1,2)
[2025-02-09 04:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434583', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434583', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:23:21] Production.INFO: ==17488== Releasing lock...
[2025-02-09 04:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:23:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:24:01] Production.INFO: ==17542== Lock acquired, processing the job...
[2025-02-09 09:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:24:01] Production.INFO: neon service started
[2025-02-09 09:24:02] Production.INFO: neon service started
[2025-02-09 09:24:02] Production.INFO: ==17542== Releasing lock...
[2025-02-09 09:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:24:02] Production.INFO: ==17544== Lock acquired, processing the job...
[2025-02-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:24:02] Production.INFO: ==17546== Lock acquired, processing the job...
[2025-02-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:24:02] Production.INFO: ==17544== Releasing lock...
[2025-02-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:24:02] Production.INFO: ==17546== Releasing lock...
[2025-02-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:24:03] Production.INFO: ==17555== Lock acquired, processing the job...
[2025-02-09 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:24:03] Production.INFO: ==17559== Lock acquired, processing the job...
[2025-02-09 04:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:24:03] Production.INFO: ==17549== Lock acquired, processing the job...
[2025-02-09 04:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:24:03] Production.INFO: Account Balance Start.
[2025-02-09 04:24:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:24:03] Production.INFO: 117
[2025-02-09 04:24:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:24:03] Production.INFO: ==17551== Lock acquired, processing the job...
[2025-02-09 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:24:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:24:03] Production.INFO: Total Charge 0
[2025-02-09 04:24:03] Production.INFO: CreateAllLog End
[2025-02-09 04:24:03] Production.INFO: count ==21
[2025-02-09 04:24:03] Production.INFO: ==17553== Lock acquired, processing the job...
[2025-02-09 04:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:24:03] Production.INFO: count ==21
[2025-02-09 04:24:03] Production.INFO: ==17557== Lock acquired, processing the job...
[2025-02-09 04:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434585') start
[2025-02-09 04:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:24:04] Production.INFO: Account Balance End.
[2025-02-09 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434585') end
[2025-02-09 04:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:24:04] Production.INFO: 1
[2025-02-09 04:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:24:04] Production.INFO: ==17551== Releasing lock...
[2025-02-09 04:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:24:04] Production.INFO: ==17559== Releasing lock...
[2025-02-09 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:24:04] Production.INFO: ==17555== Releasing lock...
[2025-02-09 04:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:24:04] Production.ERROR: done
[2025-02-09 04:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:24:04] Production.ERROR: done
[2025-02-09 04:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:24:05
[end_date_ymd] => 2025-02-09 04:24:05
[RateCDR] => 1
)
[2025-02-09 04:24: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` >= '2025-02-09 01:24:05' and `end` < '2025-02-09 04:24: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 ,'')
[2025-02-09 04:24:11] Production.ERROR: CronJobId end10
[2025-02-09 04:24:11] Production.INFO: ==17553== Releasing lock...
[2025-02-09 04:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:24:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:24:14] Production.INFO: call_cost start
[2025-02-09 04:24:14] Production.INFO: call_cost end
[2025-02-09 04:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:24:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:24:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:24:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:24:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:24:14] Production.INFO: ==17549== Releasing lock...
[2025-02-09 04:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:24:19] Production.INFO: count ==527
[2025-02-09 04:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:24:05 - End Time 2025-02-09 04:24:05
[2025-02-09 04:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434588', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434588', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434588', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434588', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:24:19] Production.INFO: ProcessCDR(1,14434588,1,1,2)
[2025-02-09 04:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434588', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434588', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:24:22] Production.INFO: ==17557== Releasing lock...
[2025-02-09 04:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:24:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:25:01] Production.INFO: ==17615== Lock acquired, processing the job...
[2025-02-09 09:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:25:01] Production.INFO: neon service started
[2025-02-09 09:25:01] Production.INFO: neon service started
[2025-02-09 09:25:01] Production.INFO: ==17615== Releasing lock...
[2025-02-09 09:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:25:02] Production.INFO: ==17617== Lock acquired, processing the job...
[2025-02-09 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:25:02] Production.INFO: ==17619== Lock acquired, processing the job...
[2025-02-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:25:02] Production.INFO: ==17619== Releasing lock...
[2025-02-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:25:02] Production.INFO: ==17617== Releasing lock...
[2025-02-09 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:25:03] Production.INFO: ==17628== Lock acquired, processing the job...
[2025-02-09 04:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:25:03] Production.INFO: ==17623== Lock acquired, processing the job...
[2025-02-09 04:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:25:03] Production.INFO: ==17625== Lock acquired, processing the job...
[2025-02-09 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:25:03] Production.INFO: ==17634== Lock acquired, processing the job...
[2025-02-09 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:25:03] Production.INFO: ==17632== Lock acquired, processing the job...
[2025-02-09 04:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:25:03] Production.INFO: ==17630== Lock acquired, processing the job...
[2025-02-09 04:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:25:03] Production.INFO: count ==21
[2025-02-09 04:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:25:03] Production.INFO: count ==21
[2025-02-09 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434591') start
[2025-02-09 04:25:03] Production.INFO: ==17625== Releasing lock...
[2025-02-09 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:25:03] Production.INFO: Account Balance Start.
[2025-02-09 04:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:25:03] Production.INFO: 117
[2025-02-09 04:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434591') end
[2025-02-09 04:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:25:03] Production.INFO: 1
[2025-02-09 04:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:25:04] Production.INFO: ==17634== Releasing lock...
[2025-02-09 04:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:25:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:25:04] Production.ERROR: done
[2025-02-09 04:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:25:04] Production.INFO: Total Charge 0
[2025-02-09 04:25:04] Production.INFO: CreateAllLog End
[2025-02-09 04:25:04] Production.ERROR: done
[2025-02-09 04:25:04] Production.INFO: Account Balance End.
[2025-02-09 04:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:25:04] Production.INFO: ==17630== Releasing lock...
[2025-02-09 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:25:05
[end_date_ymd] => 2025-02-09 04:25:05
[RateCDR] => 1
)
[2025-02-09 04:25: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` >= '2025-02-09 01:25:05' and `end` < '2025-02-09 04:25: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 ,'')
[2025-02-09 04:25:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-02-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-09 04:25:10] Production.ERROR: CronJobId end10
[2025-02-09 04:25:10] Production.INFO: ==17628== Releasing lock...
[2025-02-09 04:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:25:13] Production.INFO: call_cost start
[2025-02-09 04:25:13] Production.INFO: call_cost end
[2025-02-09 04:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:25:14] Production.INFO: ==17623== Releasing lock...
[2025-02-09 04:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:25:17] Production.INFO: count ==526
[2025-02-09 04:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:25:05 - End Time 2025-02-09 04:25:05
[2025-02-09 04:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434593', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434593', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434593', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434593', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:25:18] Production.INFO: ProcessCDR(1,14434593,1,1,2)
[2025-02-09 04:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434593', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434593', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:25:22] Production.INFO: ==17632== Releasing lock...
[2025-02-09 04:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:25:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:26:01] Production.INFO: ==17688== Lock acquired, processing the job...
[2025-02-09 09:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:26:01] Production.INFO: neon service started
[2025-02-09 09:26:01] Production.INFO: neon service started
[2025-02-09 09:26:01] Production.INFO: ==17688== Releasing lock...
[2025-02-09 09:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:26:02] Production.INFO: ==17690== Lock acquired, processing the job...
[2025-02-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:26:02] Production.INFO: ==17690== Releasing lock...
[2025-02-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:26:02] Production.INFO: ==17692== Lock acquired, processing the job...
[2025-02-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:26:02] Production.INFO: ==17692== Releasing lock...
[2025-02-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:26:03] Production.INFO: ==17698== Lock acquired, processing the job...
[2025-02-09 04:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:26:03] Production.INFO: ==17696== Lock acquired, processing the job...
[2025-02-09 04:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:26:03] Production.INFO: ==17702== Lock acquired, processing the job...
[2025-02-09 04:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:26:03] Production.INFO: Account Balance Start.
[2025-02-09 04:26:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:26:03] Production.INFO: 117
[2025-02-09 04:26:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:26:03] Production.INFO: ==17700== Lock acquired, processing the job...
[2025-02-09 04:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:26:03] Production.INFO: ==17698== Releasing lock...
[2025-02-09 04:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:26:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:26:03] Production.INFO: ==17704== Lock acquired, processing the job...
[2025-02-09 04:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:26:03] Production.INFO: Total Charge 0
[2025-02-09 04:26:03] Production.INFO: ==17706== Lock acquired, processing the job...
[2025-02-09 04:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:26:03] Production.INFO: CreateAllLog End
[2025-02-09 04:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:26:03] Production.INFO: Account Balance End.
[2025-02-09 04:26:03] Production.INFO: count ==21
[2025-02-09 04:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:26:04] Production.INFO: ==17702== Releasing lock...
[2025-02-09 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:26:04] Production.INFO: count ==21
[2025-02-09 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434597') start
[2025-02-09 04:26:04] Production.ERROR: done
[2025-02-09 04:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434597') end
[2025-02-09 04:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:26:04] Production.INFO: 1
[2025-02-09 04:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:26:04] Production.INFO: ==17706== Releasing lock...
[2025-02-09 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:26:04] Production.ERROR: done
[2025-02-09 04:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:26:05
[end_date_ymd] => 2025-02-09 04:26:05
[RateCDR] => 1
)
[2025-02-09 04:26: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` >= '2025-02-09 01:26:05' and `end` < '2025-02-09 04:26: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 ,'')
[2025-02-09 04:26:12] Production.ERROR: CronJobId end10
[2025-02-09 04:26:12] Production.INFO: ==17700== Releasing lock...
[2025-02-09 04:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:26:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:26:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:26:14] Production.INFO: call_cost start
[2025-02-09 04:26:14] Production.INFO: call_cost end
[2025-02-09 04:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:26:15] Production.INFO: ==17696== Releasing lock...
[2025-02-09 04:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:26:19] Production.INFO: count ==526
[2025-02-09 04:26:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:26:05 - End Time 2025-02-09 04:26:05
[2025-02-09 04:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434598', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434598', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434598', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434598', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:26:19] Production.INFO: ProcessCDR(1,14434598,1,1,2)
[2025-02-09 04:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434598', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434598', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:26:22] Production.INFO: ==17704== Releasing lock...
[2025-02-09 04:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:26:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:27:02] Production.INFO: ==17760== Lock acquired, processing the job...
[2025-02-09 09:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:27:02] Production.INFO: neon service started
[2025-02-09 09:27:02] Production.INFO: neon service started
[2025-02-09 09:27:02] Production.INFO: ==17760== Releasing lock...
[2025-02-09 09:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:27:02] Production.INFO: ==17762== Lock acquired, processing the job...
[2025-02-09 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:27:02] Production.INFO: ==17762== Releasing lock...
[2025-02-09 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:27:03] Production.INFO: ==17765== Lock acquired, processing the job...
[2025-02-09 09:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:27:03] Production.INFO: ==17765== Releasing lock...
[2025-02-09 09:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:27:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:27:03] Production.INFO: ==17767== Lock acquired, processing the job...
[2025-02-09 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:27:03] Production.INFO: ==17773== Lock acquired, processing the job...
[2025-02-09 04:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:27:03] Production.INFO: ==17769== Lock acquired, processing the job...
[2025-02-09 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:27:03] Production.INFO: ==17777== Lock acquired, processing the job...
[2025-02-09 04:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:27:03] Production.INFO: Account Balance Start.
[2025-02-09 04:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:27:03] Production.INFO: ==17771== Lock acquired, processing the job...
[2025-02-09 04:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:27:03] Production.INFO: 117
[2025-02-09 04:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:27:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:27:04] Production.INFO: Total Charge 0
[2025-02-09 04:27:04] Production.INFO: ==17775== Lock acquired, processing the job...
[2025-02-09 04:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:27:04] Production.INFO: CreateAllLog End
[2025-02-09 04:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:27:04] Production.INFO: Account Balance End.
[2025-02-09 04:27:04] Production.INFO: count ==21
[2025-02-09 04:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:27:04] Production.INFO: ==17773== Releasing lock...
[2025-02-09 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:27:04] Production.INFO: count ==21
[2025-02-09 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434601') start
[2025-02-09 04:27:04] Production.INFO: ==17769== Releasing lock...
[2025-02-09 04:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434601') end
[2025-02-09 04:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:27:04] Production.INFO: 1
[2025-02-09 04:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:27:04] Production.ERROR: done
[2025-02-09 04:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:27:04] Production.INFO: ==17777== Releasing lock...
[2025-02-09 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:27:04] Production.ERROR: done
[2025-02-09 04:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:27:05
[end_date_ymd] => 2025-02-09 04:27:05
[RateCDR] => 1
)
[2025-02-09 04:27: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` >= '2025-02-09 01:27:05' and `end` < '2025-02-09 04:27: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 ,'')
[2025-02-09 04:27:11] Production.ERROR: CronJobId end10
[2025-02-09 04:27:11] Production.INFO: ==17771== Releasing lock...
[2025-02-09 04:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:27:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:27:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:27:14] Production.INFO: call_cost start
[2025-02-09 04:27:14] Production.INFO: call_cost end
[2025-02-09 04:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:27:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:27:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:27:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:27:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:27:15] Production.INFO: ==17767== Releasing lock...
[2025-02-09 04:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:27:18] Production.INFO: count ==526
[2025-02-09 04:27:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:27:05 - End Time 2025-02-09 04:27:05
[2025-02-09 04:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434603', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434603', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434603', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434603', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:27:18] Production.INFO: ProcessCDR(1,14434603,1,1,2)
[2025-02-09 04:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434603', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434603', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:27:21] Production.INFO: ==17775== Releasing lock...
[2025-02-09 04:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:27:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:28:01] Production.INFO: ==17835== Lock acquired, processing the job...
[2025-02-09 09:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:28:01] Production.INFO: neon service started
[2025-02-09 09:28:01] Production.INFO: neon service started
[2025-02-09 09:28:01] Production.INFO: ==17835== Releasing lock...
[2025-02-09 09:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:28:02] Production.INFO: ==17840== Lock acquired, processing the job...
[2025-02-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:28:02] Production.INFO: ==17840== Releasing lock...
[2025-02-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:28:02] Production.INFO: ==17837== Lock acquired, processing the job...
[2025-02-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:28:02] Production.INFO: ==17837== Releasing lock...
[2025-02-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:28:03] Production.INFO: ==17850== Lock acquired, processing the job...
[2025-02-09 04:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:28:03] Production.INFO: ==17852== Lock acquired, processing the job...
[2025-02-09 04:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:28:03] Production.ERROR: done
[2025-02-09 04:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:28:03] Production.INFO: ==17842== Lock acquired, processing the job...
[2025-02-09 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:28:03] Production.INFO: ==17844== Lock acquired, processing the job...
[2025-02-09 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:28:03] Production.INFO: ==17846== Lock acquired, processing the job...
[2025-02-09 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:28:03] Production.INFO: count ==21
[2025-02-09 04:28:03] Production.INFO: ==17848== Lock acquired, processing the job...
[2025-02-09 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:28:03] Production.INFO: count ==21
[2025-02-09 04:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434604') start
[2025-02-09 04:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:28:04] Production.INFO: Account Balance Start.
[2025-02-09 04:28:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:28:04] Production.ERROR: done
[2025-02-09 04:28:04] Production.INFO: 117
[2025-02-09 04:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:28:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434604') end
[2025-02-09 04:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:28:04] Production.INFO: 1
[2025-02-09 04:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:28:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:28:04] Production.INFO: Total Charge 0
[2025-02-09 04:28:04] Production.INFO: ==17852== Releasing lock...
[2025-02-09 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:28:04] Production.INFO: CreateAllLog End
[2025-02-09 04:28:04] Production.INFO: ==17844== Releasing lock...
[2025-02-09 04:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:28:04] Production.INFO: Account Balance End.
[2025-02-09 04:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:28:04] Production.INFO: ==17848== Releasing lock...
[2025-02-09 04:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:28:05
[end_date_ymd] => 2025-02-09 04:28:05
[RateCDR] => 1
)
[2025-02-09 04:28: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` >= '2025-02-09 01:28:05' and `end` < '2025-02-09 04:28: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 ,'')
[2025-02-09 04:28:11] Production.ERROR: CronJobId end10
[2025-02-09 04:28:11] Production.INFO: ==17846== Releasing lock...
[2025-02-09 04:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:28:13] Production.INFO: call_cost start
[2025-02-09 04:28:13] Production.INFO: call_cost end
[2025-02-09 04:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:28:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:28:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:28:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:28:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:28:14] Production.INFO: ==17842== Releasing lock...
[2025-02-09 04:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:28:19] Production.INFO: count ==526
[2025-02-09 04:28:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:28:05 - End Time 2025-02-09 04:28:05
[2025-02-09 04:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434608', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434608', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434608', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434608', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:28:19] Production.INFO: ProcessCDR(1,14434608,1,1,2)
[2025-02-09 04:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434608', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434608', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:28:22] Production.INFO: ==17850== Releasing lock...
[2025-02-09 04:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:28:22] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 09:29:02] Production.INFO: ==17945== Lock acquired, processing the job...
[2025-02-09 09:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:29:02] Production.INFO: neon service started
[2025-02-09 09:29:02] Production.INFO: neon service started
[2025-02-09 09:29:02] Production.INFO: ==17945== Releasing lock...
[2025-02-09 09:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:29:02] Production.INFO: ==17950== Lock acquired, processing the job...
[2025-02-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:29:02] Production.INFO: ==17950== Releasing lock...
[2025-02-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:29:02] Production.INFO: ==17948== Lock acquired, processing the job...
[2025-02-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:29:03] Production.INFO: ==17948== Releasing lock...
[2025-02-09 04:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:29:03] Production.INFO: ==17954== Lock acquired, processing the job...
[2025-02-09 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:29:04] Production.INFO: ==17958== Lock acquired, processing the job...
[2025-02-09 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:29:04] Production.INFO: ==17960== Lock acquired, processing the job...
[2025-02-09 04:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:29:04] Production.INFO: Account Balance Start.
[2025-02-09 04:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:29:04] Production.INFO: 117
[2025-02-09 04:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:29:04] Production.INFO: Total Charge 0
[2025-02-09 04:29:04] Production.INFO: CreateAllLog End
[2025-02-09 04:29:04] Production.INFO: ==17954== Releasing lock...
[2025-02-09 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:29:04] Production.INFO: ==17952== Lock acquired, processing the job...
[2025-02-09 04:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:29:04] Production.INFO: ==17956== Lock acquired, processing the job...
[2025-02-09 04:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:29:04] Production.ERROR: done
[2025-02-09 04:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:29:04] Production.INFO: ==17962== Lock acquired, processing the job...
[2025-02-09 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:29:04] Production.INFO: Account Balance End.
[2025-02-09 04:29:04] Production.ERROR: done
[2025-02-09 04:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:29:04] Production.INFO: ==17958== Releasing lock...
[2025-02-09 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:29:04] Production.INFO: count ==21
[2025-02-09 04:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:29:04] Production.INFO: count ==21
[2025-02-09 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434613') start
[2025-02-09 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434613') end
[2025-02-09 04:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:29:04] Production.INFO: 1
[2025-02-09 04:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:29:05] Production.INFO: ==17962== Releasing lock...
[2025-02-09 04:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:29:05
[end_date_ymd] => 2025-02-09 04:29:05
[RateCDR] => 1
)
[2025-02-09 04:29: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` >= '2025-02-09 01:29:05' and `end` < '2025-02-09 04:29: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 ,'')
[2025-02-09 04:29:13] Production.ERROR: CronJobId end10
[2025-02-09 04:29:13] Production.INFO: ==17956== Releasing lock...
[2025-02-09 04:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:29:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:29:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:29:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:29:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:29:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:29:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:29:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:29:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:29:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:29:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:29:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:29:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:29:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:29:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:29:16] Production.INFO: call_cost start
[2025-02-09 04:29:16] Production.INFO: call_cost end
[2025-02-09 04:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:29:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:29:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:29:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:29:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:29:16] Production.INFO: ==17952== Releasing lock...
[2025-02-09 04:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:29:19] Production.INFO: count ==523
[2025-02-09 04:29:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:29:05 - End Time 2025-02-09 04:29:05
[2025-02-09 04:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434612', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434612', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434612', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434612', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:29:19] Production.INFO: ProcessCDR(1,14434612,1,1,2)
[2025-02-09 04:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434612', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434612', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:29:24] Production.INFO: ==17960== Releasing lock...
[2025-02-09 04:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:29:24] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:30:01] Production.INFO: ==18019== Lock acquired, processing the job...
[2025-02-09 09:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:30:01] Production.INFO: neon service started
[2025-02-09 09:30:01] Production.INFO: neon service started
[2025-02-09 09:30:01] Production.INFO: ==18019== Releasing lock...
[2025-02-09 09:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:30:02] Production.INFO: ==18022== Lock acquired, processing the job...
[2025-02-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:30:02] Production.INFO: ==18022== Releasing lock...
[2025-02-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:30:02] Production.INFO: ==18024== Lock acquired, processing the job...
[2025-02-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:30:02] Production.INFO: ==18024== Releasing lock...
[2025-02-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:30:03] Production.INFO: ==18032== Lock acquired, processing the job...
[2025-02-09 04:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:30:03] Production.INFO: ==18038== Lock acquired, processing the job...
[2025-02-09 04:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 04:30:03] Production.INFO: ==18026== Lock acquired, processing the job...
[2025-02-09 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 04:30:03] Production.INFO: ==18040== Lock acquired, processing the job...
[2025-02-09 04:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:30:03] Production.INFO: ==18028== Lock acquired, processing the job...
[2025-02-09 04:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:30:04] Production.INFO: ==18030== Lock acquired, processing the job...
[2025-02-09 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:30:04] Production.INFO: count ==21
[2025-02-09 04:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:30:04] Production.INFO: ==18034== Lock acquired, processing the job...
[2025-02-09 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:30:04] Production.INFO: ==18036== Lock acquired, processing the job...
[2025-02-09 04:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:30:04] Production.INFO: count ==21
[2025-02-09 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434614') start
[2025-02-09 04:30:04] Production.ERROR: done
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:30:04] Production.ERROR: CronJob PID - 18028
[2025-02-09 04:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 04:30:04] Production.ERROR: CronJob ID - 5
[2025-02-09 04:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 04:30:00
[2025-02-09 04:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:30:04] Production.ERROR: CronJob PID - 18030
[2025-02-09 04:30:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 04:30:04] Production.ERROR: CronJob ID - 7
[2025-02-09 04:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 04:30:00
[2025-02-09 04:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:30:04] Production.ERROR: CronJob PID - 18032
[2025-02-09 04:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 04:30:04] Production.ERROR: CronJob ID - 10
[2025-02-09 04:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 04:30:00
[2025-02-09 04:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:30:04] Production.ERROR: CronJob PID - 18034
[2025-02-09 04:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 04:30:04] Production.ERROR: CronJob ID - 12
[2025-02-09 04:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 04:30:00
[2025-02-09 04:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:30:04] Production.ERROR: CronJob PID - 18036
[2025-02-09 04:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 04:30:04] Production.ERROR: CronJob ID - 16
[2025-02-09 04:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 04:30:00
[2025-02-09 04:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:30:04] Production.ERROR: CronJob PID - 18038
[2025-02-09 04:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-09 04:30:04] Production.ERROR: CronJob ID - 17
[2025-02-09 04:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 04:30:00
[2025-02-09 04:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:30:04] Production.ERROR: CronJob PID - 18040
[2025-02-09 04:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 04:30:04] Production.ERROR: CronJob ID - 19
[2025-02-09 04:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 04:30:00
[2025-02-09 04:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434614') end
[2025-02-09 04:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:30:04] Production.INFO: 1
[2025-02-09 04:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 04:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434617', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 04:30:04] Production.INFO: Account Balance Start.
[2025-02-09 04:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 04:30:04] Production.INFO: ==18026== Releasing lock...
[2025-02-09 04:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 04:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 04:30:04] Production.INFO: 117
[2025-02-09 04:30:04] Production.INFO: ==18040== Releasing lock...
[2025-02-09 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:30:04] Production.INFO: Total Charge 0
[2025-02-09 04:30:04] Production.INFO: ==18030== Releasing lock...
[2025-02-09 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:30:04] Production.INFO: CreateAllLog End
[2025-02-09 04:30:04] Production.ERROR: done
[2025-02-09 04:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:30:05] Production.ERROR: done
[2025-02-09 04:30:05] Production.INFO: Account Balance End.
[2025-02-09 04:30:05] Production.ERROR: CronJobId end 12
[2025-02-09 04:30:05] Production.INFO: ==18034== Releasing lock...
[2025-02-09 04:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:30:06
[end_date_ymd] => 2025-02-09 04:30:06
[RateCDR] => 1
)
[2025-02-09 04:30: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-02-09 01:30:06' and `end` < '2025-02-09 04:30: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-02-09 04:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434617', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 04:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 04:30:08] Production.INFO: ProcessCDR(1,14434617,1,1,2)
[2025-02-09 04:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434617,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434617,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:30:09] Production.INFO: ==18038== Releasing lock...
[2025-02-09 04:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 04:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 04:30:14] Production.ERROR: CronJobId end10
[2025-02-09 04:30:14] Production.INFO: ==18032== Releasing lock...
[2025-02-09 04:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:30:17] Production.INFO: call_cost start
[2025-02-09 04:30:17] Production.INFO: call_cost end
[2025-02-09 04:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:30:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:30:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:30:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:30:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:30:18] Production.INFO: ==18028== Releasing lock...
[2025-02-09 04:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:30:19] Production.INFO: count ==520
[2025-02-09 04:30:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:30:06 - End Time 2025-02-09 04:30:06
[2025-02-09 04:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434619', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434619', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434619', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434619', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:30:19] Production.INFO: ProcessCDR(1,14434619,1,1,2)
[2025-02-09 04:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434619', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434619', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:30:22] Production.INFO: ==18036== Releasing lock...
[2025-02-09 04:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:30:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:31:02] Production.INFO: ==18096== Lock acquired, processing the job...
[2025-02-09 09:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:31:02] Production.INFO: neon service started
[2025-02-09 09:31:02] Production.INFO: neon service started
[2025-02-09 09:31:02] Production.INFO: ==18096== Releasing lock...
[2025-02-09 09:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:31:02] Production.INFO: ==18100== Lock acquired, processing the job...
[2025-02-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:31:02] Production.INFO: ==18100== Releasing lock...
[2025-02-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:31:02] Production.INFO: ==18098== Lock acquired, processing the job...
[2025-02-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:31:02] Production.INFO: ==18098== Releasing lock...
[2025-02-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:31:03] Production.INFO: ==18103== Lock acquired, processing the job...
[2025-02-09 04:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:31:03] Production.INFO: ==18109== Lock acquired, processing the job...
[2025-02-09 04:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:31:03] Production.INFO: ==18105== Lock acquired, processing the job...
[2025-02-09 04:31:03] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts#
[2025-02-09 04:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:31:04] Production.INFO: ==18107== Lock acquired, processing the job...
[2025-02-09 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:31:04] Production.INFO: ==18111== Lock acquired, processing the job...
[2025-02-09 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:31:04] Production.INFO: ==18113== Lock acquired, processing the job...
[2025-02-09 04:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:31:04] Production.INFO: Call prc_getBillingAccounts(1,2025-02-09,'','0')
[2025-02-09 04:31:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 65
[NextInvoiceDate] => 2025-02-09
[AccountName] => AOPG Inc.
[ServiceID] => 0
)
)
[2025-02-09 04:31:04] Production.INFO: ==18115== Lock acquired, processing the job...
[2025-02-09 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:31:04] Production.INFO: AccountID =65 FirstInvoiceSend 0
[2025-02-09 04:31:04] Production.INFO: LastInvoiceDate 2025-01-09 NextInvoiceDate 2025-02-09
[2025-02-09 04:31:04] Production.INFO: LastChargeDate 2025-01-09 NextChargeDate 2025-02-08
[2025-02-09 04:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:31:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-02-09 04:31:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-02-09 04:31:04] Production.INFO: Invoice::sendInvoice(1,65,2025-01-09,2025-02-09,billing@onswitchit.ca)
[2025-02-09 04:31:04] Production.INFO: start Date =2025-01-09 EndDate =2025-02-08 23:59:59
[2025-02-09 04:31:04] Production.INFO: Account Balance Start.
[2025-02-09 04:31:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:31:04] Production.INFO: 117
[2025-02-09 04:31:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-02-09 04:31:04] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-02-09 04:31:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:31:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-02-09 04:31:04] Production.INFO: AlreadyBilled
[2025-02-09 04:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:31:04] Production.INFO: count ==21
[2025-02-09 04:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:31:04] Production.INFO: count ==21
[2025-02-09 04:31:04] Production.INFO: original start date ==>2025-01-09 changed start date ==>2025-01-09 00:00:00 original end date ==>2025-02-08 23:59:59 changed end date ==>2025-02-08 23:59:59
[2025-02-09 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434624') start
[2025-02-09 04:31:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.39000000
[2025-02-09 04:31:04] Production.INFO: Invoice::getAccountUsageTotal(1,65,2025-01-09,2025-02-08 23:59:59)
[2025-02-09 04:31:04] Production.INFO: TotalCharges - 0.39
[2025-02-09 04:31:04] Production.INFO: ==18107== Releasing lock...
[2025-02-09 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:31:04] Production.INFO: TotalUsageCharges - 0.39
[2025-02-09 04:31:04] Production.INFO: Total Charge 0
[2025-02-09 04:31:04] Production.INFO: CreateAllLog End
[2025-02-09 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434624') end
[2025-02-09 04:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:31:04] Production.INFO: 1
[2025-02-09 04:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:31:04] Production.INFO: Usage Over
[2025-02-09 04:31:04] Production.INFO: Call prc_getAccountSubscription(65,0)
[2025-02-09 04:31:04] Production.INFO: SUBSCRIPTION 5
[2025-02-09 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-02-09 04:31:04] Production.INFO: SubscriptionID - 1
[2025-02-09 04:31:04] Production.INFO: isAdvanceSubscription - 1
[2025-02-09 04:31:04] Production.INFO: ==18115== Releasing lock...
[2025-02-09 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:31:04] Production.ERROR: done
[2025-02-09 04:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08
[2025-02-09 04:31:04] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00
[2025-02-09 04:31:04] Production.INFO: EndDate =2025-02-08 00:00:00
[2025-02-09 04:31:04] Production.INFO: NewEndDate1 =2025-02-09
[2025-02-09 04:31:04] Production.INFO: SubscriptionDate
[2025-02-09 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-02-09
[EndDate] => 2025-03-08 00:00:00
[AlreadyCharged] => 0
)
[2025-02-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09
[2025-02-09 04:31:04] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00
[2025-02-09 04:31:04] Production.INFO: AccountSubscriptionID - 229 === 2018-02-16=====2026-02-09
[2025-02-09 04:31:04] Production.INFO: regular Advance Subscription
[2025-02-09 04:31:04] Production.INFO: First Time False 2018-02-16 2025-02-09
[2025-02-09 04:31:04] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09
[2025-02-09 04:31:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(229,2025-02-09,2025-03-08 00:00:00,,0)
[2025-02-09 04:31:04] Production.INFO: SubscriptionCharge - 7
[2025-02-09 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-02-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,1,2025-02-09,2025-03-08 00:00:00,License for a Pay As You Go Cloud Phone extension,21,7,3,229)
[2025-02-09 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-02-09 04:31:04] Production.INFO: DiscountType
[2025-02-09 04:31:04] Production.INFO: SubscriptionCharge 21
[2025-02-09 04:31:04] Production.INFO: New SubscriptionCharge 21
[2025-02-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 21.00
[2025-02-09 04:31:04] Production.INFO: ============================Subscription End =================
[2025-02-09 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-02-09 04:31:04] Production.INFO: SubscriptionID - 12
[2025-02-09 04:31:04] Production.INFO: isAdvanceSubscription - 12
[2025-02-09 04:31:04] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08
[2025-02-09 04:31:04] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00
[2025-02-09 04:31:04] Production.INFO: EndDate =2025-02-08 00:00:00
[2025-02-09 04:31:04] Production.INFO: NewEndDate1 =2025-02-09
[2025-02-09 04:31:04] Production.INFO: SubscriptionDate
[2025-02-09 04:31:04] Production.INFO: Array
(
[StartDate] => 2025-02-09
[EndDate] => 2025-03-08 00:00:00
[AlreadyCharged] => 0
)
[2025-02-09 04:31:04] Production.ERROR: done
[2025-02-09 04:31:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09
[2025-02-09 04:31:04] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00
[2025-02-09 04:31:04] Production.INFO: AccountSubscriptionID - 230 === 2018-02-16=====2026-02-09
[2025-02-09 04:31:04] Production.INFO: regular Advance Subscription
[2025-02-09 04:31:04] Production.INFO: First Time False 2018-02-16 2025-02-09
[2025-02-09 04:31:04] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09
[2025-02-09 04:31:04] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-09 04:31:04] Production.INFO: AccountSubscription::getSubscriptionAmount(230,2025-02-09,2025-03-08 00:00:00,,0)
[2025-02-09 04:31:04] Production.INFO: SubscriptionCharge - 0
[2025-02-09 04:31:04] Production.INFO: Already Invoice Subscription 0
[2025-02-09 04:31:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-02-09,2025-03-08 00:00:00,Included DID (16473177297),0,0,1,230)
[2025-02-09 04:31:04] Production.INFO: DiscountAmount 0.000000
[2025-02-09 04:31:04] Production.INFO: DiscountType
[2025-02-09 04:31:04] Production.INFO: SubscriptionCharge 0
[2025-02-09 04:31:04] Production.INFO: New SubscriptionCharge 0
[2025-02-09 04:31:04] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-02-09 04:31:04] Production.INFO: ============================Subscription End =================
[2025-02-09 04:31:04] Production.INFO: ============================Subscription Start =================
[2025-02-09 04:31:04] Production.INFO: SubscriptionID - 12
[2025-02-09 04:31:04] Production.INFO: Account Balance End.
[2025-02-09 04:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:31:04] Production.INFO: ==18111== Releasing lock...
[2025-02-09 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:31:04] Production.INFO: isAdvanceSubscription - 12
[2025-02-09 04:31:05] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08
[2025-02-09 04:31:05] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00
[2025-02-09 04:31:05] Production.INFO: EndDate =2025-02-08 00:00:00
[2025-02-09 04:31:05] Production.INFO: NewEndDate1 =2025-02-09
[2025-02-09 04:31:05] Production.INFO: SubscriptionDate
[2025-02-09 04:31:05] Production.INFO: Array
(
[StartDate] => 2025-02-09
[EndDate] => 2025-03-08 00:00:00
[AlreadyCharged] => 0
)
[2025-02-09 04:31:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09
[2025-02-09 04:31:05] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00
[2025-02-09 04:31:05] Production.INFO: AccountSubscriptionID - 231 === 2018-02-16=====2026-02-09
[2025-02-09 04:31:05] Production.INFO: regular Advance Subscription
[2025-02-09 04:31:05] Production.INFO: First Time False 2018-02-16 2025-02-09
[2025-02-09 04:31:05] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09
[2025-02-09 04:31:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-09 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(231,2025-02-09,2025-03-08 00:00:00,,0)
[2025-02-09 04:31:05] Production.INFO: SubscriptionCharge - 0
[2025-02-09 04:31:05] Production.INFO: Already Invoice Subscription 0
[2025-02-09 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-02-09,2025-03-08 00:00:00,Included DID (17134010840),0,0,1,231)
[2025-02-09 04:31:05] Production.INFO: DiscountAmount 0.000000
[2025-02-09 04:31:05] Production.INFO: DiscountType
[2025-02-09 04:31:05] Production.INFO: SubscriptionCharge 0
[2025-02-09 04:31:05] Production.INFO: New SubscriptionCharge 0
[2025-02-09 04:31:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-02-09 04:31:05] Production.INFO: ============================Subscription End =================
[2025-02-09 04:31:05] Production.INFO: ============================Subscription Start =================
[2025-02-09 04:31:05] Production.INFO: SubscriptionID - 12
[2025-02-09 04:31:05] Production.INFO: isAdvanceSubscription - 12
[2025-02-09 04:31:05] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08
[2025-02-09 04:31:05] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00
[2025-02-09 04:31:05] Production.INFO: EndDate =2025-02-08 00:00:00
[2025-02-09 04:31:05] Production.INFO: NewEndDate1 =2025-02-09
[2025-02-09 04:31:05] Production.INFO: SubscriptionDate
[2025-02-09 04:31:05] Production.INFO: Array
(
[StartDate] => 2025-02-09
[EndDate] => 2025-03-08 00:00:00
[AlreadyCharged] => 0
)
[2025-02-09 04:31:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09
[2025-02-09 04:31:05] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00
[2025-02-09 04:31:05] Production.INFO: AccountSubscriptionID - 232 === 2018-02-16=====2026-02-09
[2025-02-09 04:31:05] Production.INFO: regular Advance Subscription
[2025-02-09 04:31:05] Production.INFO: First Time False 2018-02-16 2025-02-09
[2025-02-09 04:31:05] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09
[2025-02-09 04:31:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-09 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(232,2025-02-09,2025-03-08 00:00:00,,0)
[2025-02-09 04:31:05] Production.INFO: SubscriptionCharge - 0
[2025-02-09 04:31:05] Production.INFO: Already Invoice Subscription 0
[2025-02-09 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-02-09,2025-03-08 00:00:00,Included DID (18887829336),0,0,1,232)
[2025-02-09 04:31:05] Production.INFO: DiscountAmount 0.000000
[2025-02-09 04:31:05] Production.INFO: DiscountType
[2025-02-09 04:31:05] Production.INFO: SubscriptionCharge 0
[2025-02-09 04:31:05] Production.INFO: New SubscriptionCharge 0
[2025-02-09 04:31:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-02-09 04:31:05] Production.INFO: ============================Subscription End =================
[2025-02-09 04:31:05] Production.INFO: ============================Subscription Start =================
[2025-02-09 04:31:05] Production.INFO: SubscriptionID - 4
[2025-02-09 04:31:05] Production.INFO: isAdvanceSubscription - 4
[2025-02-09 04:31:05] Production.INFO: SubscriptionStartDate =2025-02-09 - SubscriptionEndDate = 2025-03-08
[2025-02-09 04:31:05] Production.INFO: NewNextChargeDate =2025-03-08 00:00:00
[2025-02-09 04:31:05] Production.INFO: EndDate =2025-02-08 00:00:00
[2025-02-09 04:31:05] Production.INFO: NewEndDate1 =2025-02-09
[2025-02-09 04:31:05] Production.INFO: SubscriptionDate
[2025-02-09 04:31:05] Production.INFO: Array
(
[StartDate] => 2025-02-09
[EndDate] => 2025-03-08 00:00:00
[AlreadyCharged] => 0
)
[2025-02-09 04:31:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2025-01-09
[2025-02-09 04:31:05] Production.INFO: SubscriptionID - 2025-02-09=====2025-03-08 00:00:00
[2025-02-09 04:31:05] Production.INFO: AccountSubscriptionID - 233 === 2018-02-16=====2026-02-09
[2025-02-09 04:31:05] Production.INFO: regular Advance Subscription
[2025-02-09 04:31:05] Production.INFO: First Time False 2018-02-16 2025-02-09
[2025-02-09 04:31:05] Production.INFO: StartDate 2025-02-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-03-08 00:00:00 AccountSubscription->EndDate 2026-02-09
[2025-02-09 04:31:05] Production.INFO: days diff - 28 subscription days 28 quarter days 90
[2025-02-09 04:31:05] Production.INFO: AccountSubscription::getSubscriptionAmount(233,2025-02-09,2025-03-08 00:00:00,,0)
[2025-02-09 04:31:05] Production.INFO: SubscriptionCharge - 2.5
[2025-02-09 04:31:05] Production.INFO: Already Invoice Subscription 0
[2025-02-09 04:31:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,4,2025-02-09,2025-03-08 00:00:00,e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0),2.5,2.5,1,233)
[2025-02-09 04:31:05] Production.INFO: DiscountAmount 0.000000
[2025-02-09 04:31:05] Production.INFO: DiscountType
[2025-02-09 04:31:05] Production.INFO: SubscriptionCharge 2.5
[2025-02-09 04:31:05] Production.INFO: New SubscriptionCharge 2.5
[2025-02-09 04:31:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-02-09 04:31:05] Production.INFO: ============================Subscription End =================
[2025-02-09 04:31:05] Production.INFO: SUBSCRIPTION Over
[2025-02-09 04:31:05] Production.INFO: Call prc_getAccountOneOffCharge(65,0,2025-01-09,2025-02-09 23:59:59)
[2025-02-09 04:31:05] Production.INFO: AccountOneOffCharge 0
[2025-02-09 04:31:05] Production.INFO: AccountOneOffCharge Over
[2025-02-09 04:31:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-02-09 04:31:05] Production.INFO: New UsageDates 2025-01-09 - 2025-02-08 23:59:59
[2025-02-09 04:31:05] Production.INFO: SubTotal 23.89
[2025-02-09 04:31:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-02-09 04:31:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-02-09 04:31:05] Production.INFO: TotalTax 3.1057
[2025-02-09 04:31:05] Production.INFO: InvoiceGrandTotal 26.9957
[2025-02-09 04:31:05] Production.INFO: InvoiceTaxAmount 3.11
[2025-02-09 04:31:05] Production.INFO: GrandTotal 27
[2025-02-09 04:31:05] Production.INFO: SubTotal 23.89
[2025-02-09 04:31:05] Production.INFO: TotalDue 0.29
[2025-02-09 04:31:05] Production.INFO: Reseller ==> 0
[2025-02-09 04:31:05] Production.INFO: original start date ==>2025-01-09 changed start date ==>2025-01-09 00:00:00 original end date ==>2025-02-08 23:59:59 changed end date ==>2025-02-08 23:59:59
[2025-02-09 04:31:05] Production.INFO: CALL prc_getInvoiceUsage(1,'65','0','1','2025-01-09 00:00:00','2025-02-08 23:59:59',0)
[2025-02-09 04:31:05] Production.INFO: PDF Generation start
[2025-02-09 04:31:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.pdf
[2025-02-09 04:31:05] Production.INFO: On Linux
[2025-02-09 04:31:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:31:06
[end_date_ymd] => 2025-02-09 04:31:06
[RateCDR] => 1
)
[2025-02-09 04:31: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-02-09 01:31:06' and `end` < '2025-02-09 04:31: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-02-09 04:31:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/65/Invoices/2025/02/09/footer-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html" "/var/www/tmp/1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html" "/var/www/tmp/1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.pdf"
[2025-02-09 04:31:07] Production.INFO:
[2025-02-09 04:31:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html
[2025-02-09 04:31:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/02/09/header-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html
[2025-02-09 04:31:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/02/09/footer-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.html
[2025-02-09 04:31:07] Production.INFO: Invoice generation PDF path
[2025-02-09 04:31:07] Production.INFO: PDF fullPath 1/65/Invoices/2025/02/09/Invoice-aopg-inc-inv11502-from-01-09-2025-to-02-08-2025-10437.pdf
[2025-02-09 04:31:07] Production.INFO: Generate Usage File Start
[2025-02-09 04:31:07] Production.INFO: Usage File fullPath 1/65/InvoiceUsageFile/2025/02/09/aopg-inc-09-01-2025-00-00-00-TO-08-02-2025-23-59-59_7673__96f20e10-e6c8-11ef-a2c7-015fa2b09100.csv
[2025-02-09 04:31:08] Production.INFO: Sending Email to Staff over
[2025-02-09 04:31:08] Production.INFO: Email Status 1
[2025-02-09 04:31:08] Production.INFO: Sending Email to Customer
[2025-02-09 04:31:09] Production.INFO: Email Try 10437 1
[2025-02-09 04:31:09] Production.INFO: =========== Email Sending over ===========
[2025-02-09 04:31:09] Production.INFO: =========== Returning as Success =========== AccountID 65
[2025-02-09 04:31:09] Production.INFO: Invoice::sendInvoice done
[2025-02-09 04:31:09] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-02-09 04:31:09] Production.INFO: Invoice Committed AccountID = 65
[2025-02-09 04:31:09] Production.INFO: =========== Updating InvoiceDate ===========
[2025-02-09 04:31:09] Production.INFO: NextInvoice 2025-02-09 2025-03-08
[2025-02-09 04:31:09] Production.INFO: new dates
[2025-02-09 04:31:09] Production.INFO: LastInvoiceDate 2025-02-09 NextInvoiceDate 2025-03-09
[2025-02-09 04:31:09] Production.INFO: LastChargeDate 2025-02-09 NextChargeDate 2025-03-08
[2025-02-09 04:31:09] Production.INFO: =========== Updated InvoiceDate ===========
[2025-02-09 04:31:09] Production.INFO: ========================== Invoice Send End =============================
[2025-02-09 04:31:09] Production.INFO: ========================== Recurring invoice Start =============================
[2025-02-09 04:31:09] Production.INFO: recurring invoices ID
[2025-02-09 04:31:09] Production.INFO:
[2025-02-09 04:31:09] Production.INFO: recurring errorsArray
(
)
[2025-02-09 04:31:09] Production.INFO: ========================== Recurring invoice End =============================
[2025-02-09 04:31:09] Production.INFO: ========================== Job Updated =============================
[2025-02-09 04:31:10] Production.INFO: ========================== Job Email Sent =============================
[2025-02-09 04:31:11] Production.ERROR: **Email Sent Status 1
[2025-02-09 04:31:11] Production.ERROR: **Email Sent message Email has been sent
[2025-02-09 04:31:11] Production.ERROR: CronJobId end6
[2025-02-09 04:31:11] Production.INFO: ==18105== Releasing lock...
[2025-02-09 04:31:11] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-02-09 04:31:11] Production.INFO: 38.25 MB #Memory Used#
[2025-02-09 04:31:14] Production.ERROR: CronJobId end10
[2025-02-09 04:31:14] Production.INFO: ==18109== Releasing lock...
[2025-02-09 04:31:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:31:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:31:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:31:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:31:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:31:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:31:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:31:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:31:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:31:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:31:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:31:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:31:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:31:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:31:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:31:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:31:16] Production.INFO: call_cost start
[2025-02-09 04:31:16] Production.INFO: call_cost end
[2025-02-09 04:31:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:31:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:31:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:31:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:31:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:31:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:31:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:31:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:31:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:31:17] Production.INFO: ==18103== Releasing lock...
[2025-02-09 04:31:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:31:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:31:19] Production.INFO: count ==511
[2025-02-09 04:31:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:31:06 - End Time 2025-02-09 04:31:06
[2025-02-09 04:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434625', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434625', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434625', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434625', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:31:19] Production.INFO: ProcessCDR(1,14434625,1,1,2)
[2025-02-09 04:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434625', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434625', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:31:22] Production.INFO: ==18113== Releasing lock...
[2025-02-09 04:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:31:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:32:01] Production.INFO: ==18190== Lock acquired, processing the job...
[2025-02-09 09:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:32:01] Production.INFO: neon service started
[2025-02-09 09:32:01] Production.INFO: neon service started
[2025-02-09 09:32:01] Production.INFO: ==18190== Releasing lock...
[2025-02-09 09:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:32:01] Production.INFO: ==18195== Lock acquired, processing the job...
[2025-02-09 09:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:32:02] Production.INFO: ==18195== Releasing lock...
[2025-02-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:32:02] Production.INFO: ==18193== Lock acquired, processing the job...
[2025-02-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:32:02] Production.INFO: ==18193== Releasing lock...
[2025-02-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:32:03] Production.INFO: ==18203== Lock acquired, processing the job...
[2025-02-09 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:32:03] Production.INFO: ==18207== Lock acquired, processing the job...
[2025-02-09 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:32:03] Production.INFO: Account Balance Start.
[2025-02-09 04:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:32:03] Production.INFO: 117
[2025-02-09 04:32:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:32:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:32:03] Production.INFO: count ==21
[2025-02-09 04:32:03] Production.INFO: ==18197== Lock acquired, processing the job...
[2025-02-09 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:32:03] Production.INFO: count ==21
[2025-02-09 04:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:32:03] Production.INFO: ==18201== Lock acquired, processing the job...
[2025-02-09 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:32:03] Production.INFO: ==18199== Lock acquired, processing the job...
[2025-02-09 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:32:03] Production.INFO: Total Charge 0
[2025-02-09 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434627') start
[2025-02-09 04:32:03] Production.INFO: ==18205== Lock acquired, processing the job...
[2025-02-09 04:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:32:03] Production.INFO: CreateAllLog End
[2025-02-09 04:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434627') end
[2025-02-09 04:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:32:03] Production.INFO: 1
[2025-02-09 04:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:32:03] Production.INFO: Account Balance End.
[2025-02-09 04:32:03] Production.ERROR: CronJobId end 12
[2025-02-09 04:32:03] Production.INFO: ==18203== Releasing lock...
[2025-02-09 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:32:03] Production.INFO: ==18207== Releasing lock...
[2025-02-09 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:32:04] Production.INFO: ==18199== Releasing lock...
[2025-02-09 04:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:32:04] Production.ERROR: done
[2025-02-09 04:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:32:04] Production.ERROR: done
[2025-02-09 04:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:32:05
[end_date_ymd] => 2025-02-09 04:32:05
[RateCDR] => 1
)
[2025-02-09 04:32: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` >= '2025-02-09 01:32:05' and `end` < '2025-02-09 04:32: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 ,'')
[2025-02-09 04:32:11] Production.ERROR: CronJobId end10
[2025-02-09 04:32:11] Production.INFO: ==18201== Releasing lock...
[2025-02-09 04:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:32:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:32:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:32:13] Production.INFO: call_cost start
[2025-02-09 04:32:13] Production.INFO: call_cost end
[2025-02-09 04:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:32:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:32:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:32:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:32:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:32:14] Production.INFO: ==18197== Releasing lock...
[2025-02-09 04:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:32:18] Production.INFO: count ==511
[2025-02-09 04:32:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:32:05 - End Time 2025-02-09 04:32:05
[2025-02-09 04:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434630', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434630', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434630', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434630', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:32:18] Production.INFO: ProcessCDR(1,14434630,1,1,2)
[2025-02-09 04:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434630', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434630', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:32:21] Production.INFO: ==18205== Releasing lock...
[2025-02-09 04:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:32:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:33:01] Production.INFO: ==18263== Lock acquired, processing the job...
[2025-02-09 09:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:33:02] Production.INFO: neon service started
[2025-02-09 09:33:02] Production.INFO: neon service started
[2025-02-09 09:33:02] Production.INFO: ==18263== Releasing lock...
[2025-02-09 09:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:33:02] Production.INFO: ==18267== Lock acquired, processing the job...
[2025-02-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:33:02] Production.INFO: ==18267== Releasing lock...
[2025-02-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:33:02] Production.INFO: ==18265== Lock acquired, processing the job...
[2025-02-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:33:02] Production.INFO: ==18265== Releasing lock...
[2025-02-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:33:03] Production.INFO: ==18273== Lock acquired, processing the job...
[2025-02-09 04:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:33:03] Production.INFO: ==18278== Lock acquired, processing the job...
[2025-02-09 04:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:33:03] Production.INFO: ==18269== Lock acquired, processing the job...
[2025-02-09 04:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:33:03] Production.INFO: ==18271== Lock acquired, processing the job...
[2025-02-09 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:33:04] Production.INFO: ==18275== Lock acquired, processing the job...
[2025-02-09 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:33:04] Production.INFO: ==18280== Lock acquired, processing the job...
[2025-02-09 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:33:04] Production.ERROR: done
[2025-02-09 04:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:33:04] Production.INFO: Account Balance Start.
[2025-02-09 04:33:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:33:04] Production.INFO: 117
[2025-02-09 04:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:33:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:33:04] Production.INFO: count ==21
[2025-02-09 04:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:33:04] Production.INFO: count ==21
[2025-02-09 04:33:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434632') start
[2025-02-09 04:33:04] Production.ERROR: done
[2025-02-09 04:33:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:33:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:33:04] Production.INFO: Total Charge 0
[2025-02-09 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434632') end
[2025-02-09 04:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:33:04] Production.INFO: 1
[2025-02-09 04:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:33:04] Production.INFO: CreateAllLog End
[2025-02-09 04:33:04] Production.INFO: ==18271== Releasing lock...
[2025-02-09 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:33:04] Production.INFO: ==18280== Releasing lock...
[2025-02-09 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:33:04] Production.INFO: Account Balance End.
[2025-02-09 04:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:33:04] Production.INFO: ==18275== Releasing lock...
[2025-02-09 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:33:05
[end_date_ymd] => 2025-02-09 04:33:05
[RateCDR] => 1
)
[2025-02-09 04:33: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` >= '2025-02-09 01:33:05' and `end` < '2025-02-09 04:33: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 ,'')
[2025-02-09 04:33:11] Production.ERROR: CronJobId end10
[2025-02-09 04:33:11] Production.INFO: ==18273== Releasing lock...
[2025-02-09 04:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:33:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:33:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:33:14] Production.INFO: call_cost start
[2025-02-09 04:33:14] Production.INFO: call_cost end
[2025-02-09 04:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:33:15] Production.INFO: ==18269== Releasing lock...
[2025-02-09 04:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:33:18] Production.INFO: count ==511
[2025-02-09 04:33:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:33:05 - End Time 2025-02-09 04:33:05
[2025-02-09 04:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434635', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434635', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434635', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434635', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:33:18] Production.INFO: ProcessCDR(1,14434635,1,1,2)
[2025-02-09 04:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434635', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434635', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:33:21] Production.INFO: ==18278== Releasing lock...
[2025-02-09 04:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:33:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:34:01] Production.INFO: ==18340== Lock acquired, processing the job...
[2025-02-09 09:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:34:01] Production.INFO: neon service started
[2025-02-09 09:34:01] Production.INFO: neon service started
[2025-02-09 09:34:01] Production.INFO: ==18340== Releasing lock...
[2025-02-09 09:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:34:01] Production.INFO: ==18344== Lock acquired, processing the job...
[2025-02-09 09:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:34:01] Production.INFO: ==18344== Releasing lock...
[2025-02-09 09:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:34:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:34:01] Production.INFO: ==18342== Lock acquired, processing the job...
[2025-02-09 04:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:34:02] Production.INFO: ==18342== Releasing lock...
[2025-02-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:34:03] Production.INFO: ==18350== Lock acquired, processing the job...
[2025-02-09 04:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:34:03] Production.INFO: ==18357== Lock acquired, processing the job...
[2025-02-09 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:34:03] Production.INFO: ==18346== Lock acquired, processing the job...
[2025-02-09 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:34:03] Production.INFO: ==18348== Lock acquired, processing the job...
[2025-02-09 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:34:03] Production.INFO: ==18352== Lock acquired, processing the job...
[2025-02-09 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:34:03] Production.INFO: ==18354== Lock acquired, processing the job...
[2025-02-09 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:34:03] Production.INFO: Account Balance Start.
[2025-02-09 04:34:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:34:03] Production.INFO: count ==21
[2025-02-09 04:34:03] Production.INFO: 117
[2025-02-09 04:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:34:03] Production.INFO: count ==21
[2025-02-09 04:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434636') start
[2025-02-09 04:34:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:34:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:34:03] Production.INFO: Total Charge 0
[2025-02-09 04:34:03] Production.INFO: CreateAllLog End
[2025-02-09 04:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434636') end
[2025-02-09 04:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:34:03] Production.INFO: 1
[2025-02-09 04:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:34:03] Production.INFO: ==18348== Releasing lock...
[2025-02-09 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:34:03] Production.INFO: ==18357== Releasing lock...
[2025-02-09 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:34:04] Production.INFO: Account Balance End.
[2025-02-09 04:34:04] Production.ERROR: done
[2025-02-09 04:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:34:04] Production.INFO: ==18352== Releasing lock...
[2025-02-09 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:34:04] Production.ERROR: done
[2025-02-09 04:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:34:05
[end_date_ymd] => 2025-02-09 04:34:05
[RateCDR] => 1
)
[2025-02-09 04:34: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` >= '2025-02-09 01:34:05' and `end` < '2025-02-09 04:34: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 ,'')
[2025-02-09 04:34:11] Production.ERROR: CronJobId end10
[2025-02-09 04:34:11] Production.INFO: ==18350== Releasing lock...
[2025-02-09 04:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:34:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:34:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:34:13] Production.INFO: call_cost start
[2025-02-09 04:34:13] Production.INFO: call_cost end
[2025-02-09 04:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:34:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:34:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:34:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:34:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:34:14] Production.INFO: ==18346== Releasing lock...
[2025-02-09 04:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:34:18] Production.INFO: count ==511
[2025-02-09 04:34:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:34:05 - End Time 2025-02-09 04:34:05
[2025-02-09 04:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434640', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434640', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434640', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434640', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:34:18] Production.INFO: ProcessCDR(1,14434640,1,1,2)
[2025-02-09 04:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434640', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434640', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:34:22] Production.INFO: ==18354== Releasing lock...
[2025-02-09 04:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:34:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:35:01] Production.INFO: ==18410== Lock acquired, processing the job...
[2025-02-09 09:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:35:01] Production.INFO: neon service started
[2025-02-09 09:35:01] Production.INFO: neon service started
[2025-02-09 09:35:01] Production.INFO: ==18410== Releasing lock...
[2025-02-09 09:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:35:02] Production.INFO: ==18412== Lock acquired, processing the job...
[2025-02-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:35:02] Production.INFO: ==18412== Releasing lock...
[2025-02-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:35:02] Production.INFO: ==18414== Lock acquired, processing the job...
[2025-02-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:35:02] Production.INFO: ==18414== Releasing lock...
[2025-02-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:35:03] Production.INFO: ==18425== Lock acquired, processing the job...
[2025-02-09 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:35:03] Production.INFO: ==18427== Lock acquired, processing the job...
[2025-02-09 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:35:03] Production.INFO: ==18417== Lock acquired, processing the job...
[2025-02-09 04:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:35:03] Production.INFO: count ==21
[2025-02-09 04:35:03] Production.INFO: ==18419== Lock acquired, processing the job...
[2025-02-09 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:35:03] Production.INFO: ==18421== Lock acquired, processing the job...
[2025-02-09 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:35:03] Production.INFO: count ==21
[2025-02-09 04:35:03] Production.INFO: ==18423== Lock acquired, processing the job...
[2025-02-09 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434641') start
[2025-02-09 04:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434641') end
[2025-02-09 04:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:35:03] Production.INFO: 1
[2025-02-09 04:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:35:03] Production.INFO: Account Balance Start.
[2025-02-09 04:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:35:03] Production.INFO: 117
[2025-02-09 04:35:03] Production.INFO: ==18427== Releasing lock...
[2025-02-09 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:35:03] Production.ERROR: done
[2025-02-09 04:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:35:03] Production.INFO: ==18419== Releasing lock...
[2025-02-09 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:35:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:35:04] Production.INFO: Total Charge 0
[2025-02-09 04:35:04] Production.ERROR: done
[2025-02-09 04:35:04] Production.INFO: CreateAllLog End
[2025-02-09 04:35:04] Production.INFO: Account Balance End.
[2025-02-09 04:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:35:04] Production.INFO: ==18423== Releasing lock...
[2025-02-09 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:35:05
[end_date_ymd] => 2025-02-09 04:35:05
[RateCDR] => 1
)
[2025-02-09 04:35: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` >= '2025-02-09 01:35:05' and `end` < '2025-02-09 04:35: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 ,'')
[2025-02-09 04:35:11] Production.ERROR: CronJobId end10
[2025-02-09 04:35:11] Production.INFO: ==18421== Releasing lock...
[2025-02-09 04:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:35:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:35:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:35:13] Production.INFO: call_cost start
[2025-02-09 04:35:13] Production.INFO: call_cost end
[2025-02-09 04:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:35:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:35:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:35:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:35:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:35:14] Production.INFO: ==18417== Releasing lock...
[2025-02-09 04:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:35:17] Production.INFO: count ==511
[2025-02-09 04:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:35:05 - End Time 2025-02-09 04:35:05
[2025-02-09 04:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434645', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434645', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434645', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434645', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:35:18] Production.INFO: ProcessCDR(1,14434645,1,1,2)
[2025-02-09 04:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434645', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434645', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:35:21] Production.INFO: ==18425== Releasing lock...
[2025-02-09 04:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:35:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:36:02] Production.INFO: ==18483== Lock acquired, processing the job...
[2025-02-09 09:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:36:02] Production.INFO: neon service started
[2025-02-09 09:36:02] Production.INFO: neon service started
[2025-02-09 09:36:02] Production.INFO: ==18483== Releasing lock...
[2025-02-09 09:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:36:02] Production.INFO: ==18487== Lock acquired, processing the job...
[2025-02-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:36:02] Production.INFO: ==18487== Releasing lock...
[2025-02-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:36:02] Production.INFO: ==18485== Lock acquired, processing the job...
[2025-02-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:36:03] Production.INFO: ==18485== Releasing lock...
[2025-02-09 04:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:36:03] Production.INFO: ==18492== Lock acquired, processing the job...
[2025-02-09 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:36:04] Production.INFO: ==18490== Lock acquired, processing the job...
[2025-02-09 04:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:36:04] Production.INFO: ==18498== Lock acquired, processing the job...
[2025-02-09 04:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:36:04] Production.INFO: ==18494== Lock acquired, processing the job...
[2025-02-09 04:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:36:04] Production.INFO: ==18496== Lock acquired, processing the job...
[2025-02-09 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:36:04] Production.INFO: ==18500== Lock acquired, processing the job...
[2025-02-09 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:36:04] Production.INFO: ==18492== Releasing lock...
[2025-02-09 04:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:36:04] Production.INFO: Account Balance Start.
[2025-02-09 04:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:36:04] Production.INFO: 117
[2025-02-09 04:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:36:04] Production.INFO: count ==21
[2025-02-09 04:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:36:04] Production.INFO: count ==21
[2025-02-09 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434649') start
[2025-02-09 04:36:04] Production.INFO: Total Charge 0
[2025-02-09 04:36:04] Production.INFO: CreateAllLog End
[2025-02-09 04:36:04] Production.ERROR: done
[2025-02-09 04:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434649') end
[2025-02-09 04:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:36:04] Production.INFO: 1
[2025-02-09 04:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:36:04] Production.INFO: ==18500== Releasing lock...
[2025-02-09 04:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:36:04] Production.ERROR: done
[2025-02-09 04:36:04] Production.INFO: Account Balance End.
[2025-02-09 04:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:36:04] Production.INFO: ==18496== Releasing lock...
[2025-02-09 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:36:05
[end_date_ymd] => 2025-02-09 04:36:05
[RateCDR] => 1
)
[2025-02-09 04:36: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` >= '2025-02-09 01:36:05' and `end` < '2025-02-09 04:36: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 ,'')
[2025-02-09 04:36:12] Production.ERROR: CronJobId end10
[2025-02-09 04:36:12] Production.INFO: ==18494== Releasing lock...
[2025-02-09 04:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:36:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:36:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:36:14] Production.INFO: call_cost start
[2025-02-09 04:36:14] Production.INFO: call_cost end
[2025-02-09 04:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:36:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:36:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:36:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:36:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:36:15] Production.INFO: ==18490== Releasing lock...
[2025-02-09 04:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:36:18] Production.INFO: count ==511
[2025-02-09 04:36:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:36:05 - End Time 2025-02-09 04:36:05
[2025-02-09 04:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434650', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434650', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434650', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434650', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:36:18] Production.INFO: ProcessCDR(1,14434650,1,1,2)
[2025-02-09 04:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434650', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434650', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:36:21] Production.INFO: ==18498== Releasing lock...
[2025-02-09 04:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:36:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:37:01] Production.INFO: ==18559== Lock acquired, processing the job...
[2025-02-09 09:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:37:01] Production.INFO: neon service started
[2025-02-09 09:37:01] Production.INFO: neon service started
[2025-02-09 09:37:01] Production.INFO: ==18559== Releasing lock...
[2025-02-09 09:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:37:02] Production.INFO: ==18561== Lock acquired, processing the job...
[2025-02-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:37:02] Production.INFO: ==18561== Releasing lock...
[2025-02-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:37:02] Production.INFO: ==18564== Lock acquired, processing the job...
[2025-02-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:37:02] Production.INFO: ==18564== Releasing lock...
[2025-02-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:37:03] Production.INFO: ==18567== Lock acquired, processing the job...
[2025-02-09 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:37:03] Production.INFO: ==18571== Lock acquired, processing the job...
[2025-02-09 04:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:37:03] Production.INFO: ==18573== Lock acquired, processing the job...
[2025-02-09 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:37:03] Production.INFO: ==18569== Lock acquired, processing the job...
[2025-02-09 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:37:03] Production.INFO: ==18575== Lock acquired, processing the job...
[2025-02-09 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:37:03] Production.INFO: Account Balance Start.
[2025-02-09 04:37:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:37:03] Production.INFO: 117
[2025-02-09 04:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:37:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:37:03] Production.INFO: ==18577== Lock acquired, processing the job...
[2025-02-09 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:37:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:37:03] Production.INFO: Total Charge 0
[2025-02-09 04:37:03] Production.INFO: CreateAllLog End
[2025-02-09 04:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:37:03] Production.INFO: count ==21
[2025-02-09 04:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:37:03] Production.INFO: ==18569== Releasing lock...
[2025-02-09 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:37:03] Production.INFO: count ==21
[2025-02-09 04:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434654') start
[2025-02-09 04:37:04] Production.INFO: Account Balance End.
[2025-02-09 04:37:04] Production.ERROR: done
[2025-02-09 04:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:37:04] Production.INFO: ==18573== Releasing lock...
[2025-02-09 04:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434654') end
[2025-02-09 04:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:37:04] Production.INFO: 1
[2025-02-09 04:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:37:04] Production.INFO: ==18577== Releasing lock...
[2025-02-09 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:37:04] Production.ERROR: done
[2025-02-09 04:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:37:05
[end_date_ymd] => 2025-02-09 04:37:05
[RateCDR] => 1
)
[2025-02-09 04:37: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` >= '2025-02-09 01:37:05' and `end` < '2025-02-09 04:37: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 ,'')
[2025-02-09 04:37:12] Production.ERROR: CronJobId end10
[2025-02-09 04:37:12] Production.INFO: ==18571== Releasing lock...
[2025-02-09 04:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:37:15] Production.INFO: call_cost start
[2025-02-09 04:37:15] Production.INFO: call_cost end
[2025-02-09 04:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:37:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:37:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:37:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:37:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:37:16] Production.INFO: ==18567== Releasing lock...
[2025-02-09 04:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:37:18] Production.INFO: count ==511
[2025-02-09 04:37:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:37:05 - End Time 2025-02-09 04:37:05
[2025-02-09 04:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434655', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434655', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434655', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434655', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:37:18] Production.INFO: ProcessCDR(1,14434655,1,1,2)
[2025-02-09 04:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434655', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434655', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:37:21] Production.INFO: ==18575== Releasing lock...
[2025-02-09 04:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:37:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:38:02] Production.INFO: ==18633== Lock acquired, processing the job...
[2025-02-09 09:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:38:02] Production.INFO: neon service started
[2025-02-09 09:38:02] Production.INFO: neon service started
[2025-02-09 09:38:02] Production.INFO: ==18633== Releasing lock...
[2025-02-09 09:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:38:02] Production.INFO: ==18635== Lock acquired, processing the job...
[2025-02-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:38:02] Production.INFO: ==18635== Releasing lock...
[2025-02-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:38:02] Production.INFO: ==18637== Lock acquired, processing the job...
[2025-02-09 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:38:03] Production.INFO: ==18637== Releasing lock...
[2025-02-09 09:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:38:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:38:03] Production.INFO: ==18650== Lock acquired, processing the job...
[2025-02-09 04:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:38:04] Production.INFO: count ==21
[2025-02-09 04:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:38:04] Production.INFO: count ==21
[2025-02-09 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434656') start
[2025-02-09 04:38:04] Production.INFO: ==18640== Lock acquired, processing the job...
[2025-02-09 04:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:38:04] Production.INFO: ==18642== Lock acquired, processing the job...
[2025-02-09 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434656') end
[2025-02-09 04:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:38:04] Production.INFO: 1
[2025-02-09 04:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:38:04] Production.INFO: ==18644== Lock acquired, processing the job...
[2025-02-09 04:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:38:04] Production.INFO: ==18646== Lock acquired, processing the job...
[2025-02-09 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:38:04] Production.INFO: ==18650== Releasing lock...
[2025-02-09 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:38:04] Production.INFO: ==18648== Lock acquired, processing the job...
[2025-02-09 04:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:38:04] Production.INFO: Account Balance Start.
[2025-02-09 04:38:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:38:04] Production.INFO: 117
[2025-02-09 04:38:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:38:04] Production.INFO: ==18642== Releasing lock...
[2025-02-09 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:38:04] Production.ERROR: done
[2025-02-09 04:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:38:04] Production.INFO: Total Charge 0
[2025-02-09 04:38:04] Production.INFO: CreateAllLog End
[2025-02-09 04:38:05] Production.ERROR: done
[2025-02-09 04:38:05] Production.INFO: Account Balance End.
[2025-02-09 04:38:05] Production.ERROR: CronJobId end 12
[2025-02-09 04:38:05] Production.INFO: ==18646== Releasing lock...
[2025-02-09 04:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:38:06
[end_date_ymd] => 2025-02-09 04:38:06
[RateCDR] => 1
)
[2025-02-09 04:38: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-02-09 01:38:06' and `end` < '2025-02-09 04:38: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-02-09 04:38:11] Production.ERROR: CronJobId end10
[2025-02-09 04:38:11] Production.INFO: ==18644== Releasing lock...
[2025-02-09 04:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:38:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:38:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:38:14] Production.INFO: call_cost start
[2025-02-09 04:38:14] Production.INFO: call_cost end
[2025-02-09 04:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:38:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:38:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:38:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:38:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:38:15] Production.INFO: ==18640== Releasing lock...
[2025-02-09 04:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:38:19] Production.INFO: count ==511
[2025-02-09 04:38:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:38:06 - End Time 2025-02-09 04:38:06
[2025-02-09 04:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434660', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434660', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434660', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434660', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:38:20] Production.INFO: ProcessCDR(1,14434660,1,1,2)
[2025-02-09 04:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434660', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434660', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:38:23] Production.INFO: ==18648== Releasing lock...
[2025-02-09 04:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:38:23] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:39:01] Production.INFO: ==18714== Lock acquired, processing the job...
[2025-02-09 09:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:39:01] Production.INFO: neon service started
[2025-02-09 09:39:01] Production.INFO: neon service started
[2025-02-09 09:39:01] Production.INFO: ==18714== Releasing lock...
[2025-02-09 09:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:39:02] Production.INFO: ==18718== Lock acquired, processing the job...
[2025-02-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:39:02] Production.INFO: ==18718== Releasing lock...
[2025-02-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:39:02] Production.INFO: ==18716== Lock acquired, processing the job...
[2025-02-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:39:02] Production.INFO: ==18716== Releasing lock...
[2025-02-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:39:03] Production.INFO: ==18720== Lock acquired, processing the job...
[2025-02-09 04:39:03] Production.INFO: ==18722== Lock acquired, processing the job...
[2025-02-09 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:39:03] Production.INFO: ==18726== Lock acquired, processing the job...
[2025-02-09 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:39:03] Production.INFO: Account Balance Start.
[2025-02-09 04:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:39:03] Production.INFO: ==18722== Releasing lock...
[2025-02-09 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:39:03] Production.INFO: 117
[2025-02-09 04:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:39:03] Production.INFO: ==18724== Lock acquired, processing the job...
[2025-02-09 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:39:03] Production.INFO: Total Charge 0
[2025-02-09 04:39:03] Production.INFO: ==18728== Lock acquired, processing the job...
[2025-02-09 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:39:03] Production.INFO: CreateAllLog End
[2025-02-09 04:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:39:03] Production.INFO: ==18731== Lock acquired, processing the job...
[2025-02-09 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:39:03] Production.INFO: Account Balance End.
[2025-02-09 04:39:03] Production.ERROR: CronJobId end 12
[2025-02-09 04:39:03] Production.INFO: ==18726== Releasing lock...
[2025-02-09 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:39:04] Production.INFO: count ==21
[2025-02-09 04:39:04] Production.ERROR: done
[2025-02-09 04:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:39:04] Production.INFO: count ==21
[2025-02-09 04:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434664') start
[2025-02-09 04:39:04] Production.ERROR: done
[2025-02-09 04:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434664') end
[2025-02-09 04:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:39:04] Production.INFO: 1
[2025-02-09 04:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:39:04] Production.INFO: ==18731== Releasing lock...
[2025-02-09 04:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:39:05
[end_date_ymd] => 2025-02-09 04:39:05
[RateCDR] => 1
)
[2025-02-09 04:39: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` >= '2025-02-09 01:39:05' and `end` < '2025-02-09 04:39: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 ,'')
[2025-02-09 04:39:11] Production.ERROR: CronJobId end10
[2025-02-09 04:39:11] Production.INFO: ==18724== Releasing lock...
[2025-02-09 04:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:39:13] Production.INFO: call_cost start
[2025-02-09 04:39:13] Production.INFO: call_cost end
[2025-02-09 04:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:39:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:39:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:39:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:39:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:39:14] Production.INFO: ==18720== Releasing lock...
[2025-02-09 04:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:39:18] Production.INFO: count ==510
[2025-02-09 04:39:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:39:05 - End Time 2025-02-09 04:39:05
[2025-02-09 04:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434665', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434665', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434665', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434665', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:39:18] Production.INFO: ProcessCDR(1,14434665,1,1,2)
[2025-02-09 04:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434665', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434665', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:39:21] Production.INFO: ==18728== Releasing lock...
[2025-02-09 04:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:39:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 09:40:02] Production.INFO: ==18810== Lock acquired, processing the job...
[2025-02-09 09:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:40:02] Production.INFO: neon service started
[2025-02-09 09:40:02] Production.INFO: neon service started
[2025-02-09 09:40:02] Production.INFO: ==18810== Releasing lock...
[2025-02-09 09:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:40:02] Production.INFO: ==18812== Lock acquired, processing the job...
[2025-02-09 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:40:02] Production.INFO: ==18814== Lock acquired, processing the job...
[2025-02-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:40:02] Production.INFO: ==18814== Releasing lock...
[2025-02-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:40:03] Production.INFO: ==18812== Releasing lock...
[2025-02-09 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:40:04] Production.INFO: ==18819== Lock acquired, processing the job...
[2025-02-09 04:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:40:04] Production.INFO: ==18817== Lock acquired, processing the job...
[2025-02-09 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 04:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 04:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:40:04] Production.ERROR: CronJob PID - 18819
[2025-02-09 04:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 04:40:04] Production.ERROR: CronJob ID - 5
[2025-02-09 04:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 04:40:00
[2025-02-09 04:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 04:40:04] Production.INFO: ==18817== Releasing lock...
[2025-02-09 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 04:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 04:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:40:04] Production.INFO: ==18825== Lock acquired, processing the job...
[2025-02-09 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:40:04] Production.INFO: ==18821== Lock acquired, processing the job...
[2025-02-09 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:40:04] Production.INFO: Account Balance Start.
[2025-02-09 04:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:40:04] Production.INFO: 117
[2025-02-09 04:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:40:04] Production.INFO: ==18829== Lock acquired, processing the job...
[2025-02-09 04:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 04:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:40:04] Production.INFO: ==18823== Lock acquired, processing the job...
[2025-02-09 04:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:40:04] Production.INFO: Total Charge 0
[2025-02-09 04:40:04] Production.INFO: ==18827== Lock acquired, processing the job...
[2025-02-09 04:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:40:04] Production.INFO: CreateAllLog End
[2025-02-09 04:40:04] Production.INFO: ==18831== Lock acquired, processing the job...
[2025-02-09 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:40:05] Production.INFO: ==18821== Releasing lock...
[2025-02-09 04:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:40:05] Production.ERROR: done
[2025-02-09 04:40:05] Production.INFO: count ==21
[2025-02-09 04:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:40:05] Production.INFO: count ==21
[2025-02-09 04:40:05] Production.INFO: Account Balance End.
[2025-02-09 04:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 04:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434670', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 04:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434669') start
[2025-02-09 04:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 04:40:05] Production.INFO: ==18825== Releasing lock...
[2025-02-09 04:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:40:05] Production.ERROR: done
[2025-02-09 04:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434669') end
[2025-02-09 04:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:40:05] Production.INFO: 1
[2025-02-09 04:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:40:05] Production.INFO: ==18831== Releasing lock...
[2025-02-09 04:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:40:05] Production.ERROR: done
[2025-02-09 04:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:40:06
[end_date_ymd] => 2025-02-09 04:40:06
[RateCDR] => 1
)
[2025-02-09 04:40: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-02-09 01:40:06' and `end` < '2025-02-09 04:40: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-02-09 04:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434670', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 04:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 04:40:09] Production.INFO: ProcessCDR(1,14434670,1,1,2)
[2025-02-09 04:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434670,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434670,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:40:09] Production.INFO: ==18829== Releasing lock...
[2025-02-09 04:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 04:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 04:40:15] Production.ERROR: CronJobId end10
[2025-02-09 04:40:15] Production.INFO: ==18823== Releasing lock...
[2025-02-09 04:40:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:40:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:40:17] Production.INFO: call_cost start
[2025-02-09 04:40:17] Production.INFO: call_cost end
[2025-02-09 04:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:40:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:40:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:40:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:40:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:40:18] Production.INFO: ==18819== Releasing lock...
[2025-02-09 04:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:40:19] Production.INFO: count ==503
[2025-02-09 04:40:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:40:06 - End Time 2025-02-09 04:40:06
[2025-02-09 04:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434671', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434671', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434671', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434671', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:40:19] Production.INFO: ProcessCDR(1,14434671,1,1,2)
[2025-02-09 04:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434671', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434671', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:40:22] Production.INFO: ==18827== Releasing lock...
[2025-02-09 04:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:40:22] Production.INFO: 31 MB #Memory Used#
[2025-02-09 09:41:01] Production.INFO: ==18891== Lock acquired, processing the job...
[2025-02-09 09:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:41:01] Production.INFO: neon service started
[2025-02-09 09:41:01] Production.INFO: neon service started
[2025-02-09 09:41:01] Production.INFO: ==18891== Releasing lock...
[2025-02-09 09:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:41:01] Production.INFO: ==18895== Lock acquired, processing the job...
[2025-02-09 09:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:41:01] Production.INFO: ==18895== Releasing lock...
[2025-02-09 09:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:41:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:41:02] Production.INFO: ==18893== Lock acquired, processing the job...
[2025-02-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:41:02] Production.INFO: ==18893== Releasing lock...
[2025-02-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:41:03] Production.INFO: ==18897== Lock acquired, processing the job...
[2025-02-09 04:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:41:03] Production.INFO: ==18900== Lock acquired, processing the job...
[2025-02-09 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:41:03] Production.INFO: ==18902== Lock acquired, processing the job...
[2025-02-09 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:41:03] Production.INFO: ==18904== Lock acquired, processing the job...
[2025-02-09 04:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:41:03] Production.INFO: ==18900== Releasing lock...
[2025-02-09 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:41:03] Production.INFO: Account Balance Start.
[2025-02-09 04:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:41:03] Production.INFO: 117
[2025-02-09 04:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:41:03] Production.INFO: ==18908== Lock acquired, processing the job...
[2025-02-09 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:41:03] Production.INFO: ==18906== Lock acquired, processing the job...
[2025-02-09 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:41:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:41:03] Production.INFO: Total Charge 0
[2025-02-09 04:41:03] Production.INFO: CreateAllLog End
[2025-02-09 04:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:41:03] Production.INFO: count ==21
[2025-02-09 04:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:41:03] Production.INFO: count ==21
[2025-02-09 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434675') start
[2025-02-09 04:41:04] Production.ERROR: done
[2025-02-09 04:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434675') end
[2025-02-09 04:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:41:04] Production.INFO: 1
[2025-02-09 04:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:41:04] Production.INFO: Account Balance End.
[2025-02-09 04:41:04] Production.ERROR: done
[2025-02-09 04:41:04] Production.INFO: ==18908== Releasing lock...
[2025-02-09 04:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:41:04] Production.INFO: ==18904== Releasing lock...
[2025-02-09 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:41:05
[end_date_ymd] => 2025-02-09 04:41:05
[RateCDR] => 1
)
[2025-02-09 04:41: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` >= '2025-02-09 01:41:05' and `end` < '2025-02-09 04:41: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 ,'')
[2025-02-09 04:41:11] Production.ERROR: CronJobId end10
[2025-02-09 04:41:11] Production.INFO: ==18902== Releasing lock...
[2025-02-09 04:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:41:14] Production.INFO: call_cost start
[2025-02-09 04:41:14] Production.INFO: call_cost end
[2025-02-09 04:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:41:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:41:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:41:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:41:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:41:14] Production.INFO: ==18897== Releasing lock...
[2025-02-09 04:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:41:18] Production.INFO: count ==449
[2025-02-09 04:41:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:41:05 - End Time 2025-02-09 04:41:05
[2025-02-09 04:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434676', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434676', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434676', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434676', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:41:18] Production.INFO: ProcessCDR(1,14434676,1,1,2)
[2025-02-09 04:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434676', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434676', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:41:21] Production.INFO: ==18906== Releasing lock...
[2025-02-09 04:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:41:21] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 09:42:02] Production.INFO: ==18968== Lock acquired, processing the job...
[2025-02-09 09:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:42:02] Production.INFO: neon service started
[2025-02-09 09:42:02] Production.INFO: neon service started
[2025-02-09 09:42:02] Production.INFO: ==18968== Releasing lock...
[2025-02-09 09:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:42:02] Production.INFO: ==18970== Lock acquired, processing the job...
[2025-02-09 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:42:02] Production.INFO: ==18970== Releasing lock...
[2025-02-09 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:42:02] Production.INFO: ==18972== Lock acquired, processing the job...
[2025-02-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:42:02] Production.INFO: ==18972== Releasing lock...
[2025-02-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:42:03] Production.INFO: ==18979== Lock acquired, processing the job...
[2025-02-09 04:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:42:03] Production.INFO: ==18981== Lock acquired, processing the job...
[2025-02-09 04:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:42:03] Production.INFO: Account Balance Start.
[2025-02-09 04:42:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:42:03] Production.INFO: 117
[2025-02-09 04:42:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:42:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:42:03] Production.INFO: Total Charge 0
[2025-02-09 04:42:03] Production.INFO: CreateAllLog End
[2025-02-09 04:42:03] Production.INFO: ==18975== Lock acquired, processing the job...
[2025-02-09 04:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:42:03] Production.INFO: ==18977== Lock acquired, processing the job...
[2025-02-09 04:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:42:04] Production.INFO: Account Balance End.
[2025-02-09 04:42:04] Production.INFO: ==18983== Lock acquired, processing the job...
[2025-02-09 04:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:42:04] Production.INFO: ==18985== Lock acquired, processing the job...
[2025-02-09 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:42:04] Production.INFO: ==18981== Releasing lock...
[2025-02-09 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:42:04] Production.INFO: count ==21
[2025-02-09 04:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:42:04] Production.INFO: count ==21
[2025-02-09 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434680') start
[2025-02-09 04:42:04] Production.INFO: ==18977== Releasing lock...
[2025-02-09 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:42:04] Production.ERROR: done
[2025-02-09 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434680') end
[2025-02-09 04:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:42:04] Production.INFO: 1
[2025-02-09 04:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:42:04] Production.INFO: ==18985== Releasing lock...
[2025-02-09 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:42:04] Production.ERROR: done
[2025-02-09 04:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:42:05
[end_date_ymd] => 2025-02-09 04:42:05
[RateCDR] => 1
)
[2025-02-09 04:42: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` >= '2025-02-09 01:42:05' and `end` < '2025-02-09 04:42: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 ,'')
[2025-02-09 04:42:12] Production.ERROR: CronJobId end10
[2025-02-09 04:42:12] Production.INFO: ==18979== Releasing lock...
[2025-02-09 04:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:42:15] Production.INFO: call_cost start
[2025-02-09 04:42:15] Production.INFO: call_cost end
[2025-02-09 04:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:42:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:42:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:42:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:42:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:42:16] Production.INFO: ==18975== Releasing lock...
[2025-02-09 04:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:42:18] Production.INFO: count ==449
[2025-02-09 04:42:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:42:05 - End Time 2025-02-09 04:42:05
[2025-02-09 04:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434681', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434681', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434681', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434681', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:42:18] Production.INFO: ProcessCDR(1,14434681,1,1,2)
[2025-02-09 04:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434681', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434681', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:42:21] Production.INFO: ==18983== Releasing lock...
[2025-02-09 04:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:42:21] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 09:43:01] Production.INFO: ==19049== Lock acquired, processing the job...
[2025-02-09 09:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:43:01] Production.INFO: neon service started
[2025-02-09 09:43:01] Production.INFO: neon service started
[2025-02-09 09:43:01] Production.INFO: ==19049== Releasing lock...
[2025-02-09 09:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:43:01] Production.INFO: ==19051== Lock acquired, processing the job...
[2025-02-09 04:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:43:02] Production.INFO: ==19051== Releasing lock...
[2025-02-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:43:02] Production.INFO: ==19053== Lock acquired, processing the job...
[2025-02-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:43:02] Production.INFO: ==19053== Releasing lock...
[2025-02-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:43:03] Production.INFO: ==19057== Lock acquired, processing the job...
[2025-02-09 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:43:03] Production.INFO: ==19059== Lock acquired, processing the job...
[2025-02-09 04:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:43:03] Production.INFO: ==19055== Lock acquired, processing the job...
[2025-02-09 04:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:43:03] Production.INFO: ==19063== Lock acquired, processing the job...
[2025-02-09 04:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:43:03] Production.INFO: ==19061== Lock acquired, processing the job...
[2025-02-09 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:43:03] Production.INFO: ==19066== Lock acquired, processing the job...
[2025-02-09 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:43:03] Production.INFO: Account Balance Start.
[2025-02-09 04:43:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:43:03] Production.INFO: 117
[2025-02-09 04:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:43:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:43:03] Production.INFO: count ==21
[2025-02-09 04:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:43:03] Production.INFO: count ==21
[2025-02-09 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434684') start
[2025-02-09 04:43:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:43:03] Production.INFO: Total Charge 0
[2025-02-09 04:43:03] Production.ERROR: done
[2025-02-09 04:43:03] Production.INFO: ==19057== Releasing lock...
[2025-02-09 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:43:03] Production.INFO: CreateAllLog End
[2025-02-09 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434684') end
[2025-02-09 04:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:43:03] Production.INFO: 1
[2025-02-09 04:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:43:03] Production.INFO: ==19066== Releasing lock...
[2025-02-09 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:43:03] Production.ERROR: done
[2025-02-09 04:43:03] Production.INFO: Account Balance End.
[2025-02-09 04:43:03] Production.ERROR: CronJobId end 12
[2025-02-09 04:43:03] Production.INFO: ==19061== Releasing lock...
[2025-02-09 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:43:04
[end_date_ymd] => 2025-02-09 04:43:04
[RateCDR] => 1
)
[2025-02-09 04:43:04] 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-02-09 01:43:04' and `end` < '2025-02-09 04:43:04'
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-02-09 04:43:10] Production.ERROR: CronJobId end10
[2025-02-09 04:43:10] Production.INFO: ==19059== Releasing lock...
[2025-02-09 04:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:43:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:43:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:43:13] Production.INFO: call_cost start
[2025-02-09 04:43:13] Production.INFO: call_cost end
[2025-02-09 04:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:43:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:43:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:43:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:43:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:43:14] Production.INFO: ==19055== Releasing lock...
[2025-02-09 04:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:43:18] Production.INFO: count ==449
[2025-02-09 04:43:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:43:04 - End Time 2025-02-09 04:43:04
[2025-02-09 04:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434686', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434686', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434686', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434686', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:43:18] Production.INFO: ProcessCDR(1,14434686,1,1,2)
[2025-02-09 04:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434686', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434686', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:43:21] Production.INFO: ==19063== Releasing lock...
[2025-02-09 04:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:43:21] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 09:44:01] Production.INFO: ==19131== Lock acquired, processing the job...
[2025-02-09 09:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:44:01] Production.INFO: neon service started
[2025-02-09 09:44:01] Production.INFO: neon service started
[2025-02-09 09:44:01] Production.INFO: ==19131== Releasing lock...
[2025-02-09 09:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:44:02] Production.INFO: ==19135== Lock acquired, processing the job...
[2025-02-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:44:02] Production.INFO: ==19135== Releasing lock...
[2025-02-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:44:02] Production.INFO: ==19133== Lock acquired, processing the job...
[2025-02-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:44:02] Production.INFO: ==19133== Releasing lock...
[2025-02-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:44:03] Production.INFO: ==19137== Lock acquired, processing the job...
[2025-02-09 04:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:44:03] Production.INFO: ==19139== Lock acquired, processing the job...
[2025-02-09 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:44:03] Production.INFO: ==19141== Lock acquired, processing the job...
[2025-02-09 04:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:44:03] Production.INFO: ==19139== Releasing lock...
[2025-02-09 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:44:03] Production.INFO: ==19143== Lock acquired, processing the job...
[2025-02-09 04:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:44:03] Production.INFO: ==19145== Lock acquired, processing the job...
[2025-02-09 04:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:44:04] Production.INFO: Account Balance Start.
[2025-02-09 04:44:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:44:04] Production.INFO: 117
[2025-02-09 04:44:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:44:04] Production.INFO: ==19147== Lock acquired, processing the job...
[2025-02-09 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:44:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:44:04] Production.INFO: Total Charge 0
[2025-02-09 04:44:04] Production.INFO: CreateAllLog End
[2025-02-09 04:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:44:04] Production.INFO: Account Balance End.
[2025-02-09 04:44:04] Production.INFO: count ==21
[2025-02-09 04:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:44:04] Production.INFO: ==19143== Releasing lock...
[2025-02-09 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:44:04] Production.INFO: count ==21
[2025-02-09 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434690') start
[2025-02-09 04:44:04] Production.ERROR: done
[2025-02-09 04:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434690') end
[2025-02-09 04:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:44:04] Production.INFO: 1
[2025-02-09 04:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:44:04] Production.INFO: ==19147== Releasing lock...
[2025-02-09 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:44:04] Production.ERROR: done
[2025-02-09 04:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:44:05
[end_date_ymd] => 2025-02-09 04:44:05
[RateCDR] => 1
)
[2025-02-09 04:44: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` >= '2025-02-09 01:44:05' and `end` < '2025-02-09 04:44: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 ,'')
[2025-02-09 04:44:11] Production.ERROR: CronJobId end10
[2025-02-09 04:44:11] Production.INFO: ==19141== Releasing lock...
[2025-02-09 04:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:44:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:44:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:44:14] Production.INFO: call_cost start
[2025-02-09 04:44:14] Production.INFO: call_cost end
[2025-02-09 04:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:44:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:44:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:44:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:44:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:44:15] Production.INFO: ==19137== Releasing lock...
[2025-02-09 04:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:44:18] Production.INFO: count ==447
[2025-02-09 04:44:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:44:05 - End Time 2025-02-09 04:44:05
[2025-02-09 04:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434691', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434691', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434691', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434691', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:44:19] Production.INFO: ProcessCDR(1,14434691,1,1,2)
[2025-02-09 04:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434691', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434691', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:44:22] Production.INFO: ==19145== Releasing lock...
[2025-02-09 04:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:44:22] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 09:45:02] Production.INFO: ==19247== Lock acquired, processing the job...
[2025-02-09 09:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:45:02] Production.INFO: neon service started
[2025-02-09 09:45:02] Production.INFO: neon service started
[2025-02-09 09:45:02] Production.INFO: ==19247== Releasing lock...
[2025-02-09 09:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:45:02] Production.INFO: ==19249== Lock acquired, processing the job...
[2025-02-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:45:03] Production.INFO: ==19249== Releasing lock...
[2025-02-09 04:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:45:03] Production.INFO: ==19251== Lock acquired, processing the job...
[2025-02-09 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:45:03] Production.INFO: ==19251== Releasing lock...
[2025-02-09 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:45:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:45:03] Production.INFO: ==19258== Lock acquired, processing the job...
[2025-02-09 04:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:45:03] Production.INFO: ==19254== Lock acquired, processing the job...
[2025-02-09 04:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:45:04] Production.INFO: ==19256== Lock acquired, processing the job...
[2025-02-09 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:45:04] Production.INFO: ==19264== Lock acquired, processing the job...
[2025-02-09 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:45:04] Production.INFO: ==19260== Lock acquired, processing the job...
[2025-02-09 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:45:04] Production.INFO: ==19262== Lock acquired, processing the job...
[2025-02-09 04:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:45:04] Production.INFO: Account Balance Start.
[2025-02-09 04:45:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:45:04] Production.INFO: 117
[2025-02-09 04:45:04] Production.INFO: count ==21
[2025-02-09 04:45:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:45:04] Production.INFO: count ==21
[2025-02-09 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434693') start
[2025-02-09 04:45:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:45:04] Production.INFO: Total Charge 0
[2025-02-09 04:45:04] Production.INFO: CreateAllLog End
[2025-02-09 04:45:04] Production.INFO: ==19256== Releasing lock...
[2025-02-09 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434693') end
[2025-02-09 04:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:45:04] Production.INFO: 1
[2025-02-09 04:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:45:04] Production.INFO: ==19264== Releasing lock...
[2025-02-09 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:45:04] Production.ERROR: done
[2025-02-09 04:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:45:04] Production.INFO: Account Balance End.
[2025-02-09 04:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:45:04] Production.INFO: ==19260== Releasing lock...
[2025-02-09 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:45:04] Production.ERROR: done
[2025-02-09 04:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:45:05
[end_date_ymd] => 2025-02-09 04:45:05
[RateCDR] => 1
)
[2025-02-09 04:45: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` >= '2025-02-09 01:45:05' and `end` < '2025-02-09 04:45: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 ,'')
[2025-02-09 04:45:12] Production.ERROR: CronJobId end10
[2025-02-09 04:45:12] Production.INFO: ==19258== Releasing lock...
[2025-02-09 04:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:45:14] Production.INFO: call_cost start
[2025-02-09 04:45:14] Production.INFO: call_cost end
[2025-02-09 04:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:45:15] Production.INFO: ==19254== Releasing lock...
[2025-02-09 04:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:45:18] Production.INFO: count ==447
[2025-02-09 04:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:45:05 - End Time 2025-02-09 04:45:05
[2025-02-09 04:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434696', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434696', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434696', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434696', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:45:18] Production.INFO: ProcessCDR(1,14434696,1,1,2)
[2025-02-09 04:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434696', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434696', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:45:21] Production.INFO: ==19262== Releasing lock...
[2025-02-09 04:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:45:21] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 09:46:01] Production.INFO: ==19324== Lock acquired, processing the job...
[2025-02-09 09:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:46:01] Production.INFO: neon service started
[2025-02-09 09:46:01] Production.INFO: neon service started
[2025-02-09 09:46:01] Production.INFO: ==19324== Releasing lock...
[2025-02-09 09:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:46:02] Production.INFO: ==19327== Lock acquired, processing the job...
[2025-02-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:46:02] Production.INFO: ==19329== Lock acquired, processing the job...
[2025-02-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:46:02] Production.INFO: ==19329== Releasing lock...
[2025-02-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:46:02] Production.INFO: ==19327== Releasing lock...
[2025-02-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:46:03] Production.INFO: ==19331== Lock acquired, processing the job...
[2025-02-09 04:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:46:03] Production.INFO: ==19340== Lock acquired, processing the job...
[2025-02-09 04:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:46:03] Production.INFO: ==19333== Lock acquired, processing the job...
[2025-02-09 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:46:03] Production.INFO: ==19335== Lock acquired, processing the job...
[2025-02-09 04:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:46:03] Production.INFO: ==19337== Lock acquired, processing the job...
[2025-02-09 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:46:04] Production.INFO: ==19343== Lock acquired, processing the job...
[2025-02-09 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:46:04] Production.INFO: Account Balance Start.
[2025-02-09 04:46:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:46:04] Production.INFO: 117
[2025-02-09 04:46:04] Production.ERROR: done
[2025-02-09 04:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:46:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:46:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:46:04] Production.INFO: Total Charge 0
[2025-02-09 04:46:04] Production.INFO: count ==21
[2025-02-09 04:46:04] Production.INFO: CreateAllLog End
[2025-02-09 04:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:46:04] Production.ERROR: done
[2025-02-09 04:46:04] Production.INFO: count ==21
[2025-02-09 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434700') start
[2025-02-09 04:46:04] Production.INFO: ==19333== Releasing lock...
[2025-02-09 04:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434700') end
[2025-02-09 04:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:46:04] Production.INFO: 1
[2025-02-09 04:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:46:04] Production.INFO: Account Balance End.
[2025-02-09 04:46:04] Production.INFO: ==19343== Releasing lock...
[2025-02-09 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:46:04] Production.INFO: ==19337== Releasing lock...
[2025-02-09 04:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:46:05
[end_date_ymd] => 2025-02-09 04:46:05
[RateCDR] => 1
)
[2025-02-09 04:46: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` >= '2025-02-09 01:46:05' and `end` < '2025-02-09 04:46: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 ,'')
[2025-02-09 04:46:12] Production.ERROR: CronJobId end10
[2025-02-09 04:46:12] Production.INFO: ==19335== Releasing lock...
[2025-02-09 04:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:46:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:46:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:46:14] Production.INFO: call_cost start
[2025-02-09 04:46:14] Production.INFO: call_cost end
[2025-02-09 04:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:46:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:46:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:46:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:46:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:46:14] Production.INFO: ==19331== Releasing lock...
[2025-02-09 04:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:46:23] Production.INFO: count ==447
[2025-02-09 04:46:23] Production.ERROR: pbx CDR StartTime 2025-02-09 01:46:05 - End Time 2025-02-09 04:46:05
[2025-02-09 04:46:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434701', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434701', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434701', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:46:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434701', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:46:23] Production.INFO: ProcessCDR(1,14434701,1,1,2)
[2025-02-09 04:46:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434701', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434701', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:46:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:46:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:46:26] Production.INFO: ==19340== Releasing lock...
[2025-02-09 04:46:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:46:26] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 09:47:02] Production.INFO: ==19403== Lock acquired, processing the job...
[2025-02-09 09:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:47:02] Production.INFO: neon service started
[2025-02-09 09:47:02] Production.INFO: neon service started
[2025-02-09 09:47:02] Production.INFO: ==19403== Releasing lock...
[2025-02-09 09:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:47:02] Production.INFO: ==19405== Lock acquired, processing the job...
[2025-02-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:47:02] Production.INFO: ==19407== Lock acquired, processing the job...
[2025-02-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:47:03] Production.INFO: ==19407== Releasing lock...
[2025-02-09 09:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:47:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:47:03] Production.INFO: ==19405== Releasing lock...
[2025-02-09 04:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:47:03] Production.INFO: ==19409== Lock acquired, processing the job...
[2025-02-09 04:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:47:03] Production.INFO: ==19411== Lock acquired, processing the job...
[2025-02-09 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:47:03] Production.INFO: ==19413== Lock acquired, processing the job...
[2025-02-09 04:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:47:04] Production.INFO: ==19415== Lock acquired, processing the job...
[2025-02-09 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:47:04] Production.INFO: ==19417== Lock acquired, processing the job...
[2025-02-09 04:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:47:04] Production.INFO: ==19411== Releasing lock...
[2025-02-09 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:47:04] Production.INFO: ==19420== Lock acquired, processing the job...
[2025-02-09 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:47:04] Production.INFO: Account Balance Start.
[2025-02-09 04:47:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:47:04] Production.INFO: 117
[2025-02-09 04:47:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:47:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:47:04] Production.ERROR: done
[2025-02-09 04:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:47:04] Production.INFO: count ==21
[2025-02-09 04:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:47:04] Production.INFO: count ==21
[2025-02-09 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434705') start
[2025-02-09 04:47:04] Production.ERROR: done
[2025-02-09 04:47:04] Production.INFO: Total Charge 0
[2025-02-09 04:47:04] Production.INFO: CreateAllLog End
[2025-02-09 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434705') end
[2025-02-09 04:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:47:04] Production.INFO: 1
[2025-02-09 04:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:47:04] Production.INFO: ==19420== Releasing lock...
[2025-02-09 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:47:05] Production.INFO: Account Balance End.
[2025-02-09 04:47:05] Production.ERROR: CronJobId end 12
[2025-02-09 04:47:05] Production.INFO: ==19415== Releasing lock...
[2025-02-09 04:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:47:05
[end_date_ymd] => 2025-02-09 04:47:05
[RateCDR] => 1
)
[2025-02-09 04:47: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` >= '2025-02-09 01:47:05' and `end` < '2025-02-09 04:47: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 ,'')
[2025-02-09 04:47:12] Production.ERROR: CronJobId end10
[2025-02-09 04:47:12] Production.INFO: ==19413== Releasing lock...
[2025-02-09 04:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:47:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:47:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:47:14] Production.INFO: call_cost start
[2025-02-09 04:47:14] Production.INFO: call_cost end
[2025-02-09 04:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:47:15] Production.INFO: ==19409== Releasing lock...
[2025-02-09 04:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:47:20] Production.INFO: count ==446
[2025-02-09 04:47:20] Production.ERROR: pbx CDR StartTime 2025-02-09 01:47:05 - End Time 2025-02-09 04:47:05
[2025-02-09 04:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434706', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434706', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434706', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434706', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:47:20] Production.INFO: ProcessCDR(1,14434706,1,1,2)
[2025-02-09 04:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434706', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434706', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:47:24] Production.INFO: ==19417== Releasing lock...
[2025-02-09 04:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:47:24] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 09:48:01] Production.INFO: ==19478== Lock acquired, processing the job...
[2025-02-09 09:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:48:01] Production.INFO: neon service started
[2025-02-09 09:48:01] Production.INFO: neon service started
[2025-02-09 09:48:01] Production.INFO: ==19478== Releasing lock...
[2025-02-09 09:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:48:02] Production.INFO: ==19482== Lock acquired, processing the job...
[2025-02-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:48:02] Production.INFO: ==19482== Releasing lock...
[2025-02-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:48:02] Production.INFO: ==19480== Lock acquired, processing the job...
[2025-02-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:48:02] Production.INFO: ==19480== Releasing lock...
[2025-02-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:48:03] Production.INFO: ==19493== Lock acquired, processing the job...
[2025-02-09 04:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:48:03] Production.INFO: ==19489== Lock acquired, processing the job...
[2025-02-09 04:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:48:03] Production.INFO: ==19485== Lock acquired, processing the job...
[2025-02-09 04:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:48:03] Production.INFO: ==19487== Lock acquired, processing the job...
[2025-02-09 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:48:03] Production.INFO: ==19491== Lock acquired, processing the job...
[2025-02-09 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:48:03] Production.INFO: ==19495== Lock acquired, processing the job...
[2025-02-09 04:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:48:03] Production.ERROR: done
[2025-02-09 04:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:48:03] Production.INFO: Account Balance Start.
[2025-02-09 04:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:48:03] Production.INFO: 117
[2025-02-09 04:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:48:04] Production.INFO: count ==21
[2025-02-09 04:48:04] Production.ERROR: done
[2025-02-09 04:48:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:48:04] Production.INFO: count ==21
[2025-02-09 04:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434710') start
[2025-02-09 04:48:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:48:04] Production.INFO: Total Charge 0
[2025-02-09 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434710') end
[2025-02-09 04:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:48:04] Production.INFO: 1
[2025-02-09 04:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:48:04] Production.INFO: CreateAllLog End
[2025-02-09 04:48:04] Production.INFO: ==19495== Releasing lock...
[2025-02-09 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:48:04] Production.INFO: ==19487== Releasing lock...
[2025-02-09 04:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:48:04] Production.INFO: Account Balance End.
[2025-02-09 04:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:48:04] Production.INFO: ==19491== Releasing lock...
[2025-02-09 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:48:04
[end_date_ymd] => 2025-02-09 04:48:04
[RateCDR] => 1
)
[2025-02-09 04:48:04] 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-02-09 01:48:04' and `end` < '2025-02-09 04:48:04'
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-02-09 04:48:12] Production.ERROR: CronJobId end10
[2025-02-09 04:48:12] Production.INFO: ==19489== Releasing lock...
[2025-02-09 04:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:48:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:48:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:48:14] Production.INFO: call_cost start
[2025-02-09 04:48:14] Production.INFO: call_cost end
[2025-02-09 04:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:48:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:48:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:48:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:48:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:48:15] Production.INFO: ==19485== Releasing lock...
[2025-02-09 04:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:48:18] Production.INFO: count ==446
[2025-02-09 04:48:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:48:04 - End Time 2025-02-09 04:48:04
[2025-02-09 04:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434711', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434711', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434711', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434711', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:48:19] Production.INFO: ProcessCDR(1,14434711,1,1,2)
[2025-02-09 04:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434711', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434711', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:48:22] Production.INFO: ==19493== Releasing lock...
[2025-02-09 04:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:48:22] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 09:49:02] Production.INFO: ==19558== Lock acquired, processing the job...
[2025-02-09 09:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:49:02] Production.INFO: neon service started
[2025-02-09 09:49:02] Production.INFO: neon service started
[2025-02-09 09:49:02] Production.INFO: ==19558== Releasing lock...
[2025-02-09 09:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:49:02] Production.INFO: ==19562== Lock acquired, processing the job...
[2025-02-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:49:02] Production.INFO: ==19562== Releasing lock...
[2025-02-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:49:02] Production.INFO: ==19560== Lock acquired, processing the job...
[2025-02-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:49:03] Production.INFO: ==19560== Releasing lock...
[2025-02-09 04:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:49:03] Production.INFO: ==19570== Lock acquired, processing the job...
[2025-02-09 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:49:03] Production.INFO: ==19564== Lock acquired, processing the job...
[2025-02-09 04:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:49:03] Production.INFO: Account Balance Start.
[2025-02-09 04:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:49:04] Production.INFO: 117
[2025-02-09 04:49:04] Production.INFO: ==19575== Lock acquired, processing the job...
[2025-02-09 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:49:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:49:04] Production.INFO: ==19566== Lock acquired, processing the job...
[2025-02-09 04:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:49:04] Production.INFO: ==19572== Lock acquired, processing the job...
[2025-02-09 04:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:49:04] Production.INFO: ==19568== Lock acquired, processing the job...
[2025-02-09 04:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:49:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:49:04] Production.INFO: count ==21
[2025-02-09 04:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:49:04] Production.INFO: count ==21
[2025-02-09 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434714') start
[2025-02-09 04:49:04] Production.INFO: Total Charge 0
[2025-02-09 04:49:04] Production.INFO: CreateAllLog End
[2025-02-09 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434714') end
[2025-02-09 04:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:49:04] Production.INFO: 1
[2025-02-09 04:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:49:04] Production.INFO: ==19575== Releasing lock...
[2025-02-09 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:49:04] Production.INFO: ==19566== Releasing lock...
[2025-02-09 04:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:49:04] Production.INFO: Account Balance End.
[2025-02-09 04:49:04] Production.ERROR: done
[2025-02-09 04:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:49:04] Production.INFO: ==19570== Releasing lock...
[2025-02-09 04:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:49:04] Production.ERROR: done
[2025-02-09 04:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:49:05
[end_date_ymd] => 2025-02-09 04:49:05
[RateCDR] => 1
)
[2025-02-09 04:49: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` >= '2025-02-09 01:49:05' and `end` < '2025-02-09 04:49: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 ,'')
[2025-02-09 04:49:12] Production.ERROR: CronJobId end10
[2025-02-09 04:49:12] Production.INFO: ==19568== Releasing lock...
[2025-02-09 04:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:49:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:49:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:49:13] Production.INFO: call_cost start
[2025-02-09 04:49:13] Production.INFO: call_cost end
[2025-02-09 04:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:49:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:49:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:49:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:49:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:49:14] Production.INFO: ==19564== Releasing lock...
[2025-02-09 04:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:49:20] Production.INFO: count ==446
[2025-02-09 04:49:20] Production.ERROR: pbx CDR StartTime 2025-02-09 01:49:05 - End Time 2025-02-09 04:49:05
[2025-02-09 04:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434716', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434716', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434716', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434716', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:49:20] Production.INFO: ProcessCDR(1,14434716,1,1,2)
[2025-02-09 04:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434716', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434716', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:49:24] Production.INFO: ==19572== Releasing lock...
[2025-02-09 04:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:49:24] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 09:50:01] Production.INFO: ==19636== Lock acquired, processing the job...
[2025-02-09 09:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:50:01] Production.INFO: neon service started
[2025-02-09 09:50:01] Production.INFO: neon service started
[2025-02-09 09:50:01] Production.INFO: ==19636== Releasing lock...
[2025-02-09 09:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:50:02] Production.INFO: ==19638== Lock acquired, processing the job...
[2025-02-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:50:02] Production.INFO: ==19640== Lock acquired, processing the job...
[2025-02-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:50:02] Production.INFO: ==19640== Releasing lock...
[2025-02-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:50:02] Production.INFO: ==19638== Releasing lock...
[2025-02-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:50:03] Production.INFO: ==19642== Lock acquired, processing the job...
[2025-02-09 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 04:50:03] Production.INFO: ==19649== Lock acquired, processing the job...
[2025-02-09 04:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:50:03] Production.INFO: ==19651== Lock acquired, processing the job...
[2025-02-09 04:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 04:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:50:03] Production.ERROR: CronJob PID - 19649
[2025-02-09 04:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 04:50:03] Production.ERROR: CronJob ID - 10
[2025-02-09 04:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 04:50:00
[2025-02-09 04:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 04:50:03] Production.ERROR: CronJob PID - 19651
[2025-02-09 04:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 04:50:03] Production.ERROR: CronJob ID - 12
[2025-02-09 04:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 04:50:00
[2025-02-09 04:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 04:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 04:50:03] Production.INFO: ==19655== Lock acquired, processing the job...
[2025-02-09 04:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 04:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 04:50:03] Production.INFO: ==19642== Releasing lock...
[2025-02-09 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 04:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 04:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:50:03] Production.INFO: Account Balance Start.
[2025-02-09 04:50:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:50:03] Production.INFO: 117
[2025-02-09 04:50:03] Production.INFO: ==19644== Lock acquired, processing the job...
[2025-02-09 04:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:50:03] Production.INFO: ==19646== Lock acquired, processing the job...
[2025-02-09 04:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:50:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:50:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:50:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:50:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:50:03] Production.INFO: ==19653== Lock acquired, processing the job...
[2025-02-09 04:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:50:03] Production.INFO: Total Charge 0
[2025-02-09 04:50:04] Production.INFO: ==19657== Lock acquired, processing the job...
[2025-02-09 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:50:04] Production.INFO: CreateAllLog End
[2025-02-09 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:50:04] Production.ERROR: done
[2025-02-09 04:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 04:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434721', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 04:50:04] Production.ERROR: done
[2025-02-09 04:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:50:04] Production.ERROR: done
[2025-02-09 04:50:04] Production.INFO: ==19646== Releasing lock...
[2025-02-09 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:50:04] Production.INFO: Account Balance End.
[2025-02-09 04:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:50:04] Production.INFO: ==19651== Releasing lock...
[2025-02-09 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:50:05] Production.INFO: count ==21
[2025-02-09 04:50:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:50:05] Production.INFO: count ==21
[2025-02-09 04:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434720') start
[2025-02-09 04:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434720') end
[2025-02-09 04:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:50:05] Production.INFO: 1
[2025-02-09 04:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:50:05] Production.INFO: ==19657== Releasing lock...
[2025-02-09 04:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:50:05
[end_date_ymd] => 2025-02-09 04:50:05
[RateCDR] => 1
)
[2025-02-09 04:50: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` >= '2025-02-09 01:50:05' and `end` < '2025-02-09 04:50: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 ,'')
[2025-02-09 04:50:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434721', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 04:50:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 04:50:07] Production.INFO: ProcessCDR(1,14434721,1,1,2)
[2025-02-09 04:50:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434721,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434721,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:50:08] Production.INFO: ==19655== Releasing lock...
[2025-02-09 04:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 04:50:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 04:50:13] Production.ERROR: CronJobId end10
[2025-02-09 04:50:13] Production.INFO: ==19649== Releasing lock...
[2025-02-09 04:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:50:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:50:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:50:16] Production.INFO: call_cost start
[2025-02-09 04:50:16] Production.INFO: call_cost end
[2025-02-09 04:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:50:17] Production.INFO: ==19644== Releasing lock...
[2025-02-09 04:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:50:19] Production.INFO: count ==434
[2025-02-09 04:50:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:50:05 - End Time 2025-02-09 04:50:05
[2025-02-09 04:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434722', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434722', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434722', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434722', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:50:19] Production.INFO: ProcessCDR(1,14434722,1,1,2)
[2025-02-09 04:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434722', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434722', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:50:23] Production.INFO: ==19653== Releasing lock...
[2025-02-09 04:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:50:23] Production.INFO: 30.5 MB #Memory Used#
[2025-02-09 09:51:02] Production.INFO: ==19723== Lock acquired, processing the job...
[2025-02-09 09:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:51:02] Production.INFO: neon service started
[2025-02-09 09:51:02] Production.INFO: neon service started
[2025-02-09 09:51:02] Production.INFO: ==19723== Releasing lock...
[2025-02-09 09:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:51:02] Production.INFO: ==19727== Lock acquired, processing the job...
[2025-02-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:51:02] Production.INFO: ==19727== Releasing lock...
[2025-02-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:51:02] Production.INFO: ==19725== Lock acquired, processing the job...
[2025-02-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:51:02] Production.INFO: ==19725== Releasing lock...
[2025-02-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:51:03] Production.INFO: ==19732== Lock acquired, processing the job...
[2025-02-09 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:51:03] Production.INFO: ==19736== Lock acquired, processing the job...
[2025-02-09 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:51:03] Production.INFO: ==19730== Lock acquired, processing the job...
[2025-02-09 04:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:51:03] Production.INFO: ==19734== Lock acquired, processing the job...
[2025-02-09 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:51:03] Production.INFO: ==19738== Lock acquired, processing the job...
[2025-02-09 04:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:51:04] Production.INFO: Account Balance Start.
[2025-02-09 04:51:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:51:04] Production.INFO: 117
[2025-02-09 04:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:51:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:51:04] Production.INFO: ==19740== Lock acquired, processing the job...
[2025-02-09 04:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:51:04] Production.INFO: ==19732== Releasing lock...
[2025-02-09 04:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:51:04] Production.INFO: count ==21
[2025-02-09 04:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:51:04] Production.INFO: count ==21
[2025-02-09 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434726') start
[2025-02-09 04:51:04] Production.INFO: Total Charge 0
[2025-02-09 04:51:04] Production.INFO: CreateAllLog End
[2025-02-09 04:51:04] Production.ERROR: done
[2025-02-09 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434726') end
[2025-02-09 04:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:51:04] Production.INFO: 1
[2025-02-09 04:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:51:04] Production.INFO: Account Balance End.
[2025-02-09 04:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:51:04] Production.INFO: ==19736== Releasing lock...
[2025-02-09 04:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:51:04] Production.INFO: ==19740== Releasing lock...
[2025-02-09 04:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:51:04] Production.ERROR: done
[2025-02-09 04:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:51:05
[end_date_ymd] => 2025-02-09 04:51:05
[RateCDR] => 1
)
[2025-02-09 04:51: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` >= '2025-02-09 01:51:05' and `end` < '2025-02-09 04:51: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 ,'')
[2025-02-09 04:51:12] Production.ERROR: CronJobId end10
[2025-02-09 04:51:12] Production.INFO: ==19734== Releasing lock...
[2025-02-09 04:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:51:14] Production.INFO: call_cost start
[2025-02-09 04:51:14] Production.INFO: call_cost end
[2025-02-09 04:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:51:15] Production.INFO: ==19730== Releasing lock...
[2025-02-09 04:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:51:20] Production.INFO: count ==395
[2025-02-09 04:51:20] Production.ERROR: pbx CDR StartTime 2025-02-09 01:51:05 - End Time 2025-02-09 04:51:05
[2025-02-09 04:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434727', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434727', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434727', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434727', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:51:20] Production.INFO: ProcessCDR(1,14434727,1,1,2)
[2025-02-09 04:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434727', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434727', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:51:24] Production.INFO: ==19738== Releasing lock...
[2025-02-09 04:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:51:24] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 09:52:01] Production.INFO: ==19800== Lock acquired, processing the job...
[2025-02-09 09:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:52:01] Production.INFO: neon service started
[2025-02-09 09:52:01] Production.INFO: neon service started
[2025-02-09 09:52:01] Production.INFO: ==19800== Releasing lock...
[2025-02-09 09:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:52:02] Production.INFO: ==19804== Lock acquired, processing the job...
[2025-02-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:52:02] Production.INFO: ==19804== Releasing lock...
[2025-02-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:52:02] Production.INFO: ==19802== Lock acquired, processing the job...
[2025-02-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:52:02] Production.INFO: ==19802== Releasing lock...
[2025-02-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:52:03] Production.INFO: ==19807== Lock acquired, processing the job...
[2025-02-09 04:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:52:03] Production.INFO: ==19815== Lock acquired, processing the job...
[2025-02-09 04:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:52:03] Production.INFO: ==19809== Lock acquired, processing the job...
[2025-02-09 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:52:03] Production.INFO: ==19811== Lock acquired, processing the job...
[2025-02-09 04:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:52:03] Production.INFO: ==19813== Lock acquired, processing the job...
[2025-02-09 04:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:52:03] Production.INFO: ==19817== Lock acquired, processing the job...
[2025-02-09 04:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:52:03] Production.ERROR: done
[2025-02-09 04:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:52:04] Production.INFO: Account Balance Start.
[2025-02-09 04:52:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:52:04] Production.INFO: 117
[2025-02-09 04:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:52:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:52:04] Production.INFO: count ==21
[2025-02-09 04:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:52:04] Production.INFO: Total Charge 0
[2025-02-09 04:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:52:04] Production.INFO: count ==21
[2025-02-09 04:52:04] Production.INFO: ==19809== Releasing lock...
[2025-02-09 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:52:04] Production.INFO: CreateAllLog End
[2025-02-09 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434730') start
[2025-02-09 04:52:04] Production.ERROR: done
[2025-02-09 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434730') end
[2025-02-09 04:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:52:04] Production.INFO: 1
[2025-02-09 04:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:52:04] Production.INFO: ==19817== Releasing lock...
[2025-02-09 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:52:04] Production.INFO: Account Balance End.
[2025-02-09 04:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:52:04] Production.INFO: ==19813== Releasing lock...
[2025-02-09 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:52:05
[end_date_ymd] => 2025-02-09 04:52:05
[RateCDR] => 1
)
[2025-02-09 04:52: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` >= '2025-02-09 01:52:05' and `end` < '2025-02-09 04:52: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 ,'')
[2025-02-09 04:52:11] Production.ERROR: CronJobId end10
[2025-02-09 04:52:11] Production.INFO: ==19811== Releasing lock...
[2025-02-09 04:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:52:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:52:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:52:13] Production.INFO: call_cost start
[2025-02-09 04:52:13] Production.INFO: call_cost end
[2025-02-09 04:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:52:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:52:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:52:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:52:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:52:14] Production.INFO: ==19807== Releasing lock...
[2025-02-09 04:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:52:20] Production.INFO: count ==395
[2025-02-09 04:52:20] Production.ERROR: pbx CDR StartTime 2025-02-09 01:52:05 - End Time 2025-02-09 04:52:05
[2025-02-09 04:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434732', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434732', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434732', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434732', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:52:20] Production.INFO: ProcessCDR(1,14434732,1,1,2)
[2025-02-09 04:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434732', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434732', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:52:23] Production.INFO: ==19815== Releasing lock...
[2025-02-09 04:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:52:23] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 09:53:02] Production.INFO: ==19874== Lock acquired, processing the job...
[2025-02-09 09:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:53:02] Production.INFO: neon service started
[2025-02-09 09:53:02] Production.INFO: neon service started
[2025-02-09 09:53:02] Production.INFO: ==19874== Releasing lock...
[2025-02-09 09:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:53:02] Production.INFO: ==19877== Lock acquired, processing the job...
[2025-02-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:53:02] Production.INFO: ==19877== Releasing lock...
[2025-02-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:53:02] Production.INFO: ==19879== Lock acquired, processing the job...
[2025-02-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:53:02] Production.INFO: ==19879== Releasing lock...
[2025-02-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:53:03] Production.INFO: ==19891== Lock acquired, processing the job...
[2025-02-09 04:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:53:03] Production.INFO: ==19881== Lock acquired, processing the job...
[2025-02-09 04:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:53:03] Production.INFO: ==19889== Lock acquired, processing the job...
[2025-02-09 04:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:53:03] Production.INFO: count ==21
[2025-02-09 04:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:53:03] Production.INFO: count ==21
[2025-02-09 04:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434733') start
[2025-02-09 04:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:53:03] Production.INFO: ==19883== Lock acquired, processing the job...
[2025-02-09 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:53:03] Production.INFO: ==19885== Lock acquired, processing the job...
[2025-02-09 04:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:53:03] Production.INFO: ==19887== Lock acquired, processing the job...
[2025-02-09 04:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434733') end
[2025-02-09 04:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:53:04] Production.INFO: 1
[2025-02-09 04:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:53:04] Production.INFO: ==19891== Releasing lock...
[2025-02-09 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:53:04] Production.ERROR: done
[2025-02-09 04:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:53:04] Production.INFO: Account Balance Start.
[2025-02-09 04:53:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:53:04] Production.INFO: 117
[2025-02-09 04:53:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:53:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:53:04] Production.INFO: Total Charge 0
[2025-02-09 04:53:04] Production.INFO: CreateAllLog End
[2025-02-09 04:53:04] Production.INFO: ==19883== Releasing lock...
[2025-02-09 04:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:53:04] Production.ERROR: done
[2025-02-09 04:53:04] Production.INFO: Account Balance End.
[2025-02-09 04:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:53:04] Production.INFO: ==19887== Releasing lock...
[2025-02-09 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:53:05
[end_date_ymd] => 2025-02-09 04:53:05
[RateCDR] => 1
)
[2025-02-09 04:53: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` >= '2025-02-09 01:53:05' and `end` < '2025-02-09 04:53: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 ,'')
[2025-02-09 04:53:11] Production.ERROR: CronJobId end10
[2025-02-09 04:53:11] Production.INFO: ==19885== Releasing lock...
[2025-02-09 04:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:53:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:53:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:53:14] Production.INFO: call_cost start
[2025-02-09 04:53:14] Production.INFO: call_cost end
[2025-02-09 04:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:53:15] Production.INFO: ==19881== Releasing lock...
[2025-02-09 04:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:53:19] Production.INFO: count ==394
[2025-02-09 04:53:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:53:05 - End Time 2025-02-09 04:53:05
[2025-02-09 04:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434737', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434737', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434737', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434737', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:53:19] Production.INFO: ProcessCDR(1,14434737,1,1,2)
[2025-02-09 04:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434737', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434737', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:53:22] Production.INFO: ==19889== Releasing lock...
[2025-02-09 04:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:53:22] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 09:54:01] Production.INFO: ==19949== Lock acquired, processing the job...
[2025-02-09 09:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:54:01] Production.INFO: neon service started
[2025-02-09 09:54:01] Production.INFO: neon service started
[2025-02-09 09:54:01] Production.INFO: ==19949== Releasing lock...
[2025-02-09 09:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:54:01] Production.INFO: ==19954== Lock acquired, processing the job...
[2025-02-09 09:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:54:01] Production.INFO: ==19954== Releasing lock...
[2025-02-09 09:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:54:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:54:02] Production.INFO: ==19951== Lock acquired, processing the job...
[2025-02-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:54:02] Production.INFO: ==19951== Releasing lock...
[2025-02-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:54:03] Production.INFO: ==19960== Lock acquired, processing the job...
[2025-02-09 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:54:03] Production.INFO: ==19964== Lock acquired, processing the job...
[2025-02-09 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:54:03] Production.INFO: ==19956== Lock acquired, processing the job...
[2025-02-09 04:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:54:03] Production.INFO: ==19958== Lock acquired, processing the job...
[2025-02-09 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:54:03] Production.INFO: ==19962== Lock acquired, processing the job...
[2025-02-09 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:54:03] Production.INFO: ==19966== Lock acquired, processing the job...
[2025-02-09 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:54:03] Production.ERROR: done
[2025-02-09 04:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:54:03] Production.INFO: Account Balance Start.
[2025-02-09 04:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:54:03] Production.INFO: 117
[2025-02-09 04:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:54:03] Production.INFO: count ==21
[2025-02-09 04:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:54:03] Production.INFO: count ==21
[2025-02-09 04:54:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:54:03] Production.INFO: ==19958== Releasing lock...
[2025-02-09 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434741') start
[2025-02-09 04:54:03] Production.INFO: Total Charge 0
[2025-02-09 04:54:03] Production.INFO: CreateAllLog End
[2025-02-09 04:54:04] Production.ERROR: done
[2025-02-09 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434741') end
[2025-02-09 04:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:54:04] Production.INFO: 1
[2025-02-09 04:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:54:04] Production.INFO: ==19966== Releasing lock...
[2025-02-09 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:54:04] Production.INFO: Account Balance End.
[2025-02-09 04:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:54:04] Production.INFO: ==19962== Releasing lock...
[2025-02-09 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:54:05
[end_date_ymd] => 2025-02-09 04:54:05
[RateCDR] => 1
)
[2025-02-09 04:54: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` >= '2025-02-09 01:54:05' and `end` < '2025-02-09 04:54: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 ,'')
[2025-02-09 04:54:11] Production.ERROR: CronJobId end10
[2025-02-09 04:54:11] Production.INFO: ==19960== Releasing lock...
[2025-02-09 04:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:54:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:54:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:54:13] Production.INFO: call_cost start
[2025-02-09 04:54:13] Production.INFO: call_cost end
[2025-02-09 04:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:54:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:54:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:54:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:54:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:54:14] Production.INFO: ==19956== Releasing lock...
[2025-02-09 04:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:54:19] Production.INFO: count ==394
[2025-02-09 04:54:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:54:05 - End Time 2025-02-09 04:54:05
[2025-02-09 04:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434742', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434742', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434742', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434742', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:54:19] Production.INFO: ProcessCDR(1,14434742,1,1,2)
[2025-02-09 04:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434742', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434742', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:54:22] Production.INFO: ==19964== Releasing lock...
[2025-02-09 04:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:54:22] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 09:55:01] Production.INFO: ==20030== Lock acquired, processing the job...
[2025-02-09 09:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:55:01] Production.INFO: neon service started
[2025-02-09 09:55:01] Production.INFO: neon service started
[2025-02-09 09:55:01] Production.INFO: ==20030== Releasing lock...
[2025-02-09 09:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:55:02] Production.INFO: ==20032== Lock acquired, processing the job...
[2025-02-09 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:55:02] Production.INFO: ==20032== Releasing lock...
[2025-02-09 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:55:02] Production.INFO: ==20034== Lock acquired, processing the job...
[2025-02-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:55:02] Production.INFO: ==20034== Releasing lock...
[2025-02-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:55:03] Production.INFO: ==20042== Lock acquired, processing the job...
[2025-02-09 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:55:03] Production.INFO: ==20038== Lock acquired, processing the job...
[2025-02-09 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:55:03] Production.INFO: ==20046== Lock acquired, processing the job...
[2025-02-09 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:55:03] Production.INFO: Account Balance Start.
[2025-02-09 04:55:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:55:03] Production.INFO: 117
[2025-02-09 04:55:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:55:03] Production.INFO: Date 2025-02-09
[2025-02-09 04:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 04:55:03] Production.INFO: ==20036== Lock acquired, processing the job...
[2025-02-09 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:55:03] Production.INFO: Total Charge 0
[2025-02-09 04:55:03] Production.INFO: ==20040== Lock acquired, processing the job...
[2025-02-09 04:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:55:03] Production.INFO: CreateAllLog End
[2025-02-09 04:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:55:03] Production.INFO: ==20044== Lock acquired, processing the job...
[2025-02-09 04:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:55:03] Production.INFO: Account Balance End.
[2025-02-09 04:55:03] Production.ERROR: CronJobId end 12
[2025-02-09 04:55:03] Production.INFO: ==20042== Releasing lock...
[2025-02-09 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:55:03] Production.INFO: ==20038== Releasing lock...
[2025-02-09 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:55:03] Production.INFO: count ==21
[2025-02-09 04:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:55:04] Production.INFO: count ==21
[2025-02-09 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434745') start
[2025-02-09 04:55:04] Production.ERROR: done
[2025-02-09 04:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434745') end
[2025-02-09 04:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:55:04] Production.INFO: 1
[2025-02-09 04:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:55:04] Production.INFO: ==20046== Releasing lock...
[2025-02-09 04:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:55:04] Production.ERROR: done
[2025-02-09 04:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:55:05
[end_date_ymd] => 2025-02-09 04:55:05
[RateCDR] => 1
)
[2025-02-09 04:55: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` >= '2025-02-09 01:55:05' and `end` < '2025-02-09 04:55: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 ,'')
[2025-02-09 04:55:11] Production.ERROR: CronJobId end10
[2025-02-09 04:55:11] Production.INFO: ==20040== Releasing lock...
[2025-02-09 04:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:55:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:55:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:55:13] Production.INFO: call_cost start
[2025-02-09 04:55:13] Production.INFO: call_cost end
[2025-02-09 04:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:55:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:55:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:55:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:55:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:55:14] Production.INFO: ==20036== Releasing lock...
[2025-02-09 04:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:55:18] Production.INFO: count ==394
[2025-02-09 04:55:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:55:05 - End Time 2025-02-09 04:55:05
[2025-02-09 04:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434747', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434747', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434747', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434747', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:55:18] Production.INFO: ProcessCDR(1,14434747,1,1,2)
[2025-02-09 04:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434747', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434747', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:55:22] Production.INFO: ==20044== Releasing lock...
[2025-02-09 04:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:55:22] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 09:56:02] Production.INFO: ==20110== Lock acquired, processing the job...
[2025-02-09 09:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:56:02] Production.INFO: neon service started
[2025-02-09 09:56:02] Production.INFO: neon service started
[2025-02-09 09:56:02] Production.INFO: ==20110== Releasing lock...
[2025-02-09 09:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:56:02] Production.INFO: ==20112== Lock acquired, processing the job...
[2025-02-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:56:03] Production.INFO: ==20114== Lock acquired, processing the job...
[2025-02-09 09:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:56:03] Production.INFO: ==20114== Releasing lock...
[2025-02-09 09:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:56:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:56:03] Production.INFO: ==20112== Releasing lock...
[2025-02-09 04:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:56:04] Production.INFO: ==20117== Lock acquired, processing the job...
[2025-02-09 04:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:56:04] Production.INFO: ==20119== Lock acquired, processing the job...
[2025-02-09 04:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:56:04] Production.INFO: ==20125== Lock acquired, processing the job...
[2025-02-09 04:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:56:04] Production.INFO: ==20123== Lock acquired, processing the job...
[2025-02-09 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:56:04] Production.INFO: ==20121== Lock acquired, processing the job...
[2025-02-09 04:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:56:04] Production.INFO: ==20127== Lock acquired, processing the job...
[2025-02-09 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:56:04] Production.INFO: ==20119== Releasing lock...
[2025-02-09 04:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:56:04] Production.ERROR: done
[2025-02-09 04:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:56:04] Production.INFO: Account Balance Start.
[2025-02-09 04:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:56:04] Production.INFO: 117
[2025-02-09 04:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:56:04] Production.INFO: count ==21
[2025-02-09 04:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:56:04] Production.INFO: count ==21
[2025-02-09 04:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434750') start
[2025-02-09 04:56:04] Production.INFO: Total Charge 0
[2025-02-09 04:56:04] Production.INFO: CreateAllLog End
[2025-02-09 04:56:04] Production.ERROR: done
[2025-02-09 04:56:05] Production.INFO: Account Balance End.
[2025-02-09 04:56:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434750') end
[2025-02-09 04:56:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:56:05] Production.INFO: 1
[2025-02-09 04:56:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:56:05] Production.ERROR: CronJobId end 12
[2025-02-09 04:56:05] Production.INFO: ==20123== Releasing lock...
[2025-02-09 04:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:56:05] Production.INFO: ==20127== Releasing lock...
[2025-02-09 04:56:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:56:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:56:05
[end_date_ymd] => 2025-02-09 04:56:05
[RateCDR] => 1
)
[2025-02-09 04:56: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` >= '2025-02-09 01:56:05' and `end` < '2025-02-09 04:56: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 ,'')
[2025-02-09 04:56:12] Production.ERROR: CronJobId end10
[2025-02-09 04:56:12] Production.INFO: ==20121== Releasing lock...
[2025-02-09 04:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:56:14] Production.INFO: call_cost start
[2025-02-09 04:56:14] Production.INFO: call_cost end
[2025-02-09 04:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:56:15] Production.INFO: ==20117== Releasing lock...
[2025-02-09 04:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:56:20] Production.INFO: count ==394
[2025-02-09 04:56:20] Production.ERROR: pbx CDR StartTime 2025-02-09 01:56:05 - End Time 2025-02-09 04:56:05
[2025-02-09 04:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434752', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434752', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434752', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434752', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:56:20] Production.INFO: ProcessCDR(1,14434752,1,1,2)
[2025-02-09 04:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434752', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434752', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:56:23] Production.INFO: ==20125== Releasing lock...
[2025-02-09 04:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:56:23] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 09:57:01] Production.INFO: ==20185== Lock acquired, processing the job...
[2025-02-09 09:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:57:01] Production.INFO: neon service started
[2025-02-09 09:57:01] Production.INFO: neon service started
[2025-02-09 09:57:01] Production.INFO: ==20185== Releasing lock...
[2025-02-09 09:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 04:57:02] Production.INFO: ==20187== Lock acquired, processing the job...
[2025-02-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:57:02] Production.INFO: ==20187== Releasing lock...
[2025-02-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:57:02] Production.INFO: ==20189== Lock acquired, processing the job...
[2025-02-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:57:02] Production.INFO: ==20189== Releasing lock...
[2025-02-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:57:03] Production.INFO: ==20195== Lock acquired, processing the job...
[2025-02-09 04:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:57:03] Production.INFO: ==20199== Lock acquired, processing the job...
[2025-02-09 04:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:57:03] Production.INFO: ==20191== Lock acquired, processing the job...
[2025-02-09 04:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:57:03] Production.INFO: ==20193== Lock acquired, processing the job...
[2025-02-09 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:57:03] Production.INFO: ==20197== Lock acquired, processing the job...
[2025-02-09 04:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:57:03] Production.ERROR: done
[2025-02-09 04:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:57:03] Production.INFO: ==20201== Lock acquired, processing the job...
[2025-02-09 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:57:03] Production.ERROR: done
[2025-02-09 04:57:03] Production.INFO: Account Balance Start.
[2025-02-09 04:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:57:03] Production.INFO: 117
[2025-02-09 04:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 04:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:57:04] Production.INFO: count ==21
[2025-02-09 04:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:57:04] Production.INFO: count ==21
[2025-02-09 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434755') start
[2025-02-09 04:57:04] Production.INFO: ==20193== Releasing lock...
[2025-02-09 04:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:57:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:57:04] Production.INFO: Total Charge 0
[2025-02-09 04:57:04] Production.INFO: CreateAllLog End
[2025-02-09 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434755') end
[2025-02-09 04:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:57:04] Production.INFO: 1
[2025-02-09 04:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:57:04] Production.INFO: ==20201== Releasing lock...
[2025-02-09 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:57:04] Production.INFO: Account Balance End.
[2025-02-09 04:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:57:04] Production.INFO: ==20197== Releasing lock...
[2025-02-09 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:57:05
[end_date_ymd] => 2025-02-09 04:57:05
[RateCDR] => 1
)
[2025-02-09 04:57: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` >= '2025-02-09 01:57:05' and `end` < '2025-02-09 04:57: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 ,'')
[2025-02-09 04:57:11] Production.ERROR: CronJobId end10
[2025-02-09 04:57:11] Production.INFO: ==20195== Releasing lock...
[2025-02-09 04:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:57:14] Production.INFO: call_cost start
[2025-02-09 04:57:14] Production.INFO: call_cost end
[2025-02-09 04:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:57:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:57:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:57:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:57:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:57:14] Production.INFO: ==20191== Releasing lock...
[2025-02-09 04:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:57:18] Production.INFO: count ==391
[2025-02-09 04:57:18] Production.ERROR: pbx CDR StartTime 2025-02-09 01:57:05 - End Time 2025-02-09 04:57:05
[2025-02-09 04:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434757', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434757', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434757', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434757', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:57:18] Production.INFO: ProcessCDR(1,14434757,1,1,2)
[2025-02-09 04:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434757', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434757', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:57:21] Production.INFO: ==20199== Releasing lock...
[2025-02-09 04:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:57:21] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 09:58:02] Production.INFO: ==20261== Lock acquired, processing the job...
[2025-02-09 09:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:58:02] Production.INFO: neon service started
[2025-02-09 09:58:02] Production.INFO: neon service started
[2025-02-09 09:58:02] Production.INFO: ==20261== Releasing lock...
[2025-02-09 09:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:58:02] Production.INFO: ==20265== Lock acquired, processing the job...
[2025-02-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:58:02] Production.INFO: ==20265== Releasing lock...
[2025-02-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:58:02] Production.INFO: ==20263== Lock acquired, processing the job...
[2025-02-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 04:58:03] Production.INFO: ==20263== Releasing lock...
[2025-02-09 04:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:58:03] Production.INFO: ==20272== Lock acquired, processing the job...
[2025-02-09 04:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:58:03] Production.INFO: ==20278== Lock acquired, processing the job...
[2025-02-09 04:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:58:04] Production.INFO: ==20267== Lock acquired, processing the job...
[2025-02-09 04:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:58:04] Production.INFO: count ==21
[2025-02-09 04:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:58:04] Production.INFO: count ==21
[2025-02-09 04:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:58:04] Production.INFO: ==20270== Lock acquired, processing the job...
[2025-02-09 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434758') start
[2025-02-09 04:58:04] Production.INFO: ==20274== Lock acquired, processing the job...
[2025-02-09 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:58:04] Production.INFO: ==20276== Lock acquired, processing the job...
[2025-02-09 04:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434758') end
[2025-02-09 04:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:58:04] Production.INFO: 1
[2025-02-09 04:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:58:04] Production.INFO: ==20278== Releasing lock...
[2025-02-09 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:58:04] Production.INFO: Account Balance Start.
[2025-02-09 04:58:04] Production.INFO: CreateAllLog Start
[2025-02-09 04:58:04] Production.INFO: 117
[2025-02-09 04:58:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:58:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:58:04] Production.INFO: Total Charge 0
[2025-02-09 04:58:04] Production.INFO: CreateAllLog End
[2025-02-09 04:58:04] Production.INFO: ==20270== Releasing lock...
[2025-02-09 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:58:04] Production.ERROR: done
[2025-02-09 04:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:58:04] Production.INFO: Account Balance End.
[2025-02-09 04:58:05] Production.ERROR: CronJobId end 12
[2025-02-09 04:58:05] Production.INFO: ==20274== Releasing lock...
[2025-02-09 04:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:58:05] Production.ERROR: done
[2025-02-09 04:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:58:05
[end_date_ymd] => 2025-02-09 04:58:05
[RateCDR] => 1
)
[2025-02-09 04:58: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` >= '2025-02-09 01:58:05' and `end` < '2025-02-09 04:58: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 ,'')
[2025-02-09 04:58:12] Production.ERROR: CronJobId end10
[2025-02-09 04:58:12] Production.INFO: ==20272== Releasing lock...
[2025-02-09 04:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:58:14] Production.INFO: call_cost start
[2025-02-09 04:58:14] Production.INFO: call_cost end
[2025-02-09 04:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:58:15] Production.INFO: ==20267== Releasing lock...
[2025-02-09 04:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:58:20] Production.INFO: count ==390
[2025-02-09 04:58:20] Production.ERROR: pbx CDR StartTime 2025-02-09 01:58:05 - End Time 2025-02-09 04:58:05
[2025-02-09 04:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434762', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434762', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434762', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434762', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:58:20] Production.INFO: ProcessCDR(1,14434762,1,1,2)
[2025-02-09 04:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434762', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434762', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:58:23] Production.INFO: ==20276== Releasing lock...
[2025-02-09 04:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:58:23] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 09:59:01] Production.INFO: ==20333== Lock acquired, processing the job...
[2025-02-09 09:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 09:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 09:59:01] Production.INFO: neon service started
[2025-02-09 09:59:01] Production.INFO: neon service started
[2025-02-09 09:59:01] Production.INFO: ==20333== Releasing lock...
[2025-02-09 09:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 09:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:59:02] Production.INFO: ==20337== Lock acquired, processing the job...
[2025-02-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 04:59:02] Production.INFO: ==20335== Lock acquired, processing the job...
[2025-02-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:59:02] Production.INFO: ==20337== Releasing lock...
[2025-02-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 09:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 04:59:02] Production.INFO: ==20335== Releasing lock...
[2025-02-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 04:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 04:59:03] Production.INFO: ==20340== Lock acquired, processing the job...
[2025-02-09 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 04:59:03] Production.INFO: ==20342== Lock acquired, processing the job...
[2025-02-09 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 04:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 04:59:03] Production.INFO: ==20348== Lock acquired, processing the job...
[2025-02-09 04:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 04:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 04:59:03] Production.INFO: ==20344== Lock acquired, processing the job...
[2025-02-09 04:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 04:59:03] Production.INFO: ==20346== Lock acquired, processing the job...
[2025-02-09 04:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 04:59:03] Production.INFO: ==20342== Releasing lock...
[2025-02-09 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 04:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 04:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 04:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 04:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 04:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 04:59:03] Production.INFO: ==20350== Lock acquired, processing the job...
[2025-02-09 04:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 04:59:03] Production.INFO: Account Balance Start.
[2025-02-09 04:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 04:59:03] Production.INFO: 117
[2025-02-09 04:59:04] Production.INFO: Date 2025-02-08
[2025-02-09 04:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:59:04] Production.ERROR: done
[2025-02-09 04:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 04:59:04] Production.INFO: Date 2025-02-09
[2025-02-09 04:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 04:59:04] Production.INFO: Total Charge 0
[2025-02-09 04:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:59:04] Production.INFO: CreateAllLog End
[2025-02-09 04:59:04] Production.INFO: count ==21
[2025-02-09 04:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 04:59:04] Production.ERROR: done
[2025-02-09 04:59:04] Production.INFO: count ==21
[2025-02-09 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434766') start
[2025-02-09 04:59:04] Production.INFO: Account Balance End.
[2025-02-09 04:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 04:59:04] Production.INFO: ==20346== Releasing lock...
[2025-02-09 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 04:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434766') end
[2025-02-09 04:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 04:59:04] Production.INFO: 1
[2025-02-09 04:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 04:59:04] Production.INFO: ==20350== Releasing lock...
[2025-02-09 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 04:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 04:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 01:59:05
[end_date_ymd] => 2025-02-09 04:59:05
[RateCDR] => 1
)
[2025-02-09 04:59: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` >= '2025-02-09 01:59:05' and `end` < '2025-02-09 04:59: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 ,'')
[2025-02-09 04:59:12] Production.ERROR: CronJobId end10
[2025-02-09 04:59:12] Production.INFO: ==20344== Releasing lock...
[2025-02-09 04:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 04:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 04:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 04:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 04:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 04:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 04:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 04:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 04:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 04:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 04:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 04:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 04:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 04:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 04:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 04:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 04:59:14] Production.INFO: call_cost start
[2025-02-09 04:59:14] Production.INFO: call_cost end
[2025-02-09 04:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 04:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 04:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 04:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 04:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 04:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 04:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 04:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 04:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 04:59:15] Production.INFO: ==20340== Releasing lock...
[2025-02-09 04:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 04:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 04:59:19] Production.INFO: count ==389
[2025-02-09 04:59:19] Production.ERROR: pbx CDR StartTime 2025-02-09 01:59:05 - End Time 2025-02-09 04:59:05
[2025-02-09 04:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 04:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434767', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434767', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434767', 'tblTempVendorCDR_20' ) start
[2025-02-09 04:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434767', 'tblTempVendorCDR_20' ) end
[2025-02-09 04:59:19] Production.INFO: ProcessCDR(1,14434767,1,1,2)
[2025-02-09 04:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 04:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 04:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434767', 'tblTempUsageDetail_20' ) start
[2025-02-09 04:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434767', 'tblTempUsageDetail_20' ) end
[2025-02-09 04:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 04:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 04:59:22] Production.INFO: ==20348== Releasing lock...
[2025-02-09 04:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 04:59:22] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:00:02] Production.INFO: ==20456== Lock acquired, processing the job...
[2025-02-09 10:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:00:02] Production.INFO: neon service started
[2025-02-09 10:00:02] Production.INFO: neon service started
[2025-02-09 10:00:02] Production.INFO: ==20456== Releasing lock...
[2025-02-09 10:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:00:02] Production.INFO: ==20458== Lock acquired, processing the job...
[2025-02-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:00:02] Production.INFO: ==20458== Releasing lock...
[2025-02-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:00:03] Production.INFO: ==20460== Lock acquired, processing the job...
[2025-02-09 10:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:00:03] Production.INFO: ==20460== Releasing lock...
[2025-02-09 10:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:00:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:00:04] Production.INFO: ==20464== Lock acquired, processing the job...
[2025-02-09 05:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:00:04] Production.INFO: ==20470== Lock acquired, processing the job...
[2025-02-09 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:00:04] Production.INFO: ==20462== Lock acquired, processing the job...
[2025-02-09 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 05:00:04] Production.INFO: Account Balance Start.
[2025-02-09 05:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:00:04] Production.INFO: 117
[2025-02-09 05:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 05:00:04] Production.ERROR: CronJob PID - 20464
[2025-02-09 05:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 05:00:04] Production.ERROR: CronJob ID - 5
[2025-02-09 05:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 05:00:00
[2025-02-09 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 05:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 05:00:04] Production.ERROR: CronJob PID - 20470
[2025-02-09 05:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 05:00:04] Production.ERROR: CronJob ID - 12
[2025-02-09 05:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 05:00:00
[2025-02-09 05:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 05:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 05:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:00:04] Production.INFO: ==20476== Lock acquired, processing the job...
[2025-02-09 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:00:04] Production.INFO: ==20466== Lock acquired, processing the job...
[2025-02-09 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:00:04] Production.INFO: ==20468== Lock acquired, processing the job...
[2025-02-09 05:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 05:00:04] Production.INFO: ==20462== Releasing lock...
[2025-02-09 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 05:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 05:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:00:04] Production.INFO: Total Charge 0
[2025-02-09 05:00:04] Production.INFO: CreateAllLog End
[2025-02-09 05:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:00:04] Production.INFO: ==20472== Lock acquired, processing the job...
[2025-02-09 05:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:00:04] Production.INFO: count ==21
[2025-02-09 05:00:04] Production.INFO: ==20474== Lock acquired, processing the job...
[2025-02-09 05:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 05:00:04] Production.INFO: Account Balance End.
[2025-02-09 05:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:00:04] Production.INFO: count ==21
[2025-02-09 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434770') start
[2025-02-09 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:00:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:00:04] Production.INFO: ==20470== Releasing lock...
[2025-02-09 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:00:04] Production.INFO: ==20466== Releasing lock...
[2025-02-09 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434770') end
[2025-02-09 05:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:00:04] Production.INFO: 1
[2025-02-09 05:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:00:05] Production.INFO: ==20476== Releasing lock...
[2025-02-09 05:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:00:05] Production.ERROR: done
[2025-02-09 05:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:00:05] Production.ERROR: done
[2025-02-09 05:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 05:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434772', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 05:00:05] Production.ERROR: done
[2025-02-09 05:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:00:06
[end_date_ymd] => 2025-02-09 05:00:06
[RateCDR] => 1
)
[2025-02-09 05: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-02-09 02:00:06' and `end` < '2025-02-09 05: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-02-09 05:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434772', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 05:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 05:00:09] Production.INFO: ProcessCDR(1,14434772,1,1,2)
[2025-02-09 05:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434772,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434772,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:00:09] Production.INFO: ==20474== Releasing lock...
[2025-02-09 05:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 05:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 05:00:14] Production.ERROR: CronJobId end10
[2025-02-09 05:00:14] Production.INFO: ==20468== Releasing lock...
[2025-02-09 05:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:00:17] Production.INFO: call_cost start
[2025-02-09 05:00:17] Production.INFO: call_cost end
[2025-02-09 05:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:00:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:00:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:00:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:00:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:00:17] Production.INFO: ==20464== Releasing lock...
[2025-02-09 05:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:00:21] Production.INFO: count ==380
[2025-02-09 05:00:21] Production.ERROR: pbx CDR StartTime 2025-02-09 02:00:06 - End Time 2025-02-09 05:00:06
[2025-02-09 05:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434773', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434773', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434773', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434773', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:00:21] Production.INFO: ProcessCDR(1,14434773,1,1,2)
[2025-02-09 05:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434773', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434773', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:00:24] Production.INFO: ==20472== Releasing lock...
[2025-02-09 05:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:00:24] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:01:01] Production.INFO: ==20542== Lock acquired, processing the job...
[2025-02-09 10:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:01:01] Production.INFO: neon service started
[2025-02-09 10:01:01] Production.INFO: neon service started
[2025-02-09 10:01:01] Production.INFO: ==20542== Releasing lock...
[2025-02-09 10:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:01:02] Production.INFO: ==20551== Lock acquired, processing the job...
[2025-02-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:01:02] Production.INFO: ==20551== Releasing lock...
[2025-02-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:01:02] Production.INFO: ==20553== Lock acquired, processing the job...
[2025-02-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:01:02] Production.INFO: ==20553== Releasing lock...
[2025-02-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:01:03] Production.INFO: ==20566== Lock acquired, processing the job...
[2025-02-09 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:01:03] Production.INFO: ==20564== Lock acquired, processing the job...
[2025-02-09 05:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:01:03] Production.INFO: ==20556== Lock acquired, processing the job...
[2025-02-09 05:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:01:03] Production.INFO: count ==21
[2025-02-09 05:01:03] Production.INFO: ==20558== Lock acquired, processing the job...
[2025-02-09 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:01:03] Production.INFO: ==20560== Lock acquired, processing the job...
[2025-02-09 05:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:01:03] Production.INFO: count ==21
[2025-02-09 05:01:03] Production.INFO: ==20562== Lock acquired, processing the job...
[2025-02-09 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434774') start
[2025-02-09 05:01:04] Production.INFO: Account Balance Start.
[2025-02-09 05:01:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:01:04] Production.INFO: 117
[2025-02-09 05:01:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:01:04] Production.INFO: Total Charge 0
[2025-02-09 05:01:04] Production.INFO: CreateAllLog End
[2025-02-09 05:01:04] Production.ERROR: done
[2025-02-09 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434774') end
[2025-02-09 05:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:01:04] Production.INFO: 1
[2025-02-09 05:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:01:04] Production.INFO: ==20558== Releasing lock...
[2025-02-09 05:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:01:04] Production.INFO: ==20566== Releasing lock...
[2025-02-09 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:01:04] Production.ERROR: done
[2025-02-09 05:01:04] Production.INFO: Account Balance End.
[2025-02-09 05:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:01:04] Production.INFO: ==20562== Releasing lock...
[2025-02-09 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:01:05
[end_date_ymd] => 2025-02-09 05:01:05
[RateCDR] => 1
)
[2025-02-09 05:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 02:01:05' and `end` < '2025-02-09 05:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 05:01:13] Production.ERROR: CronJobId end10
[2025-02-09 05:01:13] Production.INFO: ==20560== Releasing lock...
[2025-02-09 05:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:01:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:01:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:01:16] Production.INFO: call_cost start
[2025-02-09 05:01:16] Production.INFO: call_cost end
[2025-02-09 05:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:01:17] Production.INFO: ==20556== Releasing lock...
[2025-02-09 05:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:01:20] Production.INFO: count ==364
[2025-02-09 05:01:20] Production.ERROR: pbx CDR StartTime 2025-02-09 02:01:05 - End Time 2025-02-09 05:01:05
[2025-02-09 05:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434778', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434778', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434778', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434778', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:01:20] Production.INFO: ProcessCDR(1,14434778,1,1,2)
[2025-02-09 05:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434778', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434778', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:01:23] Production.INFO: ==20564== Releasing lock...
[2025-02-09 05:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:01:23] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:02:02] Production.INFO: ==20633== Lock acquired, processing the job...
[2025-02-09 10:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:02:02] Production.INFO: neon service started
[2025-02-09 10:02:02] Production.INFO: neon service started
[2025-02-09 10:02:02] Production.INFO: ==20633== Releasing lock...
[2025-02-09 10:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:02:02] Production.INFO: ==20637== Lock acquired, processing the job...
[2025-02-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:02:02] Production.INFO: ==20637== Releasing lock...
[2025-02-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:02:02] Production.INFO: ==20635== Lock acquired, processing the job...
[2025-02-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:02:03] Production.INFO: ==20635== Releasing lock...
[2025-02-09 05:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:02:03] Production.INFO: ==20643== Lock acquired, processing the job...
[2025-02-09 05:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:02:04] Production.INFO: ==20639== Lock acquired, processing the job...
[2025-02-09 05:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:02:04] Production.INFO: ==20650== Lock acquired, processing the job...
[2025-02-09 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:02:04] Production.INFO: ==20641== Lock acquired, processing the job...
[2025-02-09 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:02:04] Production.INFO: count ==21
[2025-02-09 05:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:02:04] Production.INFO: count ==21
[2025-02-09 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434779') start
[2025-02-09 05:02:04] Production.INFO: ==20645== Lock acquired, processing the job...
[2025-02-09 05:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:02:04] Production.INFO: ==20647== Lock acquired, processing the job...
[2025-02-09 05:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434779') end
[2025-02-09 05:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:02:04] Production.INFO: 1
[2025-02-09 05:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:02:04] Production.INFO: Account Balance Start.
[2025-02-09 05:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:02:04] Production.INFO: 117
[2025-02-09 05:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:02:04] Production.INFO: ==20650== Releasing lock...
[2025-02-09 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:02:04] Production.INFO: Total Charge 0
[2025-02-09 05:02:04] Production.INFO: CreateAllLog End
[2025-02-09 05:02:04] Production.INFO: ==20641== Releasing lock...
[2025-02-09 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:02:04] Production.ERROR: done
[2025-02-09 05:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:02:05] Production.ERROR: done
[2025-02-09 05:02:05] Production.INFO: Account Balance End.
[2025-02-09 05:02:05] Production.ERROR: CronJobId end 12
[2025-02-09 05:02:05] Production.INFO: ==20645== Releasing lock...
[2025-02-09 05:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:02:06
[end_date_ymd] => 2025-02-09 05:02:06
[RateCDR] => 1
)
[2025-02-09 05:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 02:02:06' and `end` < '2025-02-09 05:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 05:02:12] Production.ERROR: CronJobId end10
[2025-02-09 05:02:12] Production.INFO: ==20643== Releasing lock...
[2025-02-09 05:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:02:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:02:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:02:14] Production.INFO: call_cost start
[2025-02-09 05:02:14] Production.INFO: call_cost end
[2025-02-09 05:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:02:15] Production.INFO: ==20639== Releasing lock...
[2025-02-09 05:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:02:20] Production.INFO: count ==364
[2025-02-09 05:02:20] Production.ERROR: pbx CDR StartTime 2025-02-09 02:02:06 - End Time 2025-02-09 05:02:06
[2025-02-09 05:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434783', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434783', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434783', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434783', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:02:20] Production.INFO: ProcessCDR(1,14434783,1,1,2)
[2025-02-09 05:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434783', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434783', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:02:23] Production.INFO: ==20647== Releasing lock...
[2025-02-09 05:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:02:23] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:03:01] Production.INFO: ==20739== Lock acquired, processing the job...
[2025-02-09 10:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:03:01] Production.INFO: neon service started
[2025-02-09 10:03:01] Production.INFO: neon service started
[2025-02-09 10:03:01] Production.INFO: ==20739== Releasing lock...
[2025-02-09 10:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:03:01] Production.INFO: ==20741== Lock acquired, processing the job...
[2025-02-09 05:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:03:02] Production.INFO: ==20741== Releasing lock...
[2025-02-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:03:02] Production.INFO: ==20743== Lock acquired, processing the job...
[2025-02-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:03:02] Production.INFO: ==20743== Releasing lock...
[2025-02-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:03:03] Production.INFO: ==20757== Lock acquired, processing the job...
[2025-02-09 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:03:03] Production.INFO: ==20751== Lock acquired, processing the job...
[2025-02-09 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:03:03] Production.INFO: count ==21
[2025-02-09 05:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:03:03] Production.INFO: ==20747== Lock acquired, processing the job...
[2025-02-09 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:03:03] Production.INFO: ==20749== Lock acquired, processing the job...
[2025-02-09 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:03:03] Production.INFO: ==20753== Lock acquired, processing the job...
[2025-02-09 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:03:03] Production.INFO: ==20755== Lock acquired, processing the job...
[2025-02-09 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:03:03] Production.INFO: count ==21
[2025-02-09 05:03:03] Production.INFO: Account Balance Start.
[2025-02-09 05:03:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:03:03] Production.INFO: 117
[2025-02-09 05:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434784') start
[2025-02-09 05:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:03:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:03:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:03:03] Production.INFO: Total Charge 0
[2025-02-09 05:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434784') end
[2025-02-09 05:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:03:03] Production.INFO: 1
[2025-02-09 05:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:03:03] Production.INFO: CreateAllLog End
[2025-02-09 05:03:03] Production.INFO: ==20757== Releasing lock...
[2025-02-09 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:03:04] Production.ERROR: done
[2025-02-09 05:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:03:04] Production.INFO: Account Balance End.
[2025-02-09 05:03:04] Production.ERROR: done
[2025-02-09 05:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:03:04] Production.INFO: ==20753== Releasing lock...
[2025-02-09 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:03:04] Production.INFO: ==20749== Releasing lock...
[2025-02-09 05:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:03:05
[end_date_ymd] => 2025-02-09 05:03:05
[RateCDR] => 1
)
[2025-02-09 05:03: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` >= '2025-02-09 02:03:05' and `end` < '2025-02-09 05:03: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 ,'')
[2025-02-09 05:03:12] Production.ERROR: CronJobId end10
[2025-02-09 05:03:12] Production.INFO: ==20751== Releasing lock...
[2025-02-09 05:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:03:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:03:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:03:14] Production.INFO: call_cost start
[2025-02-09 05:03:14] Production.INFO: call_cost end
[2025-02-09 05:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:03:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:03:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:03:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:03:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:03:15] Production.INFO: ==20747== Releasing lock...
[2025-02-09 05:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:03:18] Production.INFO: count ==364
[2025-02-09 05:03:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:03:05 - End Time 2025-02-09 05:03:05
[2025-02-09 05:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434788', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434788', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434788', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434788', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:03:18] Production.INFO: ProcessCDR(1,14434788,1,1,2)
[2025-02-09 05:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434788', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434788', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:03:21] Production.INFO: ==20755== Releasing lock...
[2025-02-09 05:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:03:21] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:04:02] Production.INFO: ==20842== Lock acquired, processing the job...
[2025-02-09 10:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:04:02] Production.INFO: neon service started
[2025-02-09 10:04:02] Production.INFO: neon service started
[2025-02-09 10:04:02] Production.INFO: ==20842== Releasing lock...
[2025-02-09 10:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:04:02] Production.INFO: ==20845== Lock acquired, processing the job...
[2025-02-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:04:02] Production.INFO: ==20845== Releasing lock...
[2025-02-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:04:02] Production.INFO: ==20847== Lock acquired, processing the job...
[2025-02-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:04:03] Production.INFO: ==20847== Releasing lock...
[2025-02-09 10:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:04:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:04:03] Production.INFO: ==20849== Lock acquired, processing the job...
[2025-02-09 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:04:03] Production.INFO: ==20851== Lock acquired, processing the job...
[2025-02-09 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:04:03] Production.INFO: ==20855== Lock acquired, processing the job...
[2025-02-09 05:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:04:03] Production.INFO: Account Balance Start.
[2025-02-09 05:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:04:03] Production.INFO: 117
[2025-02-09 05:04:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:04:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:04:03] Production.INFO: Total Charge 0
[2025-02-09 05:04:03] Production.INFO: ==20853== Lock acquired, processing the job...
[2025-02-09 05:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:04:03] Production.INFO: CreateAllLog End
[2025-02-09 05:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:04:03] Production.INFO: ==20859== Lock acquired, processing the job...
[2025-02-09 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:04:03] Production.INFO: ==20857== Lock acquired, processing the job...
[2025-02-09 05:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:04:04] Production.INFO: Account Balance End.
[2025-02-09 05:04:04] Production.INFO: ==20851== Releasing lock...
[2025-02-09 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:04:04] Production.INFO: ==20855== Releasing lock...
[2025-02-09 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:04:04] Production.INFO: count ==21
[2025-02-09 05:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:04:04] Production.INFO: count ==21
[2025-02-09 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434792') start
[2025-02-09 05:04:04] Production.ERROR: done
[2025-02-09 05:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434792') end
[2025-02-09 05:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:04:04] Production.INFO: 1
[2025-02-09 05:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:04:04] Production.INFO: ==20859== Releasing lock...
[2025-02-09 05:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:04:04] Production.ERROR: done
[2025-02-09 05:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:04:06
[end_date_ymd] => 2025-02-09 05:04:06
[RateCDR] => 1
)
[2025-02-09 05:04: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-02-09 02:04:06' and `end` < '2025-02-09 05:04: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-02-09 05:04:12] Production.ERROR: CronJobId end10
[2025-02-09 05:04:12] Production.INFO: ==20853== Releasing lock...
[2025-02-09 05:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:04:14] Production.INFO: call_cost start
[2025-02-09 05:04:14] Production.INFO: call_cost end
[2025-02-09 05:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:04:15] Production.INFO: ==20849== Releasing lock...
[2025-02-09 05:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:04:18] Production.INFO: count ==364
[2025-02-09 05:04:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:04:06 - End Time 2025-02-09 05:04:06
[2025-02-09 05:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434793', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434793', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434793', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434793', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:04:18] Production.INFO: ProcessCDR(1,14434793,1,1,2)
[2025-02-09 05:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434793', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434793', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:04:22] Production.INFO: ==20857== Releasing lock...
[2025-02-09 05:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:04:22] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:05:01] Production.INFO: ==20940== Lock acquired, processing the job...
[2025-02-09 10:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:05:01] Production.INFO: neon service started
[2025-02-09 10:05:01] Production.INFO: neon service started
[2025-02-09 10:05:01] Production.INFO: ==20940== Releasing lock...
[2025-02-09 10:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:05:01] Production.INFO: ==20944== Lock acquired, processing the job...
[2025-02-09 10:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:05:01] Production.INFO: ==20944== Releasing lock...
[2025-02-09 10:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:05:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:05:02] Production.INFO: ==20942== Lock acquired, processing the job...
[2025-02-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:05:02] Production.INFO: ==20942== Releasing lock...
[2025-02-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:05:03] Production.INFO: ==20946== Lock acquired, processing the job...
[2025-02-09 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:05:03] Production.INFO: ==20955== Lock acquired, processing the job...
[2025-02-09 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:05:03] Production.INFO: ==20948== Lock acquired, processing the job...
[2025-02-09 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:05:03] Production.INFO: ==20950== Lock acquired, processing the job...
[2025-02-09 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:05:03] Production.INFO: ==20952== Lock acquired, processing the job...
[2025-02-09 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:05:03] Production.INFO: ==20957== Lock acquired, processing the job...
[2025-02-09 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:05:03] Production.INFO: Account Balance Start.
[2025-02-09 05:05:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:05:03] Production.INFO: 117
[2025-02-09 05:05:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:05:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:05:03] Production.ERROR: done
[2025-02-09 05:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:05:03] Production.INFO: Total Charge 0
[2025-02-09 05:05:03] Production.INFO: CreateAllLog End
[2025-02-09 05:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:05:03] Production.INFO: ==20948== Releasing lock...
[2025-02-09 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:05:03] Production.INFO: count ==21
[2025-02-09 05:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:05:03] Production.INFO: count ==21
[2025-02-09 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434797') start
[2025-02-09 05:05:03] Production.ERROR: done
[2025-02-09 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434797') end
[2025-02-09 05:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:05:03] Production.INFO: 1
[2025-02-09 05:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:05:04] Production.INFO: Account Balance End.
[2025-02-09 05:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:05:04] Production.INFO: ==20952== Releasing lock...
[2025-02-09 05:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:05:04] Production.INFO: ==20957== Releasing lock...
[2025-02-09 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:05:05
[end_date_ymd] => 2025-02-09 05:05:05
[RateCDR] => 1
)
[2025-02-09 05:05: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` >= '2025-02-09 02:05:05' and `end` < '2025-02-09 05:05: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 ,'')
[2025-02-09 05:05:10] Production.ERROR: CronJobId end10
[2025-02-09 05:05:10] Production.INFO: ==20950== Releasing lock...
[2025-02-09 05:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:05:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:05:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:05:13] Production.INFO: call_cost start
[2025-02-09 05:05:13] Production.INFO: call_cost end
[2025-02-09 05:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:05:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:05:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:05:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:05:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:05:14] Production.INFO: ==20946== Releasing lock...
[2025-02-09 05:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:05:17] Production.INFO: count ==365
[2025-02-09 05:05:17] Production.ERROR: pbx CDR StartTime 2025-02-09 02:05:05 - End Time 2025-02-09 05:05:05
[2025-02-09 05:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434798', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434798', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434798', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434798', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:05:17] Production.INFO: ProcessCDR(1,14434798,1,1,2)
[2025-02-09 05:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434798', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434798', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:05:22] Production.INFO: ==20955== Releasing lock...
[2025-02-09 05:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:05:22] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:06:01] Production.INFO: ==21017== Lock acquired, processing the job...
[2025-02-09 10:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:06:01] Production.INFO: neon service started
[2025-02-09 10:06:01] Production.INFO: neon service started
[2025-02-09 10:06:01] Production.INFO: ==21017== Releasing lock...
[2025-02-09 10:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:06:02] Production.INFO: ==21019== Lock acquired, processing the job...
[2025-02-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:06:02] Production.INFO: ==21021== Lock acquired, processing the job...
[2025-02-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:06:02] Production.INFO: ==21019== Releasing lock...
[2025-02-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:06:02] Production.INFO: ==21021== Releasing lock...
[2025-02-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:06:03] Production.INFO: ==21024== Lock acquired, processing the job...
[2025-02-09 05:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:06:03] Production.INFO: ==21028== Lock acquired, processing the job...
[2025-02-09 05:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:06:03] Production.INFO: ==21026== Lock acquired, processing the job...
[2025-02-09 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:06:03] Production.INFO: ==21030== Lock acquired, processing the job...
[2025-02-09 05:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:06:03] Production.INFO: ==21034== Lock acquired, processing the job...
[2025-02-09 05:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:06:03] Production.INFO: ==21032== Lock acquired, processing the job...
[2025-02-09 05:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:06:04] Production.INFO: ==21026== Releasing lock...
[2025-02-09 05:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:06:04] Production.INFO: Account Balance Start.
[2025-02-09 05:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:06:04] Production.INFO: 117
[2025-02-09 05:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:06:04] Production.INFO: count ==21
[2025-02-09 05:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:06:04] Production.INFO: count ==21
[2025-02-09 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434802') start
[2025-02-09 05:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:06:04] Production.INFO: Total Charge 0
[2025-02-09 05:06:04] Production.INFO: CreateAllLog End
[2025-02-09 05:06:04] Production.ERROR: done
[2025-02-09 05:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:06:04] Production.INFO: Account Balance End.
[2025-02-09 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434802') end
[2025-02-09 05:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:06:04] Production.INFO: 1
[2025-02-09 05:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:06:04] Production.INFO: ==21030== Releasing lock...
[2025-02-09 05:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:06:04] Production.INFO: ==21034== Releasing lock...
[2025-02-09 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:06:04] Production.ERROR: done
[2025-02-09 05:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:06:05
[end_date_ymd] => 2025-02-09 05:06:05
[RateCDR] => 1
)
[2025-02-09 05:06: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` >= '2025-02-09 02:06:05' and `end` < '2025-02-09 05:06: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 ,'')
[2025-02-09 05:06:12] Production.ERROR: CronJobId end10
[2025-02-09 05:06:12] Production.INFO: ==21028== Releasing lock...
[2025-02-09 05:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:06:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:06:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:06:13] Production.INFO: call_cost start
[2025-02-09 05:06:13] Production.INFO: call_cost end
[2025-02-09 05:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:06:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:06:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:06:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:06:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:06:14] Production.INFO: ==21024== Releasing lock...
[2025-02-09 05:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:06:19] Production.INFO: count ==365
[2025-02-09 05:06:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:06:05 - End Time 2025-02-09 05:06:05
[2025-02-09 05:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434803', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434803', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434803', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434803', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:06:19] Production.INFO: ProcessCDR(1,14434803,1,1,2)
[2025-02-09 05:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434803', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434803', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:06:22] Production.INFO: ==21032== Releasing lock...
[2025-02-09 05:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:06:22] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:07:01] Production.INFO: ==21095== Lock acquired, processing the job...
[2025-02-09 10:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:07:01] Production.INFO: neon service started
[2025-02-09 10:07:01] Production.INFO: neon service started
[2025-02-09 10:07:01] Production.INFO: ==21095== Releasing lock...
[2025-02-09 10:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:07:01] Production.INFO: ==21097== Lock acquired, processing the job...
[2025-02-09 05:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:07:02] Production.INFO: ==21097== Releasing lock...
[2025-02-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:07:02] Production.INFO: ==21099== Lock acquired, processing the job...
[2025-02-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:07:02] Production.INFO: ==21099== Releasing lock...
[2025-02-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:07:02] Production.INFO: ==21108== Lock acquired, processing the job...
[2025-02-09 05:07:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:07:02] Production.INFO: ==21112== Lock acquired, processing the job...
[2025-02-09 05:07:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:07:03] Production.INFO: Account Balance Start.
[2025-02-09 05:07:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:07:03] Production.INFO: 117
[2025-02-09 05:07:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:07:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:07:03] Production.INFO: Total Charge 0
[2025-02-09 05:07:03] Production.INFO: count ==21
[2025-02-09 05:07:03] Production.INFO: CreateAllLog End
[2025-02-09 05:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:07:03] Production.INFO: ==21102== Lock acquired, processing the job...
[2025-02-09 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:07:03] Production.INFO: count ==21
[2025-02-09 05:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434805') start
[2025-02-09 05:07:03] Production.INFO: ==21104== Lock acquired, processing the job...
[2025-02-09 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:07:03] Production.INFO: ==21106== Lock acquired, processing the job...
[2025-02-09 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434805') end
[2025-02-09 05:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:07:03] Production.INFO: 1
[2025-02-09 05:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:07:03] Production.INFO: ==21110== Lock acquired, processing the job...
[2025-02-09 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:07:03] Production.INFO: Account Balance End.
[2025-02-09 05:07:03] Production.INFO: ==21112== Releasing lock...
[2025-02-09 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:07:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:07:03] Production.INFO: ==21108== Releasing lock...
[2025-02-09 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:07:03] Production.INFO: ==21104== Releasing lock...
[2025-02-09 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:07:03] Production.ERROR: done
[2025-02-09 05:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:07:03] Production.ERROR: done
[2025-02-09 05:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:07:04
[end_date_ymd] => 2025-02-09 05:07:04
[RateCDR] => 1
)
[2025-02-09 05:07:04] 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-02-09 02:07:04' and `end` < '2025-02-09 05:07:04'
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-02-09 05:07:11] Production.ERROR: CronJobId end10
[2025-02-09 05:07:11] Production.INFO: ==21106== Releasing lock...
[2025-02-09 05:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:07:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:07:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:07:13] Production.INFO: call_cost start
[2025-02-09 05:07:13] Production.INFO: call_cost end
[2025-02-09 05:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:07:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:07:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:07:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:07:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:07:14] Production.INFO: ==21102== Releasing lock...
[2025-02-09 05:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:07:17] Production.INFO: count ==365
[2025-02-09 05:07:17] Production.ERROR: pbx CDR StartTime 2025-02-09 02:07:04 - End Time 2025-02-09 05:07:04
[2025-02-09 05:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434808', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434808', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434808', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434808', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:07:17] Production.INFO: ProcessCDR(1,14434808,1,1,2)
[2025-02-09 05:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434808', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434808', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:07:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:07:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:07:20] Production.INFO: ==21110== Releasing lock...
[2025-02-09 05:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:07:20] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:08:01] Production.INFO: ==21175== Lock acquired, processing the job...
[2025-02-09 10:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:08:01] Production.INFO: neon service started
[2025-02-09 10:08:01] Production.INFO: neon service started
[2025-02-09 10:08:01] Production.INFO: ==21175== Releasing lock...
[2025-02-09 10:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:08:02] Production.INFO: ==21180== Lock acquired, processing the job...
[2025-02-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:08:02] Production.INFO: ==21180== Releasing lock...
[2025-02-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:08:02] Production.INFO: ==21178== Lock acquired, processing the job...
[2025-02-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:08:02] Production.INFO: ==21178== Releasing lock...
[2025-02-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:08:03] Production.INFO: ==21182== Lock acquired, processing the job...
[2025-02-09 05:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:08:03] Production.INFO: ==21184== Lock acquired, processing the job...
[2025-02-09 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:08:03] Production.INFO: ==21190== Lock acquired, processing the job...
[2025-02-09 05:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:08:03] Production.INFO: ==21186== Lock acquired, processing the job...
[2025-02-09 05:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:08:03] Production.INFO: ==21184== Releasing lock...
[2025-02-09 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:08:04] Production.INFO: ==21188== Lock acquired, processing the job...
[2025-02-09 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:08:04] Production.ERROR: done
[2025-02-09 05:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:08:04] Production.INFO: ==21192== Lock acquired, processing the job...
[2025-02-09 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:08:04] Production.ERROR: done
[2025-02-09 05:08:04] Production.INFO: Account Balance Start.
[2025-02-09 05:08:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:08:04] Production.INFO: 117
[2025-02-09 05:08:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:08:04] Production.INFO: count ==21
[2025-02-09 05:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:08:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:08:04] Production.INFO: count ==21
[2025-02-09 05:08:04] Production.INFO: Total Charge 0
[2025-02-09 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434812') start
[2025-02-09 05:08:04] Production.INFO: CreateAllLog End
[2025-02-09 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434812') end
[2025-02-09 05:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:08:04] Production.INFO: 1
[2025-02-09 05:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:08:04] Production.INFO: Account Balance End.
[2025-02-09 05:08:04] Production.INFO: ==21192== Releasing lock...
[2025-02-09 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:08:04] Production.INFO: ==21188== Releasing lock...
[2025-02-09 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:08:05
[end_date_ymd] => 2025-02-09 05:08:05
[RateCDR] => 1
)
[2025-02-09 05:08: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` >= '2025-02-09 02:08:05' and `end` < '2025-02-09 05:08: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 ,'')
[2025-02-09 05:08:11] Production.ERROR: CronJobId end10
[2025-02-09 05:08:11] Production.INFO: ==21186== Releasing lock...
[2025-02-09 05:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:08:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:08:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:08:13] Production.INFO: call_cost start
[2025-02-09 05:08:13] Production.INFO: call_cost end
[2025-02-09 05:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:08:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:08:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:08:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:08:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:08:14] Production.INFO: ==21182== Releasing lock...
[2025-02-09 05:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:08:18] Production.INFO: count ==367
[2025-02-09 05:08:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:08:05 - End Time 2025-02-09 05:08:05
[2025-02-09 05:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434813', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434813', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434813', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434813', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:08:18] Production.INFO: ProcessCDR(1,14434813,1,1,2)
[2025-02-09 05:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434813', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434813', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:08:21] Production.INFO: ==21190== Releasing lock...
[2025-02-09 05:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:08:21] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:09:02] Production.INFO: ==21252== Lock acquired, processing the job...
[2025-02-09 10:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:09:02] Production.INFO: neon service started
[2025-02-09 10:09:02] Production.INFO: neon service started
[2025-02-09 10:09:02] Production.INFO: ==21252== Releasing lock...
[2025-02-09 10:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:09:02] Production.INFO: ==21254== Lock acquired, processing the job...
[2025-02-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:09:03] Production.INFO: ==21254== Releasing lock...
[2025-02-09 05:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:09:03] Production.INFO: ==21256== Lock acquired, processing the job...
[2025-02-09 10:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:09:03] Production.INFO: ==21256== Releasing lock...
[2025-02-09 10:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:09:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:09:03] Production.INFO: ==21267== Lock acquired, processing the job...
[2025-02-09 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:09:04] Production.INFO: Account Balance Start.
[2025-02-09 05:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:09:04] Production.INFO: 117
[2025-02-09 05:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:09:04] Production.INFO: Total Charge 0
[2025-02-09 05:09:04] Production.INFO: CreateAllLog End
[2025-02-09 05:09:04] Production.INFO: ==21261== Lock acquired, processing the job...
[2025-02-09 05:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:09:04] Production.INFO: ==21271== Lock acquired, processing the job...
[2025-02-09 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:09:04] Production.INFO: Account Balance End.
[2025-02-09 05:09:04] Production.INFO: ==21263== Lock acquired, processing the job...
[2025-02-09 05:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:09:04] Production.INFO: ==21265== Lock acquired, processing the job...
[2025-02-09 05:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:09:04] Production.INFO: ==21269== Lock acquired, processing the job...
[2025-02-09 05:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:09:04] Production.INFO: ==21267== Releasing lock...
[2025-02-09 05:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:09:04] Production.INFO: count ==21
[2025-02-09 05:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:09:04] Production.INFO: count ==21
[2025-02-09 05:09:04] Production.INFO: ==21263== Releasing lock...
[2025-02-09 05:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434816') start
[2025-02-09 05:09:05] Production.ERROR: done
[2025-02-09 05:09:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:09:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434816') end
[2025-02-09 05:09:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:09:05] Production.INFO: 1
[2025-02-09 05:09:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:09:05] Production.INFO: ==21271== Releasing lock...
[2025-02-09 05:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:09:05] Production.ERROR: done
[2025-02-09 05:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:09:06
[end_date_ymd] => 2025-02-09 05:09:06
[RateCDR] => 1
)
[2025-02-09 05:09: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-02-09 02:09:06' and `end` < '2025-02-09 05:09: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-02-09 05:09:12] Production.ERROR: CronJobId end10
[2025-02-09 05:09:12] Production.INFO: ==21265== Releasing lock...
[2025-02-09 05:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:09:14] Production.INFO: call_cost start
[2025-02-09 05:09:14] Production.INFO: call_cost end
[2025-02-09 05:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:09:15] Production.INFO: ==21261== Releasing lock...
[2025-02-09 05:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:09:19] Production.INFO: count ==367
[2025-02-09 05:09:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:09:06 - End Time 2025-02-09 05:09:06
[2025-02-09 05:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434818', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434818', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434818', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434818', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:09:19] Production.INFO: ProcessCDR(1,14434818,1,1,2)
[2025-02-09 05:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434818', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434818', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:09:23] Production.INFO: ==21269== Releasing lock...
[2025-02-09 05:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:09:23] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:10:01] Production.INFO: ==21327== Lock acquired, processing the job...
[2025-02-09 10:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:10:01] Production.INFO: neon service started
[2025-02-09 10:10:01] Production.INFO: neon service started
[2025-02-09 10:10:01] Production.INFO: ==21327== Releasing lock...
[2025-02-09 10:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:10:02] Production.INFO: ==21330== Lock acquired, processing the job...
[2025-02-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:10:02] Production.INFO: ==21332== Lock acquired, processing the job...
[2025-02-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:10:02] Production.INFO: ==21332== Releasing lock...
[2025-02-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:10:03] Production.INFO: ==21330== Releasing lock...
[2025-02-09 05:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:10:04] Production.INFO: ==21340== Lock acquired, processing the job...
[2025-02-09 05:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:10:04] Production.INFO: ==21347== Lock acquired, processing the job...
[2025-02-09 05:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 05:10:04] Production.INFO: ==21334== Lock acquired, processing the job...
[2025-02-09 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 05:10:04] Production.INFO: ==21349== Lock acquired, processing the job...
[2025-02-09 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 05:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 05:10:04] Production.ERROR: CronJob PID - 21340
[2025-02-09 05:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 05:10:04] Production.ERROR: CronJob ID - 10
[2025-02-09 05:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 05:10:00
[2025-02-09 05:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 05:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 05:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 05:10:04] Production.ERROR: CronJob PID - 21347
[2025-02-09 05:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-09 05:10:04] Production.ERROR: CronJob ID - 17
[2025-02-09 05:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 05:10:00
[2025-02-09 05:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 05:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 05:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 05:10:04] Production.ERROR: CronJob PID - 21349
[2025-02-09 05:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 05:10:04] Production.ERROR: CronJob ID - 19
[2025-02-09 05:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 05:10:00
[2025-02-09 05:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 05:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 05:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:10:04] Production.INFO: ==21336== Lock acquired, processing the job...
[2025-02-09 05:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 05:10:04] Production.INFO: ==21334== Releasing lock...
[2025-02-09 05:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 05:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 05:10:04] Production.INFO: count ==21
[2025-02-09 05:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:10:04] Production.INFO: count ==21
[2025-02-09 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434819') start
[2025-02-09 05:10:04] Production.INFO: ==21338== Lock acquired, processing the job...
[2025-02-09 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:10:04] Production.INFO: ==21342== Lock acquired, processing the job...
[2025-02-09 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:10:04] Production.ERROR: done
[2025-02-09 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434819') end
[2025-02-09 05:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:10:04] Production.INFO: 1
[2025-02-09 05:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:10:04] Production.INFO: ==21344== Lock acquired, processing the job...
[2025-02-09 05:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:10:04] Production.INFO: ==21349== Releasing lock...
[2025-02-09 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 05:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434822', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:10:04] Production.INFO: Account Balance Start.
[2025-02-09 05:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:10:04] Production.INFO: 117
[2025-02-09 05:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:10:04] Production.INFO: Total Charge 0
[2025-02-09 05:10:05] Production.INFO: CreateAllLog End
[2025-02-09 05:10:05] Production.INFO: ==21338== Releasing lock...
[2025-02-09 05:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:10:05] Production.INFO: Account Balance End.
[2025-02-09 05:10:05] Production.ERROR: done
[2025-02-09 05:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:10:05] Production.ERROR: CronJobId end 12
[2025-02-09 05:10:05] Production.INFO: ==21342== Releasing lock...
[2025-02-09 05:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:10:05] Production.ERROR: done
[2025-02-09 05:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:10:06
[end_date_ymd] => 2025-02-09 05:10:06
[RateCDR] => 1
)
[2025-02-09 05:10: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-02-09 02:10:06' and `end` < '2025-02-09 05:10: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-02-09 05:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434822', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 05:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 05:10:09] Production.INFO: ProcessCDR(1,14434822,1,1,2)
[2025-02-09 05:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434822,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434822,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:10:09] Production.INFO: ==21347== Releasing lock...
[2025-02-09 05:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 05:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 05:10:14] Production.ERROR: CronJobId end10
[2025-02-09 05:10:14] Production.INFO: ==21340== Releasing lock...
[2025-02-09 05:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:10:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:10:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:10:16] Production.INFO: call_cost start
[2025-02-09 05:10:16] Production.INFO: call_cost end
[2025-02-09 05:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:10:17] Production.INFO: ==21336== Releasing lock...
[2025-02-09 05:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:10:19] Production.INFO: count ==363
[2025-02-09 05:10:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:10:06 - End Time 2025-02-09 05:10:06
[2025-02-09 05:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434824', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434824', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434824', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434824', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:10:19] Production.INFO: ProcessCDR(1,14434824,1,1,2)
[2025-02-09 05:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434824', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434824', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:10:22] Production.INFO: ==21344== Releasing lock...
[2025-02-09 05:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:10:23] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 10:11:02] Production.INFO: ==21416== Lock acquired, processing the job...
[2025-02-09 10:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:11:02] Production.INFO: neon service started
[2025-02-09 10:11:02] Production.INFO: neon service started
[2025-02-09 10:11:02] Production.INFO: ==21416== Releasing lock...
[2025-02-09 10:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:11:02] Production.INFO: ==21418== Lock acquired, processing the job...
[2025-02-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:11:02] Production.INFO: ==21418== Releasing lock...
[2025-02-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:11:03] Production.INFO: ==21420== Lock acquired, processing the job...
[2025-02-09 10:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:11:03] Production.INFO: ==21420== Releasing lock...
[2025-02-09 10:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:11:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:11:03] Production.INFO: ==21433== Lock acquired, processing the job...
[2025-02-09 05:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:11:03] Production.INFO: count ==21
[2025-02-09 05:11:03] Production.INFO: ==21431== Lock acquired, processing the job...
[2025-02-09 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:11:03] Production.INFO: count ==21
[2025-02-09 05:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434825') start
[2025-02-09 05:11:04] Production.INFO: ==21423== Lock acquired, processing the job...
[2025-02-09 05:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:11:04] Production.INFO: ==21429== Lock acquired, processing the job...
[2025-02-09 05:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:11:04] Production.INFO: ==21425== Lock acquired, processing the job...
[2025-02-09 05:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434825') end
[2025-02-09 05:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:11:04] Production.INFO: 1
[2025-02-09 05:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:11:04] Production.INFO: ==21427== Lock acquired, processing the job...
[2025-02-09 05:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:11:04] Production.INFO: Account Balance Start.
[2025-02-09 05:11:04] Production.INFO: ==21433== Releasing lock...
[2025-02-09 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:11:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:11:04] Production.INFO: 117
[2025-02-09 05:11:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:11:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:11:04] Production.INFO: Total Charge 0
[2025-02-09 05:11:04] Production.INFO: CreateAllLog End
[2025-02-09 05:11:04] Production.INFO: ==21425== Releasing lock...
[2025-02-09 05:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:11:04] Production.ERROR: done
[2025-02-09 05:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:11:04] Production.ERROR: done
[2025-02-09 05:11:04] Production.INFO: Account Balance End.
[2025-02-09 05:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:11:04] Production.INFO: ==21429== Releasing lock...
[2025-02-09 05:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:11:05
[end_date_ymd] => 2025-02-09 05:11:05
[RateCDR] => 1
)
[2025-02-09 05:11: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` >= '2025-02-09 02:11:05' and `end` < '2025-02-09 05:11: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 ,'')
[2025-02-09 05:11:11] Production.ERROR: CronJobId end10
[2025-02-09 05:11:11] Production.INFO: ==21427== Releasing lock...
[2025-02-09 05:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:11:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:11:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:11:14] Production.INFO: call_cost start
[2025-02-09 05:11:14] Production.INFO: call_cost end
[2025-02-09 05:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:11:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:11:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:11:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:11:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:11:15] Production.INFO: ==21423== Releasing lock...
[2025-02-09 05:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:11:18] Production.INFO: count ==347
[2025-02-09 05:11:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:11:05 - End Time 2025-02-09 05:11:05
[2025-02-09 05:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434829', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434829', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434829', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434829', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:11:18] Production.INFO: ProcessCDR(1,14434829,1,1,2)
[2025-02-09 05:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434829', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434829', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:11:21] Production.INFO: ==21431== Releasing lock...
[2025-02-09 05:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:11:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:12:01] Production.INFO: ==21493== Lock acquired, processing the job...
[2025-02-09 10:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:12:01] Production.INFO: neon service started
[2025-02-09 10:12:01] Production.INFO: neon service started
[2025-02-09 10:12:01] Production.INFO: ==21493== Releasing lock...
[2025-02-09 10:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:12:02] Production.INFO: ==21497== Lock acquired, processing the job...
[2025-02-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:12:02] Production.INFO: ==21497== Releasing lock...
[2025-02-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:12:02] Production.INFO: ==21495== Lock acquired, processing the job...
[2025-02-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:12:02] Production.INFO: ==21495== Releasing lock...
[2025-02-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:12:03] Production.INFO: ==21500== Lock acquired, processing the job...
[2025-02-09 05:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:12:03] Production.INFO: ==21510== Lock acquired, processing the job...
[2025-02-09 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:12:03] Production.INFO: ==21502== Lock acquired, processing the job...
[2025-02-09 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:12:03] Production.INFO: ==21504== Lock acquired, processing the job...
[2025-02-09 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:12:03] Production.INFO: count ==21
[2025-02-09 05:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:12:03] Production.INFO: ==21506== Lock acquired, processing the job...
[2025-02-09 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:12:03] Production.INFO: count ==21
[2025-02-09 05:12:03] Production.INFO: ==21508== Lock acquired, processing the job...
[2025-02-09 05:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434831') start
[2025-02-09 05:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:12:03] Production.INFO: Account Balance Start.
[2025-02-09 05:12:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:12:03] Production.INFO: 117
[2025-02-09 05:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:12:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434831') end
[2025-02-09 05:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:12:03] Production.INFO: 1
[2025-02-09 05:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:12:03] Production.INFO: ==21510== Releasing lock...
[2025-02-09 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:12:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:12:04] Production.INFO: Total Charge 0
[2025-02-09 05:12:04] Production.INFO: CreateAllLog End
[2025-02-09 05:12:04] Production.ERROR: done
[2025-02-09 05:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:12:04] Production.INFO: ==21502== Releasing lock...
[2025-02-09 05:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:12:04] Production.ERROR: done
[2025-02-09 05:12:04] Production.INFO: Account Balance End.
[2025-02-09 05:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:12:04] Production.INFO: ==21506== Releasing lock...
[2025-02-09 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:12:05
[end_date_ymd] => 2025-02-09 05:12:05
[RateCDR] => 1
)
[2025-02-09 05:12: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` >= '2025-02-09 02:12:05' and `end` < '2025-02-09 05:12: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 ,'')
[2025-02-09 05:12:12] Production.ERROR: CronJobId end10
[2025-02-09 05:12:12] Production.INFO: ==21504== Releasing lock...
[2025-02-09 05:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:12:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:12:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:12:14] Production.INFO: call_cost start
[2025-02-09 05:12:14] Production.INFO: call_cost end
[2025-02-09 05:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:12:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:12:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:12:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:12:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:12:14] Production.INFO: ==21500== Releasing lock...
[2025-02-09 05:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:12:17] Production.INFO: count ==347
[2025-02-09 05:12:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:12:05 - End Time 2025-02-09 05:12:05
[2025-02-09 05:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434834', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434834', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434834', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434834', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:12:18] Production.INFO: ProcessCDR(1,14434834,1,1,2)
[2025-02-09 05:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434834', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434834', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:12:21] Production.INFO: ==21508== Releasing lock...
[2025-02-09 05:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:12:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:13:02] Production.INFO: ==21572== Lock acquired, processing the job...
[2025-02-09 10:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:13:02] Production.INFO: neon service started
[2025-02-09 10:13:02] Production.INFO: neon service started
[2025-02-09 10:13:02] Production.INFO: ==21572== Releasing lock...
[2025-02-09 10:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:13:02] Production.INFO: ==21575== Lock acquired, processing the job...
[2025-02-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:13:02] Production.INFO: ==21575== Releasing lock...
[2025-02-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:13:02] Production.INFO: ==21577== Lock acquired, processing the job...
[2025-02-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:13:02] Production.INFO: ==21577== Releasing lock...
[2025-02-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:13:03] Production.INFO: ==21581== Lock acquired, processing the job...
[2025-02-09 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:13:03] Production.INFO: ==21587== Lock acquired, processing the job...
[2025-02-09 05:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:13:03] Production.INFO: ==21579== Lock acquired, processing the job...
[2025-02-09 05:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:13:03] Production.INFO: ==21583== Lock acquired, processing the job...
[2025-02-09 05:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:13:03] Production.INFO: ==21585== Lock acquired, processing the job...
[2025-02-09 05:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:13:03] Production.INFO: ==21581== Releasing lock...
[2025-02-09 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:13:03] Production.INFO: Account Balance Start.
[2025-02-09 05:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:13:03] Production.INFO: 117
[2025-02-09 05:13:03] Production.INFO: ==21589== Lock acquired, processing the job...
[2025-02-09 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:13:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:13:04] Production.ERROR: done
[2025-02-09 05:13:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:13:04] Production.INFO: count ==21
[2025-02-09 05:13:04] Production.INFO: Total Charge 0
[2025-02-09 05:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:13:04] Production.INFO: count ==21
[2025-02-09 05:13:04] Production.INFO: CreateAllLog End
[2025-02-09 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434838') start
[2025-02-09 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434838') end
[2025-02-09 05:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:13:04] Production.INFO: 1
[2025-02-09 05:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:13:04] Production.ERROR: done
[2025-02-09 05:13:04] Production.INFO: Account Balance End.
[2025-02-09 05:13:04] Production.INFO: ==21589== Releasing lock...
[2025-02-09 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:13:04] Production.INFO: ==21585== Releasing lock...
[2025-02-09 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:13:05
[end_date_ymd] => 2025-02-09 05:13:05
[RateCDR] => 1
)
[2025-02-09 05:13: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` >= '2025-02-09 02:13:05' and `end` < '2025-02-09 05:13: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 ,'')
[2025-02-09 05:13:11] Production.ERROR: CronJobId end10
[2025-02-09 05:13:11] Production.INFO: ==21583== Releasing lock...
[2025-02-09 05:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:13:13] Production.INFO: call_cost start
[2025-02-09 05:13:13] Production.INFO: call_cost end
[2025-02-09 05:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:13:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:13:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:13:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:13:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:13:14] Production.INFO: ==21579== Releasing lock...
[2025-02-09 05:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:13:18] Production.INFO: count ==345
[2025-02-09 05:13:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:13:05 - End Time 2025-02-09 05:13:05
[2025-02-09 05:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434839', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434839', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434839', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434839', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:13:18] Production.INFO: ProcessCDR(1,14434839,1,1,2)
[2025-02-09 05:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434839', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434839', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:13:21] Production.INFO: ==21587== Releasing lock...
[2025-02-09 05:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:13:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:14:01] Production.INFO: ==21646== Lock acquired, processing the job...
[2025-02-09 10:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:14:01] Production.INFO: neon service started
[2025-02-09 10:14:01] Production.INFO: neon service started
[2025-02-09 10:14:01] Production.INFO: ==21646== Releasing lock...
[2025-02-09 10:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:14:01] Production.INFO: ==21650== Lock acquired, processing the job...
[2025-02-09 10:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:14:01] Production.INFO: ==21650== Releasing lock...
[2025-02-09 10:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:14:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:14:02] Production.INFO: ==21648== Lock acquired, processing the job...
[2025-02-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:14:02] Production.INFO: ==21648== Releasing lock...
[2025-02-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:14:03] Production.INFO: ==21659== Lock acquired, processing the job...
[2025-02-09 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:14:03] Production.INFO: Account Balance Start.
[2025-02-09 05:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:14:03] Production.INFO: 117
[2025-02-09 05:14:03] Production.INFO: ==21663== Lock acquired, processing the job...
[2025-02-09 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:14:03] Production.INFO: Total Charge 0
[2025-02-09 05:14:03] Production.INFO: CreateAllLog End
[2025-02-09 05:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:14:03] Production.INFO: ==21652== Lock acquired, processing the job...
[2025-02-09 05:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:14:03] Production.INFO: Account Balance End.
[2025-02-09 05:14:03] Production.INFO: count ==21
[2025-02-09 05:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:14:03] Production.INFO: count ==21
[2025-02-09 05:14:03] Production.INFO: ==21654== Lock acquired, processing the job...
[2025-02-09 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434841') start
[2025-02-09 05:14:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:14:03] Production.INFO: ==21659== Releasing lock...
[2025-02-09 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:14:03] Production.INFO: ==21657== Lock acquired, processing the job...
[2025-02-09 05:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434841') end
[2025-02-09 05:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:14:03] Production.INFO: 1
[2025-02-09 05:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:14:03] Production.INFO: ==21661== Lock acquired, processing the job...
[2025-02-09 05:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:14:03] Production.INFO: ==21663== Releasing lock...
[2025-02-09 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:14:04] Production.INFO: ==21654== Releasing lock...
[2025-02-09 05:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:14:04] Production.ERROR: done
[2025-02-09 05:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:14:04] Production.ERROR: done
[2025-02-09 05:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:14:05
[end_date_ymd] => 2025-02-09 05:14:05
[RateCDR] => 1
)
[2025-02-09 05:14: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` >= '2025-02-09 02:14:05' and `end` < '2025-02-09 05:14: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 ,'')
[2025-02-09 05:14:11] Production.ERROR: CronJobId end10
[2025-02-09 05:14:11] Production.INFO: ==21657== Releasing lock...
[2025-02-09 05:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:14:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:14:14] Production.INFO: call_cost start
[2025-02-09 05:14:14] Production.INFO: call_cost end
[2025-02-09 05:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:14:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:14:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:14:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:14:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:14:14] Production.INFO: ==21652== Releasing lock...
[2025-02-09 05:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:14:18] Production.INFO: count ==344
[2025-02-09 05:14:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:14:05 - End Time 2025-02-09 05:14:05
[2025-02-09 05:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434844', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434844', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434844', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434844', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:14:18] Production.INFO: ProcessCDR(1,14434844,1,1,2)
[2025-02-09 05:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434844', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434844', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:14:21] Production.INFO: ==21661== Releasing lock...
[2025-02-09 05:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:14:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:15:02] Production.INFO: ==21758== Lock acquired, processing the job...
[2025-02-09 10:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:15:02] Production.INFO: neon service started
[2025-02-09 10:15:02] Production.INFO: neon service started
[2025-02-09 10:15:02] Production.INFO: ==21758== Releasing lock...
[2025-02-09 10:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:15:02] Production.INFO: ==21760== Lock acquired, processing the job...
[2025-02-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:15:02] Production.INFO: ==21762== Lock acquired, processing the job...
[2025-02-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:15:02] Production.INFO: ==21762== Releasing lock...
[2025-02-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:15:03] Production.INFO: ==21760== Releasing lock...
[2025-02-09 05:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:15:03] Production.INFO: ==21767== Lock acquired, processing the job...
[2025-02-09 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:15:03] Production.INFO: ==21765== Lock acquired, processing the job...
[2025-02-09 05:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:15:03] Production.INFO: ==21771== Lock acquired, processing the job...
[2025-02-09 05:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:15:03] Production.INFO: Account Balance Start.
[2025-02-09 05:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:15:03] Production.INFO: 117
[2025-02-09 05:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:15:03] Production.INFO: ==21769== Lock acquired, processing the job...
[2025-02-09 05:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:15:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:15:04] Production.INFO: Total Charge 0
[2025-02-09 05:15:04] Production.INFO: CreateAllLog End
[2025-02-09 05:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:15:04] Production.INFO: Account Balance End.
[2025-02-09 05:15:04] Production.INFO: ==21773== Lock acquired, processing the job...
[2025-02-09 05:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:15:04] Production.INFO: ==21775== Lock acquired, processing the job...
[2025-02-09 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:15:04] Production.INFO: ==21771== Releasing lock...
[2025-02-09 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:15:04] Production.INFO: ==21767== Releasing lock...
[2025-02-09 05:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:15:04] Production.INFO: count ==21
[2025-02-09 05:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:15:04] Production.INFO: count ==21
[2025-02-09 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434848') start
[2025-02-09 05:15:04] Production.ERROR: done
[2025-02-09 05:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434848') end
[2025-02-09 05:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:15:04] Production.INFO: 1
[2025-02-09 05:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:15:04] Production.INFO: ==21775== Releasing lock...
[2025-02-09 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:15:04] Production.ERROR: done
[2025-02-09 05:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:15:05
[end_date_ymd] => 2025-02-09 05:15:05
[RateCDR] => 1
)
[2025-02-09 05:15: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` >= '2025-02-09 02:15:05' and `end` < '2025-02-09 05:15: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 ,'')
[2025-02-09 05:15:12] Production.ERROR: CronJobId end10
[2025-02-09 05:15:12] Production.INFO: ==21769== Releasing lock...
[2025-02-09 05:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:15:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:15:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:15:13] Production.INFO: call_cost start
[2025-02-09 05:15:13] Production.INFO: call_cost end
[2025-02-09 05:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:15:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:15:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:15:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:15:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:15:14] Production.INFO: ==21765== Releasing lock...
[2025-02-09 05:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:15:18] Production.INFO: count ==344
[2025-02-09 05:15:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:15:05 - End Time 2025-02-09 05:15:05
[2025-02-09 05:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434849', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434849', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434849', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434849', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:15:18] Production.INFO: ProcessCDR(1,14434849,1,1,2)
[2025-02-09 05:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434849', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434849', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:15:21] Production.INFO: ==21773== Releasing lock...
[2025-02-09 05:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:15:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:16:01] Production.INFO: ==21831== Lock acquired, processing the job...
[2025-02-09 10:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:16:01] Production.INFO: neon service started
[2025-02-09 10:16:01] Production.INFO: neon service started
[2025-02-09 10:16:01] Production.INFO: ==21831== Releasing lock...
[2025-02-09 10:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:16:01] Production.INFO: ==21833== Lock acquired, processing the job...
[2025-02-09 05:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:16:02] Production.INFO: ==21833== Releasing lock...
[2025-02-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:16:02] Production.INFO: ==21835== Lock acquired, processing the job...
[2025-02-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:16:02] Production.INFO: ==21835== Releasing lock...
[2025-02-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:16:03] Production.INFO: ==21837== Lock acquired, processing the job...
[2025-02-09 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:16:03] Production.INFO: ==21839== Lock acquired, processing the job...
[2025-02-09 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:16:03] Production.INFO: ==21841== Lock acquired, processing the job...
[2025-02-09 05:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:16:03] Production.INFO: ==21843== Lock acquired, processing the job...
[2025-02-09 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:16:03] Production.INFO: ==21847== Lock acquired, processing the job...
[2025-02-09 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:16:03] Production.INFO: ==21845== Lock acquired, processing the job...
[2025-02-09 05:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:16:03] Production.INFO: Account Balance Start.
[2025-02-09 05:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:16:03] Production.INFO: 117
[2025-02-09 05:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:16:03] Production.INFO: count ==21
[2025-02-09 05:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:16:03] Production.INFO: count ==21
[2025-02-09 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434853') start
[2025-02-09 05:16:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:16:03] Production.INFO: ==21839== Releasing lock...
[2025-02-09 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:16:03] Production.INFO: Total Charge 0
[2025-02-09 05:16:03] Production.INFO: CreateAllLog End
[2025-02-09 05:16:03] Production.ERROR: done
[2025-02-09 05:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434853') end
[2025-02-09 05:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:16:03] Production.INFO: 1
[2025-02-09 05:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:16:03] Production.ERROR: done
[2025-02-09 05:16:03] Production.INFO: ==21847== Releasing lock...
[2025-02-09 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:16:03] Production.INFO: Account Balance End.
[2025-02-09 05:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:16:04] Production.INFO: ==21843== Releasing lock...
[2025-02-09 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:16:04
[end_date_ymd] => 2025-02-09 05:16:04
[RateCDR] => 1
)
[2025-02-09 05:16:04] 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-02-09 02:16:04' and `end` < '2025-02-09 05:16:04'
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-02-09 05:16:11] Production.ERROR: CronJobId end10
[2025-02-09 05:16:11] Production.INFO: ==21841== Releasing lock...
[2025-02-09 05:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:16:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:16:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:16:13] Production.INFO: call_cost start
[2025-02-09 05:16:13] Production.INFO: call_cost end
[2025-02-09 05:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:16:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:16:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:16:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:16:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:16:13] Production.INFO: ==21837== Releasing lock...
[2025-02-09 05:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:16:18] Production.INFO: count ==340
[2025-02-09 05:16:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:16:04 - End Time 2025-02-09 05:16:04
[2025-02-09 05:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434854', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434854', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434854', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434854', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:16:18] Production.INFO: ProcessCDR(1,14434854,1,1,2)
[2025-02-09 05:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434854', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434854', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:16:21] Production.INFO: ==21845== Releasing lock...
[2025-02-09 05:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:16:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:17:01] Production.INFO: ==21903== Lock acquired, processing the job...
[2025-02-09 10:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:17:01] Production.INFO: neon service started
[2025-02-09 10:17:01] Production.INFO: neon service started
[2025-02-09 10:17:01] Production.INFO: ==21903== Releasing lock...
[2025-02-09 10:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:17:02] Production.INFO: ==21907== Lock acquired, processing the job...
[2025-02-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:17:02] Production.INFO: ==21907== Releasing lock...
[2025-02-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:17:02] Production.INFO: ==21905== Lock acquired, processing the job...
[2025-02-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:17:02] Production.INFO: ==21905== Releasing lock...
[2025-02-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:17:03] Production.INFO: ==21911== Lock acquired, processing the job...
[2025-02-09 05:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:17:03] Production.INFO: ==21915== Lock acquired, processing the job...
[2025-02-09 05:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:17:03] Production.INFO: ==21917== Lock acquired, processing the job...
[2025-02-09 05:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:17:03] Production.INFO: Account Balance Start.
[2025-02-09 05:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:17:03] Production.INFO: 117
[2025-02-09 05:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:17:03] Production.INFO: ==21913== Lock acquired, processing the job...
[2025-02-09 05:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:17:03] Production.INFO: Total Charge 0
[2025-02-09 05:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:17:03] Production.INFO: ==21909== Lock acquired, processing the job...
[2025-02-09 05:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:17:03] Production.INFO: CreateAllLog End
[2025-02-09 05:17:04] Production.ERROR: done
[2025-02-09 05:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:17:04] Production.INFO: ==21911== Releasing lock...
[2025-02-09 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:17:04] Production.INFO: ==21919== Lock acquired, processing the job...
[2025-02-09 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:17:04] Production.INFO: Account Balance End.
[2025-02-09 05:17:04] Production.ERROR: done
[2025-02-09 05:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:17:04] Production.INFO: ==21915== Releasing lock...
[2025-02-09 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:17:04] Production.INFO: count ==21
[2025-02-09 05:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:17:04] Production.INFO: count ==21
[2025-02-09 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434858') start
[2025-02-09 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434858') end
[2025-02-09 05:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:17:04] Production.INFO: 1
[2025-02-09 05:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:17:04] Production.INFO: ==21919== Releasing lock...
[2025-02-09 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:17:05
[end_date_ymd] => 2025-02-09 05:17:05
[RateCDR] => 1
)
[2025-02-09 05:17: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` >= '2025-02-09 02:17:05' and `end` < '2025-02-09 05:17: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 ,'')
[2025-02-09 05:17:12] Production.ERROR: CronJobId end10
[2025-02-09 05:17:12] Production.INFO: ==21913== Releasing lock...
[2025-02-09 05:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:17:15] Production.INFO: call_cost start
[2025-02-09 05:17:15] Production.INFO: call_cost end
[2025-02-09 05:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:17:15] Production.INFO: ==21909== Releasing lock...
[2025-02-09 05:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:17:18] Production.INFO: count ==340
[2025-02-09 05:17:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:17:05 - End Time 2025-02-09 05:17:05
[2025-02-09 05:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434859', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434859', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434859', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434859', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:17:18] Production.INFO: ProcessCDR(1,14434859,1,1,2)
[2025-02-09 05:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434859', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434859', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:17:21] Production.INFO: ==21917== Releasing lock...
[2025-02-09 05:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:17:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:18:01] Production.INFO: ==21977== Lock acquired, processing the job...
[2025-02-09 10:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:18:01] Production.INFO: neon service started
[2025-02-09 10:18:01] Production.INFO: neon service started
[2025-02-09 10:18:01] Production.INFO: ==21977== Releasing lock...
[2025-02-09 10:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:18:01] Production.INFO: ==21979== Lock acquired, processing the job...
[2025-02-09 05:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:18:02] Production.INFO: ==21979== Releasing lock...
[2025-02-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:18:02] Production.INFO: ==21981== Lock acquired, processing the job...
[2025-02-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:18:02] Production.INFO: ==21981== Releasing lock...
[2025-02-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:18:03] Production.INFO: ==21987== Lock acquired, processing the job...
[2025-02-09 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:18:03] Production.INFO: ==21993== Lock acquired, processing the job...
[2025-02-09 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:18:03] Production.INFO: ==21985== Lock acquired, processing the job...
[2025-02-09 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:18:03] Production.INFO: ==21983== Lock acquired, processing the job...
[2025-02-09 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:18:03] Production.INFO: ==21989== Lock acquired, processing the job...
[2025-02-09 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:18:03] Production.INFO: ==21991== Lock acquired, processing the job...
[2025-02-09 05:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:18:03] Production.INFO: count ==21
[2025-02-09 05:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:18:03] Production.INFO: Account Balance Start.
[2025-02-09 05:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:18:03] Production.INFO: 117
[2025-02-09 05:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:18:03] Production.INFO: count ==21
[2025-02-09 05:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434860') start
[2025-02-09 05:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:18:03] Production.INFO: Total Charge 0
[2025-02-09 05:18:03] Production.INFO: CreateAllLog End
[2025-02-09 05:18:03] Production.INFO: ==21985== Releasing lock...
[2025-02-09 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434860') end
[2025-02-09 05:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:18:03] Production.INFO: 1
[2025-02-09 05:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:18:03] Production.INFO: ==21993== Releasing lock...
[2025-02-09 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:18:03] Production.ERROR: done
[2025-02-09 05:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:18:03] Production.INFO: Account Balance End.
[2025-02-09 05:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:18:04] Production.INFO: ==21989== Releasing lock...
[2025-02-09 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:18:04] Production.ERROR: done
[2025-02-09 05:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:18:05
[end_date_ymd] => 2025-02-09 05:18:05
[RateCDR] => 1
)
[2025-02-09 05:18: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` >= '2025-02-09 02:18:05' and `end` < '2025-02-09 05:18: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 ,'')
[2025-02-09 05:18:12] Production.ERROR: CronJobId end10
[2025-02-09 05:18:12] Production.INFO: ==21987== Releasing lock...
[2025-02-09 05:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:18:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:18:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:18:14] Production.INFO: call_cost start
[2025-02-09 05:18:14] Production.INFO: call_cost end
[2025-02-09 05:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:18:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:18:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:18:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:18:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:18:15] Production.INFO: ==21983== Releasing lock...
[2025-02-09 05:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:18:18] Production.INFO: count ==338
[2025-02-09 05:18:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:18:05 - End Time 2025-02-09 05:18:05
[2025-02-09 05:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434864', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434864', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434864', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434864', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:18:18] Production.INFO: ProcessCDR(1,14434864,1,1,2)
[2025-02-09 05:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434864', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434864', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:18:21] Production.INFO: ==21991== Releasing lock...
[2025-02-09 05:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:18:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:19:01] Production.INFO: ==22048== Lock acquired, processing the job...
[2025-02-09 10:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:19:01] Production.INFO: neon service started
[2025-02-09 10:19:01] Production.INFO: neon service started
[2025-02-09 10:19:01] Production.INFO: ==22048== Releasing lock...
[2025-02-09 10:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:19:02] Production.INFO: ==22050== Lock acquired, processing the job...
[2025-02-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:19:02] Production.INFO: ==22052== Lock acquired, processing the job...
[2025-02-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:19:02] Production.INFO: ==22052== Releasing lock...
[2025-02-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:19:02] Production.INFO: ==22050== Releasing lock...
[2025-02-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:19:03] Production.INFO: ==22057== Lock acquired, processing the job...
[2025-02-09 05:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:19:03] Production.INFO: ==22061== Lock acquired, processing the job...
[2025-02-09 05:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:19:03] Production.INFO: Account Balance Start.
[2025-02-09 05:19:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:19:03] Production.INFO: 117
[2025-02-09 05:19:03] Production.INFO: ==22055== Lock acquired, processing the job...
[2025-02-09 05:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:19:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:19:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:19:03] Production.INFO: Total Charge 0
[2025-02-09 05:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:19:03] Production.INFO: CreateAllLog End
[2025-02-09 05:19:03] Production.INFO: ==22059== Lock acquired, processing the job...
[2025-02-09 05:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:19:04] Production.INFO: ==22063== Lock acquired, processing the job...
[2025-02-09 05:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:19:04] Production.INFO: ==22057== Releasing lock...
[2025-02-09 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:19:04] Production.INFO: ==22065== Lock acquired, processing the job...
[2025-02-09 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:19:04] Production.INFO: Account Balance End.
[2025-02-09 05:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:19:04] Production.INFO: ==22061== Releasing lock...
[2025-02-09 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:19:04] Production.INFO: count ==21
[2025-02-09 05:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:19:04] Production.INFO: count ==21
[2025-02-09 05:19:04] Production.ERROR: done
[2025-02-09 05:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434868') start
[2025-02-09 05:19:04] Production.ERROR: done
[2025-02-09 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434868') end
[2025-02-09 05:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:19:04] Production.INFO: 1
[2025-02-09 05:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:19:04] Production.INFO: ==22065== Releasing lock...
[2025-02-09 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:19:05
[end_date_ymd] => 2025-02-09 05:19:05
[RateCDR] => 1
)
[2025-02-09 05:19: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` >= '2025-02-09 02:19:05' and `end` < '2025-02-09 05:19: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 ,'')
[2025-02-09 05:19:11] Production.ERROR: CronJobId end10
[2025-02-09 05:19:11] Production.INFO: ==22059== Releasing lock...
[2025-02-09 05:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:19:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:19:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:19:14] Production.INFO: call_cost start
[2025-02-09 05:19:14] Production.INFO: call_cost end
[2025-02-09 05:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:19:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:19:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:19:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:19:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:19:15] Production.INFO: ==22055== Releasing lock...
[2025-02-09 05:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:19:18] Production.INFO: count ==334
[2025-02-09 05:19:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:19:05 - End Time 2025-02-09 05:19:05
[2025-02-09 05:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434869', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434869', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434869', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434869', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:19:18] Production.INFO: ProcessCDR(1,14434869,1,1,2)
[2025-02-09 05:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434869', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434869', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:19:21] Production.INFO: ==22063== Releasing lock...
[2025-02-09 05:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:19:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:20:02] Production.INFO: ==22122== Lock acquired, processing the job...
[2025-02-09 10:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:20:02] Production.INFO: neon service started
[2025-02-09 10:20:02] Production.INFO: neon service started
[2025-02-09 10:20:02] Production.INFO: ==22122== Releasing lock...
[2025-02-09 10:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:20:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 05:20:02] Production.INFO: ==22124== Lock acquired, processing the job...
[2025-02-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:20:03] Production.INFO: ==22126== Lock acquired, processing the job...
[2025-02-09 10:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:20:03] Production.INFO: ==22124== Releasing lock...
[2025-02-09 05:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:20:03] Production.INFO: ==22126== Releasing lock...
[2025-02-09 10:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:20:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:20:04] Production.INFO: ==22129== Lock acquired, processing the job...
[2025-02-09 05:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 05:20:04] Production.INFO: ==22131== Lock acquired, processing the job...
[2025-02-09 05:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 05:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 05:20:04] Production.INFO: ==22129== Releasing lock...
[2025-02-09 05:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 05:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 05:20:04] Production.INFO: ==22135== Lock acquired, processing the job...
[2025-02-09 05:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:20:04] Production.INFO: ==22139== Lock acquired, processing the job...
[2025-02-09 05:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:20:04] Production.INFO: ==22133== Lock acquired, processing the job...
[2025-02-09 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:20:04] Production.INFO: ==22137== Lock acquired, processing the job...
[2025-02-09 05:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:20:04] Production.INFO: ==22141== Lock acquired, processing the job...
[2025-02-09 05:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 05:20:04] Production.INFO: Account Balance Start.
[2025-02-09 05:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:20:04] Production.INFO: 117
[2025-02-09 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:20:04] Production.INFO: ==22143== Lock acquired, processing the job...
[2025-02-09 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:20:04] Production.ERROR: done
[2025-02-09 05:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:20:04] Production.INFO: Total Charge 0
[2025-02-09 05:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:20:04] Production.INFO: CreateAllLog End
[2025-02-09 05:20:04] Production.INFO: count ==21
[2025-02-09 05:20:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:20:05] Production.INFO: count ==21
[2025-02-09 05:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434873') start
[2025-02-09 05:20:05] Production.ERROR: done
[2025-02-09 05:20:05] Production.ERROR: done
[2025-02-09 05:20:05] Production.INFO: ==22133== Releasing lock...
[2025-02-09 05:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 05:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434874', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 05:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434873') end
[2025-02-09 05:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:20:05] Production.INFO: 1
[2025-02-09 05:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:20:05] Production.INFO: Account Balance End.
[2025-02-09 05:20:05] Production.ERROR: CronJobId end 12
[2025-02-09 05:20:05] Production.INFO: ==22137== Releasing lock...
[2025-02-09 05:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:20:05] Production.INFO: ==22143== Releasing lock...
[2025-02-09 05:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:20:06
[end_date_ymd] => 2025-02-09 05:20:06
[RateCDR] => 1
)
[2025-02-09 05:20: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-02-09 02:20:06' and `end` < '2025-02-09 05:20: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-02-09 05:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434874', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 05:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 05:20:09] Production.INFO: ProcessCDR(1,14434874,1,1,2)
[2025-02-09 05:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434874,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434874,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:20:09] Production.INFO: ==22141== Releasing lock...
[2025-02-09 05:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 05:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 05:20:13] Production.ERROR: CronJobId end10
[2025-02-09 05:20:13] Production.INFO: ==22135== Releasing lock...
[2025-02-09 05:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:20:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:20:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:20:15] Production.INFO: call_cost start
[2025-02-09 05:20:15] Production.INFO: call_cost end
[2025-02-09 05:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:20:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:20:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:20:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:20:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:20:16] Production.INFO: ==22131== Releasing lock...
[2025-02-09 05:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:20:19] Production.INFO: count ==330
[2025-02-09 05:20:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:20:06 - End Time 2025-02-09 05:20:06
[2025-02-09 05:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434875', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434875', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434875', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434875', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:20:19] Production.INFO: ProcessCDR(1,14434875,1,1,2)
[2025-02-09 05:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434875', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434875', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:20:24] Production.INFO: ==22139== Releasing lock...
[2025-02-09 05:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:20:24] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:21:01] Production.INFO: ==22199== Lock acquired, processing the job...
[2025-02-09 10:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:21:01] Production.INFO: neon service started
[2025-02-09 10:21:01] Production.INFO: neon service started
[2025-02-09 10:21:01] Production.INFO: ==22199== Releasing lock...
[2025-02-09 10:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:21:02] Production.INFO: ==22203== Lock acquired, processing the job...
[2025-02-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:21:02] Production.INFO: ==22203== Releasing lock...
[2025-02-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:21:02] Production.INFO: ==22201== Lock acquired, processing the job...
[2025-02-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:21:02] Production.INFO: ==22201== Releasing lock...
[2025-02-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:21:03] Production.INFO: ==22210== Lock acquired, processing the job...
[2025-02-09 05:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:21:03] Production.INFO: ==22212== Lock acquired, processing the job...
[2025-02-09 05:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:21:03] Production.INFO: ==22214== Lock acquired, processing the job...
[2025-02-09 05:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:21:03] Production.INFO: Account Balance Start.
[2025-02-09 05:21:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:21:03] Production.INFO: 117
[2025-02-09 05:21:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:21:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:21:03] Production.INFO: Total Charge 0
[2025-02-09 05:21:03] Production.INFO: CreateAllLog End
[2025-02-09 05:21:03] Production.INFO: ==22208== Lock acquired, processing the job...
[2025-02-09 05:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:21:03] Production.INFO: ==22206== Lock acquired, processing the job...
[2025-02-09 05:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:21:03] Production.ERROR: done
[2025-02-09 05:21:03] Production.INFO: ==22216== Lock acquired, processing the job...
[2025-02-09 05:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:21:03] Production.INFO: Account Balance End.
[2025-02-09 05:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:21:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:21:03] Production.INFO: ==22212== Releasing lock...
[2025-02-09 05:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:21:04] Production.ERROR: done
[2025-02-09 05:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:21:04] Production.INFO: count ==21
[2025-02-09 05:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:21:04] Production.INFO: count ==21
[2025-02-09 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434879') start
[2025-02-09 05:21:04] Production.INFO: ==22208== Releasing lock...
[2025-02-09 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434879') end
[2025-02-09 05:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:21:04] Production.INFO: 1
[2025-02-09 05:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:21:04] Production.INFO: ==22216== Releasing lock...
[2025-02-09 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:21:05
[end_date_ymd] => 2025-02-09 05:21:05
[RateCDR] => 1
)
[2025-02-09 05:21: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` >= '2025-02-09 02:21:05' and `end` < '2025-02-09 05:21: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 ,'')
[2025-02-09 05:21:12] Production.ERROR: CronJobId end10
[2025-02-09 05:21:12] Production.INFO: ==22210== Releasing lock...
[2025-02-09 05:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:21:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:21:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:21:14] Production.INFO: call_cost start
[2025-02-09 05:21:14] Production.INFO: call_cost end
[2025-02-09 05:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:21:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:21:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:21:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:21:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:21:14] Production.INFO: ==22206== Releasing lock...
[2025-02-09 05:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:21:18] Production.INFO: count ==310
[2025-02-09 05:21:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:21:05 - End Time 2025-02-09 05:21:05
[2025-02-09 05:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434880', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434880', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434880', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434880', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:21:18] Production.INFO: ProcessCDR(1,14434880,1,1,2)
[2025-02-09 05:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434880', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434880', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:21:21] Production.INFO: ==22214== Releasing lock...
[2025-02-09 05:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:21:21] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 10:22:02] Production.INFO: ==22272== Lock acquired, processing the job...
[2025-02-09 10:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:22:02] Production.INFO: neon service started
[2025-02-09 10:22:02] Production.INFO: neon service started
[2025-02-09 10:22:02] Production.INFO: ==22272== Releasing lock...
[2025-02-09 10:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:22:02] Production.INFO: ==22274== Lock acquired, processing the job...
[2025-02-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:22:03] Production.INFO: ==22276== Lock acquired, processing the job...
[2025-02-09 10:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:22:03] Production.INFO: ==22276== Releasing lock...
[2025-02-09 10:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:22:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:22:03] Production.INFO: ==22274== Releasing lock...
[2025-02-09 05:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:22:04] Production.INFO: ==22279== Lock acquired, processing the job...
[2025-02-09 05:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:22:04] Production.INFO: ==22281== Lock acquired, processing the job...
[2025-02-09 05:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:22:04] Production.INFO: ==22287== Lock acquired, processing the job...
[2025-02-09 05:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:22:04] Production.INFO: ==22283== Lock acquired, processing the job...
[2025-02-09 05:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:22:04] Production.INFO: ==22285== Lock acquired, processing the job...
[2025-02-09 05:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:22:04] Production.INFO: Account Balance Start.
[2025-02-09 05:22:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:22:04] Production.INFO: ==22289== Lock acquired, processing the job...
[2025-02-09 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:22:04] Production.INFO: 117
[2025-02-09 05:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:22:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:22:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:22:04] Production.INFO: Total Charge 0
[2025-02-09 05:22:04] Production.INFO: CreateAllLog End
[2025-02-09 05:22:04] Production.INFO: ==22281== Releasing lock...
[2025-02-09 05:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:22:04] Production.ERROR: done
[2025-02-09 05:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:22:04] Production.INFO: count ==21
[2025-02-09 05:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:22:04] Production.INFO: count ==21
[2025-02-09 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434884') start
[2025-02-09 05:22:04] Production.ERROR: done
[2025-02-09 05:22:05] Production.INFO: Account Balance End.
[2025-02-09 05:22:05] Production.ERROR: PBX CALL prc_importPBXExtension('14434884') end
[2025-02-09 05:22:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:22:05] Production.INFO: 1
[2025-02-09 05:22:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:22:05] Production.INFO: ==22289== Releasing lock...
[2025-02-09 05:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:22:05] Production.ERROR: CronJobId end 12
[2025-02-09 05:22:05] Production.INFO: ==22285== Releasing lock...
[2025-02-09 05:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:22:05
[end_date_ymd] => 2025-02-09 05:22:05
[RateCDR] => 1
)
[2025-02-09 05:22: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` >= '2025-02-09 02:22:05' and `end` < '2025-02-09 05:22: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 ,'')
[2025-02-09 05:22:12] Production.ERROR: CronJobId end10
[2025-02-09 05:22:12] Production.INFO: ==22283== Releasing lock...
[2025-02-09 05:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:22:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:22:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:22:15] Production.INFO: call_cost start
[2025-02-09 05:22:15] Production.INFO: call_cost end
[2025-02-09 05:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:22:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:22:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:22:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:22:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:22:16] Production.INFO: ==22279== Releasing lock...
[2025-02-09 05:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:22:18] Production.INFO: count ==309
[2025-02-09 05:22:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:22:05 - End Time 2025-02-09 05:22:05
[2025-02-09 05:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434885', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434885', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434885', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434885', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:22:18] Production.INFO: ProcessCDR(1,14434885,1,1,2)
[2025-02-09 05:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434885', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434885', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:22:22] Production.INFO: ==22287== Releasing lock...
[2025-02-09 05:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:22:22] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 10:23:01] Production.INFO: ==22346== Lock acquired, processing the job...
[2025-02-09 10:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:23:01] Production.INFO: neon service started
[2025-02-09 10:23:01] Production.INFO: neon service started
[2025-02-09 10:23:01] Production.INFO: ==22346== Releasing lock...
[2025-02-09 10:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:23:02] Production.INFO: ==22348== Lock acquired, processing the job...
[2025-02-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:23:02] Production.INFO: ==22350== Lock acquired, processing the job...
[2025-02-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:23:02] Production.INFO: ==22350== Releasing lock...
[2025-02-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:23:02] Production.INFO: ==22348== Releasing lock...
[2025-02-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:23:03] Production.INFO: ==22353== Lock acquired, processing the job...
[2025-02-09 05:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:23:03] Production.INFO: ==22357== Lock acquired, processing the job...
[2025-02-09 05:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:23:03] Production.INFO: ==22355== Lock acquired, processing the job...
[2025-02-09 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:23:03] Production.INFO: ==22361== Lock acquired, processing the job...
[2025-02-09 05:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:23:03] Production.INFO: ==22359== Lock acquired, processing the job...
[2025-02-09 05:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:23:03] Production.INFO: ==22363== Lock acquired, processing the job...
[2025-02-09 05:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:23:03] Production.INFO: Account Balance Start.
[2025-02-09 05:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:23:03] Production.INFO: 117
[2025-02-09 05:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:23:03] Production.INFO: count ==21
[2025-02-09 05:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:23:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:23:03] Production.INFO: count ==21
[2025-02-09 05:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434889') start
[2025-02-09 05:23:03] Production.INFO: Total Charge 0
[2025-02-09 05:23:03] Production.INFO: CreateAllLog End
[2025-02-09 05:23:03] Production.INFO: ==22355== Releasing lock...
[2025-02-09 05:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434889') end
[2025-02-09 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:23:03] Production.INFO: 1
[2025-02-09 05:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:23:04] Production.INFO: Account Balance End.
[2025-02-09 05:23:04] Production.INFO: ==22363== Releasing lock...
[2025-02-09 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:23:04] Production.ERROR: done
[2025-02-09 05:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:23:04] Production.INFO: ==22359== Releasing lock...
[2025-02-09 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:23:04] Production.ERROR: done
[2025-02-09 05:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:23:05
[end_date_ymd] => 2025-02-09 05:23:05
[RateCDR] => 1
)
[2025-02-09 05:23: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` >= '2025-02-09 02:23:05' and `end` < '2025-02-09 05:23: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 ,'')
[2025-02-09 05:23:11] Production.ERROR: CronJobId end10
[2025-02-09 05:23:11] Production.INFO: ==22357== Releasing lock...
[2025-02-09 05:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:23:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:23:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:23:14] Production.INFO: call_cost start
[2025-02-09 05:23:14] Production.INFO: call_cost end
[2025-02-09 05:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:23:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:23:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:23:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:23:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:23:15] Production.INFO: ==22353== Releasing lock...
[2025-02-09 05:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:23:17] Production.INFO: count ==309
[2025-02-09 05:23:17] Production.ERROR: pbx CDR StartTime 2025-02-09 02:23:05 - End Time 2025-02-09 05:23:05
[2025-02-09 05:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434890', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434890', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434890', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434890', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:23:17] Production.INFO: ProcessCDR(1,14434890,1,1,2)
[2025-02-09 05:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434890', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434890', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:23:21] Production.INFO: ==22361== Releasing lock...
[2025-02-09 05:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:23:21] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 10:24:02] Production.INFO: ==22420== Lock acquired, processing the job...
[2025-02-09 10:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:24:02] Production.INFO: neon service started
[2025-02-09 10:24:02] Production.INFO: neon service started
[2025-02-09 10:24:02] Production.INFO: ==22420== Releasing lock...
[2025-02-09 10:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:24:02] Production.INFO: ==22422== Lock acquired, processing the job...
[2025-02-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:24:02] Production.INFO: ==22422== Releasing lock...
[2025-02-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:24:02] Production.INFO: ==22424== Lock acquired, processing the job...
[2025-02-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:24:03] Production.INFO: ==22424== Releasing lock...
[2025-02-09 10:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:24:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:24:03] Production.INFO: ==22427== Lock acquired, processing the job...
[2025-02-09 05:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:24:03] Production.INFO: ==22431== Lock acquired, processing the job...
[2025-02-09 05:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:24:03] Production.INFO: ==22433== Lock acquired, processing the job...
[2025-02-09 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:24:04] Production.INFO: Account Balance Start.
[2025-02-09 05:24:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:24:04] Production.INFO: 117
[2025-02-09 05:24:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:24:04] Production.INFO: ==22429== Lock acquired, processing the job...
[2025-02-09 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:24:04] Production.INFO: Total Charge 0
[2025-02-09 05:24:04] Production.INFO: CreateAllLog End
[2025-02-09 05:24:04] Production.INFO: ==22435== Lock acquired, processing the job...
[2025-02-09 05:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:24:04] Production.INFO: ==22437== Lock acquired, processing the job...
[2025-02-09 05:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:24:04] Production.INFO: Account Balance End.
[2025-02-09 05:24:04] Production.INFO: ==22429== Releasing lock...
[2025-02-09 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:24:04] Production.INFO: ==22433== Releasing lock...
[2025-02-09 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:24:04] Production.INFO: count ==21
[2025-02-09 05:24:04] Production.ERROR: done
[2025-02-09 05:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:24:04] Production.INFO: count ==21
[2025-02-09 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434894') start
[2025-02-09 05:24:04] Production.ERROR: done
[2025-02-09 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434894') end
[2025-02-09 05:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:24:04] Production.INFO: 1
[2025-02-09 05:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:24:04] Production.INFO: ==22437== Releasing lock...
[2025-02-09 05:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:24:05
[end_date_ymd] => 2025-02-09 05:24:05
[RateCDR] => 1
)
[2025-02-09 05:24: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` >= '2025-02-09 02:24:05' and `end` < '2025-02-09 05:24: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 ,'')
[2025-02-09 05:24:12] Production.ERROR: CronJobId end10
[2025-02-09 05:24:12] Production.INFO: ==22431== Releasing lock...
[2025-02-09 05:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:24:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:24:13] Production.INFO: call_cost start
[2025-02-09 05:24:13] Production.INFO: call_cost end
[2025-02-09 05:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:24:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:24:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:24:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:24:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:24:14] Production.INFO: ==22427== Releasing lock...
[2025-02-09 05:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:24:19] Production.INFO: count ==309
[2025-02-09 05:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:24:05 - End Time 2025-02-09 05:24:05
[2025-02-09 05:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434895', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434895', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434895', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434895', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:24:19] Production.INFO: ProcessCDR(1,14434895,1,1,2)
[2025-02-09 05:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434895', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434895', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:24:22] Production.INFO: ==22435== Releasing lock...
[2025-02-09 05:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:24:22] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 10:25:01] Production.INFO: ==22494== Lock acquired, processing the job...
[2025-02-09 10:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:25:01] Production.INFO: neon service started
[2025-02-09 10:25:01] Production.INFO: neon service started
[2025-02-09 10:25:01] Production.INFO: ==22494== Releasing lock...
[2025-02-09 10:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:25:02] Production.INFO: ==22496== Lock acquired, processing the job...
[2025-02-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:25:02] Production.INFO: ==22498== Lock acquired, processing the job...
[2025-02-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:25:02] Production.INFO: ==22498== Releasing lock...
[2025-02-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:25:02] Production.INFO: ==22496== Releasing lock...
[2025-02-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:25:03] Production.INFO: ==22503== Lock acquired, processing the job...
[2025-02-09 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:25:03] Production.INFO: ==22512== Lock acquired, processing the job...
[2025-02-09 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:25:03] Production.INFO: ==22501== Lock acquired, processing the job...
[2025-02-09 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:25:03] Production.INFO: ==22505== Lock acquired, processing the job...
[2025-02-09 05:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:25:03] Production.INFO: ==22508== Lock acquired, processing the job...
[2025-02-09 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:25:03] Production.INFO: count ==21
[2025-02-09 05:25:03] Production.INFO: ==22510== Lock acquired, processing the job...
[2025-02-09 05:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:25:03] Production.INFO: count ==21
[2025-02-09 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434897') start
[2025-02-09 05:25:03] Production.INFO: ==22503== Releasing lock...
[2025-02-09 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:25:03] Production.INFO: Account Balance Start.
[2025-02-09 05:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:25:03] Production.INFO: 117
[2025-02-09 05:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434897') end
[2025-02-09 05:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:25:03] Production.INFO: 1
[2025-02-09 05:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:25:03] Production.INFO: Total Charge 0
[2025-02-09 05:25:03] Production.INFO: CreateAllLog End
[2025-02-09 05:25:03] Production.INFO: ==22512== Releasing lock...
[2025-02-09 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:25:03] Production.INFO: Account Balance End.
[2025-02-09 05:25:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:25:03] Production.INFO: ==22508== Releasing lock...
[2025-02-09 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:25:03] Production.ERROR: done
[2025-02-09 05:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:25:04] Production.ERROR: done
[2025-02-09 05:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:25:05
[end_date_ymd] => 2025-02-09 05:25:05
[RateCDR] => 1
)
[2025-02-09 05:25: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` >= '2025-02-09 02:25:05' and `end` < '2025-02-09 05:25: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 ,'')
[2025-02-09 05:25:11] Production.ERROR: CronJobId end10
[2025-02-09 05:25:11] Production.INFO: ==22505== Releasing lock...
[2025-02-09 05:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:25:14] Production.INFO: call_cost start
[2025-02-09 05:25:14] Production.INFO: call_cost end
[2025-02-09 05:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:25:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:25:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:25:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:25:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:25:15] Production.INFO: ==22501== Releasing lock...
[2025-02-09 05:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:25:17] Production.INFO: count ==309
[2025-02-09 05:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:25:05 - End Time 2025-02-09 05:25:05
[2025-02-09 05:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434900', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434900', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434900', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434900', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:25:18] Production.INFO: ProcessCDR(1,14434900,1,1,2)
[2025-02-09 05:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434900', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434900', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:25:21] Production.INFO: ==22510== Releasing lock...
[2025-02-09 05:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:25:21] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 10:26:01] Production.INFO: ==22571== Lock acquired, processing the job...
[2025-02-09 10:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:26:01] Production.INFO: neon service started
[2025-02-09 10:26:02] Production.INFO: neon service started
[2025-02-09 10:26:02] Production.INFO: ==22571== Releasing lock...
[2025-02-09 10:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:26:02] Production.INFO: ==22573== Lock acquired, processing the job...
[2025-02-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:26:02] Production.INFO: ==22575== Lock acquired, processing the job...
[2025-02-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:26:02] Production.INFO: ==22575== Releasing lock...
[2025-02-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:26:02] Production.INFO: ==22573== Releasing lock...
[2025-02-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:26:03] Production.INFO: ==22580== Lock acquired, processing the job...
[2025-02-09 05:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:26:03] Production.INFO: ==22582== Lock acquired, processing the job...
[2025-02-09 05:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:26:03] Production.INFO: ==22586== Lock acquired, processing the job...
[2025-02-09 05:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:26:03] Production.INFO: ==22578== Lock acquired, processing the job...
[2025-02-09 05:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:26:03] Production.INFO: ==22588== Lock acquired, processing the job...
[2025-02-09 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:26:03] Production.INFO: ==22584== Lock acquired, processing the job...
[2025-02-09 05:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:26:04] Production.INFO: ==22580== Releasing lock...
[2025-02-09 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:26:04] Production.INFO: Account Balance Start.
[2025-02-09 05:26:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:26:04] Production.INFO: 117
[2025-02-09 05:26:04] Production.INFO: count ==21
[2025-02-09 05:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:26:04] Production.INFO: count ==21
[2025-02-09 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434902') start
[2025-02-09 05:26:04] Production.ERROR: done
[2025-02-09 05:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434902') end
[2025-02-09 05:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:26:04] Production.INFO: 1
[2025-02-09 05:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:26:04] Production.INFO: Total Charge 0
[2025-02-09 05:26:04] Production.INFO: CreateAllLog End
[2025-02-09 05:26:04] Production.INFO: ==22588== Releasing lock...
[2025-02-09 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:26:04] Production.ERROR: done
[2025-02-09 05:26:04] Production.INFO: Account Balance End.
[2025-02-09 05:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:26:04] Production.INFO: ==22584== Releasing lock...
[2025-02-09 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:26:05
[end_date_ymd] => 2025-02-09 05:26:05
[RateCDR] => 1
)
[2025-02-09 05:26: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` >= '2025-02-09 02:26:05' and `end` < '2025-02-09 05:26: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 ,'')
[2025-02-09 05:26:12] Production.ERROR: CronJobId end10
[2025-02-09 05:26:12] Production.INFO: ==22582== Releasing lock...
[2025-02-09 05:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:26:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:26:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:26:14] Production.INFO: call_cost start
[2025-02-09 05:26:14] Production.INFO: call_cost end
[2025-02-09 05:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:26:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:26:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:26:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:26:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:26:14] Production.INFO: ==22578== Releasing lock...
[2025-02-09 05:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:26:18] Production.INFO: count ==309
[2025-02-09 05:26:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:26:05 - End Time 2025-02-09 05:26:05
[2025-02-09 05:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434905', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434905', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434905', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434905', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:26:18] Production.INFO: ProcessCDR(1,14434905,1,1,2)
[2025-02-09 05:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434905', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434905', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:26:21] Production.INFO: ==22586== Releasing lock...
[2025-02-09 05:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:26:21] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 10:27:01] Production.INFO: ==22644== Lock acquired, processing the job...
[2025-02-09 10:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:27:01] Production.INFO: neon service started
[2025-02-09 10:27:01] Production.INFO: neon service started
[2025-02-09 10:27:01] Production.INFO: ==22644== Releasing lock...
[2025-02-09 10:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:27:01] Production.INFO: ==22646== Lock acquired, processing the job...
[2025-02-09 05:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:27:02] Production.INFO: ==22646== Releasing lock...
[2025-02-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:27:02] Production.INFO: ==22648== Lock acquired, processing the job...
[2025-02-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:27:02] Production.INFO: ==22648== Releasing lock...
[2025-02-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:27:02] Production.INFO: ==22651== Lock acquired, processing the job...
[2025-02-09 05:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:27:02] Production.INFO: ==22655== Lock acquired, processing the job...
[2025-02-09 05:27:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:27:02] Production.INFO: ==22657== Lock acquired, processing the job...
[2025-02-09 05:27:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:27:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:27:03] Production.INFO: ==22653== Lock acquired, processing the job...
[2025-02-09 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:27:03] Production.INFO: Account Balance Start.
[2025-02-09 05:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:27:03] Production.INFO: 117
[2025-02-09 05:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:27:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:27:03] Production.INFO: ==22659== Lock acquired, processing the job...
[2025-02-09 05:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:27:03] Production.INFO: Total Charge 0
[2025-02-09 05:27:03] Production.INFO: ==22661== Lock acquired, processing the job...
[2025-02-09 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:27:03] Production.INFO: CreateAllLog End
[2025-02-09 05:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:27:03] Production.INFO: count ==21
[2025-02-09 05:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:27:03] Production.INFO: count ==21
[2025-02-09 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434909') start
[2025-02-09 05:27:03] Production.INFO: Account Balance End.
[2025-02-09 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434909') end
[2025-02-09 05:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:27:03] Production.INFO: 1
[2025-02-09 05:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:27:03] Production.INFO: ==22653== Releasing lock...
[2025-02-09 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:27:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:27:03] Production.INFO: ==22657== Releasing lock...
[2025-02-09 05:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:27:03] Production.ERROR: done
[2025-02-09 05:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:27:03] Production.INFO: ==22661== Releasing lock...
[2025-02-09 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:27:03] Production.ERROR: done
[2025-02-09 05:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:27:04
[end_date_ymd] => 2025-02-09 05:27:04
[RateCDR] => 1
)
[2025-02-09 05:27:04] 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-02-09 02:27:04' and `end` < '2025-02-09 05:27:04'
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-02-09 05:27:10] Production.ERROR: CronJobId end10
[2025-02-09 05:27:10] Production.INFO: ==22655== Releasing lock...
[2025-02-09 05:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:27:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:27:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:27:12] Production.INFO: call_cost start
[2025-02-09 05:27:13] Production.INFO: call_cost end
[2025-02-09 05:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:27:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:27:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:27:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:27:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:27:13] Production.INFO: ==22651== Releasing lock...
[2025-02-09 05:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:27:17] Production.INFO: count ==308
[2025-02-09 05:27:17] Production.ERROR: pbx CDR StartTime 2025-02-09 02:27:04 - End Time 2025-02-09 05:27:04
[2025-02-09 05:27:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434910', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434910', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434910', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:27:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434910', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:27:17] Production.INFO: ProcessCDR(1,14434910,1,1,2)
[2025-02-09 05:27:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:27:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:27:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:27:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434910', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:27:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434910', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:27:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:27:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:27:20] Production.INFO: ==22659== Releasing lock...
[2025-02-09 05:27:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:27:20] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 10:28:01] Production.INFO: ==22717== Lock acquired, processing the job...
[2025-02-09 10:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:28:01] Production.INFO: neon service started
[2025-02-09 10:28:01] Production.INFO: neon service started
[2025-02-09 10:28:01] Production.INFO: ==22717== Releasing lock...
[2025-02-09 10:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:28:02] Production.INFO: ==22720== Lock acquired, processing the job...
[2025-02-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:28:02] Production.INFO: ==22720== Releasing lock...
[2025-02-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:28:02] Production.INFO: ==22722== Lock acquired, processing the job...
[2025-02-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:28:02] Production.INFO: ==22722== Releasing lock...
[2025-02-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:28:03] Production.INFO: ==22729== Lock acquired, processing the job...
[2025-02-09 05:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:28:03] Production.INFO: ==22735== Lock acquired, processing the job...
[2025-02-09 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:28:03] Production.INFO: ==22725== Lock acquired, processing the job...
[2025-02-09 05:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:28:03] Production.INFO: ==22727== Lock acquired, processing the job...
[2025-02-09 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:28:03] Production.INFO: ==22733== Lock acquired, processing the job...
[2025-02-09 05:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:28:03] Production.INFO: ==22731== Lock acquired, processing the job...
[2025-02-09 05:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:28:03] Production.INFO: count ==21
[2025-02-09 05:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:28:03] Production.INFO: count ==21
[2025-02-09 05:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434911') start
[2025-02-09 05:28:03] Production.INFO: Account Balance Start.
[2025-02-09 05:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:28:03] Production.INFO: 117
[2025-02-09 05:28:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:28:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:28:04] Production.ERROR: done
[2025-02-09 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434911') end
[2025-02-09 05:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:28:04] Production.INFO: 1
[2025-02-09 05:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:28:04] Production.INFO: ==22727== Releasing lock...
[2025-02-09 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:28:04] Production.INFO: Total Charge 0
[2025-02-09 05:28:04] Production.INFO: CreateAllLog End
[2025-02-09 05:28:04] Production.INFO: ==22735== Releasing lock...
[2025-02-09 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:28:04] Production.ERROR: done
[2025-02-09 05:28:04] Production.INFO: Account Balance End.
[2025-02-09 05:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:28:04] Production.INFO: ==22731== Releasing lock...
[2025-02-09 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:28:05
[end_date_ymd] => 2025-02-09 05:28:05
[RateCDR] => 1
)
[2025-02-09 05:28: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` >= '2025-02-09 02:28:05' and `end` < '2025-02-09 05:28: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 ,'')
[2025-02-09 05:28:10] Production.ERROR: CronJobId end10
[2025-02-09 05:28:10] Production.INFO: ==22729== Releasing lock...
[2025-02-09 05:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:28:14] Production.INFO: call_cost start
[2025-02-09 05:28:14] Production.INFO: call_cost end
[2025-02-09 05:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:28:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:28:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:28:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:28:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:28:14] Production.INFO: ==22725== Releasing lock...
[2025-02-09 05:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:28:18] Production.INFO: count ==308
[2025-02-09 05:28:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:28:05 - End Time 2025-02-09 05:28:05
[2025-02-09 05:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434915', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434915', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434915', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434915', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:28:18] Production.INFO: ProcessCDR(1,14434915,1,1,2)
[2025-02-09 05:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434915', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434915', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:28:21] Production.INFO: ==22733== Releasing lock...
[2025-02-09 05:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:28:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 10:29:02] Production.INFO: ==22795== Lock acquired, processing the job...
[2025-02-09 10:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:29:02] Production.INFO: neon service started
[2025-02-09 10:29:02] Production.INFO: neon service started
[2025-02-09 10:29:02] Production.INFO: ==22795== Releasing lock...
[2025-02-09 10:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:29:02] Production.INFO: ==22797== Lock acquired, processing the job...
[2025-02-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:29:02] Production.INFO: ==22797== Releasing lock...
[2025-02-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:29:02] Production.INFO: ==22799== Lock acquired, processing the job...
[2025-02-09 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:29:03] Production.INFO: ==22799== Releasing lock...
[2025-02-09 10:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:29:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:29:03] Production.INFO: ==22810== Lock acquired, processing the job...
[2025-02-09 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:29:03] Production.INFO: ==22812== Lock acquired, processing the job...
[2025-02-09 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:29:03] Production.INFO: ==22802== Lock acquired, processing the job...
[2025-02-09 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:29:03] Production.INFO: count ==21
[2025-02-09 05:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:29:03] Production.INFO: count ==21
[2025-02-09 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434916') start
[2025-02-09 05:29:03] Production.INFO: ==22804== Lock acquired, processing the job...
[2025-02-09 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:29:04] Production.INFO: ==22806== Lock acquired, processing the job...
[2025-02-09 05:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:29:04] Production.INFO: ==22808== Lock acquired, processing the job...
[2025-02-09 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434916') end
[2025-02-09 05:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:29:04] Production.INFO: 1
[2025-02-09 05:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:29:04] Production.INFO: ==22812== Releasing lock...
[2025-02-09 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:29:04] Production.ERROR: done
[2025-02-09 05:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:29:04] Production.INFO: Account Balance Start.
[2025-02-09 05:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:29:04] Production.INFO: 117
[2025-02-09 05:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:29:04] Production.ERROR: done
[2025-02-09 05:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:29:04] Production.INFO: ==22804== Releasing lock...
[2025-02-09 05:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:29:04] Production.INFO: Total Charge 0
[2025-02-09 05:29:04] Production.INFO: CreateAllLog End
[2025-02-09 05:29:04] Production.INFO: Account Balance End.
[2025-02-09 05:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:29:04] Production.INFO: ==22808== Releasing lock...
[2025-02-09 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:29:05
[end_date_ymd] => 2025-02-09 05:29:05
[RateCDR] => 1
)
[2025-02-09 05:29: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` >= '2025-02-09 02:29:05' and `end` < '2025-02-09 05:29: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 ,'')
[2025-02-09 05:29:11] Production.ERROR: CronJobId end10
[2025-02-09 05:29:11] Production.INFO: ==22806== Releasing lock...
[2025-02-09 05:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:29:14] Production.INFO: call_cost start
[2025-02-09 05:29:14] Production.INFO: call_cost end
[2025-02-09 05:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:29:15] Production.INFO: ==22802== Releasing lock...
[2025-02-09 05:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:29:18] Production.INFO: count ==308
[2025-02-09 05:29:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:29:05 - End Time 2025-02-09 05:29:05
[2025-02-09 05:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434920', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434920', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434920', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434920', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:29:18] Production.INFO: ProcessCDR(1,14434920,1,1,2)
[2025-02-09 05:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434920', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434920', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:29:21] Production.INFO: ==22810== Releasing lock...
[2025-02-09 05:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:29:21] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 10:30:01] Production.INFO: ==22871== Lock acquired, processing the job...
[2025-02-09 10:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:30:01] Production.INFO: neon service started
[2025-02-09 10:30:01] Production.INFO: neon service started
[2025-02-09 10:30:01] Production.INFO: ==22871== Releasing lock...
[2025-02-09 10:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:30:02] Production.INFO: ==22873== Lock acquired, processing the job...
[2025-02-09 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:30:02] Production.INFO: ==22873== Releasing lock...
[2025-02-09 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:30:02] Production.INFO: ==22875== Lock acquired, processing the job...
[2025-02-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:30:02] Production.INFO: ==22875== Releasing lock...
[2025-02-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:30:03] Production.INFO: ==22878== Lock acquired, processing the job...
[2025-02-09 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 05:30:03] Production.INFO: ==22880== Lock acquired, processing the job...
[2025-02-09 05:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:30:03] Production.INFO: ==22882== Lock acquired, processing the job...
[2025-02-09 05:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 05:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 05:30:03] Production.ERROR: CronJob PID - 22880
[2025-02-09 05:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 05:30:03] Production.ERROR: CronJob ID - 5
[2025-02-09 05:30:03] Production.ERROR: CronJob Last Run Time 2025-02-09 05:30:00
[2025-02-09 05:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 05:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 05:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 05:30:03] Production.INFO: ==22878== Releasing lock...
[2025-02-09 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 05:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 05:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:30:03] Production.INFO: ==22890== Lock acquired, processing the job...
[2025-02-09 05:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 05:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:30:03] Production.INFO: ==22882== Releasing lock...
[2025-02-09 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:30:04] Production.INFO: ==22884== Lock acquired, processing the job...
[2025-02-09 05:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:30:04] Production.INFO: ==22888== Lock acquired, processing the job...
[2025-02-09 05:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:30:04] Production.INFO: ==22886== Lock acquired, processing the job...
[2025-02-09 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:30:04] Production.INFO: ==22892== Lock acquired, processing the job...
[2025-02-09 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:30:04] Production.ERROR: done
[2025-02-09 05:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:30:04] Production.INFO: Account Balance Start.
[2025-02-09 05:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:30:04] Production.INFO: 117
[2025-02-09 05:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 05:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434924', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 05:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:30:04] Production.INFO: count ==21
[2025-02-09 05:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:30:04] Production.INFO: count ==21
[2025-02-09 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434925') start
[2025-02-09 05:30:04] Production.INFO: Total Charge 0
[2025-02-09 05:30:04] Production.INFO: CreateAllLog End
[2025-02-09 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434925') end
[2025-02-09 05:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:30:04] Production.INFO: 1
[2025-02-09 05:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:30:04] Production.INFO: ==22892== Releasing lock...
[2025-02-09 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:30:04] Production.ERROR: done
[2025-02-09 05:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:30:05] Production.ERROR: done
[2025-02-09 05:30:05] Production.INFO: Account Balance End.
[2025-02-09 05:30:05] Production.ERROR: CronJobId end 12
[2025-02-09 05:30:05] Production.INFO: ==22886== Releasing lock...
[2025-02-09 05:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:30:06
[end_date_ymd] => 2025-02-09 05:30:06
[RateCDR] => 1
)
[2025-02-09 05:30: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-02-09 02:30:06' and `end` < '2025-02-09 05:30: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-02-09 05:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434924', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 05:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 05:30:08] Production.INFO: ProcessCDR(1,14434924,1,1,2)
[2025-02-09 05:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434924,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434924,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:30:09] Production.INFO: ==22890== Releasing lock...
[2025-02-09 05:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 05:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 05:30:15] Production.ERROR: CronJobId end10
[2025-02-09 05:30:15] Production.INFO: ==22884== Releasing lock...
[2025-02-09 05:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:30:16] Production.INFO: call_cost start
[2025-02-09 05:30:16] Production.INFO: call_cost end
[2025-02-09 05:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:30:17] Production.INFO: ==22880== Releasing lock...
[2025-02-09 05:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:30:20] Production.INFO: count ==302
[2025-02-09 05:30:20] Production.ERROR: pbx CDR StartTime 2025-02-09 02:30:06 - End Time 2025-02-09 05:30:06
[2025-02-09 05:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434926', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434926', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434926', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434926', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:30:20] Production.INFO: ProcessCDR(1,14434926,1,1,2)
[2025-02-09 05:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434926', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434926', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:30:23] Production.INFO: ==22888== Releasing lock...
[2025-02-09 05:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:30:23] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 10:31:02] Production.INFO: ==22990== Lock acquired, processing the job...
[2025-02-09 10:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:31:02] Production.INFO: neon service started
[2025-02-09 10:31:02] Production.INFO: neon service started
[2025-02-09 10:31:02] Production.INFO: ==22990== Releasing lock...
[2025-02-09 10:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:31:02] Production.INFO: ==22992== Lock acquired, processing the job...
[2025-02-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:31:02] Production.INFO: ==22992== Releasing lock...
[2025-02-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:31:02] Production.INFO: ==22994== Lock acquired, processing the job...
[2025-02-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:31:02] Production.INFO: ==22994== Releasing lock...
[2025-02-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:31:03] Production.INFO: ==22997== Lock acquired, processing the job...
[2025-02-09 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:31:03] Production.INFO: ==23007== Lock acquired, processing the job...
[2025-02-09 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:31:03] Production.INFO: ==22999== Lock acquired, processing the job...
[2025-02-09 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:31:03] Production.INFO: count ==21
[2025-02-09 05:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:31:03] Production.INFO: count ==21
[2025-02-09 05:31:03] Production.INFO: ==23003== Lock acquired, processing the job...
[2025-02-09 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434928') start
[2025-02-09 05:31:03] Production.INFO: ==23001== Lock acquired, processing the job...
[2025-02-09 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:31:03] Production.INFO: ==23005== Lock acquired, processing the job...
[2025-02-09 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:31:03] Production.INFO: Account Balance Start.
[2025-02-09 05:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:31:03] Production.INFO: 117
[2025-02-09 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:31:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434928') end
[2025-02-09 05:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:31:04] Production.INFO: 1
[2025-02-09 05:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:31:04] Production.INFO: ==23007== Releasing lock...
[2025-02-09 05:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:31:04] Production.INFO: Total Charge 0
[2025-02-09 05:31:04] Production.INFO: CreateAllLog End
[2025-02-09 05:31:04] Production.INFO: ==22999== Releasing lock...
[2025-02-09 05:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:31:04] Production.ERROR: done
[2025-02-09 05:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:31:04] Production.INFO: Account Balance End.
[2025-02-09 05:31:04] Production.ERROR: done
[2025-02-09 05:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:31:04] Production.INFO: ==23003== Releasing lock...
[2025-02-09 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:31:05
[end_date_ymd] => 2025-02-09 05:31:05
[RateCDR] => 1
)
[2025-02-09 05:31: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` >= '2025-02-09 02:31:05' and `end` < '2025-02-09 05:31: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 ,'')
[2025-02-09 05:31:11] Production.ERROR: CronJobId end10
[2025-02-09 05:31:11] Production.INFO: ==23001== Releasing lock...
[2025-02-09 05:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:31:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:31:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:31:13] Production.INFO: call_cost start
[2025-02-09 05:31:13] Production.INFO: call_cost end
[2025-02-09 05:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:31:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:31:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:31:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:31:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:31:14] Production.INFO: ==22997== Releasing lock...
[2025-02-09 05:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:31:18] Production.INFO: count ==272
[2025-02-09 05:31:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:31:05 - End Time 2025-02-09 05:31:05
[2025-02-09 05:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434931', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434931', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434931', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434931', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:31:18] Production.INFO: ProcessCDR(1,14434931,1,1,2)
[2025-02-09 05:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434931', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434931', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:31:21] Production.INFO: ==23005== Releasing lock...
[2025-02-09 05:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:31:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:32:01] Production.INFO: ==23064== Lock acquired, processing the job...
[2025-02-09 10:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:32:01] Production.INFO: neon service started
[2025-02-09 10:32:01] Production.INFO: neon service started
[2025-02-09 10:32:01] Production.INFO: ==23064== Releasing lock...
[2025-02-09 10:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:32:02] Production.INFO: ==23066== Lock acquired, processing the job...
[2025-02-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:32:02] Production.INFO: ==23068== Lock acquired, processing the job...
[2025-02-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:32:02] Production.INFO: ==23068== Releasing lock...
[2025-02-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:32:02] Production.INFO: ==23066== Releasing lock...
[2025-02-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:32:03] Production.INFO: ==23071== Lock acquired, processing the job...
[2025-02-09 05:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:32:03] Production.INFO: ==23075== Lock acquired, processing the job...
[2025-02-09 05:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:32:03] Production.INFO: ==23077== Lock acquired, processing the job...
[2025-02-09 05:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:32:03] Production.INFO: Account Balance Start.
[2025-02-09 05:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:32:03] Production.INFO: 117
[2025-02-09 05:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:32:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:32:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:32:03] Production.INFO: Total Charge 0
[2025-02-09 05:32:03] Production.INFO: CreateAllLog End
[2025-02-09 05:32:03] Production.INFO: ==23073== Lock acquired, processing the job...
[2025-02-09 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:32:03] Production.INFO: Account Balance End.
[2025-02-09 05:32:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:32:03] Production.INFO: ==23077== Releasing lock...
[2025-02-09 05:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:32:03] Production.INFO: ==23079== Lock acquired, processing the job...
[2025-02-09 05:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:32:03] Production.INFO: ==23081== Lock acquired, processing the job...
[2025-02-09 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:32:04] Production.INFO: count ==21
[2025-02-09 05:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:32:04] Production.INFO: count ==21
[2025-02-09 05:32:04] Production.INFO: ==23073== Releasing lock...
[2025-02-09 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434935') start
[2025-02-09 05:32:04] Production.ERROR: done
[2025-02-09 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434935') end
[2025-02-09 05:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:32:04] Production.INFO: 1
[2025-02-09 05:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:32:04] Production.INFO: ==23081== Releasing lock...
[2025-02-09 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:32:04] Production.ERROR: done
[2025-02-09 05:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:32:05
[end_date_ymd] => 2025-02-09 05:32:05
[RateCDR] => 1
)
[2025-02-09 05:32: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` >= '2025-02-09 02:32:05' and `end` < '2025-02-09 05:32: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 ,'')
[2025-02-09 05:32:11] Production.ERROR: CronJobId end10
[2025-02-09 05:32:11] Production.INFO: ==23075== Releasing lock...
[2025-02-09 05:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:32:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:32:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:32:13] Production.INFO: call_cost start
[2025-02-09 05:32:13] Production.INFO: call_cost end
[2025-02-09 05:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:32:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:32:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:32:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:32:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:32:14] Production.INFO: ==23071== Releasing lock...
[2025-02-09 05:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:32:19] Production.INFO: count ==272
[2025-02-09 05:32:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:32:05 - End Time 2025-02-09 05:32:05
[2025-02-09 05:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434936', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434936', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434936', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434936', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:32:19] Production.INFO: ProcessCDR(1,14434936,1,1,2)
[2025-02-09 05:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434936', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434936', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:32:22] Production.INFO: ==23079== Releasing lock...
[2025-02-09 05:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:32:22] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:33:02] Production.INFO: ==23142== Lock acquired, processing the job...
[2025-02-09 10:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:33:02] Production.INFO: neon service started
[2025-02-09 10:33:02] Production.INFO: neon service started
[2025-02-09 10:33:02] Production.INFO: ==23142== Releasing lock...
[2025-02-09 10:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:33:02] Production.INFO: ==23144== Lock acquired, processing the job...
[2025-02-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:33:02] Production.INFO: ==23144== Releasing lock...
[2025-02-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:33:02] Production.INFO: ==23146== Lock acquired, processing the job...
[2025-02-09 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:33:03] Production.INFO: ==23146== Releasing lock...
[2025-02-09 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:33:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:33:03] Production.INFO: ==23150== Lock acquired, processing the job...
[2025-02-09 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:33:03] Production.INFO: ==23154== Lock acquired, processing the job...
[2025-02-09 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:33:03] Production.INFO: ==23148== Lock acquired, processing the job...
[2025-02-09 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:33:03] Production.INFO: Account Balance Start.
[2025-02-09 05:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:33:03] Production.INFO: 117
[2025-02-09 05:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:33:03] Production.INFO: ==23152== Lock acquired, processing the job...
[2025-02-09 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:33:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:33:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:33:04] Production.INFO: ==23150== Releasing lock...
[2025-02-09 05:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:33:04] Production.INFO: Total Charge 0
[2025-02-09 05:33:04] Production.INFO: ==23156== Lock acquired, processing the job...
[2025-02-09 05:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:33:04] Production.INFO: CreateAllLog End
[2025-02-09 05:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:33:04] Production.INFO: ==23158== Lock acquired, processing the job...
[2025-02-09 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:33:04] Production.INFO: count ==21
[2025-02-09 05:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:33:04] Production.INFO: count ==21
[2025-02-09 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434940') start
[2025-02-09 05:33:04] Production.INFO: Account Balance End.
[2025-02-09 05:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:33:04] Production.INFO: ==23154== Releasing lock...
[2025-02-09 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434940') end
[2025-02-09 05:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:33:04] Production.INFO: 1
[2025-02-09 05:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:33:04] Production.ERROR: done
[2025-02-09 05:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:33:04] Production.INFO: ==23158== Releasing lock...
[2025-02-09 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:33:04] Production.ERROR: done
[2025-02-09 05:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:33:05
[end_date_ymd] => 2025-02-09 05:33:05
[RateCDR] => 1
)
[2025-02-09 05:33: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` >= '2025-02-09 02:33:05' and `end` < '2025-02-09 05:33: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 ,'')
[2025-02-09 05:33:11] Production.ERROR: CronJobId end10
[2025-02-09 05:33:11] Production.INFO: ==23152== Releasing lock...
[2025-02-09 05:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:33:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:33:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:33:14] Production.INFO: call_cost start
[2025-02-09 05:33:14] Production.INFO: call_cost end
[2025-02-09 05:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:33:15] Production.INFO: ==23148== Releasing lock...
[2025-02-09 05:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:33:18] Production.INFO: count ==272
[2025-02-09 05:33:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:33:05 - End Time 2025-02-09 05:33:05
[2025-02-09 05:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434941', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434941', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434941', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434941', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:33:18] Production.INFO: ProcessCDR(1,14434941,1,1,2)
[2025-02-09 05:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434941', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434941', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:33:21] Production.INFO: ==23156== Releasing lock...
[2025-02-09 05:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:33:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:34:01] Production.INFO: ==23213== Lock acquired, processing the job...
[2025-02-09 10:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:34:01] Production.INFO: neon service started
[2025-02-09 10:34:01] Production.INFO: neon service started
[2025-02-09 10:34:01] Production.INFO: ==23213== Releasing lock...
[2025-02-09 10:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:34:01] Production.INFO: ==23215== Lock acquired, processing the job...
[2025-02-09 05:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:34:02] Production.INFO: ==23215== Releasing lock...
[2025-02-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:34:02] Production.INFO: ==23217== Lock acquired, processing the job...
[2025-02-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:34:02] Production.INFO: ==23217== Releasing lock...
[2025-02-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:34:03] Production.INFO: ==23219== Lock acquired, processing the job...
[2025-02-09 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:34:03] Production.INFO: ==23223== Lock acquired, processing the job...
[2025-02-09 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:34:03] Production.INFO: ==23221== Lock acquired, processing the job...
[2025-02-09 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:34:03] Production.INFO: ==23225== Lock acquired, processing the job...
[2025-02-09 05:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:34:03] Production.INFO: ==23227== Lock acquired, processing the job...
[2025-02-09 05:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:34:03] Production.INFO: Account Balance Start.
[2025-02-09 05:34:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:34:03] Production.INFO: 117
[2025-02-09 05:34:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:34:03] Production.INFO: ==23230== Lock acquired, processing the job...
[2025-02-09 05:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:34:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:34:03] Production.INFO: Total Charge 0
[2025-02-09 05:34:03] Production.INFO: CreateAllLog End
[2025-02-09 05:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:34:03] Production.INFO: count ==21
[2025-02-09 05:34:03] Production.ERROR: done
[2025-02-09 05:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:34:03] Production.INFO: count ==21
[2025-02-09 05:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434945') start
[2025-02-09 05:34:03] Production.INFO: ==23221== Releasing lock...
[2025-02-09 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:34:04] Production.ERROR: done
[2025-02-09 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434945') end
[2025-02-09 05:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:34:04] Production.INFO: 1
[2025-02-09 05:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:34:04] Production.INFO: ==23230== Releasing lock...
[2025-02-09 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:34:04] Production.INFO: Account Balance End.
[2025-02-09 05:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:34:04] Production.INFO: ==23225== Releasing lock...
[2025-02-09 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:34:04
[end_date_ymd] => 2025-02-09 05:34:04
[RateCDR] => 1
)
[2025-02-09 05:34:04] 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-02-09 02:34:04' and `end` < '2025-02-09 05:34:04'
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-02-09 05:34:11] Production.ERROR: CronJobId end10
[2025-02-09 05:34:11] Production.INFO: ==23223== Releasing lock...
[2025-02-09 05:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:34:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:34:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:34:13] Production.INFO: call_cost start
[2025-02-09 05:34:13] Production.INFO: call_cost end
[2025-02-09 05:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:34:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:34:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:34:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:34:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:34:14] Production.INFO: ==23219== Releasing lock...
[2025-02-09 05:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:34:18] Production.INFO: count ==272
[2025-02-09 05:34:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:34:04 - End Time 2025-02-09 05:34:04
[2025-02-09 05:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434946', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434946', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434946', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434946', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:34:18] Production.INFO: ProcessCDR(1,14434946,1,1,2)
[2025-02-09 05:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434946', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434946', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:34:21] Production.INFO: ==23227== Releasing lock...
[2025-02-09 05:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:34:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:35:01] Production.INFO: ==23290== Lock acquired, processing the job...
[2025-02-09 10:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:35:01] Production.INFO: neon service started
[2025-02-09 10:35:01] Production.INFO: neon service started
[2025-02-09 10:35:01] Production.INFO: ==23290== Releasing lock...
[2025-02-09 10:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:35:02] Production.INFO: ==23294== Lock acquired, processing the job...
[2025-02-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:35:02] Production.INFO: ==23294== Releasing lock...
[2025-02-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:35:02] Production.INFO: ==23292== Lock acquired, processing the job...
[2025-02-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:35:02] Production.INFO: ==23292== Releasing lock...
[2025-02-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:35:03] Production.INFO: ==23301== Lock acquired, processing the job...
[2025-02-09 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:35:03] Production.INFO: ==23303== Lock acquired, processing the job...
[2025-02-09 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:35:03] Production.INFO: Account Balance Start.
[2025-02-09 05:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:35:03] Production.INFO: 117
[2025-02-09 05:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:35:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:35:03] Production.INFO: ==23297== Lock acquired, processing the job...
[2025-02-09 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:35:03] Production.INFO: Total Charge 0
[2025-02-09 05:35:03] Production.INFO: CreateAllLog End
[2025-02-09 05:35:03] Production.INFO: ==23299== Lock acquired, processing the job...
[2025-02-09 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:35:03] Production.INFO: ==23305== Lock acquired, processing the job...
[2025-02-09 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:35:04] Production.INFO: ==23307== Lock acquired, processing the job...
[2025-02-09 05:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:35:04] Production.INFO: Account Balance End.
[2025-02-09 05:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:35:04] Production.INFO: count ==21
[2025-02-09 05:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:35:04] Production.INFO: ==23299== Releasing lock...
[2025-02-09 05:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:35:04] Production.INFO: ==23303== Releasing lock...
[2025-02-09 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:35:04] Production.INFO: count ==21
[2025-02-09 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434950') start
[2025-02-09 05:35:04] Production.ERROR: done
[2025-02-09 05:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434950') end
[2025-02-09 05:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:35:04] Production.INFO: 1
[2025-02-09 05:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:35:04] Production.INFO: ==23307== Releasing lock...
[2025-02-09 05:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:35:04] Production.ERROR: done
[2025-02-09 05:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:35:05
[end_date_ymd] => 2025-02-09 05:35:05
[RateCDR] => 1
)
[2025-02-09 05:35: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` >= '2025-02-09 02:35:05' and `end` < '2025-02-09 05:35: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 ,'')
[2025-02-09 05:35:11] Production.ERROR: CronJobId end10
[2025-02-09 05:35:11] Production.INFO: ==23301== Releasing lock...
[2025-02-09 05:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:35:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:35:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:35:14] Production.INFO: call_cost start
[2025-02-09 05:35:14] Production.INFO: call_cost end
[2025-02-09 05:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:35:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:35:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:35:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:35:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:35:15] Production.INFO: ==23297== Releasing lock...
[2025-02-09 05:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:35:18] Production.INFO: count ==272
[2025-02-09 05:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:35:05 - End Time 2025-02-09 05:35:05
[2025-02-09 05:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434951', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434951', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434951', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434951', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:35:18] Production.INFO: ProcessCDR(1,14434951,1,1,2)
[2025-02-09 05:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434951', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434951', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:35:21] Production.INFO: ==23305== Releasing lock...
[2025-02-09 05:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:35:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:36:01] Production.INFO: ==23364== Lock acquired, processing the job...
[2025-02-09 10:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:36:01] Production.INFO: neon service started
[2025-02-09 10:36:01] Production.INFO: neon service started
[2025-02-09 10:36:01] Production.INFO: ==23364== Releasing lock...
[2025-02-09 10:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:36:02] Production.INFO: ==23366== Lock acquired, processing the job...
[2025-02-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:36:02] Production.INFO: ==23368== Lock acquired, processing the job...
[2025-02-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:36:02] Production.INFO: ==23368== Releasing lock...
[2025-02-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:36:02] Production.INFO: ==23366== Releasing lock...
[2025-02-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:36:03] Production.INFO: ==23371== Lock acquired, processing the job...
[2025-02-09 05:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:36:03] Production.INFO: ==23373== Lock acquired, processing the job...
[2025-02-09 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:36:03] Production.INFO: ==23375== Lock acquired, processing the job...
[2025-02-09 05:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:36:03] Production.INFO: ==23377== Lock acquired, processing the job...
[2025-02-09 05:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:36:03] Production.INFO: ==23379== Lock acquired, processing the job...
[2025-02-09 05:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:36:03] Production.INFO: Account Balance Start.
[2025-02-09 05:36:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:36:03] Production.INFO: 117
[2025-02-09 05:36:03] Production.INFO: ==23381== Lock acquired, processing the job...
[2025-02-09 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:36:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:36:03] Production.INFO: ==23373== Releasing lock...
[2025-02-09 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:36:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:36:03] Production.INFO: Total Charge 0
[2025-02-09 05:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:36:03] Production.INFO: CreateAllLog End
[2025-02-09 05:36:03] Production.INFO: count ==21
[2025-02-09 05:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:36:03] Production.INFO: count ==21
[2025-02-09 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434955') start
[2025-02-09 05:36:04] Production.ERROR: done
[2025-02-09 05:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434955') end
[2025-02-09 05:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:36:04] Production.INFO: 1
[2025-02-09 05:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:36:04] Production.INFO: Account Balance End.
[2025-02-09 05:36:04] Production.INFO: ==23381== Releasing lock...
[2025-02-09 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:36:04] Production.INFO: ==23377== Releasing lock...
[2025-02-09 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:36:04] Production.ERROR: done
[2025-02-09 05:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:36:05
[end_date_ymd] => 2025-02-09 05:36:05
[RateCDR] => 1
)
[2025-02-09 05:36: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` >= '2025-02-09 02:36:05' and `end` < '2025-02-09 05:36: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 ,'')
[2025-02-09 05:36:10] Production.ERROR: CronJobId end10
[2025-02-09 05:36:10] Production.INFO: ==23375== Releasing lock...
[2025-02-09 05:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:36:13] Production.INFO: call_cost start
[2025-02-09 05:36:13] Production.INFO: call_cost end
[2025-02-09 05:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:36:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:36:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:36:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:36:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:36:14] Production.INFO: ==23371== Releasing lock...
[2025-02-09 05:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:36:17] Production.INFO: count ==272
[2025-02-09 05:36:17] Production.ERROR: pbx CDR StartTime 2025-02-09 02:36:05 - End Time 2025-02-09 05:36:05
[2025-02-09 05:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434956', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434956', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434956', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434956', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:36:17] Production.INFO: ProcessCDR(1,14434956,1,1,2)
[2025-02-09 05:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434956', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434956', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:36:20] Production.INFO: ==23379== Releasing lock...
[2025-02-09 05:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:36:20] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:37:01] Production.INFO: ==23440== Lock acquired, processing the job...
[2025-02-09 10:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:37:01] Production.INFO: neon service started
[2025-02-09 10:37:01] Production.INFO: neon service started
[2025-02-09 10:37:01] Production.INFO: ==23440== Releasing lock...
[2025-02-09 10:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:37:02] Production.INFO: ==23444== Lock acquired, processing the job...
[2025-02-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:37:02] Production.INFO: ==23444== Releasing lock...
[2025-02-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:37:02] Production.INFO: ==23442== Lock acquired, processing the job...
[2025-02-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:37:02] Production.INFO: ==23442== Releasing lock...
[2025-02-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:37:03] Production.INFO: ==23447== Lock acquired, processing the job...
[2025-02-09 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:37:03] Production.INFO: ==23455== Lock acquired, processing the job...
[2025-02-09 05:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:37:03] Production.INFO: ==23451== Lock acquired, processing the job...
[2025-02-09 05:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:37:03] Production.INFO: ==23457== Lock acquired, processing the job...
[2025-02-09 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:37:03] Production.INFO: ==23449== Lock acquired, processing the job...
[2025-02-09 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:37:03] Production.INFO: ==23453== Lock acquired, processing the job...
[2025-02-09 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:37:04] Production.INFO: Account Balance Start.
[2025-02-09 05:37:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:37:04] Production.INFO: count ==21
[2025-02-09 05:37:04] Production.INFO: 117
[2025-02-09 05:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:37:04] Production.INFO: count ==21
[2025-02-09 05:37:04] Production.ERROR: done
[2025-02-09 05:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:37:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434958') start
[2025-02-09 05:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434958') end
[2025-02-09 05:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:37:04] Production.INFO: 1
[2025-02-09 05:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:37:04] Production.ERROR: done
[2025-02-09 05:37:04] Production.INFO: Total Charge 0
[2025-02-09 05:37:04] Production.INFO: CreateAllLog End
[2025-02-09 05:37:04] Production.INFO: ==23449== Releasing lock...
[2025-02-09 05:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:37:04] Production.INFO: ==23457== Releasing lock...
[2025-02-09 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:37:04] Production.INFO: Account Balance End.
[2025-02-09 05:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:37:04] Production.INFO: ==23453== Releasing lock...
[2025-02-09 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:37:05
[end_date_ymd] => 2025-02-09 05:37:05
[RateCDR] => 1
)
[2025-02-09 05:37: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` >= '2025-02-09 02:37:05' and `end` < '2025-02-09 05:37: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 ,'')
[2025-02-09 05:37:12] Production.ERROR: CronJobId end10
[2025-02-09 05:37:12] Production.INFO: ==23451== Releasing lock...
[2025-02-09 05:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:37:14] Production.INFO: call_cost start
[2025-02-09 05:37:14] Production.INFO: call_cost end
[2025-02-09 05:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:37:15] Production.INFO: ==23447== Releasing lock...
[2025-02-09 05:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:37:18] Production.INFO: count ==272
[2025-02-09 05:37:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:37:05 - End Time 2025-02-09 05:37:05
[2025-02-09 05:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434961', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434961', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434961', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434961', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:37:18] Production.INFO: ProcessCDR(1,14434961,1,1,2)
[2025-02-09 05:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434961', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434961', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:37:21] Production.INFO: ==23455== Releasing lock...
[2025-02-09 05:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:37:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:38:02] Production.INFO: ==23514== Lock acquired, processing the job...
[2025-02-09 10:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:38:02] Production.INFO: neon service started
[2025-02-09 10:38:02] Production.INFO: neon service started
[2025-02-09 10:38:02] Production.INFO: ==23514== Releasing lock...
[2025-02-09 10:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:38:02] Production.INFO: ==23516== Lock acquired, processing the job...
[2025-02-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:38:02] Production.INFO: ==23516== Releasing lock...
[2025-02-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:38:03] Production.INFO: ==23518== Lock acquired, processing the job...
[2025-02-09 10:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:38:03] Production.INFO: ==23518== Releasing lock...
[2025-02-09 10:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:38:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:38:03] Production.INFO: ==23521== Lock acquired, processing the job...
[2025-02-09 05:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:38:03] Production.INFO: ==23527== Lock acquired, processing the job...
[2025-02-09 05:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:38:03] Production.INFO: ==23525== Lock acquired, processing the job...
[2025-02-09 05:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:38:03] Production.INFO: Account Balance Start.
[2025-02-09 05:38:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:38:03] Production.INFO: 117
[2025-02-09 05:38:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:38:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:38:04] Production.INFO: Total Charge 0
[2025-02-09 05:38:04] Production.INFO: CreateAllLog End
[2025-02-09 05:38:04] Production.INFO: ==23523== Lock acquired, processing the job...
[2025-02-09 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:38:04] Production.INFO: Account Balance End.
[2025-02-09 05:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:38:04] Production.INFO: ==23527== Releasing lock...
[2025-02-09 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:38:04] Production.INFO: ==23531== Lock acquired, processing the job...
[2025-02-09 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:38:04] Production.INFO: ==23529== Lock acquired, processing the job...
[2025-02-09 05:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:38:04] Production.INFO: count ==21
[2025-02-09 05:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:38:04] Production.INFO: count ==21
[2025-02-09 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434965') start
[2025-02-09 05:38:04] Production.INFO: ==23523== Releasing lock...
[2025-02-09 05:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434965') end
[2025-02-09 05:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:38:04] Production.INFO: 1
[2025-02-09 05:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:38:04] Production.ERROR: done
[2025-02-09 05:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:38:04] Production.INFO: ==23531== Releasing lock...
[2025-02-09 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:38:05] Production.ERROR: done
[2025-02-09 05:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:38:05
[end_date_ymd] => 2025-02-09 05:38:05
[RateCDR] => 1
)
[2025-02-09 05:38: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` >= '2025-02-09 02:38:05' and `end` < '2025-02-09 05:38: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 ,'')
[2025-02-09 05:38:11] Production.ERROR: CronJobId end10
[2025-02-09 05:38:11] Production.INFO: ==23525== Releasing lock...
[2025-02-09 05:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:38:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:38:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:38:14] Production.INFO: call_cost start
[2025-02-09 05:38:14] Production.INFO: call_cost end
[2025-02-09 05:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:38:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:38:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:38:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:38:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:38:15] Production.INFO: ==23521== Releasing lock...
[2025-02-09 05:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:38:19] Production.INFO: count ==272
[2025-02-09 05:38:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:38:05 - End Time 2025-02-09 05:38:05
[2025-02-09 05:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434966', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434966', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434966', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434966', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:38:19] Production.INFO: ProcessCDR(1,14434966,1,1,2)
[2025-02-09 05:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434966', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434966', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:38:22] Production.INFO: ==23529== Releasing lock...
[2025-02-09 05:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:38:22] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:39:01] Production.INFO: ==23592== Lock acquired, processing the job...
[2025-02-09 10:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:39:01] Production.INFO: neon service started
[2025-02-09 10:39:01] Production.INFO: neon service started
[2025-02-09 10:39:01] Production.INFO: ==23592== Releasing lock...
[2025-02-09 10:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:39:02] Production.INFO: ==23594== Lock acquired, processing the job...
[2025-02-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:39:02] Production.INFO: ==23594== Releasing lock...
[2025-02-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:39:02] Production.INFO: ==23596== Lock acquired, processing the job...
[2025-02-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:39:02] Production.INFO: ==23596== Releasing lock...
[2025-02-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:39:03] Production.INFO: ==23600== Lock acquired, processing the job...
[2025-02-09 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:39:03] Production.INFO: ==23609== Lock acquired, processing the job...
[2025-02-09 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:39:03] Production.INFO: ==23604== Lock acquired, processing the job...
[2025-02-09 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:39:03] Production.INFO: ==23598== Lock acquired, processing the job...
[2025-02-09 05:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:39:03] Production.INFO: ==23602== Lock acquired, processing the job...
[2025-02-09 05:39:03] Production.INFO: Account Balance Start.
[2025-02-09 05:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:39:03] Production.INFO: 117
[2025-02-09 05:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:39:03] Production.INFO: count ==21
[2025-02-09 05:39:03] Production.INFO: ==23600== Releasing lock...
[2025-02-09 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:39:03] Production.INFO: count ==21
[2025-02-09 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434968') start
[2025-02-09 05:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:39:03] Production.INFO: ==23607== Lock acquired, processing the job...
[2025-02-09 05:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:39:03] Production.INFO: Total Charge 0
[2025-02-09 05:39:03] Production.INFO: CreateAllLog End
[2025-02-09 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434968') end
[2025-02-09 05:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:39:03] Production.INFO: 1
[2025-02-09 05:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:39:03] Production.INFO: ==23609== Releasing lock...
[2025-02-09 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:39:03] Production.ERROR: done
[2025-02-09 05:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:39:04] Production.INFO: Account Balance End.
[2025-02-09 05:39:04] Production.ERROR: done
[2025-02-09 05:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:39:04] Production.INFO: ==23604== Releasing lock...
[2025-02-09 05:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:39:05
[end_date_ymd] => 2025-02-09 05:39:05
[RateCDR] => 1
)
[2025-02-09 05:39: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` >= '2025-02-09 02:39:05' and `end` < '2025-02-09 05:39: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 ,'')
[2025-02-09 05:39:11] Production.ERROR: CronJobId end10
[2025-02-09 05:39:11] Production.INFO: ==23602== Releasing lock...
[2025-02-09 05:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:39:14] Production.INFO: call_cost start
[2025-02-09 05:39:14] Production.INFO: call_cost end
[2025-02-09 05:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:39:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:39:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:39:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:39:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:39:14] Production.INFO: ==23598== Releasing lock...
[2025-02-09 05:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:39:19] Production.INFO: count ==272
[2025-02-09 05:39:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:39:05 - End Time 2025-02-09 05:39:05
[2025-02-09 05:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434971', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434971', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434971', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434971', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:39:19] Production.INFO: ProcessCDR(1,14434971,1,1,2)
[2025-02-09 05:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434971', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434971', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:39:22] Production.INFO: ==23607== Releasing lock...
[2025-02-09 05:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:39:22] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:40:02] Production.INFO: ==23671== Lock acquired, processing the job...
[2025-02-09 10:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:40:02] Production.INFO: neon service started
[2025-02-09 10:40:02] Production.INFO: neon service started
[2025-02-09 10:40:02] Production.INFO: ==23671== Releasing lock...
[2025-02-09 10:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:40:02] Production.INFO: ==23673== Lock acquired, processing the job...
[2025-02-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:40:02] Production.INFO: ==23673== Releasing lock...
[2025-02-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:40:03] Production.INFO: ==23675== Lock acquired, processing the job...
[2025-02-09 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:40:03] Production.INFO: ==23675== Releasing lock...
[2025-02-09 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:40:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:40:04] Production.INFO: ==23677== Lock acquired, processing the job...
[2025-02-09 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 05:40:04] Production.INFO: ==23679== Lock acquired, processing the job...
[2025-02-09 05:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 05:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 05:40:04] Production.ERROR: CronJob PID - 23679
[2025-02-09 05:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 05:40:04] Production.ERROR: CronJob ID - 5
[2025-02-09 05:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 05:40:00
[2025-02-09 05:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 05:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 05:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 05:40:04] Production.INFO: ==23677== Releasing lock...
[2025-02-09 05:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 05:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 05:40:04] Production.INFO: ==23681== Lock acquired, processing the job...
[2025-02-09 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:40:04] Production.INFO: ==23689== Lock acquired, processing the job...
[2025-02-09 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 05:40:04] Production.INFO: ==23691== Lock acquired, processing the job...
[2025-02-09 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:40:04] Production.INFO: ==23683== Lock acquired, processing the job...
[2025-02-09 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:40:04] Production.INFO: ==23685== Lock acquired, processing the job...
[2025-02-09 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:40:04] Production.INFO: ==23687== Lock acquired, processing the job...
[2025-02-09 05:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:40:04] Production.INFO: Account Balance Start.
[2025-02-09 05:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:40:04] Production.INFO: 117
[2025-02-09 05:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:40:04] Production.INFO: count ==21
[2025-02-09 05:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:40:04] Production.INFO: count ==21
[2025-02-09 05:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434974') start
[2025-02-09 05:40:04] Production.INFO: Total Charge 0
[2025-02-09 05:40:04] Production.INFO: CreateAllLog End
[2025-02-09 05:40:04] Production.ERROR: done
[2025-02-09 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434974') end
[2025-02-09 05:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:40:04] Production.INFO: 1
[2025-02-09 05:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 05:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434976', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 05:40:04] Production.INFO: ==23681== Releasing lock...
[2025-02-09 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:40:04] Production.INFO: ==23691== Releasing lock...
[2025-02-09 05:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:40:04] Production.ERROR: done
[2025-02-09 05:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:40:04] Production.INFO: Account Balance End.
[2025-02-09 05:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 05:40:05] Production.INFO: ==23685== Releasing lock...
[2025-02-09 05:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:40:05] Production.ERROR: done
[2025-02-09 05:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:40:06
[end_date_ymd] => 2025-02-09 05:40:06
[RateCDR] => 1
)
[2025-02-09 05:40: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-02-09 02:40:06' and `end` < '2025-02-09 05:40: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-02-09 05:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14434976', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 05:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 05:40:08] Production.INFO: ProcessCDR(1,14434976,1,1,2)
[2025-02-09 05:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14434976,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14434976,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:40:08] Production.INFO: ==23689== Releasing lock...
[2025-02-09 05:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 05:40:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 05:40:13] Production.ERROR: CronJobId end10
[2025-02-09 05:40:13] Production.INFO: ==23683== Releasing lock...
[2025-02-09 05:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:40:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:40:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:40:16] Production.INFO: call_cost start
[2025-02-09 05:40:16] Production.INFO: call_cost end
[2025-02-09 05:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:40:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:40:17] Production.INFO: ==23679== Releasing lock...
[2025-02-09 05:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:40:20] Production.INFO: count ==272
[2025-02-09 05:40:20] Production.ERROR: pbx CDR StartTime 2025-02-09 02:40:06 - End Time 2025-02-09 05:40:06
[2025-02-09 05:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434977', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434977', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434977', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434977', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:40:20] Production.INFO: ProcessCDR(1,14434977,1,1,2)
[2025-02-09 05:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434977', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434977', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:40:24] Production.INFO: ==23687== Releasing lock...
[2025-02-09 05:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:40:24] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:41:01] Production.INFO: ==23752== Lock acquired, processing the job...
[2025-02-09 10:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:41:01] Production.INFO: neon service started
[2025-02-09 10:41:01] Production.INFO: neon service started
[2025-02-09 10:41:01] Production.INFO: ==23752== Releasing lock...
[2025-02-09 10:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:41:01] Production.INFO: ==23754== Lock acquired, processing the job...
[2025-02-09 05:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:41:02] Production.INFO: ==23754== Releasing lock...
[2025-02-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:41:02] Production.INFO: ==23756== Lock acquired, processing the job...
[2025-02-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:41:02] Production.INFO: ==23756== Releasing lock...
[2025-02-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:41:02] Production.INFO: ==23758== Lock acquired, processing the job...
[2025-02-09 05:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:41:02] Production.INFO: ==23760== Lock acquired, processing the job...
[2025-02-09 05:41:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:41:03] Production.INFO: ==23762== Lock acquired, processing the job...
[2025-02-09 05:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:41:03] Production.INFO: ==23760== Releasing lock...
[2025-02-09 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:41:03] Production.INFO: ==23764== Lock acquired, processing the job...
[2025-02-09 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:41:03] Production.INFO: ==23766== Lock acquired, processing the job...
[2025-02-09 05:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:41:03] Production.INFO: Account Balance Start.
[2025-02-09 05:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:41:03] Production.INFO: 117
[2025-02-09 05:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:41:03] Production.INFO: ==23768== Lock acquired, processing the job...
[2025-02-09 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:41:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:41:03] Production.INFO: Total Charge 0
[2025-02-09 05:41:03] Production.INFO: CreateAllLog End
[2025-02-09 05:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:41:03] Production.INFO: count ==21
[2025-02-09 05:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:41:03] Production.INFO: count ==21
[2025-02-09 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434981') start
[2025-02-09 05:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434981') end
[2025-02-09 05:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:41:04] Production.INFO: 1
[2025-02-09 05:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:41:04] Production.INFO: ==23768== Releasing lock...
[2025-02-09 05:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:41:04] Production.ERROR: done
[2025-02-09 05:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:41:04] Production.INFO: Account Balance End.
[2025-02-09 05:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:41:04] Production.INFO: ==23764== Releasing lock...
[2025-02-09 05:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:41:04] Production.ERROR: done
[2025-02-09 05:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:41:05
[end_date_ymd] => 2025-02-09 05:41:05
[RateCDR] => 1
)
[2025-02-09 05:41: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` >= '2025-02-09 02:41:05' and `end` < '2025-02-09 05:41: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 ,'')
[2025-02-09 05:41:11] Production.ERROR: CronJobId end10
[2025-02-09 05:41:11] Production.INFO: ==23762== Releasing lock...
[2025-02-09 05:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:41:14] Production.INFO: call_cost start
[2025-02-09 05:41:14] Production.INFO: call_cost end
[2025-02-09 05:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:41:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:41:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:41:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:41:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:41:14] Production.INFO: ==23758== Releasing lock...
[2025-02-09 05:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:41:19] Production.INFO: count ==254
[2025-02-09 05:41:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:41:05 - End Time 2025-02-09 05:41:05
[2025-02-09 05:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434982', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434982', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434982', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434982', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:41:19] Production.INFO: ProcessCDR(1,14434982,1,1,2)
[2025-02-09 05:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434982', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434982', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:41:22] Production.INFO: ==23766== Releasing lock...
[2025-02-09 05:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:41:22] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:42:02] Production.INFO: ==23829== Lock acquired, processing the job...
[2025-02-09 10:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:42:02] Production.INFO: neon service started
[2025-02-09 10:42:02] Production.INFO: neon service started
[2025-02-09 10:42:02] Production.INFO: ==23829== Releasing lock...
[2025-02-09 10:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:42:02] Production.INFO: ==23833== Lock acquired, processing the job...
[2025-02-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:42:02] Production.INFO: ==23833== Releasing lock...
[2025-02-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:42:02] Production.INFO: ==23831== Lock acquired, processing the job...
[2025-02-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:42:02] Production.INFO: ==23831== Releasing lock...
[2025-02-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:42:03] Production.INFO: ==23840== Lock acquired, processing the job...
[2025-02-09 05:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:42:03] Production.INFO: ==23844== Lock acquired, processing the job...
[2025-02-09 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:42:04] Production.INFO: ==23836== Lock acquired, processing the job...
[2025-02-09 05:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:42:04] Production.INFO: ==23838== Lock acquired, processing the job...
[2025-02-09 05:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:42:04] Production.INFO: ==23842== Lock acquired, processing the job...
[2025-02-09 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:42:04] Production.INFO: ==23846== Lock acquired, processing the job...
[2025-02-09 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:42:04] Production.ERROR: done
[2025-02-09 05:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:42:04] Production.INFO: Account Balance Start.
[2025-02-09 05:42:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:42:04] Production.INFO: 117
[2025-02-09 05:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:42:04] Production.INFO: count ==21
[2025-02-09 05:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:42:04] Production.INFO: count ==21
[2025-02-09 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434984') start
[2025-02-09 05:42:04] Production.ERROR: done
[2025-02-09 05:42:04] Production.INFO: Total Charge 0
[2025-02-09 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434984') end
[2025-02-09 05:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:42:04] Production.INFO: 1
[2025-02-09 05:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:42:04] Production.INFO: CreateAllLog End
[2025-02-09 05:42:04] Production.INFO: ==23846== Releasing lock...
[2025-02-09 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:42:04] Production.INFO: ==23838== Releasing lock...
[2025-02-09 05:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:42:04] Production.INFO: Account Balance End.
[2025-02-09 05:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:42:04] Production.INFO: ==23842== Releasing lock...
[2025-02-09 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:42:05
[end_date_ymd] => 2025-02-09 05:42:05
[RateCDR] => 1
)
[2025-02-09 05:42: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` >= '2025-02-09 02:42:05' and `end` < '2025-02-09 05:42: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 ,'')
[2025-02-09 05:42:11] Production.ERROR: CronJobId end10
[2025-02-09 05:42:11] Production.INFO: ==23840== Releasing lock...
[2025-02-09 05:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:42:15] Production.INFO: call_cost start
[2025-02-09 05:42:15] Production.INFO: call_cost end
[2025-02-09 05:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:42:15] Production.INFO: ==23836== Releasing lock...
[2025-02-09 05:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:42:19] Production.INFO: count ==253
[2025-02-09 05:42:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:42:05 - End Time 2025-02-09 05:42:05
[2025-02-09 05:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434987', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434987', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434987', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434987', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:42:19] Production.INFO: ProcessCDR(1,14434987,1,1,2)
[2025-02-09 05:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434987', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434987', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:42:22] Production.INFO: ==23844== Releasing lock...
[2025-02-09 05:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:42:22] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:43:01] Production.INFO: ==23902== Lock acquired, processing the job...
[2025-02-09 10:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:43:01] Production.INFO: neon service started
[2025-02-09 10:43:01] Production.INFO: neon service started
[2025-02-09 10:43:01] Production.INFO: ==23902== Releasing lock...
[2025-02-09 10:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:43:02] Production.INFO: ==23906== Lock acquired, processing the job...
[2025-02-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 05:43:02] Production.INFO: ==23904== Lock acquired, processing the job...
[2025-02-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:43:02] Production.INFO: ==23906== Releasing lock...
[2025-02-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:43:02] Production.INFO: ==23904== Releasing lock...
[2025-02-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:43:03] Production.INFO: ==23915== Lock acquired, processing the job...
[2025-02-09 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:43:03] Production.INFO: ==23919== Lock acquired, processing the job...
[2025-02-09 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:43:03] Production.INFO: Account Balance Start.
[2025-02-09 05:43:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:43:03] Production.INFO: 117
[2025-02-09 05:43:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:43:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:43:03] Production.INFO: Total Charge 0
[2025-02-09 05:43:03] Production.INFO: CreateAllLog End
[2025-02-09 05:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:43:03] Production.INFO: ==23909== Lock acquired, processing the job...
[2025-02-09 05:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:43:03] Production.INFO: ==23911== Lock acquired, processing the job...
[2025-02-09 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:43:03] Production.INFO: count ==21
[2025-02-09 05:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:43:03] Production.INFO: count ==21
[2025-02-09 05:43:03] Production.INFO: ==23913== Lock acquired, processing the job...
[2025-02-09 05:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:43:03] Production.INFO: ==23917== Lock acquired, processing the job...
[2025-02-09 05:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:43:03] Production.INFO: Account Balance End.
[2025-02-09 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434989') start
[2025-02-09 05:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:43:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:43:03] Production.INFO: ==23915== Releasing lock...
[2025-02-09 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434989') end
[2025-02-09 05:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:43:03] Production.INFO: 1
[2025-02-09 05:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:43:03] Production.INFO: ==23919== Releasing lock...
[2025-02-09 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:43:03] Production.ERROR: done
[2025-02-09 05:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:43:04] Production.INFO: ==23911== Releasing lock...
[2025-02-09 05:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:43:04] Production.ERROR: done
[2025-02-09 05:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:43:05
[end_date_ymd] => 2025-02-09 05:43:05
[RateCDR] => 1
)
[2025-02-09 05:43: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` >= '2025-02-09 02:43:05' and `end` < '2025-02-09 05:43: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 ,'')
[2025-02-09 05:43:11] Production.ERROR: CronJobId end10
[2025-02-09 05:43:11] Production.INFO: ==23913== Releasing lock...
[2025-02-09 05:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:43:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:43:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:43:14] Production.INFO: call_cost start
[2025-02-09 05:43:14] Production.INFO: call_cost end
[2025-02-09 05:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:43:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:43:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:43:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:43:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:43:14] Production.INFO: ==23909== Releasing lock...
[2025-02-09 05:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:43:18] Production.INFO: count ==251
[2025-02-09 05:43:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:43:05 - End Time 2025-02-09 05:43:05
[2025-02-09 05:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434992', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434992', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434992', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434992', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:43:18] Production.INFO: ProcessCDR(1,14434992,1,1,2)
[2025-02-09 05:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434992', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434992', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:43:21] Production.INFO: ==23917== Releasing lock...
[2025-02-09 05:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:43:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:44:01] Production.INFO: ==23976== Lock acquired, processing the job...
[2025-02-09 10:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:44:01] Production.INFO: neon service started
[2025-02-09 10:44:01] Production.INFO: neon service started
[2025-02-09 10:44:01] Production.INFO: ==23976== Releasing lock...
[2025-02-09 10:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:44:02] Production.INFO: ==23978== Lock acquired, processing the job...
[2025-02-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:44:02] Production.INFO: ==23978== Releasing lock...
[2025-02-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:44:02] Production.INFO: ==23980== Lock acquired, processing the job...
[2025-02-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:44:02] Production.INFO: ==23980== Releasing lock...
[2025-02-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:44:03] Production.INFO: ==23982== Lock acquired, processing the job...
[2025-02-09 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:44:03] Production.INFO: ==23986== Lock acquired, processing the job...
[2025-02-09 05:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:44:03] Production.INFO: ==23990== Lock acquired, processing the job...
[2025-02-09 05:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:44:03] Production.INFO: ==23988== Lock acquired, processing the job...
[2025-02-09 05:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:44:03] Production.INFO: ==23984== Lock acquired, processing the job...
[2025-02-09 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:44:03] Production.INFO: ==23992== Lock acquired, processing the job...
[2025-02-09 05:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:44:03] Production.ERROR: done
[2025-02-09 05:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:44:04] Production.INFO: Account Balance Start.
[2025-02-09 05:44:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:44:04] Production.INFO: 117
[2025-02-09 05:44:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:44:04] Production.ERROR: done
[2025-02-09 05:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:44:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:44:04] Production.INFO: count ==21
[2025-02-09 05:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:44:04] Production.INFO: count ==21
[2025-02-09 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434995') start
[2025-02-09 05:44:04] Production.INFO: Total Charge 0
[2025-02-09 05:44:04] Production.INFO: CreateAllLog End
[2025-02-09 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14434995') end
[2025-02-09 05:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:44:04] Production.INFO: 1
[2025-02-09 05:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:44:04] Production.INFO: ==23984== Releasing lock...
[2025-02-09 05:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:44:04] Production.INFO: Account Balance End.
[2025-02-09 05:44:04] Production.INFO: ==23992== Releasing lock...
[2025-02-09 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:44:04] Production.INFO: ==23988== Releasing lock...
[2025-02-09 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:44:05
[end_date_ymd] => 2025-02-09 05:44:05
[RateCDR] => 1
)
[2025-02-09 05:44: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` >= '2025-02-09 02:44:05' and `end` < '2025-02-09 05:44: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 ,'')
[2025-02-09 05:44:11] Production.ERROR: CronJobId end10
[2025-02-09 05:44:11] Production.INFO: ==23986== Releasing lock...
[2025-02-09 05:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:44:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:44:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:44:13] Production.INFO: call_cost start
[2025-02-09 05:44:13] Production.INFO: call_cost end
[2025-02-09 05:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:44:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:44:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:44:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:44:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:44:14] Production.INFO: ==23982== Releasing lock...
[2025-02-09 05:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:44:18] Production.INFO: count ==251
[2025-02-09 05:44:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:44:05 - End Time 2025-02-09 05:44:05
[2025-02-09 05:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434997', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14434997', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434997', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14434997', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:44:18] Production.INFO: ProcessCDR(1,14434997,1,1,2)
[2025-02-09 05:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14434997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14434997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14434997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14434997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434997', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14434997', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:44:21] Production.INFO: ==23990== Releasing lock...
[2025-02-09 05:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:44:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:45:01] Production.INFO: ==24049== Lock acquired, processing the job...
[2025-02-09 10:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:45:01] Production.INFO: neon service started
[2025-02-09 10:45:01] Production.INFO: neon service started
[2025-02-09 10:45:01] Production.INFO: ==24049== Releasing lock...
[2025-02-09 10:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:45:02] Production.INFO: ==24051== Lock acquired, processing the job...
[2025-02-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:45:02] Production.INFO: ==24053== Lock acquired, processing the job...
[2025-02-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:45:02] Production.INFO: ==24053== Releasing lock...
[2025-02-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:45:02] Production.INFO: ==24051== Releasing lock...
[2025-02-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:45:03] Production.INFO: ==24062== Lock acquired, processing the job...
[2025-02-09 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:45:03] Production.INFO: ==24066== Lock acquired, processing the job...
[2025-02-09 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:45:03] Production.INFO: ==24056== Lock acquired, processing the job...
[2025-02-09 05:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:45:03] Production.INFO: Account Balance Start.
[2025-02-09 05:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:45:03] Production.INFO: 117
[2025-02-09 05:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:45:03] Production.INFO: count ==21
[2025-02-09 05:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:45:03] Production.INFO: ==24060== Lock acquired, processing the job...
[2025-02-09 05:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:45:03] Production.INFO: ==24058== Lock acquired, processing the job...
[2025-02-09 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:45:03] Production.INFO: count ==21
[2025-02-09 05:45:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434999') start
[2025-02-09 05:45:03] Production.INFO: ==24064== Lock acquired, processing the job...
[2025-02-09 05:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:45:03] Production.INFO: Total Charge 0
[2025-02-09 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14434999') end
[2025-02-09 05:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:45:03] Production.INFO: 1
[2025-02-09 05:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:45:03] Production.INFO: CreateAllLog End
[2025-02-09 05:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:45:03] Production.INFO: ==24066== Releasing lock...
[2025-02-09 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:45:03] Production.INFO: Account Balance End.
[2025-02-09 05:45:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:45:03] Production.INFO: ==24062== Releasing lock...
[2025-02-09 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:45:03] Production.ERROR: done
[2025-02-09 05:45:03] Production.INFO: ==24058== Releasing lock...
[2025-02-09 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:45:04] Production.ERROR: done
[2025-02-09 05:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:45:05
[end_date_ymd] => 2025-02-09 05:45:05
[RateCDR] => 1
)
[2025-02-09 05:45: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` >= '2025-02-09 02:45:05' and `end` < '2025-02-09 05:45: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 ,'')
[2025-02-09 05:45:11] Production.ERROR: CronJobId end10
[2025-02-09 05:45:11] Production.INFO: ==24060== Releasing lock...
[2025-02-09 05:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:45:13] Production.INFO: call_cost start
[2025-02-09 05:45:13] Production.INFO: call_cost end
[2025-02-09 05:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:45:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:45:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:45:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:45:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:45:14] Production.INFO: ==24056== Releasing lock...
[2025-02-09 05:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:45:18] Production.INFO: count ==251
[2025-02-09 05:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:45:05 - End Time 2025-02-09 05:45:05
[2025-02-09 05:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435002', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435002', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435002', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435002', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:45:18] Production.INFO: ProcessCDR(1,14435002,1,1,2)
[2025-02-09 05:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435002', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435002', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:45:21] Production.INFO: ==24064== Releasing lock...
[2025-02-09 05:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:45:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:46:01] Production.INFO: ==24162== Lock acquired, processing the job...
[2025-02-09 10:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:46:01] Production.INFO: neon service started
[2025-02-09 10:46:01] Production.INFO: neon service started
[2025-02-09 10:46:01] Production.INFO: ==24162== Releasing lock...
[2025-02-09 10:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:46:02] Production.INFO: ==24164== Lock acquired, processing the job...
[2025-02-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:46:02] Production.INFO: ==24164== Releasing lock...
[2025-02-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:46:02] Production.INFO: ==24166== Lock acquired, processing the job...
[2025-02-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:46:02] Production.INFO: ==24166== Releasing lock...
[2025-02-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:46:03] Production.INFO: ==24170== Lock acquired, processing the job...
[2025-02-09 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:46:03] Production.INFO: ==24172== Lock acquired, processing the job...
[2025-02-09 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:46:03] Production.INFO: ==24174== Lock acquired, processing the job...
[2025-02-09 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:46:03] Production.INFO: ==24168== Lock acquired, processing the job...
[2025-02-09 05:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:46:03] Production.INFO: Account Balance Start.
[2025-02-09 05:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:46:03] Production.INFO: 117
[2025-02-09 05:46:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:46:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:46:03] Production.INFO: Total Charge 0
[2025-02-09 05:46:03] Production.INFO: CreateAllLog End
[2025-02-09 05:46:03] Production.INFO: ==24176== Lock acquired, processing the job...
[2025-02-09 05:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:46:03] Production.INFO: ==24170== Releasing lock...
[2025-02-09 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:46:03] Production.INFO: ==24178== Lock acquired, processing the job...
[2025-02-09 05:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:46:03] Production.INFO: Account Balance End.
[2025-02-09 05:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:46:04] Production.INFO: ==24174== Releasing lock...
[2025-02-09 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:46:04] Production.INFO: count ==21
[2025-02-09 05:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:46:04] Production.INFO: count ==21
[2025-02-09 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435006') start
[2025-02-09 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435006') end
[2025-02-09 05:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:46:04] Production.INFO: 1
[2025-02-09 05:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:46:04] Production.ERROR: done
[2025-02-09 05:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:46:04] Production.INFO: ==24178== Releasing lock...
[2025-02-09 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:46:04] Production.ERROR: done
[2025-02-09 05:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:46:05
[end_date_ymd] => 2025-02-09 05:46:05
[RateCDR] => 1
)
[2025-02-09 05:46: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` >= '2025-02-09 02:46:05' and `end` < '2025-02-09 05:46: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 ,'')
[2025-02-09 05:46:11] Production.ERROR: CronJobId end10
[2025-02-09 05:46:11] Production.INFO: ==24172== Releasing lock...
[2025-02-09 05:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:46:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:46:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:46:14] Production.INFO: call_cost start
[2025-02-09 05:46:14] Production.INFO: call_cost end
[2025-02-09 05:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:46:15] Production.INFO: ==24168== Releasing lock...
[2025-02-09 05:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:46:18] Production.INFO: count ==250
[2025-02-09 05:46:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:46:05 - End Time 2025-02-09 05:46:05
[2025-02-09 05:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435007', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435007', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435007', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435007', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:46:18] Production.INFO: ProcessCDR(1,14435007,1,1,2)
[2025-02-09 05:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435007', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435007', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:46:21] Production.INFO: ==24176== Releasing lock...
[2025-02-09 05:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:46:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 10:47:02] Production.INFO: ==24236== Lock acquired, processing the job...
[2025-02-09 10:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:47:02] Production.INFO: neon service started
[2025-02-09 10:47:02] Production.INFO: neon service started
[2025-02-09 10:47:02] Production.INFO: ==24236== Releasing lock...
[2025-02-09 10:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:47:02] Production.INFO: ==24238== Lock acquired, processing the job...
[2025-02-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:47:02] Production.INFO: ==24238== Releasing lock...
[2025-02-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:47:02] Production.INFO: ==24240== Lock acquired, processing the job...
[2025-02-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:47:03] Production.INFO: ==24240== Releasing lock...
[2025-02-09 10:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:47:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:47:03] Production.INFO: ==24249== Lock acquired, processing the job...
[2025-02-09 05:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:47:03] Production.INFO: ==24251== Lock acquired, processing the job...
[2025-02-09 05:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:47:03] Production.INFO: ==24243== Lock acquired, processing the job...
[2025-02-09 05:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:47:03] Production.INFO: Account Balance Start.
[2025-02-09 05:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:47:03] Production.INFO: 117
[2025-02-09 05:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:47:03] Production.INFO: ==24245== Lock acquired, processing the job...
[2025-02-09 05:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:47:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:47:04] Production.INFO: ==24247== Lock acquired, processing the job...
[2025-02-09 05:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:47:04] Production.INFO: ==24253== Lock acquired, processing the job...
[2025-02-09 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:47:04] Production.INFO: Total Charge 0
[2025-02-09 05:47:04] Production.INFO: CreateAllLog End
[2025-02-09 05:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:47:04] Production.INFO: count ==21
[2025-02-09 05:47:04] Production.ERROR: done
[2025-02-09 05:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:47:04] Production.INFO: count ==21
[2025-02-09 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435010') start
[2025-02-09 05:47:04] Production.ERROR: done
[2025-02-09 05:47:04] Production.INFO: Account Balance End.
[2025-02-09 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435010') end
[2025-02-09 05:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:47:04] Production.INFO: 1
[2025-02-09 05:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:47:04] Production.INFO: ==24249== Releasing lock...
[2025-02-09 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:47:04] Production.INFO: ==24253== Releasing lock...
[2025-02-09 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:47:04] Production.INFO: ==24245== Releasing lock...
[2025-02-09 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:47:05
[end_date_ymd] => 2025-02-09 05:47:05
[RateCDR] => 1
)
[2025-02-09 05:47: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` >= '2025-02-09 02:47:05' and `end` < '2025-02-09 05:47: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 ,'')
[2025-02-09 05:47:12] Production.ERROR: CronJobId end10
[2025-02-09 05:47:12] Production.INFO: ==24247== Releasing lock...
[2025-02-09 05:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:47:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:47:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:47:14] Production.INFO: call_cost start
[2025-02-09 05:47:14] Production.INFO: call_cost end
[2025-02-09 05:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:47:15] Production.INFO: ==24243== Releasing lock...
[2025-02-09 05:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:47:18] Production.INFO: count ==248
[2025-02-09 05:47:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:47:05 - End Time 2025-02-09 05:47:05
[2025-02-09 05:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435012', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435012', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435012', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435012', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:47:18] Production.INFO: ProcessCDR(1,14435012,1,1,2)
[2025-02-09 05:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435012', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435012', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:47:21] Production.INFO: ==24251== Releasing lock...
[2025-02-09 05:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:47:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:48:01] Production.INFO: ==24313== Lock acquired, processing the job...
[2025-02-09 10:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:48:01] Production.INFO: neon service started
[2025-02-09 10:48:01] Production.INFO: neon service started
[2025-02-09 10:48:01] Production.INFO: ==24313== Releasing lock...
[2025-02-09 10:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:48:01] Production.INFO: ==24317== Lock acquired, processing the job...
[2025-02-09 10:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:48:01] Production.INFO: ==24317== Releasing lock...
[2025-02-09 10:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:48:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:48:02] Production.INFO: ==24315== Lock acquired, processing the job...
[2025-02-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:48:02] Production.INFO: ==24315== Releasing lock...
[2025-02-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:48:03] Production.INFO: ==24325== Lock acquired, processing the job...
[2025-02-09 05:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:48:03] Production.INFO: ==24329== Lock acquired, processing the job...
[2025-02-09 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:48:03] Production.INFO: Account Balance Start.
[2025-02-09 05:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:48:03] Production.INFO: 117
[2025-02-09 05:48:03] Production.INFO: count ==21
[2025-02-09 05:48:03] Production.INFO: ==24319== Lock acquired, processing the job...
[2025-02-09 05:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:48:03] Production.INFO: count ==21
[2025-02-09 05:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435013') start
[2025-02-09 05:48:03] Production.INFO: ==24321== Lock acquired, processing the job...
[2025-02-09 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:48:03] Production.INFO: ==24323== Lock acquired, processing the job...
[2025-02-09 05:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:48:03] Production.INFO: Total Charge 0
[2025-02-09 05:48:03] Production.INFO: ==24327== Lock acquired, processing the job...
[2025-02-09 05:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435013') end
[2025-02-09 05:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:48:03] Production.INFO: 1
[2025-02-09 05:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:48:03] Production.INFO: CreateAllLog End
[2025-02-09 05:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:48:03] Production.INFO: ==24329== Releasing lock...
[2025-02-09 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:48:03] Production.INFO: ==24321== Releasing lock...
[2025-02-09 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:48:04] Production.INFO: Account Balance End.
[2025-02-09 05:48:04] Production.ERROR: done
[2025-02-09 05:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:48:04] Production.INFO: ==24325== Releasing lock...
[2025-02-09 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:48:04] Production.ERROR: done
[2025-02-09 05:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:48:05
[end_date_ymd] => 2025-02-09 05:48:05
[RateCDR] => 1
)
[2025-02-09 05:48: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` >= '2025-02-09 02:48:05' and `end` < '2025-02-09 05:48: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 ,'')
[2025-02-09 05:48:11] Production.ERROR: CronJobId end10
[2025-02-09 05:48:11] Production.INFO: ==24323== Releasing lock...
[2025-02-09 05:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:48:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:48:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:48:13] Production.INFO: call_cost start
[2025-02-09 05:48:13] Production.INFO: call_cost end
[2025-02-09 05:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:48:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:48:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:48:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:48:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:48:14] Production.INFO: ==24319== Releasing lock...
[2025-02-09 05:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:48:18] Production.INFO: count ==247
[2025-02-09 05:48:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:48:05 - End Time 2025-02-09 05:48:05
[2025-02-09 05:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435017', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435017', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435017', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435017', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:48:18] Production.INFO: ProcessCDR(1,14435017,1,1,2)
[2025-02-09 05:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435017', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435017', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:48:21] Production.INFO: ==24327== Releasing lock...
[2025-02-09 05:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:48:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:49:02] Production.INFO: ==24390== Lock acquired, processing the job...
[2025-02-09 10:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:49:02] Production.INFO: neon service started
[2025-02-09 10:49:02] Production.INFO: neon service started
[2025-02-09 10:49:02] Production.INFO: ==24390== Releasing lock...
[2025-02-09 10:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:49:02] Production.INFO: ==24392== Lock acquired, processing the job...
[2025-02-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:49:02] Production.INFO: ==24395== Lock acquired, processing the job...
[2025-02-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:49:02] Production.INFO: ==24395== Releasing lock...
[2025-02-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:49:03] Production.INFO: ==24392== Releasing lock...
[2025-02-09 05:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:49:03] Production.INFO: ==24401== Lock acquired, processing the job...
[2025-02-09 05:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:49:03] Production.INFO: ==24397== Lock acquired, processing the job...
[2025-02-09 05:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:49:04] Production.INFO: ==24399== Lock acquired, processing the job...
[2025-02-09 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:49:04] Production.INFO: ==24407== Lock acquired, processing the job...
[2025-02-09 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:49:04] Production.INFO: ==24403== Lock acquired, processing the job...
[2025-02-09 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:49:04] Production.INFO: ==24405== Lock acquired, processing the job...
[2025-02-09 05:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:49:04] Production.INFO: count ==21
[2025-02-09 05:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:49:04] Production.INFO: count ==21
[2025-02-09 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435020') start
[2025-02-09 05:49:04] Production.INFO: Account Balance Start.
[2025-02-09 05:49:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:49:04] Production.INFO: 117
[2025-02-09 05:49:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:49:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:49:04] Production.INFO: Total Charge 0
[2025-02-09 05:49:04] Production.INFO: CreateAllLog End
[2025-02-09 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435020') end
[2025-02-09 05:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:49:04] Production.INFO: 1
[2025-02-09 05:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:49:04] Production.INFO: ==24407== Releasing lock...
[2025-02-09 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:49:04] Production.INFO: ==24399== Releasing lock...
[2025-02-09 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:49:04] Production.ERROR: done
[2025-02-09 05:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:49:04] Production.ERROR: done
[2025-02-09 05:49:04] Production.INFO: Account Balance End.
[2025-02-09 05:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:49:04] Production.INFO: ==24403== Releasing lock...
[2025-02-09 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:49:05
[end_date_ymd] => 2025-02-09 05:49:05
[RateCDR] => 1
)
[2025-02-09 05:49: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` >= '2025-02-09 02:49:05' and `end` < '2025-02-09 05:49: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 ,'')
[2025-02-09 05:49:11] Production.ERROR: CronJobId end10
[2025-02-09 05:49:11] Production.INFO: ==24401== Releasing lock...
[2025-02-09 05:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:49:14] Production.INFO: call_cost start
[2025-02-09 05:49:14] Production.INFO: call_cost end
[2025-02-09 05:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:49:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:49:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:49:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:49:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:49:15] Production.INFO: ==24397== Releasing lock...
[2025-02-09 05:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:49:18] Production.INFO: count ==247
[2025-02-09 05:49:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:49:05 - End Time 2025-02-09 05:49:05
[2025-02-09 05:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435022', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435022', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435022', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435022', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:49:18] Production.INFO: ProcessCDR(1,14435022,1,1,2)
[2025-02-09 05:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435022', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435022', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:49:21] Production.INFO: ==24405== Releasing lock...
[2025-02-09 05:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:49:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:50:01] Production.INFO: ==24465== Lock acquired, processing the job...
[2025-02-09 10:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:50:01] Production.INFO: neon service started
[2025-02-09 10:50:01] Production.INFO: neon service started
[2025-02-09 10:50:01] Production.INFO: ==24465== Releasing lock...
[2025-02-09 10:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:50:01] Production.INFO: ==24470== Lock acquired, processing the job...
[2025-02-09 10:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:50:01] Production.INFO: ==24470== Releasing lock...
[2025-02-09 10:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:50:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:50:02] Production.INFO: ==24468== Lock acquired, processing the job...
[2025-02-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:50:02] Production.INFO: ==24468== Releasing lock...
[2025-02-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:50:03] Production.INFO: ==24474== Lock acquired, processing the job...
[2025-02-09 05:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:50:03] Production.INFO: ==24472== Lock acquired, processing the job...
[2025-02-09 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 05:50:03] Production.INFO: ==24478== Lock acquired, processing the job...
[2025-02-09 05:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 05:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 05:50:03] Production.ERROR: CronJob PID - 24474
[2025-02-09 05:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 05:50:03] Production.ERROR: CronJob ID - 5
[2025-02-09 05:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 05:50:00
[2025-02-09 05:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 05:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 05:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 05:50:03] Production.ERROR: CronJob PID - 24478
[2025-02-09 05:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 05:50:03] Production.ERROR: CronJob ID - 10
[2025-02-09 05:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 05:50:00
[2025-02-09 05:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 05:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 05:50:03] Production.INFO: ==24482== Lock acquired, processing the job...
[2025-02-09 05:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 05:50:03] Production.INFO: ==24472== Releasing lock...
[2025-02-09 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 05:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 05:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:50:03] Production.INFO: ==24476== Lock acquired, processing the job...
[2025-02-09 05:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:50:03] Production.INFO: ==24480== Lock acquired, processing the job...
[2025-02-09 05:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:50:03] Production.INFO: ==24484== Lock acquired, processing the job...
[2025-02-09 05:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 05:50:03] Production.INFO: ==24486== Lock acquired, processing the job...
[2025-02-09 05:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:50:04] Production.ERROR: done
[2025-02-09 05:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:50:04] Production.INFO: Account Balance Start.
[2025-02-09 05:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:50:04] Production.INFO: 117
[2025-02-09 05:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:50:04] Production.ERROR: done
[2025-02-09 05:50:04] Production.INFO: count ==21
[2025-02-09 05:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:50:04] Production.INFO: count ==21
[2025-02-09 05:50:04] Production.ERROR: done
[2025-02-09 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435026') start
[2025-02-09 05:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 05:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435028', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 05:50:04] Production.INFO: Total Charge 0
[2025-02-09 05:50:04] Production.INFO: CreateAllLog End
[2025-02-09 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435026') end
[2025-02-09 05:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:50:04] Production.INFO: 1
[2025-02-09 05:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:50:04] Production.INFO: ==24486== Releasing lock...
[2025-02-09 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:50:04] Production.INFO: ==24476== Releasing lock...
[2025-02-09 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:50:04] Production.INFO: Account Balance End.
[2025-02-09 05:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:50:04] Production.INFO: ==24480== Releasing lock...
[2025-02-09 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:50:05
[end_date_ymd] => 2025-02-09 05:50:05
[RateCDR] => 1
)
[2025-02-09 05:50: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` >= '2025-02-09 02:50:05' and `end` < '2025-02-09 05:50: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 ,'')
[2025-02-09 05:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435028', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 05:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 05:50:08] Production.INFO: ProcessCDR(1,14435028,1,1,2)
[2025-02-09 05:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435028,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435028,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:50:09] Production.INFO: ==24484== Releasing lock...
[2025-02-09 05:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 05:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 05:50:13] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 05:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:50:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:50:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:50:13] Production.ERROR: CronJobId end10
[2025-02-09 05:50:13] Production.INFO: ==24478== Releasing lock...
[2025-02-09 05:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:50:13] Production.INFO: call_cost start
[2025-02-09 05:50:13] Production.INFO: call_cost end
[2025-02-09 05:50:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:50:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:50:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:50:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:50:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:50:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:50:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:50:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:50:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:50:14] Production.INFO: ==24474== Releasing lock...
[2025-02-09 05:50:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:50:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:50:18] Production.INFO: count ==245
[2025-02-09 05:50:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:50:05 - End Time 2025-02-09 05:50:05
[2025-02-09 05:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435027', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435027', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435027', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435027', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:50:18] Production.INFO: ProcessCDR(1,14435027,1,1,2)
[2025-02-09 05:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435027', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435027', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:50:21] Production.INFO: ==24482== Releasing lock...
[2025-02-09 05:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:50:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:51:01] Production.INFO: ==24543== Lock acquired, processing the job...
[2025-02-09 10:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:51:01] Production.INFO: neon service started
[2025-02-09 10:51:01] Production.INFO: neon service started
[2025-02-09 10:51:01] Production.INFO: ==24543== Releasing lock...
[2025-02-09 10:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:51:02] Production.INFO: ==24547== Lock acquired, processing the job...
[2025-02-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:51:02] Production.INFO: ==24547== Releasing lock...
[2025-02-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:51:02] Production.INFO: ==24545== Lock acquired, processing the job...
[2025-02-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:51:02] Production.INFO: ==24545== Releasing lock...
[2025-02-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:51:03] Production.INFO: ==24549== Lock acquired, processing the job...
[2025-02-09 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:51:03] Production.INFO: ==24559== Lock acquired, processing the job...
[2025-02-09 05:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:51:03] Production.INFO: ==24555== Lock acquired, processing the job...
[2025-02-09 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:51:03] Production.INFO: ==24553== Lock acquired, processing the job...
[2025-02-09 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:51:03] Production.INFO: Account Balance Start.
[2025-02-09 05:51:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:51:03] Production.INFO: 117
[2025-02-09 05:51:03] Production.INFO: count ==21
[2025-02-09 05:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:51:03] Production.INFO: count ==21
[2025-02-09 05:51:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:51:03] Production.INFO: ==24557== Lock acquired, processing the job...
[2025-02-09 05:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:51:03] Production.INFO: ==24551== Lock acquired, processing the job...
[2025-02-09 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435030') start
[2025-02-09 05:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:51:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:51:03] Production.INFO: Total Charge 0
[2025-02-09 05:51:04] Production.INFO: CreateAllLog End
[2025-02-09 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435030') end
[2025-02-09 05:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:51:04] Production.INFO: 1
[2025-02-09 05:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:51:04] Production.INFO: ==24559== Releasing lock...
[2025-02-09 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:51:04] Production.INFO: Account Balance End.
[2025-02-09 05:51:04] Production.ERROR: done
[2025-02-09 05:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:51:04] Production.INFO: ==24555== Releasing lock...
[2025-02-09 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:51:04] Production.INFO: ==24551== Releasing lock...
[2025-02-09 05:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:51:04] Production.ERROR: done
[2025-02-09 05:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:51:05
[end_date_ymd] => 2025-02-09 05:51:05
[RateCDR] => 1
)
[2025-02-09 05:51: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` >= '2025-02-09 02:51:05' and `end` < '2025-02-09 05:51: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 ,'')
[2025-02-09 05:51:11] Production.ERROR: CronJobId end10
[2025-02-09 05:51:11] Production.INFO: ==24553== Releasing lock...
[2025-02-09 05:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:51:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:51:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:51:13] Production.INFO: call_cost start
[2025-02-09 05:51:13] Production.INFO: call_cost end
[2025-02-09 05:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:51:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:51:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:51:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:51:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:51:14] Production.INFO: ==24549== Releasing lock...
[2025-02-09 05:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:51:18] Production.INFO: count ==231
[2025-02-09 05:51:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:51:05 - End Time 2025-02-09 05:51:05
[2025-02-09 05:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435033', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435033', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435033', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435033', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:51:18] Production.INFO: ProcessCDR(1,14435033,1,1,2)
[2025-02-09 05:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435033', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435033', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:51:21] Production.INFO: ==24557== Releasing lock...
[2025-02-09 05:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:51:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:52:01] Production.INFO: ==24618== Lock acquired, processing the job...
[2025-02-09 10:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:52:01] Production.INFO: neon service started
[2025-02-09 10:52:01] Production.INFO: neon service started
[2025-02-09 10:52:01] Production.INFO: ==24618== Releasing lock...
[2025-02-09 10:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:52:01] Production.INFO: ==24620== Lock acquired, processing the job...
[2025-02-09 05:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:52:02] Production.INFO: ==24620== Releasing lock...
[2025-02-09 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:52:02] Production.INFO: ==24622== Lock acquired, processing the job...
[2025-02-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:52:02] Production.INFO: ==24622== Releasing lock...
[2025-02-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:52:03] Production.INFO: ==24633== Lock acquired, processing the job...
[2025-02-09 05:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:52:03] Production.INFO: ==24637== Lock acquired, processing the job...
[2025-02-09 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:52:03] Production.INFO: Account Balance Start.
[2025-02-09 05:52:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:52:03] Production.INFO: 117
[2025-02-09 05:52:03] Production.INFO: ==24627== Lock acquired, processing the job...
[2025-02-09 05:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:52:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:52:03] Production.INFO: count ==21
[2025-02-09 05:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:52:03] Production.INFO: count ==21
[2025-02-09 05:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435035') start
[2025-02-09 05:52:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:52:03] Production.INFO: ==24629== Lock acquired, processing the job...
[2025-02-09 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:52:03] Production.INFO: Total Charge 0
[2025-02-09 05:52:03] Production.INFO: ==24631== Lock acquired, processing the job...
[2025-02-09 05:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:52:03] Production.INFO: CreateAllLog End
[2025-02-09 05:52:03] Production.INFO: ==24635== Lock acquired, processing the job...
[2025-02-09 05:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435035') end
[2025-02-09 05:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:52:03] Production.INFO: 1
[2025-02-09 05:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:52:03] Production.INFO: ==24637== Releasing lock...
[2025-02-09 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:52:03] Production.INFO: Account Balance End.
[2025-02-09 05:52:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:52:03] Production.INFO: ==24633== Releasing lock...
[2025-02-09 05:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:52:03] Production.ERROR: done
[2025-02-09 05:52:03] Production.INFO: ==24629== Releasing lock...
[2025-02-09 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:52:03] Production.ERROR: done
[2025-02-09 05:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:52:04
[end_date_ymd] => 2025-02-09 05:52:04
[RateCDR] => 1
)
[2025-02-09 05:52:04] 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-02-09 02:52:04' and `end` < '2025-02-09 05:52:04'
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-02-09 05:52:12] Production.ERROR: CronJobId end10
[2025-02-09 05:52:12] Production.INFO: ==24631== Releasing lock...
[2025-02-09 05:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:52:15] Production.INFO: call_cost start
[2025-02-09 05:52:15] Production.INFO: call_cost end
[2025-02-09 05:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:52:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:52:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:52:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:52:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:52:16] Production.INFO: ==24627== Releasing lock...
[2025-02-09 05:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:52:17] Production.INFO: count ==231
[2025-02-09 05:52:17] Production.ERROR: pbx CDR StartTime 2025-02-09 02:52:04 - End Time 2025-02-09 05:52:04
[2025-02-09 05:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435038', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435038', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435038', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435038', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:52:17] Production.INFO: ProcessCDR(1,14435038,1,1,2)
[2025-02-09 05:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435038', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435038', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:52:20] Production.INFO: ==24635== Releasing lock...
[2025-02-09 05:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:52:20] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:53:01] Production.INFO: ==24709== Lock acquired, processing the job...
[2025-02-09 10:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:53:01] Production.INFO: neon service started
[2025-02-09 10:53:01] Production.INFO: neon service started
[2025-02-09 10:53:01] Production.INFO: ==24709== Releasing lock...
[2025-02-09 10:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:53:02] Production.INFO: ==24711== Lock acquired, processing the job...
[2025-02-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:53:02] Production.INFO: ==24711== Releasing lock...
[2025-02-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:53:02] Production.INFO: ==24714== Lock acquired, processing the job...
[2025-02-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:53:02] Production.INFO: ==24714== Releasing lock...
[2025-02-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:53:03] Production.INFO: ==24725== Lock acquired, processing the job...
[2025-02-09 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:53:03] Production.INFO: ==24721== Lock acquired, processing the job...
[2025-02-09 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:53:03] Production.INFO: ==24716== Lock acquired, processing the job...
[2025-02-09 05:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:53:03] Production.INFO: ==24718== Lock acquired, processing the job...
[2025-02-09 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:53:03] Production.INFO: ==24723== Lock acquired, processing the job...
[2025-02-09 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:53:03] Production.INFO: ==24727== Lock acquired, processing the job...
[2025-02-09 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:53:03] Production.INFO: Account Balance Start.
[2025-02-09 05:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:53:03] Production.INFO: 117
[2025-02-09 05:53:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:53:03] Production.INFO: count ==21
[2025-02-09 05:53:03] Production.ERROR: done
[2025-02-09 05:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:53:03] Production.INFO: count ==21
[2025-02-09 05:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:53:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435040') start
[2025-02-09 05:53:03] Production.INFO: Total Charge 0
[2025-02-09 05:53:03] Production.INFO: CreateAllLog End
[2025-02-09 05:53:04] Production.ERROR: done
[2025-02-09 05:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435040') end
[2025-02-09 05:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:53:04] Production.INFO: 1
[2025-02-09 05:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:53:04] Production.INFO: ==24727== Releasing lock...
[2025-02-09 05:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:53:04] Production.INFO: ==24718== Releasing lock...
[2025-02-09 05:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:53:04] Production.INFO: Account Balance End.
[2025-02-09 05:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:53:04] Production.INFO: ==24723== Releasing lock...
[2025-02-09 05:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:53:05
[end_date_ymd] => 2025-02-09 05:53:05
[RateCDR] => 1
)
[2025-02-09 05:53: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` >= '2025-02-09 02:53:05' and `end` < '2025-02-09 05:53: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 ,'')
[2025-02-09 05:53:11] Production.ERROR: CronJobId end10
[2025-02-09 05:53:11] Production.INFO: ==24721== Releasing lock...
[2025-02-09 05:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:53:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:53:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:53:14] Production.INFO: call_cost start
[2025-02-09 05:53:14] Production.INFO: call_cost end
[2025-02-09 05:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:53:15] Production.INFO: ==24716== Releasing lock...
[2025-02-09 05:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:53:18] Production.INFO: count ==231
[2025-02-09 05:53:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:53:05 - End Time 2025-02-09 05:53:05
[2025-02-09 05:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435043', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435043', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435043', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435043', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:53:18] Production.INFO: ProcessCDR(1,14435043,1,1,2)
[2025-02-09 05:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435043', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435043', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:53:21] Production.INFO: ==24725== Releasing lock...
[2025-02-09 05:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:53:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:54:02] Production.INFO: ==24786== Lock acquired, processing the job...
[2025-02-09 10:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:54:02] Production.INFO: neon service started
[2025-02-09 10:54:02] Production.INFO: neon service started
[2025-02-09 10:54:02] Production.INFO: ==24786== Releasing lock...
[2025-02-09 10:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:54:02] Production.INFO: ==24788== Lock acquired, processing the job...
[2025-02-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:54:02] Production.INFO: ==24788== Releasing lock...
[2025-02-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:54:03] Production.INFO: ==24790== Lock acquired, processing the job...
[2025-02-09 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:54:03] Production.INFO: ==24790== Releasing lock...
[2025-02-09 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:54:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:54:03] Production.INFO: ==24793== Lock acquired, processing the job...
[2025-02-09 05:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:54:03] Production.INFO: ==24801== Lock acquired, processing the job...
[2025-02-09 05:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:54:03] Production.INFO: ==24799== Lock acquired, processing the job...
[2025-02-09 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:54:03] Production.INFO: ==24795== Lock acquired, processing the job...
[2025-02-09 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:54:03] Production.INFO: ==24797== Lock acquired, processing the job...
[2025-02-09 05:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:54:04] Production.INFO: ==24803== Lock acquired, processing the job...
[2025-02-09 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:54:04] Production.INFO: Account Balance Start.
[2025-02-09 05:54:04] Production.INFO: CreateAllLog Start
[2025-02-09 05:54:04] Production.INFO: 117
[2025-02-09 05:54:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:54:04] Production.INFO: count ==21
[2025-02-09 05:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:54:04] Production.INFO: count ==21
[2025-02-09 05:54:04] Production.ERROR: done
[2025-02-09 05:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435047') start
[2025-02-09 05:54:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:54:04] Production.INFO: Total Charge 0
[2025-02-09 05:54:04] Production.INFO: CreateAllLog End
[2025-02-09 05:54:04] Production.ERROR: done
[2025-02-09 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435047') end
[2025-02-09 05:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:54:04] Production.INFO: 1
[2025-02-09 05:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:54:04] Production.INFO: ==24795== Releasing lock...
[2025-02-09 05:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:54:04] Production.INFO: ==24803== Releasing lock...
[2025-02-09 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:54:04] Production.INFO: Account Balance End.
[2025-02-09 05:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:54:04] Production.INFO: ==24799== Releasing lock...
[2025-02-09 05:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:54:05
[end_date_ymd] => 2025-02-09 05:54:05
[RateCDR] => 1
)
[2025-02-09 05:54: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` >= '2025-02-09 02:54:05' and `end` < '2025-02-09 05:54: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 ,'')
[2025-02-09 05:54:12] Production.ERROR: CronJobId end10
[2025-02-09 05:54:12] Production.INFO: ==24797== Releasing lock...
[2025-02-09 05:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:54:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:54:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:54:13] Production.INFO: call_cost start
[2025-02-09 05:54:13] Production.INFO: call_cost end
[2025-02-09 05:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:54:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:54:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:54:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:54:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:54:14] Production.INFO: ==24793== Releasing lock...
[2025-02-09 05:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:54:18] Production.INFO: count ==231
[2025-02-09 05:54:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:54:05 - End Time 2025-02-09 05:54:05
[2025-02-09 05:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435048', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435048', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435048', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435048', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:54:18] Production.INFO: ProcessCDR(1,14435048,1,1,2)
[2025-02-09 05:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435048', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435048', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:54:21] Production.INFO: ==24801== Releasing lock...
[2025-02-09 05:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:54:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:55:01] Production.INFO: ==24859== Lock acquired, processing the job...
[2025-02-09 10:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:55:01] Production.INFO: neon service started
[2025-02-09 10:55:01] Production.INFO: neon service started
[2025-02-09 10:55:01] Production.INFO: ==24859== Releasing lock...
[2025-02-09 10:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:55:02] Production.INFO: ==24861== Lock acquired, processing the job...
[2025-02-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:55:02] Production.INFO: ==24863== Lock acquired, processing the job...
[2025-02-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:55:02] Production.INFO: ==24863== Releasing lock...
[2025-02-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:55:02] Production.INFO: ==24861== Releasing lock...
[2025-02-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:55:03] Production.INFO: ==24872== Lock acquired, processing the job...
[2025-02-09 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:55:03] Production.INFO: ==24866== Lock acquired, processing the job...
[2025-02-09 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:55:03] Production.INFO: ==24874== Lock acquired, processing the job...
[2025-02-09 05:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:55:03] Production.INFO: Account Balance Start.
[2025-02-09 05:55:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:55:03] Production.INFO: ==24868== Lock acquired, processing the job...
[2025-02-09 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:55:03] Production.INFO: 117
[2025-02-09 05:55:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:55:03] Production.INFO: ==24870== Lock acquired, processing the job...
[2025-02-09 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:55:03] Production.INFO: ==24876== Lock acquired, processing the job...
[2025-02-09 05:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:55:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:55:03] Production.INFO: Total Charge 0
[2025-02-09 05:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:55:03] Production.INFO: CreateAllLog End
[2025-02-09 05:55:04] Production.INFO: count ==21
[2025-02-09 05:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:55:04] Production.INFO: count ==21
[2025-02-09 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435051') start
[2025-02-09 05:55:04] Production.ERROR: done
[2025-02-09 05:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:55:04] Production.INFO: ==24868== Releasing lock...
[2025-02-09 05:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435051') end
[2025-02-09 05:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:55:04] Production.INFO: 1
[2025-02-09 05:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:55:04] Production.ERROR: done
[2025-02-09 05:55:04] Production.INFO: ==24876== Releasing lock...
[2025-02-09 05:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:55:04] Production.INFO: Account Balance End.
[2025-02-09 05:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:55:04] Production.INFO: ==24872== Releasing lock...
[2025-02-09 05:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:55:05
[end_date_ymd] => 2025-02-09 05:55:05
[RateCDR] => 1
)
[2025-02-09 05:55: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` >= '2025-02-09 02:55:05' and `end` < '2025-02-09 05:55: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 ,'')
[2025-02-09 05:55:12] Production.ERROR: CronJobId end10
[2025-02-09 05:55:12] Production.INFO: ==24870== Releasing lock...
[2025-02-09 05:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:55:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:55:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:55:14] Production.INFO: call_cost start
[2025-02-09 05:55:14] Production.INFO: call_cost end
[2025-02-09 05:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:55:15] Production.INFO: ==24866== Releasing lock...
[2025-02-09 05:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:55:18] Production.INFO: count ==230
[2025-02-09 05:55:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:55:05 - End Time 2025-02-09 05:55:05
[2025-02-09 05:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435053', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435053', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435053', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435053', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:55:18] Production.INFO: ProcessCDR(1,14435053,1,1,2)
[2025-02-09 05:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435053', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435053', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:55:21] Production.INFO: ==24874== Releasing lock...
[2025-02-09 05:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:55:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:56:02] Production.INFO: ==24930== Lock acquired, processing the job...
[2025-02-09 10:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:56:02] Production.INFO: neon service started
[2025-02-09 10:56:02] Production.INFO: neon service started
[2025-02-09 10:56:02] Production.INFO: ==24930== Releasing lock...
[2025-02-09 10:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:56:02] Production.INFO: ==24932== Lock acquired, processing the job...
[2025-02-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:56:02] Production.INFO: ==24932== Releasing lock...
[2025-02-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:56:02] Production.INFO: ==24934== Lock acquired, processing the job...
[2025-02-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:56:02] Production.INFO: ==24934== Releasing lock...
[2025-02-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:56:03] Production.INFO: ==24937== Lock acquired, processing the job...
[2025-02-09 05:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:56:03] Production.INFO: ==24939== Lock acquired, processing the job...
[2025-02-09 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:56:03] Production.INFO: ==24943== Lock acquired, processing the job...
[2025-02-09 05:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:56:03] Production.INFO: Account Balance Start.
[2025-02-09 05:56:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:56:03] Production.INFO: 117
[2025-02-09 05:56:03] Production.INFO: ==24939== Releasing lock...
[2025-02-09 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:56:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:56:03] Production.INFO: ==24941== Lock acquired, processing the job...
[2025-02-09 05:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:56:03] Production.INFO: ==24945== Lock acquired, processing the job...
[2025-02-09 05:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:56:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:56:03] Production.INFO: ==24947== Lock acquired, processing the job...
[2025-02-09 05:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:56:03] Production.INFO: Total Charge 0
[2025-02-09 05:56:04] Production.INFO: CreateAllLog End
[2025-02-09 05:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:56:04] Production.INFO: count ==21
[2025-02-09 05:56:04] Production.ERROR: done
[2025-02-09 05:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:56:04] Production.INFO: count ==21
[2025-02-09 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435057') start
[2025-02-09 05:56:04] Production.INFO: Account Balance End.
[2025-02-09 05:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:56:04] Production.INFO: ==24943== Releasing lock...
[2025-02-09 05:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435057') end
[2025-02-09 05:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:56:04] Production.INFO: 1
[2025-02-09 05:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:56:04] Production.ERROR: done
[2025-02-09 05:56:04] Production.INFO: ==24947== Releasing lock...
[2025-02-09 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:56:05
[end_date_ymd] => 2025-02-09 05:56:05
[RateCDR] => 1
)
[2025-02-09 05:56: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` >= '2025-02-09 02:56:05' and `end` < '2025-02-09 05:56: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 ,'')
[2025-02-09 05:56:12] Production.ERROR: CronJobId end10
[2025-02-09 05:56:12] Production.INFO: ==24941== Releasing lock...
[2025-02-09 05:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:56:14] Production.INFO: call_cost start
[2025-02-09 05:56:14] Production.INFO: call_cost end
[2025-02-09 05:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:56:15] Production.INFO: ==24937== Releasing lock...
[2025-02-09 05:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:56:19] Production.INFO: count ==230
[2025-02-09 05:56:19] Production.ERROR: pbx CDR StartTime 2025-02-09 02:56:05 - End Time 2025-02-09 05:56:05
[2025-02-09 05:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435058', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435058', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435058', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435058', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:56:19] Production.INFO: ProcessCDR(1,14435058,1,1,2)
[2025-02-09 05:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435058', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435058', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:56:21] Production.INFO: ==24945== Releasing lock...
[2025-02-09 05:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:56:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:57:01] Production.INFO: ==25004== Lock acquired, processing the job...
[2025-02-09 10:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:57:01] Production.INFO: neon service started
[2025-02-09 10:57:01] Production.INFO: neon service started
[2025-02-09 10:57:01] Production.INFO: ==25004== Releasing lock...
[2025-02-09 10:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:57:01] Production.INFO: ==25008== Lock acquired, processing the job...
[2025-02-09 10:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:57:01] Production.INFO: ==25008== Releasing lock...
[2025-02-09 10:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:57:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:57:02] Production.INFO: ==25006== Lock acquired, processing the job...
[2025-02-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:57:02] Production.INFO: ==25006== Releasing lock...
[2025-02-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:57:03] Production.INFO: ==25012== Lock acquired, processing the job...
[2025-02-09 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:57:03] Production.INFO: ==25021== Lock acquired, processing the job...
[2025-02-09 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:57:03] Production.INFO: count ==21
[2025-02-09 05:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:57:03] Production.INFO: count ==21
[2025-02-09 05:57:03] Production.INFO: ==25010== Lock acquired, processing the job...
[2025-02-09 05:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435059') start
[2025-02-09 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435059') end
[2025-02-09 05:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:57:03] Production.INFO: 1
[2025-02-09 05:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:57:03] Production.INFO: ==25015== Lock acquired, processing the job...
[2025-02-09 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:57:03] Production.INFO: ==25021== Releasing lock...
[2025-02-09 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:57:03] Production.INFO: ==25017== Lock acquired, processing the job...
[2025-02-09 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:57:03] Production.INFO: ==25012== Releasing lock...
[2025-02-09 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:57:03] Production.INFO: ==25019== Lock acquired, processing the job...
[2025-02-09 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:57:03] Production.INFO: Account Balance Start.
[2025-02-09 05:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:57:03] Production.INFO: 117
[2025-02-09 05:57:04] Production.ERROR: done
[2025-02-09 05:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:57:04] Production.INFO: Date 2025-02-08
[2025-02-09 05:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:57:04] Production.ERROR: done
[2025-02-09 05:57:04] Production.INFO: Date 2025-02-09
[2025-02-09 05:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 05:57:04] Production.INFO: Total Charge 0
[2025-02-09 05:57:04] Production.INFO: CreateAllLog End
[2025-02-09 05:57:04] Production.INFO: Account Balance End.
[2025-02-09 05:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:57:04] Production.INFO: ==25017== Releasing lock...
[2025-02-09 05:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:57:05
[end_date_ymd] => 2025-02-09 05:57:05
[RateCDR] => 1
)
[2025-02-09 05:57: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` >= '2025-02-09 02:57:05' and `end` < '2025-02-09 05:57: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 ,'')
[2025-02-09 05:57:10] Production.ERROR: CronJobId end10
[2025-02-09 05:57:10] Production.INFO: ==25015== Releasing lock...
[2025-02-09 05:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:57:13] Production.INFO: call_cost start
[2025-02-09 05:57:13] Production.INFO: call_cost end
[2025-02-09 05:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:57:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:57:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:57:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:57:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:57:14] Production.INFO: ==25010== Releasing lock...
[2025-02-09 05:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:57:18] Production.INFO: count ==228
[2025-02-09 05:57:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:57:05 - End Time 2025-02-09 05:57:05
[2025-02-09 05:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435063', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435063', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435063', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435063', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:57:18] Production.INFO: ProcessCDR(1,14435063,1,1,2)
[2025-02-09 05:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435063', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435063', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:57:21] Production.INFO: ==25019== Releasing lock...
[2025-02-09 05:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:57:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:58:01] Production.INFO: ==25078== Lock acquired, processing the job...
[2025-02-09 10:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:58:02] Production.INFO: neon service started
[2025-02-09 10:58:02] Production.INFO: neon service started
[2025-02-09 10:58:02] Production.INFO: ==25078== Releasing lock...
[2025-02-09 10:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:58:02] Production.INFO: ==25082== Lock acquired, processing the job...
[2025-02-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:58:02] Production.INFO: ==25082== Releasing lock...
[2025-02-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:58:02] Production.INFO: ==25080== Lock acquired, processing the job...
[2025-02-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:58:02] Production.INFO: ==25080== Releasing lock...
[2025-02-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 05:58:03] Production.INFO: ==25091== Lock acquired, processing the job...
[2025-02-09 05:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:58:03] Production.INFO: ==25085== Lock acquired, processing the job...
[2025-02-09 05:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:58:03] Production.INFO: Account Balance Start.
[2025-02-09 05:58:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:58:03] Production.INFO: 117
[2025-02-09 05:58:03] Production.INFO: ==25093== Lock acquired, processing the job...
[2025-02-09 05:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:58:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:58:03] Production.INFO: ==25087== Lock acquired, processing the job...
[2025-02-09 05:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:58:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:58:03] Production.INFO: ==25089== Lock acquired, processing the job...
[2025-02-09 05:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:58:03] Production.INFO: Total Charge 0
[2025-02-09 05:58:03] Production.INFO: CreateAllLog End
[2025-02-09 05:58:03] Production.INFO: ==25095== Lock acquired, processing the job...
[2025-02-09 05:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:58:04] Production.INFO: ==25087== Releasing lock...
[2025-02-09 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:58:04] Production.INFO: Account Balance End.
[2025-02-09 05:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 05:58:04] Production.INFO: ==25091== Releasing lock...
[2025-02-09 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:58:04] Production.INFO: count ==21
[2025-02-09 05:58:04] Production.ERROR: done
[2025-02-09 05:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:58:04] Production.INFO: count ==21
[2025-02-09 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435067') start
[2025-02-09 05:58:04] Production.ERROR: done
[2025-02-09 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435067') end
[2025-02-09 05:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:58:04] Production.INFO: 1
[2025-02-09 05:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:58:04] Production.INFO: ==25095== Releasing lock...
[2025-02-09 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:58:05
[end_date_ymd] => 2025-02-09 05:58:05
[RateCDR] => 1
)
[2025-02-09 05:58: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` >= '2025-02-09 02:58:05' and `end` < '2025-02-09 05:58: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 ,'')
[2025-02-09 05:58:11] Production.ERROR: CronJobId end10
[2025-02-09 05:58:11] Production.INFO: ==25089== Releasing lock...
[2025-02-09 05:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:58:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:58:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:58:14] Production.INFO: call_cost start
[2025-02-09 05:58:14] Production.INFO: call_cost end
[2025-02-09 05:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:58:15] Production.INFO: ==25085== Releasing lock...
[2025-02-09 05:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:58:18] Production.INFO: count ==228
[2025-02-09 05:58:18] Production.ERROR: pbx CDR StartTime 2025-02-09 02:58:05 - End Time 2025-02-09 05:58:05
[2025-02-09 05:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435068', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435068', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435068', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435068', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:58:18] Production.INFO: ProcessCDR(1,14435068,1,1,2)
[2025-02-09 05:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435068', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435068', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:58:21] Production.INFO: ==25093== Releasing lock...
[2025-02-09 05:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:58:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 10:59:01] Production.INFO: ==25152== Lock acquired, processing the job...
[2025-02-09 10:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 10:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 10:59:01] Production.INFO: neon service started
[2025-02-09 10:59:01] Production.INFO: neon service started
[2025-02-09 10:59:01] Production.INFO: ==25152== Releasing lock...
[2025-02-09 10:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 10:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 05:59:01] Production.INFO: ==25154== Lock acquired, processing the job...
[2025-02-09 05:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 05:59:02] Production.INFO: ==25154== Releasing lock...
[2025-02-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 05:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:59:02] Production.INFO: ==25156== Lock acquired, processing the job...
[2025-02-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:59:02] Production.INFO: ==25156== Releasing lock...
[2025-02-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 10:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 05:59:02] Production.INFO: ==25159== Lock acquired, processing the job...
[2025-02-09 05:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 05:59:02] Production.INFO: ==25161== Lock acquired, processing the job...
[2025-02-09 05:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 05:59:03] Production.INFO: ==25165== Lock acquired, processing the job...
[2025-02-09 05:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 05:59:03] Production.INFO: ==25163== Lock acquired, processing the job...
[2025-02-09 05:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 05:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 05:59:03] Production.INFO: ==25169== Lock acquired, processing the job...
[2025-02-09 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 05:59:03] Production.INFO: Account Balance Start.
[2025-02-09 05:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 05:59:03] Production.INFO: 117
[2025-02-09 05:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 05:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 05:59:03] Production.INFO: ==25167== Lock acquired, processing the job...
[2025-02-09 05:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 05:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 05:59:03] Production.INFO: Total Charge 0
[2025-02-09 05:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 05:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 05:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 05:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 05:59:03] Production.INFO: CreateAllLog End
[2025-02-09 05:59:03] Production.INFO: count ==21
[2025-02-09 05:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 05:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 05:59:03] Production.INFO: count ==21
[2025-02-09 05:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435072') start
[2025-02-09 05:59:03] Production.INFO: ==25161== Releasing lock...
[2025-02-09 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 05:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 05:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435072') end
[2025-02-09 05:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 05:59:03] Production.INFO: 1
[2025-02-09 05:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 05:59:03] Production.INFO: ==25169== Releasing lock...
[2025-02-09 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 05:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 05:59:03] Production.INFO: Account Balance End.
[2025-02-09 05:59:03] Production.ERROR: CronJobId end 12
[2025-02-09 05:59:03] Production.INFO: ==25165== Releasing lock...
[2025-02-09 05:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 05:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 05:59:03] Production.ERROR: done
[2025-02-09 05:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 05:59:03] Production.ERROR: done
[2025-02-09 05:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 02:59:04
[end_date_ymd] => 2025-02-09 05:59:04
[RateCDR] => 1
)
[2025-02-09 05:59:04] 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-02-09 02:59:04' and `end` < '2025-02-09 05:59:04'
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-02-09 05:59:10] Production.ERROR: CronJobId end10
[2025-02-09 05:59:10] Production.INFO: ==25163== Releasing lock...
[2025-02-09 05:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 05:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 05:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 05:59:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 05:59:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 05:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 05:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 05:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 05:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 05:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 05:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 05:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 05:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 05:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 05:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 05:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 05:59:12] Production.INFO: call_cost start
[2025-02-09 05:59:12] Production.INFO: call_cost end
[2025-02-09 05:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 05:59:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 05:59:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 05:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 05:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 05:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 05:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 05:59:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 05:59:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 05:59:13] Production.INFO: ==25159== Releasing lock...
[2025-02-09 05:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 05:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 05:59:17] Production.INFO: count ==228
[2025-02-09 05:59:17] Production.ERROR: pbx CDR StartTime 2025-02-09 02:59:04 - End Time 2025-02-09 05:59:04
[2025-02-09 05:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435073', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435073', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435073', 'tblTempVendorCDR_20' ) start
[2025-02-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435073', 'tblTempVendorCDR_20' ) end
[2025-02-09 05:59:17] Production.INFO: ProcessCDR(1,14435073,1,1,2)
[2025-02-09 05:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 05:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 05:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435073', 'tblTempUsageDetail_20' ) start
[2025-02-09 05:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435073', 'tblTempUsageDetail_20' ) end
[2025-02-09 05:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 05:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 05:59:20] Production.INFO: ==25167== Releasing lock...
[2025-02-09 05:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 05:59:20] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 11:00:01] Production.INFO: ==25224== Lock acquired, processing the job...
[2025-02-09 11:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:00:01] Production.INFO: neon service started
[2025-02-09 11:00:01] Production.INFO: neon service started
[2025-02-09 11:00:01] Production.INFO: ==25224== Releasing lock...
[2025-02-09 11:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:00:02] Production.INFO: ==25228== Lock acquired, processing the job...
[2025-02-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:00:02] Production.INFO: ==25228== Releasing lock...
[2025-02-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:00:02] Production.INFO: ==25226== Lock acquired, processing the job...
[2025-02-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:00:02] Production.INFO: ==25226== Releasing lock...
[2025-02-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:00:03] Production.INFO: ==25230== Lock acquired, processing the job...
[2025-02-09 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 06:00:03] Production.INFO: ==25234== Lock acquired, processing the job...
[2025-02-09 06:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 06:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 06:00:03] Production.INFO: ==25230== Releasing lock...
[2025-02-09 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 06:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 06:00:03] Production.INFO: ==25236== Lock acquired, processing the job...
[2025-02-09 06:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:00:03] Production.INFO: ==25232== Lock acquired, processing the job...
[2025-02-09 06:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:00:03] Production.INFO: ==25243== Lock acquired, processing the job...
[2025-02-09 06:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 06:00:03] Production.INFO: ==25239== Lock acquired, processing the job...
[2025-02-09 06:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:00:04] Production.INFO: ==25241== Lock acquired, processing the job...
[2025-02-09 06:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:00:04] Production.INFO: ==25245== Lock acquired, processing the job...
[2025-02-09 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:00:04] Production.INFO: ==25234== Releasing lock...
[2025-02-09 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:00:04] Production.INFO: Account Balance Start.
[2025-02-09 06:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:00:04] Production.INFO: 117
[2025-02-09 06:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:00:04] Production.INFO: Total Charge 0
[2025-02-09 06:00:04] Production.INFO: CreateAllLog End
[2025-02-09 06:00:04] Production.INFO: count ==21
[2025-02-09 06:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:00:04] Production.INFO: count ==21
[2025-02-09 06:00:04] Production.ERROR: done
[2025-02-09 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435077') start
[2025-02-09 06:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 06:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435078', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 06:00:04] Production.ERROR: done
[2025-02-09 06:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435077') end
[2025-02-09 06:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:00:04] Production.INFO: 1
[2025-02-09 06:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:00:04] Production.INFO: Account Balance End.
[2025-02-09 06:00:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:00:04] Production.INFO: ==25239== Releasing lock...
[2025-02-09 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:00:04] Production.INFO: ==25245== Releasing lock...
[2025-02-09 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:00:04] Production.ERROR: done
[2025-02-09 06:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:00:06
[end_date_ymd] => 2025-02-09 06:00:06
[RateCDR] => 1
)
[2025-02-09 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-02-09 03:00:06' and `end` < '2025-02-09 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-02-09 06:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435078', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 06:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 06:00:08] Production.INFO: ProcessCDR(1,14435078,1,1,2)
[2025-02-09 06:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435078,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435078,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:00:08] Production.INFO: ==25243== Releasing lock...
[2025-02-09 06:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 06:00:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 06:00:13] Production.ERROR: CronJobId end10
[2025-02-09 06:00:13] Production.INFO: ==25236== Releasing lock...
[2025-02-09 06:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:00:16] Production.INFO: call_cost start
[2025-02-09 06:00:16] Production.INFO: call_cost end
[2025-02-09 06:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:00:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:00:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:00:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:00:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:00:17] Production.INFO: ==25232== Releasing lock...
[2025-02-09 06:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:00:19] Production.INFO: count ==222
[2025-02-09 06:00:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:00:06 - End Time 2025-02-09 06:00:06
[2025-02-09 06:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435079', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435079', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435079', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435079', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:00:19] Production.INFO: ProcessCDR(1,14435079,1,1,2)
[2025-02-09 06:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435079', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435079', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:00:22] Production.INFO: ==25241== Releasing lock...
[2025-02-09 06:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:00:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 11:01:02] Production.INFO: ==25305== Lock acquired, processing the job...
[2025-02-09 11:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:01:02] Production.INFO: neon service started
[2025-02-09 11:01:02] Production.INFO: neon service started
[2025-02-09 11:01:02] Production.INFO: ==25305== Releasing lock...
[2025-02-09 11:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:01:03] Production.INFO: ==25317== Lock acquired, processing the job...
[2025-02-09 06:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:01:03] Production.INFO: ==25319== Lock acquired, processing the job...
[2025-02-09 11:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:01:03] Production.INFO: ==25319== Releasing lock...
[2025-02-09 11:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:01:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:01:03] Production.INFO: ==25317== Releasing lock...
[2025-02-09 06:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:01:04] Production.INFO: ==25326== Lock acquired, processing the job...
[2025-02-09 06:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:01:04] Production.INFO: ==25332== Lock acquired, processing the job...
[2025-02-09 06:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:01:04] Production.INFO: ==25322== Lock acquired, processing the job...
[2025-02-09 06:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:01:04] Production.INFO: ==25324== Lock acquired, processing the job...
[2025-02-09 06:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:01:04] Production.INFO: count ==21
[2025-02-09 06:01:04] Production.INFO: ==25328== Lock acquired, processing the job...
[2025-02-09 06:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:01:04] Production.INFO: ==25330== Lock acquired, processing the job...
[2025-02-09 06:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:01:04] Production.INFO: count ==21
[2025-02-09 06:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435080') start
[2025-02-09 06:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:01:04] Production.INFO: Account Balance Start.
[2025-02-09 06:01:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:01:04] Production.INFO: 117
[2025-02-09 06:01:05] Production.INFO: Date 2025-02-08
[2025-02-09 06:01:05] Production.ERROR: PBX CALL prc_importPBXExtension('14435080') end
[2025-02-09 06:01:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:01:05] Production.INFO: 1
[2025-02-09 06:01:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:01:05] Production.INFO: Reseller ==> 0
[2025-02-09 06:01:05] Production.INFO: Date 2025-02-09
[2025-02-09 06:01:05] Production.INFO: Reseller ==> 0
[2025-02-09 06:01:05] Production.INFO: ==25332== Releasing lock...
[2025-02-09 06:01:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:01:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:01:05] Production.ERROR: done
[2025-02-09 06:01:05] Production.INFO: Total Charge 0
[2025-02-09 06:01:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:01:05] Production.INFO: CreateAllLog End
[2025-02-09 06:01:05] Production.INFO: ==25324== Releasing lock...
[2025-02-09 06:01:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:01:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:01:05] Production.ERROR: done
[2025-02-09 06:01:05] Production.INFO: Account Balance End.
[2025-02-09 06:01:05] Production.ERROR: CronJobId end 12
[2025-02-09 06:01:05] Production.INFO: ==25328== Releasing lock...
[2025-02-09 06:01:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:01:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:01:06
[end_date_ymd] => 2025-02-09 06:01:06
[RateCDR] => 1
)
[2025-02-09 06:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 03:01:06' and `end` < '2025-02-09 06:01:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 06:01:12] Production.ERROR: CronJobId end10
[2025-02-09 06:01:12] Production.INFO: ==25326== Releasing lock...
[2025-02-09 06:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:01:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:01:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:01:15] Production.INFO: call_cost start
[2025-02-09 06:01:15] Production.INFO: call_cost end
[2025-02-09 06:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:01:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:01:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:01:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:01:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:01:16] Production.INFO: ==25322== Releasing lock...
[2025-02-09 06:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:01:20] Production.INFO: count ==216
[2025-02-09 06:01:20] Production.ERROR: pbx CDR StartTime 2025-02-09 03:01:06 - End Time 2025-02-09 06:01:06
[2025-02-09 06:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435084', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435084', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435084', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435084', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:01:20] Production.INFO: ProcessCDR(1,14435084,1,1,2)
[2025-02-09 06:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435084', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435084', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:01:23] Production.INFO: ==25330== Releasing lock...
[2025-02-09 06:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:01:23] Production.INFO: 29 MB #Memory Used#
[2025-02-09 11:02:01] Production.INFO: ==25428== Lock acquired, processing the job...
[2025-02-09 11:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:02:01] Production.INFO: neon service started
[2025-02-09 11:02:01] Production.INFO: neon service started
[2025-02-09 11:02:01] Production.INFO: ==25428== Releasing lock...
[2025-02-09 11:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:02:02] Production.INFO: ==25430== Lock acquired, processing the job...
[2025-02-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:02:02] Production.INFO: ==25430== Releasing lock...
[2025-02-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:02:02] Production.INFO: ==25432== Lock acquired, processing the job...
[2025-02-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:02:02] Production.INFO: ==25432== Releasing lock...
[2025-02-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:02:03] Production.INFO: ==25442== Lock acquired, processing the job...
[2025-02-09 06:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:02:03] Production.ERROR: done
[2025-02-09 06:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:02:03] Production.INFO: ==25434== Lock acquired, processing the job...
[2025-02-09 06:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:02:03] Production.ERROR: done
[2025-02-09 06:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:02:03] Production.INFO: ==25436== Lock acquired, processing the job...
[2025-02-09 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:02:03] Production.INFO: ==25438== Lock acquired, processing the job...
[2025-02-09 06:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:02:03] Production.INFO: ==25440== Lock acquired, processing the job...
[2025-02-09 06:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:02:04] Production.INFO: ==25445== Lock acquired, processing the job...
[2025-02-09 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:02:04] Production.INFO: Account Balance Start.
[2025-02-09 06:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:02:04] Production.INFO: 117
[2025-02-09 06:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:02:04] Production.INFO: ==25436== Releasing lock...
[2025-02-09 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:02:04] Production.INFO: count ==21
[2025-02-09 06:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:02:04] Production.INFO: count ==21
[2025-02-09 06:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435089') start
[2025-02-09 06:02:04] Production.INFO: Total Charge 0
[2025-02-09 06:02:04] Production.INFO: CreateAllLog End
[2025-02-09 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435089') end
[2025-02-09 06:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:02:04] Production.INFO: 1
[2025-02-09 06:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:02:04] Production.INFO: ==25445== Releasing lock...
[2025-02-09 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:02:04] Production.INFO: Account Balance End.
[2025-02-09 06:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:02:04] Production.INFO: ==25440== Releasing lock...
[2025-02-09 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:02:05
[end_date_ymd] => 2025-02-09 06:02:05
[RateCDR] => 1
)
[2025-02-09 06:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 03:02:05' and `end` < '2025-02-09 06:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 06:02:12] Production.ERROR: CronJobId end10
[2025-02-09 06:02:12] Production.INFO: ==25438== Releasing lock...
[2025-02-09 06:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:02:14] Production.INFO: call_cost start
[2025-02-09 06:02:14] Production.INFO: call_cost end
[2025-02-09 06:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:02:15] Production.INFO: ==25434== Releasing lock...
[2025-02-09 06:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:02:18] Production.INFO: count ==215
[2025-02-09 06:02:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:02:05 - End Time 2025-02-09 06:02:05
[2025-02-09 06:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435086', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435086', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435086', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435086', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:02:18] Production.INFO: ProcessCDR(1,14435086,1,1,2)
[2025-02-09 06:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435086,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435086,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435086', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435086', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:02:21] Production.INFO: ==25442== Releasing lock...
[2025-02-09 06:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:02:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 11:03:02] Production.INFO: ==25503== Lock acquired, processing the job...
[2025-02-09 11:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:03:02] Production.INFO: neon service started
[2025-02-09 11:03:02] Production.INFO: neon service started
[2025-02-09 11:03:02] Production.INFO: ==25503== Releasing lock...
[2025-02-09 11:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:03:02] Production.INFO: ==25505== Lock acquired, processing the job...
[2025-02-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:03:02] Production.INFO: ==25507== Lock acquired, processing the job...
[2025-02-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:03:02] Production.INFO: ==25507== Releasing lock...
[2025-02-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:03:03] Production.INFO: ==25505== Releasing lock...
[2025-02-09 06:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:03:04] Production.INFO: ==25514== Lock acquired, processing the job...
[2025-02-09 06:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:03:04] Production.INFO: ==25510== Lock acquired, processing the job...
[2025-02-09 06:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:03:04] Production.INFO: ==25520== Lock acquired, processing the job...
[2025-02-09 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:03:04] Production.INFO: ==25512== Lock acquired, processing the job...
[2025-02-09 06:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:03:04] Production.INFO: ==25516== Lock acquired, processing the job...
[2025-02-09 06:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:03:04] Production.INFO: count ==21
[2025-02-09 06:03:04] Production.INFO: ==25518== Lock acquired, processing the job...
[2025-02-09 06:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:03:04] Production.INFO: count ==21
[2025-02-09 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435091') start
[2025-02-09 06:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:03:04] Production.INFO: Account Balance Start.
[2025-02-09 06:03:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:03:04] Production.INFO: 117
[2025-02-09 06:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:03:04] Production.INFO: Total Charge 0
[2025-02-09 06:03:04] Production.INFO: ==25512== Releasing lock...
[2025-02-09 06:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:03:04] Production.INFO: CreateAllLog End
[2025-02-09 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435091') end
[2025-02-09 06:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:03:04] Production.INFO: 1
[2025-02-09 06:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:03:04] Production.ERROR: done
[2025-02-09 06:03:04] Production.INFO: ==25520== Releasing lock...
[2025-02-09 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:03:05] Production.ERROR: done
[2025-02-09 06:03:05] Production.INFO: Account Balance End.
[2025-02-09 06:03:05] Production.ERROR: CronJobId end 12
[2025-02-09 06:03:05] Production.INFO: ==25516== Releasing lock...
[2025-02-09 06:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:03:06
[end_date_ymd] => 2025-02-09 06:03:06
[RateCDR] => 1
)
[2025-02-09 06:03: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-02-09 03:03:06' and `end` < '2025-02-09 06:03: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-02-09 06:03:11] Production.ERROR: CronJobId end10
[2025-02-09 06:03:11] Production.INFO: ==25514== Releasing lock...
[2025-02-09 06:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:03:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:03:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:03:14] Production.INFO: call_cost start
[2025-02-09 06:03:14] Production.INFO: call_cost end
[2025-02-09 06:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:03:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:03:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:03:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:03:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:03:15] Production.INFO: ==25510== Releasing lock...
[2025-02-09 06:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:03:19] Production.INFO: count ==215
[2025-02-09 06:03:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:03:06 - End Time 2025-02-09 06:03:06
[2025-02-09 06:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435094', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435094', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435094', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435094', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:03:19] Production.INFO: ProcessCDR(1,14435094,1,1,2)
[2025-02-09 06:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435094', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435094', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:03:22] Production.INFO: ==25518== Releasing lock...
[2025-02-09 06:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:03:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 11:04:01] Production.INFO: ==25575== Lock acquired, processing the job...
[2025-02-09 11:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:04:01] Production.INFO: neon service started
[2025-02-09 11:04:01] Production.INFO: neon service started
[2025-02-09 11:04:01] Production.INFO: ==25575== Releasing lock...
[2025-02-09 11:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:04:02] Production.INFO: ==25577== Lock acquired, processing the job...
[2025-02-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:04:02] Production.INFO: ==25577== Releasing lock...
[2025-02-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:04:02] Production.INFO: ==25579== Lock acquired, processing the job...
[2025-02-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:04:02] Production.INFO: ==25579== Releasing lock...
[2025-02-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:04:03] Production.INFO: ==25581== Lock acquired, processing the job...
[2025-02-09 06:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:04:03] Production.INFO: ==25587== Lock acquired, processing the job...
[2025-02-09 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:04:03] Production.INFO: ==25589== Lock acquired, processing the job...
[2025-02-09 06:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:04:03] Production.INFO: ==25583== Lock acquired, processing the job...
[2025-02-09 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:04:03] Production.INFO: Account Balance Start.
[2025-02-09 06:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:04:03] Production.INFO: 117
[2025-02-09 06:04:03] Production.INFO: ==25585== Lock acquired, processing the job...
[2025-02-09 06:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:04:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:04:03] Production.INFO: ==25591== Lock acquired, processing the job...
[2025-02-09 06:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:04:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:04:03] Production.INFO: Total Charge 0
[2025-02-09 06:04:03] Production.INFO: CreateAllLog End
[2025-02-09 06:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:04:03] Production.ERROR: done
[2025-02-09 06:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:04:03] Production.INFO: count ==21
[2025-02-09 06:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:04:03] Production.INFO: ==25583== Releasing lock...
[2025-02-09 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:04:03] Production.INFO: count ==21
[2025-02-09 06:04:03] Production.INFO: Account Balance End.
[2025-02-09 06:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435098') start
[2025-02-09 06:04:03] Production.ERROR: done
[2025-02-09 06:04:03] Production.ERROR: CronJobId end 12
[2025-02-09 06:04:03] Production.INFO: ==25587== Releasing lock...
[2025-02-09 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435098') end
[2025-02-09 06:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:04:04] Production.INFO: 1
[2025-02-09 06:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:04:04] Production.INFO: ==25591== Releasing lock...
[2025-02-09 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:04:04
[end_date_ymd] => 2025-02-09 06:04:04
[RateCDR] => 1
)
[2025-02-09 06:04:04] 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-02-09 03:04:04' and `end` < '2025-02-09 06:04:04'
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-02-09 06:04:11] Production.ERROR: CronJobId end10
[2025-02-09 06:04:11] Production.INFO: ==25585== Releasing lock...
[2025-02-09 06:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:04:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:04:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:04:13] Production.INFO: call_cost start
[2025-02-09 06:04:13] Production.INFO: call_cost end
[2025-02-09 06:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:04:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:04:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:04:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:04:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:04:14] Production.INFO: ==25581== Releasing lock...
[2025-02-09 06:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:04:17] Production.INFO: count ==212
[2025-02-09 06:04:17] Production.ERROR: pbx CDR StartTime 2025-02-09 03:04:04 - End Time 2025-02-09 06:04:04
[2025-02-09 06:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435099', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435099', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435099', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435099', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:04:17] Production.INFO: ProcessCDR(1,14435099,1,1,2)
[2025-02-09 06:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435099', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435099', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:04:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:04:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:04:20] Production.INFO: ==25589== Releasing lock...
[2025-02-09 06:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:04:20] Production.INFO: 29 MB #Memory Used#
[2025-02-09 11:05:02] Production.INFO: ==25652== Lock acquired, processing the job...
[2025-02-09 11:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:05:02] Production.INFO: neon service started
[2025-02-09 11:05:02] Production.INFO: neon service started
[2025-02-09 11:05:02] Production.INFO: ==25652== Releasing lock...
[2025-02-09 11:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:05:02] Production.INFO: ==25656== Lock acquired, processing the job...
[2025-02-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:05:02] Production.INFO: ==25656== Releasing lock...
[2025-02-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:05:02] Production.INFO: ==25654== Lock acquired, processing the job...
[2025-02-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:05:02] Production.INFO: ==25654== Releasing lock...
[2025-02-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:05:03] Production.INFO: ==25664== Lock acquired, processing the job...
[2025-02-09 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:05:03] Production.INFO: ==25666== Lock acquired, processing the job...
[2025-02-09 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:05:03] Production.INFO: ==25658== Lock acquired, processing the job...
[2025-02-09 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:05:03] Production.INFO: Account Balance Start.
[2025-02-09 06:05:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:05:03] Production.INFO: 117
[2025-02-09 06:05:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:05:03] Production.INFO: ==25662== Lock acquired, processing the job...
[2025-02-09 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:05:04] Production.INFO: ==25660== Lock acquired, processing the job...
[2025-02-09 06:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:05:04] Production.INFO: ==25668== Lock acquired, processing the job...
[2025-02-09 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:05:04] Production.INFO: Total Charge 0
[2025-02-09 06:05:04] Production.INFO: CreateAllLog End
[2025-02-09 06:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:05:04] Production.ERROR: done
[2025-02-09 06:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:05:04] Production.INFO: count ==21
[2025-02-09 06:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:05:04] Production.INFO: count ==21
[2025-02-09 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435103') start
[2025-02-09 06:05:04] Production.ERROR: done
[2025-02-09 06:05:04] Production.INFO: Account Balance End.
[2025-02-09 06:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:05:04] Production.INFO: ==25664== Releasing lock...
[2025-02-09 06:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435103') end
[2025-02-09 06:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:05:04] Production.INFO: 1
[2025-02-09 06:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:05:04] Production.INFO: ==25668== Releasing lock...
[2025-02-09 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:05:04] Production.INFO: ==25660== Releasing lock...
[2025-02-09 06:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:05:05
[end_date_ymd] => 2025-02-09 06:05:05
[RateCDR] => 1
)
[2025-02-09 06:05: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` >= '2025-02-09 03:05:05' and `end` < '2025-02-09 06:05: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 ,'')
[2025-02-09 06:05:12] Production.ERROR: CronJobId end10
[2025-02-09 06:05:12] Production.INFO: ==25662== Releasing lock...
[2025-02-09 06:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:05:14] Production.INFO: call_cost start
[2025-02-09 06:05:14] Production.INFO: call_cost end
[2025-02-09 06:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:05:15] Production.INFO: ==25658== Releasing lock...
[2025-02-09 06:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:05:18] Production.INFO: count ==207
[2025-02-09 06:05:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:05:05 - End Time 2025-02-09 06:05:05
[2025-02-09 06:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435104', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435104', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435104', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435104', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:05:18] Production.INFO: ProcessCDR(1,14435104,1,1,2)
[2025-02-09 06:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435104', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435104', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:05:22] Production.INFO: ==25666== Releasing lock...
[2025-02-09 06:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:05:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 11:06:01] Production.INFO: ==25720== Lock acquired, processing the job...
[2025-02-09 11:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:06:01] Production.INFO: neon service started
[2025-02-09 11:06:01] Production.INFO: neon service started
[2025-02-09 11:06:01] Production.INFO: ==25720== Releasing lock...
[2025-02-09 11:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:06:02] Production.INFO: ==25722== Lock acquired, processing the job...
[2025-02-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:06:02] Production.INFO: ==25724== Lock acquired, processing the job...
[2025-02-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:06:02] Production.INFO: ==25724== Releasing lock...
[2025-02-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:06:02] Production.INFO: ==25722== Releasing lock...
[2025-02-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:06:03] Production.INFO: ==25728== Lock acquired, processing the job...
[2025-02-09 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:06:03] Production.INFO: ==25730== Lock acquired, processing the job...
[2025-02-09 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:06:03] Production.INFO: ==25736== Lock acquired, processing the job...
[2025-02-09 06:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:06:03] Production.INFO: ==25732== Lock acquired, processing the job...
[2025-02-09 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:06:04] Production.INFO: ==25730== Releasing lock...
[2025-02-09 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:06:04] Production.INFO: ==25734== Lock acquired, processing the job...
[2025-02-09 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:06:04] Production.INFO: Account Balance Start.
[2025-02-09 06:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:06:04] Production.INFO: ==25738== Lock acquired, processing the job...
[2025-02-09 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:06:04] Production.INFO: 117
[2025-02-09 06:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:06:04] Production.INFO: Total Charge 0
[2025-02-09 06:06:04] Production.ERROR: done
[2025-02-09 06:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:06:04] Production.INFO: CreateAllLog End
[2025-02-09 06:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:06:04] Production.ERROR: done
[2025-02-09 06:06:04] Production.INFO: count ==21
[2025-02-09 06:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:06:04] Production.INFO: count ==21
[2025-02-09 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435108') start
[2025-02-09 06:06:04] Production.INFO: Account Balance End.
[2025-02-09 06:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:06:04] Production.INFO: ==25734== Releasing lock...
[2025-02-09 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435108') end
[2025-02-09 06:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:06:04] Production.INFO: 1
[2025-02-09 06:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:06:04] Production.INFO: ==25738== Releasing lock...
[2025-02-09 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:06:05
[end_date_ymd] => 2025-02-09 06:06:05
[RateCDR] => 1
)
[2025-02-09 06:06: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` >= '2025-02-09 03:06:05' and `end` < '2025-02-09 06:06: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 ,'')
[2025-02-09 06:06:12] Production.ERROR: CronJobId end10
[2025-02-09 06:06:12] Production.INFO: ==25732== Releasing lock...
[2025-02-09 06:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:06:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:06:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:06:14] Production.INFO: call_cost start
[2025-02-09 06:06:14] Production.INFO: call_cost end
[2025-02-09 06:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:06:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:06:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:06:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:06:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:06:15] Production.INFO: ==25728== Releasing lock...
[2025-02-09 06:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:06:18] Production.INFO: count ==202
[2025-02-09 06:06:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:06:05 - End Time 2025-02-09 06:06:05
[2025-02-09 06:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435109', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435109', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435109', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435109', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:06:18] Production.INFO: ProcessCDR(1,14435109,1,1,2)
[2025-02-09 06:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435109', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435109', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:06:21] Production.INFO: ==25736== Releasing lock...
[2025-02-09 06:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:06:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:07:02] Production.INFO: ==25797== Lock acquired, processing the job...
[2025-02-09 11:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:07:02] Production.INFO: neon service started
[2025-02-09 11:07:02] Production.INFO: neon service started
[2025-02-09 11:07:02] Production.INFO: ==25797== Releasing lock...
[2025-02-09 11:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:07:02] Production.INFO: ==25801== Lock acquired, processing the job...
[2025-02-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:07:02] Production.INFO: ==25801== Releasing lock...
[2025-02-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:07:02] Production.INFO: ==25799== Lock acquired, processing the job...
[2025-02-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:07:03] Production.INFO: ==25799== Releasing lock...
[2025-02-09 06:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:07:03] Production.INFO: ==25804== Lock acquired, processing the job...
[2025-02-09 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:07:03] Production.INFO: ==25808== Lock acquired, processing the job...
[2025-02-09 06:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:07:03] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-02-09 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:07:04] Production.INFO: ==25806== Releasing lock...
[2025-02-09 06:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:07:04] Production.INFO: ==25810== Lock acquired, processing the job...
[2025-02-09 06:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:07:04] Production.INFO: ==25812== Lock acquired, processing the job...
[2025-02-09 06:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:07:04] Production.INFO: Account Balance Start.
[2025-02-09 06:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:07:04] Production.INFO: 117
[2025-02-09 06:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:07:04] Production.INFO: ==25814== Lock acquired, processing the job...
[2025-02-09 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:07:04] Production.INFO: Total Charge 0
[2025-02-09 06:07:04] Production.INFO: CreateAllLog End
[2025-02-09 06:07:04] Production.INFO: Account Balance End.
[2025-02-09 06:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:07:04] Production.INFO: ==25810== Releasing lock...
[2025-02-09 06:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:07:04] Production.INFO: count ==21
[2025-02-09 06:07:04] Production.ERROR: done
[2025-02-09 06:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:07:04] Production.INFO: count ==21
[2025-02-09 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435113') start
[2025-02-09 06:07:04] Production.ERROR: done
[2025-02-09 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435113') end
[2025-02-09 06:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:07:04] Production.INFO: 1
[2025-02-09 06:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:07:04] Production.INFO: ==25814== Releasing lock...
[2025-02-09 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:07:05
[end_date_ymd] => 2025-02-09 06:07:05
[RateCDR] => 1
)
[2025-02-09 06:07: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` >= '2025-02-09 03:07:05' and `end` < '2025-02-09 06:07: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 ,'')
[2025-02-09 06:07:12] Production.ERROR: CronJobId end10
[2025-02-09 06:07:12] Production.INFO: ==25808== Releasing lock...
[2025-02-09 06:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:07:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:07:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:07:13] Production.INFO: call_cost start
[2025-02-09 06:07:13] Production.INFO: call_cost end
[2025-02-09 06:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:07:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:07:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:07:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:07:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:07:14] Production.INFO: ==25804== Releasing lock...
[2025-02-09 06:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:07:19] Production.INFO: count ==205
[2025-02-09 06:07:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:07:05 - End Time 2025-02-09 06:07:05
[2025-02-09 06:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435114', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435114', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435114', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435114', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:07:19] Production.INFO: ProcessCDR(1,14435114,1,1,2)
[2025-02-09 06:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435114', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435114', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:07:22] Production.INFO: ==25812== Releasing lock...
[2025-02-09 06:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:07:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 11:08:01] Production.INFO: ==25874== Lock acquired, processing the job...
[2025-02-09 11:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:08:01] Production.INFO: neon service started
[2025-02-09 11:08:01] Production.INFO: neon service started
[2025-02-09 11:08:01] Production.INFO: ==25874== Releasing lock...
[2025-02-09 11:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:08:02] Production.INFO: ==25876== Lock acquired, processing the job...
[2025-02-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:08:02] Production.INFO: ==25878== Lock acquired, processing the job...
[2025-02-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:08:02] Production.INFO: ==25878== Releasing lock...
[2025-02-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:08:02] Production.INFO: ==25876== Releasing lock...
[2025-02-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:08:03] Production.INFO: ==25883== Lock acquired, processing the job...
[2025-02-09 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:08:03] Production.INFO: ==25891== Lock acquired, processing the job...
[2025-02-09 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:08:03] Production.INFO: ==25881== Lock acquired, processing the job...
[2025-02-09 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:08:03] Production.INFO: count ==21
[2025-02-09 06:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:08:03] Production.INFO: count ==21
[2025-02-09 06:08:03] Production.INFO: ==25885== Lock acquired, processing the job...
[2025-02-09 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:08:03] Production.INFO: ==25887== Lock acquired, processing the job...
[2025-02-09 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435116') start
[2025-02-09 06:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:08:03] Production.INFO: ==25889== Lock acquired, processing the job...
[2025-02-09 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:08:03] Production.INFO: Account Balance Start.
[2025-02-09 06:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:08:03] Production.INFO: 117
[2025-02-09 06:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:08:03] Production.INFO: ==25883== Releasing lock...
[2025-02-09 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435116') end
[2025-02-09 06:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:08:04] Production.INFO: 1
[2025-02-09 06:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:08:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:08:04] Production.INFO: Total Charge 0
[2025-02-09 06:08:04] Production.INFO: ==25891== Releasing lock...
[2025-02-09 06:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:08:04] Production.INFO: CreateAllLog End
[2025-02-09 06:08:04] Production.ERROR: done
[2025-02-09 06:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:08:04] Production.INFO: Account Balance End.
[2025-02-09 06:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:08:04] Production.INFO: ==25887== Releasing lock...
[2025-02-09 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:08:04] Production.ERROR: done
[2025-02-09 06:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:08:05
[end_date_ymd] => 2025-02-09 06:08:05
[RateCDR] => 1
)
[2025-02-09 06:08: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` >= '2025-02-09 03:08:05' and `end` < '2025-02-09 06:08: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 ,'')
[2025-02-09 06:08:12] Production.ERROR: CronJobId end10
[2025-02-09 06:08:12] Production.INFO: ==25885== Releasing lock...
[2025-02-09 06:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:08:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:08:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:08:14] Production.INFO: call_cost start
[2025-02-09 06:08:14] Production.INFO: call_cost end
[2025-02-09 06:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:08:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:08:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:08:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:08:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:08:14] Production.INFO: ==25881== Releasing lock...
[2025-02-09 06:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:08:18] Production.INFO: count ==205
[2025-02-09 06:08:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:08:05 - End Time 2025-02-09 06:08:05
[2025-02-09 06:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435119', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435119', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435119', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435119', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:08:18] Production.INFO: ProcessCDR(1,14435119,1,1,2)
[2025-02-09 06:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435119', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435119', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:08:21] Production.INFO: ==25889== Releasing lock...
[2025-02-09 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:08:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 11:09:02] Production.INFO: ==25952== Lock acquired, processing the job...
[2025-02-09 11:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:09:02] Production.INFO: neon service started
[2025-02-09 11:09:02] Production.INFO: neon service started
[2025-02-09 11:09:02] Production.INFO: ==25952== Releasing lock...
[2025-02-09 11:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:09:02] Production.INFO: ==25954== Lock acquired, processing the job...
[2025-02-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:09:02] Production.INFO: ==25956== Lock acquired, processing the job...
[2025-02-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:09:02] Production.INFO: ==25954== Releasing lock...
[2025-02-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:09:02] Production.INFO: ==25956== Releasing lock...
[2025-02-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:09:03] Production.INFO: ==25958== Lock acquired, processing the job...
[2025-02-09 06:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:09:03] Production.INFO: ==25960== Lock acquired, processing the job...
[2025-02-09 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:09:03] Production.INFO: ==25962== Lock acquired, processing the job...
[2025-02-09 06:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:09:03] Production.INFO: ==25966== Lock acquired, processing the job...
[2025-02-09 06:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:09:03] Production.INFO: ==25964== Lock acquired, processing the job...
[2025-02-09 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:09:03] Production.INFO: ==25960== Releasing lock...
[2025-02-09 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:09:03] Production.INFO: ==25968== Lock acquired, processing the job...
[2025-02-09 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:09:04] Production.INFO: Account Balance Start.
[2025-02-09 06:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:09:04] Production.INFO: 117
[2025-02-09 06:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:09:04] Production.INFO: count ==21
[2025-02-09 06:09:04] Production.ERROR: done
[2025-02-09 06:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:09:04] Production.INFO: count ==21
[2025-02-09 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435123') start
[2025-02-09 06:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435123') end
[2025-02-09 06:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:09:04] Production.INFO: 1
[2025-02-09 06:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:09:04] Production.ERROR: done
[2025-02-09 06:09:04] Production.INFO: Total Charge 0
[2025-02-09 06:09:04] Production.INFO: CreateAllLog End
[2025-02-09 06:09:04] Production.INFO: ==25968== Releasing lock...
[2025-02-09 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:09:04] Production.INFO: Account Balance End.
[2025-02-09 06:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:09:04] Production.INFO: ==25964== Releasing lock...
[2025-02-09 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:09:05
[end_date_ymd] => 2025-02-09 06:09:05
[RateCDR] => 1
)
[2025-02-09 06:09: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` >= '2025-02-09 03:09:05' and `end` < '2025-02-09 06:09: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 ,'')
[2025-02-09 06:09:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-09 06:09:11] Production.ERROR: CronJobId end10
[2025-02-09 06:09:11] Production.INFO: ==25962== Releasing lock...
[2025-02-09 06:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:09:14] Production.INFO: call_cost start
[2025-02-09 06:09:14] Production.INFO: call_cost end
[2025-02-09 06:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:09:15] Production.INFO: ==25958== Releasing lock...
[2025-02-09 06:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:09:19] Production.INFO: count ==204
[2025-02-09 06:09:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:09:05 - End Time 2025-02-09 06:09:05
[2025-02-09 06:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435124', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435124', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435124', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435124', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:09:19] Production.INFO: ProcessCDR(1,14435124,1,1,2)
[2025-02-09 06:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435124', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435124', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:09:22] Production.INFO: ==25966== Releasing lock...
[2025-02-09 06:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:09:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 11:10:01] Production.INFO: ==26026== Lock acquired, processing the job...
[2025-02-09 11:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:10:01] Production.INFO: neon service started
[2025-02-09 11:10:01] Production.INFO: neon service started
[2025-02-09 11:10:01] Production.INFO: ==26026== Releasing lock...
[2025-02-09 11:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:10:01] Production.INFO: ==26028== Lock acquired, processing the job...
[2025-02-09 06:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:10:02] Production.INFO: ==26028== Releasing lock...
[2025-02-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:10:02] Production.INFO: ==26030== Lock acquired, processing the job...
[2025-02-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:10:02] Production.INFO: ==26030== Releasing lock...
[2025-02-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:10:03] Production.INFO: ==26037== Lock acquired, processing the job...
[2025-02-09 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:10:03] Production.INFO: ==26043== Lock acquired, processing the job...
[2025-02-09 06:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:10:03] Production.INFO: ==26032== Lock acquired, processing the job...
[2025-02-09 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 06:10:03] Production.INFO: ==26047== Lock acquired, processing the job...
[2025-02-09 06:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:10:03] Production.INFO: ==26034== Lock acquired, processing the job...
[2025-02-09 06:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:10:03] Production.INFO: ==26039== Lock acquired, processing the job...
[2025-02-09 06:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 06:10:03] Production.ERROR: CronJob PID - 26034
[2025-02-09 06:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 06:10:03] Production.ERROR: CronJob ID - 5
[2025-02-09 06:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 06:10:00
[2025-02-09 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 06:10:03] Production.ERROR: CronJob PID - 26037
[2025-02-09 06:10:03] Production.ERROR: CronJob Title - Account Block
[2025-02-09 06:10:03] Production.ERROR: CronJob ID - 7
[2025-02-09 06:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 06:10:00
[2025-02-09 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 06:10:03] Production.ERROR: CronJob PID - 26043
[2025-02-09 06:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 06:10:03] Production.ERROR: CronJob ID - 16
[2025-02-09 06:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 06:10:00
[2025-02-09 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 06:10:03] Production.ERROR: CronJob PID - 26047
[2025-02-09 06:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 06:10:03] Production.ERROR: CronJob ID - 19
[2025-02-09 06:10:03] Production.INFO: ==26041== Lock acquired, processing the job...
[2025-02-09 06:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 06:10:00
[2025-02-09 06:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 06:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:10:03] Production.INFO: ==26045== Lock acquired, processing the job...
[2025-02-09 06:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 06:10:03] Production.INFO: count ==21
[2025-02-09 06:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 06:10:03] Production.INFO: ==26032== Releasing lock...
[2025-02-09 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 06:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:10:03] Production.INFO: ==26037== Releasing lock...
[2025-02-09 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:10:03] Production.INFO: count ==21
[2025-02-09 06:10:03] Production.INFO: Account Balance Start.
[2025-02-09 06:10:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435127') start
[2025-02-09 06:10:03] Production.INFO: 117
[2025-02-09 06:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:10:04] Production.ERROR: done
[2025-02-09 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435127') end
[2025-02-09 06:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:10:04] Production.INFO: 1
[2025-02-09 06:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:10:04] Production.INFO: ==26047== Releasing lock...
[2025-02-09 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:10:04] Production.INFO: Total Charge 0
[2025-02-09 06:10:04] Production.INFO: CreateAllLog End
[2025-02-09 06:10:04] Production.ERROR: done
[2025-02-09 06:10:04] Production.ERROR: done
[2025-02-09 06:10:04] Production.INFO: Account Balance End.
[2025-02-09 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435130', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 06:10:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:10:04] Production.INFO: ==26041== Releasing lock...
[2025-02-09 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:10:05
[end_date_ymd] => 2025-02-09 06:10:05
[RateCDR] => 1
)
[2025-02-09 06:10: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` >= '2025-02-09 03:10:05' and `end` < '2025-02-09 06:10: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 ,'')
[2025-02-09 06:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435130', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 06:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 06:10:08] Production.INFO: ProcessCDR(1,14435130,1,1,2)
[2025-02-09 06:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435130,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435130,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:10:09] Production.INFO: ==26045== Releasing lock...
[2025-02-09 06:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 06:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 06:10:13] Production.ERROR: CronJobId end10
[2025-02-09 06:10:13] Production.INFO: ==26039== Releasing lock...
[2025-02-09 06:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:10:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:10:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:10:15] Production.INFO: call_cost start
[2025-02-09 06:10:15] Production.INFO: call_cost end
[2025-02-09 06:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:10:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:10:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:10:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:10:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:10:16] Production.INFO: ==26034== Releasing lock...
[2025-02-09 06:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:10:18] Production.INFO: count ==202
[2025-02-09 06:10:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:10:05 - End Time 2025-02-09 06:10:05
[2025-02-09 06:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435129', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435129', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435129', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435129', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:10:18] Production.INFO: ProcessCDR(1,14435129,1,1,2)
[2025-02-09 06:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435129', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435129', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:10:21] Production.INFO: ==26043== Releasing lock...
[2025-02-09 06:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:10:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:11:01] Production.INFO: ==26103== Lock acquired, processing the job...
[2025-02-09 11:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:11:01] Production.INFO: neon service started
[2025-02-09 11:11:01] Production.INFO: neon service started
[2025-02-09 11:11:01] Production.INFO: ==26103== Releasing lock...
[2025-02-09 11:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:11:02] Production.INFO: ==26105== Lock acquired, processing the job...
[2025-02-09 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:11:02] Production.INFO: ==26107== Lock acquired, processing the job...
[2025-02-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:11:02] Production.INFO: ==26107== Releasing lock...
[2025-02-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:11:02] Production.INFO: ==26105== Releasing lock...
[2025-02-09 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:11:03] Production.INFO: ==26116== Lock acquired, processing the job...
[2025-02-09 06:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:11:03] Production.INFO: Account Balance Start.
[2025-02-09 06:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:11:03] Production.INFO: 117
[2025-02-09 06:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:11:03] Production.INFO: ==26120== Lock acquired, processing the job...
[2025-02-09 06:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:11:03] Production.INFO: ==26110== Lock acquired, processing the job...
[2025-02-09 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:11:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:11:03] Production.INFO: ==26112== Lock acquired, processing the job...
[2025-02-09 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:11:03] Production.INFO: Total Charge 0
[2025-02-09 06:11:03] Production.INFO: CreateAllLog End
[2025-02-09 06:11:03] Production.INFO: ==26118== Lock acquired, processing the job...
[2025-02-09 06:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:11:03] Production.INFO: ==26114== Lock acquired, processing the job...
[2025-02-09 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:11:04] Production.INFO: count ==21
[2025-02-09 06:11:04] Production.INFO: Account Balance End.
[2025-02-09 06:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:11:04] Production.INFO: count ==21
[2025-02-09 06:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:11:04] Production.INFO: ==26116== Releasing lock...
[2025-02-09 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435132') start
[2025-02-09 06:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435132') end
[2025-02-09 06:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:11:04] Production.INFO: 1
[2025-02-09 06:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:11:04] Production.INFO: ==26120== Releasing lock...
[2025-02-09 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:11:04] Production.INFO: ==26112== Releasing lock...
[2025-02-09 06:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:11:04] Production.ERROR: done
[2025-02-09 06:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:11:04] Production.ERROR: done
[2025-02-09 06:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:11:05
[end_date_ymd] => 2025-02-09 06:11:05
[RateCDR] => 1
)
[2025-02-09 06:11: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` >= '2025-02-09 03:11:05' and `end` < '2025-02-09 06:11: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 ,'')
[2025-02-09 06:11:11] Production.ERROR: CronJobId end10
[2025-02-09 06:11:11] Production.INFO: ==26114== Releasing lock...
[2025-02-09 06:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:11:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:11:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:11:14] Production.INFO: call_cost start
[2025-02-09 06:11:14] Production.INFO: call_cost end
[2025-02-09 06:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:11:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:11:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:11:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:11:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:11:15] Production.INFO: ==26110== Releasing lock...
[2025-02-09 06:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:11:18] Production.INFO: count ==182
[2025-02-09 06:11:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:11:05 - End Time 2025-02-09 06:11:05
[2025-02-09 06:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435135', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435135', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435135', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435135', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:11:18] Production.INFO: ProcessCDR(1,14435135,1,1,2)
[2025-02-09 06:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435135', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435135', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:11:21] Production.INFO: ==26118== Releasing lock...
[2025-02-09 06:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:11:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:12:01] Production.INFO: ==26177== Lock acquired, processing the job...
[2025-02-09 11:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:12:01] Production.INFO: neon service started
[2025-02-09 11:12:01] Production.INFO: neon service started
[2025-02-09 11:12:01] Production.INFO: ==26177== Releasing lock...
[2025-02-09 11:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:12:01] Production.INFO: ==26181== Lock acquired, processing the job...
[2025-02-09 11:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:12:01] Production.INFO: ==26181== Releasing lock...
[2025-02-09 11:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:12:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:12:01] Production.INFO: ==26179== Lock acquired, processing the job...
[2025-02-09 06:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:12:02] Production.INFO: ==26179== Releasing lock...
[2025-02-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:12:02] Production.INFO: ==26184== Lock acquired, processing the job...
[2025-02-09 06:12:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:12:02] Production.INFO: ==26186== Lock acquired, processing the job...
[2025-02-09 06:12:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:12:02] Production.INFO: ==26188== Lock acquired, processing the job...
[2025-02-09 06:12:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:12:03] Production.INFO: ==26190== Lock acquired, processing the job...
[2025-02-09 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:12:03] Production.INFO: ==26186== Releasing lock...
[2025-02-09 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:12:03] Production.INFO: ==26194== Lock acquired, processing the job...
[2025-02-09 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:12:03] Production.INFO: ==26192== Lock acquired, processing the job...
[2025-02-09 06:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:12:03] Production.INFO: Account Balance Start.
[2025-02-09 06:12:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:12:03] Production.INFO: 117
[2025-02-09 06:12:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:12:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:12:03] Production.INFO: count ==21
[2025-02-09 06:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:12:03] Production.INFO: count ==21
[2025-02-09 06:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435139') start
[2025-02-09 06:12:03] Production.INFO: Total Charge 0
[2025-02-09 06:12:03] Production.INFO: CreateAllLog End
[2025-02-09 06:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435139') end
[2025-02-09 06:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:12:03] Production.INFO: 1
[2025-02-09 06:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:12:03] Production.INFO: ==26194== Releasing lock...
[2025-02-09 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:12:03] Production.INFO: Account Balance End.
[2025-02-09 06:12:03] Production.ERROR: done
[2025-02-09 06:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:12:03] Production.ERROR: CronJobId end 12
[2025-02-09 06:12:03] Production.INFO: ==26190== Releasing lock...
[2025-02-09 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:12:04] Production.ERROR: done
[2025-02-09 06:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:12:04
[end_date_ymd] => 2025-02-09 06:12:04
[RateCDR] => 1
)
[2025-02-09 06:12:04] 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-02-09 03:12:04' and `end` < '2025-02-09 06:12:04'
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-02-09 06:12:11] Production.ERROR: CronJobId end10
[2025-02-09 06:12:11] Production.INFO: ==26188== Releasing lock...
[2025-02-09 06:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:12:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:12:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:12:13] Production.INFO: call_cost start
[2025-02-09 06:12:13] Production.INFO: call_cost end
[2025-02-09 06:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:12:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:12:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:12:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:12:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:12:14] Production.INFO: ==26184== Releasing lock...
[2025-02-09 06:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:12:17] Production.INFO: count ==182
[2025-02-09 06:12:17] Production.ERROR: pbx CDR StartTime 2025-02-09 03:12:04 - End Time 2025-02-09 06:12:04
[2025-02-09 06:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435140', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435140', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435140', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435140', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:12:17] Production.INFO: ProcessCDR(1,14435140,1,1,2)
[2025-02-09 06:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435140', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435140', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:12:21] Production.INFO: ==26192== Releasing lock...
[2025-02-09 06:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:12:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:13:01] Production.INFO: ==26246== Lock acquired, processing the job...
[2025-02-09 11:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:13:01] Production.INFO: neon service started
[2025-02-09 11:13:01] Production.INFO: neon service started
[2025-02-09 11:13:01] Production.INFO: ==26246== Releasing lock...
[2025-02-09 11:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:13:02] Production.INFO: ==26251== Lock acquired, processing the job...
[2025-02-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:13:02] Production.INFO: ==26251== Releasing lock...
[2025-02-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:13:02] Production.INFO: ==26249== Lock acquired, processing the job...
[2025-02-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:13:02] Production.INFO: ==26249== Releasing lock...
[2025-02-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:13:03] Production.INFO: ==26253== Lock acquired, processing the job...
[2025-02-09 06:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:13:03] Production.INFO: ==26257== Lock acquired, processing the job...
[2025-02-09 06:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:13:03] Production.INFO: ==26259== Lock acquired, processing the job...
[2025-02-09 06:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:13:03] Production.INFO: ==26255== Lock acquired, processing the job...
[2025-02-09 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:13:03] Production.INFO: Account Balance Start.
[2025-02-09 06:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:13:03] Production.INFO: 117
[2025-02-09 06:13:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:13:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:13:03] Production.INFO: Total Charge 0
[2025-02-09 06:13:03] Production.INFO: ==26261== Lock acquired, processing the job...
[2025-02-09 06:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:13:03] Production.INFO: CreateAllLog End
[2025-02-09 06:13:03] Production.INFO: ==26263== Lock acquired, processing the job...
[2025-02-09 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:13:03] Production.INFO: count ==21
[2025-02-09 06:13:04] Production.INFO: ==26255== Releasing lock...
[2025-02-09 06:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:13:04] Production.INFO: count ==21
[2025-02-09 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435144') start
[2025-02-09 06:13:04] Production.INFO: Account Balance End.
[2025-02-09 06:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435144') end
[2025-02-09 06:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:13:04] Production.INFO: ==26259== Releasing lock...
[2025-02-09 06:13:04] Production.INFO: 1
[2025-02-09 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:13:04] Production.ERROR: done
[2025-02-09 06:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:13:04] Production.INFO: ==26263== Releasing lock...
[2025-02-09 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:13:04] Production.ERROR: done
[2025-02-09 06:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:13:05
[end_date_ymd] => 2025-02-09 06:13:05
[RateCDR] => 1
)
[2025-02-09 06:13: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` >= '2025-02-09 03:13:05' and `end` < '2025-02-09 06:13: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 ,'')
[2025-02-09 06:13:11] Production.ERROR: CronJobId end10
[2025-02-09 06:13:11] Production.INFO: ==26257== Releasing lock...
[2025-02-09 06:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:13:13] Production.INFO: call_cost start
[2025-02-09 06:13:13] Production.INFO: call_cost end
[2025-02-09 06:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:13:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:13:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:13:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:13:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:13:14] Production.INFO: ==26253== Releasing lock...
[2025-02-09 06:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:13:19] Production.INFO: count ==181
[2025-02-09 06:13:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:13:05 - End Time 2025-02-09 06:13:05
[2025-02-09 06:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435145', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435145', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435145', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435145', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:13:19] Production.INFO: ProcessCDR(1,14435145,1,1,2)
[2025-02-09 06:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435145', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435145', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:13:21] Production.INFO: ==26261== Releasing lock...
[2025-02-09 06:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:13:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:14:02] Production.INFO: ==26320== Lock acquired, processing the job...
[2025-02-09 11:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:14:02] Production.INFO: neon service started
[2025-02-09 11:14:02] Production.INFO: neon service started
[2025-02-09 11:14:02] Production.INFO: ==26320== Releasing lock...
[2025-02-09 11:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:14:02] Production.INFO: ==26324== Lock acquired, processing the job...
[2025-02-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:14:02] Production.INFO: ==26324== Releasing lock...
[2025-02-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:14:02] Production.INFO: ==26322== Lock acquired, processing the job...
[2025-02-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:14:03] Production.INFO: ==26322== Releasing lock...
[2025-02-09 06:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:14:03] Production.INFO: ==26327== Lock acquired, processing the job...
[2025-02-09 06:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:14:03] Production.INFO: ==26329== Lock acquired, processing the job...
[2025-02-09 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:14:04] Production.INFO: ==26335== Lock acquired, processing the job...
[2025-02-09 06:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:14:04] Production.INFO: ==26329== Releasing lock...
[2025-02-09 06:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:14:04] Production.INFO: ==26331== Lock acquired, processing the job...
[2025-02-09 06:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:14:04] Production.INFO: ==26333== Lock acquired, processing the job...
[2025-02-09 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:14:04] Production.INFO: ==26337== Lock acquired, processing the job...
[2025-02-09 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:14:04] Production.INFO: Account Balance Start.
[2025-02-09 06:14:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:14:04] Production.INFO: 117
[2025-02-09 06:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:14:04] Production.ERROR: done
[2025-02-09 06:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:14:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:14:04] Production.INFO: count ==21
[2025-02-09 06:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:14:04] Production.INFO: count ==21
[2025-02-09 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435149') start
[2025-02-09 06:14:04] Production.ERROR: done
[2025-02-09 06:14:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:14:04] Production.INFO: Total Charge 0
[2025-02-09 06:14:04] Production.INFO: CreateAllLog End
[2025-02-09 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435149') end
[2025-02-09 06:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:14:04] Production.INFO: 1
[2025-02-09 06:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:14:04] Production.INFO: ==26337== Releasing lock...
[2025-02-09 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:14:05] Production.INFO: Account Balance End.
[2025-02-09 06:14:05] Production.ERROR: CronJobId end 12
[2025-02-09 06:14:05] Production.INFO: ==26333== Releasing lock...
[2025-02-09 06:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:14:05
[end_date_ymd] => 2025-02-09 06:14:05
[RateCDR] => 1
)
[2025-02-09 06:14: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` >= '2025-02-09 03:14:05' and `end` < '2025-02-09 06:14: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 ,'')
[2025-02-09 06:14:11] Production.ERROR: CronJobId end10
[2025-02-09 06:14:11] Production.INFO: ==26331== Releasing lock...
[2025-02-09 06:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:14:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:14:14] Production.INFO: call_cost start
[2025-02-09 06:14:14] Production.INFO: call_cost end
[2025-02-09 06:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:14:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:14:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:14:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:14:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:14:15] Production.INFO: ==26327== Releasing lock...
[2025-02-09 06:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:14:18] Production.INFO: count ==180
[2025-02-09 06:14:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:14:05 - End Time 2025-02-09 06:14:05
[2025-02-09 06:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435150', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435150', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435150', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435150', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:14:18] Production.INFO: ProcessCDR(1,14435150,1,1,2)
[2025-02-09 06:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435150', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435150', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:14:21] Production.INFO: ==26335== Releasing lock...
[2025-02-09 06:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:14:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:15:01] Production.INFO: ==26391== Lock acquired, processing the job...
[2025-02-09 11:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:15:01] Production.INFO: neon service started
[2025-02-09 11:15:01] Production.INFO: neon service started
[2025-02-09 11:15:01] Production.INFO: ==26391== Releasing lock...
[2025-02-09 11:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:15:02] Production.INFO: ==26393== Lock acquired, processing the job...
[2025-02-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:15:02] Production.INFO: ==26393== Releasing lock...
[2025-02-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:15:02] Production.INFO: ==26395== Lock acquired, processing the job...
[2025-02-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:15:02] Production.INFO: ==26395== Releasing lock...
[2025-02-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:15:03] Production.INFO: ==26402== Lock acquired, processing the job...
[2025-02-09 06:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:15:03] Production.INFO: ==26400== Lock acquired, processing the job...
[2025-02-09 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:15:03] Production.INFO: ==26408== Lock acquired, processing the job...
[2025-02-09 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:15:03] Production.INFO: ==26398== Lock acquired, processing the job...
[2025-02-09 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:15:03] Production.INFO: ==26404== Lock acquired, processing the job...
[2025-02-09 06:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:15:03] Production.INFO: count ==21
[2025-02-09 06:15:03] Production.INFO: ==26406== Lock acquired, processing the job...
[2025-02-09 06:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:15:03] Production.INFO: count ==21
[2025-02-09 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435151') start
[2025-02-09 06:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:15:03] Production.INFO: Account Balance Start.
[2025-02-09 06:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:15:03] Production.INFO: 117
[2025-02-09 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435151') end
[2025-02-09 06:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:15:03] Production.INFO: 1
[2025-02-09 06:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:15:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:15:03] Production.INFO: Total Charge 0
[2025-02-09 06:15:03] Production.INFO: ==26408== Releasing lock...
[2025-02-09 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:15:03] Production.INFO: CreateAllLog End
[2025-02-09 06:15:03] Production.INFO: ==26400== Releasing lock...
[2025-02-09 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:15:03] Production.ERROR: done
[2025-02-09 06:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:15:04] Production.ERROR: done
[2025-02-09 06:15:04] Production.INFO: Account Balance End.
[2025-02-09 06:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:15:04] Production.INFO: ==26404== Releasing lock...
[2025-02-09 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:15:05
[end_date_ymd] => 2025-02-09 06:15:05
[RateCDR] => 1
)
[2025-02-09 06:15: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` >= '2025-02-09 03:15:05' and `end` < '2025-02-09 06:15: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 ,'')
[2025-02-09 06:15:11] Production.ERROR: CronJobId end10
[2025-02-09 06:15:11] Production.INFO: ==26402== Releasing lock...
[2025-02-09 06:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:15:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:15:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:15:14] Production.INFO: call_cost start
[2025-02-09 06:15:14] Production.INFO: call_cost end
[2025-02-09 06:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:15:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:15:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:15:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:15:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:15:15] Production.INFO: ==26398== Releasing lock...
[2025-02-09 06:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:15:17] Production.INFO: count ==180
[2025-02-09 06:15:17] Production.ERROR: pbx CDR StartTime 2025-02-09 03:15:05 - End Time 2025-02-09 06:15:05
[2025-02-09 06:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435155', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435155', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435155', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435155', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:15:18] Production.INFO: ProcessCDR(1,14435155,1,1,2)
[2025-02-09 06:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435155', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435155', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:15:21] Production.INFO: ==26406== Releasing lock...
[2025-02-09 06:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:16:02] Production.INFO: ==26465== Lock acquired, processing the job...
[2025-02-09 11:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:16:02] Production.INFO: neon service started
[2025-02-09 11:16:02] Production.INFO: neon service started
[2025-02-09 11:16:02] Production.INFO: ==26465== Releasing lock...
[2025-02-09 11:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:16:02] Production.INFO: ==26467== Lock acquired, processing the job...
[2025-02-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:16:02] Production.INFO: ==26469== Lock acquired, processing the job...
[2025-02-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:16:02] Production.INFO: ==26469== Releasing lock...
[2025-02-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:16:03] Production.INFO: ==26467== Releasing lock...
[2025-02-09 06:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:16:03] Production.INFO: ==26472== Lock acquired, processing the job...
[2025-02-09 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:16:03] Production.INFO: ==26476== Lock acquired, processing the job...
[2025-02-09 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:16:04] Production.INFO: ==26474== Lock acquired, processing the job...
[2025-02-09 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:16:04] Production.INFO: ==26478== Lock acquired, processing the job...
[2025-02-09 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:16:04] Production.INFO: ==26482== Lock acquired, processing the job...
[2025-02-09 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:16:04] Production.INFO: ==26480== Lock acquired, processing the job...
[2025-02-09 06:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:16:04] Production.INFO: Account Balance Start.
[2025-02-09 06:16:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:16:04] Production.INFO: 117
[2025-02-09 06:16:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:16:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:16:04] Production.INFO: Total Charge 0
[2025-02-09 06:16:04] Production.INFO: count ==21
[2025-02-09 06:16:04] Production.INFO: CreateAllLog End
[2025-02-09 06:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:16:04] Production.INFO: count ==21
[2025-02-09 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435159') start
[2025-02-09 06:16:04] Production.INFO: ==26474== Releasing lock...
[2025-02-09 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435159') end
[2025-02-09 06:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:16:04] Production.INFO: 1
[2025-02-09 06:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:16:04] Production.INFO: ==26482== Releasing lock...
[2025-02-09 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:16:05] Production.ERROR: done
[2025-02-09 06:16:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:16:05] Production.INFO: Account Balance End.
[2025-02-09 06:16:05] Production.ERROR: CronJobId end 12
[2025-02-09 06:16:05] Production.INFO: ==26478== Releasing lock...
[2025-02-09 06:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:16:05] Production.ERROR: done
[2025-02-09 06:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:16:06
[end_date_ymd] => 2025-02-09 06:16:06
[RateCDR] => 1
)
[2025-02-09 06:16: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-02-09 03:16:06' and `end` < '2025-02-09 06:16: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-02-09 06:16:12] Production.ERROR: CronJobId end10
[2025-02-09 06:16:12] Production.INFO: ==26476== Releasing lock...
[2025-02-09 06:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:16:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:16:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:16:14] Production.INFO: call_cost start
[2025-02-09 06:16:14] Production.INFO: call_cost end
[2025-02-09 06:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:16:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:16:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:16:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:16:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:16:15] Production.INFO: ==26472== Releasing lock...
[2025-02-09 06:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:16:19] Production.INFO: count ==180
[2025-02-09 06:16:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:16:06 - End Time 2025-02-09 06:16:06
[2025-02-09 06:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435160', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435160', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435160', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435160', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:16:19] Production.INFO: ProcessCDR(1,14435160,1,1,2)
[2025-02-09 06:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435160', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435160', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:16:22] Production.INFO: ==26480== Releasing lock...
[2025-02-09 06:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:16:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:17:01] Production.INFO: ==26574== Lock acquired, processing the job...
[2025-02-09 11:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:17:01] Production.INFO: neon service started
[2025-02-09 11:17:01] Production.INFO: neon service started
[2025-02-09 11:17:01] Production.INFO: ==26574== Releasing lock...
[2025-02-09 11:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:17:01] Production.INFO: ==26577== Lock acquired, processing the job...
[2025-02-09 06:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:17:02] Production.INFO: ==26577== Releasing lock...
[2025-02-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:17:02] Production.INFO: ==26579== Lock acquired, processing the job...
[2025-02-09 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:17:02] Production.INFO: ==26579== Releasing lock...
[2025-02-09 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:17:03] Production.INFO: ==26585== Lock acquired, processing the job...
[2025-02-09 06:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:17:03] Production.INFO: ==26581== Lock acquired, processing the job...
[2025-02-09 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:17:03] Production.INFO: ==26583== Lock acquired, processing the job...
[2025-02-09 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:17:03] Production.INFO: ==26592== Lock acquired, processing the job...
[2025-02-09 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:17:03] Production.INFO: ==26587== Lock acquired, processing the job...
[2025-02-09 06:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:17:03] Production.INFO: ==26590== Lock acquired, processing the job...
[2025-02-09 06:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:17:03] Production.INFO: count ==21
[2025-02-09 06:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:17:03] Production.INFO: count ==21
[2025-02-09 06:17:03] Production.INFO: Account Balance Start.
[2025-02-09 06:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:17:03] Production.INFO: 117
[2025-02-09 06:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435163') start
[2025-02-09 06:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:17:03] Production.INFO: ==26583== Releasing lock...
[2025-02-09 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435163') end
[2025-02-09 06:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:17:03] Production.INFO: 1
[2025-02-09 06:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:17:03] Production.INFO: Total Charge 0
[2025-02-09 06:17:03] Production.INFO: CreateAllLog End
[2025-02-09 06:17:03] Production.INFO: ==26592== Releasing lock...
[2025-02-09 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:17:03] Production.ERROR: done
[2025-02-09 06:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:17:04] Production.INFO: Account Balance End.
[2025-02-09 06:17:04] Production.ERROR: done
[2025-02-09 06:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:17:04] Production.INFO: ==26587== Releasing lock...
[2025-02-09 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:17:05
[end_date_ymd] => 2025-02-09 06:17:05
[RateCDR] => 1
)
[2025-02-09 06:17: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` >= '2025-02-09 03:17:05' and `end` < '2025-02-09 06:17: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 ,'')
[2025-02-09 06:17:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-02-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-09 06:17:11] Production.ERROR: CronJobId end10
[2025-02-09 06:17:11] Production.INFO: ==26585== Releasing lock...
[2025-02-09 06:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:17:14] Production.INFO: call_cost start
[2025-02-09 06:17:14] Production.INFO: call_cost end
[2025-02-09 06:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:17:15] Production.INFO: ==26581== Releasing lock...
[2025-02-09 06:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:17:18] Production.INFO: count ==177
[2025-02-09 06:17:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:17:05 - End Time 2025-02-09 06:17:05
[2025-02-09 06:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435165', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435165', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435165', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435165', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:17:18] Production.INFO: ProcessCDR(1,14435165,1,1,2)
[2025-02-09 06:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435165', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435165', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:17:21] Production.INFO: ==26590== Releasing lock...
[2025-02-09 06:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:17:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:18:02] Production.INFO: ==26647== Lock acquired, processing the job...
[2025-02-09 11:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:18:02] Production.INFO: neon service started
[2025-02-09 11:18:02] Production.INFO: neon service started
[2025-02-09 11:18:02] Production.INFO: ==26647== Releasing lock...
[2025-02-09 11:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:18:02] Production.INFO: ==26651== Lock acquired, processing the job...
[2025-02-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:18:02] Production.INFO: ==26651== Releasing lock...
[2025-02-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:18:02] Production.INFO: ==26649== Lock acquired, processing the job...
[2025-02-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:18:02] Production.INFO: ==26649== Releasing lock...
[2025-02-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:18:03] Production.INFO: ==26654== Lock acquired, processing the job...
[2025-02-09 06:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:18:03] Production.INFO: ==26656== Lock acquired, processing the job...
[2025-02-09 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:18:03] Production.INFO: ==26658== Lock acquired, processing the job...
[2025-02-09 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:18:03] Production.INFO: ==26660== Lock acquired, processing the job...
[2025-02-09 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:18:03] Production.INFO: Account Balance Start.
[2025-02-09 06:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:18:03] Production.INFO: 117
[2025-02-09 06:18:03] Production.INFO: ==26656== Releasing lock...
[2025-02-09 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:18:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:18:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:18:04] Production.INFO: ==26662== Lock acquired, processing the job...
[2025-02-09 06:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:18:04] Production.INFO: Total Charge 0
[2025-02-09 06:18:04] Production.INFO: CreateAllLog End
[2025-02-09 06:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:18:04] Production.INFO: ==26664== Lock acquired, processing the job...
[2025-02-09 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:18:04] Production.INFO: Account Balance End.
[2025-02-09 06:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:18:04] Production.INFO: count ==21
[2025-02-09 06:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:18:04] Production.INFO: ==26660== Releasing lock...
[2025-02-09 06:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:18:04] Production.INFO: count ==21
[2025-02-09 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435169') start
[2025-02-09 06:18:04] Production.ERROR: done
[2025-02-09 06:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435169') end
[2025-02-09 06:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:18:04] Production.INFO: 1
[2025-02-09 06:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:18:04] Production.INFO: ==26664== Releasing lock...
[2025-02-09 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:18:04] Production.ERROR: done
[2025-02-09 06:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:18:05
[end_date_ymd] => 2025-02-09 06:18:05
[RateCDR] => 1
)
[2025-02-09 06:18: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` >= '2025-02-09 03:18:05' and `end` < '2025-02-09 06:18: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 ,'')
[2025-02-09 06:18:11] Production.ERROR: CronJobId end10
[2025-02-09 06:18:11] Production.INFO: ==26658== Releasing lock...
[2025-02-09 06:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:18:13] Production.INFO: call_cost start
[2025-02-09 06:18:13] Production.INFO: call_cost end
[2025-02-09 06:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:18:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:18:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:18:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:18:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:18:14] Production.INFO: ==26654== Releasing lock...
[2025-02-09 06:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:18:19] Production.INFO: count ==176
[2025-02-09 06:18:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:18:05 - End Time 2025-02-09 06:18:05
[2025-02-09 06:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435170', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435170', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435170', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435170', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:18:19] Production.INFO: ProcessCDR(1,14435170,1,1,2)
[2025-02-09 06:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435170', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435170', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:18:22] Production.INFO: ==26662== Releasing lock...
[2025-02-09 06:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:18:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:19:01] Production.INFO: ==26719== Lock acquired, processing the job...
[2025-02-09 11:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:19:01] Production.INFO: neon service started
[2025-02-09 11:19:01] Production.INFO: neon service started
[2025-02-09 11:19:01] Production.INFO: ==26719== Releasing lock...
[2025-02-09 11:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:19:01] Production.INFO: ==26721== Lock acquired, processing the job...
[2025-02-09 06:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:19:02] Production.INFO: ==26721== Releasing lock...
[2025-02-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:19:02] Production.INFO: ==26723== Lock acquired, processing the job...
[2025-02-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:19:02] Production.INFO: ==26723== Releasing lock...
[2025-02-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:19:03] Production.INFO: ==26727== Lock acquired, processing the job...
[2025-02-09 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:19:03] Production.INFO: ==26725== Lock acquired, processing the job...
[2025-02-09 06:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:19:03] Production.INFO: ==26731== Lock acquired, processing the job...
[2025-02-09 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:19:03] Production.INFO: ==26729== Lock acquired, processing the job...
[2025-02-09 06:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:19:03] Production.INFO: ==26733== Lock acquired, processing the job...
[2025-02-09 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:19:03] Production.INFO: ==26735== Lock acquired, processing the job...
[2025-02-09 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:19:03] Production.INFO: Account Balance Start.
[2025-02-09 06:19:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:19:03] Production.INFO: 117
[2025-02-09 06:19:03] Production.INFO: ==26727== Releasing lock...
[2025-02-09 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:19:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:19:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:19:03] Production.INFO: Total Charge 0
[2025-02-09 06:19:03] Production.INFO: count ==21
[2025-02-09 06:19:03] Production.INFO: CreateAllLog End
[2025-02-09 06:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:19:03] Production.INFO: count ==21
[2025-02-09 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435174') start
[2025-02-09 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435174') end
[2025-02-09 06:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:19:03] Production.INFO: 1
[2025-02-09 06:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:19:03] Production.INFO: ==26735== Releasing lock...
[2025-02-09 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:19:03] Production.ERROR: done
[2025-02-09 06:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:19:04] Production.ERROR: done
[2025-02-09 06:19:04] Production.INFO: Account Balance End.
[2025-02-09 06:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:19:04] Production.INFO: ==26731== Releasing lock...
[2025-02-09 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:19:05
[end_date_ymd] => 2025-02-09 06:19:05
[RateCDR] => 1
)
[2025-02-09 06:19: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` >= '2025-02-09 03:19:05' and `end` < '2025-02-09 06:19: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 ,'')
[2025-02-09 06:19:12] Production.ERROR: CronJobId end10
[2025-02-09 06:19:12] Production.INFO: ==26729== Releasing lock...
[2025-02-09 06:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:19:13] Production.INFO: call_cost start
[2025-02-09 06:19:13] Production.INFO: call_cost end
[2025-02-09 06:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:19:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:19:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:19:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:19:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:19:14] Production.INFO: ==26725== Releasing lock...
[2025-02-09 06:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:19:18] Production.INFO: count ==174
[2025-02-09 06:19:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:19:05 - End Time 2025-02-09 06:19:05
[2025-02-09 06:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435175', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435175', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435175', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435175', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:19:18] Production.INFO: ProcessCDR(1,14435175,1,1,2)
[2025-02-09 06:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435175', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435175', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:19:21] Production.INFO: ==26733== Releasing lock...
[2025-02-09 06:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:19:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:20:01] Production.INFO: ==26794== Lock acquired, processing the job...
[2025-02-09 11:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:20:01] Production.INFO: neon service started
[2025-02-09 11:20:01] Production.INFO: neon service started
[2025-02-09 11:20:01] Production.INFO: ==26794== Releasing lock...
[2025-02-09 11:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:20:02] Production.INFO: ==26796== Lock acquired, processing the job...
[2025-02-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:20:02] Production.INFO: ==26796== Releasing lock...
[2025-02-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:20:02] Production.INFO: ==26798== Lock acquired, processing the job...
[2025-02-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:20:03] Production.INFO: ==26798== Releasing lock...
[2025-02-09 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:20:03] Production.INFO: 26 MB #Memory Used#
[2025-02-09 06:20:03] Production.INFO: ==26800== Lock acquired, processing the job...
[2025-02-09 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 06:20:03] Production.INFO: ==26802== Lock acquired, processing the job...
[2025-02-09 06:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 06:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 06:20:03] Production.INFO: ==26800== Releasing lock...
[2025-02-09 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 06:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 06:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:20:04] Production.INFO: ==26804== Lock acquired, processing the job...
[2025-02-09 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:20:04] Production.INFO: ==26806== Lock acquired, processing the job...
[2025-02-09 06:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:20:04] Production.INFO: ==26810== Lock acquired, processing the job...
[2025-02-09 06:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:20:04] Production.INFO: ==26808== Lock acquired, processing the job...
[2025-02-09 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:20:04] Production.INFO: ==26812== Lock acquired, processing the job...
[2025-02-09 06:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 06:20:04] Production.INFO: ==26815== Lock acquired, processing the job...
[2025-02-09 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:20:04] Production.INFO: Account Balance Start.
[2025-02-09 06:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:20:04] Production.INFO: 117
[2025-02-09 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:20:04] Production.INFO: count ==21
[2025-02-09 06:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:20:04] Production.INFO: count ==21
[2025-02-09 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435179') start
[2025-02-09 06:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:20:04] Production.INFO: ==26804== Releasing lock...
[2025-02-09 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:20:04] Production.ERROR: done
[2025-02-09 06:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:20:04] Production.INFO: Total Charge 0
[2025-02-09 06:20:04] Production.INFO: CreateAllLog End
[2025-02-09 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435179') end
[2025-02-09 06:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:20:04] Production.INFO: 1
[2025-02-09 06:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:20:04] Production.INFO: ==26815== Releasing lock...
[2025-02-09 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:20:04] Production.ERROR: done
[2025-02-09 06:20:05] Production.ERROR: done
[2025-02-09 06:20:05] Production.INFO: Account Balance End.
[2025-02-09 06:20:05] Production.ERROR: CronJobId end 12
[2025-02-09 06:20:05] Production.INFO: ==26808== Releasing lock...
[2025-02-09 06:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 06:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435181', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 06:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:20:06
[end_date_ymd] => 2025-02-09 06:20:06
[RateCDR] => 1
)
[2025-02-09 06:20: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-02-09 03:20:06' and `end` < '2025-02-09 06:20: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-02-09 06:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435181', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 06:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 06:20:09] Production.INFO: ProcessCDR(1,14435181,1,1,2)
[2025-02-09 06:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435181,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435181,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:20:09] Production.INFO: ==26812== Releasing lock...
[2025-02-09 06:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 06:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 06:20:13] Production.ERROR: CronJobId end10
[2025-02-09 06:20:13] Production.INFO: ==26806== Releasing lock...
[2025-02-09 06:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:20:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:20:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:20:16] Production.INFO: call_cost start
[2025-02-09 06:20:16] Production.INFO: call_cost end
[2025-02-09 06:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:20:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:20:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:20:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:20:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:20:17] Production.INFO: ==26802== Releasing lock...
[2025-02-09 06:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:20:18] Production.INFO: count ==176
[2025-02-09 06:20:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:20:06 - End Time 2025-02-09 06:20:06
[2025-02-09 06:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435180', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435180', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435180', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435180', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:20:18] Production.INFO: ProcessCDR(1,14435180,1,1,2)
[2025-02-09 06:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435180', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435180', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:20:21] Production.INFO: ==26810== Releasing lock...
[2025-02-09 06:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:20:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:21:02] Production.INFO: ==26873== Lock acquired, processing the job...
[2025-02-09 11:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:21:02] Production.INFO: neon service started
[2025-02-09 11:21:02] Production.INFO: neon service started
[2025-02-09 11:21:02] Production.INFO: ==26873== Releasing lock...
[2025-02-09 11:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:21:03] Production.INFO: ==26875== Lock acquired, processing the job...
[2025-02-09 06:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:21:03] Production.INFO: ==26877== Lock acquired, processing the job...
[2025-02-09 11:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:21:03] Production.INFO: ==26877== Releasing lock...
[2025-02-09 11:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:21:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:21:03] Production.INFO: ==26875== Releasing lock...
[2025-02-09 06:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:21:04] Production.INFO: ==26884== Lock acquired, processing the job...
[2025-02-09 06:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:21:04] Production.INFO: ==26888== Lock acquired, processing the job...
[2025-02-09 06:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:21:04] Production.INFO: ==26880== Lock acquired, processing the job...
[2025-02-09 06:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:21:04] Production.INFO: ==26882== Lock acquired, processing the job...
[2025-02-09 06:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:21:04] Production.INFO: ==26886== Lock acquired, processing the job...
[2025-02-09 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:21:04] Production.INFO: ==26890== Lock acquired, processing the job...
[2025-02-09 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:21:04] Production.INFO: Account Balance Start.
[2025-02-09 06:21:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:21:04] Production.INFO: 117
[2025-02-09 06:21:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:21:04] Production.INFO: count ==21
[2025-02-09 06:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:21:04] Production.INFO: count ==21
[2025-02-09 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435184') start
[2025-02-09 06:21:04] Production.INFO: Total Charge 0
[2025-02-09 06:21:04] Production.INFO: CreateAllLog End
[2025-02-09 06:21:04] Production.ERROR: done
[2025-02-09 06:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435184') end
[2025-02-09 06:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:21:04] Production.INFO: 1
[2025-02-09 06:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:21:04] Production.INFO: ==26882== Releasing lock...
[2025-02-09 06:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:21:04] Production.INFO: ==26890== Releasing lock...
[2025-02-09 06:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:21:05] Production.ERROR: done
[2025-02-09 06:21:05] Production.INFO: Account Balance End.
[2025-02-09 06:21:05] Production.ERROR: CronJobId end 12
[2025-02-09 06:21:05] Production.INFO: ==26886== Releasing lock...
[2025-02-09 06:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:21:06
[end_date_ymd] => 2025-02-09 06:21:06
[RateCDR] => 1
)
[2025-02-09 06:21: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-02-09 03:21:06' and `end` < '2025-02-09 06:21: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-02-09 06:21:13] Production.ERROR: CronJobId end10
[2025-02-09 06:21:13] Production.INFO: ==26884== Releasing lock...
[2025-02-09 06:21:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:21:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:21:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:21:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:21:16] Production.INFO: call_cost start
[2025-02-09 06:21:16] Production.INFO: call_cost end
[2025-02-09 06:21:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:21:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:21:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:21:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:21:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:21:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:21:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:21:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:21:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:21:17] Production.INFO: ==26880== Releasing lock...
[2025-02-09 06:21:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:21:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:21:19] Production.INFO: count ==173
[2025-02-09 06:21:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:21:06 - End Time 2025-02-09 06:21:06
[2025-02-09 06:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435186', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435186', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435186', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435186', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:21:19] Production.INFO: ProcessCDR(1,14435186,1,1,2)
[2025-02-09 06:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435186', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435186', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:21:22] Production.INFO: ==26888== Releasing lock...
[2025-02-09 06:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:21:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:22:01] Production.INFO: ==26946== Lock acquired, processing the job...
[2025-02-09 11:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:22:01] Production.INFO: neon service started
[2025-02-09 11:22:01] Production.INFO: neon service started
[2025-02-09 11:22:01] Production.INFO: ==26946== Releasing lock...
[2025-02-09 11:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:22:02] Production.INFO: ==26948== Lock acquired, processing the job...
[2025-02-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:22:02] Production.INFO: ==26950== Lock acquired, processing the job...
[2025-02-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:22:02] Production.INFO: ==26950== Releasing lock...
[2025-02-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:22:02] Production.INFO: ==26948== Releasing lock...
[2025-02-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:22:03] Production.INFO: ==26959== Lock acquired, processing the job...
[2025-02-09 06:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:22:03] Production.INFO: ==26957== Lock acquired, processing the job...
[2025-02-09 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:22:03] Production.INFO: Account Balance Start.
[2025-02-09 06:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:22:03] Production.INFO: 117
[2025-02-09 06:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:22:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:22:04] Production.INFO: Total Charge 0
[2025-02-09 06:22:04] Production.INFO: ==26955== Lock acquired, processing the job...
[2025-02-09 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:22:04] Production.INFO: ==26953== Lock acquired, processing the job...
[2025-02-09 06:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:22:04] Production.INFO: CreateAllLog End
[2025-02-09 06:22:04] Production.INFO: ==26961== Lock acquired, processing the job...
[2025-02-09 06:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:22:04] Production.INFO: ==26963== Lock acquired, processing the job...
[2025-02-09 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:22:04] Production.INFO: Account Balance End.
[2025-02-09 06:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:22:04] Production.INFO: ==26959== Releasing lock...
[2025-02-09 06:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:22:04] Production.INFO: count ==21
[2025-02-09 06:22:04] Production.INFO: ==26955== Releasing lock...
[2025-02-09 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:22:04] Production.INFO: count ==21
[2025-02-09 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435190') start
[2025-02-09 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435190') end
[2025-02-09 06:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:22:04] Production.INFO: 1
[2025-02-09 06:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:22:04] Production.INFO: ==26963== Releasing lock...
[2025-02-09 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:22:04] Production.ERROR: done
[2025-02-09 06:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:22:04] Production.ERROR: done
[2025-02-09 06:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:22:06
[end_date_ymd] => 2025-02-09 06:22:06
[RateCDR] => 1
)
[2025-02-09 06:22: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-02-09 03:22:06' and `end` < '2025-02-09 06:22: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-02-09 06:22:12] Production.ERROR: CronJobId end10
[2025-02-09 06:22:12] Production.INFO: ==26957== Releasing lock...
[2025-02-09 06:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:22:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:22:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:22:13] Production.INFO: call_cost start
[2025-02-09 06:22:13] Production.INFO: call_cost end
[2025-02-09 06:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:22:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:22:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:22:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:22:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:22:14] Production.INFO: ==26953== Releasing lock...
[2025-02-09 06:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:22:19] Production.INFO: count ==172
[2025-02-09 06:22:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:22:06 - End Time 2025-02-09 06:22:06
[2025-02-09 06:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435191', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435191', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435191', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435191', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:22:19] Production.INFO: ProcessCDR(1,14435191,1,1,2)
[2025-02-09 06:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435191', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435191', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:22:22] Production.INFO: ==26961== Releasing lock...
[2025-02-09 06:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:22:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:23:02] Production.INFO: ==27018== Lock acquired, processing the job...
[2025-02-09 11:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:23:02] Production.INFO: neon service started
[2025-02-09 11:23:02] Production.INFO: neon service started
[2025-02-09 11:23:02] Production.INFO: ==27018== Releasing lock...
[2025-02-09 11:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:23:02] Production.INFO: ==27022== Lock acquired, processing the job...
[2025-02-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:23:02] Production.INFO: ==27022== Releasing lock...
[2025-02-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:23:03] Production.INFO: ==27020== Lock acquired, processing the job...
[2025-02-09 06:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:23:03] Production.INFO: ==27020== Releasing lock...
[2025-02-09 06:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:23:04] Production.INFO: ==27030== Lock acquired, processing the job...
[2025-02-09 06:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:23:04] Production.INFO: ==27026== Lock acquired, processing the job...
[2025-02-09 06:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:23:04] Production.INFO: ==27034== Lock acquired, processing the job...
[2025-02-09 06:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:23:04] Production.INFO: ==27032== Lock acquired, processing the job...
[2025-02-09 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:23:04] Production.INFO: ==27036== Lock acquired, processing the job...
[2025-02-09 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:23:04] Production.INFO: ==27028== Lock acquired, processing the job...
[2025-02-09 06:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:23:04] Production.INFO: Account Balance Start.
[2025-02-09 06:23:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:23:04] Production.INFO: 117
[2025-02-09 06:23:04] Production.ERROR: done
[2025-02-09 06:23:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:23:04] Production.INFO: count ==21
[2025-02-09 06:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:23:04] Production.INFO: count ==21
[2025-02-09 06:23:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435194') start
[2025-02-09 06:23:04] Production.INFO: Total Charge 0
[2025-02-09 06:23:04] Production.INFO: CreateAllLog End
[2025-02-09 06:23:04] Production.ERROR: done
[2025-02-09 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435194') end
[2025-02-09 06:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:23:04] Production.INFO: 1
[2025-02-09 06:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:23:04] Production.INFO: ==27036== Releasing lock...
[2025-02-09 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:23:04] Production.INFO: ==27028== Releasing lock...
[2025-02-09 06:23:04] Production.INFO: Account Balance End.
[2025-02-09 06:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:23:04] Production.INFO: ==27032== Releasing lock...
[2025-02-09 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:23:05
[end_date_ymd] => 2025-02-09 06:23:05
[RateCDR] => 1
)
[2025-02-09 06:23: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` >= '2025-02-09 03:23:05' and `end` < '2025-02-09 06:23: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 ,'')
[2025-02-09 06:23:12] Production.ERROR: CronJobId end10
[2025-02-09 06:23:12] Production.INFO: ==27030== Releasing lock...
[2025-02-09 06:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:23:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:23:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:23:14] Production.INFO: call_cost start
[2025-02-09 06:23:14] Production.INFO: call_cost end
[2025-02-09 06:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:23:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:23:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:23:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:23:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:23:15] Production.INFO: ==27026== Releasing lock...
[2025-02-09 06:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:23:18] Production.INFO: count ==172
[2025-02-09 06:23:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:23:05 - End Time 2025-02-09 06:23:05
[2025-02-09 06:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435196', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435196', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435196', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435196', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:23:18] Production.INFO: ProcessCDR(1,14435196,1,1,2)
[2025-02-09 06:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435196', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435196', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:23:21] Production.INFO: ==27034== Releasing lock...
[2025-02-09 06:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:23:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:24:01] Production.INFO: ==27089== Lock acquired, processing the job...
[2025-02-09 11:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:24:01] Production.INFO: neon service started
[2025-02-09 11:24:01] Production.INFO: neon service started
[2025-02-09 11:24:01] Production.INFO: ==27089== Releasing lock...
[2025-02-09 11:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:24:02] Production.INFO: ==27094== Lock acquired, processing the job...
[2025-02-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:24:02] Production.INFO: ==27094== Releasing lock...
[2025-02-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:24:02] Production.INFO: ==27092== Lock acquired, processing the job...
[2025-02-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:24:02] Production.INFO: ==27092== Releasing lock...
[2025-02-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:24:03] Production.INFO: ==27102== Lock acquired, processing the job...
[2025-02-09 06:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:24:03] Production.INFO: ==27106== Lock acquired, processing the job...
[2025-02-09 06:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:24:03] Production.INFO: Account Balance Start.
[2025-02-09 06:24:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:24:03] Production.INFO: 117
[2025-02-09 06:24:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:24:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:24:03] Production.INFO: count ==21
[2025-02-09 06:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:24:03] Production.INFO: count ==21
[2025-02-09 06:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435198') start
[2025-02-09 06:24:03] Production.INFO: Total Charge 0
[2025-02-09 06:24:03] Production.INFO: CreateAllLog End
[2025-02-09 06:24:03] Production.INFO: ==27096== Lock acquired, processing the job...
[2025-02-09 06:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:24:03] Production.INFO: ==27098== Lock acquired, processing the job...
[2025-02-09 06:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435198') end
[2025-02-09 06:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:24:03] Production.INFO: 1
[2025-02-09 06:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:24:03] Production.INFO: ==27100== Lock acquired, processing the job...
[2025-02-09 06:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:24:04] Production.INFO: Account Balance End.
[2025-02-09 06:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:24:04] Production.INFO: ==27106== Releasing lock...
[2025-02-09 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:24:04] Production.INFO: ==27104== Lock acquired, processing the job...
[2025-02-09 06:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:24:04] Production.INFO: ==27102== Releasing lock...
[2025-02-09 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:24:04] Production.INFO: ==27098== Releasing lock...
[2025-02-09 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:24:04] Production.ERROR: done
[2025-02-09 06:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:24:04] Production.ERROR: done
[2025-02-09 06:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:24:05
[end_date_ymd] => 2025-02-09 06:24:05
[RateCDR] => 1
)
[2025-02-09 06:24: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` >= '2025-02-09 03:24:05' and `end` < '2025-02-09 06:24: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 ,'')
[2025-02-09 06:24:11] Production.ERROR: CronJobId end10
[2025-02-09 06:24:11] Production.INFO: ==27100== Releasing lock...
[2025-02-09 06:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:24:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:24:14] Production.INFO: call_cost start
[2025-02-09 06:24:14] Production.INFO: call_cost end
[2025-02-09 06:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:24:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:24:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:24:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:24:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:24:14] Production.INFO: ==27096== Releasing lock...
[2025-02-09 06:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:24:19] Production.INFO: count ==171
[2025-02-09 06:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:24:05 - End Time 2025-02-09 06:24:05
[2025-02-09 06:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435201', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435201', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435201', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435201', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:24:19] Production.INFO: ProcessCDR(1,14435201,1,1,2)
[2025-02-09 06:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435201', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435201', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:24:22] Production.INFO: ==27104== Releasing lock...
[2025-02-09 06:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:24:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:25:02] Production.INFO: ==27164== Lock acquired, processing the job...
[2025-02-09 11:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:25:02] Production.INFO: neon service started
[2025-02-09 11:25:02] Production.INFO: neon service started
[2025-02-09 11:25:02] Production.INFO: ==27164== Releasing lock...
[2025-02-09 11:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:25:02] Production.INFO: ==27166== Lock acquired, processing the job...
[2025-02-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:25:02] Production.INFO: ==27166== Releasing lock...
[2025-02-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:25:02] Production.INFO: ==27168== Lock acquired, processing the job...
[2025-02-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:25:02] Production.INFO: ==27168== Releasing lock...
[2025-02-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:25:03] Production.INFO: ==27179== Lock acquired, processing the job...
[2025-02-09 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:25:03] Production.INFO: ==27171== Lock acquired, processing the job...
[2025-02-09 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:25:03] Production.INFO: ==27173== Lock acquired, processing the job...
[2025-02-09 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:25:03] Production.INFO: ==27175== Lock acquired, processing the job...
[2025-02-09 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:25:03] Production.INFO: ==27181== Lock acquired, processing the job...
[2025-02-09 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:25:03] Production.INFO: ==27177== Lock acquired, processing the job...
[2025-02-09 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:25:03] Production.INFO: Account Balance Start.
[2025-02-09 06:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:25:03] Production.INFO: 117
[2025-02-09 06:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:25:04] Production.INFO: Total Charge 0
[2025-02-09 06:25:04] Production.INFO: CreateAllLog End
[2025-02-09 06:25:04] Production.INFO: count ==21
[2025-02-09 06:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:25:04] Production.INFO: count ==21
[2025-02-09 06:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435202') start
[2025-02-09 06:25:04] Production.ERROR: done
[2025-02-09 06:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:25:04] Production.INFO: ==27173== Releasing lock...
[2025-02-09 06:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435202') end
[2025-02-09 06:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:25:04] Production.INFO: 1
[2025-02-09 06:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:25:04] Production.ERROR: done
[2025-02-09 06:25:04] Production.INFO: ==27181== Releasing lock...
[2025-02-09 06:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:25:04] Production.INFO: Account Balance End.
[2025-02-09 06:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:25:04] Production.INFO: ==27177== Releasing lock...
[2025-02-09 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:25:05
[end_date_ymd] => 2025-02-09 06:25:05
[RateCDR] => 1
)
[2025-02-09 06:25: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` >= '2025-02-09 03:25:05' and `end` < '2025-02-09 06:25: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 ,'')
[2025-02-09 06:25:11] Production.ERROR: CronJobId end10
[2025-02-09 06:25:11] Production.INFO: ==27175== Releasing lock...
[2025-02-09 06:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:25:14] Production.INFO: call_cost start
[2025-02-09 06:25:14] Production.INFO: call_cost end
[2025-02-09 06:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:25:14] Production.INFO: ==27171== Releasing lock...
[2025-02-09 06:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:25:18] Production.INFO: count ==171
[2025-02-09 06:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:25:05 - End Time 2025-02-09 06:25:05
[2025-02-09 06:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435206', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435206', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435206', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435206', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:25:18] Production.INFO: ProcessCDR(1,14435206,1,1,2)
[2025-02-09 06:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435206', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435206', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:25:21] Production.INFO: ==27179== Releasing lock...
[2025-02-09 06:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:25:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:26:01] Production.INFO: ==27235== Lock acquired, processing the job...
[2025-02-09 11:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:26:01] Production.INFO: neon service started
[2025-02-09 11:26:01] Production.INFO: neon service started
[2025-02-09 11:26:01] Production.INFO: ==27235== Releasing lock...
[2025-02-09 11:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:26:01] Production.INFO: ==27237== Lock acquired, processing the job...
[2025-02-09 06:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:26:02] Production.INFO: ==27237== Releasing lock...
[2025-02-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:26:02] Production.INFO: ==27239== Lock acquired, processing the job...
[2025-02-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:26:02] Production.INFO: ==27239== Releasing lock...
[2025-02-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:26:03] Production.INFO: ==27244== Lock acquired, processing the job...
[2025-02-09 06:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:26:03] Production.INFO: ==27252== Lock acquired, processing the job...
[2025-02-09 06:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:26:03] Production.INFO: ==27241== Lock acquired, processing the job...
[2025-02-09 06:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:26:03] Production.INFO: ==27246== Lock acquired, processing the job...
[2025-02-09 06:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:26:03] Production.INFO: ==27248== Lock acquired, processing the job...
[2025-02-09 06:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:26:03] Production.INFO: ==27250== Lock acquired, processing the job...
[2025-02-09 06:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:26:03] Production.INFO: count ==21
[2025-02-09 06:26:03] Production.INFO: Account Balance Start.
[2025-02-09 06:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:26:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:26:03] Production.INFO: 117
[2025-02-09 06:26:03] Production.INFO: count ==21
[2025-02-09 06:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435208') start
[2025-02-09 06:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:26:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:26:03] Production.INFO: ==27244== Releasing lock...
[2025-02-09 06:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:26:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:26:03] Production.INFO: Total Charge 0
[2025-02-09 06:26:03] Production.INFO: CreateAllLog End
[2025-02-09 06:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435208') end
[2025-02-09 06:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:26:03] Production.INFO: 1
[2025-02-09 06:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:26:03] Production.INFO: ==27252== Releasing lock...
[2025-02-09 06:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:26:03] Production.INFO: Account Balance End.
[2025-02-09 06:26:03] Production.ERROR: done
[2025-02-09 06:26:03] Production.ERROR: CronJobId end 12
[2025-02-09 06:26:03] Production.INFO: ==27248== Releasing lock...
[2025-02-09 06:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:26:04] Production.ERROR: done
[2025-02-09 06:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:26:05
[end_date_ymd] => 2025-02-09 06:26:05
[RateCDR] => 1
)
[2025-02-09 06:26: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` >= '2025-02-09 03:26:05' and `end` < '2025-02-09 06:26: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 ,'')
[2025-02-09 06:26:11] Production.ERROR: CronJobId end10
[2025-02-09 06:26:11] Production.INFO: ==27246== Releasing lock...
[2025-02-09 06:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:26:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:26:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:26:13] Production.INFO: call_cost start
[2025-02-09 06:26:13] Production.INFO: call_cost end
[2025-02-09 06:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:26:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:26:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:26:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:26:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:26:14] Production.INFO: ==27241== Releasing lock...
[2025-02-09 06:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:26:18] Production.INFO: count ==171
[2025-02-09 06:26:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:26:05 - End Time 2025-02-09 06:26:05
[2025-02-09 06:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435211', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435211', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435211', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435211', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:26:18] Production.INFO: ProcessCDR(1,14435211,1,1,2)
[2025-02-09 06:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435211', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435211', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:26:21] Production.INFO: ==27250== Releasing lock...
[2025-02-09 06:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:26:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:27:01] Production.INFO: ==27310== Lock acquired, processing the job...
[2025-02-09 11:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:27:01] Production.INFO: neon service started
[2025-02-09 11:27:01] Production.INFO: neon service started
[2025-02-09 11:27:01] Production.INFO: ==27310== Releasing lock...
[2025-02-09 11:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:27:02] Production.INFO: ==27312== Lock acquired, processing the job...
[2025-02-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:27:02] Production.INFO: ==27314== Lock acquired, processing the job...
[2025-02-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:27:02] Production.INFO: ==27312== Releasing lock...
[2025-02-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:27:02] Production.INFO: ==27314== Releasing lock...
[2025-02-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:27:03] Production.INFO: ==27316== Lock acquired, processing the job...
[2025-02-09 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:27:03] Production.INFO: ==27318== Lock acquired, processing the job...
[2025-02-09 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:27:03] Production.INFO: ==27322== Lock acquired, processing the job...
[2025-02-09 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:27:03] Production.INFO: Account Balance Start.
[2025-02-09 06:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:27:03] Production.INFO: 117
[2025-02-09 06:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:27:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:27:03] Production.INFO: Total Charge 0
[2025-02-09 06:27:03] Production.INFO: CreateAllLog End
[2025-02-09 06:27:03] Production.INFO: ==27320== Lock acquired, processing the job...
[2025-02-09 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:27:03] Production.INFO: ==27318== Releasing lock...
[2025-02-09 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:27:03] Production.INFO: Account Balance End.
[2025-02-09 06:27:03] Production.INFO: ==27324== Lock acquired, processing the job...
[2025-02-09 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:27:03] Production.ERROR: CronJobId end 12
[2025-02-09 06:27:03] Production.INFO: ==27322== Releasing lock...
[2025-02-09 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:27:03] Production.INFO: ==27326== Lock acquired, processing the job...
[2025-02-09 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:27:04] Production.INFO: count ==21
[2025-02-09 06:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:27:04] Production.INFO: count ==21
[2025-02-09 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435215') start
[2025-02-09 06:27:04] Production.ERROR: done
[2025-02-09 06:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435215') end
[2025-02-09 06:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:27:04] Production.INFO: 1
[2025-02-09 06:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:27:04] Production.INFO: ==27326== Releasing lock...
[2025-02-09 06:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:27:04] Production.ERROR: done
[2025-02-09 06:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:27:05
[end_date_ymd] => 2025-02-09 06:27:05
[RateCDR] => 1
)
[2025-02-09 06:27: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` >= '2025-02-09 03:27:05' and `end` < '2025-02-09 06:27: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 ,'')
[2025-02-09 06:27:11] Production.ERROR: CronJobId end10
[2025-02-09 06:27:11] Production.INFO: ==27320== Releasing lock...
[2025-02-09 06:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:27:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:27:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:27:13] Production.INFO: call_cost start
[2025-02-09 06:27:13] Production.INFO: call_cost end
[2025-02-09 06:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:27:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:27:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:27:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:27:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:27:14] Production.INFO: ==27316== Releasing lock...
[2025-02-09 06:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:27:18] Production.INFO: count ==171
[2025-02-09 06:27:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:27:05 - End Time 2025-02-09 06:27:05
[2025-02-09 06:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435216', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435216', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435216', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435216', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:27:18] Production.INFO: ProcessCDR(1,14435216,1,1,2)
[2025-02-09 06:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435216', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435216', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:27:21] Production.INFO: ==27324== Releasing lock...
[2025-02-09 06:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:27:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:28:01] Production.INFO: ==27388== Lock acquired, processing the job...
[2025-02-09 11:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:28:01] Production.INFO: neon service started
[2025-02-09 11:28:01] Production.INFO: neon service started
[2025-02-09 11:28:01] Production.INFO: ==27388== Releasing lock...
[2025-02-09 11:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:28:01] Production.INFO: ==27390== Lock acquired, processing the job...
[2025-02-09 06:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:28:02] Production.INFO: ==27390== Releasing lock...
[2025-02-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:28:02] Production.INFO: ==27392== Lock acquired, processing the job...
[2025-02-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:28:02] Production.INFO: ==27392== Releasing lock...
[2025-02-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:28:03] Production.INFO: ==27405== Lock acquired, processing the job...
[2025-02-09 06:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:28:03] Production.INFO: ==27402== Lock acquired, processing the job...
[2025-02-09 06:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:28:03] Production.INFO: ==27396== Lock acquired, processing the job...
[2025-02-09 06:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:28:03] Production.INFO: ==27394== Lock acquired, processing the job...
[2025-02-09 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:28:03] Production.INFO: count ==21
[2025-02-09 06:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:28:03] Production.INFO: ==27398== Lock acquired, processing the job...
[2025-02-09 06:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:28:03] Production.INFO: count ==21
[2025-02-09 06:28:03] Production.INFO: ==27400== Lock acquired, processing the job...
[2025-02-09 06:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435217') start
[2025-02-09 06:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:28:03] Production.INFO: Account Balance Start.
[2025-02-09 06:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435217') end
[2025-02-09 06:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:28:03] Production.INFO: 1
[2025-02-09 06:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:28:03] Production.INFO: 117
[2025-02-09 06:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:28:03] Production.INFO: ==27405== Releasing lock...
[2025-02-09 06:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:28:03] Production.ERROR: done
[2025-02-09 06:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:28:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:28:03] Production.INFO: Total Charge 0
[2025-02-09 06:28:03] Production.INFO: CreateAllLog End
[2025-02-09 06:28:03] Production.ERROR: done
[2025-02-09 06:28:03] Production.INFO: ==27396== Releasing lock...
[2025-02-09 06:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:28:03] Production.INFO: Account Balance End.
[2025-02-09 06:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:28:04] Production.INFO: ==27400== Releasing lock...
[2025-02-09 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:28:04
[end_date_ymd] => 2025-02-09 06:28:04
[RateCDR] => 1
)
[2025-02-09 06:28:04] 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-02-09 03:28:04' and `end` < '2025-02-09 06:28:04'
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-02-09 06:28:11] Production.ERROR: CronJobId end10
[2025-02-09 06:28:11] Production.INFO: ==27398== Releasing lock...
[2025-02-09 06:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:28:14] Production.INFO: call_cost start
[2025-02-09 06:28:14] Production.INFO: call_cost end
[2025-02-09 06:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:28:15] Production.INFO: ==27394== Releasing lock...
[2025-02-09 06:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:28:17] Production.INFO: count ==171
[2025-02-09 06:28:17] Production.ERROR: pbx CDR StartTime 2025-02-09 03:28:04 - End Time 2025-02-09 06:28:04
[2025-02-09 06:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435221', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435221', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435221', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435221', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:28:17] Production.INFO: ProcessCDR(1,14435221,1,1,2)
[2025-02-09 06:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435221', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435221', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:28:20] Production.INFO: ==27402== Releasing lock...
[2025-02-09 06:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:28:20] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:29:01] Production.INFO: ==27460== Lock acquired, processing the job...
[2025-02-09 11:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:29:01] Production.INFO: neon service started
[2025-02-09 11:29:01] Production.INFO: neon service started
[2025-02-09 11:29:01] Production.INFO: ==27460== Releasing lock...
[2025-02-09 11:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:29:01] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 11:29:02] Production.INFO: ==27465== Lock acquired, processing the job...
[2025-02-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:29:02] Production.INFO: ==27465== Releasing lock...
[2025-02-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:29:02] Production.INFO: ==27463== Lock acquired, processing the job...
[2025-02-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:29:02] Production.INFO: ==27463== Releasing lock...
[2025-02-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:29:03] Production.INFO: ==27467== Lock acquired, processing the job...
[2025-02-09 06:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:29:03] Production.INFO: ==27471== Lock acquired, processing the job...
[2025-02-09 06:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:29:03] Production.INFO: ==27475== Lock acquired, processing the job...
[2025-02-09 06:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:29:04] Production.INFO: ==27469== Lock acquired, processing the job...
[2025-02-09 06:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:29:04] Production.ERROR: done
[2025-02-09 06:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:29:04] Production.INFO: ==27473== Lock acquired, processing the job...
[2025-02-09 06:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:29:04] Production.INFO: ==27477== Lock acquired, processing the job...
[2025-02-09 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:29:04] Production.ERROR: done
[2025-02-09 06:29:04] Production.INFO: Account Balance Start.
[2025-02-09 06:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:29:04] Production.INFO: 117
[2025-02-09 06:29:04] Production.INFO: ==27469== Releasing lock...
[2025-02-09 06:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:29:04] Production.INFO: Total Charge 0
[2025-02-09 06:29:04] Production.INFO: CreateAllLog End
[2025-02-09 06:29:04] Production.INFO: count ==21
[2025-02-09 06:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:29:04] Production.INFO: count ==21
[2025-02-09 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435226') start
[2025-02-09 06:29:04] Production.INFO: Account Balance End.
[2025-02-09 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435226') end
[2025-02-09 06:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:29:04] Production.INFO: 1
[2025-02-09 06:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:29:04] Production.INFO: ==27473== Releasing lock...
[2025-02-09 06:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:29:04] Production.INFO: ==27477== Releasing lock...
[2025-02-09 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:29:05
[end_date_ymd] => 2025-02-09 06:29:05
[RateCDR] => 1
)
[2025-02-09 06:29: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` >= '2025-02-09 03:29:05' and `end` < '2025-02-09 06:29: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 ,'')
[2025-02-09 06:29:11] Production.ERROR: CronJobId end10
[2025-02-09 06:29:11] Production.INFO: ==27471== Releasing lock...
[2025-02-09 06:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:29:14] Production.INFO: call_cost start
[2025-02-09 06:29:14] Production.INFO: call_cost end
[2025-02-09 06:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:29:15] Production.INFO: ==27467== Releasing lock...
[2025-02-09 06:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:29:19] Production.INFO: count ==172
[2025-02-09 06:29:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:29:05 - End Time 2025-02-09 06:29:05
[2025-02-09 06:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435225', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435225', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435225', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435225', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:29:19] Production.INFO: ProcessCDR(1,14435225,1,1,2)
[2025-02-09 06:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435225', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435225', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:29:23] Production.INFO: ==27475== Releasing lock...
[2025-02-09 06:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:29:23] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:30:02] Production.INFO: ==27533== Lock acquired, processing the job...
[2025-02-09 11:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:30:02] Production.INFO: neon service started
[2025-02-09 11:30:02] Production.INFO: neon service started
[2025-02-09 11:30:02] Production.INFO: ==27533== Releasing lock...
[2025-02-09 11:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:30:02] Production.INFO: ==27536== Lock acquired, processing the job...
[2025-02-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:30:02] Production.INFO: ==27538== Lock acquired, processing the job...
[2025-02-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:30:03] Production.INFO: ==27536== Releasing lock...
[2025-02-09 06:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:30:03] Production.INFO: ==27538== Releasing lock...
[2025-02-09 11:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:30:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:30:04] Production.INFO: ==27540== Lock acquired, processing the job...
[2025-02-09 06:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 06:30:04] Production.INFO: ==27542== Lock acquired, processing the job...
[2025-02-09 06:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 06:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 06:30:04] Production.ERROR: CronJob PID - 27542
[2025-02-09 06:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 06:30:04] Production.ERROR: CronJob ID - 5
[2025-02-09 06:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 06:30:00
[2025-02-09 06:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 06:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 06:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 06:30:04] Production.INFO: ==27546== Lock acquired, processing the job...
[2025-02-09 06:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:30:04] Production.INFO: ==27540== Releasing lock...
[2025-02-09 06:30:04] Production.INFO: ==27544== Lock acquired, processing the job...
[2025-02-09 06:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 06:30:04] Production.INFO: ==27548== Lock acquired, processing the job...
[2025-02-09 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:30:04] Production.INFO: ==27550== Lock acquired, processing the job...
[2025-02-09 06:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:30:04] Production.INFO: Account Balance Start.
[2025-02-09 06:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:30:04] Production.INFO: 117
[2025-02-09 06:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:30:04] Production.INFO: Total Charge 0
[2025-02-09 06:30:04] Production.INFO: ==27554== Lock acquired, processing the job...
[2025-02-09 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:30:04] Production.INFO: CreateAllLog End
[2025-02-09 06:30:04] Production.INFO: ==27552== Lock acquired, processing the job...
[2025-02-09 06:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:30:04] Production.ERROR: done
[2025-02-09 06:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:30:04] Production.INFO: Account Balance End.
[2025-02-09 06:30:04] Production.INFO: count ==21
[2025-02-09 06:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:30:04] Production.INFO: count ==21
[2025-02-09 06:30:04] Production.INFO: ==27544== Releasing lock...
[2025-02-09 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:30:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:30:04] Production.INFO: ==27548== Releasing lock...
[2025-02-09 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435230') start
[2025-02-09 06:30:04] Production.ERROR: done
[2025-02-09 06:30:05] Production.ERROR: done
[2025-02-09 06:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14435230') end
[2025-02-09 06:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:30:05] Production.INFO: 1
[2025-02-09 06:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:30:05] Production.INFO: ==27554== Releasing lock...
[2025-02-09 06:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 06:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435232', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 06:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:30:06
[end_date_ymd] => 2025-02-09 06:30:06
[RateCDR] => 1
)
[2025-02-09 06:30: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-02-09 03:30:06' and `end` < '2025-02-09 06:30: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-02-09 06:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435232', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 06:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 06:30:09] Production.INFO: ProcessCDR(1,14435232,1,1,2)
[2025-02-09 06:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435232,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435232,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:30:09] Production.INFO: ==27552== Releasing lock...
[2025-02-09 06:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 06:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 06:30:14] Production.ERROR: CronJobId end10
[2025-02-09 06:30:14] Production.INFO: ==27546== Releasing lock...
[2025-02-09 06:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:30:17] Production.INFO: call_cost start
[2025-02-09 06:30:17] Production.INFO: call_cost end
[2025-02-09 06:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:30:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:30:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:30:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:30:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:30:18] Production.INFO: ==27542== Releasing lock...
[2025-02-09 06:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:30:18] Production.INFO: count ==168
[2025-02-09 06:30:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:30:06 - End Time 2025-02-09 06:30:06
[2025-02-09 06:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435231', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435231', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435231', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435231', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:30:18] Production.INFO: ProcessCDR(1,14435231,1,1,2)
[2025-02-09 06:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435231', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435231', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:30:22] Production.INFO: ==27550== Releasing lock...
[2025-02-09 06:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:30:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:31:01] Production.INFO: ==27610== Lock acquired, processing the job...
[2025-02-09 11:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:31:01] Production.INFO: neon service started
[2025-02-09 11:31:01] Production.INFO: neon service started
[2025-02-09 11:31:01] Production.INFO: ==27610== Releasing lock...
[2025-02-09 11:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:31:02] Production.INFO: ==27612== Lock acquired, processing the job...
[2025-02-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:31:02] Production.INFO: ==27614== Lock acquired, processing the job...
[2025-02-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:31:02] Production.INFO: ==27614== Releasing lock...
[2025-02-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:31:02] Production.INFO: ==27612== Releasing lock...
[2025-02-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:31:03] Production.INFO: ==27625== Lock acquired, processing the job...
[2025-02-09 06:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:31:03] Production.INFO: ==27623== Lock acquired, processing the job...
[2025-02-09 06:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:31:03] Production.INFO: ==27617== Lock acquired, processing the job...
[2025-02-09 06:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:31:03] Production.INFO: Account Balance Start.
[2025-02-09 06:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:31:03] Production.INFO: ==27619== Lock acquired, processing the job...
[2025-02-09 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:31:03] Production.INFO: 117
[2025-02-09 06:31:03] Production.INFO: ==27621== Lock acquired, processing the job...
[2025-02-09 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:31:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:31:03] Production.INFO: ==27627== Lock acquired, processing the job...
[2025-02-09 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:31:03] Production.ERROR: done
[2025-02-09 06:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:31:04] Production.INFO: Total Charge 0
[2025-02-09 06:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:31:04] Production.INFO: CreateAllLog End
[2025-02-09 06:31:04] Production.INFO: count ==21
[2025-02-09 06:31:04] Production.INFO: ==27619== Releasing lock...
[2025-02-09 06:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:31:04] Production.INFO: count ==21
[2025-02-09 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435236') start
[2025-02-09 06:31:04] Production.ERROR: done
[2025-02-09 06:31:04] Production.INFO: Account Balance End.
[2025-02-09 06:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:31:04] Production.INFO: ==27623== Releasing lock...
[2025-02-09 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435236') end
[2025-02-09 06:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:31:04] Production.INFO: 1
[2025-02-09 06:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:31:04] Production.INFO: ==27627== Releasing lock...
[2025-02-09 06:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:31:05
[end_date_ymd] => 2025-02-09 06:31:05
[RateCDR] => 1
)
[2025-02-09 06:31: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` >= '2025-02-09 03:31:05' and `end` < '2025-02-09 06:31: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 ,'')
[2025-02-09 06:31:11] Production.ERROR: CronJobId end10
[2025-02-09 06:31:11] Production.INFO: ==27621== Releasing lock...
[2025-02-09 06:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:31:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:31:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:31:14] Production.INFO: call_cost start
[2025-02-09 06:31:14] Production.INFO: call_cost end
[2025-02-09 06:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:31:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:31:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:31:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:31:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:31:15] Production.INFO: ==27617== Releasing lock...
[2025-02-09 06:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:31:18] Production.INFO: count ==154
[2025-02-09 06:31:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:31:05 - End Time 2025-02-09 06:31:05
[2025-02-09 06:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435237', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435237', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435237', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435237', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:31:18] Production.INFO: ProcessCDR(1,14435237,1,1,2)
[2025-02-09 06:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435237', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435237', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:31:21] Production.INFO: ==27625== Releasing lock...
[2025-02-09 06:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:31:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:32:02] Production.INFO: ==27682== Lock acquired, processing the job...
[2025-02-09 11:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:32:02] Production.INFO: neon service started
[2025-02-09 11:32:02] Production.INFO: neon service started
[2025-02-09 11:32:02] Production.INFO: ==27682== Releasing lock...
[2025-02-09 11:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:32:02] Production.INFO: ==27684== Lock acquired, processing the job...
[2025-02-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:32:03] Production.INFO: ==27686== Lock acquired, processing the job...
[2025-02-09 11:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:32:03] Production.INFO: ==27684== Releasing lock...
[2025-02-09 06:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:32:03] Production.INFO: ==27686== Releasing lock...
[2025-02-09 11:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:32:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:32:03] Production.INFO: ==27689== Lock acquired, processing the job...
[2025-02-09 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:32:03] Production.INFO: ==27691== Lock acquired, processing the job...
[2025-02-09 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:32:04] Production.INFO: ==27695== Lock acquired, processing the job...
[2025-02-09 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:32:04] Production.INFO: ==27693== Lock acquired, processing the job...
[2025-02-09 06:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:32:04] Production.INFO: Account Balance Start.
[2025-02-09 06:32:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:32:04] Production.INFO: 117
[2025-02-09 06:32:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:32:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:32:04] Production.INFO: ==27691== Releasing lock...
[2025-02-09 06:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:32:04] Production.INFO: Total Charge 0
[2025-02-09 06:32:04] Production.INFO: CreateAllLog End
[2025-02-09 06:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:32:04] Production.INFO: ==27697== Lock acquired, processing the job...
[2025-02-09 06:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:32:04] Production.INFO: ==27699== Lock acquired, processing the job...
[2025-02-09 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:32:04] Production.INFO: Account Balance End.
[2025-02-09 06:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:32:04] Production.INFO: ==27695== Releasing lock...
[2025-02-09 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:32:04] Production.INFO: count ==21
[2025-02-09 06:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:32:04] Production.INFO: count ==21
[2025-02-09 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435241') start
[2025-02-09 06:32:04] Production.ERROR: done
[2025-02-09 06:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435241') end
[2025-02-09 06:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:32:04] Production.INFO: 1
[2025-02-09 06:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:32:04] Production.ERROR: done
[2025-02-09 06:32:04] Production.INFO: ==27699== Releasing lock...
[2025-02-09 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:32:05
[end_date_ymd] => 2025-02-09 06:32:05
[RateCDR] => 1
)
[2025-02-09 06:32: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` >= '2025-02-09 03:32:05' and `end` < '2025-02-09 06:32: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 ,'')
[2025-02-09 06:32:12] Production.ERROR: CronJobId end10
[2025-02-09 06:32:12] Production.INFO: ==27693== Releasing lock...
[2025-02-09 06:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:32:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:32:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:32:14] Production.INFO: call_cost start
[2025-02-09 06:32:14] Production.INFO: call_cost end
[2025-02-09 06:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:32:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:32:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:32:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:32:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:32:15] Production.INFO: ==27689== Releasing lock...
[2025-02-09 06:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:32:18] Production.INFO: count ==155
[2025-02-09 06:32:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:32:05 - End Time 2025-02-09 06:32:05
[2025-02-09 06:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435242', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435242', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435242', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435242', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:32:18] Production.INFO: ProcessCDR(1,14435242,1,1,2)
[2025-02-09 06:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435242', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435242', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:32:22] Production.INFO: ==27697== Releasing lock...
[2025-02-09 06:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:32:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:33:01] Production.INFO: ==27798== Lock acquired, processing the job...
[2025-02-09 11:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:33:01] Production.INFO: neon service started
[2025-02-09 11:33:01] Production.INFO: neon service started
[2025-02-09 11:33:01] Production.INFO: ==27798== Releasing lock...
[2025-02-09 11:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:33:02] Production.INFO: ==27800== Lock acquired, processing the job...
[2025-02-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:33:02] Production.INFO: ==27800== Releasing lock...
[2025-02-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:33:02] Production.INFO: ==27802== Lock acquired, processing the job...
[2025-02-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:33:02] Production.INFO: ==27802== Releasing lock...
[2025-02-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:33:03] Production.INFO: ==27804== Lock acquired, processing the job...
[2025-02-09 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:33:03] Production.INFO: ==27806== Lock acquired, processing the job...
[2025-02-09 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:33:03] Production.INFO: ==27808== Lock acquired, processing the job...
[2025-02-09 06:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:33:03] Production.INFO: ==27806== Releasing lock...
[2025-02-09 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:33:03] Production.INFO: ==27810== Lock acquired, processing the job...
[2025-02-09 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:33:03] Production.INFO: ==27812== Lock acquired, processing the job...
[2025-02-09 06:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:33:03] Production.INFO: ==27814== Lock acquired, processing the job...
[2025-02-09 06:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:33:03] Production.INFO: Account Balance Start.
[2025-02-09 06:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:33:03] Production.INFO: 117
[2025-02-09 06:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:33:04] Production.INFO: Total Charge 0
[2025-02-09 06:33:04] Production.INFO: count ==21
[2025-02-09 06:33:04] Production.INFO: CreateAllLog End
[2025-02-09 06:33:04] Production.ERROR: done
[2025-02-09 06:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:33:04] Production.INFO: count ==21
[2025-02-09 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435246') start
[2025-02-09 06:33:04] Production.INFO: Account Balance End.
[2025-02-09 06:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435246') end
[2025-02-09 06:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:33:04] Production.INFO: 1
[2025-02-09 06:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:33:04] Production.ERROR: done
[2025-02-09 06:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:33:04] Production.INFO: ==27810== Releasing lock...
[2025-02-09 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:33:04] Production.INFO: ==27814== Releasing lock...
[2025-02-09 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:33:05
[end_date_ymd] => 2025-02-09 06:33:05
[RateCDR] => 1
)
[2025-02-09 06:33: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` >= '2025-02-09 03:33:05' and `end` < '2025-02-09 06:33: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 ,'')
[2025-02-09 06:33:11] Production.ERROR: CronJobId end10
[2025-02-09 06:33:11] Production.INFO: ==27808== Releasing lock...
[2025-02-09 06:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:33:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:33:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:33:14] Production.INFO: call_cost start
[2025-02-09 06:33:14] Production.INFO: call_cost end
[2025-02-09 06:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:33:15] Production.INFO: ==27804== Releasing lock...
[2025-02-09 06:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:33:18] Production.INFO: count ==155
[2025-02-09 06:33:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:33:05 - End Time 2025-02-09 06:33:05
[2025-02-09 06:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435247', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435247', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435247', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435247', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:33:18] Production.INFO: ProcessCDR(1,14435247,1,1,2)
[2025-02-09 06:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435247', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435247', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:33:21] Production.INFO: ==27812== Releasing lock...
[2025-02-09 06:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:33:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:34:02] Production.INFO: ==27870== Lock acquired, processing the job...
[2025-02-09 11:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:34:02] Production.INFO: neon service started
[2025-02-09 11:34:02] Production.INFO: neon service started
[2025-02-09 11:34:02] Production.INFO: ==27870== Releasing lock...
[2025-02-09 11:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:34:02] Production.INFO: ==27873== Lock acquired, processing the job...
[2025-02-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:34:03] Production.INFO: ==27875== Lock acquired, processing the job...
[2025-02-09 11:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:34:03] Production.INFO: ==27875== Releasing lock...
[2025-02-09 11:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:34:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:34:03] Production.INFO: ==27873== Releasing lock...
[2025-02-09 06:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:34:04] Production.INFO: ==27883== Lock acquired, processing the job...
[2025-02-09 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:34:04] Production.INFO: ==27879== Lock acquired, processing the job...
[2025-02-09 06:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:34:04] Production.INFO: Account Balance Start.
[2025-02-09 06:34:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:34:04] Production.INFO: 117
[2025-02-09 06:34:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:34:04] Production.INFO: Total Charge 0
[2025-02-09 06:34:04] Production.INFO: ==27877== Lock acquired, processing the job...
[2025-02-09 06:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:34:04] Production.INFO: CreateAllLog End
[2025-02-09 06:34:04] Production.INFO: ==27881== Lock acquired, processing the job...
[2025-02-09 06:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:34:04] Production.INFO: Account Balance End.
[2025-02-09 06:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:34:04] Production.INFO: ==27883== Releasing lock...
[2025-02-09 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:34:04] Production.INFO: ==27885== Lock acquired, processing the job...
[2025-02-09 06:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:34:04] Production.INFO: ==27887== Lock acquired, processing the job...
[2025-02-09 06:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:34:04] Production.INFO: ==27879== Releasing lock...
[2025-02-09 06:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:34:04] Production.INFO: count ==21
[2025-02-09 06:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:34:04] Production.INFO: count ==21
[2025-02-09 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435251') start
[2025-02-09 06:34:04] Production.ERROR: done
[2025-02-09 06:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435251') end
[2025-02-09 06:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:34:04] Production.INFO: 1
[2025-02-09 06:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:34:05] Production.INFO: ==27887== Releasing lock...
[2025-02-09 06:34:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:34:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:34:05] Production.ERROR: done
[2025-02-09 06:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:34:06
[end_date_ymd] => 2025-02-09 06:34:06
[RateCDR] => 1
)
[2025-02-09 06:34: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-02-09 03:34:06' and `end` < '2025-02-09 06:34: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-02-09 06:34:11] Production.ERROR: CronJobId end10
[2025-02-09 06:34:11] Production.INFO: ==27881== Releasing lock...
[2025-02-09 06:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:34:14] Production.INFO: call_cost start
[2025-02-09 06:34:14] Production.INFO: call_cost end
[2025-02-09 06:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:34:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:34:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:34:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:34:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:34:15] Production.INFO: ==27877== Releasing lock...
[2025-02-09 06:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:34:18] Production.INFO: count ==157
[2025-02-09 06:34:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:34:06 - End Time 2025-02-09 06:34:06
[2025-02-09 06:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435252', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435252', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435252', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435252', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:34:18] Production.INFO: ProcessCDR(1,14435252,1,1,2)
[2025-02-09 06:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435252', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435252', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:34:22] Production.INFO: ==27885== Releasing lock...
[2025-02-09 06:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:34:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:35:01] Production.INFO: ==27944== Lock acquired, processing the job...
[2025-02-09 11:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:35:01] Production.INFO: neon service started
[2025-02-09 11:35:01] Production.INFO: neon service started
[2025-02-09 11:35:01] Production.INFO: ==27944== Releasing lock...
[2025-02-09 11:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:35:02] Production.INFO: ==27946== Lock acquired, processing the job...
[2025-02-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:35:02] Production.INFO: ==27946== Releasing lock...
[2025-02-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:35:02] Production.INFO: ==27948== Lock acquired, processing the job...
[2025-02-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:35:02] Production.INFO: ==27948== Releasing lock...
[2025-02-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:35:03] Production.INFO: ==27957== Lock acquired, processing the job...
[2025-02-09 06:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:35:03] Production.INFO: ==27951== Lock acquired, processing the job...
[2025-02-09 06:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:35:03] Production.INFO: Account Balance Start.
[2025-02-09 06:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:35:03] Production.INFO: 117
[2025-02-09 06:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:35:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:35:03] Production.INFO: ==27953== Lock acquired, processing the job...
[2025-02-09 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:35:03] Production.INFO: Total Charge 0
[2025-02-09 06:35:03] Production.INFO: CreateAllLog End
[2025-02-09 06:35:03] Production.INFO: ==27955== Lock acquired, processing the job...
[2025-02-09 06:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:35:03] Production.INFO: ==27959== Lock acquired, processing the job...
[2025-02-09 06:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:35:03] Production.INFO: ==27961== Lock acquired, processing the job...
[2025-02-09 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:35:03] Production.INFO: Account Balance End.
[2025-02-09 06:35:03] Production.ERROR: CronJobId end 12
[2025-02-09 06:35:03] Production.INFO: ==27957== Releasing lock...
[2025-02-09 06:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:35:03] Production.INFO: count ==21
[2025-02-09 06:35:03] Production.INFO: ==27953== Releasing lock...
[2025-02-09 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:35:04] Production.INFO: count ==21
[2025-02-09 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435256') start
[2025-02-09 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435256') end
[2025-02-09 06:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:35:04] Production.INFO: 1
[2025-02-09 06:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:35:04] Production.ERROR: done
[2025-02-09 06:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:35:04] Production.INFO: ==27961== Releasing lock...
[2025-02-09 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:35:04] Production.ERROR: done
[2025-02-09 06:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:35:05
[end_date_ymd] => 2025-02-09 06:35:05
[RateCDR] => 1
)
[2025-02-09 06:35: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` >= '2025-02-09 03:35:05' and `end` < '2025-02-09 06:35: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 ,'')
[2025-02-09 06:35:11] Production.ERROR: CronJobId end10
[2025-02-09 06:35:11] Production.INFO: ==27955== Releasing lock...
[2025-02-09 06:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:35:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:35:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:35:14] Production.INFO: call_cost start
[2025-02-09 06:35:14] Production.INFO: call_cost end
[2025-02-09 06:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:35:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:35:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:35:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:35:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:35:15] Production.INFO: ==27951== Releasing lock...
[2025-02-09 06:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:35:18] Production.INFO: count ==159
[2025-02-09 06:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:35:05 - End Time 2025-02-09 06:35:05
[2025-02-09 06:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435257', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435257', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435257', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435257', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:35:18] Production.INFO: ProcessCDR(1,14435257,1,1,2)
[2025-02-09 06:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435257', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435257', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:35:21] Production.INFO: ==27959== Releasing lock...
[2025-02-09 06:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:35:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:36:02] Production.INFO: ==28014== Lock acquired, processing the job...
[2025-02-09 11:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:36:02] Production.INFO: neon service started
[2025-02-09 11:36:02] Production.INFO: neon service started
[2025-02-09 11:36:02] Production.INFO: ==28014== Releasing lock...
[2025-02-09 11:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:36:02] Production.INFO: ==28018== Lock acquired, processing the job...
[2025-02-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:36:02] Production.INFO: ==28018== Releasing lock...
[2025-02-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:36:02] Production.INFO: ==28016== Lock acquired, processing the job...
[2025-02-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:36:03] Production.INFO: ==28016== Releasing lock...
[2025-02-09 06:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:36:03] Production.INFO: ==28029== Lock acquired, processing the job...
[2025-02-09 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:36:04] Production.INFO: ==28021== Lock acquired, processing the job...
[2025-02-09 06:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:36:04] Production.INFO: ==28027== Lock acquired, processing the job...
[2025-02-09 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:36:04] Production.INFO: ==28023== Lock acquired, processing the job...
[2025-02-09 06:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:36:04] Production.INFO: ==28025== Lock acquired, processing the job...
[2025-02-09 06:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:36:04] Production.INFO: Account Balance Start.
[2025-02-09 06:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:36:04] Production.INFO: 117
[2025-02-09 06:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:36:04] Production.INFO: ==28031== Lock acquired, processing the job...
[2025-02-09 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:36:04] Production.INFO: Total Charge 0
[2025-02-09 06:36:04] Production.INFO: CreateAllLog End
[2025-02-09 06:36:04] Production.ERROR: done
[2025-02-09 06:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:36:04] Production.INFO: count ==21
[2025-02-09 06:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:36:04] Production.INFO: count ==21
[2025-02-09 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435261') start
[2025-02-09 06:36:04] Production.ERROR: done
[2025-02-09 06:36:04] Production.INFO: ==28023== Releasing lock...
[2025-02-09 06:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435261') end
[2025-02-09 06:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:36:04] Production.INFO: 1
[2025-02-09 06:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:36:04] Production.INFO: Account Balance End.
[2025-02-09 06:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:36:04] Production.INFO: ==28027== Releasing lock...
[2025-02-09 06:36:04] Production.INFO: ==28031== Releasing lock...
[2025-02-09 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:36:05
[end_date_ymd] => 2025-02-09 06:36:05
[RateCDR] => 1
)
[2025-02-09 06:36: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` >= '2025-02-09 03:36:05' and `end` < '2025-02-09 06:36: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 ,'')
[2025-02-09 06:36:13] Production.ERROR: CronJobId end10
[2025-02-09 06:36:13] Production.INFO: ==28025== Releasing lock...
[2025-02-09 06:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:36:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:36:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:36:14] Production.INFO: call_cost start
[2025-02-09 06:36:14] Production.INFO: call_cost end
[2025-02-09 06:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:36:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:36:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:36:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:36:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:36:15] Production.INFO: ==28021== Releasing lock...
[2025-02-09 06:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:36:18] Production.INFO: count ==158
[2025-02-09 06:36:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:36:05 - End Time 2025-02-09 06:36:05
[2025-02-09 06:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435262', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435262', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435262', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435262', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:36:18] Production.INFO: ProcessCDR(1,14435262,1,1,2)
[2025-02-09 06:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435262', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435262', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:36:22] Production.INFO: ==28029== Releasing lock...
[2025-02-09 06:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:36:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:37:01] Production.INFO: ==28085== Lock acquired, processing the job...
[2025-02-09 11:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:37:01] Production.INFO: neon service started
[2025-02-09 11:37:01] Production.INFO: neon service started
[2025-02-09 11:37:01] Production.INFO: ==28085== Releasing lock...
[2025-02-09 11:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:37:02] Production.INFO: ==28090== Lock acquired, processing the job...
[2025-02-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:37:02] Production.INFO: ==28090== Releasing lock...
[2025-02-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:37:02] Production.INFO: ==28088== Lock acquired, processing the job...
[2025-02-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:37:02] Production.INFO: ==28088== Releasing lock...
[2025-02-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:37:03] Production.INFO: ==28096== Lock acquired, processing the job...
[2025-02-09 06:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:37:03] Production.INFO: ==28092== Lock acquired, processing the job...
[2025-02-09 06:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:37:03] Production.INFO: ==28102== Lock acquired, processing the job...
[2025-02-09 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:37:03] Production.INFO: ==28094== Lock acquired, processing the job...
[2025-02-09 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:37:03] Production.INFO: ==28098== Lock acquired, processing the job...
[2025-02-09 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:37:03] Production.INFO: ==28100== Lock acquired, processing the job...
[2025-02-09 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:37:03] Production.INFO: count ==21
[2025-02-09 06:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:37:03] Production.INFO: count ==21
[2025-02-09 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435264') start
[2025-02-09 06:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435264') end
[2025-02-09 06:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:37:03] Production.INFO: 1
[2025-02-09 06:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:37:03] Production.INFO: Account Balance Start.
[2025-02-09 06:37:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:37:03] Production.INFO: 117
[2025-02-09 06:37:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:37:03] Production.INFO: ==28102== Releasing lock...
[2025-02-09 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:37:04] Production.INFO: Total Charge 0
[2025-02-09 06:37:04] Production.INFO: CreateAllLog End
[2025-02-09 06:37:04] Production.INFO: ==28094== Releasing lock...
[2025-02-09 06:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:37:04] Production.ERROR: done
[2025-02-09 06:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:37:04] Production.INFO: Account Balance End.
[2025-02-09 06:37:04] Production.ERROR: done
[2025-02-09 06:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:37:04] Production.INFO: ==28098== Releasing lock...
[2025-02-09 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:37:05
[end_date_ymd] => 2025-02-09 06:37:05
[RateCDR] => 1
)
[2025-02-09 06:37: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` >= '2025-02-09 03:37:05' and `end` < '2025-02-09 06:37: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 ,'')
[2025-02-09 06:37:12] Production.ERROR: CronJobId end10
[2025-02-09 06:37:12] Production.INFO: ==28096== Releasing lock...
[2025-02-09 06:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:37:14] Production.INFO: call_cost start
[2025-02-09 06:37:14] Production.INFO: call_cost end
[2025-02-09 06:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:37:15] Production.INFO: ==28092== Releasing lock...
[2025-02-09 06:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:37:18] Production.INFO: count ==158
[2025-02-09 06:37:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:37:05 - End Time 2025-02-09 06:37:05
[2025-02-09 06:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435267', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435267', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435267', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435267', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:37:18] Production.INFO: ProcessCDR(1,14435267,1,1,2)
[2025-02-09 06:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435267', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435267', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:37:21] Production.INFO: ==28100== Releasing lock...
[2025-02-09 06:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:37:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:38:02] Production.INFO: ==28160== Lock acquired, processing the job...
[2025-02-09 11:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:38:02] Production.INFO: neon service started
[2025-02-09 11:38:02] Production.INFO: neon service started
[2025-02-09 11:38:02] Production.INFO: ==28160== Releasing lock...
[2025-02-09 11:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:38:02] Production.INFO: ==28165== Lock acquired, processing the job...
[2025-02-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:38:02] Production.INFO: ==28165== Releasing lock...
[2025-02-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:38:02] Production.INFO: ==28163== Lock acquired, processing the job...
[2025-02-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:38:03] Production.INFO: ==28163== Releasing lock...
[2025-02-09 06:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:38:04] Production.INFO: ==28172== Lock acquired, processing the job...
[2025-02-09 06:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:38:04] Production.INFO: ==28178== Lock acquired, processing the job...
[2025-02-09 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:38:04] Production.INFO: ==28168== Lock acquired, processing the job...
[2025-02-09 06:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:38:04] Production.INFO: count ==21
[2025-02-09 06:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:38:04] Production.INFO: ==28170== Lock acquired, processing the job...
[2025-02-09 06:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:38:04] Production.INFO: count ==21
[2025-02-09 06:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435268') start
[2025-02-09 06:38:04] Production.INFO: ==28174== Lock acquired, processing the job...
[2025-02-09 06:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435268') end
[2025-02-09 06:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:38:04] Production.INFO: 1
[2025-02-09 06:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:38:04] Production.INFO: ==28176== Lock acquired, processing the job...
[2025-02-09 06:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:38:04] Production.INFO: ==28178== Releasing lock...
[2025-02-09 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:38:04] Production.INFO: Account Balance Start.
[2025-02-09 06:38:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:38:04] Production.INFO: 117
[2025-02-09 06:38:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:38:05] Production.INFO: ==28170== Releasing lock...
[2025-02-09 06:38:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:38:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:38:05] Production.INFO: Total Charge 0
[2025-02-09 06:38:05] Production.INFO: CreateAllLog End
[2025-02-09 06:38:05] Production.ERROR: done
[2025-02-09 06:38:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:38:05] Production.ERROR: done
[2025-02-09 06:38:05] Production.INFO: Account Balance End.
[2025-02-09 06:38:05] Production.ERROR: CronJobId end 12
[2025-02-09 06:38:05] Production.INFO: ==28174== Releasing lock...
[2025-02-09 06:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:38:06
[end_date_ymd] => 2025-02-09 06:38:06
[RateCDR] => 1
)
[2025-02-09 06:38: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-02-09 03:38:06' and `end` < '2025-02-09 06:38: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-02-09 06:38:13] Production.ERROR: CronJobId end10
[2025-02-09 06:38:13] Production.INFO: ==28172== Releasing lock...
[2025-02-09 06:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:38:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:38:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:38:15] Production.INFO: call_cost start
[2025-02-09 06:38:15] Production.INFO: call_cost end
[2025-02-09 06:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:38:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:38:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:38:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:38:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:38:16] Production.INFO: ==28168== Releasing lock...
[2025-02-09 06:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:38:19] Production.INFO: count ==158
[2025-02-09 06:38:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:38:06 - End Time 2025-02-09 06:38:06
[2025-02-09 06:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435272', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435272', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435272', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435272', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:38:19] Production.INFO: ProcessCDR(1,14435272,1,1,2)
[2025-02-09 06:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435272', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435272', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:38:22] Production.INFO: ==28176== Releasing lock...
[2025-02-09 06:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:38:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:39:01] Production.INFO: ==28233== Lock acquired, processing the job...
[2025-02-09 11:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:39:01] Production.INFO: neon service started
[2025-02-09 11:39:01] Production.INFO: neon service started
[2025-02-09 11:39:01] Production.INFO: ==28233== Releasing lock...
[2025-02-09 11:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:39:02] Production.INFO: ==28235== Lock acquired, processing the job...
[2025-02-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:39:02] Production.INFO: ==28235== Releasing lock...
[2025-02-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:39:02] Production.INFO: ==28237== Lock acquired, processing the job...
[2025-02-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:39:02] Production.INFO: ==28237== Releasing lock...
[2025-02-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:39:03] Production.INFO: ==28244== Lock acquired, processing the job...
[2025-02-09 06:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:39:03] Production.INFO: ==28240== Lock acquired, processing the job...
[2025-02-09 06:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:39:03] Production.INFO: ==28248== Lock acquired, processing the job...
[2025-02-09 06:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:39:03] Production.INFO: ==28246== Lock acquired, processing the job...
[2025-02-09 06:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:39:03] Production.INFO: ==28242== Lock acquired, processing the job...
[2025-02-09 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:39:03] Production.INFO: ==28250== Lock acquired, processing the job...
[2025-02-09 06:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:39:03] Production.INFO: Account Balance Start.
[2025-02-09 06:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:39:03] Production.INFO: 117
[2025-02-09 06:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:39:03] Production.INFO: count ==21
[2025-02-09 06:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:39:03] Production.INFO: count ==21
[2025-02-09 06:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435274') start
[2025-02-09 06:39:03] Production.ERROR: done
[2025-02-09 06:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:39:04] Production.INFO: Total Charge 0
[2025-02-09 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435274') end
[2025-02-09 06:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:39:04] Production.INFO: 1
[2025-02-09 06:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:39:04] Production.INFO: CreateAllLog End
[2025-02-09 06:39:04] Production.INFO: ==28250== Releasing lock...
[2025-02-09 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:39:04] Production.ERROR: done
[2025-02-09 06:39:04] Production.INFO: ==28242== Releasing lock...
[2025-02-09 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:39:04] Production.INFO: Account Balance End.
[2025-02-09 06:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:39:04] Production.INFO: ==28246== Releasing lock...
[2025-02-09 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:39:05
[end_date_ymd] => 2025-02-09 06:39:05
[RateCDR] => 1
)
[2025-02-09 06:39: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` >= '2025-02-09 03:39:05' and `end` < '2025-02-09 06:39: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 ,'')
[2025-02-09 06:39:11] Production.ERROR: CronJobId end10
[2025-02-09 06:39:11] Production.INFO: ==28244== Releasing lock...
[2025-02-09 06:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:39:13] Production.INFO: call_cost start
[2025-02-09 06:39:13] Production.INFO: call_cost end
[2025-02-09 06:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:39:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:39:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:39:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:39:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:39:14] Production.INFO: ==28240== Releasing lock...
[2025-02-09 06:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:39:18] Production.INFO: count ==158
[2025-02-09 06:39:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:39:05 - End Time 2025-02-09 06:39:05
[2025-02-09 06:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435277', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435277', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435277', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435277', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:39:18] Production.INFO: ProcessCDR(1,14435277,1,1,2)
[2025-02-09 06:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435277', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435277', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:39:21] Production.INFO: ==28248== Releasing lock...
[2025-02-09 06:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:39:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:40:02] Production.INFO: ==28304== Lock acquired, processing the job...
[2025-02-09 11:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:40:02] Production.INFO: neon service started
[2025-02-09 11:40:02] Production.INFO: neon service started
[2025-02-09 11:40:02] Production.INFO: ==28304== Releasing lock...
[2025-02-09 11:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:40:02] Production.INFO: ==28307== Lock acquired, processing the job...
[2025-02-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:40:02] Production.INFO: ==28309== Lock acquired, processing the job...
[2025-02-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:40:03] Production.INFO: ==28309== Releasing lock...
[2025-02-09 11:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:40:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:40:03] Production.INFO: ==28307== Releasing lock...
[2025-02-09 06:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:40:04] Production.INFO: ==28319== Lock acquired, processing the job...
[2025-02-09 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:40:04] Production.INFO: ==28321== Lock acquired, processing the job...
[2025-02-09 06:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:40:04] Production.INFO: Account Balance Start.
[2025-02-09 06:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:40:04] Production.INFO: 117
[2025-02-09 06:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:40:04] Production.INFO: ==28311== Lock acquired, processing the job...
[2025-02-09 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 06:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:40:04] Production.INFO: Total Charge 0
[2025-02-09 06:40:04] Production.INFO: ==28325== Lock acquired, processing the job...
[2025-02-09 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:40:04] Production.INFO: CreateAllLog End
[2025-02-09 06:40:04] Production.INFO: ==28317== Lock acquired, processing the job...
[2025-02-09 06:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:40:04] Production.INFO: ==28315== Lock acquired, processing the job...
[2025-02-09 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:40:04] Production.INFO: ==28313== Lock acquired, processing the job...
[2025-02-09 06:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 06:40:04] Production.ERROR: CronJob PID - 28317
[2025-02-09 06:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 06:40:04] Production.ERROR: CronJob ID - 10
[2025-02-09 06:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 06:40:00
[2025-02-09 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 06:40:04] Production.ERROR: CronJob PID - 28319
[2025-02-09 06:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 06:40:04] Production.ERROR: CronJob ID - 12
[2025-02-09 06:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 06:40:00
[2025-02-09 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 06:40:04] Production.ERROR: CronJob PID - 28321
[2025-02-09 06:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 06:40:04] Production.ERROR: CronJob ID - 16
[2025-02-09 06:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 06:40:00
[2025-02-09 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 06:40:04] Production.ERROR: CronJob PID - 28325
[2025-02-09 06:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 06:40:04] Production.ERROR: CronJob ID - 19
[2025-02-09 06:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 06:40:00
[2025-02-09 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 06:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:40:04] Production.INFO: ==28323== Lock acquired, processing the job...
[2025-02-09 06:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 06:40:04] Production.INFO: count ==21
[2025-02-09 06:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 06:40:04] Production.INFO: ==28311== Releasing lock...
[2025-02-09 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 06:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 06:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:40:04] Production.INFO: count ==21
[2025-02-09 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435279') start
[2025-02-09 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:40:04] Production.ERROR: done
[2025-02-09 06:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:40:04] Production.INFO: Account Balance End.
[2025-02-09 06:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435279') end
[2025-02-09 06:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:40:04] Production.INFO: 1
[2025-02-09 06:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:40:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:40:04] Production.INFO: ==28319== Releasing lock...
[2025-02-09 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:40:04] Production.INFO: ==28325== Releasing lock...
[2025-02-09 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:40:04] Production.ERROR: done
[2025-02-09 06:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:40:04] Production.ERROR: done
[2025-02-09 06:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 06:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435283', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 06:40:05] Production.INFO: ==28315== Releasing lock...
[2025-02-09 06:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:40:06
[end_date_ymd] => 2025-02-09 06:40:06
[RateCDR] => 1
)
[2025-02-09 06:40: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-02-09 03:40:06' and `end` < '2025-02-09 06:40: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-02-09 06:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435283', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 06:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 06:40:09] Production.INFO: ProcessCDR(1,14435283,1,1,2)
[2025-02-09 06:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435283,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435283,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:40:09] Production.INFO: ==28323== Releasing lock...
[2025-02-09 06:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 06:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 06:40:13] Production.ERROR: CronJobId end10
[2025-02-09 06:40:13] Production.INFO: ==28317== Releasing lock...
[2025-02-09 06:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:40:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:40:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:40:16] Production.INFO: call_cost start
[2025-02-09 06:40:16] Production.INFO: call_cost end
[2025-02-09 06:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:40:17] Production.INFO: ==28313== Releasing lock...
[2025-02-09 06:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:40:19] Production.INFO: count ==156
[2025-02-09 06:40:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:40:06 - End Time 2025-02-09 06:40:06
[2025-02-09 06:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435282', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435282', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435282', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435282', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:40:19] Production.INFO: ProcessCDR(1,14435282,1,1,2)
[2025-02-09 06:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435282', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435282', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:40:23] Production.INFO: ==28321== Releasing lock...
[2025-02-09 06:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:40:23] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:41:01] Production.INFO: ==28380== Lock acquired, processing the job...
[2025-02-09 11:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:41:01] Production.INFO: neon service started
[2025-02-09 11:41:01] Production.INFO: neon service started
[2025-02-09 11:41:01] Production.INFO: ==28380== Releasing lock...
[2025-02-09 11:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:41:02] Production.INFO: ==28382== Lock acquired, processing the job...
[2025-02-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:41:02] Production.INFO: ==28382== Releasing lock...
[2025-02-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:41:02] Production.INFO: ==28384== Lock acquired, processing the job...
[2025-02-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:41:02] Production.INFO: ==28384== Releasing lock...
[2025-02-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:41:03] Production.INFO: ==28396== Lock acquired, processing the job...
[2025-02-09 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:41:03] Production.INFO: ==28394== Lock acquired, processing the job...
[2025-02-09 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:41:03] Production.INFO: ==28386== Lock acquired, processing the job...
[2025-02-09 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:41:03] Production.INFO: ==28388== Lock acquired, processing the job...
[2025-02-09 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:41:03] Production.INFO: count ==21
[2025-02-09 06:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:41:03] Production.INFO: count ==21
[2025-02-09 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435284') start
[2025-02-09 06:41:03] Production.INFO: ==28392== Lock acquired, processing the job...
[2025-02-09 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:41:03] Production.INFO: ==28390== Lock acquired, processing the job...
[2025-02-09 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:41:03] Production.ERROR: done
[2025-02-09 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435284') end
[2025-02-09 06:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:41:03] Production.INFO: 1
[2025-02-09 06:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:41:03] Production.INFO: Account Balance Start.
[2025-02-09 06:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:41:03] Production.INFO: 117
[2025-02-09 06:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:41:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:41:03] Production.INFO: Total Charge 0
[2025-02-09 06:41:03] Production.INFO: CreateAllLog End
[2025-02-09 06:41:03] Production.INFO: ==28396== Releasing lock...
[2025-02-09 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:41:03] Production.INFO: ==28388== Releasing lock...
[2025-02-09 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:41:03] Production.ERROR: done
[2025-02-09 06:41:04] Production.INFO: Account Balance End.
[2025-02-09 06:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:41:04] Production.INFO: ==28392== Releasing lock...
[2025-02-09 06:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:41:04
[end_date_ymd] => 2025-02-09 06:41:04
[RateCDR] => 1
)
[2025-02-09 06:41:04] 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-02-09 03:41:04' and `end` < '2025-02-09 06:41:04'
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-02-09 06:41:12] Production.ERROR: CronJobId end10
[2025-02-09 06:41:12] Production.INFO: ==28390== Releasing lock...
[2025-02-09 06:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:41:14] Production.INFO: call_cost start
[2025-02-09 06:41:14] Production.INFO: call_cost end
[2025-02-09 06:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:41:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:41:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:41:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:41:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:41:15] Production.INFO: ==28386== Releasing lock...
[2025-02-09 06:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:41:19] Production.INFO: count ==156
[2025-02-09 06:41:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:41:04 - End Time 2025-02-09 06:41:04
[2025-02-09 06:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435288', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435288', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435288', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435288', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:41:19] Production.INFO: ProcessCDR(1,14435288,1,1,2)
[2025-02-09 06:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435288', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435288', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:41:22] Production.INFO: ==28394== Releasing lock...
[2025-02-09 06:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:41:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:42:02] Production.INFO: ==28453== Lock acquired, processing the job...
[2025-02-09 11:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:42:02] Production.INFO: neon service started
[2025-02-09 11:42:02] Production.INFO: neon service started
[2025-02-09 11:42:02] Production.INFO: ==28453== Releasing lock...
[2025-02-09 11:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:42:02] Production.INFO: ==28457== Lock acquired, processing the job...
[2025-02-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:42:02] Production.INFO: ==28457== Releasing lock...
[2025-02-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:42:02] Production.INFO: ==28455== Lock acquired, processing the job...
[2025-02-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:42:03] Production.INFO: ==28455== Releasing lock...
[2025-02-09 06:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:42:03] Production.INFO: ==28461== Lock acquired, processing the job...
[2025-02-09 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:42:03] Production.INFO: ==28465== Lock acquired, processing the job...
[2025-02-09 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:42:03] Production.INFO: ==28459== Lock acquired, processing the job...
[2025-02-09 06:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:42:04] Production.INFO: Account Balance Start.
[2025-02-09 06:42:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:42:04] Production.INFO: 117
[2025-02-09 06:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:42:04] Production.INFO: ==28463== Lock acquired, processing the job...
[2025-02-09 06:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:42:04] Production.INFO: Total Charge 0
[2025-02-09 06:42:04] Production.INFO: ==28461== Releasing lock...
[2025-02-09 06:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:42:04] Production.INFO: ==28467== Lock acquired, processing the job...
[2025-02-09 06:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:42:04] Production.INFO: CreateAllLog End
[2025-02-09 06:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:42:04] Production.INFO: ==28470== Lock acquired, processing the job...
[2025-02-09 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:42:04] Production.INFO: count ==21
[2025-02-09 06:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:42:04] Production.INFO: count ==21
[2025-02-09 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435292') start
[2025-02-09 06:42:04] Production.INFO: Account Balance End.
[2025-02-09 06:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:42:04] Production.INFO: ==28465== Releasing lock...
[2025-02-09 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435292') end
[2025-02-09 06:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:42:04] Production.INFO: 1
[2025-02-09 06:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:42:04] Production.ERROR: done
[2025-02-09 06:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:42:04] Production.INFO: ==28470== Releasing lock...
[2025-02-09 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:42:04] Production.ERROR: done
[2025-02-09 06:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:42:05
[end_date_ymd] => 2025-02-09 06:42:05
[RateCDR] => 1
)
[2025-02-09 06:42: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` >= '2025-02-09 03:42:05' and `end` < '2025-02-09 06:42: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 ,'')
[2025-02-09 06:42:11] Production.ERROR: CronJobId end10
[2025-02-09 06:42:11] Production.INFO: ==28463== Releasing lock...
[2025-02-09 06:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:42:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:42:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:42:13] Production.INFO: call_cost start
[2025-02-09 06:42:13] Production.INFO: call_cost end
[2025-02-09 06:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:42:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:42:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:42:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:42:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:42:14] Production.INFO: ==28459== Releasing lock...
[2025-02-09 06:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:42:18] Production.INFO: count ==156
[2025-02-09 06:42:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:42:05 - End Time 2025-02-09 06:42:05
[2025-02-09 06:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435293', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435293', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435293', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435293', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:42:18] Production.INFO: ProcessCDR(1,14435293,1,1,2)
[2025-02-09 06:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435293', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435293', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:42:22] Production.INFO: ==28467== Releasing lock...
[2025-02-09 06:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:42:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 11:43:01] Production.INFO: ==28522== Lock acquired, processing the job...
[2025-02-09 11:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:43:01] Production.INFO: neon service started
[2025-02-09 11:43:01] Production.INFO: neon service started
[2025-02-09 11:43:01] Production.INFO: ==28522== Releasing lock...
[2025-02-09 11:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:43:02] Production.INFO: ==28524== Lock acquired, processing the job...
[2025-02-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:43:02] Production.INFO: ==28526== Lock acquired, processing the job...
[2025-02-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:43:02] Production.INFO: ==28526== Releasing lock...
[2025-02-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:43:02] Production.INFO: ==28524== Releasing lock...
[2025-02-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:43:03] Production.INFO: ==28533== Lock acquired, processing the job...
[2025-02-09 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:43:03] Production.INFO: ==28539== Lock acquired, processing the job...
[2025-02-09 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:43:03] Production.INFO: count ==21
[2025-02-09 06:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:43:03] Production.INFO: count ==21
[2025-02-09 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435294') start
[2025-02-09 06:43:03] Production.INFO: ==28529== Lock acquired, processing the job...
[2025-02-09 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:43:03] Production.INFO: ==28535== Lock acquired, processing the job...
[2025-02-09 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:43:03] Production.INFO: ==28531== Lock acquired, processing the job...
[2025-02-09 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:43:03] Production.INFO: ==28537== Lock acquired, processing the job...
[2025-02-09 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435294') end
[2025-02-09 06:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:43:03] Production.INFO: 1
[2025-02-09 06:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:43:03] Production.INFO: ==28539== Releasing lock...
[2025-02-09 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:43:03] Production.INFO: Account Balance Start.
[2025-02-09 06:43:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:43:03] Production.INFO: 117
[2025-02-09 06:43:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:43:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:43:04] Production.INFO: Total Charge 0
[2025-02-09 06:43:04] Production.INFO: CreateAllLog End
[2025-02-09 06:43:04] Production.INFO: ==28531== Releasing lock...
[2025-02-09 06:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:43:04] Production.ERROR: done
[2025-02-09 06:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:43:04] Production.ERROR: done
[2025-02-09 06:43:04] Production.INFO: Account Balance End.
[2025-02-09 06:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:43:04] Production.INFO: ==28535== Releasing lock...
[2025-02-09 06:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:43:05
[end_date_ymd] => 2025-02-09 06:43:05
[RateCDR] => 1
)
[2025-02-09 06:43: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` >= '2025-02-09 03:43:05' and `end` < '2025-02-09 06:43: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 ,'')
[2025-02-09 06:43:10] Production.ERROR: CronJobId end10
[2025-02-09 06:43:10] Production.INFO: ==28533== Releasing lock...
[2025-02-09 06:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:43:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:43:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:43:13] Production.INFO: call_cost start
[2025-02-09 06:43:13] Production.INFO: call_cost end
[2025-02-09 06:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:43:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:43:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:43:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:43:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:43:14] Production.INFO: ==28529== Releasing lock...
[2025-02-09 06:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:43:20] Production.INFO: count ==159
[2025-02-09 06:43:20] Production.ERROR: pbx CDR StartTime 2025-02-09 03:43:05 - End Time 2025-02-09 06:43:05
[2025-02-09 06:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435298', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435298', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435298', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435298', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:43:20] Production.INFO: ProcessCDR(1,14435298,1,1,2)
[2025-02-09 06:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435298', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435298', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:43:23] Production.INFO: ==28537== Releasing lock...
[2025-02-09 06:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:43:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:44:02] Production.INFO: ==28596== Lock acquired, processing the job...
[2025-02-09 11:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:44:02] Production.INFO: neon service started
[2025-02-09 11:44:02] Production.INFO: neon service started
[2025-02-09 11:44:02] Production.INFO: ==28596== Releasing lock...
[2025-02-09 11:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:44:02] Production.INFO: ==28598== Lock acquired, processing the job...
[2025-02-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:44:02] Production.INFO: ==28598== Releasing lock...
[2025-02-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:44:02] Production.INFO: ==28600== Lock acquired, processing the job...
[2025-02-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:44:02] Production.INFO: ==28600== Releasing lock...
[2025-02-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:44:03] Production.INFO: ==28610== Lock acquired, processing the job...
[2025-02-09 06:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:44:03] Production.INFO: ==28615== Lock acquired, processing the job...
[2025-02-09 06:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:44:03] Production.INFO: Account Balance Start.
[2025-02-09 06:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:44:03] Production.INFO: 117
[2025-02-09 06:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:44:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:44:03] Production.INFO: Total Charge 0
[2025-02-09 06:44:03] Production.INFO: CreateAllLog End
[2025-02-09 06:44:04] Production.INFO: ==28604== Lock acquired, processing the job...
[2025-02-09 06:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:44:04] Production.INFO: count ==21
[2025-02-09 06:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:44:04] Production.INFO: count ==21
[2025-02-09 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435300') start
[2025-02-09 06:44:04] Production.INFO: ==28608== Lock acquired, processing the job...
[2025-02-09 06:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:44:04] Production.INFO: ==28606== Lock acquired, processing the job...
[2025-02-09 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:44:04] Production.INFO: Account Balance End.
[2025-02-09 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435300') end
[2025-02-09 06:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:44:04] Production.INFO: 1
[2025-02-09 06:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:44:04] Production.INFO: ==28610== Releasing lock...
[2025-02-09 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:44:04] Production.INFO: ==28612== Lock acquired, processing the job...
[2025-02-09 06:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:44:04] Production.INFO: ==28615== Releasing lock...
[2025-02-09 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:44:04] Production.INFO: ==28606== Releasing lock...
[2025-02-09 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:44:04] Production.ERROR: done
[2025-02-09 06:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:44:04] Production.ERROR: done
[2025-02-09 06:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:44:05
[end_date_ymd] => 2025-02-09 06:44:05
[RateCDR] => 1
)
[2025-02-09 06:44: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` >= '2025-02-09 03:44:05' and `end` < '2025-02-09 06:44: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 ,'')
[2025-02-09 06:44:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,7))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 06:44:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:44:10] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:44:10] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:44:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:44:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:44:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:44:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:44:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:44:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:44:10] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:44:10] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:44:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:44:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:44:10] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:44:11] Production.INFO: call_cost start
[2025-02-09 06:44:11] Production.INFO: call_cost end
[2025-02-09 06:44:11] Production.ERROR: CronJobId end10
[2025-02-09 06:44:11] Production.INFO: ==28608== Releasing lock...
[2025-02-09 06:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:44:11] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:44:11] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:44:11] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:44:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:44:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:44:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:44:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:44:11] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:44:11] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:44:11] Production.INFO: ==28604== Releasing lock...
[2025-02-09 06:44:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:44:11] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:44:18] Production.INFO: count ==159
[2025-02-09 06:44:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:44:05 - End Time 2025-02-09 06:44:05
[2025-02-09 06:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435303', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435303', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435303', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435303', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:44:18] Production.INFO: ProcessCDR(1,14435303,1,1,2)
[2025-02-09 06:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435303', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435303', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:44:21] Production.INFO: ==28612== Releasing lock...
[2025-02-09 06:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:44:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:45:01] Production.INFO: ==28669== Lock acquired, processing the job...
[2025-02-09 11:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:45:01] Production.INFO: neon service started
[2025-02-09 11:45:01] Production.INFO: neon service started
[2025-02-09 11:45:01] Production.INFO: ==28669== Releasing lock...
[2025-02-09 11:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:45:02] Production.INFO: ==28671== Lock acquired, processing the job...
[2025-02-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:45:02] Production.INFO: ==28673== Lock acquired, processing the job...
[2025-02-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:45:02] Production.INFO: ==28673== Releasing lock...
[2025-02-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:45:02] Production.INFO: ==28671== Releasing lock...
[2025-02-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:45:03] Production.INFO: ==28678== Lock acquired, processing the job...
[2025-02-09 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:45:03] Production.INFO: ==28686== Lock acquired, processing the job...
[2025-02-09 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:45:03] Production.INFO: ==28676== Lock acquired, processing the job...
[2025-02-09 06:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:45:03] Production.INFO: ==28680== Lock acquired, processing the job...
[2025-02-09 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:45:03] Production.INFO: ==28682== Lock acquired, processing the job...
[2025-02-09 06:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:45:03] Production.INFO: ==28684== Lock acquired, processing the job...
[2025-02-09 06:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:45:03] Production.INFO: count ==21
[2025-02-09 06:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:45:03] Production.INFO: ==28678== Releasing lock...
[2025-02-09 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:45:03] Production.INFO: Account Balance Start.
[2025-02-09 06:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:45:03] Production.INFO: count ==21
[2025-02-09 06:45:03] Production.INFO: 117
[2025-02-09 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435305') start
[2025-02-09 06:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:45:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:45:03] Production.INFO: Total Charge 0
[2025-02-09 06:45:03] Production.INFO: CreateAllLog End
[2025-02-09 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435305') end
[2025-02-09 06:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:45:03] Production.INFO: 1
[2025-02-09 06:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:45:03] Production.INFO: ==28686== Releasing lock...
[2025-02-09 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:45:03] Production.ERROR: done
[2025-02-09 06:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:45:04] Production.INFO: Account Balance End.
[2025-02-09 06:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:45:04] Production.INFO: ==28682== Releasing lock...
[2025-02-09 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:45:04] Production.ERROR: done
[2025-02-09 06:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:45:05
[end_date_ymd] => 2025-02-09 06:45:05
[RateCDR] => 1
)
[2025-02-09 06:45: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` >= '2025-02-09 03:45:05' and `end` < '2025-02-09 06:45: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 ,'')
[2025-02-09 06:45:11] Production.ERROR: CronJobId end10
[2025-02-09 06:45:11] Production.INFO: ==28680== Releasing lock...
[2025-02-09 06:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:45:14] Production.INFO: call_cost start
[2025-02-09 06:45:14] Production.INFO: call_cost end
[2025-02-09 06:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:45:15] Production.INFO: ==28676== Releasing lock...
[2025-02-09 06:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:45:18] Production.INFO: count ==162
[2025-02-09 06:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:45:05 - End Time 2025-02-09 06:45:05
[2025-02-09 06:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435308', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435308', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435308', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435308', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:45:18] Production.INFO: ProcessCDR(1,14435308,1,1,2)
[2025-02-09 06:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435308', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435308', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:45:21] Production.INFO: ==28684== Releasing lock...
[2025-02-09 06:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:46:01] Production.INFO: ==28744== Lock acquired, processing the job...
[2025-02-09 11:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:46:01] Production.INFO: neon service started
[2025-02-09 11:46:01] Production.INFO: neon service started
[2025-02-09 11:46:01] Production.INFO: ==28744== Releasing lock...
[2025-02-09 11:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:46:02] Production.INFO: ==28748== Lock acquired, processing the job...
[2025-02-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 06:46:02] Production.INFO: ==28746== Lock acquired, processing the job...
[2025-02-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:46:02] Production.INFO: ==28748== Releasing lock...
[2025-02-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:46:02] Production.INFO: ==28746== Releasing lock...
[2025-02-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:46:03] Production.INFO: ==28751== Lock acquired, processing the job...
[2025-02-09 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:46:03] Production.INFO: ==28753== Lock acquired, processing the job...
[2025-02-09 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:46:03] Production.INFO: ==28757== Lock acquired, processing the job...
[2025-02-09 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:46:03] Production.INFO: ==28755== Lock acquired, processing the job...
[2025-02-09 06:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:46:03] Production.INFO: ==28759== Lock acquired, processing the job...
[2025-02-09 06:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:46:03] Production.INFO: Account Balance Start.
[2025-02-09 06:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:46:03] Production.INFO: 117
[2025-02-09 06:46:03] Production.INFO: ==28761== Lock acquired, processing the job...
[2025-02-09 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:46:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:46:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:46:04] Production.INFO: Total Charge 0
[2025-02-09 06:46:04] Production.INFO: count ==21
[2025-02-09 06:46:04] Production.INFO: ==28753== Releasing lock...
[2025-02-09 06:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:46:04] Production.INFO: CreateAllLog End
[2025-02-09 06:46:04] Production.INFO: count ==21
[2025-02-09 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435312') start
[2025-02-09 06:46:04] Production.ERROR: done
[2025-02-09 06:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:46:04] Production.INFO: Account Balance End.
[2025-02-09 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435312') end
[2025-02-09 06:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:46:04] Production.INFO: 1
[2025-02-09 06:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:46:04] Production.INFO: ==28761== Releasing lock...
[2025-02-09 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:46:04] Production.INFO: ==28757== Releasing lock...
[2025-02-09 06:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:46:04] Production.ERROR: done
[2025-02-09 06:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:46:05
[end_date_ymd] => 2025-02-09 06:46:05
[RateCDR] => 1
)
[2025-02-09 06:46: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` >= '2025-02-09 03:46:05' and `end` < '2025-02-09 06:46: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 ,'')
[2025-02-09 06:46:11] Production.ERROR: CronJobId end10
[2025-02-09 06:46:11] Production.INFO: ==28755== Releasing lock...
[2025-02-09 06:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:46:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:46:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:46:13] Production.INFO: call_cost start
[2025-02-09 06:46:13] Production.INFO: call_cost end
[2025-02-09 06:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:46:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:46:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:46:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:46:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:46:14] Production.INFO: ==28751== Releasing lock...
[2025-02-09 06:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:46:17] Production.INFO: count ==159
[2025-02-09 06:46:17] Production.ERROR: pbx CDR StartTime 2025-02-09 03:46:05 - End Time 2025-02-09 06:46:05
[2025-02-09 06:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435313', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435313', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435313', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435313', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:46:18] Production.INFO: ProcessCDR(1,14435313,1,1,2)
[2025-02-09 06:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435313', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435313', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:46:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:46:21] Production.INFO: ==28759== Releasing lock...
[2025-02-09 06:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:46:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:47:01] Production.INFO: ==28840== Lock acquired, processing the job...
[2025-02-09 11:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:47:01] Production.INFO: neon service started
[2025-02-09 11:47:01] Production.INFO: neon service started
[2025-02-09 11:47:01] Production.INFO: ==28840== Releasing lock...
[2025-02-09 11:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:47:01] Production.INFO: ==28842== Lock acquired, processing the job...
[2025-02-09 06:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:47:02] Production.INFO: ==28842== Releasing lock...
[2025-02-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:47:02] Production.INFO: ==28844== Lock acquired, processing the job...
[2025-02-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:47:02] Production.INFO: ==28844== Releasing lock...
[2025-02-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:47:02] Production.INFO: ==28849== Lock acquired, processing the job...
[2025-02-09 06:47:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:47:02] Production.INFO: ==28847== Lock acquired, processing the job...
[2025-02-09 06:47:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:47:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:47:03] Production.INFO: ==28853== Lock acquired, processing the job...
[2025-02-09 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:47:03] Production.INFO: Account Balance Start.
[2025-02-09 06:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:47:03] Production.INFO: 117
[2025-02-09 06:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:47:03] Production.INFO: ==28855== Lock acquired, processing the job...
[2025-02-09 06:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:47:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:47:03] Production.INFO: Total Charge 0
[2025-02-09 06:47:03] Production.INFO: CreateAllLog End
[2025-02-09 06:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:47:03] Production.INFO: ==28849== Releasing lock...
[2025-02-09 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:47:03] Production.INFO: Account Balance End.
[2025-02-09 06:47:03] Production.INFO: ==28851== Lock acquired, processing the job...
[2025-02-09 06:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:47:03] Production.INFO: ==28857== Lock acquired, processing the job...
[2025-02-09 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:47:03] Production.ERROR: CronJobId end 12
[2025-02-09 06:47:03] Production.INFO: ==28853== Releasing lock...
[2025-02-09 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:47:03] Production.INFO: count ==21
[2025-02-09 06:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:47:03] Production.INFO: count ==21
[2025-02-09 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435317') start
[2025-02-09 06:47:03] Production.ERROR: done
[2025-02-09 06:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435317') end
[2025-02-09 06:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:47:03] Production.INFO: 1
[2025-02-09 06:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:47:04] Production.ERROR: done
[2025-02-09 06:47:04] Production.INFO: ==28857== Releasing lock...
[2025-02-09 06:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:47:05
[end_date_ymd] => 2025-02-09 06:47:05
[RateCDR] => 1
)
[2025-02-09 06:47: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` >= '2025-02-09 03:47:05' and `end` < '2025-02-09 06:47: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 ,'')
[2025-02-09 06:47:11] Production.ERROR: CronJobId end10
[2025-02-09 06:47:11] Production.INFO: ==28851== Releasing lock...
[2025-02-09 06:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:47:14] Production.INFO: call_cost start
[2025-02-09 06:47:14] Production.INFO: call_cost end
[2025-02-09 06:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:47:15] Production.INFO: ==28847== Releasing lock...
[2025-02-09 06:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:47:17] Production.INFO: count ==159
[2025-02-09 06:47:17] Production.ERROR: pbx CDR StartTime 2025-02-09 03:47:05 - End Time 2025-02-09 06:47:05
[2025-02-09 06:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435318', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435318', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435318', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435318', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:47:17] Production.INFO: ProcessCDR(1,14435318,1,1,2)
[2025-02-09 06:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435318', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435318', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:47:21] Production.INFO: ==28855== Releasing lock...
[2025-02-09 06:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:47:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:48:01] Production.INFO: ==28972== Lock acquired, processing the job...
[2025-02-09 11:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:48:01] Production.INFO: neon service started
[2025-02-09 11:48:01] Production.INFO: neon service started
[2025-02-09 11:48:01] Production.INFO: ==28972== Releasing lock...
[2025-02-09 11:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:48:02] Production.INFO: ==28976== Lock acquired, processing the job...
[2025-02-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:48:02] Production.INFO: ==28976== Releasing lock...
[2025-02-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:48:02] Production.INFO: ==28974== Lock acquired, processing the job...
[2025-02-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:48:02] Production.INFO: ==28974== Releasing lock...
[2025-02-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:48:03] Production.INFO: ==28979== Lock acquired, processing the job...
[2025-02-09 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:48:03] Production.INFO: ==28983== Lock acquired, processing the job...
[2025-02-09 06:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:48:03] Production.INFO: ==28985== Lock acquired, processing the job...
[2025-02-09 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:48:03] Production.INFO: ==28981== Lock acquired, processing the job...
[2025-02-09 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:48:03] Production.INFO: Account Balance Start.
[2025-02-09 06:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:48:03] Production.INFO: 117
[2025-02-09 06:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:48:03] Production.INFO: Total Charge 0
[2025-02-09 06:48:03] Production.INFO: CreateAllLog End
[2025-02-09 06:48:03] Production.INFO: ==28987== Lock acquired, processing the job...
[2025-02-09 06:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:48:04] Production.INFO: Account Balance End.
[2025-02-09 06:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:48:04] Production.INFO: ==28985== Releasing lock...
[2025-02-09 06:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:48:04] Production.INFO: ==28989== Lock acquired, processing the job...
[2025-02-09 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:48:04] Production.INFO: ==28981== Releasing lock...
[2025-02-09 06:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:48:04] Production.INFO: count ==21
[2025-02-09 06:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:48:04] Production.INFO: count ==21
[2025-02-09 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435322') start
[2025-02-09 06:48:04] Production.ERROR: done
[2025-02-09 06:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435322') end
[2025-02-09 06:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:48:04] Production.INFO: 1
[2025-02-09 06:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:48:04] Production.ERROR: done
[2025-02-09 06:48:04] Production.INFO: ==28989== Releasing lock...
[2025-02-09 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:48:05
[end_date_ymd] => 2025-02-09 06:48:05
[RateCDR] => 1
)
[2025-02-09 06:48: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` >= '2025-02-09 03:48:05' and `end` < '2025-02-09 06:48: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 ,'')
[2025-02-09 06:48:11] Production.ERROR: CronJobId end10
[2025-02-09 06:48:11] Production.INFO: ==28983== Releasing lock...
[2025-02-09 06:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:48:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:48:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:48:14] Production.INFO: call_cost start
[2025-02-09 06:48:14] Production.INFO: call_cost end
[2025-02-09 06:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:48:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:48:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:48:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:48:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:48:15] Production.INFO: ==28979== Releasing lock...
[2025-02-09 06:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:48:19] Production.INFO: count ==162
[2025-02-09 06:48:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:48:05 - End Time 2025-02-09 06:48:05
[2025-02-09 06:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435323', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435323', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435323', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435323', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:48:19] Production.INFO: ProcessCDR(1,14435323,1,1,2)
[2025-02-09 06:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435323', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435323', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:48:22] Production.INFO: ==28987== Releasing lock...
[2025-02-09 06:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:48:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:49:02] Production.INFO: ==29060== Lock acquired, processing the job...
[2025-02-09 11:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:49:02] Production.INFO: neon service started
[2025-02-09 11:49:02] Production.INFO: neon service started
[2025-02-09 11:49:02] Production.INFO: ==29060== Releasing lock...
[2025-02-09 11:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:49:02] Production.INFO: ==29062== Lock acquired, processing the job...
[2025-02-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:49:02] Production.INFO: ==29062== Releasing lock...
[2025-02-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:49:03] Production.INFO: ==29064== Lock acquired, processing the job...
[2025-02-09 11:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:49:03] Production.INFO: ==29064== Releasing lock...
[2025-02-09 11:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:49:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:49:03] Production.INFO: ==29072== Lock acquired, processing the job...
[2025-02-09 06:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:49:03] Production.INFO: Account Balance Start.
[2025-02-09 06:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:49:03] Production.INFO: ==29076== Lock acquired, processing the job...
[2025-02-09 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:49:03] Production.INFO: 117
[2025-02-09 06:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:49:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:49:03] Production.INFO: Total Charge 0
[2025-02-09 06:49:03] Production.INFO: count ==21
[2025-02-09 06:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:49:03] Production.INFO: count ==21
[2025-02-09 06:49:04] Production.INFO: CreateAllLog End
[2025-02-09 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435325') start
[2025-02-09 06:49:04] Production.INFO: ==29068== Lock acquired, processing the job...
[2025-02-09 06:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:49:04] Production.INFO: ==29066== Lock acquired, processing the job...
[2025-02-09 06:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:49:04] Production.INFO: ==29070== Lock acquired, processing the job...
[2025-02-09 06:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:49:04] Production.INFO: ==29074== Lock acquired, processing the job...
[2025-02-09 06:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:49:04] Production.INFO: Account Balance End.
[2025-02-09 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435325') end
[2025-02-09 06:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:49:04] Production.INFO: 1
[2025-02-09 06:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:49:04] Production.INFO: ==29072== Releasing lock...
[2025-02-09 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:49:04] Production.INFO: ==29076== Releasing lock...
[2025-02-09 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:49:04] Production.INFO: ==29068== Releasing lock...
[2025-02-09 06:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:49:04] Production.ERROR: done
[2025-02-09 06:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:49:04] Production.ERROR: done
[2025-02-09 06:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:49:05
[end_date_ymd] => 2025-02-09 06:49:05
[RateCDR] => 1
)
[2025-02-09 06:49: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` >= '2025-02-09 03:49:05' and `end` < '2025-02-09 06:49: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 ,'')
[2025-02-09 06:49:12] Production.ERROR: CronJobId end10
[2025-02-09 06:49:12] Production.INFO: ==29070== Releasing lock...
[2025-02-09 06:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:49:14] Production.INFO: call_cost start
[2025-02-09 06:49:14] Production.INFO: call_cost end
[2025-02-09 06:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:49:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:49:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:49:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:49:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:49:15] Production.INFO: ==29066== Releasing lock...
[2025-02-09 06:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:49:19] Production.INFO: count ==162
[2025-02-09 06:49:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:49:05 - End Time 2025-02-09 06:49:05
[2025-02-09 06:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435328', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435328', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435328', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435328', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:49:19] Production.INFO: ProcessCDR(1,14435328,1,1,2)
[2025-02-09 06:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435328', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435328', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:49:22] Production.INFO: ==29074== Releasing lock...
[2025-02-09 06:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:49:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:50:01] Production.INFO: ==29145== Lock acquired, processing the job...
[2025-02-09 11:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:50:01] Production.INFO: neon service started
[2025-02-09 11:50:01] Production.INFO: neon service started
[2025-02-09 11:50:01] Production.INFO: ==29145== Releasing lock...
[2025-02-09 11:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:50:02] Production.INFO: ==29147== Lock acquired, processing the job...
[2025-02-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:50:02] Production.INFO: ==29149== Lock acquired, processing the job...
[2025-02-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:50:02] Production.INFO: ==29149== Releasing lock...
[2025-02-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:50:02] Production.INFO: ==29147== Releasing lock...
[2025-02-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:50:03] Production.INFO: ==29152== Lock acquired, processing the job...
[2025-02-09 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 06:50:03] Production.INFO: ==29154== Lock acquired, processing the job...
[2025-02-09 06:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 06:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 06:50:03] Production.INFO: ==29152== Releasing lock...
[2025-02-09 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 06:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 06:50:03] Production.INFO: ==29156== Lock acquired, processing the job...
[2025-02-09 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:50:03] Production.INFO: ==29162== Lock acquired, processing the job...
[2025-02-09 06:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:50:03] Production.INFO: ==29158== Lock acquired, processing the job...
[2025-02-09 06:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:50:04] Production.INFO: ==29160== Lock acquired, processing the job...
[2025-02-09 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:50:04] Production.INFO: ==29164== Lock acquired, processing the job...
[2025-02-09 06:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 06:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:50:04] Production.INFO: ==29166== Lock acquired, processing the job...
[2025-02-09 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:50:04] Production.INFO: Account Balance Start.
[2025-02-09 06:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:50:04] Production.INFO: 117
[2025-02-09 06:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:50:04] Production.ERROR: done
[2025-02-09 06:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:50:04] Production.INFO: ==29156== Releasing lock...
[2025-02-09 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:50:04] Production.INFO: Total Charge 0
[2025-02-09 06:50:04] Production.INFO: CreateAllLog End
[2025-02-09 06:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:50:04] Production.INFO: count ==21
[2025-02-09 06:50:04] Production.ERROR: done
[2025-02-09 06:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:50:04] Production.ERROR: done
[2025-02-09 06:50:04] Production.INFO: count ==21
[2025-02-09 06:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 06:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435334', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435332') start
[2025-02-09 06:50:04] Production.INFO: Account Balance End.
[2025-02-09 06:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:50:04] Production.INFO: ==29160== Releasing lock...
[2025-02-09 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435332') end
[2025-02-09 06:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:50:04] Production.INFO: 1
[2025-02-09 06:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:50:04] Production.INFO: ==29166== Releasing lock...
[2025-02-09 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:50:05
[end_date_ymd] => 2025-02-09 06:50:05
[RateCDR] => 1
)
[2025-02-09 06:50: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-02-09 03:50:05' and `end` < '2025-02-09 06:50: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 ,'')
[2025-02-09 06:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435334', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 06:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 06:50:09] Production.INFO: ProcessCDR(1,14435334,1,1,2)
[2025-02-09 06:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435334,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435334,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:50:09] Production.INFO: ==29164== Releasing lock...
[2025-02-09 06:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 06:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 06:50:14] Production.ERROR: CronJobId end10
[2025-02-09 06:50:14] Production.INFO: ==29158== Releasing lock...
[2025-02-09 06:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:50:16] Production.INFO: call_cost start
[2025-02-09 06:50:16] Production.INFO: call_cost end
[2025-02-09 06:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:50:17] Production.INFO: ==29154== Releasing lock...
[2025-02-09 06:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:50:19] Production.INFO: count ==159
[2025-02-09 06:50:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:50:05 - End Time 2025-02-09 06:50:05
[2025-02-09 06:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435333', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435333', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435333', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435333', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:50:19] Production.INFO: ProcessCDR(1,14435333,1,1,2)
[2025-02-09 06:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435333', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435333', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:50:22] Production.INFO: ==29162== Releasing lock...
[2025-02-09 06:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:50:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:51:02] Production.INFO: ==29231== Lock acquired, processing the job...
[2025-02-09 11:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:51:02] Production.INFO: neon service started
[2025-02-09 11:51:02] Production.INFO: neon service started
[2025-02-09 11:51:02] Production.INFO: ==29231== Releasing lock...
[2025-02-09 11:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:51:02] Production.INFO: ==29235== Lock acquired, processing the job...
[2025-02-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:51:02] Production.INFO: ==29235== Releasing lock...
[2025-02-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:51:02] Production.INFO: ==29233== Lock acquired, processing the job...
[2025-02-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:51:02] Production.INFO: ==29233== Releasing lock...
[2025-02-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:51:03] Production.INFO: ==29238== Lock acquired, processing the job...
[2025-02-09 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:51:03] Production.INFO: ==29240== Lock acquired, processing the job...
[2025-02-09 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:51:03] Production.INFO: ==29248== Lock acquired, processing the job...
[2025-02-09 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:51:04] Production.INFO: ==29240== Releasing lock...
[2025-02-09 06:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:51:04] Production.INFO: count ==21
[2025-02-09 06:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:51:04] Production.INFO: count ==21
[2025-02-09 06:51:04] Production.INFO: ==29242== Lock acquired, processing the job...
[2025-02-09 06:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435337') start
[2025-02-09 06:51:04] Production.INFO: ==29244== Lock acquired, processing the job...
[2025-02-09 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:51:04] Production.INFO: ==29246== Lock acquired, processing the job...
[2025-02-09 06:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435337') end
[2025-02-09 06:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:51:04] Production.INFO: 1
[2025-02-09 06:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:51:04] Production.INFO: ==29248== Releasing lock...
[2025-02-09 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:51:04] Production.INFO: Account Balance Start.
[2025-02-09 06:51:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:51:04] Production.INFO: 117
[2025-02-09 06:51:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:51:04] Production.INFO: Total Charge 0
[2025-02-09 06:51:04] Production.INFO: CreateAllLog End
[2025-02-09 06:51:04] Production.ERROR: done
[2025-02-09 06:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:51:04] Production.ERROR: done
[2025-02-09 06:51:04] Production.INFO: Account Balance End.
[2025-02-09 06:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:51:04] Production.INFO: ==29244== Releasing lock...
[2025-02-09 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:51:05
[end_date_ymd] => 2025-02-09 06:51:05
[RateCDR] => 1
)
[2025-02-09 06:51: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` >= '2025-02-09 03:51:05' and `end` < '2025-02-09 06:51: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 ,'')
[2025-02-09 06:51:11] Production.ERROR: CronJobId end10
[2025-02-09 06:51:11] Production.INFO: ==29242== Releasing lock...
[2025-02-09 06:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:51:14] Production.INFO: call_cost start
[2025-02-09 06:51:14] Production.INFO: call_cost end
[2025-02-09 06:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:51:15] Production.INFO: ==29238== Releasing lock...
[2025-02-09 06:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:51:18] Production.INFO: count ==147
[2025-02-09 06:51:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:51:05 - End Time 2025-02-09 06:51:05
[2025-02-09 06:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435339', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435339', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435339', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435339', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:51:18] Production.INFO: ProcessCDR(1,14435339,1,1,2)
[2025-02-09 06:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435339', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435339', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:51:21] Production.INFO: ==29246== Releasing lock...
[2025-02-09 06:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:51:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:52:01] Production.INFO: ==29318== Lock acquired, processing the job...
[2025-02-09 11:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:52:01] Production.INFO: neon service started
[2025-02-09 11:52:01] Production.INFO: neon service started
[2025-02-09 11:52:01] Production.INFO: ==29318== Releasing lock...
[2025-02-09 11:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:52:01] Production.INFO: ==29320== Lock acquired, processing the job...
[2025-02-09 06:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:52:02] Production.INFO: ==29320== Releasing lock...
[2025-02-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:52:02] Production.INFO: ==29322== Lock acquired, processing the job...
[2025-02-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:52:02] Production.INFO: ==29322== Releasing lock...
[2025-02-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:52:03] Production.INFO: ==29324== Lock acquired, processing the job...
[2025-02-09 06:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:52:03] Production.INFO: ==29334== Lock acquired, processing the job...
[2025-02-09 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:52:03] Production.INFO: ==29326== Lock acquired, processing the job...
[2025-02-09 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:52:03] Production.INFO: ==29328== Lock acquired, processing the job...
[2025-02-09 06:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:52:03] Production.INFO: ==29330== Lock acquired, processing the job...
[2025-02-09 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:52:03] Production.INFO: ==29332== Lock acquired, processing the job...
[2025-02-09 06:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:52:03] Production.INFO: count ==21
[2025-02-09 06:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:52:03] Production.INFO: count ==21
[2025-02-09 06:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435340') start
[2025-02-09 06:52:03] Production.INFO: Account Balance Start.
[2025-02-09 06:52:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:52:03] Production.INFO: 117
[2025-02-09 06:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:52:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435340') end
[2025-02-09 06:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:52:03] Production.INFO: 1
[2025-02-09 06:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:52:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:52:03] Production.INFO: Total Charge 0
[2025-02-09 06:52:03] Production.INFO: CreateAllLog End
[2025-02-09 06:52:03] Production.INFO: ==29334== Releasing lock...
[2025-02-09 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:52:03] Production.INFO: ==29326== Releasing lock...
[2025-02-09 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:52:03] Production.INFO: Account Balance End.
[2025-02-09 06:52:03] Production.ERROR: CronJobId end 12
[2025-02-09 06:52:03] Production.INFO: ==29330== Releasing lock...
[2025-02-09 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:52:03] Production.ERROR: done
[2025-02-09 06:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:52:04] Production.ERROR: done
[2025-02-09 06:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:52:05
[end_date_ymd] => 2025-02-09 06:52:05
[RateCDR] => 1
)
[2025-02-09 06:52: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` >= '2025-02-09 03:52:05' and `end` < '2025-02-09 06:52: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 ,'')
[2025-02-09 06:52:11] Production.ERROR: CronJobId end10
[2025-02-09 06:52:11] Production.INFO: ==29328== Releasing lock...
[2025-02-09 06:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:52:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:52:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:52:13] Production.INFO: call_cost start
[2025-02-09 06:52:13] Production.INFO: call_cost end
[2025-02-09 06:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:52:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:52:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:52:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:52:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:52:14] Production.INFO: ==29324== Releasing lock...
[2025-02-09 06:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:52:19] Production.INFO: count ==147
[2025-02-09 06:52:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:52:05 - End Time 2025-02-09 06:52:05
[2025-02-09 06:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435344', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435344', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435344', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435344', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:52:19] Production.INFO: ProcessCDR(1,14435344,1,1,2)
[2025-02-09 06:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435344', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435344', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:52:22] Production.INFO: ==29332== Releasing lock...
[2025-02-09 06:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:52:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:53:02] Production.INFO: ==29400== Lock acquired, processing the job...
[2025-02-09 11:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:53:02] Production.INFO: neon service started
[2025-02-09 11:53:02] Production.INFO: neon service started
[2025-02-09 11:53:02] Production.INFO: ==29400== Releasing lock...
[2025-02-09 11:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:53:02] Production.INFO: ==29405== Lock acquired, processing the job...
[2025-02-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:53:02] Production.INFO: ==29405== Releasing lock...
[2025-02-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:53:02] Production.INFO: ==29403== Lock acquired, processing the job...
[2025-02-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:53:03] Production.INFO: ==29403== Releasing lock...
[2025-02-09 06:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:53:03] Production.INFO: ==29407== Lock acquired, processing the job...
[2025-02-09 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:53:03] Production.INFO: ==29411== Lock acquired, processing the job...
[2025-02-09 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:53:03] Production.INFO: ==29409== Lock acquired, processing the job...
[2025-02-09 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:53:03] Production.INFO: ==29415== Lock acquired, processing the job...
[2025-02-09 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:53:04] Production.INFO: ==29417== Lock acquired, processing the job...
[2025-02-09 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:53:04] Production.INFO: ==29413== Lock acquired, processing the job...
[2025-02-09 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:53:04] Production.INFO: ==29409== Releasing lock...
[2025-02-09 06:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:53:04] Production.INFO: Account Balance Start.
[2025-02-09 06:53:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:53:04] Production.INFO: 117
[2025-02-09 06:53:04] Production.INFO: count ==21
[2025-02-09 06:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:53:04] Production.INFO: count ==21
[2025-02-09 06:53:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435347') start
[2025-02-09 06:53:04] Production.ERROR: done
[2025-02-09 06:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:53:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:53:04] Production.INFO: Total Charge 0
[2025-02-09 06:53:04] Production.INFO: CreateAllLog End
[2025-02-09 06:53:04] Production.ERROR: done
[2025-02-09 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435347') end
[2025-02-09 06:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:53:04] Production.INFO: 1
[2025-02-09 06:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:53:04] Production.INFO: Account Balance End.
[2025-02-09 06:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:53:04] Production.INFO: ==29413== Releasing lock...
[2025-02-09 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:53:04] Production.INFO: ==29417== Releasing lock...
[2025-02-09 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:53:05
[end_date_ymd] => 2025-02-09 06:53:05
[RateCDR] => 1
)
[2025-02-09 06:53: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` >= '2025-02-09 03:53:05' and `end` < '2025-02-09 06:53: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 ,'')
[2025-02-09 06:53:12] Production.ERROR: CronJobId end10
[2025-02-09 06:53:12] Production.INFO: ==29411== Releasing lock...
[2025-02-09 06:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:53:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:53:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:53:13] Production.INFO: call_cost start
[2025-02-09 06:53:13] Production.INFO: call_cost end
[2025-02-09 06:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:53:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:53:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:53:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:53:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:53:14] Production.INFO: ==29407== Releasing lock...
[2025-02-09 06:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:53:19] Production.INFO: count ==148
[2025-02-09 06:53:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:53:05 - End Time 2025-02-09 06:53:05
[2025-02-09 06:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435349', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435349', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435349', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435349', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:53:19] Production.INFO: ProcessCDR(1,14435349,1,1,2)
[2025-02-09 06:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435349', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435349', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:53:24] Production.INFO: ==29415== Releasing lock...
[2025-02-09 06:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:53:24] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:54:01] Production.INFO: ==29486== Lock acquired, processing the job...
[2025-02-09 11:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:54:01] Production.INFO: neon service started
[2025-02-09 11:54:01] Production.INFO: neon service started
[2025-02-09 11:54:01] Production.INFO: ==29486== Releasing lock...
[2025-02-09 11:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:54:01] Production.INFO: ==29490== Lock acquired, processing the job...
[2025-02-09 11:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:54:01] Production.INFO: ==29490== Releasing lock...
[2025-02-09 11:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:54:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:54:02] Production.INFO: ==29488== Lock acquired, processing the job...
[2025-02-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:54:02] Production.INFO: ==29488== Releasing lock...
[2025-02-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:54:03] Production.INFO: ==29495== Lock acquired, processing the job...
[2025-02-09 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:54:03] Production.INFO: ==29505== Lock acquired, processing the job...
[2025-02-09 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:54:03] Production.INFO: ==29497== Lock acquired, processing the job...
[2025-02-09 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:54:03] Production.INFO: ==29499== Lock acquired, processing the job...
[2025-02-09 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:54:03] Production.INFO: ==29501== Lock acquired, processing the job...
[2025-02-09 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:54:03] Production.INFO: ==29503== Lock acquired, processing the job...
[2025-02-09 06:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:54:03] Production.INFO: count ==21
[2025-02-09 06:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:54:03] Production.INFO: count ==21
[2025-02-09 06:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435351') start
[2025-02-09 06:54:03] Production.INFO: Account Balance Start.
[2025-02-09 06:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:54:03] Production.INFO: 117
[2025-02-09 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:54:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435351') end
[2025-02-09 06:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:54:04] Production.INFO: 1
[2025-02-09 06:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:54:04] Production.INFO: Total Charge 0
[2025-02-09 06:54:04] Production.INFO: ==29497== Releasing lock...
[2025-02-09 06:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:54:04] Production.INFO: CreateAllLog End
[2025-02-09 06:54:04] Production.INFO: ==29505== Releasing lock...
[2025-02-09 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:54:04] Production.ERROR: done
[2025-02-09 06:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:54:04] Production.ERROR: done
[2025-02-09 06:54:04] Production.INFO: Account Balance End.
[2025-02-09 06:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:54:04] Production.INFO: ==29501== Releasing lock...
[2025-02-09 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:54:05
[end_date_ymd] => 2025-02-09 06:54:05
[RateCDR] => 1
)
[2025-02-09 06:54: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` >= '2025-02-09 03:54:05' and `end` < '2025-02-09 06:54: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 ,'')
[2025-02-09 06:54:12] Production.ERROR: CronJobId end10
[2025-02-09 06:54:12] Production.INFO: ==29499== Releasing lock...
[2025-02-09 06:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:54:14] Production.INFO: call_cost start
[2025-02-09 06:54:14] Production.INFO: call_cost end
[2025-02-09 06:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:54:15] Production.INFO: ==29495== Releasing lock...
[2025-02-09 06:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:54:18] Production.INFO: count ==148
[2025-02-09 06:54:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:54:05 - End Time 2025-02-09 06:54:05
[2025-02-09 06:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435354', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435354', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435354', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435354', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:54:18] Production.INFO: ProcessCDR(1,14435354,1,1,2)
[2025-02-09 06:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435354', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435354', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:54:22] Production.INFO: ==29503== Releasing lock...
[2025-02-09 06:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:54:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:55:01] Production.INFO: ==29572== Lock acquired, processing the job...
[2025-02-09 11:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:55:01] Production.INFO: neon service started
[2025-02-09 11:55:02] Production.INFO: neon service started
[2025-02-09 11:55:02] Production.INFO: ==29572== Releasing lock...
[2025-02-09 11:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:55:02] Production.INFO: ==29574== Lock acquired, processing the job...
[2025-02-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:55:02] Production.INFO: ==29574== Releasing lock...
[2025-02-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:55:02] Production.INFO: ==29576== Lock acquired, processing the job...
[2025-02-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:55:02] Production.INFO: ==29576== Releasing lock...
[2025-02-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:55:03] Production.INFO: ==29578== Lock acquired, processing the job...
[2025-02-09 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:55:03] Production.INFO: ==29586== Lock acquired, processing the job...
[2025-02-09 06:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:55:03] Production.INFO: ==29580== Lock acquired, processing the job...
[2025-02-09 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:55:03] Production.INFO: ==29582== Lock acquired, processing the job...
[2025-02-09 06:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:55:03] Production.INFO: ==29584== Lock acquired, processing the job...
[2025-02-09 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:55:03] Production.INFO: ==29588== Lock acquired, processing the job...
[2025-02-09 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:55:03] Production.INFO: Account Balance Start.
[2025-02-09 06:55:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:55:03] Production.INFO: 117
[2025-02-09 06:55:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:55:03] Production.ERROR: done
[2025-02-09 06:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:55:04] Production.INFO: Total Charge 0
[2025-02-09 06:55:04] Production.INFO: CreateAllLog End
[2025-02-09 06:55:04] Production.INFO: count ==21
[2025-02-09 06:55:04] Production.INFO: ==29580== Releasing lock...
[2025-02-09 06:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:55:04] Production.ERROR: done
[2025-02-09 06:55:04] Production.INFO: count ==21
[2025-02-09 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435358') start
[2025-02-09 06:55:04] Production.INFO: Account Balance End.
[2025-02-09 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435358') end
[2025-02-09 06:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:55:04] Production.INFO: 1
[2025-02-09 06:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:55:04] Production.INFO: ==29584== Releasing lock...
[2025-02-09 06:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:55:04] Production.INFO: ==29588== Releasing lock...
[2025-02-09 06:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:55:05
[end_date_ymd] => 2025-02-09 06:55:05
[RateCDR] => 1
)
[2025-02-09 06:55: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` >= '2025-02-09 03:55:05' and `end` < '2025-02-09 06:55: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 ,'')
[2025-02-09 06:55:12] Production.ERROR: CronJobId end10
[2025-02-09 06:55:12] Production.INFO: ==29582== Releasing lock...
[2025-02-09 06:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:55:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:55:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:55:14] Production.INFO: call_cost start
[2025-02-09 06:55:14] Production.INFO: call_cost end
[2025-02-09 06:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:55:15] Production.INFO: ==29578== Releasing lock...
[2025-02-09 06:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:55:18] Production.INFO: count ==148
[2025-02-09 06:55:18] Production.ERROR: pbx CDR StartTime 2025-02-09 03:55:05 - End Time 2025-02-09 06:55:05
[2025-02-09 06:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435359', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435359', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435359', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435359', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:55:18] Production.INFO: ProcessCDR(1,14435359,1,1,2)
[2025-02-09 06:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435359', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435359', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:55:21] Production.INFO: ==29586== Releasing lock...
[2025-02-09 06:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:56:01] Production.INFO: ==29658== Lock acquired, processing the job...
[2025-02-09 11:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:56:01] Production.INFO: neon service started
[2025-02-09 11:56:01] Production.INFO: neon service started
[2025-02-09 11:56:01] Production.INFO: ==29658== Releasing lock...
[2025-02-09 11:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:56:01] Production.INFO: ==29660== Lock acquired, processing the job...
[2025-02-09 06:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:56:02] Production.INFO: ==29660== Releasing lock...
[2025-02-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:56:02] Production.INFO: ==29662== Lock acquired, processing the job...
[2025-02-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:56:02] Production.INFO: ==29662== Releasing lock...
[2025-02-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:56:02] Production.INFO: ==29672== Lock acquired, processing the job...
[2025-02-09 06:56:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:56:02] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:56:03] Production.ERROR: done
[2025-02-09 06:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:56:03] Production.ERROR: done
[2025-02-09 06:56:03] Production.INFO: ==29664== Lock acquired, processing the job...
[2025-02-09 06:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:56:03] Production.INFO: ==29674== Lock acquired, processing the job...
[2025-02-09 06:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:56:03] Production.INFO: ==29666== Lock acquired, processing the job...
[2025-02-09 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:56:03] Production.INFO: ==29668== Lock acquired, processing the job...
[2025-02-09 06:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:56:03] Production.INFO: ==29670== Lock acquired, processing the job...
[2025-02-09 06:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:56:03] Production.INFO: count ==21
[2025-02-09 06:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:56:03] Production.INFO: count ==21
[2025-02-09 06:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435361') start
[2025-02-09 06:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435361') end
[2025-02-09 06:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:56:03] Production.INFO: 1
[2025-02-09 06:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:56:03] Production.INFO: Account Balance Start.
[2025-02-09 06:56:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:56:03] Production.INFO: 117
[2025-02-09 06:56:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:56:03] Production.INFO: ==29674== Releasing lock...
[2025-02-09 06:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:56:03] Production.INFO: ==29666== Releasing lock...
[2025-02-09 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:56:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:56:03] Production.INFO: Total Charge 0
[2025-02-09 06:56:03] Production.INFO: CreateAllLog End
[2025-02-09 06:56:03] Production.INFO: Account Balance End.
[2025-02-09 06:56:03] Production.ERROR: CronJobId end 12
[2025-02-09 06:56:03] Production.INFO: ==29670== Releasing lock...
[2025-02-09 06:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:56:04
[end_date_ymd] => 2025-02-09 06:56:04
[RateCDR] => 1
)
[2025-02-09 06:56:04] 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-02-09 03:56:04' and `end` < '2025-02-09 06:56:04'
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-02-09 06:56:10] Production.ERROR: CronJobId end10
[2025-02-09 06:56:10] Production.INFO: ==29668== Releasing lock...
[2025-02-09 06:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:56:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:56:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:56:13] Production.INFO: call_cost start
[2025-02-09 06:56:13] Production.INFO: call_cost end
[2025-02-09 06:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:56:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:56:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:56:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:56:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:56:14] Production.INFO: ==29664== Releasing lock...
[2025-02-09 06:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:56:16] Production.INFO: count ==148
[2025-02-09 06:56:16] Production.ERROR: pbx CDR StartTime 2025-02-09 03:56:04 - End Time 2025-02-09 06:56:04
[2025-02-09 06:56:16] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:56:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435360', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:56:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435360', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:56:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435360', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:56:16] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435360', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:56:16] Production.INFO: ProcessCDR(1,14435360,1,1,2)
[2025-02-09 06:56:16] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:56:17] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:56:17] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:56:19] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:56:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435360', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:56:19] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435360', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:56:19] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:56:19] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:56:19] Production.INFO: ==29672== Releasing lock...
[2025-02-09 06:56:19] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:56:19] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:57:01] Production.INFO: ==29743== Lock acquired, processing the job...
[2025-02-09 11:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:57:01] Production.INFO: neon service started
[2025-02-09 11:57:01] Production.INFO: neon service started
[2025-02-09 11:57:01] Production.INFO: ==29743== Releasing lock...
[2025-02-09 11:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:57:02] Production.INFO: ==29745== Lock acquired, processing the job...
[2025-02-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:57:02] Production.INFO: ==29747== Lock acquired, processing the job...
[2025-02-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:57:02] Production.INFO: ==29747== Releasing lock...
[2025-02-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:57:02] Production.INFO: ==29745== Releasing lock...
[2025-02-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:57:03] Production.INFO: ==29754== Lock acquired, processing the job...
[2025-02-09 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:57:03] Production.INFO: ==29758== Lock acquired, processing the job...
[2025-02-09 06:57:03] Production.INFO: ==29756== Lock acquired, processing the job...
[2025-02-09 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:57:03] Production.INFO: Account Balance Start.
[2025-02-09 06:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:57:03] Production.INFO: 117
[2025-02-09 06:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:57:03] Production.INFO: Total Charge 0
[2025-02-09 06:57:03] Production.INFO: CreateAllLog End
[2025-02-09 06:57:03] Production.INFO: ==29750== Lock acquired, processing the job...
[2025-02-09 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:57:03] Production.ERROR: done
[2025-02-09 06:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:57:03] Production.INFO: ==29752== Lock acquired, processing the job...
[2025-02-09 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:57:03] Production.INFO: ==29760== Lock acquired, processing the job...
[2025-02-09 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:57:04] Production.ERROR: done
[2025-02-09 06:57:04] Production.INFO: Account Balance End.
[2025-02-09 06:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:57:04] Production.INFO: ==29756== Releasing lock...
[2025-02-09 06:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:57:04] Production.INFO: count ==21
[2025-02-09 06:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:57:04] Production.INFO: count ==21
[2025-02-09 06:57:04] Production.INFO: ==29752== Releasing lock...
[2025-02-09 06:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435367') start
[2025-02-09 06:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435367') end
[2025-02-09 06:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:57:04] Production.INFO: 1
[2025-02-09 06:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:57:04] Production.INFO: ==29760== Releasing lock...
[2025-02-09 06:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:57:04
[end_date_ymd] => 2025-02-09 06:57:04
[RateCDR] => 1
)
[2025-02-09 06:57:04] 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-02-09 03:57:04' and `end` < '2025-02-09 06:57:04'
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-02-09 06:57:11] Production.ERROR: CronJobId end10
[2025-02-09 06:57:11] Production.INFO: ==29754== Releasing lock...
[2025-02-09 06:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:57:14] Production.INFO: call_cost start
[2025-02-09 06:57:14] Production.INFO: call_cost end
[2025-02-09 06:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:57:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:57:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:57:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:57:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:57:14] Production.INFO: ==29750== Releasing lock...
[2025-02-09 06:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:57:17] Production.INFO: count ==148
[2025-02-09 06:57:17] Production.ERROR: pbx CDR StartTime 2025-02-09 03:57:04 - End Time 2025-02-09 06:57:04
[2025-02-09 06:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435368', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435368', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435368', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435368', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:57:17] Production.INFO: ProcessCDR(1,14435368,1,1,2)
[2025-02-09 06:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:57:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435368', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:57:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435368', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:57:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:57:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:57:20] Production.INFO: ==29758== Releasing lock...
[2025-02-09 06:57:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:57:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:58:02] Production.INFO: ==29828== Lock acquired, processing the job...
[2025-02-09 11:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:58:02] Production.INFO: neon service started
[2025-02-09 11:58:02] Production.INFO: neon service started
[2025-02-09 11:58:02] Production.INFO: ==29828== Releasing lock...
[2025-02-09 11:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:58:02] Production.INFO: ==29830== Lock acquired, processing the job...
[2025-02-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 06:58:02] Production.INFO: ==29830== Releasing lock...
[2025-02-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:58:03] Production.INFO: ==29832== Lock acquired, processing the job...
[2025-02-09 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:58:03] Production.INFO: ==29832== Releasing lock...
[2025-02-09 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:58:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:58:03] Production.INFO: ==29845== Lock acquired, processing the job...
[2025-02-09 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:58:04] Production.INFO: count ==21
[2025-02-09 06:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:58:04] Production.INFO: count ==21
[2025-02-09 06:58:04] Production.INFO: ==29843== Lock acquired, processing the job...
[2025-02-09 06:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435370') start
[2025-02-09 06:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:58:04] Production.INFO: ==29839== Lock acquired, processing the job...
[2025-02-09 06:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:58:04] Production.INFO: ==29837== Lock acquired, processing the job...
[2025-02-09 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:58:04] Production.INFO: ==29835== Lock acquired, processing the job...
[2025-02-09 06:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435370') end
[2025-02-09 06:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:58:04] Production.INFO: 1
[2025-02-09 06:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:58:04] Production.INFO: ==29841== Lock acquired, processing the job...
[2025-02-09 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:58:04] Production.INFO: ==29845== Releasing lock...
[2025-02-09 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:58:04] Production.INFO: Account Balance Start.
[2025-02-09 06:58:04] Production.INFO: CreateAllLog Start
[2025-02-09 06:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:58:04] Production.INFO: 117
[2025-02-09 06:58:04] Production.INFO: Date 2025-02-08
[2025-02-09 06:58:04] Production.ERROR: done
[2025-02-09 06:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:58:04] Production.INFO: Date 2025-02-09
[2025-02-09 06:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 06:58:04] Production.INFO: Total Charge 0
[2025-02-09 06:58:04] Production.INFO: CreateAllLog End
[2025-02-09 06:58:04] Production.ERROR: done
[2025-02-09 06:58:04] Production.INFO: ==29837== Releasing lock...
[2025-02-09 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:58:04] Production.INFO: Account Balance End.
[2025-02-09 06:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:58:04] Production.INFO: ==29841== Releasing lock...
[2025-02-09 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:58:05
[end_date_ymd] => 2025-02-09 06:58:05
[RateCDR] => 1
)
[2025-02-09 06:58: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` >= '2025-02-09 03:58:05' and `end` < '2025-02-09 06:58: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 ,'')
[2025-02-09 06:58:11] Production.ERROR: CronJobId end10
[2025-02-09 06:58:11] Production.INFO: ==29839== Releasing lock...
[2025-02-09 06:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:58:15] Production.INFO: call_cost start
[2025-02-09 06:58:15] Production.INFO: call_cost end
[2025-02-09 06:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:58:15] Production.INFO: ==29835== Releasing lock...
[2025-02-09 06:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:58:19] Production.INFO: count ==148
[2025-02-09 06:58:19] Production.ERROR: pbx CDR StartTime 2025-02-09 03:58:05 - End Time 2025-02-09 06:58:05
[2025-02-09 06:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435374', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435374', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435374', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435374', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:58:19] Production.INFO: ProcessCDR(1,14435374,1,1,2)
[2025-02-09 06:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435374', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435374', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:58:22] Production.INFO: ==29843== Releasing lock...
[2025-02-09 06:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:58:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 11:59:01] Production.INFO: ==29910== Lock acquired, processing the job...
[2025-02-09 11:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 11:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 11:59:01] Production.INFO: neon service started
[2025-02-09 11:59:01] Production.INFO: neon service started
[2025-02-09 11:59:01] Production.INFO: ==29910== Releasing lock...
[2025-02-09 11:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 11:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 06:59:02] Production.INFO: ==29912== Lock acquired, processing the job...
[2025-02-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:59:02] Production.INFO: ==29914== Lock acquired, processing the job...
[2025-02-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:59:02] Production.INFO: ==29914== Releasing lock...
[2025-02-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 11:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 06:59:02] Production.INFO: ==29912== Releasing lock...
[2025-02-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 06:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 06:59:03] Production.INFO: ==29921== Lock acquired, processing the job...
[2025-02-09 06:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 06:59:03] Production.INFO: ==29919== Lock acquired, processing the job...
[2025-02-09 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 06:59:03] Production.INFO: ==29925== Lock acquired, processing the job...
[2025-02-09 06:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 06:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 06:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 06:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 06:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 06:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 06:59:03] Production.INFO: ==29923== Lock acquired, processing the job...
[2025-02-09 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 06:59:03] Production.INFO: ==29917== Lock acquired, processing the job...
[2025-02-09 06:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 06:59:03] Production.INFO: Account Balance Start.
[2025-02-09 06:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 06:59:03] Production.INFO: 117
[2025-02-09 06:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 06:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 06:59:03] Production.INFO: ==29927== Lock acquired, processing the job...
[2025-02-09 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 06:59:03] Production.ERROR: done
[2025-02-09 06:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 06:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:59:03] Production.INFO: ==29919== Releasing lock...
[2025-02-09 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 06:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 06:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 06:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 06:59:04] Production.ERROR: done
[2025-02-09 06:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:59:04] Production.INFO: Total Charge 0
[2025-02-09 06:59:04] Production.INFO: CreateAllLog End
[2025-02-09 06:59:04] Production.INFO: count ==21
[2025-02-09 06:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 06:59:04] Production.INFO: count ==21
[2025-02-09 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435378') start
[2025-02-09 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435378') end
[2025-02-09 06:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 06:59:04] Production.INFO: 1
[2025-02-09 06:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 06:59:04] Production.INFO: Account Balance End.
[2025-02-09 06:59:04] Production.INFO: ==29927== Releasing lock...
[2025-02-09 06:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 06:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 06:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 06:59:04] Production.INFO: ==29923== Releasing lock...
[2025-02-09 06:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 06:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 06:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 03:59:05
[end_date_ymd] => 2025-02-09 06:59:05
[RateCDR] => 1
)
[2025-02-09 06:59: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` >= '2025-02-09 03:59:05' and `end` < '2025-02-09 06:59: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 ,'')
[2025-02-09 06:59:11] Production.ERROR: CronJobId end10
[2025-02-09 06:59:11] Production.INFO: ==29921== Releasing lock...
[2025-02-09 06:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 06:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 06:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 06:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 06:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 06:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 06:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 06:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 06:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 06:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 06:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 06:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 06:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 06:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 06:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 06:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 06:59:14] Production.INFO: call_cost start
[2025-02-09 06:59:14] Production.INFO: call_cost end
[2025-02-09 06:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 06:59:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 06:59:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 06:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 06:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 06:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 06:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 06:59:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 06:59:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 06:59:14] Production.INFO: ==29917== Releasing lock...
[2025-02-09 06:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 06:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 06:59:17] Production.INFO: count ==148
[2025-02-09 06:59:17] Production.ERROR: pbx CDR StartTime 2025-02-09 03:59:05 - End Time 2025-02-09 06:59:05
[2025-02-09 06:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435379', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435379', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435379', 'tblTempVendorCDR_20' ) start
[2025-02-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435379', 'tblTempVendorCDR_20' ) end
[2025-02-09 06:59:17] Production.INFO: ProcessCDR(1,14435379,1,1,2)
[2025-02-09 06:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 06:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 06:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435379', 'tblTempUsageDetail_20' ) start
[2025-02-09 06:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435379', 'tblTempUsageDetail_20' ) end
[2025-02-09 06:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 06:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 06:59:20] Production.INFO: ==29925== Releasing lock...
[2025-02-09 06:59:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 06:59:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:00:02] Production.INFO: ==30005== Lock acquired, processing the job...
[2025-02-09 12:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:00:02] Production.INFO: neon service started
[2025-02-09 12:00:02] Production.INFO: neon service started
[2025-02-09 12:00:02] Production.INFO: ==30005== Releasing lock...
[2025-02-09 12:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:00:02] Production.INFO: ==30007== Lock acquired, processing the job...
[2025-02-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:00:03] Production.INFO: ==30009== Lock acquired, processing the job...
[2025-02-09 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:00:03] Production.INFO: ==30007== Releasing lock...
[2025-02-09 07:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:00:03] Production.INFO: ==30009== Releasing lock...
[2025-02-09 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:00:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:00:04] Production.INFO: ==30020== Lock acquired, processing the job...
[2025-02-09 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:00:04] Production.INFO: ==30012== Lock acquired, processing the job...
[2025-02-09 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 07:00:04] Production.INFO: Account Balance Start.
[2025-02-09 07:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:00:04] Production.INFO: 117
[2025-02-09 07:00:04] Production.INFO: ==30022== Lock acquired, processing the job...
[2025-02-09 07:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:00:04] Production.INFO: ==30014== Lock acquired, processing the job...
[2025-02-09 07:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:00:04] Production.INFO: ==30016== Lock acquired, processing the job...
[2025-02-09 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 07:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 07:00:04] Production.ERROR: CronJob PID - 30014
[2025-02-09 07:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 07:00:04] Production.ERROR: CronJob ID - 5
[2025-02-09 07:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 07:00:00
[2025-02-09 07:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 07:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 07:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 07:00:04] Production.ERROR: CronJob PID - 30020
[2025-02-09 07:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 07:00:04] Production.ERROR: CronJob ID - 12
[2025-02-09 07:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 07:00:00
[2025-02-09 07:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 07:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 07:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 07:00:04] Production.ERROR: CronJob PID - 30022
[2025-02-09 07:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 07:00:04] Production.ERROR: CronJob ID - 16
[2025-02-09 07:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 07:00:00
[2025-02-09 07:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 07:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 07:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:00:04] Production.INFO: ==30024== Lock acquired, processing the job...
[2025-02-09 07:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 07:00:04] Production.INFO: ==30018== Lock acquired, processing the job...
[2025-02-09 07:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:00:04] Production.INFO: Total Charge 0
[2025-02-09 07:00:04] Production.INFO: CreateAllLog End
[2025-02-09 07:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 07:00:04] Production.INFO: ==30012== Releasing lock...
[2025-02-09 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 07:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 07:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:00:04] Production.INFO: ==30026== Lock acquired, processing the job...
[2025-02-09 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:00:04] Production.INFO: Account Balance End.
[2025-02-09 07:00:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:00:04] Production.INFO: ==30020== Releasing lock...
[2025-02-09 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:00:05] Production.ERROR: done
[2025-02-09 07:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:00:05] Production.INFO: count ==21
[2025-02-09 07:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:00:05] Production.INFO: count ==21
[2025-02-09 07:00:05] Production.ERROR: done
[2025-02-09 07:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14435383') start
[2025-02-09 07:00:05] Production.INFO: ==30016== Releasing lock...
[2025-02-09 07:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:00:05] Production.ERROR: done
[2025-02-09 07:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 07:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435384', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 07:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14435383') end
[2025-02-09 07:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:00:05] Production.INFO: 1
[2025-02-09 07:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:00:05] Production.INFO: ==30026== Releasing lock...
[2025-02-09 07:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:00:06
[end_date_ymd] => 2025-02-09 07:00:06
[RateCDR] => 1
)
[2025-02-09 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-02-09 04:00:06' and `end` < '2025-02-09 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-02-09 07:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435384', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 07:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 07:00:10] Production.INFO: ProcessCDR(1,14435384,1,1,2)
[2025-02-09 07:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435384,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435384,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:00:10] Production.INFO: ==30024== Releasing lock...
[2025-02-09 07:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 07:00:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 07:00:15] Production.ERROR: CronJobId end10
[2025-02-09 07:00:15] Production.INFO: ==30018== Releasing lock...
[2025-02-09 07:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:00:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:00:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:00:17] Production.INFO: call_cost start
[2025-02-09 07:00:17] Production.INFO: call_cost end
[2025-02-09 07:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:00:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:00:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:00:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:00:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:00:18] Production.INFO: ==30014== Releasing lock...
[2025-02-09 07:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:00:20] Production.INFO: count ==148
[2025-02-09 07:00:20] Production.ERROR: pbx CDR StartTime 2025-02-09 04:00:06 - End Time 2025-02-09 07:00:06
[2025-02-09 07:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435385', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435385', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435385', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435385', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:00:20] Production.INFO: ProcessCDR(1,14435385,1,1,2)
[2025-02-09 07:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435385', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435385', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:00:23] Production.INFO: ==30022== Releasing lock...
[2025-02-09 07:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:00:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:01:01] Production.INFO: ==30180== Lock acquired, processing the job...
[2025-02-09 12:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:01:01] Production.INFO: neon service started
[2025-02-09 12:01:01] Production.INFO: neon service started
[2025-02-09 12:01:01] Production.INFO: ==30180== Releasing lock...
[2025-02-09 12:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:01:02] Production.INFO: ==30190== Lock acquired, processing the job...
[2025-02-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:01:02] Production.INFO: ==30190== Releasing lock...
[2025-02-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:01:02] Production.INFO: ==30187== Lock acquired, processing the job...
[2025-02-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:01:02] Production.INFO: ==30187== Releasing lock...
[2025-02-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:01:03] Production.INFO: ==30192== Lock acquired, processing the job...
[2025-02-09 07:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:01:03] Production.INFO: ==30194== Lock acquired, processing the job...
[2025-02-09 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:01:03] Production.INFO: ==30198== Lock acquired, processing the job...
[2025-02-09 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:01:03] Production.INFO: Account Balance Start.
[2025-02-09 07:01:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:01:03] Production.INFO: 117
[2025-02-09 07:01:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:01:03] Production.INFO: ==30194== Releasing lock...
[2025-02-09 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:01:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:01:03] Production.INFO: Total Charge 0
[2025-02-09 07:01:03] Production.INFO: CreateAllLog End
[2025-02-09 07:01:03] Production.INFO: ==30196== Lock acquired, processing the job...
[2025-02-09 07:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:01:03] Production.INFO: Account Balance End.
[2025-02-09 07:01:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:01:03] Production.INFO: ==30198== Releasing lock...
[2025-02-09 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:01:03] Production.INFO: ==30200== Lock acquired, processing the job...
[2025-02-09 07:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:01:03] Production.INFO: ==30202== Lock acquired, processing the job...
[2025-02-09 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:01:04] Production.INFO: count ==21
[2025-02-09 07:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:01:04] Production.INFO: count ==21
[2025-02-09 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435389') start
[2025-02-09 07:01:04] Production.ERROR: done
[2025-02-09 07:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:01:04] Production.ERROR: done
[2025-02-09 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435389') end
[2025-02-09 07:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:01:04] Production.INFO: 1
[2025-02-09 07:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:01:04] Production.INFO: ==30202== Releasing lock...
[2025-02-09 07:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:01:05
[end_date_ymd] => 2025-02-09 07:01:05
[RateCDR] => 1
)
[2025-02-09 07:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 04:01:05' and `end` < '2025-02-09 07:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 07:01:13] Production.ERROR: CronJobId end10
[2025-02-09 07:01:13] Production.INFO: ==30196== Releasing lock...
[2025-02-09 07:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:01:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:01:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:01:15] Production.INFO: call_cost start
[2025-02-09 07:01:15] Production.INFO: call_cost end
[2025-02-09 07:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:01:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:01:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:01:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:01:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:01:16] Production.INFO: ==30192== Releasing lock...
[2025-02-09 07:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:01:29] Production.INFO: count ==148
[2025-02-09 07:01:29] Production.ERROR: pbx CDR StartTime 2025-02-09 04:01:05 - End Time 2025-02-09 07:01:05
[2025-02-09 07:01:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435390', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435390', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435390', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:01:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435390', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:01:29] Production.INFO: ProcessCDR(1,14435390,1,1,2)
[2025-02-09 07:01:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:01:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:01:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:01:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:01:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435390', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:01:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435390', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:01:32] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:01:32] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:01:32] Production.INFO: ==30200== Releasing lock...
[2025-02-09 07:01:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:01:32] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:02:02] Production.INFO: ==30273== Lock acquired, processing the job...
[2025-02-09 12:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:02:02] Production.INFO: neon service started
[2025-02-09 12:02:02] Production.INFO: neon service started
[2025-02-09 12:02:02] Production.INFO: ==30273== Releasing lock...
[2025-02-09 12:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:02:02] Production.INFO: ==30275== Lock acquired, processing the job...
[2025-02-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:02:02] Production.INFO: ==30275== Releasing lock...
[2025-02-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:02:03] Production.INFO: ==30277== Lock acquired, processing the job...
[2025-02-09 12:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:02:03] Production.INFO: ==30277== Releasing lock...
[2025-02-09 12:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:02:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:02:03] Production.INFO: ==30285== Lock acquired, processing the job...
[2025-02-09 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:02:03] Production.INFO: ==30289== Lock acquired, processing the job...
[2025-02-09 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:02:03] Production.INFO: Account Balance Start.
[2025-02-09 07:02:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:02:03] Production.INFO: 117
[2025-02-09 07:02:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:02:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:02:03] Production.INFO: Total Charge 0
[2025-02-09 07:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:02:04] Production.INFO: CreateAllLog End
[2025-02-09 07:02:04] Production.INFO: count ==21
[2025-02-09 07:02:04] Production.INFO: ==30279== Lock acquired, processing the job...
[2025-02-09 07:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:02:04] Production.INFO: Account Balance End.
[2025-02-09 07:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:02:04] Production.INFO: ==30281== Lock acquired, processing the job...
[2025-02-09 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:02:04] Production.INFO: count ==21
[2025-02-09 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435392') start
[2025-02-09 07:02:04] Production.INFO: ==30283== Lock acquired, processing the job...
[2025-02-09 07:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:02:04] Production.INFO: ==30285== Releasing lock...
[2025-02-09 07:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:02:04] Production.INFO: ==30287== Lock acquired, processing the job...
[2025-02-09 07:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435392') end
[2025-02-09 07:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:02:04] Production.INFO: 1
[2025-02-09 07:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:02:04] Production.INFO: ==30289== Releasing lock...
[2025-02-09 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:02:04] Production.INFO: ==30281== Releasing lock...
[2025-02-09 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:02:04] Production.ERROR: done
[2025-02-09 07:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:02:04] Production.ERROR: done
[2025-02-09 07:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:02:05
[end_date_ymd] => 2025-02-09 07:02:05
[RateCDR] => 1
)
[2025-02-09 07:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 04:02:05' and `end` < '2025-02-09 07:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 07:02:12] Production.ERROR: CronJobId end10
[2025-02-09 07:02:12] Production.INFO: ==30283== Releasing lock...
[2025-02-09 07:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:02:14] Production.INFO: call_cost start
[2025-02-09 07:02:14] Production.INFO: call_cost end
[2025-02-09 07:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:02:15] Production.INFO: ==30279== Releasing lock...
[2025-02-09 07:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:02:20] Production.INFO: count ==148
[2025-02-09 07:02:20] Production.ERROR: pbx CDR StartTime 2025-02-09 04:02:05 - End Time 2025-02-09 07:02:05
[2025-02-09 07:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435395', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435395', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435395', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435395', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:02:20] Production.INFO: ProcessCDR(1,14435395,1,1,2)
[2025-02-09 07:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435395', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435395', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:02:24] Production.INFO: ==30287== Releasing lock...
[2025-02-09 07:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:02:24] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:03:01] Production.INFO: ==30358== Lock acquired, processing the job...
[2025-02-09 12:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:03:01] Production.INFO: neon service started
[2025-02-09 12:03:01] Production.INFO: neon service started
[2025-02-09 12:03:01] Production.INFO: ==30358== Releasing lock...
[2025-02-09 12:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:03:02] Production.INFO: ==30362== Lock acquired, processing the job...
[2025-02-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:03:02] Production.INFO: ==30362== Releasing lock...
[2025-02-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:03:02] Production.INFO: ==30360== Lock acquired, processing the job...
[2025-02-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:03:02] Production.INFO: ==30360== Releasing lock...
[2025-02-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:03:03] Production.INFO: ==30366== Lock acquired, processing the job...
[2025-02-09 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:03:03] Production.INFO: ==30368== Lock acquired, processing the job...
[2025-02-09 07:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:03:03] Production.INFO: ==30370== Lock acquired, processing the job...
[2025-02-09 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:03:03] Production.INFO: Account Balance Start.
[2025-02-09 07:03:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:03:03] Production.INFO: 117
[2025-02-09 07:03:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:03:03] Production.INFO: ==30364== Lock acquired, processing the job...
[2025-02-09 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:03:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:03:03] Production.INFO: Total Charge 0
[2025-02-09 07:03:03] Production.INFO: ==30372== Lock acquired, processing the job...
[2025-02-09 07:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:03:03] Production.INFO: CreateAllLog End
[2025-02-09 07:03:03] Production.INFO: ==30366== Releasing lock...
[2025-02-09 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:03:03] Production.INFO: ==30374== Lock acquired, processing the job...
[2025-02-09 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:03:04] Production.INFO: count ==21
[2025-02-09 07:03:04] Production.INFO: Account Balance End.
[2025-02-09 07:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:03:04] Production.INFO: count ==21
[2025-02-09 07:03:04] Production.ERROR: done
[2025-02-09 07:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435399') start
[2025-02-09 07:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:03:04] Production.INFO: ==30370== Releasing lock...
[2025-02-09 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435399') end
[2025-02-09 07:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:03:04] Production.INFO: 1
[2025-02-09 07:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:03:04] Production.INFO: ==30374== Releasing lock...
[2025-02-09 07:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:03:04] Production.ERROR: done
[2025-02-09 07:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:03:05
[end_date_ymd] => 2025-02-09 07:03:05
[RateCDR] => 1
)
[2025-02-09 07:03: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` >= '2025-02-09 04:03:05' and `end` < '2025-02-09 07:03: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 ,'')
[2025-02-09 07:03:12] Production.ERROR: CronJobId end10
[2025-02-09 07:03:12] Production.INFO: ==30368== Releasing lock...
[2025-02-09 07:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:03:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:03:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:03:15] Production.INFO: call_cost start
[2025-02-09 07:03:15] Production.INFO: call_cost end
[2025-02-09 07:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:03:16] Production.INFO: ==30364== Releasing lock...
[2025-02-09 07:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:03:19] Production.INFO: count ==148
[2025-02-09 07:03:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:03:05 - End Time 2025-02-09 07:03:05
[2025-02-09 07:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435400', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435400', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435400', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435400', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:03:19] Production.INFO: ProcessCDR(1,14435400,1,1,2)
[2025-02-09 07:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435400', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435400', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:03:22] Production.INFO: ==30372== Releasing lock...
[2025-02-09 07:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:03:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:04:02] Production.INFO: ==30481== Lock acquired, processing the job...
[2025-02-09 12:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:04:02] Production.INFO: neon service started
[2025-02-09 12:04:02] Production.INFO: neon service started
[2025-02-09 12:04:02] Production.INFO: ==30481== Releasing lock...
[2025-02-09 12:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:04:02] Production.INFO: ==30484== Lock acquired, processing the job...
[2025-02-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:04:02] Production.INFO: ==30484== Releasing lock...
[2025-02-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:04:02] Production.INFO: ==30486== Lock acquired, processing the job...
[2025-02-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:04:02] Production.INFO: ==30486== Releasing lock...
[2025-02-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:04:03] Production.INFO: ==30494== Lock acquired, processing the job...
[2025-02-09 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:04:03] Production.INFO: ==30498== Lock acquired, processing the job...
[2025-02-09 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:04:03] Production.INFO: ==30488== Lock acquired, processing the job...
[2025-02-09 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:04:03] Production.INFO: ==30490== Lock acquired, processing the job...
[2025-02-09 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:04:03] Production.INFO: Account Balance Start.
[2025-02-09 07:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:04:03] Production.INFO: 117
[2025-02-09 07:04:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:04:03] Production.INFO: ==30492== Lock acquired, processing the job...
[2025-02-09 07:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:04:03] Production.INFO: count ==21
[2025-02-09 07:04:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:04:03] Production.INFO: count ==21
[2025-02-09 07:04:03] Production.INFO: Total Charge 0
[2025-02-09 07:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435402') start
[2025-02-09 07:04:03] Production.INFO: ==30496== Lock acquired, processing the job...
[2025-02-09 07:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:04:03] Production.INFO: CreateAllLog End
[2025-02-09 07:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435402') end
[2025-02-09 07:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:04:04] Production.INFO: 1
[2025-02-09 07:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:04:04] Production.INFO: ==30498== Releasing lock...
[2025-02-09 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:04:04] Production.INFO: ==30490== Releasing lock...
[2025-02-09 07:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:04:04] Production.ERROR: done
[2025-02-09 07:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:04:04] Production.ERROR: done
[2025-02-09 07:04:04] Production.INFO: Account Balance End.
[2025-02-09 07:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:04:04] Production.INFO: ==30494== Releasing lock...
[2025-02-09 07:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:04:05
[end_date_ymd] => 2025-02-09 07:04:05
[RateCDR] => 1
)
[2025-02-09 07:04: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` >= '2025-02-09 04:04:05' and `end` < '2025-02-09 07:04: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 ,'')
[2025-02-09 07:04:11] Production.ERROR: CronJobId end10
[2025-02-09 07:04:11] Production.INFO: ==30492== Releasing lock...
[2025-02-09 07:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:04:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:04:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:04:14] Production.INFO: call_cost start
[2025-02-09 07:04:14] Production.INFO: call_cost end
[2025-02-09 07:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:04:15] Production.INFO: ==30488== Releasing lock...
[2025-02-09 07:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:04:19] Production.INFO: count ==147
[2025-02-09 07:04:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:04:05 - End Time 2025-02-09 07:04:05
[2025-02-09 07:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435405', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435405', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435405', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435405', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:04:19] Production.INFO: ProcessCDR(1,14435405,1,1,2)
[2025-02-09 07:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435405', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435405', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:04:22] Production.INFO: ==30496== Releasing lock...
[2025-02-09 07:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:04:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:05:01] Production.INFO: ==30646== Lock acquired, processing the job...
[2025-02-09 12:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:05:01] Production.INFO: neon service started
[2025-02-09 12:05:01] Production.INFO: neon service started
[2025-02-09 12:05:01] Production.INFO: ==30646== Releasing lock...
[2025-02-09 12:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:05:02] Production.INFO: ==30649== Lock acquired, processing the job...
[2025-02-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:05:02] Production.INFO: ==30649== Releasing lock...
[2025-02-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:05:02] Production.INFO: ==30651== Lock acquired, processing the job...
[2025-02-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:05:02] Production.INFO: ==30651== Releasing lock...
[2025-02-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:05:03] Production.INFO: ==30655== Lock acquired, processing the job...
[2025-02-09 07:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:05:03] Production.INFO: ==30653== Lock acquired, processing the job...
[2025-02-09 07:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:05:03] Production.INFO: ==30657== Lock acquired, processing the job...
[2025-02-09 07:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:05:03] Production.INFO: ==30665== Lock acquired, processing the job...
[2025-02-09 07:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:05:03] Production.INFO: ==30659== Lock acquired, processing the job...
[2025-02-09 07:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:05:03] Production.INFO: ==30655== Releasing lock...
[2025-02-09 07:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:05:03] Production.INFO: ==30661== Lock acquired, processing the job...
[2025-02-09 07:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:05:03] Production.INFO: Account Balance Start.
[2025-02-09 07:05:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:05:03] Production.INFO: 117
[2025-02-09 07:05:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:05:03] Production.INFO: count ==21
[2025-02-09 07:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:05:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:05:03] Production.INFO: count ==21
[2025-02-09 07:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435408') start
[2025-02-09 07:05:03] Production.INFO: Total Charge 0
[2025-02-09 07:05:03] Production.INFO: CreateAllLog End
[2025-02-09 07:05:04] Production.ERROR: done
[2025-02-09 07:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435408') end
[2025-02-09 07:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:05:04] Production.INFO: 1
[2025-02-09 07:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:05:04] Production.INFO: ==30665== Releasing lock...
[2025-02-09 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:05:04] Production.ERROR: done
[2025-02-09 07:05:04] Production.INFO: Account Balance End.
[2025-02-09 07:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:05:04] Production.INFO: ==30659== Releasing lock...
[2025-02-09 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:05:05
[end_date_ymd] => 2025-02-09 07:05:05
[RateCDR] => 1
)
[2025-02-09 07:05: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` >= '2025-02-09 04:05:05' and `end` < '2025-02-09 07:05: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 ,'')
[2025-02-09 07:05:11] Production.ERROR: CronJobId end10
[2025-02-09 07:05:11] Production.INFO: ==30657== Releasing lock...
[2025-02-09 07:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:05:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:05:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:05:13] Production.INFO: call_cost start
[2025-02-09 07:05:13] Production.INFO: call_cost end
[2025-02-09 07:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:05:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:05:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:05:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:05:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:05:14] Production.INFO: ==30653== Releasing lock...
[2025-02-09 07:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:05:18] Production.INFO: count ==145
[2025-02-09 07:05:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:05:05 - End Time 2025-02-09 07:05:05
[2025-02-09 07:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435410', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435410', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435410', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435410', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:05:18] Production.INFO: ProcessCDR(1,14435410,1,1,2)
[2025-02-09 07:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435410', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435410', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:05:21] Production.INFO: ==30661== Releasing lock...
[2025-02-09 07:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:05:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:06:02] Production.INFO: ==30733== Lock acquired, processing the job...
[2025-02-09 12:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:06:02] Production.INFO: neon service started
[2025-02-09 12:06:02] Production.INFO: neon service started
[2025-02-09 12:06:02] Production.INFO: ==30733== Releasing lock...
[2025-02-09 12:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:06:02] Production.INFO: ==30735== Lock acquired, processing the job...
[2025-02-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:06:02] Production.INFO: ==30737== Lock acquired, processing the job...
[2025-02-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:06:02] Production.INFO: ==30737== Releasing lock...
[2025-02-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:06:03] Production.INFO: ==30735== Releasing lock...
[2025-02-09 07:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:06:03] Production.INFO: ==30740== Lock acquired, processing the job...
[2025-02-09 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:06:04] Production.INFO: ==30750== Lock acquired, processing the job...
[2025-02-09 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:06:04] Production.INFO: ==30742== Lock acquired, processing the job...
[2025-02-09 07:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:06:04] Production.INFO: ==30744== Lock acquired, processing the job...
[2025-02-09 07:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:06:04] Production.INFO: ==30746== Lock acquired, processing the job...
[2025-02-09 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:06:04] Production.INFO: ==30748== Lock acquired, processing the job...
[2025-02-09 07:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:06:04] Production.INFO: Account Balance Start.
[2025-02-09 07:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:06:04] Production.INFO: 117
[2025-02-09 07:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:06:04] Production.INFO: count ==21
[2025-02-09 07:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:06:04] Production.INFO: count ==21
[2025-02-09 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435412') start
[2025-02-09 07:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:06:04] Production.INFO: Total Charge 0
[2025-02-09 07:06:04] Production.INFO: CreateAllLog End
[2025-02-09 07:06:04] Production.INFO: ==30742== Releasing lock...
[2025-02-09 07:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:06:04] Production.ERROR: done
[2025-02-09 07:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435412') end
[2025-02-09 07:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:06:04] Production.INFO: 1
[2025-02-09 07:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:06:04] Production.INFO: ==30750== Releasing lock...
[2025-02-09 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:06:05] Production.ERROR: done
[2025-02-09 07:06:05] Production.INFO: Account Balance End.
[2025-02-09 07:06:05] Production.ERROR: CronJobId end 12
[2025-02-09 07:06:05] Production.INFO: ==30746== Releasing lock...
[2025-02-09 07:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:06:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:06:06
[end_date_ymd] => 2025-02-09 07:06:06
[RateCDR] => 1
)
[2025-02-09 07:06: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-02-09 04:06:06' and `end` < '2025-02-09 07:06: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-02-09 07:06:12] Production.ERROR: CronJobId end10
[2025-02-09 07:06:12] Production.INFO: ==30744== Releasing lock...
[2025-02-09 07:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:06:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:06:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:06:15] Production.INFO: call_cost start
[2025-02-09 07:06:15] Production.INFO: call_cost end
[2025-02-09 07:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:06:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:06:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:06:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:06:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:06:16] Production.INFO: ==30740== Releasing lock...
[2025-02-09 07:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:06:22] Production.INFO: count ==148
[2025-02-09 07:06:22] Production.ERROR: pbx CDR StartTime 2025-02-09 04:06:06 - End Time 2025-02-09 07:06:06
[2025-02-09 07:06:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435415', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435415', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435415', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435415', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:06:22] Production.INFO: ProcessCDR(1,14435415,1,1,2)
[2025-02-09 07:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:06:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435415', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435415', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:06:25] Production.INFO: ==30748== Releasing lock...
[2025-02-09 07:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:06:25] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:07:01] Production.INFO: ==30822== Lock acquired, processing the job...
[2025-02-09 12:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:07:01] Production.INFO: neon service started
[2025-02-09 12:07:01] Production.INFO: neon service started
[2025-02-09 12:07:01] Production.INFO: ==30822== Releasing lock...
[2025-02-09 12:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:07:01] Production.INFO: ==30824== Lock acquired, processing the job...
[2025-02-09 07:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:07:02] Production.INFO: ==30824== Releasing lock...
[2025-02-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:07:02] Production.INFO: ==30826== Lock acquired, processing the job...
[2025-02-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:07:02] Production.INFO: ==30826== Releasing lock...
[2025-02-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:07:03] Production.INFO: ==30828== Lock acquired, processing the job...
[2025-02-09 07:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:07:03] Production.INFO: ==30830== Lock acquired, processing the job...
[2025-02-09 07:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:07:03] Production.INFO: ==30836== Lock acquired, processing the job...
[2025-02-09 07:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:07:03] Production.INFO: ==30830== Releasing lock...
[2025-02-09 07:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:07:03] Production.INFO: ==30832== Lock acquired, processing the job...
[2025-02-09 07:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:07:03] Production.INFO: ==30834== Lock acquired, processing the job...
[2025-02-09 07:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:07:03] Production.INFO: ==30838== Lock acquired, processing the job...
[2025-02-09 07:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:07:03] Production.INFO: Account Balance Start.
[2025-02-09 07:07:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:07:03] Production.INFO: 117
[2025-02-09 07:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:07:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:07:03] Production.ERROR: done
[2025-02-09 07:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:07:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:07:03] Production.INFO: count ==21
[2025-02-09 07:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:07:03] Production.INFO: count ==21
[2025-02-09 07:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435419') start
[2025-02-09 07:07:03] Production.ERROR: done
[2025-02-09 07:07:03] Production.INFO: Total Charge 0
[2025-02-09 07:07:03] Production.INFO: CreateAllLog End
[2025-02-09 07:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435419') end
[2025-02-09 07:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:07:03] Production.INFO: 1
[2025-02-09 07:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:07:03] Production.INFO: Account Balance End.
[2025-02-09 07:07:03] Production.INFO: ==30838== Releasing lock...
[2025-02-09 07:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:07:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:07:03] Production.INFO: ==30834== Releasing lock...
[2025-02-09 07:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:07:04
[end_date_ymd] => 2025-02-09 07:07:04
[RateCDR] => 1
)
[2025-02-09 07:07:04] 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-02-09 04:07:04' and `end` < '2025-02-09 07:07:04'
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-02-09 07:07:12] Production.ERROR: CronJobId end10
[2025-02-09 07:07:12] Production.INFO: ==30832== Releasing lock...
[2025-02-09 07:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:07:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:07:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:07:13] Production.INFO: call_cost start
[2025-02-09 07:07:13] Production.INFO: call_cost end
[2025-02-09 07:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:07:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:07:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:07:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:07:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:07:14] Production.INFO: ==30828== Releasing lock...
[2025-02-09 07:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:07:19] Production.INFO: count ==148
[2025-02-09 07:07:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:07:04 - End Time 2025-02-09 07:07:04
[2025-02-09 07:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435420', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435420', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435420', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435420', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:07:19] Production.INFO: ProcessCDR(1,14435420,1,1,2)
[2025-02-09 07:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435420', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435420', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:07:22] Production.INFO: ==30836== Releasing lock...
[2025-02-09 07:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:07:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:08:01] Production.INFO: ==30986== Lock acquired, processing the job...
[2025-02-09 12:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:08:02] Production.INFO: neon service started
[2025-02-09 12:08:02] Production.INFO: neon service started
[2025-02-09 12:08:02] Production.INFO: ==30986== Releasing lock...
[2025-02-09 12:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:08:02] Production.INFO: ==30990== Lock acquired, processing the job...
[2025-02-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:08:02] Production.INFO: ==30990== Releasing lock...
[2025-02-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:08:02] Production.INFO: ==30988== Lock acquired, processing the job...
[2025-02-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:08:02] Production.INFO: ==30988== Releasing lock...
[2025-02-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:08:03] Production.INFO: ==30994== Lock acquired, processing the job...
[2025-02-09 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:08:03] Production.INFO: ==31003== Lock acquired, processing the job...
[2025-02-09 07:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:08:03] Production.INFO: ==31005== Lock acquired, processing the job...
[2025-02-09 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:08:03] Production.INFO: ==31001== Lock acquired, processing the job...
[2025-02-09 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:08:03] Production.INFO: ==30996== Lock acquired, processing the job...
[2025-02-09 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:08:03] Production.INFO: count ==21
[2025-02-09 07:08:03] Production.ERROR: done
[2025-02-09 07:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:08:04] Production.INFO: ==30998== Lock acquired, processing the job...
[2025-02-09 07:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:08:04] Production.INFO: count ==21
[2025-02-09 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435422') start
[2025-02-09 07:08:04] Production.ERROR: done
[2025-02-09 07:08:04] Production.INFO: Account Balance Start.
[2025-02-09 07:08:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:08:04] Production.INFO: 117
[2025-02-09 07:08:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435422') end
[2025-02-09 07:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:08:04] Production.INFO: 1
[2025-02-09 07:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:08:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:08:04] Production.INFO: ==30996== Releasing lock...
[2025-02-09 07:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:08:04] Production.INFO: ==31005== Releasing lock...
[2025-02-09 07:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:08:04] Production.INFO: Total Charge 0
[2025-02-09 07:08:04] Production.INFO: CreateAllLog End
[2025-02-09 07:08:04] Production.INFO: Account Balance End.
[2025-02-09 07:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:08:04] Production.INFO: ==31001== Releasing lock...
[2025-02-09 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:08:05
[end_date_ymd] => 2025-02-09 07:08:05
[RateCDR] => 1
)
[2025-02-09 07:08: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` >= '2025-02-09 04:08:05' and `end` < '2025-02-09 07:08: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 ,'')
[2025-02-09 07:08:11] Production.ERROR: CronJobId end10
[2025-02-09 07:08:11] Production.INFO: ==30998== Releasing lock...
[2025-02-09 07:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:08:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:08:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:08:13] Production.INFO: call_cost start
[2025-02-09 07:08:13] Production.INFO: call_cost end
[2025-02-09 07:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:08:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:08:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:08:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:08:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:08:14] Production.INFO: ==30994== Releasing lock...
[2025-02-09 07:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:08:20] Production.INFO: count ==148
[2025-02-09 07:08:20] Production.ERROR: pbx CDR StartTime 2025-02-09 04:08:05 - End Time 2025-02-09 07:08:05
[2025-02-09 07:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435425', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435425', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435425', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435425', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:08:20] Production.INFO: ProcessCDR(1,14435425,1,1,2)
[2025-02-09 07:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435425', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435425', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:08:23] Production.INFO: ==31003== Releasing lock...
[2025-02-09 07:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:08:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:09:01] Production.INFO: ==31076== Lock acquired, processing the job...
[2025-02-09 12:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:09:01] Production.INFO: neon service started
[2025-02-09 12:09:01] Production.INFO: neon service started
[2025-02-09 12:09:01] Production.INFO: ==31076== Releasing lock...
[2025-02-09 12:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:09:01] Production.INFO: ==31078== Lock acquired, processing the job...
[2025-02-09 07:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:09:02] Production.INFO: ==31078== Releasing lock...
[2025-02-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:09:02] Production.INFO: ==31080== Lock acquired, processing the job...
[2025-02-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:09:02] Production.INFO: ==31080== Releasing lock...
[2025-02-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:09:03] Production.INFO: ==31089== Lock acquired, processing the job...
[2025-02-09 07:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:09:03] Production.INFO: ==31082== Lock acquired, processing the job...
[2025-02-09 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:09:03] Production.INFO: ==31091== Lock acquired, processing the job...
[2025-02-09 07:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:09:03] Production.INFO: Account Balance Start.
[2025-02-09 07:09:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:09:03] Production.INFO: 117
[2025-02-09 07:09:03] Production.INFO: ==31084== Lock acquired, processing the job...
[2025-02-09 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:09:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:09:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:09:03] Production.INFO: ==31093== Lock acquired, processing the job...
[2025-02-09 07:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:09:03] Production.INFO: ==31087== Lock acquired, processing the job...
[2025-02-09 07:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:09:03] Production.INFO: Total Charge 0
[2025-02-09 07:09:03] Production.INFO: CreateAllLog End
[2025-02-09 07:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:09:03] Production.INFO: count ==21
[2025-02-09 07:09:03] Production.ERROR: done
[2025-02-09 07:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:09:03] Production.INFO: count ==21
[2025-02-09 07:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435428') start
[2025-02-09 07:09:03] Production.INFO: Account Balance End.
[2025-02-09 07:09:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:09:03] Production.INFO: ==31089== Releasing lock...
[2025-02-09 07:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:09:03] Production.ERROR: done
[2025-02-09 07:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435428') end
[2025-02-09 07:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:09:03] Production.INFO: 1
[2025-02-09 07:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:09:03] Production.INFO: ==31084== Releasing lock...
[2025-02-09 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:09:03] Production.INFO: ==31093== Releasing lock...
[2025-02-09 07:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:09:04
[end_date_ymd] => 2025-02-09 07:09:04
[RateCDR] => 1
)
[2025-02-09 07:09:04] 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-02-09 04:09:04' and `end` < '2025-02-09 07:09:04'
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-02-09 07:09:11] Production.ERROR: CronJobId end10
[2025-02-09 07:09:11] Production.INFO: ==31087== Releasing lock...
[2025-02-09 07:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:09:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:09:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:09:14] Production.INFO: call_cost start
[2025-02-09 07:09:14] Production.INFO: call_cost end
[2025-02-09 07:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:09:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:09:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:09:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:09:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:09:14] Production.INFO: ==31082== Releasing lock...
[2025-02-09 07:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:09:18] Production.INFO: count ==148
[2025-02-09 07:09:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:09:04 - End Time 2025-02-09 07:09:04
[2025-02-09 07:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435430', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435430', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435430', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435430', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:09:18] Production.INFO: ProcessCDR(1,14435430,1,1,2)
[2025-02-09 07:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435430', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435430', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:09:21] Production.INFO: ==31091== Releasing lock...
[2025-02-09 07:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:09:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:10:01] Production.INFO: ==31160== Lock acquired, processing the job...
[2025-02-09 12:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:10:01] Production.INFO: neon service started
[2025-02-09 12:10:02] Production.INFO: neon service started
[2025-02-09 12:10:02] Production.INFO: ==31160== Releasing lock...
[2025-02-09 12:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:10:02] Production.INFO: ==31162== Lock acquired, processing the job...
[2025-02-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:10:02] Production.INFO: ==31164== Lock acquired, processing the job...
[2025-02-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:10:02] Production.INFO: ==31164== Releasing lock...
[2025-02-09 07:10:02] Production.INFO: ==31162== Releasing lock...
[2025-02-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:10:04] Production.INFO: ==31172== Lock acquired, processing the job...
[2025-02-09 07:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:10:04] Production.INFO: ==31166== Lock acquired, processing the job...
[2025-02-09 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 07:10:04] Production.INFO: ==31179== Lock acquired, processing the job...
[2025-02-09 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 07:10:04] Production.INFO: ==31181== Lock acquired, processing the job...
[2025-02-09 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 07:10:04] Production.ERROR: CronJob PID - 31172
[2025-02-09 07:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 07:10:04] Production.ERROR: CronJob ID - 10
[2025-02-09 07:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 07:10:00
[2025-02-09 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 07:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 07:10:04] Production.INFO: ==31166== Releasing lock...
[2025-02-09 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 07:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:10:04] Production.INFO: ==31168== Lock acquired, processing the job...
[2025-02-09 07:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:10:04] Production.INFO: ==31170== Lock acquired, processing the job...
[2025-02-09 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:10:04] Production.INFO: ==31174== Lock acquired, processing the job...
[2025-02-09 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:10:04] Production.INFO: count ==21
[2025-02-09 07:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:10:04] Production.INFO: count ==21
[2025-02-09 07:10:04] Production.INFO: ==31176== Lock acquired, processing the job...
[2025-02-09 07:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435431') start
[2025-02-09 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:10:04] Production.INFO: Account Balance Start.
[2025-02-09 07:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:10:04] Production.INFO: 117
[2025-02-09 07:10:04] Production.ERROR: done
[2025-02-09 07:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435431') end
[2025-02-09 07:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:10:04] Production.INFO: 1
[2025-02-09 07:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 07:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435435', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 07:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:10:04] Production.INFO: ==31181== Releasing lock...
[2025-02-09 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:10:04] Production.INFO: Total Charge 0
[2025-02-09 07:10:04] Production.INFO: CreateAllLog End
[2025-02-09 07:10:04] Production.ERROR: done
[2025-02-09 07:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:10:05] Production.INFO: ==31170== Releasing lock...
[2025-02-09 07:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:10:05] Production.ERROR: done
[2025-02-09 07:10:05] Production.INFO: Account Balance End.
[2025-02-09 07:10:05] Production.ERROR: CronJobId end 12
[2025-02-09 07:10:05] Production.INFO: ==31174== Releasing lock...
[2025-02-09 07:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:10:06
[end_date_ymd] => 2025-02-09 07:10:06
[RateCDR] => 1
)
[2025-02-09 07:10: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-02-09 04:10:06' and `end` < '2025-02-09 07:10: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-02-09 07:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435435', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 07:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 07:10:08] Production.INFO: ProcessCDR(1,14435435,1,1,2)
[2025-02-09 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435435,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435435,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:10:09] Production.INFO: ==31179== Releasing lock...
[2025-02-09 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 07:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 07:10:13] Production.ERROR: CronJobId end10
[2025-02-09 07:10:13] Production.INFO: ==31172== Releasing lock...
[2025-02-09 07:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:10:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:10:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:10:16] Production.INFO: call_cost start
[2025-02-09 07:10:16] Production.INFO: call_cost end
[2025-02-09 07:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:10:17] Production.INFO: ==31168== Releasing lock...
[2025-02-09 07:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:10:20] Production.INFO: count ==150
[2025-02-09 07:10:20] Production.ERROR: pbx CDR StartTime 2025-02-09 04:10:06 - End Time 2025-02-09 07:10:06
[2025-02-09 07:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435436', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435436', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435436', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435436', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:10:20] Production.INFO: ProcessCDR(1,14435436,1,1,2)
[2025-02-09 07:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435436', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435436', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:10:23] Production.INFO: ==31176== Releasing lock...
[2025-02-09 07:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:10:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:11:01] Production.INFO: ==31251== Lock acquired, processing the job...
[2025-02-09 12:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:11:01] Production.INFO: neon service started
[2025-02-09 12:11:01] Production.INFO: neon service started
[2025-02-09 12:11:01] Production.INFO: ==31251== Releasing lock...
[2025-02-09 12:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:11:02] Production.INFO: ==31253== Lock acquired, processing the job...
[2025-02-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:11:02] Production.INFO: ==31255== Lock acquired, processing the job...
[2025-02-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:11:02] Production.INFO: ==31255== Releasing lock...
[2025-02-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:11:02] Production.INFO: ==31253== Releasing lock...
[2025-02-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:11:03] Production.INFO: ==31260== Lock acquired, processing the job...
[2025-02-09 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:11:03] Production.INFO: ==31262== Lock acquired, processing the job...
[2025-02-09 07:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:11:03] Production.INFO: ==31264== Lock acquired, processing the job...
[2025-02-09 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:11:03] Production.INFO: Account Balance Start.
[2025-02-09 07:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:11:03] Production.INFO: 117
[2025-02-09 07:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:11:03] Production.INFO: ==31260== Releasing lock...
[2025-02-09 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:11:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:11:03] Production.INFO: ==31258== Lock acquired, processing the job...
[2025-02-09 07:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:11:03] Production.INFO: Total Charge 0
[2025-02-09 07:11:03] Production.INFO: CreateAllLog End
[2025-02-09 07:11:03] Production.INFO: ==31266== Lock acquired, processing the job...
[2025-02-09 07:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:11:03] Production.INFO: ==31268== Lock acquired, processing the job...
[2025-02-09 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:11:03] Production.INFO: Account Balance End.
[2025-02-09 07:11:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:11:03] Production.INFO: ==31264== Releasing lock...
[2025-02-09 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:11:03] Production.ERROR: done
[2025-02-09 07:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:11:04] Production.INFO: count ==21
[2025-02-09 07:11:04] Production.ERROR: done
[2025-02-09 07:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:11:04] Production.INFO: count ==21
[2025-02-09 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435440') start
[2025-02-09 07:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435440') end
[2025-02-09 07:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:11:04] Production.INFO: 1
[2025-02-09 07:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:11:04] Production.INFO: ==31268== Releasing lock...
[2025-02-09 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:11:05
[end_date_ymd] => 2025-02-09 07:11:05
[RateCDR] => 1
)
[2025-02-09 07:11: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` >= '2025-02-09 04:11:05' and `end` < '2025-02-09 07:11: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 ,'')
[2025-02-09 07:11:11] Production.ERROR: CronJobId end10
[2025-02-09 07:11:11] Production.INFO: ==31262== Releasing lock...
[2025-02-09 07:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:11:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:11:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:11:13] Production.INFO: call_cost start
[2025-02-09 07:11:13] Production.INFO: call_cost end
[2025-02-09 07:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:11:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:11:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:11:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:11:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:11:14] Production.INFO: ==31258== Releasing lock...
[2025-02-09 07:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:11:19] Production.INFO: count ==153
[2025-02-09 07:11:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:11:05 - End Time 2025-02-09 07:11:05
[2025-02-09 07:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435441', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435441', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435441', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435441', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:11:19] Production.INFO: ProcessCDR(1,14435441,1,1,2)
[2025-02-09 07:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435441', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435441', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:11:22] Production.INFO: ==31266== Releasing lock...
[2025-02-09 07:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:11:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:12:01] Production.INFO: ==31415== Lock acquired, processing the job...
[2025-02-09 12:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:12:01] Production.INFO: neon service started
[2025-02-09 12:12:01] Production.INFO: neon service started
[2025-02-09 12:12:01] Production.INFO: ==31415== Releasing lock...
[2025-02-09 12:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:12:02] Production.INFO: ==31417== Lock acquired, processing the job...
[2025-02-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:12:02] Production.INFO: ==31419== Lock acquired, processing the job...
[2025-02-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:12:02] Production.INFO: ==31419== Releasing lock...
[2025-02-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:12:02] Production.INFO: ==31417== Releasing lock...
[2025-02-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:12:03] Production.INFO: ==31422== Lock acquired, processing the job...
[2025-02-09 07:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:12:03] Production.INFO: ==31430== Lock acquired, processing the job...
[2025-02-09 07:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:12:03] Production.INFO: ==31432== Lock acquired, processing the job...
[2025-02-09 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:12:03] Production.INFO: ==31424== Lock acquired, processing the job...
[2025-02-09 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:12:03] Production.INFO: ==31426== Lock acquired, processing the job...
[2025-02-09 07:12:03] Production.INFO: ==31428== Lock acquired, processing the job...
[2025-02-09 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:12:04] Production.INFO: Account Balance Start.
[2025-02-09 07:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:12:04] Production.INFO: 117
[2025-02-09 07:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:12:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:12:04] Production.INFO: count ==21
[2025-02-09 07:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:12:04] Production.INFO: count ==21
[2025-02-09 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435443') start
[2025-02-09 07:12:04] Production.INFO: Total Charge 0
[2025-02-09 07:12:04] Production.ERROR: done
[2025-02-09 07:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:12:04] Production.INFO: CreateAllLog End
[2025-02-09 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435443') end
[2025-02-09 07:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:12:04] Production.INFO: 1
[2025-02-09 07:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:12:04] Production.INFO: ==31432== Releasing lock...
[2025-02-09 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:12:04] Production.ERROR: done
[2025-02-09 07:12:04] Production.INFO: ==31424== Releasing lock...
[2025-02-09 07:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:12:04] Production.INFO: Account Balance End.
[2025-02-09 07:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:12:04] Production.INFO: ==31428== Releasing lock...
[2025-02-09 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:12:05
[end_date_ymd] => 2025-02-09 07:12:05
[RateCDR] => 1
)
[2025-02-09 07:12: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` >= '2025-02-09 04:12:05' and `end` < '2025-02-09 07:12: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 ,'')
[2025-02-09 07:12:11] Production.ERROR: CronJobId end10
[2025-02-09 07:12:11] Production.INFO: ==31426== Releasing lock...
[2025-02-09 07:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:12:14] Production.INFO: call_cost start
[2025-02-09 07:12:14] Production.INFO: call_cost end
[2025-02-09 07:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:12:15] Production.INFO: ==31422== Releasing lock...
[2025-02-09 07:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:12:19] Production.INFO: count ==153
[2025-02-09 07:12:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:12:05 - End Time 2025-02-09 07:12:05
[2025-02-09 07:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435446', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435446', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435446', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435446', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:12:19] Production.INFO: ProcessCDR(1,14435446,1,1,2)
[2025-02-09 07:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435446', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435446', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:12:22] Production.INFO: ==31430== Releasing lock...
[2025-02-09 07:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:12:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:13:02] Production.INFO: ==31504== Lock acquired, processing the job...
[2025-02-09 12:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:13:02] Production.INFO: neon service started
[2025-02-09 12:13:02] Production.INFO: neon service started
[2025-02-09 12:13:02] Production.INFO: ==31504== Releasing lock...
[2025-02-09 12:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:13:02] Production.INFO: ==31506== Lock acquired, processing the job...
[2025-02-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:13:02] Production.INFO: ==31506== Releasing lock...
[2025-02-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:13:03] Production.INFO: ==31508== Lock acquired, processing the job...
[2025-02-09 12:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:13:03] Production.INFO: ==31508== Releasing lock...
[2025-02-09 12:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:13:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:13:03] Production.INFO: ==31510== Lock acquired, processing the job...
[2025-02-09 07:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:13:03] Production.INFO: ==31514== Lock acquired, processing the job...
[2025-02-09 07:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:13:03] Production.INFO: ==31516== Lock acquired, processing the job...
[2025-02-09 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:13:03] Production.INFO: Account Balance Start.
[2025-02-09 07:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:13:03] Production.INFO: 117
[2025-02-09 07:13:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:13:03] Production.INFO: ==31512== Lock acquired, processing the job...
[2025-02-09 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:13:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:13:04] Production.INFO: Total Charge 0
[2025-02-09 07:13:04] Production.INFO: CreateAllLog End
[2025-02-09 07:13:04] Production.INFO: ==31518== Lock acquired, processing the job...
[2025-02-09 07:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:13:04] Production.INFO: Account Balance End.
[2025-02-09 07:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:13:04] Production.INFO: ==31520== Lock acquired, processing the job...
[2025-02-09 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:13:04] Production.INFO: ==31516== Releasing lock...
[2025-02-09 07:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:13:04] Production.INFO: count ==21
[2025-02-09 07:13:04] Production.INFO: ==31512== Releasing lock...
[2025-02-09 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:13:04] Production.INFO: count ==21
[2025-02-09 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435450') start
[2025-02-09 07:13:04] Production.ERROR: done
[2025-02-09 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435450') end
[2025-02-09 07:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:13:04] Production.INFO: 1
[2025-02-09 07:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:13:04] Production.INFO: ==31520== Releasing lock...
[2025-02-09 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:13:04] Production.ERROR: done
[2025-02-09 07:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:13:06
[end_date_ymd] => 2025-02-09 07:13:06
[RateCDR] => 1
)
[2025-02-09 07:13: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-02-09 04:13:06' and `end` < '2025-02-09 07:13: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-02-09 07:13:12] Production.ERROR: CronJobId end10
[2025-02-09 07:13:12] Production.INFO: ==31514== Releasing lock...
[2025-02-09 07:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:13:13] Production.INFO: call_cost start
[2025-02-09 07:13:13] Production.INFO: call_cost end
[2025-02-09 07:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:13:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:13:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:13:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:13:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:13:14] Production.INFO: ==31510== Releasing lock...
[2025-02-09 07:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:13:21] Production.INFO: count ==153
[2025-02-09 07:13:21] Production.ERROR: pbx CDR StartTime 2025-02-09 04:13:06 - End Time 2025-02-09 07:13:06
[2025-02-09 07:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435451', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435451', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435451', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435451', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:13:21] Production.INFO: ProcessCDR(1,14435451,1,1,2)
[2025-02-09 07:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:13:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:13:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435451', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435451', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:13:24] Production.INFO: ==31518== Releasing lock...
[2025-02-09 07:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:13:24] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:14:01] Production.INFO: ==31592== Lock acquired, processing the job...
[2025-02-09 12:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:14:01] Production.INFO: neon service started
[2025-02-09 12:14:01] Production.INFO: neon service started
[2025-02-09 12:14:01] Production.INFO: ==31592== Releasing lock...
[2025-02-09 12:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:14:02] Production.INFO: ==31594== Lock acquired, processing the job...
[2025-02-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:14:02] Production.INFO: ==31594== Releasing lock...
[2025-02-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:14:02] Production.INFO: ==31596== Lock acquired, processing the job...
[2025-02-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:14:02] Production.INFO: ==31596== Releasing lock...
[2025-02-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:14:03] Production.INFO: ==31599== Lock acquired, processing the job...
[2025-02-09 07:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:14:03] Production.INFO: ==31605== Lock acquired, processing the job...
[2025-02-09 07:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:14:03] Production.INFO: ==31601== Lock acquired, processing the job...
[2025-02-09 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:14:03] Production.INFO: ==31603== Lock acquired, processing the job...
[2025-02-09 07:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:14:03] Production.INFO: Account Balance Start.
[2025-02-09 07:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:14:03] Production.INFO: 117
[2025-02-09 07:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:14:03] Production.INFO: ==31607== Lock acquired, processing the job...
[2025-02-09 07:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:14:03] Production.INFO: Total Charge 0
[2025-02-09 07:14:03] Production.INFO: ==31609== Lock acquired, processing the job...
[2025-02-09 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:14:03] Production.INFO: CreateAllLog End
[2025-02-09 07:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:14:03] Production.INFO: ==31601== Releasing lock...
[2025-02-09 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:14:04] Production.ERROR: done
[2025-02-09 07:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:14:04] Production.INFO: count ==21
[2025-02-09 07:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:14:04] Production.INFO: count ==21
[2025-02-09 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435455') start
[2025-02-09 07:14:04] Production.ERROR: done
[2025-02-09 07:14:04] Production.INFO: Account Balance End.
[2025-02-09 07:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:14:04] Production.INFO: ==31605== Releasing lock...
[2025-02-09 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435455') end
[2025-02-09 07:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:14:04] Production.INFO: 1
[2025-02-09 07:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:14:04] Production.INFO: ==31609== Releasing lock...
[2025-02-09 07:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:14:04
[end_date_ymd] => 2025-02-09 07:14:04
[RateCDR] => 1
)
[2025-02-09 07:14:04] 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-02-09 04:14:04' and `end` < '2025-02-09 07:14:04'
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-02-09 07:14:11] Production.ERROR: CronJobId end10
[2025-02-09 07:14:11] Production.INFO: ==31603== Releasing lock...
[2025-02-09 07:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:14:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:14:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:14:14] Production.INFO: call_cost start
[2025-02-09 07:14:14] Production.INFO: call_cost end
[2025-02-09 07:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:14:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:14:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:14:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:14:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:14:15] Production.INFO: ==31599== Releasing lock...
[2025-02-09 07:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:14:19] Production.INFO: count ==153
[2025-02-09 07:14:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:14:04 - End Time 2025-02-09 07:14:04
[2025-02-09 07:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435456', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435456', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435456', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435456', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:14:19] Production.INFO: ProcessCDR(1,14435456,1,1,2)
[2025-02-09 07:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435456', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435456', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:14:22] Production.INFO: ==31607== Releasing lock...
[2025-02-09 07:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:14:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:15:02] Production.INFO: ==31762== Lock acquired, processing the job...
[2025-02-09 12:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:15:02] Production.INFO: neon service started
[2025-02-09 12:15:02] Production.INFO: neon service started
[2025-02-09 12:15:02] Production.INFO: ==31762== Releasing lock...
[2025-02-09 12:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:15:02] Production.INFO: ==31764== Lock acquired, processing the job...
[2025-02-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:15:02] Production.INFO: ==31766== Lock acquired, processing the job...
[2025-02-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:15:02] Production.INFO: ==31766== Releasing lock...
[2025-02-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:15:03] Production.INFO: ==31764== Releasing lock...
[2025-02-09 07:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:15:03] Production.INFO: ==31769== Lock acquired, processing the job...
[2025-02-09 07:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:15:03] Production.INFO: ==31773== Lock acquired, processing the job...
[2025-02-09 07:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:15:03] Production.INFO: ==31775== Lock acquired, processing the job...
[2025-02-09 07:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:15:04] Production.INFO: ==31771== Lock acquired, processing the job...
[2025-02-09 07:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:15:04] Production.INFO: Account Balance Start.
[2025-02-09 07:15:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:15:04] Production.INFO: 117
[2025-02-09 07:15:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:15:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:15:04] Production.INFO: Total Charge 0
[2025-02-09 07:15:04] Production.INFO: ==31777== Lock acquired, processing the job...
[2025-02-09 07:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:15:04] Production.INFO: CreateAllLog End
[2025-02-09 07:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:15:04] Production.INFO: ==31779== Lock acquired, processing the job...
[2025-02-09 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:15:04] Production.INFO: ==31771== Releasing lock...
[2025-02-09 07:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:15:04] Production.INFO: Account Balance End.
[2025-02-09 07:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:15:04] Production.INFO: ==31775== Releasing lock...
[2025-02-09 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:15:04] Production.ERROR: done
[2025-02-09 07:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:15:04] Production.INFO: count ==21
[2025-02-09 07:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:15:04] Production.INFO: count ==21
[2025-02-09 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435460') start
[2025-02-09 07:15:04] Production.ERROR: done
[2025-02-09 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435460') end
[2025-02-09 07:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:15:04] Production.INFO: 1
[2025-02-09 07:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:15:05] Production.INFO: ==31779== Releasing lock...
[2025-02-09 07:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:15:06
[end_date_ymd] => 2025-02-09 07:15:06
[RateCDR] => 1
)
[2025-02-09 07:15: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-02-09 04:15:06' and `end` < '2025-02-09 07:15: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-02-09 07:15:12] Production.ERROR: CronJobId end10
[2025-02-09 07:15:12] Production.INFO: ==31773== Releasing lock...
[2025-02-09 07:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:15:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:15:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:15:14] Production.INFO: call_cost start
[2025-02-09 07:15:14] Production.INFO: call_cost end
[2025-02-09 07:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:15:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:15:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:15:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:15:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:15:15] Production.INFO: ==31769== Releasing lock...
[2025-02-09 07:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:15:19] Production.INFO: count ==153
[2025-02-09 07:15:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:15:06 - End Time 2025-02-09 07:15:06
[2025-02-09 07:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435461', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435461', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435461', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435461', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:15:19] Production.INFO: ProcessCDR(1,14435461,1,1,2)
[2025-02-09 07:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435461', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435461', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:15:22] Production.INFO: ==31777== Releasing lock...
[2025-02-09 07:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:15:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:16:01] Production.INFO: ==31850== Lock acquired, processing the job...
[2025-02-09 12:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:16:01] Production.INFO: neon service started
[2025-02-09 12:16:01] Production.INFO: neon service started
[2025-02-09 12:16:01] Production.INFO: ==31850== Releasing lock...
[2025-02-09 12:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:16:02] Production.INFO: ==31852== Lock acquired, processing the job...
[2025-02-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:16:02] Production.INFO: ==31854== Lock acquired, processing the job...
[2025-02-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:16:02] Production.INFO: ==31854== Releasing lock...
[2025-02-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:16:02] Production.INFO: ==31852== Releasing lock...
[2025-02-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:16:03] Production.INFO: ==31865== Lock acquired, processing the job...
[2025-02-09 07:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:16:03] Production.INFO: ==31867== Lock acquired, processing the job...
[2025-02-09 07:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:16:03] Production.INFO: ==31859== Lock acquired, processing the job...
[2025-02-09 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:16:03] Production.INFO: ==31857== Lock acquired, processing the job...
[2025-02-09 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:16:03] Production.INFO: ==31861== Lock acquired, processing the job...
[2025-02-09 07:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:16:03] Production.INFO: ==31863== Lock acquired, processing the job...
[2025-02-09 07:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:16:03] Production.ERROR: done
[2025-02-09 07:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:16:03] Production.INFO: count ==21
[2025-02-09 07:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:16:03] Production.INFO: count ==21
[2025-02-09 07:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435462') start
[2025-02-09 07:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:16:03] Production.INFO: Account Balance Start.
[2025-02-09 07:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:16:03] Production.INFO: 117
[2025-02-09 07:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:16:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435462') end
[2025-02-09 07:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:16:04] Production.INFO: 1
[2025-02-09 07:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:16:04] Production.ERROR: done
[2025-02-09 07:16:04] Production.INFO: Total Charge 0
[2025-02-09 07:16:04] Production.INFO: ==31867== Releasing lock...
[2025-02-09 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:16:04] Production.INFO: CreateAllLog End
[2025-02-09 07:16:04] Production.INFO: ==31859== Releasing lock...
[2025-02-09 07:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:16:04] Production.INFO: Account Balance End.
[2025-02-09 07:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:16:04] Production.INFO: ==31863== Releasing lock...
[2025-02-09 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:16:05
[end_date_ymd] => 2025-02-09 07:16:05
[RateCDR] => 1
)
[2025-02-09 07:16: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` >= '2025-02-09 04:16:05' and `end` < '2025-02-09 07:16: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 ,'')
[2025-02-09 07:16:11] Production.ERROR: CronJobId end10
[2025-02-09 07:16:11] Production.INFO: ==31861== Releasing lock...
[2025-02-09 07:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:16:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:16:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:16:14] Production.INFO: call_cost start
[2025-02-09 07:16:14] Production.INFO: call_cost end
[2025-02-09 07:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:16:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:16:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:16:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:16:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:16:15] Production.INFO: ==31857== Releasing lock...
[2025-02-09 07:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:16:19] Production.INFO: count ==153
[2025-02-09 07:16:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:16:05 - End Time 2025-02-09 07:16:05
[2025-02-09 07:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435466', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435466', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435466', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435466', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:16:19] Production.INFO: ProcessCDR(1,14435466,1,1,2)
[2025-02-09 07:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435466', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435466', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:16:22] Production.INFO: ==31865== Releasing lock...
[2025-02-09 07:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:16:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:17:02] Production.INFO: ==31937== Lock acquired, processing the job...
[2025-02-09 12:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:17:02] Production.INFO: neon service started
[2025-02-09 12:17:02] Production.INFO: neon service started
[2025-02-09 12:17:02] Production.INFO: ==31937== Releasing lock...
[2025-02-09 12:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:17:02] Production.INFO: ==31939== Lock acquired, processing the job...
[2025-02-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:17:02] Production.INFO: ==31939== Releasing lock...
[2025-02-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:17:02] Production.INFO: ==31941== Lock acquired, processing the job...
[2025-02-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:17:02] Production.INFO: ==31941== Releasing lock...
[2025-02-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:17:03] Production.INFO: ==31954== Lock acquired, processing the job...
[2025-02-09 07:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:17:03] Production.INFO: ==31944== Lock acquired, processing the job...
[2025-02-09 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:17:03] Production.INFO: ==31956== Lock acquired, processing the job...
[2025-02-09 07:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:17:03] Production.INFO: ==31946== Lock acquired, processing the job...
[2025-02-09 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:17:03] Production.INFO: ==31948== Lock acquired, processing the job...
[2025-02-09 07:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:17:03] Production.INFO: ==31950== Lock acquired, processing the job...
[2025-02-09 07:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:17:04] Production.INFO: Account Balance Start.
[2025-02-09 07:17:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:17:04] Production.INFO: count ==21
[2025-02-09 07:17:04] Production.INFO: 117
[2025-02-09 07:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:17:04] Production.INFO: count ==21
[2025-02-09 07:17:04] Production.ERROR: done
[2025-02-09 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435467') start
[2025-02-09 07:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:17:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:17:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435467') end
[2025-02-09 07:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:17:04] Production.INFO: 1
[2025-02-09 07:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:17:04] Production.ERROR: done
[2025-02-09 07:17:04] Production.INFO: ==31956== Releasing lock...
[2025-02-09 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:17:04] Production.INFO: ==31946== Releasing lock...
[2025-02-09 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:17:04] Production.INFO: Total Charge 0
[2025-02-09 07:17:04] Production.INFO: CreateAllLog End
[2025-02-09 07:17:04] Production.INFO: Account Balance End.
[2025-02-09 07:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:17:04] Production.INFO: ==31950== Releasing lock...
[2025-02-09 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:17:05
[end_date_ymd] => 2025-02-09 07:17:05
[RateCDR] => 1
)
[2025-02-09 07:17: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` >= '2025-02-09 04:17:05' and `end` < '2025-02-09 07:17: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 ,'')
[2025-02-09 07:17:11] Production.ERROR: CronJobId end10
[2025-02-09 07:17:11] Production.INFO: ==31948== Releasing lock...
[2025-02-09 07:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:17:14] Production.INFO: call_cost start
[2025-02-09 07:17:14] Production.INFO: call_cost end
[2025-02-09 07:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:17:15] Production.INFO: ==31944== Releasing lock...
[2025-02-09 07:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:17:19] Production.INFO: count ==153
[2025-02-09 07:17:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:17:05 - End Time 2025-02-09 07:17:05
[2025-02-09 07:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435471', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435471', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435471', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435471', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:17:19] Production.INFO: ProcessCDR(1,14435471,1,1,2)
[2025-02-09 07:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435471', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435471', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:17:23] Production.INFO: ==31954== Releasing lock...
[2025-02-09 07:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:17:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:18:01] Production.INFO: ==32025== Lock acquired, processing the job...
[2025-02-09 12:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:18:01] Production.INFO: neon service started
[2025-02-09 12:18:01] Production.INFO: neon service started
[2025-02-09 12:18:01] Production.INFO: ==32025== Releasing lock...
[2025-02-09 12:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:18:01] Production.INFO: ==32028== Lock acquired, processing the job...
[2025-02-09 07:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:18:02] Production.INFO: ==32028== Releasing lock...
[2025-02-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:18:02] Production.INFO: ==32030== Lock acquired, processing the job...
[2025-02-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:18:02] Production.INFO: ==32030== Releasing lock...
[2025-02-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:18:03] Production.INFO: ==32039== Lock acquired, processing the job...
[2025-02-09 07:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:18:03] Production.INFO: ==32043== Lock acquired, processing the job...
[2025-02-09 07:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:18:03] Production.INFO: Account Balance Start.
[2025-02-09 07:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:18:03] Production.INFO: 117
[2025-02-09 07:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:18:03] Production.INFO: ==32033== Lock acquired, processing the job...
[2025-02-09 07:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:18:03] Production.INFO: count ==21
[2025-02-09 07:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:18:03] Production.INFO: ==32035== Lock acquired, processing the job...
[2025-02-09 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:18:03] Production.INFO: count ==21
[2025-02-09 07:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435473') start
[2025-02-09 07:18:03] Production.INFO: ==32037== Lock acquired, processing the job...
[2025-02-09 07:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:18:03] Production.INFO: Total Charge 0
[2025-02-09 07:18:03] Production.INFO: CreateAllLog End
[2025-02-09 07:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:18:03] Production.INFO: ==32041== Lock acquired, processing the job...
[2025-02-09 07:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435473') end
[2025-02-09 07:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:18:03] Production.INFO: 1
[2025-02-09 07:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:18:03] Production.INFO: ==32043== Releasing lock...
[2025-02-09 07:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:18:03] Production.INFO: Account Balance End.
[2025-02-09 07:18:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:18:03] Production.INFO: ==32039== Releasing lock...
[2025-02-09 07:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:18:03] Production.INFO: ==32035== Releasing lock...
[2025-02-09 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:18:03] Production.ERROR: done
[2025-02-09 07:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:18:04] Production.ERROR: done
[2025-02-09 07:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:18:05
[end_date_ymd] => 2025-02-09 07:18:05
[RateCDR] => 1
)
[2025-02-09 07:18: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` >= '2025-02-09 04:18:05' and `end` < '2025-02-09 07:18: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 ,'')
[2025-02-09 07:18:11] Production.ERROR: CronJobId end10
[2025-02-09 07:18:11] Production.INFO: ==32037== Releasing lock...
[2025-02-09 07:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:18:13] Production.INFO: call_cost start
[2025-02-09 07:18:13] Production.INFO: call_cost end
[2025-02-09 07:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:18:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:18:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:18:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:18:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:18:14] Production.INFO: ==32033== Releasing lock...
[2025-02-09 07:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:18:18] Production.INFO: count ==153
[2025-02-09 07:18:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:18:05 - End Time 2025-02-09 07:18:05
[2025-02-09 07:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435476', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435476', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435476', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435476', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:18:18] Production.INFO: ProcessCDR(1,14435476,1,1,2)
[2025-02-09 07:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435476', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435476', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:18:21] Production.INFO: ==32041== Releasing lock...
[2025-02-09 07:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:18:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:19:01] Production.INFO: ==32155== Lock acquired, processing the job...
[2025-02-09 12:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:19:01] Production.INFO: neon service started
[2025-02-09 12:19:01] Production.INFO: neon service started
[2025-02-09 12:19:01] Production.INFO: ==32155== Releasing lock...
[2025-02-09 12:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:19:02] Production.INFO: ==32159== Lock acquired, processing the job...
[2025-02-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:19:02] Production.INFO: ==32159== Releasing lock...
[2025-02-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:19:02] Production.INFO: ==32157== Lock acquired, processing the job...
[2025-02-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:19:02] Production.INFO: ==32157== Releasing lock...
[2025-02-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:19:03] Production.INFO: ==32162== Lock acquired, processing the job...
[2025-02-09 07:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:19:03] Production.INFO: ==32168== Lock acquired, processing the job...
[2025-02-09 07:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:19:03] Production.INFO: ==32172== Lock acquired, processing the job...
[2025-02-09 07:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:19:03] Production.INFO: Account Balance Start.
[2025-02-09 07:19:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:19:03] Production.INFO: 117
[2025-02-09 07:19:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:19:03] Production.INFO: ==32164== Lock acquired, processing the job...
[2025-02-09 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:19:03] Production.INFO: ==32166== Lock acquired, processing the job...
[2025-02-09 07:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:19:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:19:03] Production.INFO: Total Charge 0
[2025-02-09 07:19:03] Production.INFO: CreateAllLog End
[2025-02-09 07:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:19:03] Production.INFO: count ==21
[2025-02-09 07:19:03] Production.INFO: ==32170== Lock acquired, processing the job...
[2025-02-09 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:19:03] Production.INFO: Account Balance End.
[2025-02-09 07:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:19:03] Production.INFO: count ==21
[2025-02-09 07:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435479') start
[2025-02-09 07:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:19:04] Production.INFO: ==32168== Releasing lock...
[2025-02-09 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:19:04] Production.INFO: ==32164== Releasing lock...
[2025-02-09 07:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435479') end
[2025-02-09 07:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:19:04] Production.INFO: 1
[2025-02-09 07:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:19:04] Production.INFO: ==32172== Releasing lock...
[2025-02-09 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:19:04] Production.ERROR: done
[2025-02-09 07:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:19:04] Production.ERROR: done
[2025-02-09 07:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:19:05
[end_date_ymd] => 2025-02-09 07:19:05
[RateCDR] => 1
)
[2025-02-09 07:19: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` >= '2025-02-09 04:19:05' and `end` < '2025-02-09 07:19: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 ,'')
[2025-02-09 07:19:10] Production.ERROR: CronJobId end10
[2025-02-09 07:19:10] Production.INFO: ==32166== Releasing lock...
[2025-02-09 07:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:19:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:19:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:19:13] Production.INFO: call_cost start
[2025-02-09 07:19:13] Production.INFO: call_cost end
[2025-02-09 07:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:19:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:19:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:19:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:19:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:19:13] Production.INFO: ==32162== Releasing lock...
[2025-02-09 07:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:19:21] Production.INFO: count ==154
[2025-02-09 07:19:21] Production.ERROR: pbx CDR StartTime 2025-02-09 04:19:05 - End Time 2025-02-09 07:19:05
[2025-02-09 07:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435481', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435481', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435481', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435481', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:19:21] Production.INFO: ProcessCDR(1,14435481,1,1,2)
[2025-02-09 07:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435481', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435481', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:19:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:19:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:19:25] Production.INFO: ==32170== Releasing lock...
[2025-02-09 07:19:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:19:25] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:20:02] Production.INFO: ==32245== Lock acquired, processing the job...
[2025-02-09 12:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:20:02] Production.INFO: neon service started
[2025-02-09 12:20:02] Production.INFO: neon service started
[2025-02-09 12:20:02] Production.INFO: ==32245== Releasing lock...
[2025-02-09 12:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:20:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 07:20:02] Production.INFO: ==32247== Lock acquired, processing the job...
[2025-02-09 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:20:03] Production.INFO: ==32247== Releasing lock...
[2025-02-09 07:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:20:03] Production.INFO: ==32249== Lock acquired, processing the job...
[2025-02-09 12:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:20:03] Production.INFO: ==32249== Releasing lock...
[2025-02-09 12:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:20:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:20:03] Production.INFO: ==32251== Lock acquired, processing the job...
[2025-02-09 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 07:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 07:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 07:20:03] Production.INFO: ==32251== Releasing lock...
[2025-02-09 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 07:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 07:20:03] Production.INFO: ==32253== Lock acquired, processing the job...
[2025-02-09 07:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:20:03] Production.INFO: ==32258== Lock acquired, processing the job...
[2025-02-09 07:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:20:04] Production.INFO: ==32262== Lock acquired, processing the job...
[2025-02-09 07:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:20:04] Production.INFO: ==32255== Lock acquired, processing the job...
[2025-02-09 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:20:04] Production.INFO: ==32266== Lock acquired, processing the job...
[2025-02-09 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:20:04] Production.INFO: ==32260== Lock acquired, processing the job...
[2025-02-09 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:20:04] Production.INFO: ==32264== Lock acquired, processing the job...
[2025-02-09 07:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 07:20:04] Production.ERROR: done
[2025-02-09 07:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:20:04] Production.INFO: Account Balance Start.
[2025-02-09 07:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:20:04] Production.INFO: 117
[2025-02-09 07:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:20:04] Production.INFO: count ==21
[2025-02-09 07:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:20:04] Production.INFO: count ==21
[2025-02-09 07:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:20:04] Production.ERROR: done
[2025-02-09 07:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435484') start
[2025-02-09 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:20:04] Production.INFO: ==32255== Releasing lock...
[2025-02-09 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:20:04] Production.INFO: Total Charge 0
[2025-02-09 07:20:04] Production.INFO: CreateAllLog End
[2025-02-09 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435484') end
[2025-02-09 07:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:20:04] Production.INFO: 1
[2025-02-09 07:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:20:05] Production.INFO: ==32266== Releasing lock...
[2025-02-09 07:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:20:05] Production.ERROR: done
[2025-02-09 07:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 07:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435487', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 07:20:05] Production.INFO: Account Balance End.
[2025-02-09 07:20:05] Production.ERROR: CronJobId end 12
[2025-02-09 07:20:05] Production.INFO: ==32260== Releasing lock...
[2025-02-09 07:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:20:06
[end_date_ymd] => 2025-02-09 07:20:06
[RateCDR] => 1
)
[2025-02-09 07:20: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-02-09 04:20:06' and `end` < '2025-02-09 07:20: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-02-09 07:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435487', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 07:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 07:20:09] Production.INFO: ProcessCDR(1,14435487,1,1,2)
[2025-02-09 07:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435487,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435487,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:20:09] Production.INFO: ==32264== Releasing lock...
[2025-02-09 07:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 07:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 07:20:13] Production.ERROR: CronJobId end10
[2025-02-09 07:20:13] Production.INFO: ==32258== Releasing lock...
[2025-02-09 07:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:20:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:20:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:20:16] Production.INFO: call_cost start
[2025-02-09 07:20:16] Production.INFO: call_cost end
[2025-02-09 07:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:20:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:20:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:20:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:20:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:20:16] Production.INFO: ==32253== Releasing lock...
[2025-02-09 07:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:20:18] Production.INFO: count ==154
[2025-02-09 07:20:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:20:06 - End Time 2025-02-09 07:20:06
[2025-02-09 07:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435486', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435486', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435486', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435486', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:20:18] Production.INFO: ProcessCDR(1,14435486,1,1,2)
[2025-02-09 07:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435486', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435486', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:20:22] Production.INFO: ==32262== Releasing lock...
[2025-02-09 07:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:20:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:21:01] Production.INFO: ==32337== Lock acquired, processing the job...
[2025-02-09 12:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:21:01] Production.INFO: neon service started
[2025-02-09 12:21:01] Production.INFO: neon service started
[2025-02-09 12:21:01] Production.INFO: ==32337== Releasing lock...
[2025-02-09 12:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:21:02] Production.INFO: ==32339== Lock acquired, processing the job...
[2025-02-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:21:02] Production.INFO: ==32339== Releasing lock...
[2025-02-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:21:02] Production.INFO: ==32341== Lock acquired, processing the job...
[2025-02-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:21:02] Production.INFO: ==32341== Releasing lock...
[2025-02-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:21:03] Production.INFO: ==32350== Lock acquired, processing the job...
[2025-02-09 07:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:21:03] Production.INFO: ==32344== Lock acquired, processing the job...
[2025-02-09 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:21:03] Production.INFO: Account Balance Start.
[2025-02-09 07:21:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:21:03] Production.INFO: 117
[2025-02-09 07:21:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:21:03] Production.INFO: ==32348== Lock acquired, processing the job...
[2025-02-09 07:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:21:03] Production.INFO: ==32346== Lock acquired, processing the job...
[2025-02-09 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:21:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:21:03] Production.INFO: ==32352== Lock acquired, processing the job...
[2025-02-09 07:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:21:03] Production.INFO: Total Charge 0
[2025-02-09 07:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:21:03] Production.INFO: CreateAllLog End
[2025-02-09 07:21:03] Production.INFO: ==32354== Lock acquired, processing the job...
[2025-02-09 07:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:21:03] Production.INFO: Account Balance End.
[2025-02-09 07:21:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:21:03] Production.INFO: ==32350== Releasing lock...
[2025-02-09 07:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:21:03] Production.INFO: ==32346== Releasing lock...
[2025-02-09 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:21:03] Production.INFO: count ==21
[2025-02-09 07:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:21:03] Production.INFO: count ==21
[2025-02-09 07:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435491') start
[2025-02-09 07:21:03] Production.ERROR: done
[2025-02-09 07:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435491') end
[2025-02-09 07:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:21:03] Production.INFO: 1
[2025-02-09 07:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:21:04] Production.ERROR: done
[2025-02-09 07:21:04] Production.INFO: ==32354== Releasing lock...
[2025-02-09 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:21:04
[end_date_ymd] => 2025-02-09 07:21:04
[RateCDR] => 1
)
[2025-02-09 07:21:04] 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-02-09 04:21:04' and `end` < '2025-02-09 07:21:04'
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-02-09 07:21:10] Production.ERROR: CronJobId end10
[2025-02-09 07:21:10] Production.INFO: ==32348== Releasing lock...
[2025-02-09 07:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:21:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:21:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:21:13] Production.INFO: call_cost start
[2025-02-09 07:21:13] Production.INFO: call_cost end
[2025-02-09 07:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:21:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:21:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:21:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:21:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:21:14] Production.INFO: ==32344== Releasing lock...
[2025-02-09 07:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:21:17] Production.INFO: count ==154
[2025-02-09 07:21:17] Production.ERROR: pbx CDR StartTime 2025-02-09 04:21:04 - End Time 2025-02-09 07:21:04
[2025-02-09 07:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435492', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435492', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435492', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435492', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:21:17] Production.INFO: ProcessCDR(1,14435492,1,1,2)
[2025-02-09 07:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435492', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435492', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:21:20] Production.INFO: ==32352== Releasing lock...
[2025-02-09 07:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:21:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:22:02] Production.INFO: ==32428== Lock acquired, processing the job...
[2025-02-09 12:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:22:02] Production.INFO: neon service started
[2025-02-09 12:22:02] Production.INFO: neon service started
[2025-02-09 12:22:02] Production.INFO: ==32428== Releasing lock...
[2025-02-09 12:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:22:02] Production.INFO: ==32430== Lock acquired, processing the job...
[2025-02-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:22:02] Production.INFO: ==32430== Releasing lock...
[2025-02-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:22:03] Production.INFO: ==32432== Lock acquired, processing the job...
[2025-02-09 12:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:22:03] Production.INFO: ==32432== Releasing lock...
[2025-02-09 12:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:22:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:22:03] Production.INFO: ==32434== Lock acquired, processing the job...
[2025-02-09 07:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:22:03] Production.INFO: ==32440== Lock acquired, processing the job...
[2025-02-09 07:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:22:03] Production.INFO: ==32436== Lock acquired, processing the job...
[2025-02-09 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:22:04] Production.INFO: ==32444== Lock acquired, processing the job...
[2025-02-09 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:22:04] Production.INFO: ==32438== Lock acquired, processing the job...
[2025-02-09 07:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:22:04] Production.INFO: Account Balance Start.
[2025-02-09 07:22:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:22:04] Production.INFO: 117
[2025-02-09 07:22:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:22:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:22:04] Production.INFO: ==32442== Lock acquired, processing the job...
[2025-02-09 07:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:22:04] Production.INFO: Total Charge 0
[2025-02-09 07:22:04] Production.INFO: count ==21
[2025-02-09 07:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:22:04] Production.INFO: CreateAllLog End
[2025-02-09 07:22:04] Production.INFO: count ==21
[2025-02-09 07:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:22:04] Production.INFO: ==32436== Releasing lock...
[2025-02-09 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435496') start
[2025-02-09 07:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435496') end
[2025-02-09 07:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:22:04] Production.INFO: 1
[2025-02-09 07:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:22:04] Production.INFO: ==32444== Releasing lock...
[2025-02-09 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:22:04] Production.INFO: Account Balance End.
[2025-02-09 07:22:04] Production.ERROR: done
[2025-02-09 07:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:22:04] Production.INFO: ==32440== Releasing lock...
[2025-02-09 07:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:22:05] Production.ERROR: done
[2025-02-09 07:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:22:05
[end_date_ymd] => 2025-02-09 07:22:05
[RateCDR] => 1
)
[2025-02-09 07:22: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-02-09 04:22:05' and `end` < '2025-02-09 07:22: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 ,'')
[2025-02-09 07:22:13] Production.ERROR: CronJobId end10
[2025-02-09 07:22:13] Production.INFO: ==32438== Releasing lock...
[2025-02-09 07:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:22:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:22:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:22:15] Production.INFO: call_cost start
[2025-02-09 07:22:15] Production.INFO: call_cost end
[2025-02-09 07:22:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:22:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:22:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:22:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:22:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:22:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:22:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:22:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:22:16] Production.INFO: ==32434== Releasing lock...
[2025-02-09 07:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:22:18] Production.INFO: count ==153
[2025-02-09 07:22:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:22:05 - End Time 2025-02-09 07:22:05
[2025-02-09 07:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435497', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435497', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435497', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435497', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:22:18] Production.INFO: ProcessCDR(1,14435497,1,1,2)
[2025-02-09 07:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435497', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435497', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:22:22] Production.INFO: ==32442== Releasing lock...
[2025-02-09 07:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:22:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:23:01] Production.INFO: ==32515== Lock acquired, processing the job...
[2025-02-09 12:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:23:01] Production.INFO: neon service started
[2025-02-09 12:23:01] Production.INFO: neon service started
[2025-02-09 12:23:01] Production.INFO: ==32515== Releasing lock...
[2025-02-09 12:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:23:01] Production.INFO: ==32517== Lock acquired, processing the job...
[2025-02-09 07:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:23:02] Production.INFO: ==32517== Releasing lock...
[2025-02-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:23:02] Production.INFO: ==32519== Lock acquired, processing the job...
[2025-02-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:23:02] Production.INFO: ==32519== Releasing lock...
[2025-02-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:23:03] Production.INFO: ==32521== Lock acquired, processing the job...
[2025-02-09 07:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:23:03] Production.INFO: ==32525== Lock acquired, processing the job...
[2025-02-09 07:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:23:03] Production.INFO: ==32532== Lock acquired, processing the job...
[2025-02-09 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:23:03] Production.INFO: ==32523== Lock acquired, processing the job...
[2025-02-09 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:23:03] Production.INFO: ==32527== Lock acquired, processing the job...
[2025-02-09 07:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:23:03] Production.INFO: ==32529== Lock acquired, processing the job...
[2025-02-09 07:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:23:03] Production.INFO: count ==21
[2025-02-09 07:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:23:03] Production.INFO: count ==21
[2025-02-09 07:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435499') start
[2025-02-09 07:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:23:03] Production.INFO: Account Balance Start.
[2025-02-09 07:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:23:03] Production.INFO: 117
[2025-02-09 07:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:23:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:23:03] Production.INFO: Total Charge 0
[2025-02-09 07:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435499') end
[2025-02-09 07:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:23:03] Production.INFO: 1
[2025-02-09 07:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:23:03] Production.INFO: CreateAllLog End
[2025-02-09 07:23:03] Production.INFO: ==32532== Releasing lock...
[2025-02-09 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:23:03] Production.INFO: ==32523== Releasing lock...
[2025-02-09 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:23:03] Production.INFO: Account Balance End.
[2025-02-09 07:23:04] Production.ERROR: done
[2025-02-09 07:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:23:04] Production.INFO: ==32527== Releasing lock...
[2025-02-09 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:23:04] Production.ERROR: done
[2025-02-09 07:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:23:04
[end_date_ymd] => 2025-02-09 07:23:04
[RateCDR] => 1
)
[2025-02-09 07:23:04] 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-02-09 04:23:04' and `end` < '2025-02-09 07:23:04'
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-02-09 07:23:10] Production.ERROR: CronJobId end10
[2025-02-09 07:23:10] Production.INFO: ==32525== Releasing lock...
[2025-02-09 07:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:23:13] Production.INFO: call_cost start
[2025-02-09 07:23:13] Production.INFO: call_cost end
[2025-02-09 07:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:23:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:23:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:23:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:23:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:23:14] Production.INFO: ==32521== Releasing lock...
[2025-02-09 07:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:23:18] Production.INFO: count ==153
[2025-02-09 07:23:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:23:04 - End Time 2025-02-09 07:23:04
[2025-02-09 07:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435502', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435502', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435502', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435502', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:23:18] Production.INFO: ProcessCDR(1,14435502,1,1,2)
[2025-02-09 07:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435502', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435502', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:23:21] Production.INFO: ==32529== Releasing lock...
[2025-02-09 07:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:23:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:24:02] Production.INFO: ==32601== Lock acquired, processing the job...
[2025-02-09 12:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:24:02] Production.INFO: neon service started
[2025-02-09 12:24:02] Production.INFO: neon service started
[2025-02-09 12:24:02] Production.INFO: ==32601== Releasing lock...
[2025-02-09 12:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:24:02] Production.INFO: ==32603== Lock acquired, processing the job...
[2025-02-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:24:02] Production.INFO: ==32605== Lock acquired, processing the job...
[2025-02-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:24:02] Production.INFO: ==32603== Releasing lock...
[2025-02-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:24:02] Production.INFO: ==32605== Releasing lock...
[2025-02-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:24:03] Production.INFO: ==32614== Lock acquired, processing the job...
[2025-02-09 07:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:24:03] Production.INFO: ==32612== Lock acquired, processing the job...
[2025-02-09 07:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:24:03] Production.INFO: ==32618== Lock acquired, processing the job...
[2025-02-09 07:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:24:03] Production.INFO: Account Balance Start.
[2025-02-09 07:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:24:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:24:03] Production.INFO: 117
[2025-02-09 07:24:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:24:03] Production.INFO: count ==21
[2025-02-09 07:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:24:03] Production.INFO: count ==21
[2025-02-09 07:24:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435504') start
[2025-02-09 07:24:03] Production.INFO: ==32608== Lock acquired, processing the job...
[2025-02-09 07:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:24:04] Production.INFO: ==32610== Lock acquired, processing the job...
[2025-02-09 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:24:04] Production.INFO: Total Charge 0
[2025-02-09 07:24:04] Production.INFO: CreateAllLog End
[2025-02-09 07:24:04] Production.INFO: ==32616== Lock acquired, processing the job...
[2025-02-09 07:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435504') end
[2025-02-09 07:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:24:04] Production.INFO: 1
[2025-02-09 07:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:24:04] Production.INFO: ==32618== Releasing lock...
[2025-02-09 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:24:04] Production.INFO: Account Balance End.
[2025-02-09 07:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:24:04] Production.INFO: ==32614== Releasing lock...
[2025-02-09 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:24:04] Production.INFO: ==32610== Releasing lock...
[2025-02-09 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:24:04] Production.ERROR: done
[2025-02-09 07:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:24:04] Production.ERROR: done
[2025-02-09 07:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:24:05
[end_date_ymd] => 2025-02-09 07:24:05
[RateCDR] => 1
)
[2025-02-09 07:24: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` >= '2025-02-09 04:24:05' and `end` < '2025-02-09 07:24: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 ,'')
[2025-02-09 07:24:12] Production.ERROR: CronJobId end10
[2025-02-09 07:24:12] Production.INFO: ==32612== Releasing lock...
[2025-02-09 07:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:24:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:24:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:24:14] Production.INFO: call_cost start
[2025-02-09 07:24:14] Production.INFO: call_cost end
[2025-02-09 07:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:24:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:24:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:24:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:24:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:24:15] Production.INFO: ==32608== Releasing lock...
[2025-02-09 07:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:24:18] Production.INFO: count ==153
[2025-02-09 07:24:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:24:05 - End Time 2025-02-09 07:24:05
[2025-02-09 07:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435507', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435507', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435507', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435507', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:24:18] Production.INFO: ProcessCDR(1,14435507,1,1,2)
[2025-02-09 07:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435507', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435507', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:24:21] Production.INFO: ==32616== Releasing lock...
[2025-02-09 07:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:24:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:25:01] Production.INFO: ==32677== Lock acquired, processing the job...
[2025-02-09 12:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:25:01] Production.INFO: neon service started
[2025-02-09 12:25:01] Production.INFO: neon service started
[2025-02-09 12:25:01] Production.INFO: ==32677== Releasing lock...
[2025-02-09 12:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:25:02] Production.INFO: ==32681== Lock acquired, processing the job...
[2025-02-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:25:02] Production.INFO: ==32679== Lock acquired, processing the job...
[2025-02-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:25:02] Production.INFO: ==32681== Releasing lock...
[2025-02-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:25:02] Production.INFO: ==32679== Releasing lock...
[2025-02-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:25:03] Production.INFO: ==32688== Lock acquired, processing the job...
[2025-02-09 07:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:25:03] Production.INFO: ==32690== Lock acquired, processing the job...
[2025-02-09 07:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:25:03] Production.INFO: Account Balance Start.
[2025-02-09 07:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:25:03] Production.INFO: 117
[2025-02-09 07:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:25:03] Production.INFO: ==32686== Lock acquired, processing the job...
[2025-02-09 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:25:03] Production.INFO: ==32684== Lock acquired, processing the job...
[2025-02-09 07:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:25:03] Production.INFO: ==32692== Lock acquired, processing the job...
[2025-02-09 07:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:25:03] Production.INFO: Total Charge 0
[2025-02-09 07:25:03] Production.INFO: CreateAllLog End
[2025-02-09 07:25:03] Production.INFO: ==32694== Lock acquired, processing the job...
[2025-02-09 07:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:25:03] Production.INFO: ==32686== Releasing lock...
[2025-02-09 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:25:03] Production.INFO: count ==21
[2025-02-09 07:25:03] Production.INFO: Account Balance End.
[2025-02-09 07:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:25:03] Production.INFO: count ==21
[2025-02-09 07:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:25:04] Production.INFO: ==32690== Releasing lock...
[2025-02-09 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435511') start
[2025-02-09 07:25:04] Production.ERROR: done
[2025-02-09 07:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435511') end
[2025-02-09 07:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:25:04] Production.INFO: 1
[2025-02-09 07:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:25:04] Production.INFO: ==32694== Releasing lock...
[2025-02-09 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:25:04] Production.ERROR: done
[2025-02-09 07:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:25:05
[end_date_ymd] => 2025-02-09 07:25:05
[RateCDR] => 1
)
[2025-02-09 07:25: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` >= '2025-02-09 04:25:05' and `end` < '2025-02-09 07:25: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 ,'')
[2025-02-09 07:25:10] Production.ERROR: CronJobId end10
[2025-02-09 07:25:10] Production.INFO: ==32688== Releasing lock...
[2025-02-09 07:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:25:13] Production.INFO: call_cost start
[2025-02-09 07:25:13] Production.INFO: call_cost end
[2025-02-09 07:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:25:14] Production.INFO: ==32684== Releasing lock...
[2025-02-09 07:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:25:18] Production.INFO: count ==152
[2025-02-09 07:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:25:05 - End Time 2025-02-09 07:25:05
[2025-02-09 07:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435512', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435512', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435512', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435512', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:25:18] Production.INFO: ProcessCDR(1,14435512,1,1,2)
[2025-02-09 07:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435512', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435512', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:25:21] Production.INFO: ==32692== Releasing lock...
[2025-02-09 07:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:25:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:26:01] Production.INFO: ==32760== Lock acquired, processing the job...
[2025-02-09 12:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:26:01] Production.INFO: neon service started
[2025-02-09 12:26:02] Production.INFO: neon service started
[2025-02-09 12:26:02] Production.INFO: ==32760== Releasing lock...
[2025-02-09 12:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:26:02] Production.INFO: ==32762== Lock acquired, processing the job...
[2025-02-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:26:02] Production.INFO: ==32762== Releasing lock...
[2025-02-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:26:02] Production.INFO: ==32764== Lock acquired, processing the job...
[2025-02-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:26:02] Production.INFO: ==32764== Releasing lock...
[2025-02-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:26:03] Production.INFO: ==32767== Lock acquired, processing the job...
[2025-02-09 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:26:03] Production.INFO: ==301== Lock acquired, processing the job...
[2025-02-09 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:26:03] Production.INFO: ==303== Lock acquired, processing the job...
[2025-02-09 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:26:03] Production.INFO: ==317== Lock acquired, processing the job...
[2025-02-09 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:26:03] Production.INFO: ==305== Lock acquired, processing the job...
[2025-02-09 07:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:26:03] Production.INFO: ==315== Lock acquired, processing the job...
[2025-02-09 07:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:26:03] Production.INFO: count ==21
[2025-02-09 07:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:26:03] Production.INFO: Account Balance Start.
[2025-02-09 07:26:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:26:03] Production.INFO: 117
[2025-02-09 07:26:03] Production.INFO: count ==21
[2025-02-09 07:26:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:26:03] Production.INFO: ==301== Releasing lock...
[2025-02-09 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435515') start
[2025-02-09 07:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435515') end
[2025-02-09 07:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:26:03] Production.INFO: 1
[2025-02-09 07:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:26:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:26:04] Production.INFO: ==317== Releasing lock...
[2025-02-09 07:26:04] Production.INFO: Total Charge 0
[2025-02-09 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:26:04] Production.INFO: CreateAllLog End
[2025-02-09 07:26:04] Production.INFO: Account Balance End.
[2025-02-09 07:26:04] Production.ERROR: done
[2025-02-09 07:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:26:04] Production.INFO: ==305== Releasing lock...
[2025-02-09 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:26:04] Production.ERROR: done
[2025-02-09 07:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:26:05
[end_date_ymd] => 2025-02-09 07:26:05
[RateCDR] => 1
)
[2025-02-09 07:26: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` >= '2025-02-09 04:26:05' and `end` < '2025-02-09 07:26: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 ,'')
[2025-02-09 07:26:11] Production.ERROR: CronJobId end10
[2025-02-09 07:26:11] Production.INFO: ==303== Releasing lock...
[2025-02-09 07:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:26:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:26:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:26:14] Production.INFO: call_cost start
[2025-02-09 07:26:14] Production.INFO: call_cost end
[2025-02-09 07:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:26:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:26:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:26:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:26:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:26:14] Production.INFO: ==32767== Releasing lock...
[2025-02-09 07:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:26:18] Production.INFO: count ==152
[2025-02-09 07:26:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:26:05 - End Time 2025-02-09 07:26:05
[2025-02-09 07:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435517', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435517', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435517', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435517', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:26:18] Production.INFO: ProcessCDR(1,14435517,1,1,2)
[2025-02-09 07:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435517', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435517', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:26:21] Production.INFO: ==315== Releasing lock...
[2025-02-09 07:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:26:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:27:01] Production.INFO: ==395== Lock acquired, processing the job...
[2025-02-09 12:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:27:01] Production.INFO: neon service started
[2025-02-09 12:27:01] Production.INFO: neon service started
[2025-02-09 12:27:01] Production.INFO: ==395== Releasing lock...
[2025-02-09 12:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:27:01] Production.INFO: ==397== Lock acquired, processing the job...
[2025-02-09 07:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:27:02] Production.INFO: ==397== Releasing lock...
[2025-02-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:27:02] Production.INFO: ==399== Lock acquired, processing the job...
[2025-02-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:27:02] Production.INFO: ==399== Releasing lock...
[2025-02-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:27:02] Production.INFO: ==405== Lock acquired, processing the job...
[2025-02-09 07:27:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:27:02] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:27:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:27:02] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:27:02] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:27:03] Production.INFO: ==403== Lock acquired, processing the job...
[2025-02-09 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:27:03] Production.INFO: ==401== Lock acquired, processing the job...
[2025-02-09 07:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:27:03] Production.INFO: ==407== Lock acquired, processing the job...
[2025-02-09 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:27:03] Production.INFO: ==409== Lock acquired, processing the job...
[2025-02-09 07:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:27:03] Production.INFO: ==411== Lock acquired, processing the job...
[2025-02-09 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:27:03] Production.INFO: Account Balance Start.
[2025-02-09 07:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:27:03] Production.INFO: 117
[2025-02-09 07:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:27:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:27:03] Production.INFO: ==403== Releasing lock...
[2025-02-09 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:27:03] Production.INFO: Total Charge 0
[2025-02-09 07:27:03] Production.INFO: CreateAllLog End
[2025-02-09 07:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:27:03] Production.INFO: count ==21
[2025-02-09 07:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:27:03] Production.INFO: count ==21
[2025-02-09 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435521') start
[2025-02-09 07:27:03] Production.INFO: Account Balance End.
[2025-02-09 07:27:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:27:03] Production.INFO: ==407== Releasing lock...
[2025-02-09 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:27:03] Production.ERROR: done
[2025-02-09 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435521') end
[2025-02-09 07:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:27:03] Production.INFO: 1
[2025-02-09 07:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:27:04] Production.INFO: ==411== Releasing lock...
[2025-02-09 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:27:04] Production.ERROR: done
[2025-02-09 07:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:27:05
[end_date_ymd] => 2025-02-09 07:27:05
[RateCDR] => 1
)
[2025-02-09 07:27: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` >= '2025-02-09 04:27:05' and `end` < '2025-02-09 07:27: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 ,'')
[2025-02-09 07:27:11] Production.ERROR: CronJobId end10
[2025-02-09 07:27:11] Production.INFO: ==405== Releasing lock...
[2025-02-09 07:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:27:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:27:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:27:14] Production.INFO: call_cost start
[2025-02-09 07:27:14] Production.INFO: call_cost end
[2025-02-09 07:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:27:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:27:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:27:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:27:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:27:15] Production.INFO: ==401== Releasing lock...
[2025-02-09 07:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:27:18] Production.INFO: count ==152
[2025-02-09 07:27:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:27:05 - End Time 2025-02-09 07:27:05
[2025-02-09 07:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435522', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435522', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435522', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435522', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:27:18] Production.INFO: ProcessCDR(1,14435522,1,1,2)
[2025-02-09 07:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435522', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435522', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:27:21] Production.INFO: ==409== Releasing lock...
[2025-02-09 07:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:28:01] Production.INFO: ==478== Lock acquired, processing the job...
[2025-02-09 12:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:28:01] Production.INFO: neon service started
[2025-02-09 12:28:01] Production.INFO: neon service started
[2025-02-09 12:28:01] Production.INFO: ==478== Releasing lock...
[2025-02-09 12:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:28:02] Production.INFO: ==482== Lock acquired, processing the job...
[2025-02-09 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:28:02] Production.INFO: ==480== Lock acquired, processing the job...
[2025-02-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:28:02] Production.INFO: ==482== Releasing lock...
[2025-02-09 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:28:02] Production.INFO: ==480== Releasing lock...
[2025-02-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:28:03] Production.INFO: ==491== Lock acquired, processing the job...
[2025-02-09 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:28:03] Production.INFO: ==496== Lock acquired, processing the job...
[2025-02-09 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:28:03] Production.INFO: ==485== Lock acquired, processing the job...
[2025-02-09 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:28:03] Production.INFO: ==487== Lock acquired, processing the job...
[2025-02-09 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:28:03] Production.INFO: Account Balance Start.
[2025-02-09 07:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:28:03] Production.INFO: 117
[2025-02-09 07:28:03] Production.INFO: ==489== Lock acquired, processing the job...
[2025-02-09 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:28:04] Production.INFO: ==494== Lock acquired, processing the job...
[2025-02-09 07:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:28:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:28:04] Production.INFO: Total Charge 0
[2025-02-09 07:28:04] Production.INFO: CreateAllLog End
[2025-02-09 07:28:04] Production.INFO: count ==21
[2025-02-09 07:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:28:04] Production.INFO: count ==21
[2025-02-09 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435524') start
[2025-02-09 07:28:04] Production.INFO: ==487== Releasing lock...
[2025-02-09 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435524') end
[2025-02-09 07:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:28:04] Production.INFO: 1
[2025-02-09 07:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:28:04] Production.INFO: Account Balance End.
[2025-02-09 07:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:28:04] Production.INFO: ==491== Releasing lock...
[2025-02-09 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:28:04] Production.INFO: ==496== Releasing lock...
[2025-02-09 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:28:04] Production.ERROR: done
[2025-02-09 07:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:28:04] Production.ERROR: done
[2025-02-09 07:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:28:05
[end_date_ymd] => 2025-02-09 07:28:05
[RateCDR] => 1
)
[2025-02-09 07:28: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` >= '2025-02-09 04:28:05' and `end` < '2025-02-09 07:28: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 ,'')
[2025-02-09 07:28:11] Production.ERROR: CronJobId end10
[2025-02-09 07:28:11] Production.INFO: ==489== Releasing lock...
[2025-02-09 07:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:28:13] Production.INFO: call_cost start
[2025-02-09 07:28:13] Production.INFO: call_cost end
[2025-02-09 07:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:28:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:28:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:28:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:28:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:28:14] Production.INFO: ==485== Releasing lock...
[2025-02-09 07:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:28:18] Production.INFO: count ==152
[2025-02-09 07:28:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:28:05 - End Time 2025-02-09 07:28:05
[2025-02-09 07:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435527', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435527', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435527', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435527', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:28:18] Production.INFO: ProcessCDR(1,14435527,1,1,2)
[2025-02-09 07:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435527', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435527', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:28:21] Production.INFO: ==494== Releasing lock...
[2025-02-09 07:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:28:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:29:01] Production.INFO: ==549== Lock acquired, processing the job...
[2025-02-09 12:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:29:01] Production.INFO: neon service started
[2025-02-09 12:29:01] Production.INFO: neon service started
[2025-02-09 12:29:01] Production.INFO: ==549== Releasing lock...
[2025-02-09 12:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:29:01] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 07:29:02] Production.INFO: ==551== Lock acquired, processing the job...
[2025-02-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:29:02] Production.INFO: ==553== Lock acquired, processing the job...
[2025-02-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:29:02] Production.INFO: ==553== Releasing lock...
[2025-02-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:29:02] Production.INFO: ==551== Releasing lock...
[2025-02-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:29:03] Production.INFO: ==558== Lock acquired, processing the job...
[2025-02-09 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:29:03] Production.INFO: ==566== Lock acquired, processing the job...
[2025-02-09 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:29:03] Production.INFO: ==556== Lock acquired, processing the job...
[2025-02-09 07:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:29:03] Production.INFO: ==558== Releasing lock...
[2025-02-09 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:29:03] Production.INFO: count ==21
[2025-02-09 07:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:29:03] Production.INFO: count ==21
[2025-02-09 07:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435529') start
[2025-02-09 07:29:03] Production.INFO: ==560== Lock acquired, processing the job...
[2025-02-09 07:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435529') end
[2025-02-09 07:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:29:03] Production.INFO: 1
[2025-02-09 07:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:29:03] Production.INFO: ==562== Lock acquired, processing the job...
[2025-02-09 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:29:03] Production.INFO: ==566== Releasing lock...
[2025-02-09 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:29:03] Production.INFO: ==564== Lock acquired, processing the job...
[2025-02-09 07:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:29:03] Production.INFO: Account Balance Start.
[2025-02-09 07:29:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:29:03] Production.INFO: 117
[2025-02-09 07:29:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:29:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:29:03] Production.INFO: Total Charge 0
[2025-02-09 07:29:03] Production.INFO: CreateAllLog End
[2025-02-09 07:29:04] Production.ERROR: done
[2025-02-09 07:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:29:04] Production.INFO: Account Balance End.
[2025-02-09 07:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:29:04] Production.INFO: ==562== Releasing lock...
[2025-02-09 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:29:04] Production.ERROR: done
[2025-02-09 07:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:29:05
[end_date_ymd] => 2025-02-09 07:29:05
[RateCDR] => 1
)
[2025-02-09 07:29: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` >= '2025-02-09 04:29:05' and `end` < '2025-02-09 07:29: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 ,'')
[2025-02-09 07:29:11] Production.ERROR: CronJobId end10
[2025-02-09 07:29:11] Production.INFO: ==560== Releasing lock...
[2025-02-09 07:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:29:13] Production.INFO: call_cost start
[2025-02-09 07:29:13] Production.INFO: call_cost end
[2025-02-09 07:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:29:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:29:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:29:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:29:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:29:14] Production.INFO: ==556== Releasing lock...
[2025-02-09 07:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:29:18] Production.INFO: count ==151
[2025-02-09 07:29:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:29:05 - End Time 2025-02-09 07:29:05
[2025-02-09 07:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435532', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435532', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435532', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435532', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:29:18] Production.INFO: ProcessCDR(1,14435532,1,1,2)
[2025-02-09 07:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435532', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435532', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:29:21] Production.INFO: ==564== Releasing lock...
[2025-02-09 07:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:29:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:30:01] Production.INFO: ==638== Lock acquired, processing the job...
[2025-02-09 12:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:30:01] Production.INFO: neon service started
[2025-02-09 12:30:01] Production.INFO: neon service started
[2025-02-09 12:30:01] Production.INFO: ==638== Releasing lock...
[2025-02-09 12:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:30:02] Production.INFO: ==642== Lock acquired, processing the job...
[2025-02-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:30:02] Production.INFO: ==642== Releasing lock...
[2025-02-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:30:02] Production.INFO: ==640== Lock acquired, processing the job...
[2025-02-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:30:02] Production.INFO: ==640== Releasing lock...
[2025-02-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:30:03] Production.INFO: ==645== Lock acquired, processing the job...
[2025-02-09 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 07:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 07:30:03] Production.INFO: ==647== Lock acquired, processing the job...
[2025-02-09 07:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 07:30:03] Production.INFO: ==645== Releasing lock...
[2025-02-09 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 07:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 07:30:03] Production.INFO: ==649== Lock acquired, processing the job...
[2025-02-09 07:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:30:03] Production.INFO: ==653== Lock acquired, processing the job...
[2025-02-09 07:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:30:04] Production.INFO: ==651== Lock acquired, processing the job...
[2025-02-09 07:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:30:04] Production.INFO: Account Balance Start.
[2025-02-09 07:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:30:04] Production.INFO: 117
[2025-02-09 07:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:30:04] Production.INFO: ==664== Lock acquired, processing the job...
[2025-02-09 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:30:04] Production.INFO: ==655== Lock acquired, processing the job...
[2025-02-09 07:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:30:04] Production.INFO: Total Charge 0
[2025-02-09 07:30:04] Production.INFO: ==662== Lock acquired, processing the job...
[2025-02-09 07:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 07:30:04] Production.INFO: CreateAllLog End
[2025-02-09 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:30:04] Production.INFO: ==649== Releasing lock...
[2025-02-09 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:30:04] Production.INFO: count ==21
[2025-02-09 07:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:30:04] Production.INFO: count ==21
[2025-02-09 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435536') start
[2025-02-09 07:30:04] Production.INFO: Account Balance End.
[2025-02-09 07:30:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:30:04] Production.INFO: ==653== Releasing lock...
[2025-02-09 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:30:04] Production.ERROR: done
[2025-02-09 07:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435536') end
[2025-02-09 07:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:30:04] Production.INFO: 1
[2025-02-09 07:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:30:05] Production.INFO: ==664== Releasing lock...
[2025-02-09 07:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:30:05] Production.ERROR: done
[2025-02-09 07:30:05] Production.ERROR: done
[2025-02-09 07:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 07:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435538', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 07:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:30:06
[end_date_ymd] => 2025-02-09 07:30:06
[RateCDR] => 1
)
[2025-02-09 07:30: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-02-09 04:30:06' and `end` < '2025-02-09 07:30: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-02-09 07:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435538', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 07:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 07:30:08] Production.INFO: ProcessCDR(1,14435538,1,1,2)
[2025-02-09 07:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435538,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435538,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:30:08] Production.INFO: ==662== Releasing lock...
[2025-02-09 07:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 07:30:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 07:30:12] Production.ERROR: CronJobId end10
[2025-02-09 07:30:12] Production.INFO: ==651== Releasing lock...
[2025-02-09 07:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:30:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:30:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:30:15] Production.INFO: call_cost start
[2025-02-09 07:30:15] Production.INFO: call_cost end
[2025-02-09 07:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:30:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:30:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:30:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:30:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:30:16] Production.INFO: ==647== Releasing lock...
[2025-02-09 07:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:30:19] Production.INFO: count ==148
[2025-02-09 07:30:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:30:06 - End Time 2025-02-09 07:30:06
[2025-02-09 07:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435537', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435537', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435537', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435537', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:30:19] Production.INFO: ProcessCDR(1,14435537,1,1,2)
[2025-02-09 07:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435537', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435537', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:30:22] Production.INFO: ==655== Releasing lock...
[2025-02-09 07:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:30:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:31:02] Production.INFO: ==752== Lock acquired, processing the job...
[2025-02-09 12:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:31:02] Production.INFO: neon service started
[2025-02-09 12:31:02] Production.INFO: neon service started
[2025-02-09 12:31:02] Production.INFO: ==752== Releasing lock...
[2025-02-09 12:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:31:02] Production.INFO: ==754== Lock acquired, processing the job...
[2025-02-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:31:02] Production.INFO: ==754== Releasing lock...
[2025-02-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:31:02] Production.INFO: ==756== Lock acquired, processing the job...
[2025-02-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:31:03] Production.INFO: ==756== Releasing lock...
[2025-02-09 12:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:31:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:31:03] Production.INFO: ==758== Lock acquired, processing the job...
[2025-02-09 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:31:03] Production.INFO: ==762== Lock acquired, processing the job...
[2025-02-09 07:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:31:03] Production.INFO: ==768== Lock acquired, processing the job...
[2025-02-09 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:31:03] Production.INFO: ==760== Lock acquired, processing the job...
[2025-02-09 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:31:04] Production.INFO: ==764== Lock acquired, processing the job...
[2025-02-09 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:31:04] Production.INFO: count ==21
[2025-02-09 07:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:31:04] Production.INFO: ==766== Lock acquired, processing the job...
[2025-02-09 07:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:31:04] Production.INFO: count ==21
[2025-02-09 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435540') start
[2025-02-09 07:31:04] Production.INFO: Account Balance Start.
[2025-02-09 07:31:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:31:04] Production.INFO: 117
[2025-02-09 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435540') end
[2025-02-09 07:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:31:04] Production.INFO: 1
[2025-02-09 07:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:31:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:31:04] Production.INFO: ==768== Releasing lock...
[2025-02-09 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:31:04] Production.INFO: Total Charge 0
[2025-02-09 07:31:04] Production.INFO: ==760== Releasing lock...
[2025-02-09 07:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:31:04] Production.INFO: CreateAllLog End
[2025-02-09 07:31:04] Production.ERROR: done
[2025-02-09 07:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:31:04] Production.INFO: Account Balance End.
[2025-02-09 07:31:04] Production.ERROR: done
[2025-02-09 07:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:31:04] Production.INFO: ==764== Releasing lock...
[2025-02-09 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:31:05
[end_date_ymd] => 2025-02-09 07:31:05
[RateCDR] => 1
)
[2025-02-09 07:31: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` >= '2025-02-09 04:31:05' and `end` < '2025-02-09 07:31: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 ,'')
[2025-02-09 07:31:12] Production.ERROR: CronJobId end10
[2025-02-09 07:31:12] Production.INFO: ==762== Releasing lock...
[2025-02-09 07:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:31:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:31:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:31:15] Production.INFO: call_cost start
[2025-02-09 07:31:15] Production.INFO: call_cost end
[2025-02-09 07:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:31:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:31:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:31:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:31:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:31:15] Production.INFO: ==758== Releasing lock...
[2025-02-09 07:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:31:19] Production.INFO: count ==148
[2025-02-09 07:31:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:31:05 - End Time 2025-02-09 07:31:05
[2025-02-09 07:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435543', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435543', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435543', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435543', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:31:19] Production.INFO: ProcessCDR(1,14435543,1,1,2)
[2025-02-09 07:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435543', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435543', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:31:22] Production.INFO: ==766== Releasing lock...
[2025-02-09 07:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:31:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:32:01] Production.INFO: ==832== Lock acquired, processing the job...
[2025-02-09 12:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:32:01] Production.INFO: neon service started
[2025-02-09 12:32:01] Production.INFO: neon service started
[2025-02-09 12:32:01] Production.INFO: ==832== Releasing lock...
[2025-02-09 12:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:32:01] Production.INFO: ==834== Lock acquired, processing the job...
[2025-02-09 07:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:32:02] Production.INFO: ==834== Releasing lock...
[2025-02-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:32:02] Production.INFO: ==836== Lock acquired, processing the job...
[2025-02-09 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:32:02] Production.INFO: ==836== Releasing lock...
[2025-02-09 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:32:03] Production.INFO: ==840== Lock acquired, processing the job...
[2025-02-09 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:32:03] Production.INFO: ==848== Lock acquired, processing the job...
[2025-02-09 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:32:03] Production.INFO: ==838== Lock acquired, processing the job...
[2025-02-09 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:32:03] Production.INFO: ==842== Lock acquired, processing the job...
[2025-02-09 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:32:03] Production.INFO: ==846== Lock acquired, processing the job...
[2025-02-09 07:32:03] Production.INFO: ==844== Lock acquired, processing the job...
[2025-02-09 07:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:32:03] Production.INFO: count ==21
[2025-02-09 07:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:32:03] Production.INFO: count ==21
[2025-02-09 07:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435545') start
[2025-02-09 07:32:03] Production.INFO: ==840== Releasing lock...
[2025-02-09 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:32:03] Production.INFO: Account Balance Start.
[2025-02-09 07:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:32:03] Production.INFO: 117
[2025-02-09 07:32:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435545') end
[2025-02-09 07:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:32:03] Production.INFO: 1
[2025-02-09 07:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:32:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:32:03] Production.INFO: ==848== Releasing lock...
[2025-02-09 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:32:03] Production.INFO: Total Charge 0
[2025-02-09 07:32:03] Production.INFO: CreateAllLog End
[2025-02-09 07:32:04] Production.ERROR: done
[2025-02-09 07:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:32:04] Production.ERROR: done
[2025-02-09 07:32:04] Production.INFO: Account Balance End.
[2025-02-09 07:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:32:04] Production.INFO: ==844== Releasing lock...
[2025-02-09 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:32:05
[end_date_ymd] => 2025-02-09 07:32:05
[RateCDR] => 1
)
[2025-02-09 07:32: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` >= '2025-02-09 04:32:05' and `end` < '2025-02-09 07:32: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 ,'')
[2025-02-09 07:32:11] Production.ERROR: CronJobId end10
[2025-02-09 07:32:11] Production.INFO: ==842== Releasing lock...
[2025-02-09 07:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:32:14] Production.INFO: call_cost start
[2025-02-09 07:32:14] Production.INFO: call_cost end
[2025-02-09 07:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:32:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:32:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:32:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:32:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:32:15] Production.INFO: ==838== Releasing lock...
[2025-02-09 07:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:32:18] Production.INFO: count ==148
[2025-02-09 07:32:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:32:05 - End Time 2025-02-09 07:32:05
[2025-02-09 07:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435548', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435548', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435548', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435548', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:32:18] Production.INFO: ProcessCDR(1,14435548,1,1,2)
[2025-02-09 07:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435548', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435548', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:32:21] Production.INFO: ==846== Releasing lock...
[2025-02-09 07:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:32:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:33:02] Production.INFO: ==916== Lock acquired, processing the job...
[2025-02-09 12:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:33:02] Production.INFO: neon service started
[2025-02-09 12:33:02] Production.INFO: neon service started
[2025-02-09 12:33:02] Production.INFO: ==916== Releasing lock...
[2025-02-09 12:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:33:02] Production.INFO: ==918== Lock acquired, processing the job...
[2025-02-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:33:02] Production.INFO: ==920== Lock acquired, processing the job...
[2025-02-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:33:02] Production.INFO: ==918== Releasing lock...
[2025-02-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:33:02] Production.INFO: ==920== Releasing lock...
[2025-02-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:33:03] Production.INFO: ==922== Lock acquired, processing the job...
[2025-02-09 07:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:33:03] Production.INFO: ==926== Lock acquired, processing the job...
[2025-02-09 07:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:33:03] Production.INFO: ==924== Lock acquired, processing the job...
[2025-02-09 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:33:03] Production.INFO: ==928== Lock acquired, processing the job...
[2025-02-09 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:33:03] Production.INFO: ==930== Lock acquired, processing the job...
[2025-02-09 07:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:33:03] Production.INFO: ==933== Lock acquired, processing the job...
[2025-02-09 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:33:03] Production.INFO: Account Balance Start.
[2025-02-09 07:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:33:03] Production.INFO: 117
[2025-02-09 07:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:33:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:33:04] Production.INFO: ==924== Releasing lock...
[2025-02-09 07:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:33:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:33:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:33:04] Production.INFO: Total Charge 0
[2025-02-09 07:33:04] Production.INFO: CreateAllLog End
[2025-02-09 07:33:04] Production.INFO: count ==21
[2025-02-09 07:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:33:04] Production.INFO: count ==21
[2025-02-09 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435552') start
[2025-02-09 07:33:04] Production.INFO: Account Balance End.
[2025-02-09 07:33:04] Production.ERROR: done
[2025-02-09 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435552') end
[2025-02-09 07:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:33:04] Production.INFO: 1
[2025-02-09 07:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:33:04] Production.INFO: ==928== Releasing lock...
[2025-02-09 07:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:33:04] Production.INFO: ==933== Releasing lock...
[2025-02-09 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:33:04] Production.ERROR: done
[2025-02-09 07:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:33:05
[end_date_ymd] => 2025-02-09 07:33:05
[RateCDR] => 1
)
[2025-02-09 07:33: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` >= '2025-02-09 04:33:05' and `end` < '2025-02-09 07:33: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 ,'')
[2025-02-09 07:33:11] Production.ERROR: CronJobId end10
[2025-02-09 07:33:11] Production.INFO: ==926== Releasing lock...
[2025-02-09 07:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:33:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:33:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:33:14] Production.INFO: call_cost start
[2025-02-09 07:33:14] Production.INFO: call_cost end
[2025-02-09 07:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:33:15] Production.INFO: ==922== Releasing lock...
[2025-02-09 07:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:33:18] Production.INFO: count ==148
[2025-02-09 07:33:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:33:05 - End Time 2025-02-09 07:33:05
[2025-02-09 07:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435553', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435553', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435553', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435553', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:33:18] Production.INFO: ProcessCDR(1,14435553,1,1,2)
[2025-02-09 07:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435553', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435553', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:33:21] Production.INFO: ==930== Releasing lock...
[2025-02-09 07:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:33:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:34:01] Production.INFO: ==1019== Lock acquired, processing the job...
[2025-02-09 12:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:34:01] Production.INFO: neon service started
[2025-02-09 12:34:01] Production.INFO: neon service started
[2025-02-09 12:34:01] Production.INFO: ==1019== Releasing lock...
[2025-02-09 12:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:34:02] Production.INFO: ==1025== Lock acquired, processing the job...
[2025-02-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:34:02] Production.INFO: ==1025== Releasing lock...
[2025-02-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:34:02] Production.INFO: ==1023== Lock acquired, processing the job...
[2025-02-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:34:02] Production.INFO: ==1023== Releasing lock...
[2025-02-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:34:03] Production.INFO: ==1029== Lock acquired, processing the job...
[2025-02-09 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:34:03] Production.INFO: ==1033== Lock acquired, processing the job...
[2025-02-09 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:34:03] Production.INFO: ==1037== Lock acquired, processing the job...
[2025-02-09 07:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:34:03] Production.INFO: ==1031== Lock acquired, processing the job...
[2025-02-09 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:34:04] Production.INFO: ==1039== Lock acquired, processing the job...
[2025-02-09 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:34:04] Production.INFO: ==1035== Lock acquired, processing the job...
[2025-02-09 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:34:04] Production.ERROR: done
[2025-02-09 07:34:04] Production.INFO: Account Balance Start.
[2025-02-09 07:34:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:34:04] Production.INFO: count ==21
[2025-02-09 07:34:04] Production.INFO: 117
[2025-02-09 07:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:34:04] Production.INFO: count ==21
[2025-02-09 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435557') start
[2025-02-09 07:34:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435557') end
[2025-02-09 07:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:34:04] Production.INFO: 1
[2025-02-09 07:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:34:04] Production.ERROR: done
[2025-02-09 07:34:04] Production.INFO: ==1039== Releasing lock...
[2025-02-09 07:34:04] Production.INFO: ==1031== Releasing lock...
[2025-02-09 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:34:04] Production.INFO: Total Charge 0
[2025-02-09 07:34:04] Production.INFO: CreateAllLog End
[2025-02-09 07:34:04] Production.INFO: Account Balance End.
[2025-02-09 07:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:34:04] Production.INFO: ==1035== Releasing lock...
[2025-02-09 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:34:05
[end_date_ymd] => 2025-02-09 07:34:05
[RateCDR] => 1
)
[2025-02-09 07:34: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` >= '2025-02-09 04:34:05' and `end` < '2025-02-09 07:34: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 ,'')
[2025-02-09 07:34:15] Production.ERROR: CronJobId end10
[2025-02-09 07:34:15] Production.INFO: ==1033== Releasing lock...
[2025-02-09 07:34:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:34:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:34:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:34:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:34:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:34:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:34:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:34:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:34:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:34:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:34:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:34:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:34:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:34:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:34:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:34:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:34:16] Production.INFO: call_cost start
[2025-02-09 07:34:16] Production.INFO: call_cost end
[2025-02-09 07:34:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:34:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:34:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:34:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:34:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:34:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:34:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:34:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:34:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:34:17] Production.INFO: ==1029== Releasing lock...
[2025-02-09 07:34:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:34:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:34:18] Production.INFO: count ==148
[2025-02-09 07:34:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:34:05 - End Time 2025-02-09 07:34:05
[2025-02-09 07:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435558', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435558', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435558', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435558', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:34:18] Production.INFO: ProcessCDR(1,14435558,1,1,2)
[2025-02-09 07:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435558', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435558', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:34:21] Production.INFO: ==1037== Releasing lock...
[2025-02-09 07:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:34:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:35:02] Production.INFO: ==1145== Lock acquired, processing the job...
[2025-02-09 12:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:35:02] Production.INFO: neon service started
[2025-02-09 12:35:02] Production.INFO: neon service started
[2025-02-09 12:35:02] Production.INFO: ==1145== Releasing lock...
[2025-02-09 12:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:35:02] Production.INFO: ==1151== Lock acquired, processing the job...
[2025-02-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:35:02] Production.INFO: ==1151== Releasing lock...
[2025-02-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:35:02] Production.INFO: ==1149== Lock acquired, processing the job...
[2025-02-09 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:35:03] Production.INFO: ==1149== Releasing lock...
[2025-02-09 07:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:35:03] Production.INFO: ==1154== Lock acquired, processing the job...
[2025-02-09 07:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:35:03] Production.INFO: ==1156== Lock acquired, processing the job...
[2025-02-09 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:35:04] Production.INFO: ==1162== Lock acquired, processing the job...
[2025-02-09 07:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:35:04] Production.INFO: ==1158== Lock acquired, processing the job...
[2025-02-09 07:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:35:04] Production.INFO: ==1164== Lock acquired, processing the job...
[2025-02-09 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:35:04] Production.INFO: ==1160== Lock acquired, processing the job...
[2025-02-09 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:35:04] Production.INFO: ==1156== Releasing lock...
[2025-02-09 07:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:35:04] Production.INFO: Account Balance Start.
[2025-02-09 07:35:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:35:04] Production.INFO: 117
[2025-02-09 07:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:35:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:35:04] Production.INFO: count ==21
[2025-02-09 07:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:35:04] Production.INFO: count ==21
[2025-02-09 07:35:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435561') start
[2025-02-09 07:35:04] Production.INFO: Total Charge 0
[2025-02-09 07:35:04] Production.INFO: CreateAllLog End
[2025-02-09 07:35:04] Production.ERROR: done
[2025-02-09 07:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435561') end
[2025-02-09 07:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:35:04] Production.INFO: 1
[2025-02-09 07:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:35:04] Production.INFO: ==1164== Releasing lock...
[2025-02-09 07:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:35:04] Production.ERROR: done
[2025-02-09 07:35:05] Production.INFO: Account Balance End.
[2025-02-09 07:35:05] Production.ERROR: CronJobId end 12
[2025-02-09 07:35:05] Production.INFO: ==1160== Releasing lock...
[2025-02-09 07:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:35:05
[end_date_ymd] => 2025-02-09 07:35:05
[RateCDR] => 1
)
[2025-02-09 07:35: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` >= '2025-02-09 04:35:05' and `end` < '2025-02-09 07:35: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 ,'')
[2025-02-09 07:35:14] Production.ERROR: CronJobId end10
[2025-02-09 07:35:14] Production.INFO: ==1158== Releasing lock...
[2025-02-09 07:35:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:35:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:35:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:35:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:35:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:35:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:35:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:35:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:35:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:35:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:35:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:35:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:35:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:35:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:35:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:35:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:35:15] Production.INFO: call_cost start
[2025-02-09 07:35:15] Production.INFO: call_cost end
[2025-02-09 07:35:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:35:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:35:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:35:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:35:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:35:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:35:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:35:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:35:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:35:16] Production.INFO: ==1154== Releasing lock...
[2025-02-09 07:35:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:35:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:35:19] Production.INFO: count ==148
[2025-02-09 07:35:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:35:05 - End Time 2025-02-09 07:35:05
[2025-02-09 07:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435563', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435563', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435563', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435563', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:35:19] Production.INFO: ProcessCDR(1,14435563,1,1,2)
[2025-02-09 07:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435563', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435563', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:35:22] Production.INFO: ==1162== Releasing lock...
[2025-02-09 07:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:35:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:36:01] Production.INFO: ==1232== Lock acquired, processing the job...
[2025-02-09 12:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:36:01] Production.INFO: neon service started
[2025-02-09 12:36:01] Production.INFO: neon service started
[2025-02-09 12:36:01] Production.INFO: ==1232== Releasing lock...
[2025-02-09 12:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:36:02] Production.INFO: ==1234== Lock acquired, processing the job...
[2025-02-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:36:02] Production.INFO: ==1236== Lock acquired, processing the job...
[2025-02-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:36:02] Production.INFO: ==1236== Releasing lock...
[2025-02-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:36:02] Production.INFO: ==1234== Releasing lock...
[2025-02-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:36:03] Production.INFO: ==1243== Lock acquired, processing the job...
[2025-02-09 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:36:03] Production.INFO: ==1246== Lock acquired, processing the job...
[2025-02-09 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:36:03] Production.INFO: ==1248== Lock acquired, processing the job...
[2025-02-09 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:36:03] Production.INFO: ==1254== Lock acquired, processing the job...
[2025-02-09 07:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:36:04] Production.INFO: ==1256== Lock acquired, processing the job...
[2025-02-09 07:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:36:04] Production.INFO: Account Balance Start.
[2025-02-09 07:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:36:04] Production.INFO: 117
[2025-02-09 07:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:36:04] Production.INFO: ==1260== Lock acquired, processing the job...
[2025-02-09 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:36:04] Production.INFO: ==1246== Releasing lock...
[2025-02-09 07:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:36:04] Production.INFO: Total Charge 0
[2025-02-09 07:36:04] Production.INFO: CreateAllLog End
[2025-02-09 07:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:36:04] Production.INFO: count ==21
[2025-02-09 07:36:04] Production.INFO: Account Balance End.
[2025-02-09 07:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:36:04] Production.INFO: count ==21
[2025-02-09 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435567') start
[2025-02-09 07:36:04] Production.ERROR: done
[2025-02-09 07:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:36:04] Production.INFO: ==1254== Releasing lock...
[2025-02-09 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435567') end
[2025-02-09 07:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:36:04] Production.INFO: 1
[2025-02-09 07:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:36:04] Production.INFO: ==1260== Releasing lock...
[2025-02-09 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:36:04] Production.ERROR: done
[2025-02-09 07:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:36:05
[end_date_ymd] => 2025-02-09 07:36:05
[RateCDR] => 1
)
[2025-02-09 07:36: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` >= '2025-02-09 04:36:05' and `end` < '2025-02-09 07:36: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 ,'')
[2025-02-09 07:36:11] Production.ERROR: CronJobId end10
[2025-02-09 07:36:11] Production.INFO: ==1248== Releasing lock...
[2025-02-09 07:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:36:14] Production.INFO: call_cost start
[2025-02-09 07:36:14] Production.INFO: call_cost end
[2025-02-09 07:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:36:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:36:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:36:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:36:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:36:15] Production.INFO: ==1243== Releasing lock...
[2025-02-09 07:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:36:19] Production.INFO: count ==148
[2025-02-09 07:36:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:36:05 - End Time 2025-02-09 07:36:05
[2025-02-09 07:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435568', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435568', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435568', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435568', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:36:19] Production.INFO: ProcessCDR(1,14435568,1,1,2)
[2025-02-09 07:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435568', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435568', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:36:22] Production.INFO: ==1256== Releasing lock...
[2025-02-09 07:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:36:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:37:02] Production.INFO: ==1331== Lock acquired, processing the job...
[2025-02-09 12:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:37:02] Production.INFO: neon service started
[2025-02-09 12:37:02] Production.INFO: neon service started
[2025-02-09 12:37:02] Production.INFO: ==1331== Releasing lock...
[2025-02-09 12:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:37:02] Production.INFO: ==1333== Lock acquired, processing the job...
[2025-02-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:37:02] Production.INFO: ==1335== Lock acquired, processing the job...
[2025-02-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:37:03] Production.INFO: ==1335== Releasing lock...
[2025-02-09 12:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:37:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:37:03] Production.INFO: ==1333== Releasing lock...
[2025-02-09 07:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:37:03] Production.INFO: ==1342== Lock acquired, processing the job...
[2025-02-09 07:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:37:04] Production.INFO: ==1348== Lock acquired, processing the job...
[2025-02-09 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:37:04] Production.INFO: ==1338== Lock acquired, processing the job...
[2025-02-09 07:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:37:04] Production.INFO: ==1340== Lock acquired, processing the job...
[2025-02-09 07:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:37:04] Production.INFO: ==1344== Lock acquired, processing the job...
[2025-02-09 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:37:04] Production.INFO: count ==21
[2025-02-09 07:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:37:04] Production.INFO: count ==21
[2025-02-09 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435569') start
[2025-02-09 07:37:04] Production.INFO: ==1346== Lock acquired, processing the job...
[2025-02-09 07:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:37:04] Production.INFO: Account Balance Start.
[2025-02-09 07:37:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:37:04] Production.INFO: 117
[2025-02-09 07:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:37:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435569') end
[2025-02-09 07:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:37:04] Production.INFO: 1
[2025-02-09 07:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:37:04] Production.INFO: ==1348== Releasing lock...
[2025-02-09 07:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:37:04] Production.INFO: Total Charge 0
[2025-02-09 07:37:04] Production.INFO: CreateAllLog End
[2025-02-09 07:37:04] Production.INFO: ==1340== Releasing lock...
[2025-02-09 07:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:37:04] Production.ERROR: done
[2025-02-09 07:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:37:04] Production.INFO: Account Balance End.
[2025-02-09 07:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:37:04] Production.INFO: ==1344== Releasing lock...
[2025-02-09 07:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:37:04] Production.ERROR: done
[2025-02-09 07:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:37:06
[end_date_ymd] => 2025-02-09 07:37:06
[RateCDR] => 1
)
[2025-02-09 07:37: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-02-09 04:37:06' and `end` < '2025-02-09 07:37: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-02-09 07:37:11] Production.ERROR: CronJobId end10
[2025-02-09 07:37:11] Production.INFO: ==1342== Releasing lock...
[2025-02-09 07:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:37:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:37:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:37:13] Production.INFO: call_cost start
[2025-02-09 07:37:13] Production.INFO: call_cost end
[2025-02-09 07:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:37:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:37:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:37:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:37:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:37:14] Production.INFO: ==1338== Releasing lock...
[2025-02-09 07:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:37:19] Production.INFO: count ==148
[2025-02-09 07:37:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:37:06 - End Time 2025-02-09 07:37:06
[2025-02-09 07:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435573', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435573', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435573', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435573', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:37:19] Production.INFO: ProcessCDR(1,14435573,1,1,2)
[2025-02-09 07:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435573', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435573', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:37:22] Production.INFO: ==1346== Releasing lock...
[2025-02-09 07:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:37:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:38:01] Production.INFO: ==1417== Lock acquired, processing the job...
[2025-02-09 12:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:38:01] Production.INFO: neon service started
[2025-02-09 12:38:01] Production.INFO: neon service started
[2025-02-09 12:38:01] Production.INFO: ==1417== Releasing lock...
[2025-02-09 12:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:38:02] Production.INFO: ==1419== Lock acquired, processing the job...
[2025-02-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:38:02] Production.INFO: ==1421== Lock acquired, processing the job...
[2025-02-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:38:02] Production.INFO: ==1421== Releasing lock...
[2025-02-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:38:02] Production.INFO: ==1419== Releasing lock...
[2025-02-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:38:03] Production.INFO: ==1424== Lock acquired, processing the job...
[2025-02-09 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:38:03] Production.INFO: ==1430== Lock acquired, processing the job...
[2025-02-09 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:38:03] Production.INFO: ==1432== Lock acquired, processing the job...
[2025-02-09 07:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:38:03] Production.INFO: Account Balance Start.
[2025-02-09 07:38:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:38:03] Production.INFO: 117
[2025-02-09 07:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:38:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:38:03] Production.INFO: ==1426== Lock acquired, processing the job...
[2025-02-09 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:38:04] Production.INFO: ==1428== Lock acquired, processing the job...
[2025-02-09 07:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:38:04] Production.INFO: Total Charge 0
[2025-02-09 07:38:04] Production.INFO: CreateAllLog End
[2025-02-09 07:38:04] Production.INFO: ==1434== Lock acquired, processing the job...
[2025-02-09 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:38:04] Production.ERROR: done
[2025-02-09 07:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:38:04] Production.INFO: Account Balance End.
[2025-02-09 07:38:04] Production.INFO: count ==21
[2025-02-09 07:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:38:04] Production.INFO: count ==21
[2025-02-09 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435577') start
[2025-02-09 07:38:04] Production.ERROR: done
[2025-02-09 07:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:38:04] Production.INFO: ==1430== Releasing lock...
[2025-02-09 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:38:04] Production.INFO: ==1426== Releasing lock...
[2025-02-09 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435577') end
[2025-02-09 07:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:38:04] Production.INFO: 1
[2025-02-09 07:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:38:04] Production.INFO: ==1434== Releasing lock...
[2025-02-09 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:38:05
[end_date_ymd] => 2025-02-09 07:38:05
[RateCDR] => 1
)
[2025-02-09 07:38: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` >= '2025-02-09 04:38:05' and `end` < '2025-02-09 07:38: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 ,'')
[2025-02-09 07:38:12] Production.ERROR: CronJobId end10
[2025-02-09 07:38:12] Production.INFO: ==1428== Releasing lock...
[2025-02-09 07:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:38:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:38:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:38:14] Production.INFO: call_cost start
[2025-02-09 07:38:14] Production.INFO: call_cost end
[2025-02-09 07:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:38:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:38:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:38:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:38:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:38:15] Production.INFO: ==1424== Releasing lock...
[2025-02-09 07:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:38:19] Production.INFO: count ==148
[2025-02-09 07:38:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:38:05 - End Time 2025-02-09 07:38:05
[2025-02-09 07:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435578', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435578', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435578', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435578', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:38:19] Production.INFO: ProcessCDR(1,14435578,1,1,2)
[2025-02-09 07:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435578', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435578', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:38:22] Production.INFO: ==1432== Releasing lock...
[2025-02-09 07:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:38:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:39:02] Production.INFO: ==1539== Lock acquired, processing the job...
[2025-02-09 12:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:39:02] Production.INFO: neon service started
[2025-02-09 12:39:02] Production.INFO: neon service started
[2025-02-09 12:39:02] Production.INFO: ==1539== Releasing lock...
[2025-02-09 12:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:39:02] Production.INFO: ==1541== Lock acquired, processing the job...
[2025-02-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:39:02] Production.INFO: ==1541== Releasing lock...
[2025-02-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:39:02] Production.INFO: ==1543== Lock acquired, processing the job...
[2025-02-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:39:03] Production.INFO: ==1543== Releasing lock...
[2025-02-09 12:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:39:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:39:03] Production.INFO: ==1546== Lock acquired, processing the job...
[2025-02-09 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:39:03] Production.INFO: ==1548== Lock acquired, processing the job...
[2025-02-09 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:39:03] Production.INFO: ==1553== Lock acquired, processing the job...
[2025-02-09 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:39:04] Production.INFO: Account Balance Start.
[2025-02-09 07:39:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:39:04] Production.INFO: 117
[2025-02-09 07:39:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:39:04] Production.INFO: ==1550== Lock acquired, processing the job...
[2025-02-09 07:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:39:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:39:04] Production.INFO: ==1555== Lock acquired, processing the job...
[2025-02-09 07:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:39:04] Production.INFO: Total Charge 0
[2025-02-09 07:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:39:04] Production.INFO: CreateAllLog End
[2025-02-09 07:39:04] Production.INFO: ==1558== Lock acquired, processing the job...
[2025-02-09 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:39:04] Production.INFO: ==1548== Releasing lock...
[2025-02-09 07:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:39:04] Production.INFO: count ==21
[2025-02-09 07:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:39:04] Production.INFO: count ==21
[2025-02-09 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435582') start
[2025-02-09 07:39:04] Production.ERROR: done
[2025-02-09 07:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435582') end
[2025-02-09 07:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:39:04] Production.INFO: 1
[2025-02-09 07:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:39:05] Production.INFO: ==1558== Releasing lock...
[2025-02-09 07:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:39:05] Production.ERROR: done
[2025-02-09 07:39:05] Production.INFO: Account Balance End.
[2025-02-09 07:39:05] Production.ERROR: CronJobId end 12
[2025-02-09 07:39:05] Production.INFO: ==1553== Releasing lock...
[2025-02-09 07:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:39:06
[end_date_ymd] => 2025-02-09 07:39:06
[RateCDR] => 1
)
[2025-02-09 07:39: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-02-09 04:39:06' and `end` < '2025-02-09 07:39: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-02-09 07:39:12] Production.ERROR: CronJobId end10
[2025-02-09 07:39:12] Production.INFO: ==1550== Releasing lock...
[2025-02-09 07:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:39:14] Production.INFO: call_cost start
[2025-02-09 07:39:14] Production.INFO: call_cost end
[2025-02-09 07:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:39:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:39:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:39:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:39:15] Production.INFO: ==1546== Releasing lock...
[2025-02-09 07:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:39:18] Production.INFO: count ==148
[2025-02-09 07:39:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:39:06 - End Time 2025-02-09 07:39:06
[2025-02-09 07:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435583', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435583', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435583', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435583', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:39:18] Production.INFO: ProcessCDR(1,14435583,1,1,2)
[2025-02-09 07:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435583', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435583', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:39:22] Production.INFO: ==1555== Releasing lock...
[2025-02-09 07:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:39:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:40:01] Production.INFO: ==1637== Lock acquired, processing the job...
[2025-02-09 12:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:40:01] Production.INFO: neon service started
[2025-02-09 12:40:01] Production.INFO: neon service started
[2025-02-09 12:40:01] Production.INFO: ==1637== Releasing lock...
[2025-02-09 12:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:40:02] Production.INFO: ==1639== Lock acquired, processing the job...
[2025-02-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:40:02] Production.INFO: ==1641== Lock acquired, processing the job...
[2025-02-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:40:02] Production.INFO: ==1641== Releasing lock...
[2025-02-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:40:02] Production.INFO: ==1639== Releasing lock...
[2025-02-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:40:03] Production.INFO: ==1643== Lock acquired, processing the job...
[2025-02-09 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 07:40:03] Production.INFO: ==1645== Lock acquired, processing the job...
[2025-02-09 07:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 07:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 07:40:03] Production.INFO: ==1643== Releasing lock...
[2025-02-09 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 07:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 07:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:40:03] Production.INFO: ==1651== Lock acquired, processing the job...
[2025-02-09 07:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:40:03] Production.INFO: ==1647== Lock acquired, processing the job...
[2025-02-09 07:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:40:03] Production.INFO: Account Balance Start.
[2025-02-09 07:40:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:40:03] Production.INFO: 117
[2025-02-09 07:40:03] Production.INFO: ==1655== Lock acquired, processing the job...
[2025-02-09 07:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 07:40:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:40:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:40:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:40:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:40:03] Production.INFO: ==1649== Lock acquired, processing the job...
[2025-02-09 07:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:40:03] Production.INFO: ==1653== Lock acquired, processing the job...
[2025-02-09 07:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:40:03] Production.INFO: Total Charge 0
[2025-02-09 07:40:03] Production.INFO: CreateAllLog End
[2025-02-09 07:40:03] Production.INFO: ==1657== Lock acquired, processing the job...
[2025-02-09 07:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:40:04] Production.INFO: Account Balance End.
[2025-02-09 07:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:40:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:40:04] Production.INFO: ==1651== Releasing lock...
[2025-02-09 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:40:04] Production.INFO: count ==21
[2025-02-09 07:40:04] Production.ERROR: done
[2025-02-09 07:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:40:04] Production.INFO: ==1647== Releasing lock...
[2025-02-09 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:40:04] Production.INFO: count ==21
[2025-02-09 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435587') start
[2025-02-09 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435588', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 07:40:04] Production.ERROR: done
[2025-02-09 07:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435587') end
[2025-02-09 07:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:40:04] Production.INFO: 1
[2025-02-09 07:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:40:04] Production.INFO: ==1657== Releasing lock...
[2025-02-09 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:40:04] Production.ERROR: done
[2025-02-09 07:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:40:06
[end_date_ymd] => 2025-02-09 07:40:06
[RateCDR] => 1
)
[2025-02-09 07:40: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-02-09 04:40:06' and `end` < '2025-02-09 07:40: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-02-09 07:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435588', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 07:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 07:40:09] Production.INFO: ProcessCDR(1,14435588,1,1,2)
[2025-02-09 07:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435588,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435588,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:40:09] Production.INFO: ==1655== Releasing lock...
[2025-02-09 07:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 07:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 07:40:14] Production.ERROR: CronJobId end10
[2025-02-09 07:40:14] Production.INFO: ==1649== Releasing lock...
[2025-02-09 07:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:40:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:40:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:40:16] Production.INFO: call_cost start
[2025-02-09 07:40:16] Production.INFO: call_cost end
[2025-02-09 07:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:40:17] Production.INFO: ==1645== Releasing lock...
[2025-02-09 07:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:40:19] Production.INFO: count ==152
[2025-02-09 07:40:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:40:06 - End Time 2025-02-09 07:40:06
[2025-02-09 07:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435589', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435589', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435589', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435589', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:40:19] Production.INFO: ProcessCDR(1,14435589,1,1,2)
[2025-02-09 07:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435589', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435589', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:40:22] Production.INFO: ==1653== Releasing lock...
[2025-02-09 07:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:40:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:41:02] Production.INFO: ==1731== Lock acquired, processing the job...
[2025-02-09 12:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:41:02] Production.INFO: neon service started
[2025-02-09 12:41:02] Production.INFO: neon service started
[2025-02-09 12:41:02] Production.INFO: ==1731== Releasing lock...
[2025-02-09 12:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:41:02] Production.INFO: ==1733== Lock acquired, processing the job...
[2025-02-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:41:02] Production.INFO: ==1735== Lock acquired, processing the job...
[2025-02-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:41:02] Production.INFO: ==1735== Releasing lock...
[2025-02-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:41:03] Production.INFO: ==1733== Releasing lock...
[2025-02-09 07:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:41:03] Production.INFO: ==1738== Lock acquired, processing the job...
[2025-02-09 07:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:41:04] Production.INFO: ==1742== Lock acquired, processing the job...
[2025-02-09 07:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:41:04] Production.INFO: ==1746== Lock acquired, processing the job...
[2025-02-09 07:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:41:04] Production.INFO: ==1740== Lock acquired, processing the job...
[2025-02-09 07:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:41:04] Production.INFO: ==1744== Lock acquired, processing the job...
[2025-02-09 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:41:04] Production.INFO: Account Balance Start.
[2025-02-09 07:41:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:41:04] Production.INFO: 117
[2025-02-09 07:41:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:41:04] Production.INFO: ==1748== Lock acquired, processing the job...
[2025-02-09 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:41:04] Production.ERROR: done
[2025-02-09 07:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:41:04] Production.INFO: ==1740== Releasing lock...
[2025-02-09 07:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:41:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:41:04] Production.INFO: Total Charge 0
[2025-02-09 07:41:04] Production.INFO: CreateAllLog End
[2025-02-09 07:41:04] Production.ERROR: done
[2025-02-09 07:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:41:04] Production.INFO: count ==21
[2025-02-09 07:41:04] Production.INFO: Account Balance End.
[2025-02-09 07:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:41:04] Production.INFO: count ==21
[2025-02-09 07:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:41:04] Production.INFO: ==1744== Releasing lock...
[2025-02-09 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435593') start
[2025-02-09 07:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14435593') end
[2025-02-09 07:41:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:41:05] Production.INFO: 1
[2025-02-09 07:41:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:41:05] Production.INFO: ==1748== Releasing lock...
[2025-02-09 07:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:41:05
[end_date_ymd] => 2025-02-09 07:41:05
[RateCDR] => 1
)
[2025-02-09 07:41: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-02-09 04:41:05' and `end` < '2025-02-09 07:41: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 ,'')
[2025-02-09 07:41:12] Production.ERROR: CronJobId end10
[2025-02-09 07:41:12] Production.INFO: ==1742== Releasing lock...
[2025-02-09 07:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:41:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:41:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:41:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:41:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:41:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:41:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:41:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:41:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:41:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:41:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:41:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:41:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:41:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:41:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:41:15] Production.INFO: call_cost start
[2025-02-09 07:41:15] Production.INFO: call_cost end
[2025-02-09 07:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:41:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:41:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:41:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:41:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:41:16] Production.INFO: ==1738== Releasing lock...
[2025-02-09 07:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:41:19] Production.INFO: count ==158
[2025-02-09 07:41:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:41:05 - End Time 2025-02-09 07:41:05
[2025-02-09 07:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435594', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435594', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435594', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435594', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:41:19] Production.INFO: ProcessCDR(1,14435594,1,1,2)
[2025-02-09 07:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435594', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435594', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:41:22] Production.INFO: ==1746== Releasing lock...
[2025-02-09 07:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:41:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:42:01] Production.INFO: ==1820== Lock acquired, processing the job...
[2025-02-09 12:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:42:01] Production.INFO: neon service started
[2025-02-09 12:42:01] Production.INFO: neon service started
[2025-02-09 12:42:01] Production.INFO: ==1820== Releasing lock...
[2025-02-09 12:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:42:01] Production.INFO: ==1823== Lock acquired, processing the job...
[2025-02-09 07:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:42:02] Production.INFO: ==1823== Releasing lock...
[2025-02-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:42:02] Production.INFO: ==1828== Lock acquired, processing the job...
[2025-02-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:42:02] Production.INFO: ==1828== Releasing lock...
[2025-02-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:42:03] Production.INFO: ==1836== Lock acquired, processing the job...
[2025-02-09 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:42:03] Production.INFO: ==1830== Lock acquired, processing the job...
[2025-02-09 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:42:03] Production.INFO: Account Balance Start.
[2025-02-09 07:42:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:42:03] Production.INFO: 117
[2025-02-09 07:42:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:42:03] Production.INFO: ==1840== Lock acquired, processing the job...
[2025-02-09 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:42:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:42:03] Production.INFO: Total Charge 0
[2025-02-09 07:42:03] Production.INFO: ==1834== Lock acquired, processing the job...
[2025-02-09 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:42:03] Production.INFO: CreateAllLog End
[2025-02-09 07:42:03] Production.INFO: ==1832== Lock acquired, processing the job...
[2025-02-09 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:42:03] Production.INFO: ==1838== Lock acquired, processing the job...
[2025-02-09 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:42:03] Production.INFO: count ==21
[2025-02-09 07:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:42:03] Production.INFO: count ==21
[2025-02-09 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435597') start
[2025-02-09 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:42:03] Production.INFO: Account Balance End.
[2025-02-09 07:42:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:42:03] Production.INFO: ==1836== Releasing lock...
[2025-02-09 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435597') end
[2025-02-09 07:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:42:03] Production.INFO: 1
[2025-02-09 07:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:42:03] Production.INFO: ==1840== Releasing lock...
[2025-02-09 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:42:03] Production.ERROR: done
[2025-02-09 07:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:42:03] Production.INFO: ==1832== Releasing lock...
[2025-02-09 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:42:03] Production.ERROR: done
[2025-02-09 07:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:42:04
[end_date_ymd] => 2025-02-09 07:42:04
[RateCDR] => 1
)
[2025-02-09 07:42:04] 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-02-09 04:42:04' and `end` < '2025-02-09 07:42:04'
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-02-09 07:42:12] Production.ERROR: CronJobId end10
[2025-02-09 07:42:12] Production.INFO: ==1834== Releasing lock...
[2025-02-09 07:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:42:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:42:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:42:14] Production.INFO: call_cost start
[2025-02-09 07:42:14] Production.INFO: call_cost end
[2025-02-09 07:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:42:15] Production.INFO: ==1830== Releasing lock...
[2025-02-09 07:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:42:17] Production.INFO: count ==158
[2025-02-09 07:42:17] Production.ERROR: pbx CDR StartTime 2025-02-09 04:42:04 - End Time 2025-02-09 07:42:04
[2025-02-09 07:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435599', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435599', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435599', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435599', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:42:17] Production.INFO: ProcessCDR(1,14435599,1,1,2)
[2025-02-09 07:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435599', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435599', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:42:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:42:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:42:20] Production.INFO: ==1838== Releasing lock...
[2025-02-09 07:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:42:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:43:02] Production.INFO: ==1911== Lock acquired, processing the job...
[2025-02-09 12:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:43:02] Production.INFO: neon service started
[2025-02-09 12:43:02] Production.INFO: neon service started
[2025-02-09 12:43:02] Production.INFO: ==1911== Releasing lock...
[2025-02-09 12:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:43:02] Production.INFO: ==1913== Lock acquired, processing the job...
[2025-02-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:43:02] Production.INFO: ==1913== Releasing lock...
[2025-02-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:43:02] Production.INFO: ==1915== Lock acquired, processing the job...
[2025-02-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:43:02] Production.INFO: ==1915== Releasing lock...
[2025-02-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:43:03] Production.INFO: ==1924== Lock acquired, processing the job...
[2025-02-09 07:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:43:03] Production.INFO: ==1928== Lock acquired, processing the job...
[2025-02-09 07:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:43:03] Production.INFO: Account Balance Start.
[2025-02-09 07:43:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:43:03] Production.INFO: 117
[2025-02-09 07:43:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:43:03] Production.INFO: ==1918== Lock acquired, processing the job...
[2025-02-09 07:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:43:03] Production.INFO: ==1920== Lock acquired, processing the job...
[2025-02-09 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:43:03] Production.INFO: ==1922== Lock acquired, processing the job...
[2025-02-09 07:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:43:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:43:03] Production.INFO: ==1926== Lock acquired, processing the job...
[2025-02-09 07:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:43:03] Production.INFO: count ==21
[2025-02-09 07:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:43:03] Production.INFO: count ==21
[2025-02-09 07:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:43:03] Production.INFO: Total Charge 0
[2025-02-09 07:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:43:03] Production.INFO: CreateAllLog End
[2025-02-09 07:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435601') start
[2025-02-09 07:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435601') end
[2025-02-09 07:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:43:03] Production.INFO: 1
[2025-02-09 07:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:43:04] Production.INFO: ==1928== Releasing lock...
[2025-02-09 07:43:04] Production.INFO: Account Balance End.
[2025-02-09 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:43:04] Production.INFO: ==1924== Releasing lock...
[2025-02-09 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:43:04] Production.INFO: ==1920== Releasing lock...
[2025-02-09 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:43:04] Production.ERROR: done
[2025-02-09 07:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:43:04] Production.ERROR: done
[2025-02-09 07:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:43:05
[end_date_ymd] => 2025-02-09 07:43:05
[RateCDR] => 1
)
[2025-02-09 07:43: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` >= '2025-02-09 04:43:05' and `end` < '2025-02-09 07:43: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 ,'')
[2025-02-09 07:43:12] Production.ERROR: CronJobId end10
[2025-02-09 07:43:12] Production.INFO: ==1922== Releasing lock...
[2025-02-09 07:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:43:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:43:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:43:14] Production.INFO: call_cost start
[2025-02-09 07:43:14] Production.INFO: call_cost end
[2025-02-09 07:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:43:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:43:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:43:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:43:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:43:14] Production.INFO: ==1918== Releasing lock...
[2025-02-09 07:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:43:19] Production.INFO: count ==160
[2025-02-09 07:43:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:43:05 - End Time 2025-02-09 07:43:05
[2025-02-09 07:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435604', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435604', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435604', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435604', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:43:19] Production.INFO: ProcessCDR(1,14435604,1,1,2)
[2025-02-09 07:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435604', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435604', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:43:23] Production.INFO: ==1926== Releasing lock...
[2025-02-09 07:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:43:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:44:01] Production.INFO: ==2007== Lock acquired, processing the job...
[2025-02-09 12:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:44:01] Production.INFO: neon service started
[2025-02-09 12:44:01] Production.INFO: neon service started
[2025-02-09 12:44:01] Production.INFO: ==2007== Releasing lock...
[2025-02-09 12:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:44:01] Production.INFO: ==2009== Lock acquired, processing the job...
[2025-02-09 07:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:44:02] Production.INFO: ==2009== Releasing lock...
[2025-02-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:44:02] Production.INFO: ==2011== Lock acquired, processing the job...
[2025-02-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:44:02] Production.INFO: ==2011== Releasing lock...
[2025-02-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:44:03] Production.INFO: ==2013== Lock acquired, processing the job...
[2025-02-09 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:44:03] Production.INFO: ==2021== Lock acquired, processing the job...
[2025-02-09 07:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:44:03] Production.INFO: ==2023== Lock acquired, processing the job...
[2025-02-09 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:44:03] Production.INFO: ==2015== Lock acquired, processing the job...
[2025-02-09 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:44:03] Production.INFO: ==2019== Lock acquired, processing the job...
[2025-02-09 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:44:03] Production.INFO: ==2017== Lock acquired, processing the job...
[2025-02-09 07:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:44:03] Production.INFO: count ==21
[2025-02-09 07:44:03] Production.INFO: Account Balance Start.
[2025-02-09 07:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:44:03] Production.INFO: 117
[2025-02-09 07:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:44:03] Production.INFO: count ==21
[2025-02-09 07:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435606') start
[2025-02-09 07:44:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:44:03] Production.ERROR: done
[2025-02-09 07:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:44:03] Production.INFO: Total Charge 0
[2025-02-09 07:44:03] Production.INFO: CreateAllLog End
[2025-02-09 07:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435606') end
[2025-02-09 07:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:44:03] Production.INFO: 1
[2025-02-09 07:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:44:03] Production.INFO: ==2015== Releasing lock...
[2025-02-09 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:44:03] Production.ERROR: done
[2025-02-09 07:44:03] Production.INFO: ==2023== Releasing lock...
[2025-02-09 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:44:03] Production.INFO: Account Balance End.
[2025-02-09 07:44:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:44:03] Production.INFO: ==2019== Releasing lock...
[2025-02-09 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:44:04
[end_date_ymd] => 2025-02-09 07:44:04
[RateCDR] => 1
)
[2025-02-09 07:44:04] 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-02-09 04:44:04' and `end` < '2025-02-09 07:44:04'
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-02-09 07:44:11] Production.ERROR: CronJobId end10
[2025-02-09 07:44:11] Production.INFO: ==2017== Releasing lock...
[2025-02-09 07:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:44:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:44:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:44:13] Production.INFO: call_cost start
[2025-02-09 07:44:13] Production.INFO: call_cost end
[2025-02-09 07:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:44:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:44:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:44:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:44:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:44:14] Production.INFO: ==2013== Releasing lock...
[2025-02-09 07:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:44:18] Production.INFO: count ==160
[2025-02-09 07:44:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:44:04 - End Time 2025-02-09 07:44:04
[2025-02-09 07:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435609', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435609', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435609', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435609', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:44:18] Production.INFO: ProcessCDR(1,14435609,1,1,2)
[2025-02-09 07:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435609', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435609', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:44:21] Production.INFO: ==2021== Releasing lock...
[2025-02-09 07:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:44:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:45:01] Production.INFO: ==2101== Lock acquired, processing the job...
[2025-02-09 12:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:45:01] Production.INFO: neon service started
[2025-02-09 12:45:01] Production.INFO: neon service started
[2025-02-09 12:45:01] Production.INFO: ==2101== Releasing lock...
[2025-02-09 12:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:45:02] Production.INFO: ==2105== Lock acquired, processing the job...
[2025-02-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:45:02] Production.INFO: ==2105== Releasing lock...
[2025-02-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:45:02] Production.INFO: ==2103== Lock acquired, processing the job...
[2025-02-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:45:02] Production.INFO: ==2103== Releasing lock...
[2025-02-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:45:03] Production.INFO: ==2112== Lock acquired, processing the job...
[2025-02-09 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:45:03] Production.INFO: ==2110== Lock acquired, processing the job...
[2025-02-09 07:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:45:03] Production.INFO: ==2108== Lock acquired, processing the job...
[2025-02-09 07:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:45:03] Production.INFO: ==2118== Lock acquired, processing the job...
[2025-02-09 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:45:03] Production.INFO: ==2114== Lock acquired, processing the job...
[2025-02-09 07:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:45:03] Production.INFO: ==2116== Lock acquired, processing the job...
[2025-02-09 07:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:45:03] Production.INFO: Account Balance Start.
[2025-02-09 07:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:45:03] Production.INFO: 117
[2025-02-09 07:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:45:03] Production.INFO: ==2110== Releasing lock...
[2025-02-09 07:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:45:03] Production.INFO: count ==21
[2025-02-09 07:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:45:03] Production.INFO: count ==21
[2025-02-09 07:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435612') start
[2025-02-09 07:45:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435612') end
[2025-02-09 07:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:45:04] Production.INFO: 1
[2025-02-09 07:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:45:04] Production.INFO: Total Charge 0
[2025-02-09 07:45:04] Production.INFO: CreateAllLog End
[2025-02-09 07:45:04] Production.INFO: ==2118== Releasing lock...
[2025-02-09 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:45:04] Production.ERROR: done
[2025-02-09 07:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:45:04] Production.INFO: Account Balance End.
[2025-02-09 07:45:04] Production.ERROR: done
[2025-02-09 07:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:45:04] Production.INFO: ==2114== Releasing lock...
[2025-02-09 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:45:05
[end_date_ymd] => 2025-02-09 07:45:05
[RateCDR] => 1
)
[2025-02-09 07:45: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` >= '2025-02-09 04:45:05' and `end` < '2025-02-09 07:45: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 ,'')
[2025-02-09 07:45:12] Production.ERROR: CronJobId end10
[2025-02-09 07:45:12] Production.INFO: ==2112== Releasing lock...
[2025-02-09 07:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:45:14] Production.INFO: call_cost start
[2025-02-09 07:45:14] Production.INFO: call_cost end
[2025-02-09 07:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:45:15] Production.INFO: ==2108== Releasing lock...
[2025-02-09 07:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:45:18] Production.INFO: count ==160
[2025-02-09 07:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:45:05 - End Time 2025-02-09 07:45:05
[2025-02-09 07:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435614', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435614', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435614', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435614', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:45:18] Production.INFO: ProcessCDR(1,14435614,1,1,2)
[2025-02-09 07:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435614', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435614', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:45:21] Production.INFO: ==2116== Releasing lock...
[2025-02-09 07:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:46:02] Production.INFO: ==2201== Lock acquired, processing the job...
[2025-02-09 12:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:46:02] Production.INFO: neon service started
[2025-02-09 12:46:02] Production.INFO: neon service started
[2025-02-09 12:46:02] Production.INFO: ==2201== Releasing lock...
[2025-02-09 12:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:46:02] Production.INFO: ==2206== Lock acquired, processing the job...
[2025-02-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:46:02] Production.INFO: ==2206== Releasing lock...
[2025-02-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:46:02] Production.INFO: ==2204== Lock acquired, processing the job...
[2025-02-09 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:46:03] Production.INFO: ==2204== Releasing lock...
[2025-02-09 07:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:46:03] Production.INFO: ==2208== Lock acquired, processing the job...
[2025-02-09 07:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:46:03] Production.INFO: ==2210== Lock acquired, processing the job...
[2025-02-09 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:46:03] Production.INFO: ==2214== Lock acquired, processing the job...
[2025-02-09 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:46:04] Production.INFO: Account Balance Start.
[2025-02-09 07:46:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:46:04] Production.INFO: 117
[2025-02-09 07:46:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:46:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:46:04] Production.INFO: ==2212== Lock acquired, processing the job...
[2025-02-09 07:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:46:04] Production.INFO: Total Charge 0
[2025-02-09 07:46:04] Production.INFO: CreateAllLog End
[2025-02-09 07:46:04] Production.INFO: ==2216== Lock acquired, processing the job...
[2025-02-09 07:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:46:04] Production.INFO: ==2218== Lock acquired, processing the job...
[2025-02-09 07:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:46:04] Production.INFO: ==2210== Releasing lock...
[2025-02-09 07:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:46:04] Production.INFO: Account Balance End.
[2025-02-09 07:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:46:04] Production.INFO: count ==21
[2025-02-09 07:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:46:04] Production.INFO: count ==21
[2025-02-09 07:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435618') start
[2025-02-09 07:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:46:04] Production.INFO: ==2214== Releasing lock...
[2025-02-09 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435618') end
[2025-02-09 07:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:46:04] Production.INFO: 1
[2025-02-09 07:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:46:04] Production.INFO: ==2218== Releasing lock...
[2025-02-09 07:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:46:04] Production.ERROR: done
[2025-02-09 07:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:46:05] Production.ERROR: done
[2025-02-09 07:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:46:06
[end_date_ymd] => 2025-02-09 07:46:06
[RateCDR] => 1
)
[2025-02-09 07:46: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-02-09 04:46:06' and `end` < '2025-02-09 07:46: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-02-09 07:46:11] Production.ERROR: CronJobId end10
[2025-02-09 07:46:11] Production.INFO: ==2212== Releasing lock...
[2025-02-09 07:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:46:14] Production.INFO: call_cost start
[2025-02-09 07:46:14] Production.INFO: call_cost end
[2025-02-09 07:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:46:15] Production.INFO: ==2208== Releasing lock...
[2025-02-09 07:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:46:19] Production.INFO: count ==160
[2025-02-09 07:46:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:46:06 - End Time 2025-02-09 07:46:06
[2025-02-09 07:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435619', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435619', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435619', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435619', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:46:19] Production.INFO: ProcessCDR(1,14435619,1,1,2)
[2025-02-09 07:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435619', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435619', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:46:22] Production.INFO: ==2216== Releasing lock...
[2025-02-09 07:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:46:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:47:01] Production.INFO: ==2291== Lock acquired, processing the job...
[2025-02-09 12:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:47:01] Production.INFO: neon service started
[2025-02-09 12:47:01] Production.INFO: neon service started
[2025-02-09 12:47:01] Production.INFO: ==2291== Releasing lock...
[2025-02-09 12:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:47:02] Production.INFO: ==2293== Lock acquired, processing the job...
[2025-02-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:47:02] Production.INFO: ==2295== Lock acquired, processing the job...
[2025-02-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:47:02] Production.INFO: ==2293== Releasing lock...
[2025-02-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:47:02] Production.INFO: ==2295== Releasing lock...
[2025-02-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:47:03] Production.INFO: ==2298== Lock acquired, processing the job...
[2025-02-09 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:47:03] Production.INFO: ==2300== Lock acquired, processing the job...
[2025-02-09 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:47:03] Production.INFO: ==2302== Lock acquired, processing the job...
[2025-02-09 07:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:47:03] Production.INFO: ==2304== Lock acquired, processing the job...
[2025-02-09 07:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:47:03] Production.INFO: ==2306== Lock acquired, processing the job...
[2025-02-09 07:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:47:03] Production.INFO: ==2308== Lock acquired, processing the job...
[2025-02-09 07:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:47:03] Production.INFO: Account Balance Start.
[2025-02-09 07:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:47:03] Production.INFO: 117
[2025-02-09 07:47:03] Production.INFO: ==2300== Releasing lock...
[2025-02-09 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:47:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:47:04] Production.INFO: Total Charge 0
[2025-02-09 07:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:47:04] Production.INFO: CreateAllLog End
[2025-02-09 07:47:04] Production.INFO: count ==21
[2025-02-09 07:47:04] Production.ERROR: done
[2025-02-09 07:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:47:04] Production.INFO: count ==21
[2025-02-09 07:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435623') start
[2025-02-09 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435623') end
[2025-02-09 07:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:47:04] Production.INFO: 1
[2025-02-09 07:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:47:04] Production.ERROR: done
[2025-02-09 07:47:04] Production.INFO: ==2308== Releasing lock...
[2025-02-09 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:47:04] Production.INFO: Account Balance End.
[2025-02-09 07:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:47:04] Production.INFO: ==2304== Releasing lock...
[2025-02-09 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:47:05
[end_date_ymd] => 2025-02-09 07:47:05
[RateCDR] => 1
)
[2025-02-09 07:47: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` >= '2025-02-09 04:47:05' and `end` < '2025-02-09 07:47: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 ,'')
[2025-02-09 07:47:11] Production.ERROR: CronJobId end10
[2025-02-09 07:47:11] Production.INFO: ==2302== Releasing lock...
[2025-02-09 07:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:47:14] Production.INFO: call_cost start
[2025-02-09 07:47:14] Production.INFO: call_cost end
[2025-02-09 07:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:47:15] Production.INFO: ==2298== Releasing lock...
[2025-02-09 07:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:47:18] Production.INFO: count ==160
[2025-02-09 07:47:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:47:05 - End Time 2025-02-09 07:47:05
[2025-02-09 07:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435624', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435624', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435624', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435624', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:47:18] Production.INFO: ProcessCDR(1,14435624,1,1,2)
[2025-02-09 07:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435624', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435624', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:47:21] Production.INFO: ==2306== Releasing lock...
[2025-02-09 07:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:47:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:48:02] Production.INFO: ==2379== Lock acquired, processing the job...
[2025-02-09 12:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:48:02] Production.INFO: neon service started
[2025-02-09 12:48:02] Production.INFO: neon service started
[2025-02-09 12:48:02] Production.INFO: ==2379== Releasing lock...
[2025-02-09 12:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:48:02] Production.INFO: ==2381== Lock acquired, processing the job...
[2025-02-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:48:02] Production.INFO: ==2381== Releasing lock...
[2025-02-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:48:03] Production.INFO: ==2383== Lock acquired, processing the job...
[2025-02-09 12:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:48:03] Production.INFO: ==2383== Releasing lock...
[2025-02-09 12:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:48:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:48:03] Production.INFO: ==2398== Lock acquired, processing the job...
[2025-02-09 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:48:03] Production.INFO: ==2396== Lock acquired, processing the job...
[2025-02-09 07:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:48:04] Production.INFO: ==2388== Lock acquired, processing the job...
[2025-02-09 07:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:48:04] Production.INFO: ==2390== Lock acquired, processing the job...
[2025-02-09 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:48:04] Production.INFO: count ==21
[2025-02-09 07:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:48:04] Production.INFO: count ==21
[2025-02-09 07:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435625') start
[2025-02-09 07:48:04] Production.INFO: ==2394== Lock acquired, processing the job...
[2025-02-09 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:48:04] Production.INFO: ==2392== Lock acquired, processing the job...
[2025-02-09 07:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:48:04] Production.INFO: Account Balance Start.
[2025-02-09 07:48:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435625') end
[2025-02-09 07:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:48:04] Production.INFO: 1
[2025-02-09 07:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:48:04] Production.INFO: 117
[2025-02-09 07:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:48:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:48:04] Production.INFO: ==2398== Releasing lock...
[2025-02-09 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:48:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:48:04] Production.ERROR: done
[2025-02-09 07:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:48:04] Production.INFO: Total Charge 0
[2025-02-09 07:48:04] Production.INFO: ==2390== Releasing lock...
[2025-02-09 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:48:04] Production.INFO: CreateAllLog End
[2025-02-09 07:48:04] Production.ERROR: done
[2025-02-09 07:48:04] Production.INFO: Account Balance End.
[2025-02-09 07:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:48:04] Production.INFO: ==2394== Releasing lock...
[2025-02-09 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:48:05
[end_date_ymd] => 2025-02-09 07:48:05
[RateCDR] => 1
)
[2025-02-09 07:48: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` >= '2025-02-09 04:48:05' and `end` < '2025-02-09 07:48: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 ,'')
[2025-02-09 07:48:12] Production.ERROR: CronJobId end10
[2025-02-09 07:48:12] Production.INFO: ==2392== Releasing lock...
[2025-02-09 07:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:48:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:48:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:48:14] Production.INFO: call_cost start
[2025-02-09 07:48:14] Production.INFO: call_cost end
[2025-02-09 07:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:48:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:48:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:48:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:48:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:48:15] Production.INFO: ==2388== Releasing lock...
[2025-02-09 07:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:48:19] Production.INFO: count ==160
[2025-02-09 07:48:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:48:05 - End Time 2025-02-09 07:48:05
[2025-02-09 07:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435629', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435629', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435629', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435629', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:48:19] Production.INFO: ProcessCDR(1,14435629,1,1,2)
[2025-02-09 07:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435629', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435629', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:48:22] Production.INFO: ==2396== Releasing lock...
[2025-02-09 07:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:48:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:49:01] Production.INFO: ==2468== Lock acquired, processing the job...
[2025-02-09 12:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:49:01] Production.INFO: neon service started
[2025-02-09 12:49:01] Production.INFO: neon service started
[2025-02-09 12:49:01] Production.INFO: ==2468== Releasing lock...
[2025-02-09 12:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:49:02] Production.INFO: ==2470== Lock acquired, processing the job...
[2025-02-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:49:02] Production.INFO: ==2470== Releasing lock...
[2025-02-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:49:02] Production.INFO: ==2472== Lock acquired, processing the job...
[2025-02-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:49:02] Production.INFO: ==2472== Releasing lock...
[2025-02-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:49:03] Production.INFO: ==2476== Lock acquired, processing the job...
[2025-02-09 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:49:03] Production.INFO: ==2474== Lock acquired, processing the job...
[2025-02-09 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:49:03] Production.INFO: ==2478== Lock acquired, processing the job...
[2025-02-09 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:49:03] Production.INFO: ==2480== Lock acquired, processing the job...
[2025-02-09 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:49:03] Production.INFO: ==2482== Lock acquired, processing the job...
[2025-02-09 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:49:03] Production.INFO: ==2485== Lock acquired, processing the job...
[2025-02-09 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:49:03] Production.INFO: Account Balance Start.
[2025-02-09 07:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:49:03] Production.INFO: 117
[2025-02-09 07:49:03] Production.INFO: ==2476== Releasing lock...
[2025-02-09 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:49:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:49:03] Production.INFO: count ==21
[2025-02-09 07:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:49:03] Production.INFO: Total Charge 0
[2025-02-09 07:49:03] Production.ERROR: done
[2025-02-09 07:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:49:03] Production.INFO: count ==21
[2025-02-09 07:49:03] Production.INFO: CreateAllLog End
[2025-02-09 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435633') start
[2025-02-09 07:49:04] Production.ERROR: done
[2025-02-09 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435633') end
[2025-02-09 07:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:49:04] Production.INFO: 1
[2025-02-09 07:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:49:04] Production.INFO: Account Balance End.
[2025-02-09 07:49:04] Production.INFO: ==2485== Releasing lock...
[2025-02-09 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:49:04] Production.INFO: ==2480== Releasing lock...
[2025-02-09 07:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:49:04
[end_date_ymd] => 2025-02-09 07:49:04
[RateCDR] => 1
)
[2025-02-09 07:49:04] 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-02-09 04:49:04' and `end` < '2025-02-09 07:49:04'
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-02-09 07:49:11] Production.ERROR: CronJobId end10
[2025-02-09 07:49:11] Production.INFO: ==2478== Releasing lock...
[2025-02-09 07:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:49:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:49:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:49:14] Production.INFO: call_cost start
[2025-02-09 07:49:14] Production.INFO: call_cost end
[2025-02-09 07:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:49:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:49:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:49:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:49:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:49:15] Production.INFO: ==2474== Releasing lock...
[2025-02-09 07:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:49:17] Production.INFO: count ==160
[2025-02-09 07:49:17] Production.ERROR: pbx CDR StartTime 2025-02-09 04:49:04 - End Time 2025-02-09 07:49:04
[2025-02-09 07:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435634', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435634', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435634', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435634', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:49:17] Production.INFO: ProcessCDR(1,14435634,1,1,2)
[2025-02-09 07:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435634', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435634', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:49:20] Production.INFO: ==2482== Releasing lock...
[2025-02-09 07:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:49:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:50:02] Production.INFO: ==2601== Lock acquired, processing the job...
[2025-02-09 12:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:50:02] Production.INFO: neon service started
[2025-02-09 12:50:02] Production.INFO: neon service started
[2025-02-09 12:50:02] Production.INFO: ==2601== Releasing lock...
[2025-02-09 12:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:50:02] Production.INFO: ==2603== Lock acquired, processing the job...
[2025-02-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:50:02] Production.INFO: ==2605== Lock acquired, processing the job...
[2025-02-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:50:02] Production.INFO: ==2603== Releasing lock...
[2025-02-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:50:03] Production.INFO: ==2605== Releasing lock...
[2025-02-09 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:50:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:50:03] Production.INFO: ==2607== Lock acquired, processing the job...
[2025-02-09 07:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 07:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 07:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 07:50:03] Production.INFO: ==2607== Releasing lock...
[2025-02-09 07:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 07:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 07:50:03] Production.INFO: ==2609== Lock acquired, processing the job...
[2025-02-09 07:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:50:04] Production.INFO: ==2614== Lock acquired, processing the job...
[2025-02-09 07:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:50:04] Production.INFO: ==2616== Lock acquired, processing the job...
[2025-02-09 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:50:04] Production.INFO: Account Balance Start.
[2025-02-09 07:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:50:04] Production.INFO: 117
[2025-02-09 07:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:50:04] Production.INFO: Total Charge 0
[2025-02-09 07:50:04] Production.INFO: ==2611== Lock acquired, processing the job...
[2025-02-09 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:50:04] Production.INFO: CreateAllLog End
[2025-02-09 07:50:04] Production.INFO: ==2621== Lock acquired, processing the job...
[2025-02-09 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 07:50:04] Production.INFO: ==2619== Lock acquired, processing the job...
[2025-02-09 07:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:50:04] Production.INFO: Account Balance End.
[2025-02-09 07:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:50:04] Production.INFO: ==2616== Releasing lock...
[2025-02-09 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:50:04] Production.INFO: ==2624== Lock acquired, processing the job...
[2025-02-09 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:50:04] Production.INFO: count ==21
[2025-02-09 07:50:04] Production.INFO: ==2611== Releasing lock...
[2025-02-09 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:50:04] Production.INFO: count ==21
[2025-02-09 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435638') start
[2025-02-09 07:50:05] Production.ERROR: done
[2025-02-09 07:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:50:05] Production.ERROR: done
[2025-02-09 07:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14435638') end
[2025-02-09 07:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:50:05] Production.INFO: 1
[2025-02-09 07:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 07:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435639', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 07:50:05] Production.ERROR: done
[2025-02-09 07:50:05] Production.INFO: ==2624== Releasing lock...
[2025-02-09 07:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:50:06
[end_date_ymd] => 2025-02-09 07:50:06
[RateCDR] => 1
)
[2025-02-09 07:50: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-02-09 04:50:06' and `end` < '2025-02-09 07:50: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-02-09 07:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435639', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 07:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 07:50:09] Production.INFO: ProcessCDR(1,14435639,1,1,2)
[2025-02-09 07:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435639,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435639,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:50:09] Production.INFO: ==2621== Releasing lock...
[2025-02-09 07:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 07:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 07:50:14] Production.ERROR: CronJobId end10
[2025-02-09 07:50:14] Production.INFO: ==2614== Releasing lock...
[2025-02-09 07:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:50:16] Production.INFO: call_cost start
[2025-02-09 07:50:16] Production.INFO: call_cost end
[2025-02-09 07:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:50:17] Production.INFO: ==2609== Releasing lock...
[2025-02-09 07:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:50:19] Production.INFO: count ==161
[2025-02-09 07:50:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:50:06 - End Time 2025-02-09 07:50:06
[2025-02-09 07:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435640', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435640', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435640', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435640', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:50:19] Production.INFO: ProcessCDR(1,14435640,1,1,2)
[2025-02-09 07:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435640', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435640', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:50:24] Production.INFO: ==2619== Releasing lock...
[2025-02-09 07:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:50:24] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:51:01] Production.INFO: ==2696== Lock acquired, processing the job...
[2025-02-09 12:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:51:01] Production.INFO: neon service started
[2025-02-09 12:51:01] Production.INFO: neon service started
[2025-02-09 12:51:01] Production.INFO: ==2696== Releasing lock...
[2025-02-09 12:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:51:01] Production.INFO: ==2698== Lock acquired, processing the job...
[2025-02-09 07:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:51:02] Production.INFO: ==2698== Releasing lock...
[2025-02-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:51:02] Production.INFO: ==2700== Lock acquired, processing the job...
[2025-02-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:51:02] Production.INFO: ==2700== Releasing lock...
[2025-02-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:51:03] Production.INFO: ==2702== Lock acquired, processing the job...
[2025-02-09 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:51:03] Production.INFO: ==2713== Lock acquired, processing the job...
[2025-02-09 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:51:03] Production.INFO: ==2711== Lock acquired, processing the job...
[2025-02-09 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:51:03] Production.INFO: ==2704== Lock acquired, processing the job...
[2025-02-09 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:51:03] Production.INFO: ==2706== Lock acquired, processing the job...
[2025-02-09 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:51:03] Production.INFO: ==2709== Lock acquired, processing the job...
[2025-02-09 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:51:03] Production.INFO: count ==21
[2025-02-09 07:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:51:03] Production.INFO: count ==21
[2025-02-09 07:51:03] Production.INFO: Account Balance Start.
[2025-02-09 07:51:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:51:03] Production.INFO: 117
[2025-02-09 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435641') start
[2025-02-09 07:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:51:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435641') end
[2025-02-09 07:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:51:03] Production.INFO: 1
[2025-02-09 07:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:51:03] Production.INFO: ==2713== Releasing lock...
[2025-02-09 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:51:03] Production.ERROR: done
[2025-02-09 07:51:03] Production.INFO: ==2704== Releasing lock...
[2025-02-09 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:51:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:51:03] Production.INFO: Total Charge 0
[2025-02-09 07:51:03] Production.INFO: CreateAllLog End
[2025-02-09 07:51:03] Production.ERROR: done
[2025-02-09 07:51:03] Production.INFO: Account Balance End.
[2025-02-09 07:51:03] Production.ERROR: CronJobId end 12
[2025-02-09 07:51:03] Production.INFO: ==2709== Releasing lock...
[2025-02-09 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:51:04
[end_date_ymd] => 2025-02-09 07:51:04
[RateCDR] => 1
)
[2025-02-09 07:51:04] 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-02-09 04:51:04' and `end` < '2025-02-09 07:51:04'
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-02-09 07:51:11] Production.ERROR: CronJobId end10
[2025-02-09 07:51:11] Production.INFO: ==2706== Releasing lock...
[2025-02-09 07:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:51:14] Production.INFO: call_cost start
[2025-02-09 07:51:14] Production.INFO: call_cost end
[2025-02-09 07:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:51:15] Production.INFO: ==2702== Releasing lock...
[2025-02-09 07:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:51:17] Production.INFO: count ==159
[2025-02-09 07:51:17] Production.ERROR: pbx CDR StartTime 2025-02-09 04:51:04 - End Time 2025-02-09 07:51:04
[2025-02-09 07:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435645', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435645', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435645', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435645', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:51:17] Production.INFO: ProcessCDR(1,14435645,1,1,2)
[2025-02-09 07:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435645', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435645', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:51:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:51:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:51:20] Production.INFO: ==2711== Releasing lock...
[2025-02-09 07:51:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:51:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:52:02] Production.INFO: ==2789== Lock acquired, processing the job...
[2025-02-09 12:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:52:02] Production.INFO: neon service started
[2025-02-09 12:52:02] Production.INFO: neon service started
[2025-02-09 12:52:02] Production.INFO: ==2789== Releasing lock...
[2025-02-09 12:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:52:02] Production.INFO: ==2792== Lock acquired, processing the job...
[2025-02-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:52:02] Production.INFO: ==2792== Releasing lock...
[2025-02-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:52:02] Production.INFO: ==2794== Lock acquired, processing the job...
[2025-02-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:52:03] Production.INFO: ==2794== Releasing lock...
[2025-02-09 12:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:52:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:52:03] Production.INFO: ==2796== Lock acquired, processing the job...
[2025-02-09 07:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:52:03] Production.INFO: ==2798== Lock acquired, processing the job...
[2025-02-09 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:52:03] Production.INFO: ==2800== Lock acquired, processing the job...
[2025-02-09 07:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:52:04] Production.INFO: ==2802== Lock acquired, processing the job...
[2025-02-09 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:52:04] Production.INFO: ==2804== Lock acquired, processing the job...
[2025-02-09 07:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:52:04] Production.INFO: ==2806== Lock acquired, processing the job...
[2025-02-09 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:52:04] Production.INFO: ==2798== Releasing lock...
[2025-02-09 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:52:04] Production.INFO: Account Balance Start.
[2025-02-09 07:52:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:52:04] Production.INFO: 117
[2025-02-09 07:52:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:52:04] Production.INFO: Total Charge 0
[2025-02-09 07:52:04] Production.INFO: CreateAllLog End
[2025-02-09 07:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:52:04] Production.INFO: count ==21
[2025-02-09 07:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:52:04] Production.INFO: count ==21
[2025-02-09 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435649') start
[2025-02-09 07:52:04] Production.ERROR: done
[2025-02-09 07:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:52:04] Production.ERROR: done
[2025-02-09 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435649') end
[2025-02-09 07:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:52:04] Production.INFO: 1
[2025-02-09 07:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:52:04] Production.INFO: ==2806== Releasing lock...
[2025-02-09 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:52:04] Production.INFO: Account Balance End.
[2025-02-09 07:52:05] Production.ERROR: CronJobId end 12
[2025-02-09 07:52:05] Production.INFO: ==2802== Releasing lock...
[2025-02-09 07:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:52:06
[end_date_ymd] => 2025-02-09 07:52:06
[RateCDR] => 1
)
[2025-02-09 07:52: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-02-09 04:52:06' and `end` < '2025-02-09 07:52: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-02-09 07:52:12] Production.ERROR: CronJobId end10
[2025-02-09 07:52:12] Production.INFO: ==2800== Releasing lock...
[2025-02-09 07:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:52:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:52:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:52:15] Production.INFO: call_cost start
[2025-02-09 07:52:15] Production.INFO: call_cost end
[2025-02-09 07:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:52:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:52:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:52:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:52:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:52:16] Production.INFO: ==2796== Releasing lock...
[2025-02-09 07:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:52:19] Production.INFO: count ==159
[2025-02-09 07:52:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:52:06 - End Time 2025-02-09 07:52:06
[2025-02-09 07:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435650', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435650', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435650', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435650', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:52:19] Production.INFO: ProcessCDR(1,14435650,1,1,2)
[2025-02-09 07:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435650', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435650', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:52:22] Production.INFO: ==2804== Releasing lock...
[2025-02-09 07:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:52:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:53:01] Production.INFO: ==2883== Lock acquired, processing the job...
[2025-02-09 12:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:53:01] Production.INFO: neon service started
[2025-02-09 12:53:01] Production.INFO: neon service started
[2025-02-09 12:53:01] Production.INFO: ==2883== Releasing lock...
[2025-02-09 12:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:53:01] Production.INFO: ==2885== Lock acquired, processing the job...
[2025-02-09 07:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:53:02] Production.INFO: ==2887== Lock acquired, processing the job...
[2025-02-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 07:53:02] Production.INFO: ==2885== Releasing lock...
[2025-02-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:53:02] Production.INFO: ==2887== Releasing lock...
[2025-02-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:53:02] Production.INFO: ==2889== Lock acquired, processing the job...
[2025-02-09 07:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:53:03] Production.INFO: ==2898== Lock acquired, processing the job...
[2025-02-09 07:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:53:03] Production.INFO: ==2894== Lock acquired, processing the job...
[2025-02-09 07:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:53:03] Production.INFO: ==2891== Lock acquired, processing the job...
[2025-02-09 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:53:03] Production.INFO: ==2896== Lock acquired, processing the job...
[2025-02-09 07:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:53:03] Production.INFO: ==2900== Lock acquired, processing the job...
[2025-02-09 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:53:03] Production.INFO: Account Balance Start.
[2025-02-09 07:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:53:03] Production.INFO: 117
[2025-02-09 07:53:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:53:03] Production.INFO: count ==21
[2025-02-09 07:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:53:03] Production.INFO: count ==21
[2025-02-09 07:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435654') start
[2025-02-09 07:53:03] Production.ERROR: done
[2025-02-09 07:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:53:03] Production.INFO: ==2891== Releasing lock...
[2025-02-09 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:53:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435654') end
[2025-02-09 07:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:53:03] Production.INFO: 1
[2025-02-09 07:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:53:03] Production.ERROR: done
[2025-02-09 07:53:03] Production.INFO: Total Charge 0
[2025-02-09 07:53:03] Production.INFO: CreateAllLog End
[2025-02-09 07:53:03] Production.INFO: ==2900== Releasing lock...
[2025-02-09 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:53:03] Production.INFO: Account Balance End.
[2025-02-09 07:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:53:04] Production.INFO: ==2896== Releasing lock...
[2025-02-09 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:53:04
[end_date_ymd] => 2025-02-09 07:53:04
[RateCDR] => 1
)
[2025-02-09 07:53:04] 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-02-09 04:53:04' and `end` < '2025-02-09 07:53:04'
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-02-09 07:53:12] Production.ERROR: CronJobId end10
[2025-02-09 07:53:12] Production.INFO: ==2894== Releasing lock...
[2025-02-09 07:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:53:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:53:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:53:15] Production.INFO: call_cost start
[2025-02-09 07:53:15] Production.INFO: call_cost end
[2025-02-09 07:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:53:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:53:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:53:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:53:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:53:16] Production.INFO: ==2889== Releasing lock...
[2025-02-09 07:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:53:18] Production.INFO: count ==159
[2025-02-09 07:53:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:53:04 - End Time 2025-02-09 07:53:04
[2025-02-09 07:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435655', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435655', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435655', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435655', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:53:18] Production.INFO: ProcessCDR(1,14435655,1,1,2)
[2025-02-09 07:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435655', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435655', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:53:21] Production.INFO: ==2898== Releasing lock...
[2025-02-09 07:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:53:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:54:02] Production.INFO: ==2982== Lock acquired, processing the job...
[2025-02-09 12:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:54:02] Production.INFO: neon service started
[2025-02-09 12:54:02] Production.INFO: neon service started
[2025-02-09 12:54:02] Production.INFO: ==2982== Releasing lock...
[2025-02-09 12:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:54:02] Production.INFO: ==2987== Lock acquired, processing the job...
[2025-02-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:54:02] Production.INFO: ==2987== Releasing lock...
[2025-02-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:54:02] Production.INFO: ==2985== Lock acquired, processing the job...
[2025-02-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:54:02] Production.INFO: ==2985== Releasing lock...
[2025-02-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:54:03] Production.INFO: ==2989== Lock acquired, processing the job...
[2025-02-09 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:54:03] Production.INFO: ==2995== Lock acquired, processing the job...
[2025-02-09 07:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:54:03] Production.INFO: ==2997== Lock acquired, processing the job...
[2025-02-09 07:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:54:03] Production.INFO: ==2991== Lock acquired, processing the job...
[2025-02-09 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:54:03] Production.INFO: Account Balance Start.
[2025-02-09 07:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:54:03] Production.INFO: 117
[2025-02-09 07:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:54:03] Production.INFO: ==2993== Lock acquired, processing the job...
[2025-02-09 07:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:54:04] Production.INFO: ==2999== Lock acquired, processing the job...
[2025-02-09 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:54:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:54:04] Production.INFO: count ==21
[2025-02-09 07:54:04] Production.INFO: Total Charge 0
[2025-02-09 07:54:04] Production.ERROR: done
[2025-02-09 07:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:54:04] Production.INFO: ==2991== Releasing lock...
[2025-02-09 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:54:04] Production.INFO: count ==21
[2025-02-09 07:54:04] Production.INFO: CreateAllLog End
[2025-02-09 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435659') start
[2025-02-09 07:54:04] Production.ERROR: done
[2025-02-09 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435659') end
[2025-02-09 07:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:54:04] Production.INFO: 1
[2025-02-09 07:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:54:04] Production.INFO: ==2999== Releasing lock...
[2025-02-09 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:54:04] Production.INFO: Account Balance End.
[2025-02-09 07:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:54:04] Production.INFO: ==2995== Releasing lock...
[2025-02-09 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:54:05
[end_date_ymd] => 2025-02-09 07:54:05
[RateCDR] => 1
)
[2025-02-09 07:54: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` >= '2025-02-09 04:54:05' and `end` < '2025-02-09 07:54: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 ,'')
[2025-02-09 07:54:12] Production.ERROR: CronJobId end10
[2025-02-09 07:54:12] Production.INFO: ==2993== Releasing lock...
[2025-02-09 07:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:54:14] Production.INFO: call_cost start
[2025-02-09 07:54:14] Production.INFO: call_cost end
[2025-02-09 07:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:54:15] Production.INFO: ==2989== Releasing lock...
[2025-02-09 07:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:54:18] Production.INFO: count ==159
[2025-02-09 07:54:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:54:05 - End Time 2025-02-09 07:54:05
[2025-02-09 07:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435660', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435660', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435660', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435660', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:54:18] Production.INFO: ProcessCDR(1,14435660,1,1,2)
[2025-02-09 07:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435660', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435660', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:54:21] Production.INFO: ==2997== Releasing lock...
[2025-02-09 07:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:55:01] Production.INFO: ==3077== Lock acquired, processing the job...
[2025-02-09 12:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:55:01] Production.INFO: neon service started
[2025-02-09 12:55:01] Production.INFO: neon service started
[2025-02-09 12:55:01] Production.INFO: ==3077== Releasing lock...
[2025-02-09 12:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:55:02] Production.INFO: ==3079== Lock acquired, processing the job...
[2025-02-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:55:02] Production.INFO: ==3081== Lock acquired, processing the job...
[2025-02-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:55:02] Production.INFO: ==3081== Releasing lock...
[2025-02-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:55:02] Production.INFO: ==3079== Releasing lock...
[2025-02-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:55:03] Production.INFO: ==3085== Lock acquired, processing the job...
[2025-02-09 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:55:03] Production.INFO: ==3091== Lock acquired, processing the job...
[2025-02-09 07:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:55:03] Production.INFO: ==3093== Lock acquired, processing the job...
[2025-02-09 07:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:55:03] Production.INFO: Account Balance Start.
[2025-02-09 07:55:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:55:03] Production.INFO: 117
[2025-02-09 07:55:03] Production.INFO: ==3087== Lock acquired, processing the job...
[2025-02-09 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:55:03] Production.INFO: ==3089== Lock acquired, processing the job...
[2025-02-09 07:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:55:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:55:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:55:03] Production.INFO: Total Charge 0
[2025-02-09 07:55:03] Production.INFO: ==3095== Lock acquired, processing the job...
[2025-02-09 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:55:03] Production.INFO: CreateAllLog End
[2025-02-09 07:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:55:04] Production.ERROR: done
[2025-02-09 07:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:55:04] Production.INFO: count ==21
[2025-02-09 07:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:55:04] Production.INFO: count ==21
[2025-02-09 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435664') start
[2025-02-09 07:55:04] Production.INFO: ==3087== Releasing lock...
[2025-02-09 07:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:55:04] Production.INFO: Account Balance End.
[2025-02-09 07:55:04] Production.ERROR: done
[2025-02-09 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435664') end
[2025-02-09 07:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:55:04] Production.INFO: 1
[2025-02-09 07:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:55:04] Production.INFO: ==3091== Releasing lock...
[2025-02-09 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:55:04] Production.INFO: ==3095== Releasing lock...
[2025-02-09 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:55:05
[end_date_ymd] => 2025-02-09 07:55:05
[RateCDR] => 1
)
[2025-02-09 07:55: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` >= '2025-02-09 04:55:05' and `end` < '2025-02-09 07:55: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 ,'')
[2025-02-09 07:55:11] Production.ERROR: CronJobId end10
[2025-02-09 07:55:11] Production.INFO: ==3089== Releasing lock...
[2025-02-09 07:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:55:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:55:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:55:14] Production.INFO: call_cost start
[2025-02-09 07:55:14] Production.INFO: call_cost end
[2025-02-09 07:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:55:15] Production.INFO: ==3085== Releasing lock...
[2025-02-09 07:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:55:18] Production.INFO: count ==159
[2025-02-09 07:55:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:55:05 - End Time 2025-02-09 07:55:05
[2025-02-09 07:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435665', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435665', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435665', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435665', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:55:18] Production.INFO: ProcessCDR(1,14435665,1,1,2)
[2025-02-09 07:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435665', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435665', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:55:21] Production.INFO: ==3093== Releasing lock...
[2025-02-09 07:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:56:02] Production.INFO: ==3170== Lock acquired, processing the job...
[2025-02-09 12:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:56:02] Production.INFO: neon service started
[2025-02-09 12:56:02] Production.INFO: neon service started
[2025-02-09 12:56:02] Production.INFO: ==3170== Releasing lock...
[2025-02-09 12:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:56:02] Production.INFO: ==3173== Lock acquired, processing the job...
[2025-02-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:56:02] Production.INFO: ==3173== Releasing lock...
[2025-02-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:56:02] Production.INFO: ==3175== Lock acquired, processing the job...
[2025-02-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:56:02] Production.INFO: ==3175== Releasing lock...
[2025-02-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:56:03] Production.INFO: ==3181== Lock acquired, processing the job...
[2025-02-09 07:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:56:03] Production.INFO: ==3179== Lock acquired, processing the job...
[2025-02-09 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:56:03] Production.INFO: ==3177== Lock acquired, processing the job...
[2025-02-09 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:56:04] Production.INFO: ==3183== Lock acquired, processing the job...
[2025-02-09 07:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:56:04] Production.INFO: ==3185== Lock acquired, processing the job...
[2025-02-09 07:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:56:04] Production.INFO: ==3187== Lock acquired, processing the job...
[2025-02-09 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:56:04] Production.INFO: Account Balance Start.
[2025-02-09 07:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 07:56:04] Production.INFO: 117
[2025-02-09 07:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 07:56:04] Production.INFO: ==3179== Releasing lock...
[2025-02-09 07:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 07:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 07:56:04] Production.INFO: Total Charge 0
[2025-02-09 07:56:04] Production.INFO: count ==21
[2025-02-09 07:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:56:04] Production.INFO: count ==21
[2025-02-09 07:56:04] Production.INFO: CreateAllLog End
[2025-02-09 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435669') start
[2025-02-09 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435669') end
[2025-02-09 07:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:56:04] Production.INFO: 1
[2025-02-09 07:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:56:04] Production.INFO: ==3187== Releasing lock...
[2025-02-09 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:56:04] Production.ERROR: done
[2025-02-09 07:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:56:04] Production.INFO: Account Balance End.
[2025-02-09 07:56:04] Production.ERROR: done
[2025-02-09 07:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:56:04] Production.INFO: ==3183== Releasing lock...
[2025-02-09 07:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:56:05
[end_date_ymd] => 2025-02-09 07:56:05
[RateCDR] => 1
)
[2025-02-09 07:56: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` >= '2025-02-09 04:56:05' and `end` < '2025-02-09 07:56: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 ,'')
[2025-02-09 07:56:11] Production.ERROR: CronJobId end10
[2025-02-09 07:56:11] Production.INFO: ==3181== Releasing lock...
[2025-02-09 07:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:56:15] Production.INFO: call_cost start
[2025-02-09 07:56:15] Production.INFO: call_cost end
[2025-02-09 07:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:56:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:56:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:56:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:56:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:56:16] Production.INFO: ==3177== Releasing lock...
[2025-02-09 07:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:56:19] Production.INFO: count ==159
[2025-02-09 07:56:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:56:05 - End Time 2025-02-09 07:56:05
[2025-02-09 07:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435670', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435670', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435670', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435670', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:56:19] Production.INFO: ProcessCDR(1,14435670,1,1,2)
[2025-02-09 07:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435670', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435670', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:56:22] Production.INFO: ==3185== Releasing lock...
[2025-02-09 07:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:56:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:57:01] Production.INFO: ==3267== Lock acquired, processing the job...
[2025-02-09 12:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:57:01] Production.INFO: neon service started
[2025-02-09 12:57:01] Production.INFO: neon service started
[2025-02-09 12:57:01] Production.INFO: ==3267== Releasing lock...
[2025-02-09 12:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:57:01] Production.INFO: ==3271== Lock acquired, processing the job...
[2025-02-09 12:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:57:01] Production.INFO: ==3271== Releasing lock...
[2025-02-09 12:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:57:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:57:01] Production.INFO: ==3269== Lock acquired, processing the job...
[2025-02-09 07:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:57:02] Production.INFO: ==3269== Releasing lock...
[2025-02-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:57:03] Production.INFO: ==3277== Lock acquired, processing the job...
[2025-02-09 07:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:57:03] Production.INFO: ==3273== Lock acquired, processing the job...
[2025-02-09 07:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:57:03] Production.INFO: ==3281== Lock acquired, processing the job...
[2025-02-09 07:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:57:03] Production.INFO: ==3275== Lock acquired, processing the job...
[2025-02-09 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:57:03] Production.INFO: ==3279== Lock acquired, processing the job...
[2025-02-09 07:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:57:03] Production.INFO: ==3284== Lock acquired, processing the job...
[2025-02-09 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:57:03] Production.INFO: ==3275== Releasing lock...
[2025-02-09 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:57:03] Production.INFO: Account Balance Start.
[2025-02-09 07:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:57:03] Production.INFO: 117
[2025-02-09 07:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:57:03] Production.ERROR: done
[2025-02-09 07:57:03] Production.INFO: count ==21
[2025-02-09 07:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:57:03] Production.INFO: count ==21
[2025-02-09 07:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435674') start
[2025-02-09 07:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:57:04] Production.INFO: Total Charge 0
[2025-02-09 07:57:04] Production.INFO: CreateAllLog End
[2025-02-09 07:57:04] Production.ERROR: done
[2025-02-09 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435674') end
[2025-02-09 07:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:57:04] Production.INFO: 1
[2025-02-09 07:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:57:04] Production.INFO: ==3284== Releasing lock...
[2025-02-09 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:57:04] Production.INFO: Account Balance End.
[2025-02-09 07:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:57:04] Production.INFO: ==3279== Releasing lock...
[2025-02-09 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:57:05
[end_date_ymd] => 2025-02-09 07:57:05
[RateCDR] => 1
)
[2025-02-09 07:57: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` >= '2025-02-09 04:57:05' and `end` < '2025-02-09 07:57: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 ,'')
[2025-02-09 07:57:11] Production.ERROR: CronJobId end10
[2025-02-09 07:57:11] Production.INFO: ==3277== Releasing lock...
[2025-02-09 07:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:57:13] Production.INFO: call_cost start
[2025-02-09 07:57:13] Production.INFO: call_cost end
[2025-02-09 07:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:57:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:57:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:57:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:57:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:57:14] Production.INFO: ==3273== Releasing lock...
[2025-02-09 07:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:57:18] Production.INFO: count ==159
[2025-02-09 07:57:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:57:05 - End Time 2025-02-09 07:57:05
[2025-02-09 07:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435675', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435675', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435675', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435675', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:57:18] Production.INFO: ProcessCDR(1,14435675,1,1,2)
[2025-02-09 07:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435675', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435675', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:57:21] Production.INFO: ==3281== Releasing lock...
[2025-02-09 07:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:57:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:58:01] Production.INFO: ==3354== Lock acquired, processing the job...
[2025-02-09 12:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:58:02] Production.INFO: neon service started
[2025-02-09 12:58:02] Production.INFO: neon service started
[2025-02-09 12:58:02] Production.INFO: ==3354== Releasing lock...
[2025-02-09 12:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 07:58:02] Production.INFO: ==3356== Lock acquired, processing the job...
[2025-02-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:58:02] Production.INFO: ==3356== Releasing lock...
[2025-02-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:58:02] Production.INFO: ==3358== Lock acquired, processing the job...
[2025-02-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:58:02] Production.INFO: ==3358== Releasing lock...
[2025-02-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:58:03] Production.INFO: ==3361== Lock acquired, processing the job...
[2025-02-09 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:58:03] Production.INFO: ==3367== Lock acquired, processing the job...
[2025-02-09 07:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:58:03] Production.INFO: ==3365== Lock acquired, processing the job...
[2025-02-09 07:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:58:03] Production.INFO: ==3363== Lock acquired, processing the job...
[2025-02-09 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:58:03] Production.INFO: Account Balance Start.
[2025-02-09 07:58:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:58:03] Production.INFO: 117
[2025-02-09 07:58:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:58:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:58:04] Production.INFO: Total Charge 0
[2025-02-09 07:58:04] Production.INFO: ==3369== Lock acquired, processing the job...
[2025-02-09 07:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:58:04] Production.INFO: CreateAllLog End
[2025-02-09 07:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:58:04] Production.INFO: ==3371== Lock acquired, processing the job...
[2025-02-09 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:58:04] Production.INFO: Account Balance End.
[2025-02-09 07:58:04] Production.INFO: ==3363== Releasing lock...
[2025-02-09 07:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:58:04] Production.INFO: ==3367== Releasing lock...
[2025-02-09 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:58:04] Production.INFO: count ==21
[2025-02-09 07:58:04] Production.ERROR: done
[2025-02-09 07:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:58:04] Production.INFO: count ==21
[2025-02-09 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435679') start
[2025-02-09 07:58:04] Production.ERROR: done
[2025-02-09 07:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435679') end
[2025-02-09 07:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:58:04] Production.INFO: 1
[2025-02-09 07:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:58:04] Production.INFO: ==3371== Releasing lock...
[2025-02-09 07:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:58:05
[end_date_ymd] => 2025-02-09 07:58:05
[RateCDR] => 1
)
[2025-02-09 07:58: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` >= '2025-02-09 04:58:05' and `end` < '2025-02-09 07:58: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 ,'')
[2025-02-09 07:58:13] Production.ERROR: CronJobId end10
[2025-02-09 07:58:13] Production.INFO: ==3365== Releasing lock...
[2025-02-09 07:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:58:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:58:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:58:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:58:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:58:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:58:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:58:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:58:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:58:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:58:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:58:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:58:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:58:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:58:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:58:15] Production.INFO: call_cost start
[2025-02-09 07:58:15] Production.INFO: call_cost end
[2025-02-09 07:58:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:58:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:58:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:58:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:58:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:58:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:58:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:58:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:58:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:58:16] Production.INFO: ==3361== Releasing lock...
[2025-02-09 07:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:58:19] Production.INFO: count ==159
[2025-02-09 07:58:19] Production.ERROR: pbx CDR StartTime 2025-02-09 04:58:05 - End Time 2025-02-09 07:58:05
[2025-02-09 07:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435680', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435680', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435680', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435680', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:58:19] Production.INFO: ProcessCDR(1,14435680,1,1,2)
[2025-02-09 07:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435680', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435680', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:58:22] Production.INFO: ==3369== Releasing lock...
[2025-02-09 07:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:58:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 12:59:01] Production.INFO: ==3465== Lock acquired, processing the job...
[2025-02-09 12:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 12:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 12:59:01] Production.INFO: neon service started
[2025-02-09 12:59:01] Production.INFO: neon service started
[2025-02-09 12:59:01] Production.INFO: ==3465== Releasing lock...
[2025-02-09 12:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 12:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:59:01] Production.INFO: ==3470== Lock acquired, processing the job...
[2025-02-09 12:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:59:01] Production.INFO: ==3470== Releasing lock...
[2025-02-09 12:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 12:59:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 07:59:02] Production.INFO: ==3468== Lock acquired, processing the job...
[2025-02-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 07:59:02] Production.INFO: ==3468== Releasing lock...
[2025-02-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 07:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 07:59:03] Production.INFO: ==3474== Lock acquired, processing the job...
[2025-02-09 07:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 07:59:03] Production.INFO: ==3480== Lock acquired, processing the job...
[2025-02-09 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 07:59:03] Production.INFO: ==3478== Lock acquired, processing the job...
[2025-02-09 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 07:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 07:59:03] Production.INFO: ==3476== Lock acquired, processing the job...
[2025-02-09 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 07:59:03] Production.INFO: Account Balance Start.
[2025-02-09 07:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 07:59:03] Production.INFO: 117
[2025-02-09 07:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 07:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:59:03] Production.INFO: ==3484== Lock acquired, processing the job...
[2025-02-09 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 07:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 07:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 07:59:03] Production.INFO: ==3482== Lock acquired, processing the job...
[2025-02-09 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 07:59:03] Production.INFO: Total Charge 0
[2025-02-09 07:59:03] Production.INFO: CreateAllLog End
[2025-02-09 07:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 07:59:03] Production.INFO: count ==21
[2025-02-09 07:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 07:59:03] Production.INFO: count ==21
[2025-02-09 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435684') start
[2025-02-09 07:59:03] Production.INFO: Account Balance End.
[2025-02-09 07:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 07:59:04] Production.INFO: ==3480== Releasing lock...
[2025-02-09 07:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 07:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435684') end
[2025-02-09 07:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 07:59:04] Production.INFO: 1
[2025-02-09 07:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 07:59:04] Production.INFO: ==3484== Releasing lock...
[2025-02-09 07:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 07:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 07:59:04] Production.ERROR: done
[2025-02-09 07:59:04] Production.INFO: ==3476== Releasing lock...
[2025-02-09 07:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 07:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 07:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 07:59:04] Production.ERROR: done
[2025-02-09 07:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 04:59:05
[end_date_ymd] => 2025-02-09 07:59:05
[RateCDR] => 1
)
[2025-02-09 07:59: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` >= '2025-02-09 04:59:05' and `end` < '2025-02-09 07:59: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 ,'')
[2025-02-09 07:59:11] Production.ERROR: CronJobId end10
[2025-02-09 07:59:11] Production.INFO: ==3478== Releasing lock...
[2025-02-09 07:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 07:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 07:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 07:59:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 07:59:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 07:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 07:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 07:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 07:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 07:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 07:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 07:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 07:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 07:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 07:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 07:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 07:59:14] Production.INFO: call_cost start
[2025-02-09 07:59:14] Production.INFO: call_cost end
[2025-02-09 07:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 07:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 07:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 07:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 07:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 07:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 07:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 07:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 07:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 07:59:15] Production.INFO: ==3474== Releasing lock...
[2025-02-09 07:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 07:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 07:59:18] Production.INFO: count ==160
[2025-02-09 07:59:18] Production.ERROR: pbx CDR StartTime 2025-02-09 04:59:05 - End Time 2025-02-09 07:59:05
[2025-02-09 07:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435685', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435685', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435685', 'tblTempVendorCDR_20' ) start
[2025-02-09 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435685', 'tblTempVendorCDR_20' ) end
[2025-02-09 07:59:18] Production.INFO: ProcessCDR(1,14435685,1,1,2)
[2025-02-09 07:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 07:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 07:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435685', 'tblTempUsageDetail_20' ) start
[2025-02-09 07:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435685', 'tblTempUsageDetail_20' ) end
[2025-02-09 07:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 07:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 07:59:22] Production.INFO: ==3482== Releasing lock...
[2025-02-09 07:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 07:59:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:00:01] Production.INFO: ==3601== Lock acquired, processing the job...
[2025-02-09 13:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:00:01] Production.INFO: neon service started
[2025-02-09 13:00:02] Production.INFO: neon service started
[2025-02-09 13:00:02] Production.INFO: ==3601== Releasing lock...
[2025-02-09 13:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:00:02] Production.INFO: ==3607== Lock acquired, processing the job...
[2025-02-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:00:02] Production.INFO: ==3609== Lock acquired, processing the job...
[2025-02-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:00:02] Production.INFO: ==3607== Releasing lock...
[2025-02-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:00:02] Production.INFO: ==3609== Releasing lock...
[2025-02-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:00:03] Production.INFO: ==3620== Lock acquired, processing the job...
[2025-02-09 08:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:00:04] Production.INFO: ==3624== Lock acquired, processing the job...
[2025-02-09 08:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 08:00:04] Production.INFO: ==3611== Lock acquired, processing the job...
[2025-02-09 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 08:00:04] Production.INFO: Account Balance Start.
[2025-02-09 08:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:00:04] Production.INFO: 117
[2025-02-09 08:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:00:04] Production.INFO: ==3613== Lock acquired, processing the job...
[2025-02-09 08:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:00:04] Production.INFO: ==3626== Lock acquired, processing the job...
[2025-02-09 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:00:04] Production.INFO: ==3616== Lock acquired, processing the job...
[2025-02-09 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 08:00:04] Production.INFO: ==3618== Lock acquired, processing the job...
[2025-02-09 08:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 08:00:04] Production.ERROR: CronJob PID - 3613
[2025-02-09 08:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 08:00:04] Production.ERROR: CronJob ID - 5
[2025-02-09 08:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 08:00:00
[2025-02-09 08:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 08:00:04] Production.ERROR: CronJob PID - 3620
[2025-02-09 08:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 08:00:04] Production.ERROR: CronJob ID - 12
[2025-02-09 08:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 08:00:00
[2025-02-09 08:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 08:00:04] Production.ERROR: CronJob PID - 3624
[2025-02-09 08:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-09 08:00:04] Production.ERROR: CronJob ID - 17
[2025-02-09 08:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 08:00:00
[2025-02-09 08:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 08:00:04] Production.ERROR: CronJob PID - 3626
[2025-02-09 08:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 08:00:04] Production.ERROR: CronJob ID - 19
[2025-02-09 08:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 08:00:00
[2025-02-09 08:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 08:00:04] Production.INFO: Total Charge 0
[2025-02-09 08:00:04] Production.INFO: ==3622== Lock acquired, processing the job...
[2025-02-09 08:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:00:04] Production.INFO: CreateAllLog End
[2025-02-09 08:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 08:00:04] Production.INFO: ==3611== Releasing lock...
[2025-02-09 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 08:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:00:04] Production.INFO: count ==21
[2025-02-09 08:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:00:04] Production.INFO: count ==21
[2025-02-09 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435688') start
[2025-02-09 08:00:04] Production.INFO: Account Balance End.
[2025-02-09 08:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435688') end
[2025-02-09 08:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:00:04] Production.INFO: 1
[2025-02-09 08:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:00:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:00:04] Production.INFO: ==3620== Releasing lock...
[2025-02-09 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:00:04] Production.ERROR: done
[2025-02-09 08:00:04] Production.INFO: ==3626== Releasing lock...
[2025-02-09 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:00:04] Production.ERROR: done
[2025-02-09 08:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 08:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435690', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 08:00:04] Production.INFO: ==3616== Releasing lock...
[2025-02-09 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:00:04] Production.ERROR: done
[2025-02-09 08:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:00:05
[end_date_ymd] => 2025-02-09 08:00:05
[RateCDR] => 1
)
[2025-02-09 08:00: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` >= '2025-02-09 05:00:05' and `end` < '2025-02-09 08:00: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 ,'')
[2025-02-09 08:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435690', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 08:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 08:00:09] Production.INFO: ProcessCDR(1,14435690,1,1,2)
[2025-02-09 08:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435690,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435690,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:00:09] Production.INFO: ==3624== Releasing lock...
[2025-02-09 08:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 08:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 08:00:15] Production.ERROR: CronJobId end10
[2025-02-09 08:00:15] Production.INFO: ==3618== Releasing lock...
[2025-02-09 08:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:00:17] Production.INFO: call_cost start
[2025-02-09 08:00:17] Production.INFO: call_cost end
[2025-02-09 08:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:00:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:00:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:00:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:00:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:00:18] Production.INFO: ==3613== Releasing lock...
[2025-02-09 08:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:00:18] Production.INFO: count ==164
[2025-02-09 08:00:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:00:05 - End Time 2025-02-09 08:00:05
[2025-02-09 08:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435691', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435691', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435691', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435691', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:00:18] Production.INFO: ProcessCDR(1,14435691,1,1,2)
[2025-02-09 08:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435691', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435691', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:00:21] Production.INFO: ==3622== Releasing lock...
[2025-02-09 08:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:00:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 13:01:01] Production.INFO: ==3767== Lock acquired, processing the job...
[2025-02-09 13:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:01:01] Production.INFO: neon service started
[2025-02-09 13:01:01] Production.INFO: neon service started
[2025-02-09 13:01:01] Production.INFO: ==3767== Releasing lock...
[2025-02-09 13:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:01:01] Production.INFO: ==3782== Lock acquired, processing the job...
[2025-02-09 13:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:01:01] Production.INFO: ==3782== Releasing lock...
[2025-02-09 13:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:01:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:01:01] Production.INFO: ==3780== Lock acquired, processing the job...
[2025-02-09 08:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:01:02] Production.INFO: ==3780== Releasing lock...
[2025-02-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:01:02] Production.INFO: ==3786== Lock acquired, processing the job...
[2025-02-09 08:01:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:01:03] Production.INFO: ==3788== Lock acquired, processing the job...
[2025-02-09 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:01:03] Production.INFO: ==3793== Lock acquired, processing the job...
[2025-02-09 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:01:03] Production.INFO: Account Balance Start.
[2025-02-09 08:01:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:01:03] Production.INFO: 117
[2025-02-09 08:01:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:01:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:01:03] Production.INFO: ==3791== Lock acquired, processing the job...
[2025-02-09 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:01:03] Production.INFO: Total Charge 0
[2025-02-09 08:01:03] Production.INFO: CreateAllLog End
[2025-02-09 08:01:03] Production.INFO: ==3795== Lock acquired, processing the job...
[2025-02-09 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:01:03] Production.INFO: ==3788== Releasing lock...
[2025-02-09 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:01:03] Production.INFO: ==3797== Lock acquired, processing the job...
[2025-02-09 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:01:03] Production.INFO: Account Balance End.
[2025-02-09 08:01:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:01:03] Production.INFO: ==3793== Releasing lock...
[2025-02-09 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:01:03] Production.INFO: count ==21
[2025-02-09 08:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:01:03] Production.INFO: count ==21
[2025-02-09 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435695') start
[2025-02-09 08:01:03] Production.ERROR: done
[2025-02-09 08:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435695') end
[2025-02-09 08:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:01:03] Production.INFO: 1
[2025-02-09 08:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:01:04] Production.INFO: ==3797== Releasing lock...
[2025-02-09 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:01:04] Production.ERROR: done
[2025-02-09 08:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:01:04
[end_date_ymd] => 2025-02-09 08:01:04
[RateCDR] => 1
)
[2025-02-09 08:01:04] 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-02-09 05:01:04' and `end` < '2025-02-09 08:01:04'
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-02-09 08:01:14] Production.ERROR: CronJobId end10
[2025-02-09 08:01:14] Production.INFO: ==3791== Releasing lock...
[2025-02-09 08:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:01:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:01:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:01:14] Production.INFO: call_cost start
[2025-02-09 08:01:14] Production.INFO: call_cost end
[2025-02-09 08:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:01:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:01:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:01:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:01:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:01:15] Production.INFO: ==3786== Releasing lock...
[2025-02-09 08:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:01:17] Production.INFO: count ==158
[2025-02-09 08:01:17] Production.ERROR: pbx CDR StartTime 2025-02-09 05:01:04 - End Time 2025-02-09 08:01:04
[2025-02-09 08:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435696', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435696', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435696', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435696', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:01:17] Production.INFO: ProcessCDR(1,14435696,1,1,2)
[2025-02-09 08:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435696', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435696', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:01:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:01:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:01:20] Production.INFO: ==3795== Releasing lock...
[2025-02-09 08:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:01:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:02:01] Production.INFO: ==3887== Lock acquired, processing the job...
[2025-02-09 13:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:02:01] Production.INFO: neon service started
[2025-02-09 13:02:01] Production.INFO: neon service started
[2025-02-09 13:02:01] Production.INFO: ==3887== Releasing lock...
[2025-02-09 13:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:02:02] Production.INFO: ==3892== Lock acquired, processing the job...
[2025-02-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:02:02] Production.INFO: ==3892== Releasing lock...
[2025-02-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:02:02] Production.INFO: ==3890== Lock acquired, processing the job...
[2025-02-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:02:02] Production.INFO: ==3890== Releasing lock...
[2025-02-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:02:03] Production.INFO: ==3896== Lock acquired, processing the job...
[2025-02-09 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:02:03] Production.INFO: ==3898== Lock acquired, processing the job...
[2025-02-09 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:02:03] Production.INFO: ==3904== Lock acquired, processing the job...
[2025-02-09 08:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:02:03] Production.INFO: ==3894== Lock acquired, processing the job...
[2025-02-09 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:02:03] Production.INFO: ==3896== Releasing lock...
[2025-02-09 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:02:03] Production.INFO: ==3902== Lock acquired, processing the job...
[2025-02-09 08:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:02:03] Production.INFO: ==3900== Lock acquired, processing the job...
[2025-02-09 08:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:02:03] Production.INFO: count ==21
[2025-02-09 08:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:02:03] Production.INFO: count ==21
[2025-02-09 08:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435698') start
[2025-02-09 08:02:04] Production.INFO: Account Balance Start.
[2025-02-09 08:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:02:04] Production.INFO: 117
[2025-02-09 08:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435698') end
[2025-02-09 08:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:02:04] Production.INFO: 1
[2025-02-09 08:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:02:04] Production.INFO: ==3904== Releasing lock...
[2025-02-09 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:02:04] Production.INFO: Total Charge 0
[2025-02-09 08:02:04] Production.INFO: CreateAllLog End
[2025-02-09 08:02:04] Production.ERROR: done
[2025-02-09 08:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:02:04] Production.ERROR: done
[2025-02-09 08:02:04] Production.INFO: Account Balance End.
[2025-02-09 08:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:02:04] Production.INFO: ==3900== Releasing lock...
[2025-02-09 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:02:05
[end_date_ymd] => 2025-02-09 08:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 05:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 08:02:12] Production.ERROR: CronJobId end10
[2025-02-09 08:02:12] Production.INFO: ==3898== Releasing lock...
[2025-02-09 08:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:02:14] Production.INFO: call_cost start
[2025-02-09 08:02:14] Production.INFO: call_cost end
[2025-02-09 08:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:02:15] Production.INFO: ==3894== Releasing lock...
[2025-02-09 08:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:02:18] Production.INFO: count ==158
[2025-02-09 08:02:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:02:05 - End Time 2025-02-09 08:02:05
[2025-02-09 08:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435701', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435701', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435701', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435701', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:02:18] Production.INFO: ProcessCDR(1,14435701,1,1,2)
[2025-02-09 08:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435701', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435701', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:02:22] Production.INFO: ==3902== Releasing lock...
[2025-02-09 08:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:02:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:03:02] Production.INFO: ==3969== Lock acquired, processing the job...
[2025-02-09 13:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:03:02] Production.INFO: neon service started
[2025-02-09 13:03:02] Production.INFO: neon service started
[2025-02-09 13:03:02] Production.INFO: ==3969== Releasing lock...
[2025-02-09 13:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:03:02] Production.INFO: ==3971== Lock acquired, processing the job...
[2025-02-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:03:02] Production.INFO: ==3971== Releasing lock...
[2025-02-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:03:02] Production.INFO: ==3973== Lock acquired, processing the job...
[2025-02-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:03:02] Production.INFO: ==3973== Releasing lock...
[2025-02-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:03:03] Production.INFO: ==3981== Lock acquired, processing the job...
[2025-02-09 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:03:03] Production.INFO: ==3985== Lock acquired, processing the job...
[2025-02-09 08:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:03:03] Production.INFO: Account Balance Start.
[2025-02-09 08:03:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:03:03] Production.INFO: 117
[2025-02-09 08:03:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:03:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:03:03] Production.INFO: Total Charge 0
[2025-02-09 08:03:03] Production.INFO: count ==21
[2025-02-09 08:03:03] Production.INFO: CreateAllLog End
[2025-02-09 08:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:03:03] Production.INFO: count ==21
[2025-02-09 08:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435703') start
[2025-02-09 08:03:03] Production.INFO: ==3975== Lock acquired, processing the job...
[2025-02-09 08:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:03:04] Production.INFO: ==3979== Lock acquired, processing the job...
[2025-02-09 08:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:03:04] Production.INFO: ==3977== Lock acquired, processing the job...
[2025-02-09 08:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:03:04] Production.INFO: ==3983== Lock acquired, processing the job...
[2025-02-09 08:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435703') end
[2025-02-09 08:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:03:04] Production.INFO: 1
[2025-02-09 08:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:03:04] Production.INFO: Account Balance End.
[2025-02-09 08:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:03:04] Production.INFO: ==3985== Releasing lock...
[2025-02-09 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:03:04] Production.INFO: ==3981== Releasing lock...
[2025-02-09 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:03:04] Production.INFO: ==3977== Releasing lock...
[2025-02-09 08:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:03:04] Production.ERROR: done
[2025-02-09 08:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:03:04] Production.ERROR: done
[2025-02-09 08:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:03:05
[end_date_ymd] => 2025-02-09 08:03:05
[RateCDR] => 1
)
[2025-02-09 08:03: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` >= '2025-02-09 05:03:05' and `end` < '2025-02-09 08:03: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 ,'')
[2025-02-09 08:03:11] Production.ERROR: CronJobId end10
[2025-02-09 08:03:11] Production.INFO: ==3979== Releasing lock...
[2025-02-09 08:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:03:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:03:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:03:15] Production.INFO: call_cost start
[2025-02-09 08:03:15] Production.INFO: call_cost end
[2025-02-09 08:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:03:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:03:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:03:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:03:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:03:15] Production.INFO: ==3975== Releasing lock...
[2025-02-09 08:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:03:18] Production.INFO: count ==158
[2025-02-09 08:03:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:03:05 - End Time 2025-02-09 08:03:05
[2025-02-09 08:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435706', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435706', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435706', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435706', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:03:18] Production.INFO: ProcessCDR(1,14435706,1,1,2)
[2025-02-09 08:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435706', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435706', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:03:21] Production.INFO: ==3983== Releasing lock...
[2025-02-09 08:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:03:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:04:01] Production.INFO: ==4048== Lock acquired, processing the job...
[2025-02-09 13:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:04:01] Production.INFO: neon service started
[2025-02-09 13:04:01] Production.INFO: neon service started
[2025-02-09 13:04:01] Production.INFO: ==4048== Releasing lock...
[2025-02-09 13:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:04:02] Production.INFO: ==4050== Lock acquired, processing the job...
[2025-02-09 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:04:02] Production.INFO: ==4052== Lock acquired, processing the job...
[2025-02-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:04:02] Production.INFO: ==4052== Releasing lock...
[2025-02-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:04:02] Production.INFO: ==4050== Releasing lock...
[2025-02-09 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:04:03] Production.INFO: ==4055== Lock acquired, processing the job...
[2025-02-09 08:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:04:03] Production.INFO: ==4057== Lock acquired, processing the job...
[2025-02-09 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:04:03] Production.INFO: ==4061== Lock acquired, processing the job...
[2025-02-09 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:04:03] Production.INFO: Account Balance Start.
[2025-02-09 08:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:04:03] Production.INFO: 117
[2025-02-09 08:04:03] Production.INFO: ==4059== Lock acquired, processing the job...
[2025-02-09 08:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:04:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:04:04] Production.INFO: ==4063== Lock acquired, processing the job...
[2025-02-09 08:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:04:04] Production.INFO: Total Charge 0
[2025-02-09 08:04:04] Production.INFO: ==4065== Lock acquired, processing the job...
[2025-02-09 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:04:04] Production.INFO: CreateAllLog End
[2025-02-09 08:04:04] Production.INFO: ==4057== Releasing lock...
[2025-02-09 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:04:04] Production.ERROR: done
[2025-02-09 08:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:04:04] Production.INFO: count ==21
[2025-02-09 08:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:04:04] Production.INFO: count ==21
[2025-02-09 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435710') start
[2025-02-09 08:04:04] Production.ERROR: done
[2025-02-09 08:04:04] Production.INFO: Account Balance End.
[2025-02-09 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435710') end
[2025-02-09 08:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:04:04] Production.INFO: 1
[2025-02-09 08:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:04:04] Production.INFO: ==4061== Releasing lock...
[2025-02-09 08:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:04:04] Production.INFO: ==4065== Releasing lock...
[2025-02-09 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:04:05
[end_date_ymd] => 2025-02-09 08:04:05
[RateCDR] => 1
)
[2025-02-09 08:04: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` >= '2025-02-09 05:04:05' and `end` < '2025-02-09 08:04: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 ,'')
[2025-02-09 08:04:12] Production.ERROR: CronJobId end10
[2025-02-09 08:04:12] Production.INFO: ==4059== Releasing lock...
[2025-02-09 08:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:04:14] Production.INFO: call_cost start
[2025-02-09 08:04:14] Production.INFO: call_cost end
[2025-02-09 08:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:04:15] Production.INFO: ==4055== Releasing lock...
[2025-02-09 08:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:04:18] Production.INFO: count ==158
[2025-02-09 08:04:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:04:05 - End Time 2025-02-09 08:04:05
[2025-02-09 08:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435711', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435711', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435711', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435711', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:04:18] Production.INFO: ProcessCDR(1,14435711,1,1,2)
[2025-02-09 08:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435711', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435711', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:04:21] Production.INFO: ==4063== Releasing lock...
[2025-02-09 08:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:04:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:05:02] Production.INFO: ==4137== Lock acquired, processing the job...
[2025-02-09 13:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:05:02] Production.INFO: neon service started
[2025-02-09 13:05:02] Production.INFO: neon service started
[2025-02-09 13:05:02] Production.INFO: ==4137== Releasing lock...
[2025-02-09 13:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:05:02] Production.INFO: ==4139== Lock acquired, processing the job...
[2025-02-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:05:02] Production.INFO: ==4139== Releasing lock...
[2025-02-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:05:03] Production.INFO: ==4141== Lock acquired, processing the job...
[2025-02-09 13:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:05:03] Production.INFO: ==4141== Releasing lock...
[2025-02-09 13:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:05:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:05:03] Production.INFO: ==4161== Lock acquired, processing the job...
[2025-02-09 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:05:03] Production.INFO: ==4168== Lock acquired, processing the job...
[2025-02-09 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:05:03] Production.INFO: ==4175== Lock acquired, processing the job...
[2025-02-09 08:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:05:03] Production.INFO: ==4164== Lock acquired, processing the job...
[2025-02-09 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:05:04] Production.INFO: ==4178== Lock acquired, processing the job...
[2025-02-09 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:05:04] Production.INFO: ==4171== Lock acquired, processing the job...
[2025-02-09 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:05:04] Production.ERROR: done
[2025-02-09 08:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:05:04] Production.INFO: Account Balance Start.
[2025-02-09 08:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:05:04] Production.INFO: 117
[2025-02-09 08:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:05:04] Production.INFO: count ==21
[2025-02-09 08:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:05:04] Production.INFO: count ==21
[2025-02-09 08:05:04] Production.ERROR: done
[2025-02-09 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435714') start
[2025-02-09 08:05:04] Production.INFO: Total Charge 0
[2025-02-09 08:05:04] Production.INFO: CreateAllLog End
[2025-02-09 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435714') end
[2025-02-09 08:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:05:04] Production.INFO: 1
[2025-02-09 08:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:05:04] Production.INFO: ==4164== Releasing lock...
[2025-02-09 08:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:05:04] Production.INFO: ==4178== Releasing lock...
[2025-02-09 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:05:04] Production.INFO: Account Balance End.
[2025-02-09 08:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:05:04] Production.INFO: ==4171== Releasing lock...
[2025-02-09 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:05:05
[end_date_ymd] => 2025-02-09 08:05:05
[RateCDR] => 1
)
[2025-02-09 08:05: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` >= '2025-02-09 05:05:05' and `end` < '2025-02-09 08:05: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 ,'')
[2025-02-09 08:05:12] Production.ERROR: CronJobId end10
[2025-02-09 08:05:12] Production.INFO: ==4168== Releasing lock...
[2025-02-09 08:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:05:14] Production.INFO: call_cost start
[2025-02-09 08:05:14] Production.INFO: call_cost end
[2025-02-09 08:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:05:15] Production.INFO: ==4161== Releasing lock...
[2025-02-09 08:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:05:19] Production.INFO: count ==157
[2025-02-09 08:05:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:05:05 - End Time 2025-02-09 08:05:05
[2025-02-09 08:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435716', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435716', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435716', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435716', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:05:19] Production.INFO: ProcessCDR(1,14435716,1,1,2)
[2025-02-09 08:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435716', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435716', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:05:22] Production.INFO: ==4175== Releasing lock...
[2025-02-09 08:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:05:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:06:01] Production.INFO: ==4256== Lock acquired, processing the job...
[2025-02-09 13:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:06:01] Production.INFO: neon service started
[2025-02-09 13:06:01] Production.INFO: neon service started
[2025-02-09 13:06:01] Production.INFO: ==4256== Releasing lock...
[2025-02-09 13:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:06:01] Production.INFO: ==4261== Lock acquired, processing the job...
[2025-02-09 13:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:06:01] Production.INFO: ==4261== Releasing lock...
[2025-02-09 13:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:06:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:06:02] Production.INFO: ==4259== Lock acquired, processing the job...
[2025-02-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:06:02] Production.INFO: ==4259== Releasing lock...
[2025-02-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:06:03] Production.INFO: ==4263== Lock acquired, processing the job...
[2025-02-09 08:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:06:03] Production.INFO: ==4269== Lock acquired, processing the job...
[2025-02-09 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:06:03] Production.INFO: ==4273== Lock acquired, processing the job...
[2025-02-09 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:06:03] Production.INFO: Account Balance Start.
[2025-02-09 08:06:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:06:03] Production.INFO: 117
[2025-02-09 08:06:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:06:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:06:03] Production.INFO: count ==21
[2025-02-09 08:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:06:03] Production.INFO: count ==21
[2025-02-09 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435719') start
[2025-02-09 08:06:03] Production.INFO: Total Charge 0
[2025-02-09 08:06:03] Production.INFO: CreateAllLog End
[2025-02-09 08:06:03] Production.INFO: ==4267== Lock acquired, processing the job...
[2025-02-09 08:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:06:03] Production.INFO: ==4265== Lock acquired, processing the job...
[2025-02-09 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:06:03] Production.INFO: ==4271== Lock acquired, processing the job...
[2025-02-09 08:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435719') end
[2025-02-09 08:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:06:03] Production.INFO: 1
[2025-02-09 08:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:06:03] Production.INFO: Account Balance End.
[2025-02-09 08:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:06:03] Production.INFO: ==4273== Releasing lock...
[2025-02-09 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:06:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:06:03] Production.INFO: ==4269== Releasing lock...
[2025-02-09 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:06:03] Production.INFO: ==4265== Releasing lock...
[2025-02-09 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:06:04] Production.ERROR: done
[2025-02-09 08:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:06:04] Production.ERROR: done
[2025-02-09 08:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:06:05
[end_date_ymd] => 2025-02-09 08:06:05
[RateCDR] => 1
)
[2025-02-09 08:06: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` >= '2025-02-09 05:06:05' and `end` < '2025-02-09 08:06: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 ,'')
[2025-02-09 08:06:11] Production.ERROR: CronJobId end10
[2025-02-09 08:06:11] Production.INFO: ==4267== Releasing lock...
[2025-02-09 08:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:06:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:06:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:06:13] Production.INFO: call_cost start
[2025-02-09 08:06:13] Production.INFO: call_cost end
[2025-02-09 08:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:06:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:06:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:06:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:06:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:06:14] Production.INFO: ==4263== Releasing lock...
[2025-02-09 08:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:06:18] Production.INFO: count ==157
[2025-02-09 08:06:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:06:05 - End Time 2025-02-09 08:06:05
[2025-02-09 08:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435721', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435721', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435721', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435721', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:06:18] Production.INFO: ProcessCDR(1,14435721,1,1,2)
[2025-02-09 08:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435721', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435721', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:06:21] Production.INFO: ==4271== Releasing lock...
[2025-02-09 08:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:06:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:07:02] Production.INFO: ==4344== Lock acquired, processing the job...
[2025-02-09 13:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:07:02] Production.INFO: neon service started
[2025-02-09 13:07:02] Production.INFO: neon service started
[2025-02-09 13:07:02] Production.INFO: ==4344== Releasing lock...
[2025-02-09 13:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:07:02] Production.INFO: ==4346== Lock acquired, processing the job...
[2025-02-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:07:02] Production.INFO: ==4349== Lock acquired, processing the job...
[2025-02-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:07:02] Production.INFO: ==4349== Releasing lock...
[2025-02-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:07:03] Production.INFO: ==4346== Releasing lock...
[2025-02-09 08:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:07:03] Production.INFO: ==4351== Lock acquired, processing the job...
[2025-02-09 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:07:03] Production.INFO: ==4353== Lock acquired, processing the job...
[2025-02-09 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:07:03] Production.INFO: ==4359== Lock acquired, processing the job...
[2025-02-09 08:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:07:03] Production.INFO: ==4355== Lock acquired, processing the job...
[2025-02-09 08:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:07:04] Production.INFO: ==4361== Lock acquired, processing the job...
[2025-02-09 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:07:04] Production.INFO: ==4357== Lock acquired, processing the job...
[2025-02-09 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:07:04] Production.INFO: Account Balance Start.
[2025-02-09 08:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:07:04] Production.INFO: 117
[2025-02-09 08:07:04] Production.INFO: ==4353== Releasing lock...
[2025-02-09 08:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:07:04] Production.ERROR: done
[2025-02-09 08:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:07:04] Production.INFO: count ==21
[2025-02-09 08:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:07:04] Production.INFO: count ==21
[2025-02-09 08:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435725') start
[2025-02-09 08:07:04] Production.INFO: Total Charge 0
[2025-02-09 08:07:04] Production.INFO: CreateAllLog End
[2025-02-09 08:07:04] Production.ERROR: done
[2025-02-09 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435725') end
[2025-02-09 08:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:07:04] Production.INFO: 1
[2025-02-09 08:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:07:04] Production.INFO: ==4361== Releasing lock...
[2025-02-09 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:07:04] Production.INFO: Account Balance End.
[2025-02-09 08:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:07:04] Production.INFO: ==4357== Releasing lock...
[2025-02-09 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:07:05
[end_date_ymd] => 2025-02-09 08:07:05
[RateCDR] => 1
)
[2025-02-09 08:07: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` >= '2025-02-09 05:07:05' and `end` < '2025-02-09 08:07: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 ,'')
[2025-02-09 08:07:11] Production.ERROR: CronJobId end10
[2025-02-09 08:07:11] Production.INFO: ==4355== Releasing lock...
[2025-02-09 08:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:07:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:07:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:07:14] Production.INFO: call_cost start
[2025-02-09 08:07:14] Production.INFO: call_cost end
[2025-02-09 08:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:07:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:07:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:07:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:07:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:07:15] Production.INFO: ==4351== Releasing lock...
[2025-02-09 08:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:07:18] Production.INFO: count ==154
[2025-02-09 08:07:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:07:05 - End Time 2025-02-09 08:07:05
[2025-02-09 08:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435726', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435726', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435726', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435726', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:07:18] Production.INFO: ProcessCDR(1,14435726,1,1,2)
[2025-02-09 08:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435726', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435726', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:07:21] Production.INFO: ==4359== Releasing lock...
[2025-02-09 08:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:07:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:08:01] Production.INFO: ==4425== Lock acquired, processing the job...
[2025-02-09 13:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:08:01] Production.INFO: neon service started
[2025-02-09 13:08:01] Production.INFO: neon service started
[2025-02-09 13:08:01] Production.INFO: ==4425== Releasing lock...
[2025-02-09 13:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:08:01] Production.INFO: ==4427== Lock acquired, processing the job...
[2025-02-09 08:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:08:02] Production.INFO: ==4427== Releasing lock...
[2025-02-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:08:02] Production.INFO: ==4429== Lock acquired, processing the job...
[2025-02-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:08:02] Production.INFO: ==4429== Releasing lock...
[2025-02-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:08:03] Production.INFO: ==4440== Lock acquired, processing the job...
[2025-02-09 08:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:08:03] Production.INFO: ==4434== Lock acquired, processing the job...
[2025-02-09 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:08:03] Production.INFO: ==4432== Lock acquired, processing the job...
[2025-02-09 08:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:08:03] Production.INFO: ==4438== Lock acquired, processing the job...
[2025-02-09 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:08:03] Production.INFO: ==4436== Lock acquired, processing the job...
[2025-02-09 08:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:08:03] Production.INFO: ==4442== Lock acquired, processing the job...
[2025-02-09 08:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:08:03] Production.INFO: Account Balance Start.
[2025-02-09 08:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:08:03] Production.INFO: 117
[2025-02-09 08:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:08:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:08:03] Production.INFO: Total Charge 0
[2025-02-09 08:08:03] Production.INFO: CreateAllLog End
[2025-02-09 08:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:08:03] Production.INFO: count ==21
[2025-02-09 08:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:08:03] Production.INFO: ==4434== Releasing lock...
[2025-02-09 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:08:03] Production.INFO: count ==21
[2025-02-09 08:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435730') start
[2025-02-09 08:08:03] Production.ERROR: done
[2025-02-09 08:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:08:03] Production.ERROR: done
[2025-02-09 08:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435730') end
[2025-02-09 08:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:08:03] Production.INFO: 1
[2025-02-09 08:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:08:03] Production.INFO: Account Balance End.
[2025-02-09 08:08:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:08:03] Production.INFO: ==4442== Releasing lock...
[2025-02-09 08:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:08:03] Production.INFO: ==4438== Releasing lock...
[2025-02-09 08:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:08:04
[end_date_ymd] => 2025-02-09 08:08:04
[RateCDR] => 1
)
[2025-02-09 08:08:04] 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-02-09 05:08:04' and `end` < '2025-02-09 08:08:04'
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-02-09 08:08:11] Production.ERROR: CronJobId end10
[2025-02-09 08:08:11] Production.INFO: ==4436== Releasing lock...
[2025-02-09 08:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:08:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:08:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:08:13] Production.INFO: call_cost start
[2025-02-09 08:08:13] Production.INFO: call_cost end
[2025-02-09 08:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:08:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:08:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:08:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:08:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:08:14] Production.INFO: ==4432== Releasing lock...
[2025-02-09 08:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:08:17] Production.INFO: count ==151
[2025-02-09 08:08:17] Production.ERROR: pbx CDR StartTime 2025-02-09 05:08:04 - End Time 2025-02-09 08:08:04
[2025-02-09 08:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435731', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435731', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435731', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435731', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:08:17] Production.INFO: ProcessCDR(1,14435731,1,1,2)
[2025-02-09 08:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435731', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435731', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:08:21] Production.INFO: ==4440== Releasing lock...
[2025-02-09 08:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:08:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:09:01] Production.INFO: ==4506== Lock acquired, processing the job...
[2025-02-09 13:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:09:01] Production.INFO: neon service started
[2025-02-09 13:09:01] Production.INFO: neon service started
[2025-02-09 13:09:01] Production.INFO: ==4506== Releasing lock...
[2025-02-09 13:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:09:02] Production.INFO: ==4508== Lock acquired, processing the job...
[2025-02-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:09:02] Production.INFO: ==4508== Releasing lock...
[2025-02-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:09:02] Production.INFO: ==4510== Lock acquired, processing the job...
[2025-02-09 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:09:02] Production.INFO: ==4510== Releasing lock...
[2025-02-09 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:09:03] Production.INFO: ==4514== Lock acquired, processing the job...
[2025-02-09 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:09:03] Production.INFO: ==4522== Lock acquired, processing the job...
[2025-02-09 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:09:03] Production.INFO: ==4512== Lock acquired, processing the job...
[2025-02-09 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:09:03] Production.INFO: ==4514== Releasing lock...
[2025-02-09 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:09:03] Production.INFO: ==4516== Lock acquired, processing the job...
[2025-02-09 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:09:03] Production.INFO: ==4518== Lock acquired, processing the job...
[2025-02-09 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:09:03] Production.INFO: count ==21
[2025-02-09 08:09:03] Production.INFO: ==4520== Lock acquired, processing the job...
[2025-02-09 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:09:03] Production.INFO: count ==21
[2025-02-09 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435733') start
[2025-02-09 08:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:09:04] Production.INFO: Account Balance Start.
[2025-02-09 08:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:09:04] Production.INFO: 117
[2025-02-09 08:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:09:04] Production.INFO: Total Charge 0
[2025-02-09 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435733') end
[2025-02-09 08:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:09:04] Production.INFO: 1
[2025-02-09 08:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:09:04] Production.INFO: CreateAllLog End
[2025-02-09 08:09:04] Production.INFO: ==4522== Releasing lock...
[2025-02-09 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:09:04] Production.ERROR: done
[2025-02-09 08:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:09:04] Production.INFO: Account Balance End.
[2025-02-09 08:09:04] Production.ERROR: done
[2025-02-09 08:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:09:04] Production.INFO: ==4518== Releasing lock...
[2025-02-09 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:09:05
[end_date_ymd] => 2025-02-09 08:09:05
[RateCDR] => 1
)
[2025-02-09 08:09: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` >= '2025-02-09 05:09:05' and `end` < '2025-02-09 08:09: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 ,'')
[2025-02-09 08:09:12] Production.ERROR: CronJobId end10
[2025-02-09 08:09:12] Production.INFO: ==4516== Releasing lock...
[2025-02-09 08:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:09:14] Production.INFO: call_cost start
[2025-02-09 08:09:14] Production.INFO: call_cost end
[2025-02-09 08:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:09:15] Production.INFO: ==4512== Releasing lock...
[2025-02-09 08:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:09:19] Production.INFO: count ==151
[2025-02-09 08:09:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:09:05 - End Time 2025-02-09 08:09:05
[2025-02-09 08:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435736', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435736', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435736', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435736', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:09:19] Production.INFO: ProcessCDR(1,14435736,1,1,2)
[2025-02-09 08:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435736', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435736', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:09:23] Production.INFO: ==4520== Releasing lock...
[2025-02-09 08:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:09:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:10:02] Production.INFO: ==4591== Lock acquired, processing the job...
[2025-02-09 13:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:10:02] Production.INFO: neon service started
[2025-02-09 13:10:02] Production.INFO: neon service started
[2025-02-09 13:10:02] Production.INFO: ==4591== Releasing lock...
[2025-02-09 13:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:10:02] Production.INFO: ==4593== Lock acquired, processing the job...
[2025-02-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:10:03] Production.INFO: ==4595== Lock acquired, processing the job...
[2025-02-09 13:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:10:03] Production.INFO: ==4595== Releasing lock...
[2025-02-09 13:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:10:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:10:03] Production.INFO: ==4593== Releasing lock...
[2025-02-09 08:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:10:04] Production.INFO: ==4598== Lock acquired, processing the job...
[2025-02-09 08:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 08:10:04] Production.INFO: ==4602== Lock acquired, processing the job...
[2025-02-09 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:10:04] Production.INFO: ==4604== Lock acquired, processing the job...
[2025-02-09 08:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 08:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 08:10:04] Production.INFO: ==4598== Releasing lock...
[2025-02-09 08:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 08:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 08:10:04] Production.INFO: ==4600== Lock acquired, processing the job...
[2025-02-09 08:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:10:04] Production.INFO: ==4610== Lock acquired, processing the job...
[2025-02-09 08:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 08:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:10:04] Production.INFO: ==4606== Lock acquired, processing the job...
[2025-02-09 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:10:04] Production.INFO: ==4612== Lock acquired, processing the job...
[2025-02-09 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:10:04] Production.INFO: ==4608== Lock acquired, processing the job...
[2025-02-09 08:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:10:04] Production.INFO: ==4602== Releasing lock...
[2025-02-09 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:10:04] Production.INFO: Account Balance Start.
[2025-02-09 08:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:10:04] Production.INFO: 117
[2025-02-09 08:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:10:04] Production.ERROR: done
[2025-02-09 08:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:10:04] Production.INFO: Total Charge 0
[2025-02-09 08:10:04] Production.INFO: count ==21
[2025-02-09 08:10:04] Production.INFO: CreateAllLog End
[2025-02-09 08:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:10:04] Production.INFO: count ==21
[2025-02-09 08:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 08:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435741', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435740') start
[2025-02-09 08:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14435740') end
[2025-02-09 08:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:10:05] Production.INFO: 1
[2025-02-09 08:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:10:05] Production.ERROR: done
[2025-02-09 08:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:10:05] Production.INFO: ==4612== Releasing lock...
[2025-02-09 08:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:10:05] Production.INFO: Account Balance End.
[2025-02-09 08:10:05] Production.ERROR: done
[2025-02-09 08:10:05] Production.ERROR: CronJobId end 12
[2025-02-09 08:10:05] Production.INFO: ==4606== Releasing lock...
[2025-02-09 08:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:10:06
[end_date_ymd] => 2025-02-09 08:10:06
[RateCDR] => 1
)
[2025-02-09 08:10: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-02-09 05:10:06' and `end` < '2025-02-09 08:10: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-02-09 08:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435741', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 08:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 08:10:08] Production.INFO: ProcessCDR(1,14435741,1,1,2)
[2025-02-09 08:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435741,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435741,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:10:08] Production.INFO: ==4610== Releasing lock...
[2025-02-09 08:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 08:10:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 08:10:13] Production.ERROR: CronJobId end10
[2025-02-09 08:10:13] Production.INFO: ==4604== Releasing lock...
[2025-02-09 08:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:10:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:10:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:10:16] Production.INFO: call_cost start
[2025-02-09 08:10:16] Production.INFO: call_cost end
[2025-02-09 08:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:10:17] Production.INFO: ==4600== Releasing lock...
[2025-02-09 08:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:10:19] Production.INFO: count ==151
[2025-02-09 08:10:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:10:06 - End Time 2025-02-09 08:10:06
[2025-02-09 08:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435742', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435742', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435742', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435742', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:10:19] Production.INFO: ProcessCDR(1,14435742,1,1,2)
[2025-02-09 08:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435742', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435742', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:10:22] Production.INFO: ==4608== Releasing lock...
[2025-02-09 08:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:10:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:11:01] Production.INFO: ==4679== Lock acquired, processing the job...
[2025-02-09 13:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:11:01] Production.INFO: neon service started
[2025-02-09 13:11:01] Production.INFO: neon service started
[2025-02-09 13:11:01] Production.INFO: ==4679== Releasing lock...
[2025-02-09 13:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:11:02] Production.INFO: ==4681== Lock acquired, processing the job...
[2025-02-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:11:02] Production.INFO: ==4681== Releasing lock...
[2025-02-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:11:02] Production.INFO: ==4683== Lock acquired, processing the job...
[2025-02-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:11:02] Production.INFO: ==4683== Releasing lock...
[2025-02-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:11:03] Production.INFO: ==4694== Lock acquired, processing the job...
[2025-02-09 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:11:03] Production.INFO: ==4696== Lock acquired, processing the job...
[2025-02-09 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:11:03] Production.INFO: ==4686== Lock acquired, processing the job...
[2025-02-09 08:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:11:03] Production.INFO: ==4688== Lock acquired, processing the job...
[2025-02-09 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:11:03] Production.INFO: ==4690== Lock acquired, processing the job...
[2025-02-09 08:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:11:03] Production.INFO: ==4692== Lock acquired, processing the job...
[2025-02-09 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:11:03] Production.INFO: count ==21
[2025-02-09 08:11:03] Production.ERROR: done
[2025-02-09 08:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:11:03] Production.INFO: count ==21
[2025-02-09 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435743') start
[2025-02-09 08:11:03] Production.INFO: Account Balance Start.
[2025-02-09 08:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:11:03] Production.INFO: 117
[2025-02-09 08:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435743') end
[2025-02-09 08:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:11:03] Production.INFO: 1
[2025-02-09 08:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:11:03] Production.ERROR: done
[2025-02-09 08:11:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:11:03] Production.INFO: Total Charge 0
[2025-02-09 08:11:03] Production.INFO: ==4696== Releasing lock...
[2025-02-09 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:11:03] Production.INFO: CreateAllLog End
[2025-02-09 08:11:04] Production.INFO: ==4688== Releasing lock...
[2025-02-09 08:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:11:04] Production.INFO: Account Balance End.
[2025-02-09 08:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:11:04] Production.INFO: ==4692== Releasing lock...
[2025-02-09 08:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:11:04
[end_date_ymd] => 2025-02-09 08:11:04
[RateCDR] => 1
)
[2025-02-09 08:11:04] 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-02-09 05:11:04' and `end` < '2025-02-09 08:11:04'
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-02-09 08:11:11] Production.ERROR: CronJobId end10
[2025-02-09 08:11:11] Production.INFO: ==4690== Releasing lock...
[2025-02-09 08:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:11:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:11:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:11:13] Production.INFO: call_cost start
[2025-02-09 08:11:13] Production.INFO: call_cost end
[2025-02-09 08:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:11:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:11:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:11:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:11:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:11:14] Production.INFO: ==4686== Releasing lock...
[2025-02-09 08:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:11:17] Production.INFO: count ==151
[2025-02-09 08:11:17] Production.ERROR: pbx CDR StartTime 2025-02-09 05:11:04 - End Time 2025-02-09 08:11:04
[2025-02-09 08:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435747', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435747', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435747', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435747', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:11:17] Production.INFO: ProcessCDR(1,14435747,1,1,2)
[2025-02-09 08:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435747', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435747', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:11:20] Production.INFO: ==4694== Releasing lock...
[2025-02-09 08:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:11:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:12:02] Production.INFO: ==4757== Lock acquired, processing the job...
[2025-02-09 13:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:12:02] Production.INFO: neon service started
[2025-02-09 13:12:02] Production.INFO: neon service started
[2025-02-09 13:12:02] Production.INFO: ==4757== Releasing lock...
[2025-02-09 13:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:12:02] Production.INFO: ==4759== Lock acquired, processing the job...
[2025-02-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:12:02] Production.INFO: ==4759== Releasing lock...
[2025-02-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:12:03] Production.INFO: ==4761== Lock acquired, processing the job...
[2025-02-09 13:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:12:03] Production.INFO: ==4761== Releasing lock...
[2025-02-09 13:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:12:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:12:03] Production.INFO: ==4766== Lock acquired, processing the job...
[2025-02-09 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:12:03] Production.INFO: ==4772== Lock acquired, processing the job...
[2025-02-09 08:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:12:03] Production.INFO: ==4764== Lock acquired, processing the job...
[2025-02-09 08:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:12:04] Production.INFO: ==4768== Lock acquired, processing the job...
[2025-02-09 08:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:12:04] Production.INFO: ==4770== Lock acquired, processing the job...
[2025-02-09 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:12:04] Production.INFO: ==4774== Lock acquired, processing the job...
[2025-02-09 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:12:04] Production.INFO: ==4766== Releasing lock...
[2025-02-09 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:12:04] Production.INFO: Account Balance Start.
[2025-02-09 08:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:12:04] Production.INFO: count ==21
[2025-02-09 08:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:12:04] Production.INFO: 117
[2025-02-09 08:12:04] Production.INFO: count ==21
[2025-02-09 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435751') start
[2025-02-09 08:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:12:04] Production.ERROR: done
[2025-02-09 08:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435751') end
[2025-02-09 08:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:12:04] Production.INFO: 1
[2025-02-09 08:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:12:04] Production.INFO: ==4774== Releasing lock...
[2025-02-09 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:12:04] Production.ERROR: done
[2025-02-09 08:12:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:12:04] Production.INFO: Total Charge 0
[2025-02-09 08:12:04] Production.INFO: CreateAllLog End
[2025-02-09 08:12:04] Production.INFO: Account Balance End.
[2025-02-09 08:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:12:04] Production.INFO: ==4770== Releasing lock...
[2025-02-09 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:12:05
[end_date_ymd] => 2025-02-09 08:12:05
[RateCDR] => 1
)
[2025-02-09 08:12: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` >= '2025-02-09 05:12:05' and `end` < '2025-02-09 08:12: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 ,'')
[2025-02-09 08:12:12] Production.ERROR: CronJobId end10
[2025-02-09 08:12:12] Production.INFO: ==4768== Releasing lock...
[2025-02-09 08:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:12:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:12:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:12:14] Production.INFO: call_cost start
[2025-02-09 08:12:14] Production.INFO: call_cost end
[2025-02-09 08:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:12:15] Production.INFO: ==4764== Releasing lock...
[2025-02-09 08:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:12:18] Production.INFO: count ==151
[2025-02-09 08:12:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:12:05 - End Time 2025-02-09 08:12:05
[2025-02-09 08:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435752', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435752', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435752', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435752', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:12:18] Production.INFO: ProcessCDR(1,14435752,1,1,2)
[2025-02-09 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435752', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435752', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:12:21] Production.INFO: ==4772== Releasing lock...
[2025-02-09 08:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:12:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:13:01] Production.INFO: ==4838== Lock acquired, processing the job...
[2025-02-09 13:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:13:01] Production.INFO: neon service started
[2025-02-09 13:13:01] Production.INFO: neon service started
[2025-02-09 13:13:01] Production.INFO: ==4838== Releasing lock...
[2025-02-09 13:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:13:01] Production.INFO: ==4840== Lock acquired, processing the job...
[2025-02-09 08:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:13:02] Production.INFO: ==4842== Lock acquired, processing the job...
[2025-02-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:13:02] Production.INFO: ==4840== Releasing lock...
[2025-02-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:13:02] Production.INFO: ==4842== Releasing lock...
[2025-02-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:13:03] Production.INFO: ==4853== Lock acquired, processing the job...
[2025-02-09 08:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:13:03] Production.INFO: ==4856== Lock acquired, processing the job...
[2025-02-09 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:13:03] Production.INFO: ==4846== Lock acquired, processing the job...
[2025-02-09 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:13:03] Production.INFO: ==4844== Lock acquired, processing the job...
[2025-02-09 08:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:13:03] Production.ERROR: done
[2025-02-09 08:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:13:03] Production.INFO: count ==21
[2025-02-09 08:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:13:03] Production.INFO: ==4848== Lock acquired, processing the job...
[2025-02-09 08:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:13:03] Production.INFO: ==4850== Lock acquired, processing the job...
[2025-02-09 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:13:03] Production.INFO: count ==21
[2025-02-09 08:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435753') start
[2025-02-09 08:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:13:03] Production.INFO: Account Balance Start.
[2025-02-09 08:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:13:03] Production.INFO: 117
[2025-02-09 08:13:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435753') end
[2025-02-09 08:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:13:03] Production.INFO: 1
[2025-02-09 08:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:13:03] Production.ERROR: done
[2025-02-09 08:13:03] Production.INFO: ==4856== Releasing lock...
[2025-02-09 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:13:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:13:03] Production.INFO: Total Charge 0
[2025-02-09 08:13:03] Production.INFO: CreateAllLog End
[2025-02-09 08:13:03] Production.INFO: ==4846== Releasing lock...
[2025-02-09 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:13:04] Production.INFO: Account Balance End.
[2025-02-09 08:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:13:04] Production.INFO: ==4850== Releasing lock...
[2025-02-09 08:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:13:04
[end_date_ymd] => 2025-02-09 08:13:04
[RateCDR] => 1
)
[2025-02-09 08:13:04] 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-02-09 05:13:04' and `end` < '2025-02-09 08:13:04'
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-02-09 08:13:11] Production.ERROR: CronJobId end10
[2025-02-09 08:13:11] Production.INFO: ==4848== Releasing lock...
[2025-02-09 08:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:13:13] Production.INFO: call_cost start
[2025-02-09 08:13:13] Production.INFO: call_cost end
[2025-02-09 08:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:13:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:13:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:13:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:13:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:13:14] Production.INFO: ==4844== Releasing lock...
[2025-02-09 08:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:13:17] Production.INFO: count ==151
[2025-02-09 08:13:17] Production.ERROR: pbx CDR StartTime 2025-02-09 05:13:04 - End Time 2025-02-09 08:13:04
[2025-02-09 08:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435757', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435757', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435757', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435757', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:13:17] Production.INFO: ProcessCDR(1,14435757,1,1,2)
[2025-02-09 08:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435757', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435757', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:13:20] Production.INFO: ==4853== Releasing lock...
[2025-02-09 08:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:13:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:14:02] Production.INFO: ==4916== Lock acquired, processing the job...
[2025-02-09 13:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:14:02] Production.INFO: neon service started
[2025-02-09 13:14:02] Production.INFO: neon service started
[2025-02-09 13:14:02] Production.INFO: ==4916== Releasing lock...
[2025-02-09 13:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:14:02] Production.INFO: ==4921== Lock acquired, processing the job...
[2025-02-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:14:02] Production.INFO: ==4919== Lock acquired, processing the job...
[2025-02-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:14:02] Production.INFO: ==4921== Releasing lock...
[2025-02-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:14:03] Production.INFO: ==4919== Releasing lock...
[2025-02-09 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:14:03] Production.INFO: ==4925== Lock acquired, processing the job...
[2025-02-09 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:14:03] Production.INFO: ==4927== Lock acquired, processing the job...
[2025-02-09 08:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:14:03] Production.INFO: ==4929== Lock acquired, processing the job...
[2025-02-09 08:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:14:04] Production.INFO: ==4923== Lock acquired, processing the job...
[2025-02-09 08:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:14:04] Production.INFO: Account Balance Start.
[2025-02-09 08:14:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:14:04] Production.INFO: 117
[2025-02-09 08:14:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:14:04] Production.INFO: ==4925== Releasing lock...
[2025-02-09 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:14:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:14:04] Production.INFO: Total Charge 0
[2025-02-09 08:14:04] Production.INFO: CreateAllLog End
[2025-02-09 08:14:04] Production.INFO: ==4931== Lock acquired, processing the job...
[2025-02-09 08:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:14:04] Production.INFO: Account Balance End.
[2025-02-09 08:14:04] Production.INFO: ==4933== Lock acquired, processing the job...
[2025-02-09 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:14:04] Production.INFO: ==4929== Releasing lock...
[2025-02-09 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:14:04] Production.INFO: count ==21
[2025-02-09 08:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:14:04] Production.ERROR: done
[2025-02-09 08:14:04] Production.INFO: count ==21
[2025-02-09 08:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435761') start
[2025-02-09 08:14:04] Production.ERROR: done
[2025-02-09 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435761') end
[2025-02-09 08:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:14:04] Production.INFO: 1
[2025-02-09 08:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:14:04] Production.INFO: ==4933== Releasing lock...
[2025-02-09 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:14:05
[end_date_ymd] => 2025-02-09 08:14:05
[RateCDR] => 1
)
[2025-02-09 08:14: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` >= '2025-02-09 05:14:05' and `end` < '2025-02-09 08:14: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 ,'')
[2025-02-09 08:14:11] Production.ERROR: CronJobId end10
[2025-02-09 08:14:11] Production.INFO: ==4927== Releasing lock...
[2025-02-09 08:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:14:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:14:13] Production.INFO: call_cost start
[2025-02-09 08:14:13] Production.INFO: call_cost end
[2025-02-09 08:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:14:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:14:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:14:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:14:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:14:14] Production.INFO: ==4923== Releasing lock...
[2025-02-09 08:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:14:18] Production.INFO: count ==151
[2025-02-09 08:14:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:14:05 - End Time 2025-02-09 08:14:05
[2025-02-09 08:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435762', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435762', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435762', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435762', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:14:18] Production.INFO: ProcessCDR(1,14435762,1,1,2)
[2025-02-09 08:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435762', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435762', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:14:21] Production.INFO: ==4931== Releasing lock...
[2025-02-09 08:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:14:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:15:01] Production.INFO: ==4996== Lock acquired, processing the job...
[2025-02-09 13:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:15:01] Production.INFO: neon service started
[2025-02-09 13:15:01] Production.INFO: neon service started
[2025-02-09 13:15:01] Production.INFO: ==4996== Releasing lock...
[2025-02-09 13:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:15:02] Production.INFO: ==4998== Lock acquired, processing the job...
[2025-02-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:15:02] Production.INFO: ==5000== Lock acquired, processing the job...
[2025-02-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:15:02] Production.INFO: ==5000== Releasing lock...
[2025-02-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:15:02] Production.INFO: ==4998== Releasing lock...
[2025-02-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:15:03] Production.INFO: ==5007== Lock acquired, processing the job...
[2025-02-09 08:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:15:03] Production.INFO: ==5009== Lock acquired, processing the job...
[2025-02-09 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:15:03] Production.INFO: ==5003== Lock acquired, processing the job...
[2025-02-09 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:15:03] Production.INFO: Account Balance Start.
[2025-02-09 08:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:15:03] Production.INFO: 117
[2025-02-09 08:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:15:03] Production.INFO: ==5005== Lock acquired, processing the job...
[2025-02-09 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:15:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:15:03] Production.INFO: Total Charge 0
[2025-02-09 08:15:03] Production.INFO: CreateAllLog End
[2025-02-09 08:15:03] Production.INFO: ==5011== Lock acquired, processing the job...
[2025-02-09 08:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:15:03] Production.INFO: ==5013== Lock acquired, processing the job...
[2025-02-09 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:15:03] Production.INFO: Account Balance End.
[2025-02-09 08:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:15:04] Production.INFO: ==5009== Releasing lock...
[2025-02-09 08:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:15:04] Production.INFO: count ==21
[2025-02-09 08:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:15:04] Production.INFO: count ==21
[2025-02-09 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435766') start
[2025-02-09 08:15:04] Production.INFO: ==5005== Releasing lock...
[2025-02-09 08:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435766') end
[2025-02-09 08:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:15:04] Production.INFO: 1
[2025-02-09 08:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:15:04] Production.ERROR: done
[2025-02-09 08:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:15:04] Production.INFO: ==5013== Releasing lock...
[2025-02-09 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:15:04] Production.ERROR: done
[2025-02-09 08:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:15:05
[end_date_ymd] => 2025-02-09 08:15:05
[RateCDR] => 1
)
[2025-02-09 08:15: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` >= '2025-02-09 05:15:05' and `end` < '2025-02-09 08:15: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 ,'')
[2025-02-09 08:15:11] Production.ERROR: CronJobId end10
[2025-02-09 08:15:11] Production.INFO: ==5007== Releasing lock...
[2025-02-09 08:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:15:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:15:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:15:13] Production.INFO: call_cost start
[2025-02-09 08:15:13] Production.INFO: call_cost end
[2025-02-09 08:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:15:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:15:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:15:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:15:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:15:14] Production.INFO: ==5003== Releasing lock...
[2025-02-09 08:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:15:18] Production.INFO: count ==151
[2025-02-09 08:15:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:15:05 - End Time 2025-02-09 08:15:05
[2025-02-09 08:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435767', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435767', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435767', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435767', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:15:18] Production.INFO: ProcessCDR(1,14435767,1,1,2)
[2025-02-09 08:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435767', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435767', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:15:21] Production.INFO: ==5011== Releasing lock...
[2025-02-09 08:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:16:02] Production.INFO: ==5074== Lock acquired, processing the job...
[2025-02-09 13:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:16:02] Production.INFO: neon service started
[2025-02-09 13:16:02] Production.INFO: neon service started
[2025-02-09 13:16:02] Production.INFO: ==5074== Releasing lock...
[2025-02-09 13:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:16:02] Production.INFO: ==5076== Lock acquired, processing the job...
[2025-02-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:16:02] Production.INFO: ==5078== Lock acquired, processing the job...
[2025-02-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:16:02] Production.INFO: ==5076== Releasing lock...
[2025-02-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:16:02] Production.INFO: ==5078== Releasing lock...
[2025-02-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:16:03] Production.INFO: ==5080== Lock acquired, processing the job...
[2025-02-09 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:16:03] Production.INFO: ==5086== Lock acquired, processing the job...
[2025-02-09 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:16:03] Production.INFO: Account Balance Start.
[2025-02-09 08:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:16:03] Production.INFO: 117
[2025-02-09 08:16:03] Production.INFO: ==5090== Lock acquired, processing the job...
[2025-02-09 08:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:16:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:16:03] Production.INFO: Total Charge 0
[2025-02-09 08:16:03] Production.INFO: ==5082== Lock acquired, processing the job...
[2025-02-09 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:16:03] Production.INFO: CreateAllLog End
[2025-02-09 08:16:03] Production.INFO: ==5084== Lock acquired, processing the job...
[2025-02-09 08:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:16:03] Production.INFO: count ==21
[2025-02-09 08:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:16:03] Production.INFO: count ==21
[2025-02-09 08:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435770') start
[2025-02-09 08:16:03] Production.INFO: ==5088== Lock acquired, processing the job...
[2025-02-09 08:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:16:04] Production.INFO: Account Balance End.
[2025-02-09 08:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:16:04] Production.INFO: ==5086== Releasing lock...
[2025-02-09 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435770') end
[2025-02-09 08:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:16:04] Production.INFO: 1
[2025-02-09 08:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:16:04] Production.INFO: ==5090== Releasing lock...
[2025-02-09 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:16:04] Production.ERROR: done
[2025-02-09 08:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:16:04] Production.ERROR: done
[2025-02-09 08:16:04] Production.INFO: ==5082== Releasing lock...
[2025-02-09 08:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:16:05
[end_date_ymd] => 2025-02-09 08:16:05
[RateCDR] => 1
)
[2025-02-09 08:16: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` >= '2025-02-09 05:16:05' and `end` < '2025-02-09 08:16: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 ,'')
[2025-02-09 08:16:11] Production.ERROR: CronJobId end10
[2025-02-09 08:16:11] Production.INFO: ==5084== Releasing lock...
[2025-02-09 08:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:16:14] Production.INFO: call_cost start
[2025-02-09 08:16:14] Production.INFO: call_cost end
[2025-02-09 08:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:16:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:16:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:16:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:16:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:16:15] Production.INFO: ==5080== Releasing lock...
[2025-02-09 08:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:16:18] Production.INFO: count ==152
[2025-02-09 08:16:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:16:05 - End Time 2025-02-09 08:16:05
[2025-02-09 08:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435772', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435772', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435772', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435772', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:16:18] Production.INFO: ProcessCDR(1,14435772,1,1,2)
[2025-02-09 08:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435772', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435772', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:16:22] Production.INFO: ==5088== Releasing lock...
[2025-02-09 08:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:16:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:17:01] Production.INFO: ==5151== Lock acquired, processing the job...
[2025-02-09 13:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:17:01] Production.INFO: neon service started
[2025-02-09 13:17:01] Production.INFO: neon service started
[2025-02-09 13:17:01] Production.INFO: ==5151== Releasing lock...
[2025-02-09 13:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:17:01] Production.INFO: ==5155== Lock acquired, processing the job...
[2025-02-09 13:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:17:01] Production.INFO: ==5155== Releasing lock...
[2025-02-09 13:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:17:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:17:02] Production.INFO: ==5153== Lock acquired, processing the job...
[2025-02-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:17:02] Production.INFO: ==5153== Releasing lock...
[2025-02-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:17:03] Production.INFO: ==5157== Lock acquired, processing the job...
[2025-02-09 08:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:17:03] Production.INFO: ==5163== Lock acquired, processing the job...
[2025-02-09 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:17:03] Production.INFO: ==5159== Lock acquired, processing the job...
[2025-02-09 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:17:03] Production.INFO: ==5161== Lock acquired, processing the job...
[2025-02-09 08:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:17:03] Production.INFO: Account Balance Start.
[2025-02-09 08:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:17:03] Production.INFO: 117
[2025-02-09 08:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:17:03] Production.INFO: ==5166== Lock acquired, processing the job...
[2025-02-09 08:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:17:03] Production.INFO: Total Charge 0
[2025-02-09 08:17:03] Production.INFO: CreateAllLog End
[2025-02-09 08:17:03] Production.INFO: ==5168== Lock acquired, processing the job...
[2025-02-09 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:17:03] Production.INFO: count ==21
[2025-02-09 08:17:03] Production.INFO: ==5159== Releasing lock...
[2025-02-09 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:17:04] Production.INFO: count ==21
[2025-02-09 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435776') start
[2025-02-09 08:17:04] Production.ERROR: done
[2025-02-09 08:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435776') end
[2025-02-09 08:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:17:04] Production.INFO: 1
[2025-02-09 08:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:17:04] Production.INFO: ==5168== Releasing lock...
[2025-02-09 08:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:17:04] Production.ERROR: done
[2025-02-09 08:17:04] Production.INFO: Account Balance End.
[2025-02-09 08:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:17:04] Production.INFO: ==5163== Releasing lock...
[2025-02-09 08:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:17:05
[end_date_ymd] => 2025-02-09 08:17:05
[RateCDR] => 1
)
[2025-02-09 08:17: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` >= '2025-02-09 05:17:05' and `end` < '2025-02-09 08:17: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 ,'')
[2025-02-09 08:17:11] Production.ERROR: CronJobId end10
[2025-02-09 08:17:11] Production.INFO: ==5161== Releasing lock...
[2025-02-09 08:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:17:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:17:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:17:14] Production.INFO: call_cost start
[2025-02-09 08:17:14] Production.INFO: call_cost end
[2025-02-09 08:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:17:15] Production.INFO: ==5157== Releasing lock...
[2025-02-09 08:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:17:18] Production.INFO: count ==152
[2025-02-09 08:17:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:17:05 - End Time 2025-02-09 08:17:05
[2025-02-09 08:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435777', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435777', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435777', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435777', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:17:18] Production.INFO: ProcessCDR(1,14435777,1,1,2)
[2025-02-09 08:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435777', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435777', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:17:21] Production.INFO: ==5166== Releasing lock...
[2025-02-09 08:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:17:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:18:01] Production.INFO: ==5239== Lock acquired, processing the job...
[2025-02-09 13:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:18:01] Production.INFO: neon service started
[2025-02-09 13:18:01] Production.INFO: neon service started
[2025-02-09 13:18:01] Production.INFO: ==5239== Releasing lock...
[2025-02-09 13:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:18:02] Production.INFO: ==5241== Lock acquired, processing the job...
[2025-02-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:18:02] Production.INFO: ==5241== Releasing lock...
[2025-02-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:18:02] Production.INFO: ==5243== Lock acquired, processing the job...
[2025-02-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:18:02] Production.INFO: ==5243== Releasing lock...
[2025-02-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:18:03] Production.INFO: ==5245== Lock acquired, processing the job...
[2025-02-09 08:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:18:03] Production.INFO: ==5249== Lock acquired, processing the job...
[2025-02-09 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:18:03] Production.INFO: ==5251== Lock acquired, processing the job...
[2025-02-09 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:18:03] Production.INFO: Account Balance Start.
[2025-02-09 08:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:18:03] Production.INFO: 117
[2025-02-09 08:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:18:03] Production.INFO: Total Charge 0
[2025-02-09 08:18:03] Production.INFO: CreateAllLog End
[2025-02-09 08:18:03] Production.INFO: ==5247== Lock acquired, processing the job...
[2025-02-09 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:18:03] Production.INFO: Account Balance End.
[2025-02-09 08:18:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:18:03] Production.INFO: ==5251== Releasing lock...
[2025-02-09 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:18:03] Production.INFO: ==5253== Lock acquired, processing the job...
[2025-02-09 08:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:18:03] Production.INFO: ==5255== Lock acquired, processing the job...
[2025-02-09 08:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:18:04] Production.INFO: count ==21
[2025-02-09 08:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:18:04] Production.INFO: count ==21
[2025-02-09 08:18:04] Production.ERROR: done
[2025-02-09 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435781') start
[2025-02-09 08:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:18:04] Production.INFO: ==5247== Releasing lock...
[2025-02-09 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435781') end
[2025-02-09 08:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:18:04] Production.INFO: 1
[2025-02-09 08:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:18:04] Production.ERROR: done
[2025-02-09 08:18:04] Production.INFO: ==5255== Releasing lock...
[2025-02-09 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:18:05
[end_date_ymd] => 2025-02-09 08:18:05
[RateCDR] => 1
)
[2025-02-09 08:18: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` >= '2025-02-09 05:18:05' and `end` < '2025-02-09 08:18: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 ,'')
[2025-02-09 08:18:11] Production.ERROR: CronJobId end10
[2025-02-09 08:18:11] Production.INFO: ==5249== Releasing lock...
[2025-02-09 08:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:18:13] Production.INFO: call_cost start
[2025-02-09 08:18:13] Production.INFO: call_cost end
[2025-02-09 08:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:18:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:18:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:18:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:18:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:18:14] Production.INFO: ==5245== Releasing lock...
[2025-02-09 08:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:18:19] Production.INFO: count ==152
[2025-02-09 08:18:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:18:05 - End Time 2025-02-09 08:18:05
[2025-02-09 08:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435782', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435782', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435782', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435782', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:18:19] Production.INFO: ProcessCDR(1,14435782,1,1,2)
[2025-02-09 08:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435782', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435782', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:18:22] Production.INFO: ==5253== Releasing lock...
[2025-02-09 08:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:18:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:19:02] Production.INFO: ==5319== Lock acquired, processing the job...
[2025-02-09 13:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:19:02] Production.INFO: neon service started
[2025-02-09 13:19:02] Production.INFO: neon service started
[2025-02-09 13:19:02] Production.INFO: ==5319== Releasing lock...
[2025-02-09 13:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:19:02] Production.INFO: ==5321== Lock acquired, processing the job...
[2025-02-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:19:02] Production.INFO: ==5323== Lock acquired, processing the job...
[2025-02-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:19:02] Production.INFO: ==5323== Releasing lock...
[2025-02-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:19:03] Production.INFO: ==5321== Releasing lock...
[2025-02-09 08:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:19:03] Production.INFO: ==5326== Lock acquired, processing the job...
[2025-02-09 08:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:19:03] Production.INFO: ==5330== Lock acquired, processing the job...
[2025-02-09 08:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:19:04] Production.INFO: ==5336== Lock acquired, processing the job...
[2025-02-09 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:19:04] Production.INFO: ==5328== Lock acquired, processing the job...
[2025-02-09 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:19:04] Production.INFO: ==5332== Lock acquired, processing the job...
[2025-02-09 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:19:04] Production.INFO: count ==21
[2025-02-09 08:19:04] Production.INFO: ==5334== Lock acquired, processing the job...
[2025-02-09 08:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:19:04] Production.INFO: count ==21
[2025-02-09 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435784') start
[2025-02-09 08:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:19:04] Production.INFO: Account Balance Start.
[2025-02-09 08:19:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435784') end
[2025-02-09 08:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:19:04] Production.INFO: 1
[2025-02-09 08:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:19:04] Production.INFO: 117
[2025-02-09 08:19:04] Production.INFO: ==5336== Releasing lock...
[2025-02-09 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:19:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:19:04] Production.INFO: Total Charge 0
[2025-02-09 08:19:04] Production.INFO: CreateAllLog End
[2025-02-09 08:19:04] Production.ERROR: done
[2025-02-09 08:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:19:04] Production.INFO: ==5328== Releasing lock...
[2025-02-09 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:19:05] Production.ERROR: done
[2025-02-09 08:19:05] Production.INFO: Account Balance End.
[2025-02-09 08:19:05] Production.ERROR: CronJobId end 12
[2025-02-09 08:19:05] Production.INFO: ==5332== Releasing lock...
[2025-02-09 08:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:19:06
[end_date_ymd] => 2025-02-09 08:19:06
[RateCDR] => 1
)
[2025-02-09 08:19: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-02-09 05:19:06' and `end` < '2025-02-09 08:19: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-02-09 08:19:12] Production.ERROR: CronJobId end10
[2025-02-09 08:19:12] Production.INFO: ==5330== Releasing lock...
[2025-02-09 08:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:19:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:19:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:19:14] Production.INFO: call_cost start
[2025-02-09 08:19:14] Production.INFO: call_cost end
[2025-02-09 08:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:19:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:19:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:19:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:19:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:19:15] Production.INFO: ==5326== Releasing lock...
[2025-02-09 08:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:19:20] Production.INFO: count ==152
[2025-02-09 08:19:20] Production.ERROR: pbx CDR StartTime 2025-02-09 05:19:06 - End Time 2025-02-09 08:19:06
[2025-02-09 08:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435787', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435787', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435787', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435787', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:19:20] Production.INFO: ProcessCDR(1,14435787,1,1,2)
[2025-02-09 08:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435787', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435787', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:19:22] Production.INFO: ==5334== Releasing lock...
[2025-02-09 08:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:19:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:20:01] Production.INFO: ==5401== Lock acquired, processing the job...
[2025-02-09 13:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:20:01] Production.INFO: neon service started
[2025-02-09 13:20:01] Production.INFO: neon service started
[2025-02-09 13:20:01] Production.INFO: ==5401== Releasing lock...
[2025-02-09 13:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:20:02] Production.INFO: ==5403== Lock acquired, processing the job...
[2025-02-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:20:02] Production.INFO: ==5405== Lock acquired, processing the job...
[2025-02-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:20:02] Production.INFO: ==5403== Releasing lock...
[2025-02-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:20:02] Production.INFO: ==5405== Releasing lock...
[2025-02-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:20:02] Production.INFO: 26 MB #Memory Used#
[2025-02-09 08:20:03] Production.INFO: ==5407== Lock acquired, processing the job...
[2025-02-09 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 08:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 08:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 08:20:03] Production.INFO: ==5407== Releasing lock...
[2025-02-09 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 08:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 08:20:03] Production.INFO: ==5409== Lock acquired, processing the job...
[2025-02-09 08:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:20:03] Production.INFO: ==5413== Lock acquired, processing the job...
[2025-02-09 08:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:20:03] Production.INFO: ==5411== Lock acquired, processing the job...
[2025-02-09 08:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:20:03] Production.INFO: ==5415== Lock acquired, processing the job...
[2025-02-09 08:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:20:03] Production.INFO: Account Balance Start.
[2025-02-09 08:20:03] Production.INFO: ==5417== Lock acquired, processing the job...
[2025-02-09 08:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:20:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:20:04] Production.INFO: 117
[2025-02-09 08:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:20:04] Production.INFO: ==5422== Lock acquired, processing the job...
[2025-02-09 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:20:04] Production.INFO: ==5420== Lock acquired, processing the job...
[2025-02-09 08:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 08:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:20:04] Production.INFO: count ==21
[2025-02-09 08:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:20:04] Production.INFO: count ==21
[2025-02-09 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435791') start
[2025-02-09 08:20:04] Production.INFO: ==5411== Releasing lock...
[2025-02-09 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:20:04] Production.INFO: Total Charge 0
[2025-02-09 08:20:04] Production.INFO: CreateAllLog End
[2025-02-09 08:20:04] Production.ERROR: done
[2025-02-09 08:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435791') end
[2025-02-09 08:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:20:04] Production.INFO: 1
[2025-02-09 08:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:20:04] Production.INFO: Account Balance End.
[2025-02-09 08:20:04] Production.INFO: ==5422== Releasing lock...
[2025-02-09 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:20:04] Production.ERROR: done
[2025-02-09 08:20:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:20:04] Production.INFO: ==5415== Releasing lock...
[2025-02-09 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:20:04] Production.ERROR: done
[2025-02-09 08:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 08:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435792', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 08:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:20:06
[end_date_ymd] => 2025-02-09 08:20:06
[RateCDR] => 1
)
[2025-02-09 08:20: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-02-09 05:20:06' and `end` < '2025-02-09 08:20: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-02-09 08:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435792', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 08:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 08:20:09] Production.INFO: ProcessCDR(1,14435792,1,1,2)
[2025-02-09 08:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435792,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435792,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:20:09] Production.INFO: ==5420== Releasing lock...
[2025-02-09 08:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 08:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 08:20:13] Production.ERROR: CronJobId end10
[2025-02-09 08:20:13] Production.INFO: ==5413== Releasing lock...
[2025-02-09 08:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:20:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:20:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:20:15] Production.INFO: call_cost start
[2025-02-09 08:20:15] Production.INFO: call_cost end
[2025-02-09 08:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:20:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:20:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:20:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:20:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:20:16] Production.INFO: ==5409== Releasing lock...
[2025-02-09 08:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:20:19] Production.INFO: count ==149
[2025-02-09 08:20:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:20:06 - End Time 2025-02-09 08:20:06
[2025-02-09 08:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435793', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435793', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435793', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435793', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:20:20] Production.INFO: ProcessCDR(1,14435793,1,1,2)
[2025-02-09 08:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435793', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435793', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:20:23] Production.INFO: ==5417== Releasing lock...
[2025-02-09 08:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:20:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:21:02] Production.INFO: ==5527== Lock acquired, processing the job...
[2025-02-09 13:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:21:02] Production.INFO: neon service started
[2025-02-09 13:21:02] Production.INFO: neon service started
[2025-02-09 13:21:02] Production.INFO: ==5527== Releasing lock...
[2025-02-09 13:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:21:02] Production.INFO: ==5531== Lock acquired, processing the job...
[2025-02-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:21:02] Production.INFO: ==5531== Releasing lock...
[2025-02-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:21:02] Production.INFO: ==5529== Lock acquired, processing the job...
[2025-02-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:21:03] Production.INFO: ==5529== Releasing lock...
[2025-02-09 08:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:21:03] Production.INFO: ==5537== Lock acquired, processing the job...
[2025-02-09 08:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:21:04] Production.INFO: ==5544== Lock acquired, processing the job...
[2025-02-09 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:21:04] Production.INFO: ==5533== Lock acquired, processing the job...
[2025-02-09 08:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:21:04] Production.INFO: ==5535== Lock acquired, processing the job...
[2025-02-09 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:21:04] Production.INFO: ==5542== Lock acquired, processing the job...
[2025-02-09 08:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:21:04] Production.INFO: ==5539== Lock acquired, processing the job...
[2025-02-09 08:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:21:04] Production.INFO: count ==21
[2025-02-09 08:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:21:04] Production.INFO: count ==21
[2025-02-09 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435794') start
[2025-02-09 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435794') end
[2025-02-09 08:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:21:04] Production.INFO: 1
[2025-02-09 08:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:21:04] Production.INFO: Account Balance Start.
[2025-02-09 08:21:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:21:04] Production.INFO: 117
[2025-02-09 08:21:04] Production.INFO: ==5544== Releasing lock...
[2025-02-09 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:21:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:21:04] Production.INFO: ==5535== Releasing lock...
[2025-02-09 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:21:04] Production.ERROR: done
[2025-02-09 08:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:21:04] Production.INFO: Total Charge 0
[2025-02-09 08:21:04] Production.INFO: CreateAllLog End
[2025-02-09 08:21:04] Production.ERROR: done
[2025-02-09 08:21:04] Production.INFO: Account Balance End.
[2025-02-09 08:21:05] Production.ERROR: CronJobId end 12
[2025-02-09 08:21:05] Production.INFO: ==5539== Releasing lock...
[2025-02-09 08:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:21:05
[end_date_ymd] => 2025-02-09 08:21:05
[RateCDR] => 1
)
[2025-02-09 08:21: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` >= '2025-02-09 05:21:05' and `end` < '2025-02-09 08:21: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 ,'')
[2025-02-09 08:21:12] Production.ERROR: CronJobId end10
[2025-02-09 08:21:12] Production.INFO: ==5537== Releasing lock...
[2025-02-09 08:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:21:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:21:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:21:14] Production.INFO: call_cost start
[2025-02-09 08:21:14] Production.INFO: call_cost end
[2025-02-09 08:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:21:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:21:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:21:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:21:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:21:15] Production.INFO: ==5533== Releasing lock...
[2025-02-09 08:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:21:18] Production.INFO: count ==149
[2025-02-09 08:21:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:21:05 - End Time 2025-02-09 08:21:05
[2025-02-09 08:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435798', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435798', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435798', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435798', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:21:18] Production.INFO: ProcessCDR(1,14435798,1,1,2)
[2025-02-09 08:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435798', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435798', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:21:21] Production.INFO: ==5542== Releasing lock...
[2025-02-09 08:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:21:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:22:01] Production.INFO: ==5599== Lock acquired, processing the job...
[2025-02-09 13:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:22:01] Production.INFO: neon service started
[2025-02-09 13:22:01] Production.INFO: neon service started
[2025-02-09 13:22:01] Production.INFO: ==5599== Releasing lock...
[2025-02-09 13:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:22:01] Production.INFO: ==5601== Lock acquired, processing the job...
[2025-02-09 08:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:22:02] Production.INFO: ==5601== Releasing lock...
[2025-02-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:22:02] Production.INFO: ==5603== Lock acquired, processing the job...
[2025-02-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:22:02] Production.INFO: ==5603== Releasing lock...
[2025-02-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:22:03] Production.INFO: ==5612== Lock acquired, processing the job...
[2025-02-09 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:22:03] Production.INFO: ==5616== Lock acquired, processing the job...
[2025-02-09 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:22:03] Production.INFO: Account Balance Start.
[2025-02-09 08:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:22:03] Production.INFO: 117
[2025-02-09 08:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:22:03] Production.INFO: count ==21
[2025-02-09 08:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:22:03] Production.INFO: count ==21
[2025-02-09 08:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435800') start
[2025-02-09 08:22:03] Production.INFO: ==5608== Lock acquired, processing the job...
[2025-02-09 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:22:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:22:03] Production.INFO: ==5610== Lock acquired, processing the job...
[2025-02-09 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:22:03] Production.INFO: ==5606== Lock acquired, processing the job...
[2025-02-09 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:22:03] Production.INFO: Total Charge 0
[2025-02-09 08:22:03] Production.INFO: ==5614== Lock acquired, processing the job...
[2025-02-09 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:22:03] Production.INFO: CreateAllLog End
[2025-02-09 08:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435800') end
[2025-02-09 08:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:22:03] Production.INFO: 1
[2025-02-09 08:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:22:03] Production.INFO: ==5616== Releasing lock...
[2025-02-09 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:22:03] Production.INFO: Account Balance End.
[2025-02-09 08:22:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:22:03] Production.INFO: ==5612== Releasing lock...
[2025-02-09 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:22:03] Production.INFO: ==5608== Releasing lock...
[2025-02-09 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:22:04] Production.ERROR: done
[2025-02-09 08:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:22:04] Production.ERROR: done
[2025-02-09 08:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:22:05
[end_date_ymd] => 2025-02-09 08:22:05
[RateCDR] => 1
)
[2025-02-09 08:22: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` >= '2025-02-09 05:22:05' and `end` < '2025-02-09 08:22: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 ,'')
[2025-02-09 08:22:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 08:22:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:22:10] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:22:10] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:22:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:22:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:22:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:22:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:22:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:22:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:22:10] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:22:10] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:22:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:22:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:22:10] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:22:11] Production.INFO: call_cost start
[2025-02-09 08:22:11] Production.INFO: call_cost end
[2025-02-09 08:22:11] Production.ERROR: CronJobId end10
[2025-02-09 08:22:11] Production.INFO: ==5610== Releasing lock...
[2025-02-09 08:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:22:11] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:22:11] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:22:11] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:22:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:22:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:22:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:22:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:22:11] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:22:11] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:22:11] Production.INFO: ==5606== Releasing lock...
[2025-02-09 08:22:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:22:11] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:22:18] Production.INFO: count ==149
[2025-02-09 08:22:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:22:05 - End Time 2025-02-09 08:22:05
[2025-02-09 08:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435803', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435803', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435803', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435803', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:22:18] Production.INFO: ProcessCDR(1,14435803,1,1,2)
[2025-02-09 08:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435803', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435803', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:22:21] Production.INFO: ==5614== Releasing lock...
[2025-02-09 08:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:22:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:23:02] Production.INFO: ==5679== Lock acquired, processing the job...
[2025-02-09 13:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:23:02] Production.INFO: neon service started
[2025-02-09 13:23:02] Production.INFO: neon service started
[2025-02-09 13:23:02] Production.INFO: ==5679== Releasing lock...
[2025-02-09 13:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:23:02] Production.INFO: ==5681== Lock acquired, processing the job...
[2025-02-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:23:02] Production.INFO: ==5681== Releasing lock...
[2025-02-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:23:02] Production.INFO: ==5683== Lock acquired, processing the job...
[2025-02-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:23:02] Production.INFO: ==5683== Releasing lock...
[2025-02-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:23:03] Production.INFO: ==5693== Lock acquired, processing the job...
[2025-02-09 08:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:23:03] Production.INFO: ==5689== Lock acquired, processing the job...
[2025-02-09 08:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:23:03] Production.INFO: ==5685== Lock acquired, processing the job...
[2025-02-09 08:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:23:03] Production.INFO: ==5687== Lock acquired, processing the job...
[2025-02-09 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:23:03] Production.INFO: ==5691== Lock acquired, processing the job...
[2025-02-09 08:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:23:03] Production.INFO: ==5695== Lock acquired, processing the job...
[2025-02-09 08:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:23:03] Production.ERROR: done
[2025-02-09 08:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:23:03] Production.INFO: Account Balance Start.
[2025-02-09 08:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:23:03] Production.INFO: 117
[2025-02-09 08:23:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:23:04] Production.INFO: count ==21
[2025-02-09 08:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:23:04] Production.INFO: count ==21
[2025-02-09 08:23:04] Production.ERROR: done
[2025-02-09 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435806') start
[2025-02-09 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435806') end
[2025-02-09 08:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:23:04] Production.INFO: 1
[2025-02-09 08:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:23:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:23:04] Production.INFO: ==5695== Releasing lock...
[2025-02-09 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:23:04] Production.INFO: Total Charge 0
[2025-02-09 08:23:04] Production.INFO: CreateAllLog End
[2025-02-09 08:23:04] Production.INFO: ==5687== Releasing lock...
[2025-02-09 08:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:23:04] Production.INFO: Account Balance End.
[2025-02-09 08:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:23:04] Production.INFO: ==5691== Releasing lock...
[2025-02-09 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:23:05
[end_date_ymd] => 2025-02-09 08:23:05
[RateCDR] => 1
)
[2025-02-09 08:23: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` >= '2025-02-09 05:23:05' and `end` < '2025-02-09 08:23: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 ,'')
[2025-02-09 08:23:10] Production.ERROR: CronJobId end10
[2025-02-09 08:23:10] Production.INFO: ==5689== Releasing lock...
[2025-02-09 08:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:23:13] Production.INFO: call_cost start
[2025-02-09 08:23:13] Production.INFO: call_cost end
[2025-02-09 08:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:23:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:23:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:23:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:23:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:23:14] Production.INFO: ==5685== Releasing lock...
[2025-02-09 08:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:23:18] Production.INFO: count ==150
[2025-02-09 08:23:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:23:05 - End Time 2025-02-09 08:23:05
[2025-02-09 08:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435808', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435808', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435808', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435808', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:23:18] Production.INFO: ProcessCDR(1,14435808,1,1,2)
[2025-02-09 08:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435808', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435808', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:23:23] Production.INFO: ==5693== Releasing lock...
[2025-02-09 08:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:23:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:24:01] Production.INFO: ==5762== Lock acquired, processing the job...
[2025-02-09 13:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:24:01] Production.INFO: neon service started
[2025-02-09 13:24:01] Production.INFO: neon service started
[2025-02-09 13:24:01] Production.INFO: ==5762== Releasing lock...
[2025-02-09 13:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:24:02] Production.INFO: ==5764== Lock acquired, processing the job...
[2025-02-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:24:02] Production.INFO: ==5766== Lock acquired, processing the job...
[2025-02-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:24:02] Production.INFO: ==5766== Releasing lock...
[2025-02-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:24:02] Production.INFO: ==5764== Releasing lock...
[2025-02-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:24:03] Production.INFO: ==5773== Lock acquired, processing the job...
[2025-02-09 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:24:03] Production.INFO: ==5769== Lock acquired, processing the job...
[2025-02-09 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:24:03] Production.INFO: ==5779== Lock acquired, processing the job...
[2025-02-09 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:24:03] Production.INFO: ==5771== Lock acquired, processing the job...
[2025-02-09 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:24:03] Production.INFO: ==5775== Lock acquired, processing the job...
[2025-02-09 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:24:03] Production.INFO: ==5777== Lock acquired, processing the job...
[2025-02-09 08:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:24:03] Production.INFO: count ==21
[2025-02-09 08:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:24:03] Production.INFO: count ==21
[2025-02-09 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435810') start
[2025-02-09 08:24:03] Production.INFO: Account Balance Start.
[2025-02-09 08:24:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:24:03] Production.INFO: 117
[2025-02-09 08:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:24:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:24:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:24:03] Production.INFO: Total Charge 0
[2025-02-09 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435810') end
[2025-02-09 08:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:24:03] Production.INFO: 1
[2025-02-09 08:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:24:03] Production.INFO: CreateAllLog End
[2025-02-09 08:24:04] Production.INFO: ==5779== Releasing lock...
[2025-02-09 08:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:24:04] Production.INFO: ==5771== Releasing lock...
[2025-02-09 08:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:24:04] Production.ERROR: done
[2025-02-09 08:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:24:04] Production.INFO: Account Balance End.
[2025-02-09 08:24:04] Production.ERROR: done
[2025-02-09 08:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:24:04] Production.INFO: ==5775== Releasing lock...
[2025-02-09 08:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:24:05
[end_date_ymd] => 2025-02-09 08:24:05
[RateCDR] => 1
)
[2025-02-09 08:24: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` >= '2025-02-09 05:24:05' and `end` < '2025-02-09 08:24: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 ,'')
[2025-02-09 08:24:10] Production.ERROR: CronJobId end10
[2025-02-09 08:24:10] Production.INFO: ==5773== Releasing lock...
[2025-02-09 08:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:24:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:24:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:24:13] Production.INFO: call_cost start
[2025-02-09 08:24:13] Production.INFO: call_cost end
[2025-02-09 08:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:24:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:24:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:24:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:24:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:24:14] Production.INFO: ==5769== Releasing lock...
[2025-02-09 08:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:24:19] Production.INFO: count ==151
[2025-02-09 08:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:24:05 - End Time 2025-02-09 08:24:05
[2025-02-09 08:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435813', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435813', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435813', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435813', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:24:19] Production.INFO: ProcessCDR(1,14435813,1,1,2)
[2025-02-09 08:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435813', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435813', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:24:23] Production.INFO: ==5777== Releasing lock...
[2025-02-09 08:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:24:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:25:01] Production.INFO: ==5841== Lock acquired, processing the job...
[2025-02-09 13:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:25:01] Production.INFO: neon service started
[2025-02-09 13:25:01] Production.INFO: neon service started
[2025-02-09 13:25:01] Production.INFO: ==5841== Releasing lock...
[2025-02-09 13:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:25:02] Production.INFO: ==5845== Lock acquired, processing the job...
[2025-02-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:25:02] Production.INFO: ==5845== Releasing lock...
[2025-02-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:25:02] Production.INFO: ==5843== Lock acquired, processing the job...
[2025-02-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:25:02] Production.INFO: ==5843== Releasing lock...
[2025-02-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:25:03] Production.INFO: ==5848== Lock acquired, processing the job...
[2025-02-09 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:25:03] Production.INFO: ==5850== Lock acquired, processing the job...
[2025-02-09 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:25:03] Production.INFO: ==5856== Lock acquired, processing the job...
[2025-02-09 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:25:03] Production.INFO: ==5852== Lock acquired, processing the job...
[2025-02-09 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:25:03] Production.INFO: ==5858== Lock acquired, processing the job...
[2025-02-09 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:25:03] Production.INFO: ==5854== Lock acquired, processing the job...
[2025-02-09 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:25:03] Production.INFO: count ==21
[2025-02-09 08:25:03] Production.INFO: ==5850== Releasing lock...
[2025-02-09 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:25:03] Production.INFO: count ==21
[2025-02-09 08:25:03] Production.INFO: Account Balance Start.
[2025-02-09 08:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:25:03] Production.INFO: 117
[2025-02-09 08:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435816') start
[2025-02-09 08:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:25:04] Production.ERROR: done
[2025-02-09 08:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:25:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435816') end
[2025-02-09 08:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:25:04] Production.INFO: 1
[2025-02-09 08:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:25:04] Production.INFO: Total Charge 0
[2025-02-09 08:25:04] Production.INFO: CreateAllLog End
[2025-02-09 08:25:04] Production.INFO: ==5858== Releasing lock...
[2025-02-09 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:25:04] Production.ERROR: done
[2025-02-09 08:25:04] Production.INFO: Account Balance End.
[2025-02-09 08:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:25:04] Production.INFO: ==5854== Releasing lock...
[2025-02-09 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:25:05
[end_date_ymd] => 2025-02-09 08:25:05
[RateCDR] => 1
)
[2025-02-09 08:25: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` >= '2025-02-09 05:25:05' and `end` < '2025-02-09 08:25: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 ,'')
[2025-02-09 08:25:11] Production.ERROR: CronJobId end10
[2025-02-09 08:25:11] Production.INFO: ==5852== Releasing lock...
[2025-02-09 08:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:25:14] Production.INFO: call_cost start
[2025-02-09 08:25:14] Production.INFO: call_cost end
[2025-02-09 08:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:25:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:25:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:25:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:25:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:25:15] Production.INFO: ==5848== Releasing lock...
[2025-02-09 08:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:25:18] Production.INFO: count ==151
[2025-02-09 08:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:25:05 - End Time 2025-02-09 08:25:05
[2025-02-09 08:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435818', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435818', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435818', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435818', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:25:18] Production.INFO: ProcessCDR(1,14435818,1,1,2)
[2025-02-09 08:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435818', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435818', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:25:21] Production.INFO: ==5856== Releasing lock...
[2025-02-09 08:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:25:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:26:02] Production.INFO: ==5920== Lock acquired, processing the job...
[2025-02-09 13:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:26:02] Production.INFO: neon service started
[2025-02-09 13:26:02] Production.INFO: neon service started
[2025-02-09 13:26:02] Production.INFO: ==5920== Releasing lock...
[2025-02-09 13:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:26:02] Production.INFO: ==5922== Lock acquired, processing the job...
[2025-02-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:26:02] Production.INFO: ==5922== Releasing lock...
[2025-02-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:26:03] Production.INFO: ==5924== Lock acquired, processing the job...
[2025-02-09 13:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:26:03] Production.INFO: ==5924== Releasing lock...
[2025-02-09 13:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:26:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:26:03] Production.INFO: ==5934== Lock acquired, processing the job...
[2025-02-09 08:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:26:03] Production.INFO: ==5926== Lock acquired, processing the job...
[2025-02-09 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:26:04] Production.INFO: ==5936== Lock acquired, processing the job...
[2025-02-09 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:26:04] Production.INFO: ==5928== Lock acquired, processing the job...
[2025-02-09 08:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:26:04] Production.INFO: ==5930== Lock acquired, processing the job...
[2025-02-09 08:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:26:04] Production.INFO: ==5932== Lock acquired, processing the job...
[2025-02-09 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:26:04] Production.INFO: Account Balance Start.
[2025-02-09 08:26:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:26:04] Production.INFO: 117
[2025-02-09 08:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:26:04] Production.INFO: count ==21
[2025-02-09 08:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:26:04] Production.INFO: count ==21
[2025-02-09 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435820') start
[2025-02-09 08:26:04] Production.ERROR: done
[2025-02-09 08:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:26:04] Production.INFO: Total Charge 0
[2025-02-09 08:26:04] Production.INFO: CreateAllLog End
[2025-02-09 08:26:04] Production.INFO: ==5928== Releasing lock...
[2025-02-09 08:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435820') end
[2025-02-09 08:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:26:04] Production.INFO: 1
[2025-02-09 08:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:26:04] Production.INFO: ==5936== Releasing lock...
[2025-02-09 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:26:04] Production.ERROR: done
[2025-02-09 08:26:04] Production.INFO: Account Balance End.
[2025-02-09 08:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:26:04] Production.INFO: ==5932== Releasing lock...
[2025-02-09 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:26:05
[end_date_ymd] => 2025-02-09 08:26:05
[RateCDR] => 1
)
[2025-02-09 08:26: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` >= '2025-02-09 05:26:05' and `end` < '2025-02-09 08:26: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 ,'')
[2025-02-09 08:26:12] Production.ERROR: CronJobId end10
[2025-02-09 08:26:12] Production.INFO: ==5930== Releasing lock...
[2025-02-09 08:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:26:14] Production.INFO: call_cost start
[2025-02-09 08:26:15] Production.INFO: call_cost end
[2025-02-09 08:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:26:15] Production.INFO: ==5926== Releasing lock...
[2025-02-09 08:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:26:19] Production.INFO: count ==151
[2025-02-09 08:26:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:26:05 - End Time 2025-02-09 08:26:05
[2025-02-09 08:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435823', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435823', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435823', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435823', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:26:19] Production.INFO: ProcessCDR(1,14435823,1,1,2)
[2025-02-09 08:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435823', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435823', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:26:22] Production.INFO: ==5934== Releasing lock...
[2025-02-09 08:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:26:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:27:01] Production.INFO: ==5997== Lock acquired, processing the job...
[2025-02-09 13:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:27:01] Production.INFO: neon service started
[2025-02-09 13:27:01] Production.INFO: neon service started
[2025-02-09 13:27:01] Production.INFO: ==5997== Releasing lock...
[2025-02-09 13:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:27:02] Production.INFO: ==5999== Lock acquired, processing the job...
[2025-02-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:27:02] Production.INFO: ==5999== Releasing lock...
[2025-02-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:27:02] Production.INFO: ==6001== Lock acquired, processing the job...
[2025-02-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:27:02] Production.INFO: ==6001== Releasing lock...
[2025-02-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:27:03] Production.INFO: ==6015== Lock acquired, processing the job...
[2025-02-09 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:27:03] Production.INFO: ==6005== Lock acquired, processing the job...
[2025-02-09 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:27:03] Production.INFO: ==6007== Lock acquired, processing the job...
[2025-02-09 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:27:03] Production.INFO: ==6009== Lock acquired, processing the job...
[2025-02-09 08:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:27:03] Production.INFO: ==6011== Lock acquired, processing the job...
[2025-02-09 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:27:03] Production.INFO: ==6013== Lock acquired, processing the job...
[2025-02-09 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:27:03] Production.INFO: count ==21
[2025-02-09 08:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:27:03] Production.INFO: count ==21
[2025-02-09 08:27:03] Production.INFO: Account Balance Start.
[2025-02-09 08:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:27:03] Production.INFO: 117
[2025-02-09 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435824') start
[2025-02-09 08:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:27:03] Production.INFO: ==6007== Releasing lock...
[2025-02-09 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435824') end
[2025-02-09 08:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:27:03] Production.INFO: 1
[2025-02-09 08:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:27:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:27:03] Production.INFO: ==6015== Releasing lock...
[2025-02-09 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:27:03] Production.INFO: Total Charge 0
[2025-02-09 08:27:04] Production.INFO: CreateAllLog End
[2025-02-09 08:27:04] Production.ERROR: done
[2025-02-09 08:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:27:04] Production.ERROR: done
[2025-02-09 08:27:04] Production.INFO: Account Balance End.
[2025-02-09 08:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:27:04] Production.INFO: ==6011== Releasing lock...
[2025-02-09 08:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:27:05
[end_date_ymd] => 2025-02-09 08:27:05
[RateCDR] => 1
)
[2025-02-09 08:27: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` >= '2025-02-09 05:27:05' and `end` < '2025-02-09 08:27: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 ,'')
[2025-02-09 08:27:11] Production.ERROR: CronJobId end10
[2025-02-09 08:27:11] Production.INFO: ==6009== Releasing lock...
[2025-02-09 08:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:27:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:27:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:27:14] Production.INFO: call_cost start
[2025-02-09 08:27:14] Production.INFO: call_cost end
[2025-02-09 08:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:27:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:27:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:27:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:27:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:27:14] Production.INFO: ==6005== Releasing lock...
[2025-02-09 08:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:27:18] Production.INFO: count ==151
[2025-02-09 08:27:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:27:05 - End Time 2025-02-09 08:27:05
[2025-02-09 08:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435828', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435828', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435828', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435828', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:27:18] Production.INFO: ProcessCDR(1,14435828,1,1,2)
[2025-02-09 08:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435828', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435828', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:27:21] Production.INFO: ==6013== Releasing lock...
[2025-02-09 08:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:27:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:28:02] Production.INFO: ==6075== Lock acquired, processing the job...
[2025-02-09 13:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:28:02] Production.INFO: neon service started
[2025-02-09 13:28:02] Production.INFO: neon service started
[2025-02-09 13:28:02] Production.INFO: ==6075== Releasing lock...
[2025-02-09 13:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:28:02] Production.INFO: ==6077== Lock acquired, processing the job...
[2025-02-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:28:02] Production.INFO: ==6077== Releasing lock...
[2025-02-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:28:03] Production.INFO: ==6079== Lock acquired, processing the job...
[2025-02-09 13:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:28:03] Production.INFO: ==6079== Releasing lock...
[2025-02-09 13:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:28:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:28:03] Production.INFO: ==6086== Lock acquired, processing the job...
[2025-02-09 08:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:28:03] Production.INFO: ==6088== Lock acquired, processing the job...
[2025-02-09 08:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:28:03] Production.INFO: Account Balance Start.
[2025-02-09 08:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:28:03] Production.INFO: 117
[2025-02-09 08:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:28:03] Production.INFO: ==6082== Lock acquired, processing the job...
[2025-02-09 08:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:28:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:28:03] Production.INFO: Total Charge 0
[2025-02-09 08:28:04] Production.INFO: CreateAllLog End
[2025-02-09 08:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:28:04] Production.INFO: ==6084== Lock acquired, processing the job...
[2025-02-09 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:28:04] Production.INFO: Account Balance End.
[2025-02-09 08:28:04] Production.INFO: ==6090== Lock acquired, processing the job...
[2025-02-09 08:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:28:04] Production.INFO: ==6088== Releasing lock...
[2025-02-09 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:28:04] Production.INFO: ==6092== Lock acquired, processing the job...
[2025-02-09 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:28:04] Production.INFO: count ==21
[2025-02-09 08:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:28:04] Production.INFO: count ==21
[2025-02-09 08:28:04] Production.INFO: ==6084== Releasing lock...
[2025-02-09 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435832') start
[2025-02-09 08:28:04] Production.ERROR: done
[2025-02-09 08:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435832') end
[2025-02-09 08:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:28:04] Production.INFO: 1
[2025-02-09 08:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:28:04] Production.ERROR: done
[2025-02-09 08:28:04] Production.INFO: ==6092== Releasing lock...
[2025-02-09 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:28:05
[end_date_ymd] => 2025-02-09 08:28:05
[RateCDR] => 1
)
[2025-02-09 08:28: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` >= '2025-02-09 05:28:05' and `end` < '2025-02-09 08:28: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 ,'')
[2025-02-09 08:28:12] Production.ERROR: CronJobId end10
[2025-02-09 08:28:12] Production.INFO: ==6086== Releasing lock...
[2025-02-09 08:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:28:13] Production.INFO: call_cost start
[2025-02-09 08:28:13] Production.INFO: call_cost end
[2025-02-09 08:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:28:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:28:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:28:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:28:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:28:14] Production.INFO: ==6082== Releasing lock...
[2025-02-09 08:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:28:18] Production.INFO: count ==151
[2025-02-09 08:28:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:28:05 - End Time 2025-02-09 08:28:05
[2025-02-09 08:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435833', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435833', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435833', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435833', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:28:18] Production.INFO: ProcessCDR(1,14435833,1,1,2)
[2025-02-09 08:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435833', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435833', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:28:21] Production.INFO: ==6090== Releasing lock...
[2025-02-09 08:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:28:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:29:01] Production.INFO: ==6157== Lock acquired, processing the job...
[2025-02-09 13:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:29:01] Production.INFO: neon service started
[2025-02-09 13:29:01] Production.INFO: neon service started
[2025-02-09 13:29:01] Production.INFO: ==6157== Releasing lock...
[2025-02-09 13:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:29:01] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 08:29:02] Production.INFO: ==6159== Lock acquired, processing the job...
[2025-02-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:29:02] Production.INFO: ==6161== Lock acquired, processing the job...
[2025-02-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:29:02] Production.INFO: ==6161== Releasing lock...
[2025-02-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:29:02] Production.INFO: ==6159== Releasing lock...
[2025-02-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:29:03] Production.INFO: ==6171== Lock acquired, processing the job...
[2025-02-09 08:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:29:03] Production.INFO: ==6173== Lock acquired, processing the job...
[2025-02-09 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:29:03] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-02-09 08:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:29:03] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-02-09 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:29:03] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-02-09 08:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:29:03] Production.INFO: ==6169== Lock acquired, processing the job...
[2025-02-09 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:29:03] Production.INFO: count ==21
[2025-02-09 08:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:29:03] Production.INFO: count ==21
[2025-02-09 08:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435834') start
[2025-02-09 08:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:29:03] Production.INFO: Account Balance Start.
[2025-02-09 08:29:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:29:03] Production.INFO: 117
[2025-02-09 08:29:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435834') end
[2025-02-09 08:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:29:03] Production.INFO: 1
[2025-02-09 08:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:29:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:29:03] Production.INFO: ==6173== Releasing lock...
[2025-02-09 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:29:03] Production.ERROR: done
[2025-02-09 08:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:29:04] Production.INFO: Total Charge 0
[2025-02-09 08:29:04] Production.INFO: CreateAllLog End
[2025-02-09 08:29:04] Production.ERROR: done
[2025-02-09 08:29:04] Production.INFO: ==6165== Releasing lock...
[2025-02-09 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:29:04] Production.INFO: Account Balance End.
[2025-02-09 08:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:29:04] Production.INFO: ==6169== Releasing lock...
[2025-02-09 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:29:05
[end_date_ymd] => 2025-02-09 08:29:05
[RateCDR] => 1
)
[2025-02-09 08:29: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` >= '2025-02-09 05:29:05' and `end` < '2025-02-09 08:29: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 ,'')
[2025-02-09 08:29:11] Production.ERROR: CronJobId end10
[2025-02-09 08:29:11] Production.INFO: ==6167== Releasing lock...
[2025-02-09 08:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:29:13] Production.INFO: call_cost start
[2025-02-09 08:29:13] Production.INFO: call_cost end
[2025-02-09 08:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:29:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:29:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:29:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:29:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:29:14] Production.INFO: ==6163== Releasing lock...
[2025-02-09 08:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:29:18] Production.INFO: count ==151
[2025-02-09 08:29:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:29:05 - End Time 2025-02-09 08:29:05
[2025-02-09 08:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435838', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435838', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435838', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435838', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:29:18] Production.INFO: ProcessCDR(1,14435838,1,1,2)
[2025-02-09 08:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435838', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435838', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:29:21] Production.INFO: ==6171== Releasing lock...
[2025-02-09 08:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:29:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:30:02] Production.INFO: ==6236== Lock acquired, processing the job...
[2025-02-09 13:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:30:02] Production.INFO: neon service started
[2025-02-09 13:30:02] Production.INFO: neon service started
[2025-02-09 13:30:02] Production.INFO: ==6236== Releasing lock...
[2025-02-09 13:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:30:02] Production.INFO: ==6238== Lock acquired, processing the job...
[2025-02-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:30:02] Production.INFO: ==6240== Lock acquired, processing the job...
[2025-02-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:30:02] Production.INFO: ==6238== Releasing lock...
[2025-02-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:30:03] Production.INFO: ==6240== Releasing lock...
[2025-02-09 13:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:30:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:30:03] Production.INFO: ==6242== Lock acquired, processing the job...
[2025-02-09 08:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 08:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 08:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 08:30:04] Production.INFO: ==6242== Releasing lock...
[2025-02-09 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 08:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 08:30:04] Production.INFO: ==6244== Lock acquired, processing the job...
[2025-02-09 08:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:30:04] Production.INFO: ==6248== Lock acquired, processing the job...
[2025-02-09 08:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:30:04] Production.INFO: ==6246== Lock acquired, processing the job...
[2025-02-09 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:30:04] Production.INFO: ==6257== Lock acquired, processing the job...
[2025-02-09 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:30:04] Production.INFO: ==6253== Lock acquired, processing the job...
[2025-02-09 08:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:30:04] Production.INFO: ==6250== Lock acquired, processing the job...
[2025-02-09 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:30:04] Production.INFO: ==6255== Lock acquired, processing the job...
[2025-02-09 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 08:30:04] Production.INFO: Account Balance Start.
[2025-02-09 08:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:30:04] Production.INFO: 117
[2025-02-09 08:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:30:04] Production.INFO: count ==21
[2025-02-09 08:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:30:04] Production.INFO: ==6246== Releasing lock...
[2025-02-09 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:30:04] Production.INFO: count ==21
[2025-02-09 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435841') start
[2025-02-09 08:30:04] Production.ERROR: done
[2025-02-09 08:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 08:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435843', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 08:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:30:05] Production.ERROR: done
[2025-02-09 08:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14435841') end
[2025-02-09 08:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:30:05] Production.INFO: 1
[2025-02-09 08:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:30:05] Production.INFO: Total Charge 0
[2025-02-09 08:30:05] Production.INFO: CreateAllLog End
[2025-02-09 08:30:05] Production.INFO: ==6257== Releasing lock...
[2025-02-09 08:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:30:05] Production.ERROR: done
[2025-02-09 08:30:05] Production.INFO: Account Balance End.
[2025-02-09 08:30:05] Production.ERROR: CronJobId end 12
[2025-02-09 08:30:05] Production.INFO: ==6250== Releasing lock...
[2025-02-09 08:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:30:06
[end_date_ymd] => 2025-02-09 08:30:06
[RateCDR] => 1
)
[2025-02-09 08:30: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-02-09 05:30:06' and `end` < '2025-02-09 08:30: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-02-09 08:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435843', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 08:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 08:30:08] Production.INFO: ProcessCDR(1,14435843,1,1,2)
[2025-02-09 08:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435843,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435843,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:30:09] Production.INFO: ==6255== Releasing lock...
[2025-02-09 08:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 08:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 08:30:13] Production.ERROR: CronJobId end10
[2025-02-09 08:30:13] Production.INFO: ==6248== Releasing lock...
[2025-02-09 08:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:30:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:30:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:30:15] Production.INFO: call_cost start
[2025-02-09 08:30:15] Production.INFO: call_cost end
[2025-02-09 08:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:30:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:30:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:30:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:30:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:30:16] Production.INFO: ==6244== Releasing lock...
[2025-02-09 08:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:30:19] Production.INFO: count ==153
[2025-02-09 08:30:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:30:06 - End Time 2025-02-09 08:30:06
[2025-02-09 08:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435844', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435844', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435844', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435844', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:30:19] Production.INFO: ProcessCDR(1,14435844,1,1,2)
[2025-02-09 08:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435844', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435844', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:30:22] Production.INFO: ==6253== Releasing lock...
[2025-02-09 08:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:30:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:31:01] Production.INFO: ==6319== Lock acquired, processing the job...
[2025-02-09 13:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:31:01] Production.INFO: neon service started
[2025-02-09 13:31:01] Production.INFO: neon service started
[2025-02-09 13:31:01] Production.INFO: ==6319== Releasing lock...
[2025-02-09 13:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:31:01] Production.INFO: ==6323== Lock acquired, processing the job...
[2025-02-09 13:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:31:01] Production.INFO: ==6323== Releasing lock...
[2025-02-09 13:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:31:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:31:02] Production.INFO: ==6321== Lock acquired, processing the job...
[2025-02-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:31:02] Production.INFO: ==6321== Releasing lock...
[2025-02-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:31:03] Production.INFO: ==6326== Lock acquired, processing the job...
[2025-02-09 08:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:31:03] Production.INFO: ==6334== Lock acquired, processing the job...
[2025-02-09 08:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:31:03] Production.INFO: ==6328== Lock acquired, processing the job...
[2025-02-09 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:31:03] Production.INFO: ==6330== Lock acquired, processing the job...
[2025-02-09 08:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:31:03] Production.INFO: ==6332== Lock acquired, processing the job...
[2025-02-09 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:31:03] Production.INFO: ==6336== Lock acquired, processing the job...
[2025-02-09 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:31:03] Production.INFO: Account Balance Start.
[2025-02-09 08:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:31:03] Production.INFO: 117
[2025-02-09 08:31:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:31:03] Production.INFO: count ==21
[2025-02-09 08:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:31:03] Production.INFO: count ==21
[2025-02-09 08:31:03] Production.ERROR: done
[2025-02-09 08:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435848') start
[2025-02-09 08:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:31:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:31:04] Production.INFO: Total Charge 0
[2025-02-09 08:31:04] Production.INFO: CreateAllLog End
[2025-02-09 08:31:04] Production.ERROR: done
[2025-02-09 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435848') end
[2025-02-09 08:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:31:04] Production.INFO: 1
[2025-02-09 08:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:31:04] Production.INFO: ==6328== Releasing lock...
[2025-02-09 08:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:31:04] Production.INFO: ==6336== Releasing lock...
[2025-02-09 08:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:31:04] Production.INFO: Account Balance End.
[2025-02-09 08:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:31:04] Production.INFO: ==6332== Releasing lock...
[2025-02-09 08:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:31:05
[end_date_ymd] => 2025-02-09 08:31:05
[RateCDR] => 1
)
[2025-02-09 08:31: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` >= '2025-02-09 05:31:05' and `end` < '2025-02-09 08:31: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 ,'')
[2025-02-09 08:31:11] Production.ERROR: CronJobId end10
[2025-02-09 08:31:11] Production.INFO: ==6330== Releasing lock...
[2025-02-09 08:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:31:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:31:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:31:13] Production.INFO: call_cost start
[2025-02-09 08:31:13] Production.INFO: call_cost end
[2025-02-09 08:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:31:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:31:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:31:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:31:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:31:14] Production.INFO: ==6326== Releasing lock...
[2025-02-09 08:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:31:19] Production.INFO: count ==154
[2025-02-09 08:31:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:31:05 - End Time 2025-02-09 08:31:05
[2025-02-09 08:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435849', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435849', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435849', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435849', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:31:19] Production.INFO: ProcessCDR(1,14435849,1,1,2)
[2025-02-09 08:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435849', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435849', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:31:22] Production.INFO: ==6334== Releasing lock...
[2025-02-09 08:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:31:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:32:02] Production.INFO: ==6393== Lock acquired, processing the job...
[2025-02-09 13:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:32:02] Production.INFO: neon service started
[2025-02-09 13:32:02] Production.INFO: neon service started
[2025-02-09 13:32:02] Production.INFO: ==6393== Releasing lock...
[2025-02-09 13:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:32:02] Production.INFO: ==6395== Lock acquired, processing the job...
[2025-02-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:32:02] Production.INFO: ==6395== Releasing lock...
[2025-02-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:32:03] Production.INFO: ==6397== Lock acquired, processing the job...
[2025-02-09 13:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:32:03] Production.INFO: ==6397== Releasing lock...
[2025-02-09 13:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:32:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:32:03] Production.INFO: ==6408== Lock acquired, processing the job...
[2025-02-09 08:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:32:03] Production.INFO: ==6412== Lock acquired, processing the job...
[2025-02-09 08:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:32:04] Production.INFO: Account Balance Start.
[2025-02-09 08:32:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:32:04] Production.INFO: 117
[2025-02-09 08:32:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:32:04] Production.INFO: count ==21
[2025-02-09 08:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:32:04] Production.INFO: count ==21
[2025-02-09 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435850') start
[2025-02-09 08:32:04] Production.INFO: ==6402== Lock acquired, processing the job...
[2025-02-09 08:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:32:04] Production.INFO: ==6404== Lock acquired, processing the job...
[2025-02-09 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:32:04] Production.INFO: ==6406== Lock acquired, processing the job...
[2025-02-09 08:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435850') end
[2025-02-09 08:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:32:04] Production.INFO: 1
[2025-02-09 08:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:32:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:32:04] Production.INFO: ==6412== Releasing lock...
[2025-02-09 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:32:04] Production.INFO: Total Charge 0
[2025-02-09 08:32:04] Production.INFO: ==6410== Lock acquired, processing the job...
[2025-02-09 08:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:32:04] Production.INFO: CreateAllLog End
[2025-02-09 08:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:32:04] Production.INFO: Account Balance End.
[2025-02-09 08:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:32:04] Production.INFO: ==6408== Releasing lock...
[2025-02-09 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:32:04] Production.ERROR: done
[2025-02-09 08:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:32:04] Production.INFO: ==6404== Releasing lock...
[2025-02-09 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:32:04] Production.ERROR: done
[2025-02-09 08:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:32:06
[end_date_ymd] => 2025-02-09 08:32:06
[RateCDR] => 1
)
[2025-02-09 08:32: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-02-09 05:32:06' and `end` < '2025-02-09 08:32: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-02-09 08:32:13] Production.ERROR: CronJobId end10
[2025-02-09 08:32:13] Production.INFO: ==6406== Releasing lock...
[2025-02-09 08:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:32:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:32:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:32:16] Production.INFO: call_cost start
[2025-02-09 08:32:16] Production.INFO: call_cost end
[2025-02-09 08:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:32:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:32:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:32:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:32:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:32:16] Production.INFO: ==6402== Releasing lock...
[2025-02-09 08:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:32:18] Production.INFO: count ==154
[2025-02-09 08:32:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:32:06 - End Time 2025-02-09 08:32:06
[2025-02-09 08:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435854', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435854', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435854', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435854', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:32:18] Production.INFO: ProcessCDR(1,14435854,1,1,2)
[2025-02-09 08:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435854', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435854', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:32:22] Production.INFO: ==6410== Releasing lock...
[2025-02-09 08:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:32:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:33:01] Production.INFO: ==6472== Lock acquired, processing the job...
[2025-02-09 13:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:33:01] Production.INFO: neon service started
[2025-02-09 13:33:01] Production.INFO: neon service started
[2025-02-09 13:33:01] Production.INFO: ==6472== Releasing lock...
[2025-02-09 13:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:33:02] Production.INFO: ==6476== Lock acquired, processing the job...
[2025-02-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:33:02] Production.INFO: ==6476== Releasing lock...
[2025-02-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:33:02] Production.INFO: ==6474== Lock acquired, processing the job...
[2025-02-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:33:02] Production.INFO: ==6474== Releasing lock...
[2025-02-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:33:03] Production.INFO: ==6479== Lock acquired, processing the job...
[2025-02-09 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:33:03] Production.INFO: ==6485== Lock acquired, processing the job...
[2025-02-09 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:33:03] Production.INFO: Account Balance Start.
[2025-02-09 08:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:33:03] Production.INFO: ==6481== Lock acquired, processing the job...
[2025-02-09 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:33:03] Production.INFO: 117
[2025-02-09 08:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:33:03] Production.INFO: ==6483== Lock acquired, processing the job...
[2025-02-09 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:33:03] Production.INFO: Total Charge 0
[2025-02-09 08:33:03] Production.INFO: ==6489== Lock acquired, processing the job...
[2025-02-09 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:33:03] Production.INFO: ==6487== Lock acquired, processing the job...
[2025-02-09 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:33:03] Production.INFO: CreateAllLog End
[2025-02-09 08:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:33:03] Production.INFO: ==6481== Releasing lock...
[2025-02-09 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:33:03] Production.INFO: Account Balance End.
[2025-02-09 08:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:33:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:33:03] Production.INFO: ==6485== Releasing lock...
[2025-02-09 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:33:03] Production.INFO: count ==21
[2025-02-09 08:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:33:03] Production.INFO: count ==21
[2025-02-09 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435858') start
[2025-02-09 08:33:04] Production.ERROR: done
[2025-02-09 08:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435858') end
[2025-02-09 08:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:33:04] Production.INFO: 1
[2025-02-09 08:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:33:04] Production.ERROR: done
[2025-02-09 08:33:04] Production.INFO: ==6489== Releasing lock...
[2025-02-09 08:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:33:05
[end_date_ymd] => 2025-02-09 08:33:05
[RateCDR] => 1
)
[2025-02-09 08:33: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` >= '2025-02-09 05:33:05' and `end` < '2025-02-09 08:33: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 ,'')
[2025-02-09 08:33:11] Production.ERROR: CronJobId end10
[2025-02-09 08:33:11] Production.INFO: ==6483== Releasing lock...
[2025-02-09 08:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:33:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:33:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:33:13] Production.INFO: call_cost start
[2025-02-09 08:33:13] Production.INFO: call_cost end
[2025-02-09 08:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:33:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:33:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:33:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:33:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:33:14] Production.INFO: ==6479== Releasing lock...
[2025-02-09 08:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:33:18] Production.INFO: count ==154
[2025-02-09 08:33:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:33:05 - End Time 2025-02-09 08:33:05
[2025-02-09 08:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435859', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435859', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435859', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435859', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:33:18] Production.INFO: ProcessCDR(1,14435859,1,1,2)
[2025-02-09 08:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435859', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435859', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:33:21] Production.INFO: ==6487== Releasing lock...
[2025-02-09 08:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:33:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:34:02] Production.INFO: ==6554== Lock acquired, processing the job...
[2025-02-09 13:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:34:02] Production.INFO: neon service started
[2025-02-09 13:34:02] Production.INFO: neon service started
[2025-02-09 13:34:02] Production.INFO: ==6554== Releasing lock...
[2025-02-09 13:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:34:02] Production.INFO: ==6556== Lock acquired, processing the job...
[2025-02-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:34:02] Production.INFO: ==6558== Lock acquired, processing the job...
[2025-02-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:34:02] Production.INFO: ==6556== Releasing lock...
[2025-02-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:34:03] Production.INFO: ==6558== Releasing lock...
[2025-02-09 13:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:34:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:34:03] Production.INFO: ==6560== Lock acquired, processing the job...
[2025-02-09 08:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:34:03] Production.INFO: ==6562== Lock acquired, processing the job...
[2025-02-09 08:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:34:03] Production.INFO: ==6565== Lock acquired, processing the job...
[2025-02-09 08:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:34:04] Production.INFO: ==6569== Lock acquired, processing the job...
[2025-02-09 08:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:34:04] Production.INFO: ==6567== Lock acquired, processing the job...
[2025-02-09 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:34:04] Production.INFO: ==6571== Lock acquired, processing the job...
[2025-02-09 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:34:04] Production.INFO: Account Balance Start.
[2025-02-09 08:34:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:34:04] Production.INFO: 117
[2025-02-09 08:34:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:34:04] Production.INFO: ==6562== Releasing lock...
[2025-02-09 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:34:04] Production.ERROR: done
[2025-02-09 08:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:34:04] Production.INFO: count ==21
[2025-02-09 08:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:34:04] Production.INFO: count ==21
[2025-02-09 08:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435863') start
[2025-02-09 08:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:34:04] Production.ERROR: done
[2025-02-09 08:34:04] Production.INFO: Total Charge 0
[2025-02-09 08:34:04] Production.INFO: CreateAllLog End
[2025-02-09 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435863') end
[2025-02-09 08:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:34:04] Production.INFO: 1
[2025-02-09 08:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:34:04] Production.INFO: ==6571== Releasing lock...
[2025-02-09 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:34:04] Production.INFO: Account Balance End.
[2025-02-09 08:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:34:04] Production.INFO: ==6567== Releasing lock...
[2025-02-09 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:34:05
[end_date_ymd] => 2025-02-09 08:34:05
[RateCDR] => 1
)
[2025-02-09 08:34: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` >= '2025-02-09 05:34:05' and `end` < '2025-02-09 08:34: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 ,'')
[2025-02-09 08:34:12] Production.ERROR: CronJobId end10
[2025-02-09 08:34:12] Production.INFO: ==6565== Releasing lock...
[2025-02-09 08:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:34:14] Production.INFO: call_cost start
[2025-02-09 08:34:14] Production.INFO: call_cost end
[2025-02-09 08:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:34:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:34:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:34:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:34:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:34:15] Production.INFO: ==6560== Releasing lock...
[2025-02-09 08:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:34:19] Production.INFO: count ==154
[2025-02-09 08:34:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:34:05 - End Time 2025-02-09 08:34:05
[2025-02-09 08:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435864', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435864', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435864', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435864', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:34:19] Production.INFO: ProcessCDR(1,14435864,1,1,2)
[2025-02-09 08:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435864', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435864', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:34:22] Production.INFO: ==6569== Releasing lock...
[2025-02-09 08:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:34:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:35:01] Production.INFO: ==6635== Lock acquired, processing the job...
[2025-02-09 13:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:35:01] Production.INFO: neon service started
[2025-02-09 13:35:01] Production.INFO: neon service started
[2025-02-09 13:35:01] Production.INFO: ==6635== Releasing lock...
[2025-02-09 13:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:35:01] Production.INFO: ==6637== Lock acquired, processing the job...
[2025-02-09 08:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:35:02] Production.INFO: ==6637== Releasing lock...
[2025-02-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:35:02] Production.INFO: ==6639== Lock acquired, processing the job...
[2025-02-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:35:02] Production.INFO: ==6639== Releasing lock...
[2025-02-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:35:03] Production.INFO: ==6648== Lock acquired, processing the job...
[2025-02-09 08:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:35:03] Production.INFO: ==6650== Lock acquired, processing the job...
[2025-02-09 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:35:03] Production.INFO: ==6642== Lock acquired, processing the job...
[2025-02-09 08:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:35:03] Production.INFO: Account Balance Start.
[2025-02-09 08:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:35:03] Production.INFO: ==6644== Lock acquired, processing the job...
[2025-02-09 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:35:03] Production.INFO: 117
[2025-02-09 08:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:35:03] Production.INFO: ==6646== Lock acquired, processing the job...
[2025-02-09 08:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:35:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:35:03] Production.INFO: Total Charge 0
[2025-02-09 08:35:03] Production.INFO: ==6652== Lock acquired, processing the job...
[2025-02-09 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:35:03] Production.INFO: CreateAllLog End
[2025-02-09 08:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:35:03] Production.INFO: count ==21
[2025-02-09 08:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:35:03] Production.INFO: count ==21
[2025-02-09 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435868') start
[2025-02-09 08:35:03] Production.ERROR: done
[2025-02-09 08:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:35:03] Production.ERROR: done
[2025-02-09 08:35:03] Production.INFO: ==6644== Releasing lock...
[2025-02-09 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435868') end
[2025-02-09 08:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:35:03] Production.INFO: 1
[2025-02-09 08:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:35:03] Production.INFO: Account Balance End.
[2025-02-09 08:35:04] Production.INFO: ==6652== Releasing lock...
[2025-02-09 08:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:35:04] Production.INFO: ==6648== Releasing lock...
[2025-02-09 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:35:04
[end_date_ymd] => 2025-02-09 08:35:04
[RateCDR] => 1
)
[2025-02-09 08:35:04] 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-02-09 05:35:04' and `end` < '2025-02-09 08:35:04'
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-02-09 08:35:12] Production.ERROR: CronJobId end10
[2025-02-09 08:35:12] Production.INFO: ==6646== Releasing lock...
[2025-02-09 08:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:35:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:35:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:35:14] Production.INFO: call_cost start
[2025-02-09 08:35:14] Production.INFO: call_cost end
[2025-02-09 08:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:35:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:35:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:35:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:35:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:35:15] Production.INFO: ==6642== Releasing lock...
[2025-02-09 08:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:35:18] Production.INFO: count ==154
[2025-02-09 08:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:35:04 - End Time 2025-02-09 08:35:04
[2025-02-09 08:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435869', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435869', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435869', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435869', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:35:18] Production.INFO: ProcessCDR(1,14435869,1,1,2)
[2025-02-09 08:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435869', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435869', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:35:21] Production.INFO: ==6650== Releasing lock...
[2025-02-09 08:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:35:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:36:02] Production.INFO: ==6754== Lock acquired, processing the job...
[2025-02-09 13:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:36:02] Production.INFO: neon service started
[2025-02-09 13:36:02] Production.INFO: neon service started
[2025-02-09 13:36:02] Production.INFO: ==6754== Releasing lock...
[2025-02-09 13:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:36:02] Production.INFO: ==6756== Lock acquired, processing the job...
[2025-02-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:36:02] Production.INFO: ==6758== Lock acquired, processing the job...
[2025-02-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:36:02] Production.INFO: ==6758== Releasing lock...
[2025-02-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:36:03] Production.INFO: ==6756== Releasing lock...
[2025-02-09 08:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:36:03] Production.INFO: ==6767== Lock acquired, processing the job...
[2025-02-09 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:36:04] Production.INFO: Account Balance Start.
[2025-02-09 08:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:36:04] Production.INFO: 117
[2025-02-09 08:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:36:04] Production.INFO: ==6769== Lock acquired, processing the job...
[2025-02-09 08:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:36:04] Production.INFO: Total Charge 0
[2025-02-09 08:36:04] Production.INFO: CreateAllLog End
[2025-02-09 08:36:04] Production.INFO: ==6763== Lock acquired, processing the job...
[2025-02-09 08:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:36:04] Production.INFO: ==6761== Lock acquired, processing the job...
[2025-02-09 08:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:36:04] Production.INFO: ==6765== Lock acquired, processing the job...
[2025-02-09 08:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:36:04] Production.INFO: ==6771== Lock acquired, processing the job...
[2025-02-09 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:36:04] Production.INFO: Account Balance End.
[2025-02-09 08:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:36:04] Production.INFO: ==6767== Releasing lock...
[2025-02-09 08:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:36:04] Production.ERROR: done
[2025-02-09 08:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:36:04] Production.INFO: count ==21
[2025-02-09 08:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:36:04] Production.INFO: count ==21
[2025-02-09 08:36:04] Production.ERROR: done
[2025-02-09 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435872') start
[2025-02-09 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435872') end
[2025-02-09 08:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:36:04] Production.INFO: 1
[2025-02-09 08:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:36:04] Production.INFO: ==6763== Releasing lock...
[2025-02-09 08:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:36:04] Production.INFO: ==6771== Releasing lock...
[2025-02-09 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:36:05
[end_date_ymd] => 2025-02-09 08:36:05
[RateCDR] => 1
)
[2025-02-09 08:36: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` >= '2025-02-09 05:36:05' and `end` < '2025-02-09 08:36: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 ,'')
[2025-02-09 08:36:12] Production.ERROR: CronJobId end10
[2025-02-09 08:36:12] Production.INFO: ==6765== Releasing lock...
[2025-02-09 08:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:36:13] Production.INFO: call_cost start
[2025-02-09 08:36:13] Production.INFO: call_cost end
[2025-02-09 08:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:36:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:36:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:36:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:36:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:36:14] Production.INFO: ==6761== Releasing lock...
[2025-02-09 08:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:36:18] Production.INFO: count ==154
[2025-02-09 08:36:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:36:05 - End Time 2025-02-09 08:36:05
[2025-02-09 08:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435874', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435874', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435874', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435874', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:36:18] Production.INFO: ProcessCDR(1,14435874,1,1,2)
[2025-02-09 08:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435874', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435874', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:36:21] Production.INFO: ==6769== Releasing lock...
[2025-02-09 08:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:36:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:37:01] Production.INFO: ==6830== Lock acquired, processing the job...
[2025-02-09 13:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:37:01] Production.INFO: neon service started
[2025-02-09 13:37:01] Production.INFO: neon service started
[2025-02-09 13:37:01] Production.INFO: ==6830== Releasing lock...
[2025-02-09 13:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:37:02] Production.INFO: ==6832== Lock acquired, processing the job...
[2025-02-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:37:02] Production.INFO: ==6834== Lock acquired, processing the job...
[2025-02-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:37:02] Production.INFO: ==6834== Releasing lock...
[2025-02-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:37:02] Production.INFO: ==6832== Releasing lock...
[2025-02-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:37:03] Production.INFO: ==6847== Lock acquired, processing the job...
[2025-02-09 08:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:37:03] Production.INFO: ==6849== Lock acquired, processing the job...
[2025-02-09 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:37:03] Production.INFO: ==6839== Lock acquired, processing the job...
[2025-02-09 08:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:37:03] Production.INFO: ==6843== Lock acquired, processing the job...
[2025-02-09 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:37:03] Production.INFO: ==6841== Lock acquired, processing the job...
[2025-02-09 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:37:03] Production.INFO: count ==21
[2025-02-09 08:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:37:03] Production.INFO: ==6845== Lock acquired, processing the job...
[2025-02-09 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:37:03] Production.INFO: count ==21
[2025-02-09 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435875') start
[2025-02-09 08:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:37:04] Production.INFO: Account Balance Start.
[2025-02-09 08:37:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:37:04] Production.INFO: 117
[2025-02-09 08:37:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435875') end
[2025-02-09 08:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:37:04] Production.INFO: 1
[2025-02-09 08:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:37:04] Production.INFO: ==6849== Releasing lock...
[2025-02-09 08:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:37:04] Production.ERROR: done
[2025-02-09 08:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:37:04] Production.INFO: Total Charge 0
[2025-02-09 08:37:04] Production.INFO: CreateAllLog End
[2025-02-09 08:37:04] Production.INFO: ==6841== Releasing lock...
[2025-02-09 08:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:37:04] Production.ERROR: done
[2025-02-09 08:37:04] Production.INFO: Account Balance End.
[2025-02-09 08:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:37:04] Production.INFO: ==6845== Releasing lock...
[2025-02-09 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:37:05
[end_date_ymd] => 2025-02-09 08:37:05
[RateCDR] => 1
)
[2025-02-09 08:37: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` >= '2025-02-09 05:37:05' and `end` < '2025-02-09 08:37: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 ,'')
[2025-02-09 08:37:12] Production.ERROR: CronJobId end10
[2025-02-09 08:37:12] Production.INFO: ==6843== Releasing lock...
[2025-02-09 08:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:37:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:37:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:37:14] Production.INFO: call_cost start
[2025-02-09 08:37:14] Production.INFO: call_cost end
[2025-02-09 08:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:37:15] Production.INFO: ==6839== Releasing lock...
[2025-02-09 08:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:37:19] Production.INFO: count ==154
[2025-02-09 08:37:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:37:05 - End Time 2025-02-09 08:37:05
[2025-02-09 08:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435879', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435879', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435879', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435879', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:37:19] Production.INFO: ProcessCDR(1,14435879,1,1,2)
[2025-02-09 08:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435879', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435879', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:37:22] Production.INFO: ==6847== Releasing lock...
[2025-02-09 08:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:37:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:38:02] Production.INFO: ==6908== Lock acquired, processing the job...
[2025-02-09 13:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:38:02] Production.INFO: neon service started
[2025-02-09 13:38:02] Production.INFO: neon service started
[2025-02-09 13:38:02] Production.INFO: ==6908== Releasing lock...
[2025-02-09 13:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:38:02] Production.INFO: ==6910== Lock acquired, processing the job...
[2025-02-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:38:02] Production.INFO: ==6910== Releasing lock...
[2025-02-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:38:02] Production.INFO: ==6912== Lock acquired, processing the job...
[2025-02-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:38:03] Production.INFO: ==6912== Releasing lock...
[2025-02-09 13:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:38:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:38:03] Production.INFO: ==6923== Lock acquired, processing the job...
[2025-02-09 08:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:38:03] Production.INFO: ==6925== Lock acquired, processing the job...
[2025-02-09 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:38:03] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-02-09 08:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:38:04] Production.INFO: count ==21
[2025-02-09 08:38:04] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-02-09 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:38:04] Production.INFO: count ==21
[2025-02-09 08:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435880') start
[2025-02-09 08:38:04] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-02-09 08:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:38:04] Production.INFO: ==6921== Lock acquired, processing the job...
[2025-02-09 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435880') end
[2025-02-09 08:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:38:04] Production.INFO: 1
[2025-02-09 08:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:38:04] Production.INFO: Account Balance Start.
[2025-02-09 08:38:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:38:04] Production.INFO: 117
[2025-02-09 08:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:38:04] Production.INFO: ==6925== Releasing lock...
[2025-02-09 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:38:04] Production.ERROR: done
[2025-02-09 08:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:38:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:38:04] Production.INFO: Total Charge 0
[2025-02-09 08:38:04] Production.ERROR: done
[2025-02-09 08:38:04] Production.INFO: CreateAllLog End
[2025-02-09 08:38:04] Production.INFO: ==6917== Releasing lock...
[2025-02-09 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:38:04] Production.INFO: Account Balance End.
[2025-02-09 08:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:38:04] Production.INFO: ==6921== Releasing lock...
[2025-02-09 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:38:05
[end_date_ymd] => 2025-02-09 08:38:05
[RateCDR] => 1
)
[2025-02-09 08:38: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` >= '2025-02-09 05:38:05' and `end` < '2025-02-09 08:38: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 ,'')
[2025-02-09 08:38:12] Production.ERROR: CronJobId end10
[2025-02-09 08:38:12] Production.INFO: ==6919== Releasing lock...
[2025-02-09 08:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:38:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:38:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:38:14] Production.INFO: call_cost start
[2025-02-09 08:38:14] Production.INFO: call_cost end
[2025-02-09 08:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:38:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:38:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:38:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:38:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:38:15] Production.INFO: ==6915== Releasing lock...
[2025-02-09 08:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:38:20] Production.INFO: count ==154
[2025-02-09 08:38:20] Production.ERROR: pbx CDR StartTime 2025-02-09 05:38:05 - End Time 2025-02-09 08:38:05
[2025-02-09 08:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435884', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435884', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435884', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435884', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:38:20] Production.INFO: ProcessCDR(1,14435884,1,1,2)
[2025-02-09 08:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435884', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435884', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:38:23] Production.INFO: ==6923== Releasing lock...
[2025-02-09 08:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:38:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:39:01] Production.INFO: ==6987== Lock acquired, processing the job...
[2025-02-09 13:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:39:01] Production.INFO: neon service started
[2025-02-09 13:39:01] Production.INFO: neon service started
[2025-02-09 13:39:01] Production.INFO: ==6987== Releasing lock...
[2025-02-09 13:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:39:01] Production.INFO: ==6992== Lock acquired, processing the job...
[2025-02-09 13:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:39:01] Production.INFO: ==6992== Releasing lock...
[2025-02-09 13:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:39:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:39:02] Production.INFO: ==6990== Lock acquired, processing the job...
[2025-02-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:39:02] Production.INFO: ==6990== Releasing lock...
[2025-02-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:39:03] Production.INFO: ==6996== Lock acquired, processing the job...
[2025-02-09 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:39:03] Production.INFO: ==6994== Lock acquired, processing the job...
[2025-02-09 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:39:03] Production.INFO: ==7004== Lock acquired, processing the job...
[2025-02-09 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:39:03] Production.INFO: ==6998== Lock acquired, processing the job...
[2025-02-09 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:39:03] Production.INFO: ==7000== Lock acquired, processing the job...
[2025-02-09 08:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:39:03] Production.INFO: ==7002== Lock acquired, processing the job...
[2025-02-09 08:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:39:03] Production.INFO: ==6996== Releasing lock...
[2025-02-09 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:39:03] Production.INFO: count ==21
[2025-02-09 08:39:03] Production.INFO: Account Balance Start.
[2025-02-09 08:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:39:03] Production.INFO: 117
[2025-02-09 08:39:03] Production.INFO: count ==21
[2025-02-09 08:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435887') start
[2025-02-09 08:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435887') end
[2025-02-09 08:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:39:03] Production.INFO: 1
[2025-02-09 08:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:39:03] Production.INFO: Total Charge 0
[2025-02-09 08:39:03] Production.INFO: ==7004== Releasing lock...
[2025-02-09 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:39:03] Production.INFO: CreateAllLog End
[2025-02-09 08:39:04] Production.ERROR: done
[2025-02-09 08:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:39:04] Production.ERROR: done
[2025-02-09 08:39:04] Production.INFO: Account Balance End.
[2025-02-09 08:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:39:04] Production.INFO: ==7000== Releasing lock...
[2025-02-09 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:39:05
[end_date_ymd] => 2025-02-09 08:39:05
[RateCDR] => 1
)
[2025-02-09 08:39: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` >= '2025-02-09 05:39:05' and `end` < '2025-02-09 08:39: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 ,'')
[2025-02-09 08:39:11] Production.ERROR: CronJobId end10
[2025-02-09 08:39:11] Production.INFO: ==6998== Releasing lock...
[2025-02-09 08:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:39:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:39:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:39:13] Production.INFO: call_cost start
[2025-02-09 08:39:13] Production.INFO: call_cost end
[2025-02-09 08:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:39:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:39:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:39:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:39:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:39:13] Production.INFO: ==6994== Releasing lock...
[2025-02-09 08:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:39:18] Production.INFO: count ==155
[2025-02-09 08:39:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:39:05 - End Time 2025-02-09 08:39:05
[2025-02-09 08:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435889', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435889', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435889', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435889', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:39:18] Production.INFO: ProcessCDR(1,14435889,1,1,2)
[2025-02-09 08:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435889', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435889', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:39:22] Production.INFO: ==7002== Releasing lock...
[2025-02-09 08:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:39:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:40:01] Production.INFO: ==7068== Lock acquired, processing the job...
[2025-02-09 13:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:40:02] Production.INFO: neon service started
[2025-02-09 13:40:02] Production.INFO: neon service started
[2025-02-09 13:40:02] Production.INFO: ==7068== Releasing lock...
[2025-02-09 13:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:40:02] Production.INFO: ==7070== Lock acquired, processing the job...
[2025-02-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:40:02] Production.INFO: ==7072== Lock acquired, processing the job...
[2025-02-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:40:02] Production.INFO: ==7072== Releasing lock...
[2025-02-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:40:03] Production.INFO: ==7070== Releasing lock...
[2025-02-09 08:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:40:03] Production.INFO: ==7077== Lock acquired, processing the job...
[2025-02-09 08:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:40:04] Production.INFO: ==7081== Lock acquired, processing the job...
[2025-02-09 08:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:40:04] Production.INFO: ==7089== Lock acquired, processing the job...
[2025-02-09 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:40:04] Production.INFO: ==7075== Lock acquired, processing the job...
[2025-02-09 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 08:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 08:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 08:40:04] Production.ERROR: CronJob PID - 7077
[2025-02-09 08:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 08:40:04] Production.ERROR: CronJob ID - 5
[2025-02-09 08:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 08:40:00
[2025-02-09 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 08:40:04] Production.ERROR: CronJob PID - 7081
[2025-02-09 08:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 08:40:04] Production.ERROR: CronJob ID - 10
[2025-02-09 08:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 08:40:00
[2025-02-09 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 08:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 08:40:04] Production.ERROR: CronJob PID - 7089
[2025-02-09 08:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 08:40:04] Production.ERROR: CronJob ID - 19
[2025-02-09 08:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 08:40:00
[2025-02-09 08:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 08:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 08:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 08:40:04] Production.INFO: ==7075== Releasing lock...
[2025-02-09 08:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 08:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 08:40:04] Production.INFO: count ==21
[2025-02-09 08:40:04] Production.INFO: ==7079== Lock acquired, processing the job...
[2025-02-09 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:40:04] Production.INFO: count ==21
[2025-02-09 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435891') start
[2025-02-09 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435891') end
[2025-02-09 08:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:40:04] Production.INFO: 1
[2025-02-09 08:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:40:04] Production.INFO: ==7089== Releasing lock...
[2025-02-09 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:40:04] Production.INFO: ==7083== Lock acquired, processing the job...
[2025-02-09 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:40:04] Production.INFO: ==7085== Lock acquired, processing the job...
[2025-02-09 08:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:40:04] Production.INFO: ==7087== Lock acquired, processing the job...
[2025-02-09 08:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 08:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:40:04] Production.INFO: Account Balance Start.
[2025-02-09 08:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:40:04] Production.INFO: 117
[2025-02-09 08:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:40:04] Production.INFO: Total Charge 0
[2025-02-09 08:40:04] Production.INFO: CreateAllLog End
[2025-02-09 08:40:04] Production.INFO: ==7079== Releasing lock...
[2025-02-09 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:40:05] Production.ERROR: done
[2025-02-09 08:40:05] Production.ERROR: done
[2025-02-09 08:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:40:05] Production.INFO: Account Balance End.
[2025-02-09 08:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 08:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435894', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 08:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 08:40:05] Production.INFO: ==7083== Releasing lock...
[2025-02-09 08:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:40:05] Production.ERROR: done
[2025-02-09 08:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:40:06
[end_date_ymd] => 2025-02-09 08:40:06
[RateCDR] => 1
)
[2025-02-09 08:40: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-02-09 05:40:06' and `end` < '2025-02-09 08:40: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-02-09 08:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435894', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 08:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 08:40:09] Production.INFO: ProcessCDR(1,14435894,1,1,2)
[2025-02-09 08:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435894,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435894,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:40:10] Production.INFO: ==7087== Releasing lock...
[2025-02-09 08:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 08:40:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 08:40:14] Production.ERROR: CronJobId end10
[2025-02-09 08:40:14] Production.INFO: ==7081== Releasing lock...
[2025-02-09 08:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:40:16] Production.INFO: call_cost start
[2025-02-09 08:40:16] Production.INFO: call_cost end
[2025-02-09 08:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:40:17] Production.INFO: ==7077== Releasing lock...
[2025-02-09 08:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:40:21] Production.INFO: count ==152
[2025-02-09 08:40:21] Production.ERROR: pbx CDR StartTime 2025-02-09 05:40:06 - End Time 2025-02-09 08:40:06
[2025-02-09 08:40:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435895', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435895', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435895', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435895', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:40:21] Production.INFO: ProcessCDR(1,14435895,1,1,2)
[2025-02-09 08:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435895', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435895', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:40:24] Production.INFO: ==7085== Releasing lock...
[2025-02-09 08:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:40:24] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:41:01] Production.INFO: ==7150== Lock acquired, processing the job...
[2025-02-09 13:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:41:01] Production.INFO: neon service started
[2025-02-09 13:41:01] Production.INFO: neon service started
[2025-02-09 13:41:01] Production.INFO: ==7150== Releasing lock...
[2025-02-09 13:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:41:01] Production.INFO: ==7152== Lock acquired, processing the job...
[2025-02-09 08:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:41:02] Production.INFO: ==7154== Lock acquired, processing the job...
[2025-02-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:41:02] Production.INFO: ==7154== Releasing lock...
[2025-02-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:41:02] Production.INFO: ==7152== Releasing lock...
[2025-02-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:41:02] Production.INFO: ==7156== Lock acquired, processing the job...
[2025-02-09 08:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:41:02] Production.INFO: ==7164== Lock acquired, processing the job...
[2025-02-09 08:41:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:41:02] Production.INFO: ==7162== Lock acquired, processing the job...
[2025-02-09 08:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:41:03] Production.INFO: ==7158== Lock acquired, processing the job...
[2025-02-09 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:41:03] Production.INFO: Account Balance Start.
[2025-02-09 08:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:41:03] Production.INFO: 117
[2025-02-09 08:41:03] Production.INFO: ==7160== Lock acquired, processing the job...
[2025-02-09 08:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:41:03] Production.INFO: ==7166== Lock acquired, processing the job...
[2025-02-09 08:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:41:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:41:03] Production.INFO: Total Charge 0
[2025-02-09 08:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:41:03] Production.INFO: CreateAllLog End
[2025-02-09 08:41:03] Production.INFO: count ==21
[2025-02-09 08:41:03] Production.ERROR: done
[2025-02-09 08:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:41:03] Production.INFO: count ==21
[2025-02-09 08:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435899') start
[2025-02-09 08:41:03] Production.INFO: ==7158== Releasing lock...
[2025-02-09 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:41:03] Production.ERROR: done
[2025-02-09 08:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435899') end
[2025-02-09 08:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:41:03] Production.INFO: 1
[2025-02-09 08:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:41:03] Production.INFO: Account Balance End.
[2025-02-09 08:41:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:41:03] Production.INFO: ==7162== Releasing lock...
[2025-02-09 08:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:41:03] Production.INFO: ==7166== Releasing lock...
[2025-02-09 08:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:41:04
[end_date_ymd] => 2025-02-09 08:41:04
[RateCDR] => 1
)
[2025-02-09 08:41:04] 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-02-09 05:41:04' and `end` < '2025-02-09 08:41:04'
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-02-09 08:41:11] Production.ERROR: CronJobId end10
[2025-02-09 08:41:11] Production.INFO: ==7160== Releasing lock...
[2025-02-09 08:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:41:13] Production.INFO: call_cost start
[2025-02-09 08:41:13] Production.INFO: call_cost end
[2025-02-09 08:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:41:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:41:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:41:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:41:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:41:14] Production.INFO: ==7156== Releasing lock...
[2025-02-09 08:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:41:18] Production.INFO: count ==153
[2025-02-09 08:41:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:41:04 - End Time 2025-02-09 08:41:04
[2025-02-09 08:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435900', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435900', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435900', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435900', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:41:18] Production.INFO: ProcessCDR(1,14435900,1,1,2)
[2025-02-09 08:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435900', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435900', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:41:21] Production.INFO: ==7164== Releasing lock...
[2025-02-09 08:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:41:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:42:01] Production.INFO: ==7227== Lock acquired, processing the job...
[2025-02-09 13:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:42:01] Production.INFO: neon service started
[2025-02-09 13:42:01] Production.INFO: neon service started
[2025-02-09 13:42:01] Production.INFO: ==7227== Releasing lock...
[2025-02-09 13:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:42:02] Production.INFO: ==7229== Lock acquired, processing the job...
[2025-02-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:42:02] Production.INFO: ==7231== Lock acquired, processing the job...
[2025-02-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:42:02] Production.INFO: ==7229== Releasing lock...
[2025-02-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:42:02] Production.INFO: ==7231== Releasing lock...
[2025-02-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:42:03] Production.INFO: ==7235== Lock acquired, processing the job...
[2025-02-09 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:42:03] Production.INFO: ==7235== Releasing lock...
[2025-02-09 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:42:03] Production.INFO: ==7233== Lock acquired, processing the job...
[2025-02-09 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:42:03] Production.INFO: ==7237== Lock acquired, processing the job...
[2025-02-09 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:42:03] Production.INFO: ==7239== Lock acquired, processing the job...
[2025-02-09 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:42:03] Production.INFO: ==7243== Lock acquired, processing the job...
[2025-02-09 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:42:04] Production.INFO: ==7241== Lock acquired, processing the job...
[2025-02-09 08:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:42:04] Production.INFO: count ==21
[2025-02-09 08:42:04] Production.INFO: Account Balance Start.
[2025-02-09 08:42:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:42:04] Production.INFO: 117
[2025-02-09 08:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:42:04] Production.INFO: count ==21
[2025-02-09 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435903') start
[2025-02-09 08:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:42:04] Production.INFO: Total Charge 0
[2025-02-09 08:42:04] Production.ERROR: done
[2025-02-09 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435903') end
[2025-02-09 08:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:42:04] Production.INFO: 1
[2025-02-09 08:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:42:04] Production.INFO: CreateAllLog End
[2025-02-09 08:42:04] Production.INFO: ==7243== Releasing lock...
[2025-02-09 08:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:42:04] Production.ERROR: done
[2025-02-09 08:42:04] Production.INFO: Account Balance End.
[2025-02-09 08:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:42:04] Production.INFO: ==7239== Releasing lock...
[2025-02-09 08:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:42:05
[end_date_ymd] => 2025-02-09 08:42:05
[RateCDR] => 1
)
[2025-02-09 08:42: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` >= '2025-02-09 05:42:05' and `end` < '2025-02-09 08:42: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 ,'')
[2025-02-09 08:42:12] Production.ERROR: CronJobId end10
[2025-02-09 08:42:12] Production.INFO: ==7237== Releasing lock...
[2025-02-09 08:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:42:14] Production.INFO: call_cost start
[2025-02-09 08:42:14] Production.INFO: call_cost end
[2025-02-09 08:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:42:15] Production.INFO: ==7233== Releasing lock...
[2025-02-09 08:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:42:19] Production.INFO: count ==153
[2025-02-09 08:42:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:42:05 - End Time 2025-02-09 08:42:05
[2025-02-09 08:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435905', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435905', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435905', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435905', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:42:19] Production.INFO: ProcessCDR(1,14435905,1,1,2)
[2025-02-09 08:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435905', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435905', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:42:22] Production.INFO: ==7241== Releasing lock...
[2025-02-09 08:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:42:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:43:02] Production.INFO: ==7305== Lock acquired, processing the job...
[2025-02-09 13:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:43:02] Production.INFO: neon service started
[2025-02-09 13:43:02] Production.INFO: neon service started
[2025-02-09 13:43:02] Production.INFO: ==7305== Releasing lock...
[2025-02-09 13:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:43:02] Production.INFO: ==7309== Lock acquired, processing the job...
[2025-02-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:43:02] Production.INFO: ==7309== Releasing lock...
[2025-02-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:43:02] Production.INFO: ==7307== Lock acquired, processing the job...
[2025-02-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:43:03] Production.INFO: ==7307== Releasing lock...
[2025-02-09 08:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:43:03] Production.INFO: ==7311== Lock acquired, processing the job...
[2025-02-09 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:43:04] Production.INFO: ==7313== Lock acquired, processing the job...
[2025-02-09 08:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:43:04] Production.INFO: ==7315== Lock acquired, processing the job...
[2025-02-09 08:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:43:04] Production.INFO: ==7320== Lock acquired, processing the job...
[2025-02-09 08:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:43:04] Production.INFO: ==7317== Lock acquired, processing the job...
[2025-02-09 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:43:04] Production.INFO: ==7322== Lock acquired, processing the job...
[2025-02-09 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:43:04] Production.INFO: ==7313== Releasing lock...
[2025-02-09 08:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:43:04] Production.INFO: count ==21
[2025-02-09 08:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:43:04] Production.INFO: count ==21
[2025-02-09 08:43:04] Production.INFO: Account Balance Start.
[2025-02-09 08:43:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:43:04] Production.INFO: 117
[2025-02-09 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435908') start
[2025-02-09 08:43:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:43:04] Production.ERROR: done
[2025-02-09 08:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:43:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435908') end
[2025-02-09 08:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:43:04] Production.INFO: 1
[2025-02-09 08:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:43:04] Production.INFO: Total Charge 0
[2025-02-09 08:43:04] Production.INFO: CreateAllLog End
[2025-02-09 08:43:04] Production.INFO: ==7322== Releasing lock...
[2025-02-09 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:43:04] Production.ERROR: done
[2025-02-09 08:43:04] Production.INFO: Account Balance End.
[2025-02-09 08:43:05] Production.ERROR: CronJobId end 12
[2025-02-09 08:43:05] Production.INFO: ==7317== Releasing lock...
[2025-02-09 08:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:43:05
[end_date_ymd] => 2025-02-09 08:43:05
[RateCDR] => 1
)
[2025-02-09 08:43: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` >= '2025-02-09 05:43:05' and `end` < '2025-02-09 08:43: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 ,'')
[2025-02-09 08:43:12] Production.ERROR: CronJobId end10
[2025-02-09 08:43:12] Production.INFO: ==7315== Releasing lock...
[2025-02-09 08:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:43:14] Production.INFO: call_cost start
[2025-02-09 08:43:14] Production.INFO: call_cost end
[2025-02-09 08:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:43:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:43:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:43:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:43:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:43:15] Production.INFO: ==7311== Releasing lock...
[2025-02-09 08:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:43:18] Production.INFO: count ==153
[2025-02-09 08:43:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:43:05 - End Time 2025-02-09 08:43:05
[2025-02-09 08:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435910', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435910', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435910', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435910', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:43:18] Production.INFO: ProcessCDR(1,14435910,1,1,2)
[2025-02-09 08:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435910', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435910', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:43:21] Production.INFO: ==7320== Releasing lock...
[2025-02-09 08:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:43:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:44:01] Production.INFO: ==7388== Lock acquired, processing the job...
[2025-02-09 13:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:44:01] Production.INFO: neon service started
[2025-02-09 13:44:01] Production.INFO: neon service started
[2025-02-09 13:44:01] Production.INFO: ==7388== Releasing lock...
[2025-02-09 13:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:44:02] Production.INFO: ==7390== Lock acquired, processing the job...
[2025-02-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:44:02] Production.INFO: ==7392== Lock acquired, processing the job...
[2025-02-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:44:02] Production.INFO: ==7392== Releasing lock...
[2025-02-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:44:02] Production.INFO: ==7390== Releasing lock...
[2025-02-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:44:03] Production.INFO: ==7401== Lock acquired, processing the job...
[2025-02-09 08:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:44:03] Production.INFO: ==7395== Lock acquired, processing the job...
[2025-02-09 08:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:44:03] Production.INFO: ==7399== Lock acquired, processing the job...
[2025-02-09 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:44:03] Production.INFO: Account Balance Start.
[2025-02-09 08:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:44:03] Production.INFO: 117
[2025-02-09 08:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:44:03] Production.INFO: ==7397== Lock acquired, processing the job...
[2025-02-09 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:44:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:44:03] Production.INFO: Total Charge 0
[2025-02-09 08:44:03] Production.INFO: CreateAllLog End
[2025-02-09 08:44:03] Production.INFO: ==7403== Lock acquired, processing the job...
[2025-02-09 08:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:44:03] Production.INFO: ==7405== Lock acquired, processing the job...
[2025-02-09 08:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:44:04] Production.INFO: Account Balance End.
[2025-02-09 08:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:44:04] Production.INFO: ==7401== Releasing lock...
[2025-02-09 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:44:04] Production.INFO: count ==21
[2025-02-09 08:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:44:04] Production.INFO: ==7397== Releasing lock...
[2025-02-09 08:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:44:04] Production.INFO: count ==21
[2025-02-09 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435914') start
[2025-02-09 08:44:04] Production.ERROR: done
[2025-02-09 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435914') end
[2025-02-09 08:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:44:04] Production.INFO: 1
[2025-02-09 08:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:44:04] Production.INFO: ==7405== Releasing lock...
[2025-02-09 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:44:04] Production.ERROR: done
[2025-02-09 08:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:44:05
[end_date_ymd] => 2025-02-09 08:44:05
[RateCDR] => 1
)
[2025-02-09 08:44: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` >= '2025-02-09 05:44:05' and `end` < '2025-02-09 08:44: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 ,'')
[2025-02-09 08:44:11] Production.ERROR: CronJobId end10
[2025-02-09 08:44:11] Production.INFO: ==7399== Releasing lock...
[2025-02-09 08:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:44:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:44:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:44:13] Production.INFO: call_cost start
[2025-02-09 08:44:13] Production.INFO: call_cost end
[2025-02-09 08:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:44:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:44:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:44:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:44:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:44:14] Production.INFO: ==7395== Releasing lock...
[2025-02-09 08:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:44:18] Production.INFO: count ==153
[2025-02-09 08:44:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:44:05 - End Time 2025-02-09 08:44:05
[2025-02-09 08:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435915', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435915', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435915', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435915', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:44:18] Production.INFO: ProcessCDR(1,14435915,1,1,2)
[2025-02-09 08:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435915', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435915', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:44:21] Production.INFO: ==7403== Releasing lock...
[2025-02-09 08:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:44:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:45:02] Production.INFO: ==7468== Lock acquired, processing the job...
[2025-02-09 13:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:45:02] Production.INFO: neon service started
[2025-02-09 13:45:02] Production.INFO: neon service started
[2025-02-09 13:45:02] Production.INFO: ==7468== Releasing lock...
[2025-02-09 13:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:45:02] Production.INFO: ==7470== Lock acquired, processing the job...
[2025-02-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:45:02] Production.INFO: ==7472== Lock acquired, processing the job...
[2025-02-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:45:02] Production.INFO: ==7472== Releasing lock...
[2025-02-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:45:03] Production.INFO: ==7470== Releasing lock...
[2025-02-09 08:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:45:03] Production.INFO: ==7479== Lock acquired, processing the job...
[2025-02-09 08:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:45:04] Production.INFO: ==7475== Lock acquired, processing the job...
[2025-02-09 08:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:45:04] Production.INFO: ==7485== Lock acquired, processing the job...
[2025-02-09 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:45:04] Production.INFO: ==7477== Lock acquired, processing the job...
[2025-02-09 08:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:45:04] Production.INFO: ==7481== Lock acquired, processing the job...
[2025-02-09 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:45:04] Production.INFO: ==7483== Lock acquired, processing the job...
[2025-02-09 08:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:45:04] Production.INFO: count ==21
[2025-02-09 08:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:45:04] Production.INFO: Account Balance Start.
[2025-02-09 08:45:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:45:04] Production.INFO: 117
[2025-02-09 08:45:04] Production.INFO: count ==21
[2025-02-09 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435916') start
[2025-02-09 08:45:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:45:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:45:04] Production.INFO: Total Charge 0
[2025-02-09 08:45:04] Production.INFO: CreateAllLog End
[2025-02-09 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435916') end
[2025-02-09 08:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:45:04] Production.INFO: 1
[2025-02-09 08:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:45:04] Production.INFO: ==7477== Releasing lock...
[2025-02-09 08:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:45:04] Production.INFO: ==7485== Releasing lock...
[2025-02-09 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:45:04] Production.ERROR: done
[2025-02-09 08:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:45:04] Production.INFO: Account Balance End.
[2025-02-09 08:45:04] Production.ERROR: done
[2025-02-09 08:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:45:04] Production.INFO: ==7481== Releasing lock...
[2025-02-09 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:45:05
[end_date_ymd] => 2025-02-09 08:45:05
[RateCDR] => 1
)
[2025-02-09 08:45: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` >= '2025-02-09 05:45:05' and `end` < '2025-02-09 08:45: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 ,'')
[2025-02-09 08:45:10] Production.ERROR: CronJobId end10
[2025-02-09 08:45:10] Production.INFO: ==7479== Releasing lock...
[2025-02-09 08:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:45:14] Production.INFO: call_cost start
[2025-02-09 08:45:14] Production.INFO: call_cost end
[2025-02-09 08:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:45:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:45:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:45:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:45:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:45:14] Production.INFO: ==7475== Releasing lock...
[2025-02-09 08:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:45:18] Production.INFO: count ==153
[2025-02-09 08:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:45:05 - End Time 2025-02-09 08:45:05
[2025-02-09 08:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435920', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435920', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435920', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435920', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:45:18] Production.INFO: ProcessCDR(1,14435920,1,1,2)
[2025-02-09 08:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435920', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435920', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:45:21] Production.INFO: ==7483== Releasing lock...
[2025-02-09 08:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:46:01] Production.INFO: ==7550== Lock acquired, processing the job...
[2025-02-09 13:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:46:01] Production.INFO: neon service started
[2025-02-09 13:46:01] Production.INFO: neon service started
[2025-02-09 13:46:01] Production.INFO: ==7550== Releasing lock...
[2025-02-09 13:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:46:01] Production.INFO: ==7552== Lock acquired, processing the job...
[2025-02-09 08:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:46:02] Production.INFO: ==7554== Lock acquired, processing the job...
[2025-02-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:46:02] Production.INFO: ==7552== Releasing lock...
[2025-02-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:46:02] Production.INFO: ==7554== Releasing lock...
[2025-02-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:46:03] Production.INFO: ==7560== Lock acquired, processing the job...
[2025-02-09 08:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:46:03] Production.INFO: ==7556== Lock acquired, processing the job...
[2025-02-09 08:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:46:03] Production.INFO: ==7567== Lock acquired, processing the job...
[2025-02-09 08:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:46:03] Production.INFO: ==7558== Lock acquired, processing the job...
[2025-02-09 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:46:03] Production.INFO: count ==21
[2025-02-09 08:46:03] Production.INFO: ==7562== Lock acquired, processing the job...
[2025-02-09 08:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:46:03] Production.INFO: count ==21
[2025-02-09 08:46:03] Production.INFO: ==7565== Lock acquired, processing the job...
[2025-02-09 08:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435922') start
[2025-02-09 08:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:46:03] Production.INFO: Account Balance Start.
[2025-02-09 08:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:46:03] Production.INFO: 117
[2025-02-09 08:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435922') end
[2025-02-09 08:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:46:03] Production.INFO: 1
[2025-02-09 08:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:46:04] Production.INFO: ==7558== Releasing lock...
[2025-02-09 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:46:04] Production.INFO: ==7567== Releasing lock...
[2025-02-09 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:46:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:46:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:46:04] Production.ERROR: done
[2025-02-09 08:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:46:04] Production.INFO: Total Charge 0
[2025-02-09 08:46:04] Production.INFO: CreateAllLog End
[2025-02-09 08:46:04] Production.ERROR: done
[2025-02-09 08:46:04] Production.INFO: Account Balance End.
[2025-02-09 08:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:46:04] Production.INFO: ==7562== Releasing lock...
[2025-02-09 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:46:05
[end_date_ymd] => 2025-02-09 08:46:05
[RateCDR] => 1
)
[2025-02-09 08:46: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` >= '2025-02-09 05:46:05' and `end` < '2025-02-09 08:46: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 ,'')
[2025-02-09 08:46:11] Production.ERROR: CronJobId end10
[2025-02-09 08:46:11] Production.INFO: ==7560== Releasing lock...
[2025-02-09 08:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:46:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:46:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:46:13] Production.INFO: call_cost start
[2025-02-09 08:46:13] Production.INFO: call_cost end
[2025-02-09 08:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:46:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:46:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:46:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:46:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:46:14] Production.INFO: ==7556== Releasing lock...
[2025-02-09 08:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:46:18] Production.INFO: count ==153
[2025-02-09 08:46:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:46:05 - End Time 2025-02-09 08:46:05
[2025-02-09 08:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435925', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435925', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435925', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435925', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:46:18] Production.INFO: ProcessCDR(1,14435925,1,1,2)
[2025-02-09 08:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435925', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435925', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:46:21] Production.INFO: ==7565== Releasing lock...
[2025-02-09 08:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:46:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:47:01] Production.INFO: ==7632== Lock acquired, processing the job...
[2025-02-09 13:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:47:02] Production.INFO: neon service started
[2025-02-09 13:47:02] Production.INFO: neon service started
[2025-02-09 13:47:02] Production.INFO: ==7632== Releasing lock...
[2025-02-09 13:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:47:02] Production.INFO: ==7634== Lock acquired, processing the job...
[2025-02-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:47:02] Production.INFO: ==7636== Lock acquired, processing the job...
[2025-02-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:47:02] Production.INFO: ==7634== Releasing lock...
[2025-02-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:47:02] Production.INFO: ==7636== Releasing lock...
[2025-02-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:47:03] Production.INFO: ==7641== Lock acquired, processing the job...
[2025-02-09 08:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:47:03] Production.INFO: ==7643== Lock acquired, processing the job...
[2025-02-09 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:47:03] Production.INFO: ==7645== Lock acquired, processing the job...
[2025-02-09 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:47:03] Production.INFO: ==7647== Lock acquired, processing the job...
[2025-02-09 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:47:03] Production.INFO: ==7649== Lock acquired, processing the job...
[2025-02-09 08:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:47:03] Production.INFO: Account Balance Start.
[2025-02-09 08:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:47:03] Production.INFO: 117
[2025-02-09 08:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:47:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:47:03] Production.INFO: ==7651== Lock acquired, processing the job...
[2025-02-09 08:47:03] Production.INFO: Total Charge 0
[2025-02-09 08:47:03] Production.INFO: CreateAllLog End
[2025-02-09 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:47:04] Production.INFO: ==7643== Releasing lock...
[2025-02-09 08:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:47:04] Production.INFO: count ==21
[2025-02-09 08:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:47:04] Production.INFO: count ==21
[2025-02-09 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435929') start
[2025-02-09 08:47:04] Production.ERROR: done
[2025-02-09 08:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:47:04] Production.INFO: Account Balance End.
[2025-02-09 08:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:47:04] Production.INFO: ==7647== Releasing lock...
[2025-02-09 08:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435929') end
[2025-02-09 08:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:47:04] Production.INFO: 1
[2025-02-09 08:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:47:04] Production.INFO: ==7651== Releasing lock...
[2025-02-09 08:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:47:04] Production.ERROR: done
[2025-02-09 08:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:47:05
[end_date_ymd] => 2025-02-09 08:47:05
[RateCDR] => 1
)
[2025-02-09 08:47: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` >= '2025-02-09 05:47:05' and `end` < '2025-02-09 08:47: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 ,'')
[2025-02-09 08:47:12] Production.ERROR: CronJobId end10
[2025-02-09 08:47:12] Production.INFO: ==7645== Releasing lock...
[2025-02-09 08:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:47:14] Production.INFO: call_cost start
[2025-02-09 08:47:14] Production.INFO: call_cost end
[2025-02-09 08:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:47:15] Production.INFO: ==7641== Releasing lock...
[2025-02-09 08:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:47:18] Production.INFO: count ==153
[2025-02-09 08:47:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:47:05 - End Time 2025-02-09 08:47:05
[2025-02-09 08:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435930', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435930', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435930', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435930', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:47:18] Production.INFO: ProcessCDR(1,14435930,1,1,2)
[2025-02-09 08:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435930', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435930', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:47:21] Production.INFO: ==7649== Releasing lock...
[2025-02-09 08:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:47:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:48:01] Production.INFO: ==7712== Lock acquired, processing the job...
[2025-02-09 13:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:48:01] Production.INFO: neon service started
[2025-02-09 13:48:01] Production.INFO: neon service started
[2025-02-09 13:48:01] Production.INFO: ==7712== Releasing lock...
[2025-02-09 13:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:48:02] Production.INFO: ==7714== Lock acquired, processing the job...
[2025-02-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:48:02] Production.INFO: ==7716== Lock acquired, processing the job...
[2025-02-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:48:02] Production.INFO: ==7716== Releasing lock...
[2025-02-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:48:02] Production.INFO: ==7714== Releasing lock...
[2025-02-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:48:03] Production.INFO: ==7719== Lock acquired, processing the job...
[2025-02-09 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:48:03] Production.INFO: ==7725== Lock acquired, processing the job...
[2025-02-09 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:48:03] Production.INFO: Account Balance Start.
[2025-02-09 08:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:48:03] Production.INFO: 117
[2025-02-09 08:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:48:03] Production.INFO: ==7721== Lock acquired, processing the job...
[2025-02-09 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:48:03] Production.INFO: Total Charge 0
[2025-02-09 08:48:03] Production.INFO: CreateAllLog End
[2025-02-09 08:48:03] Production.INFO: ==7723== Lock acquired, processing the job...
[2025-02-09 08:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:48:03] Production.INFO: Account Balance End.
[2025-02-09 08:48:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:48:03] Production.INFO: ==7725== Releasing lock...
[2025-02-09 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:48:03] Production.INFO: ==7727== Lock acquired, processing the job...
[2025-02-09 08:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:48:03] Production.INFO: ==7729== Lock acquired, processing the job...
[2025-02-09 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:48:04] Production.INFO: ==7721== Releasing lock...
[2025-02-09 08:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:48:04] Production.INFO: count ==21
[2025-02-09 08:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:48:04] Production.INFO: count ==21
[2025-02-09 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435934') start
[2025-02-09 08:48:04] Production.ERROR: done
[2025-02-09 08:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:48:04] Production.ERROR: done
[2025-02-09 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435934') end
[2025-02-09 08:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:48:04] Production.INFO: 1
[2025-02-09 08:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:48:04] Production.INFO: ==7729== Releasing lock...
[2025-02-09 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:48:05
[end_date_ymd] => 2025-02-09 08:48:05
[RateCDR] => 1
)
[2025-02-09 08:48: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` >= '2025-02-09 05:48:05' and `end` < '2025-02-09 08:48: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 ,'')
[2025-02-09 08:48:11] Production.ERROR: CronJobId end10
[2025-02-09 08:48:11] Production.INFO: ==7723== Releasing lock...
[2025-02-09 08:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:48:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:48:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:48:13] Production.INFO: call_cost start
[2025-02-09 08:48:13] Production.INFO: call_cost end
[2025-02-09 08:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:48:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:48:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:48:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:48:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:48:14] Production.INFO: ==7719== Releasing lock...
[2025-02-09 08:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:48:18] Production.INFO: count ==153
[2025-02-09 08:48:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:48:05 - End Time 2025-02-09 08:48:05
[2025-02-09 08:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435935', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435935', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435935', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435935', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:48:18] Production.INFO: ProcessCDR(1,14435935,1,1,2)
[2025-02-09 08:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435935', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435935', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:48:21] Production.INFO: ==7727== Releasing lock...
[2025-02-09 08:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:48:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:49:01] Production.INFO: ==7791== Lock acquired, processing the job...
[2025-02-09 13:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:49:01] Production.INFO: neon service started
[2025-02-09 13:49:02] Production.INFO: neon service started
[2025-02-09 13:49:02] Production.INFO: ==7791== Releasing lock...
[2025-02-09 13:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:49:02] Production.INFO: ==7793== Lock acquired, processing the job...
[2025-02-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:49:02] Production.INFO: ==7793== Releasing lock...
[2025-02-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:49:02] Production.INFO: ==7795== Lock acquired, processing the job...
[2025-02-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:49:02] Production.INFO: ==7795== Releasing lock...
[2025-02-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:49:03] Production.INFO: ==7800== Lock acquired, processing the job...
[2025-02-09 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:49:03] Production.INFO: ==7798== Lock acquired, processing the job...
[2025-02-09 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:49:03] Production.INFO: ==7804== Lock acquired, processing the job...
[2025-02-09 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:49:03] Production.INFO: Account Balance Start.
[2025-02-09 08:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:49:03] Production.INFO: 117
[2025-02-09 08:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:49:03] Production.INFO: ==7800== Releasing lock...
[2025-02-09 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:49:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:49:03] Production.INFO: Total Charge 0
[2025-02-09 08:49:03] Production.INFO: ==7802== Lock acquired, processing the job...
[2025-02-09 08:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:49:03] Production.INFO: CreateAllLog End
[2025-02-09 08:49:03] Production.INFO: ==7806== Lock acquired, processing the job...
[2025-02-09 08:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:49:03] Production.INFO: ==7808== Lock acquired, processing the job...
[2025-02-09 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:49:03] Production.INFO: Account Balance End.
[2025-02-09 08:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:49:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:49:03] Production.INFO: ==7804== Releasing lock...
[2025-02-09 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:49:04] Production.INFO: count ==21
[2025-02-09 08:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:49:04] Production.INFO: count ==21
[2025-02-09 08:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435939') start
[2025-02-09 08:49:04] Production.ERROR: done
[2025-02-09 08:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435939') end
[2025-02-09 08:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:49:04] Production.INFO: 1
[2025-02-09 08:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:49:04] Production.ERROR: done
[2025-02-09 08:49:04] Production.INFO: ==7808== Releasing lock...
[2025-02-09 08:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:49:05
[end_date_ymd] => 2025-02-09 08:49:05
[RateCDR] => 1
)
[2025-02-09 08:49: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` >= '2025-02-09 05:49:05' and `end` < '2025-02-09 08:49: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 ,'')
[2025-02-09 08:49:11] Production.ERROR: CronJobId end10
[2025-02-09 08:49:11] Production.INFO: ==7802== Releasing lock...
[2025-02-09 08:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:49:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:49:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:49:14] Production.INFO: call_cost start
[2025-02-09 08:49:14] Production.INFO: call_cost end
[2025-02-09 08:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:49:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:49:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:49:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:49:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:49:14] Production.INFO: ==7798== Releasing lock...
[2025-02-09 08:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:49:18] Production.INFO: count ==153
[2025-02-09 08:49:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:49:05 - End Time 2025-02-09 08:49:05
[2025-02-09 08:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435940', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435940', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435940', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435940', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:49:18] Production.INFO: ProcessCDR(1,14435940,1,1,2)
[2025-02-09 08:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435940', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435940', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:49:21] Production.INFO: ==7806== Releasing lock...
[2025-02-09 08:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:49:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:50:01] Production.INFO: ==7867== Lock acquired, processing the job...
[2025-02-09 13:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:50:01] Production.INFO: neon service started
[2025-02-09 13:50:01] Production.INFO: neon service started
[2025-02-09 13:50:01] Production.INFO: ==7867== Releasing lock...
[2025-02-09 13:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:50:02] Production.INFO: ==7870== Lock acquired, processing the job...
[2025-02-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:50:02] Production.INFO: ==7872== Lock acquired, processing the job...
[2025-02-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:50:02] Production.INFO: ==7872== Releasing lock...
[2025-02-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:50:02] Production.INFO: ==7870== Releasing lock...
[2025-02-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:50:03] Production.INFO: ==7874== Lock acquired, processing the job...
[2025-02-09 08:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 08:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 08:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 08:50:03] Production.INFO: ==7874== Releasing lock...
[2025-02-09 08:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 08:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 08:50:03] Production.INFO: ==7881== Lock acquired, processing the job...
[2025-02-09 08:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:50:03] Production.INFO: ==7879== Lock acquired, processing the job...
[2025-02-09 08:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:50:03] Production.INFO: ==7886== Lock acquired, processing the job...
[2025-02-09 08:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:50:03] Production.INFO: ==7876== Lock acquired, processing the job...
[2025-02-09 08:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:50:03] Production.INFO: ==7884== Lock acquired, processing the job...
[2025-02-09 08:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:50:04] Production.INFO: ==7888== Lock acquired, processing the job...
[2025-02-09 08:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 08:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:50:04] Production.INFO: ==7890== Lock acquired, processing the job...
[2025-02-09 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:50:04] Production.INFO: Account Balance Start.
[2025-02-09 08:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:50:04] Production.INFO: 117
[2025-02-09 08:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:50:04] Production.INFO: Total Charge 0
[2025-02-09 08:50:04] Production.INFO: CreateAllLog End
[2025-02-09 08:50:04] Production.INFO: ==7879== Releasing lock...
[2025-02-09 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:50:04] Production.ERROR: done
[2025-02-09 08:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:50:04] Production.INFO: count ==21
[2025-02-09 08:50:04] Production.ERROR: done
[2025-02-09 08:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:50:04] Production.INFO: count ==21
[2025-02-09 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435944') start
[2025-02-09 08:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 08:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435945', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 08:50:04] Production.ERROR: done
[2025-02-09 08:50:04] Production.INFO: Account Balance End.
[2025-02-09 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435944') end
[2025-02-09 08:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:50:04] Production.INFO: 1
[2025-02-09 08:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:50:04] Production.INFO: ==7890== Releasing lock...
[2025-02-09 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:50:04] Production.INFO: ==7884== Releasing lock...
[2025-02-09 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:50:06
[end_date_ymd] => 2025-02-09 08:50:06
[RateCDR] => 1
)
[2025-02-09 08:50: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-02-09 05:50:06' and `end` < '2025-02-09 08:50: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-02-09 08:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435945', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 08:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 08:50:08] Production.INFO: ProcessCDR(1,14435945,1,1,2)
[2025-02-09 08:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435945,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435945,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:50:08] Production.INFO: ==7888== Releasing lock...
[2025-02-09 08:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 08:50:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 08:50:13] Production.ERROR: CronJobId end10
[2025-02-09 08:50:13] Production.INFO: ==7881== Releasing lock...
[2025-02-09 08:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:50:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:50:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:50:16] Production.INFO: call_cost start
[2025-02-09 08:50:16] Production.INFO: call_cost end
[2025-02-09 08:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:50:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:50:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:50:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:50:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:50:16] Production.INFO: ==7876== Releasing lock...
[2025-02-09 08:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:50:20] Production.INFO: count ==153
[2025-02-09 08:50:20] Production.ERROR: pbx CDR StartTime 2025-02-09 05:50:06 - End Time 2025-02-09 08:50:06
[2025-02-09 08:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435946', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435946', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435946', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435946', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:50:20] Production.INFO: ProcessCDR(1,14435946,1,1,2)
[2025-02-09 08:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435946', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435946', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:50:23] Production.INFO: ==7886== Releasing lock...
[2025-02-09 08:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:50:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:51:02] Production.INFO: ==7954== Lock acquired, processing the job...
[2025-02-09 13:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:51:02] Production.INFO: neon service started
[2025-02-09 13:51:02] Production.INFO: neon service started
[2025-02-09 13:51:02] Production.INFO: ==7954== Releasing lock...
[2025-02-09 13:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:51:02] Production.INFO: ==7958== Lock acquired, processing the job...
[2025-02-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:51:02] Production.INFO: ==7958== Releasing lock...
[2025-02-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:51:02] Production.INFO: ==7956== Lock acquired, processing the job...
[2025-02-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:51:02] Production.INFO: ==7956== Releasing lock...
[2025-02-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:51:03] Production.INFO: ==7965== Lock acquired, processing the job...
[2025-02-09 08:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:51:03] Production.INFO: ==7967== Lock acquired, processing the job...
[2025-02-09 08:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:51:03] Production.INFO: ==7960== Lock acquired, processing the job...
[2025-02-09 08:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:51:03] Production.INFO: Account Balance Start.
[2025-02-09 08:51:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:51:03] Production.INFO: 117
[2025-02-09 08:51:03] Production.INFO: ==7962== Lock acquired, processing the job...
[2025-02-09 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:51:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:51:04] Production.INFO: Total Charge 0
[2025-02-09 08:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:51:04] Production.INFO: CreateAllLog End
[2025-02-09 08:51:04] Production.INFO: ==7969== Lock acquired, processing the job...
[2025-02-09 08:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:51:04] Production.INFO: ==7971== Lock acquired, processing the job...
[2025-02-09 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:51:04] Production.INFO: Account Balance End.
[2025-02-09 08:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:51:04] Production.INFO: ==7967== Releasing lock...
[2025-02-09 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:51:04] Production.INFO: ==7962== Releasing lock...
[2025-02-09 08:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:51:04] Production.INFO: count ==21
[2025-02-09 08:51:04] Production.ERROR: done
[2025-02-09 08:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:51:04] Production.INFO: count ==21
[2025-02-09 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435950') start
[2025-02-09 08:51:04] Production.ERROR: done
[2025-02-09 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435950') end
[2025-02-09 08:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:51:04] Production.INFO: 1
[2025-02-09 08:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:51:05] Production.INFO: ==7971== Releasing lock...
[2025-02-09 08:51:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:51:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:51:05
[end_date_ymd] => 2025-02-09 08:51:05
[RateCDR] => 1
)
[2025-02-09 08:51: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` >= '2025-02-09 05:51:05' and `end` < '2025-02-09 08:51: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 ,'')
[2025-02-09 08:51:12] Production.ERROR: CronJobId end10
[2025-02-09 08:51:12] Production.INFO: ==7965== Releasing lock...
[2025-02-09 08:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:51:14] Production.INFO: call_cost start
[2025-02-09 08:51:14] Production.INFO: call_cost end
[2025-02-09 08:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:51:15] Production.INFO: ==7960== Releasing lock...
[2025-02-09 08:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:51:18] Production.INFO: count ==153
[2025-02-09 08:51:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:51:05 - End Time 2025-02-09 08:51:05
[2025-02-09 08:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435951', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435951', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435951', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435951', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:51:18] Production.INFO: ProcessCDR(1,14435951,1,1,2)
[2025-02-09 08:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435951', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435951', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:51:21] Production.INFO: ==7969== Releasing lock...
[2025-02-09 08:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:51:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:52:01] Production.INFO: ==8072== Lock acquired, processing the job...
[2025-02-09 13:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:52:01] Production.INFO: neon service started
[2025-02-09 13:52:01] Production.INFO: neon service started
[2025-02-09 13:52:01] Production.INFO: ==8072== Releasing lock...
[2025-02-09 13:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:52:02] Production.INFO: ==8074== Lock acquired, processing the job...
[2025-02-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:52:02] Production.INFO: ==8076== Lock acquired, processing the job...
[2025-02-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:52:02] Production.INFO: ==8076== Releasing lock...
[2025-02-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:52:02] Production.INFO: ==8074== Releasing lock...
[2025-02-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:52:03] Production.INFO: ==8080== Lock acquired, processing the job...
[2025-02-09 08:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:52:03] Production.INFO: ==8082== Lock acquired, processing the job...
[2025-02-09 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:52:03] Production.INFO: ==8084== Lock acquired, processing the job...
[2025-02-09 08:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:52:03] Production.INFO: ==8082== Releasing lock...
[2025-02-09 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:52:03] Production.INFO: ==8086== Lock acquired, processing the job...
[2025-02-09 08:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:52:03] Production.INFO: ==8090== Lock acquired, processing the job...
[2025-02-09 08:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:52:03] Production.INFO: ==8088== Lock acquired, processing the job...
[2025-02-09 08:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:52:03] Production.INFO: Account Balance Start.
[2025-02-09 08:52:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:52:03] Production.INFO: 117
[2025-02-09 08:52:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:52:03] Production.INFO: count ==21
[2025-02-09 08:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:52:04] Production.INFO: count ==21
[2025-02-09 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435955') start
[2025-02-09 08:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435955') end
[2025-02-09 08:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:52:04] Production.INFO: 1
[2025-02-09 08:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:52:04] Production.INFO: Total Charge 0
[2025-02-09 08:52:04] Production.INFO: CreateAllLog End
[2025-02-09 08:52:04] Production.INFO: ==8090== Releasing lock...
[2025-02-09 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:52:04] Production.ERROR: done
[2025-02-09 08:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:52:04] Production.ERROR: done
[2025-02-09 08:52:04] Production.INFO: Account Balance End.
[2025-02-09 08:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:52:04] Production.INFO: ==8086== Releasing lock...
[2025-02-09 08:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:52:05
[end_date_ymd] => 2025-02-09 08:52:05
[RateCDR] => 1
)
[2025-02-09 08:52: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` >= '2025-02-09 05:52:05' and `end` < '2025-02-09 08:52: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 ,'')
[2025-02-09 08:52:12] Production.ERROR: CronJobId end10
[2025-02-09 08:52:12] Production.INFO: ==8084== Releasing lock...
[2025-02-09 08:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:52:14] Production.INFO: call_cost start
[2025-02-09 08:52:14] Production.INFO: call_cost end
[2025-02-09 08:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:52:15] Production.INFO: ==8080== Releasing lock...
[2025-02-09 08:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:52:19] Production.INFO: count ==153
[2025-02-09 08:52:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:52:05 - End Time 2025-02-09 08:52:05
[2025-02-09 08:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435956', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435956', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435956', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435956', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:52:19] Production.INFO: ProcessCDR(1,14435956,1,1,2)
[2025-02-09 08:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435956', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435956', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:52:22] Production.INFO: ==8088== Releasing lock...
[2025-02-09 08:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:52:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:53:01] Production.INFO: ==8151== Lock acquired, processing the job...
[2025-02-09 13:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:53:02] Production.INFO: neon service started
[2025-02-09 13:53:02] Production.INFO: neon service started
[2025-02-09 13:53:02] Production.INFO: ==8151== Releasing lock...
[2025-02-09 13:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:53:02] Production.INFO: ==8155== Lock acquired, processing the job...
[2025-02-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:53:02] Production.INFO: ==8155== Releasing lock...
[2025-02-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:53:02] Production.INFO: ==8153== Lock acquired, processing the job...
[2025-02-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:53:02] Production.INFO: ==8153== Releasing lock...
[2025-02-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:53:03] Production.INFO: ==8161== Lock acquired, processing the job...
[2025-02-09 08:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:53:03] Production.INFO: ==8168== Lock acquired, processing the job...
[2025-02-09 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:53:03] Production.INFO: ==8157== Lock acquired, processing the job...
[2025-02-09 08:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:53:03] Production.INFO: count ==21
[2025-02-09 08:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:53:04] Production.INFO: ==8159== Lock acquired, processing the job...
[2025-02-09 08:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:53:04] Production.INFO: count ==21
[2025-02-09 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435957') start
[2025-02-09 08:53:04] Production.INFO: ==8163== Lock acquired, processing the job...
[2025-02-09 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435957') end
[2025-02-09 08:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:53:04] Production.INFO: 1
[2025-02-09 08:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:53:04] Production.INFO: ==8166== Lock acquired, processing the job...
[2025-02-09 08:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:53:04] Production.INFO: ==8168== Releasing lock...
[2025-02-09 08:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:53:04] Production.INFO: Account Balance Start.
[2025-02-09 08:53:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:53:04] Production.INFO: 117
[2025-02-09 08:53:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:53:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:53:04] Production.INFO: Total Charge 0
[2025-02-09 08:53:04] Production.INFO: CreateAllLog End
[2025-02-09 08:53:04] Production.INFO: ==8159== Releasing lock...
[2025-02-09 08:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:53:04] Production.INFO: Account Balance End.
[2025-02-09 08:53:04] Production.ERROR: done
[2025-02-09 08:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:53:04] Production.INFO: ==8163== Releasing lock...
[2025-02-09 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:53:04] Production.ERROR: done
[2025-02-09 08:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:53:05
[end_date_ymd] => 2025-02-09 08:53:05
[RateCDR] => 1
)
[2025-02-09 08:53: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` >= '2025-02-09 05:53:05' and `end` < '2025-02-09 08:53: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 ,'')
[2025-02-09 08:53:12] Production.ERROR: CronJobId end10
[2025-02-09 08:53:12] Production.INFO: ==8161== Releasing lock...
[2025-02-09 08:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:53:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:53:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:53:14] Production.INFO: call_cost start
[2025-02-09 08:53:14] Production.INFO: call_cost end
[2025-02-09 08:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:53:15] Production.INFO: ==8157== Releasing lock...
[2025-02-09 08:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:53:18] Production.INFO: count ==153
[2025-02-09 08:53:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:53:05 - End Time 2025-02-09 08:53:05
[2025-02-09 08:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435961', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435961', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435961', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435961', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:53:18] Production.INFO: ProcessCDR(1,14435961,1,1,2)
[2025-02-09 08:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435961', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435961', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:53:21] Production.INFO: ==8166== Releasing lock...
[2025-02-09 08:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:53:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:54:01] Production.INFO: ==8229== Lock acquired, processing the job...
[2025-02-09 13:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:54:01] Production.INFO: neon service started
[2025-02-09 13:54:01] Production.INFO: neon service started
[2025-02-09 13:54:01] Production.INFO: ==8229== Releasing lock...
[2025-02-09 13:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:54:02] Production.INFO: ==8231== Lock acquired, processing the job...
[2025-02-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:54:02] Production.INFO: ==8233== Lock acquired, processing the job...
[2025-02-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:54:02] Production.INFO: ==8233== Releasing lock...
[2025-02-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:54:02] Production.INFO: ==8231== Releasing lock...
[2025-02-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:54:03] Production.INFO: ==8236== Lock acquired, processing the job...
[2025-02-09 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:54:03] Production.INFO: ==8244== Lock acquired, processing the job...
[2025-02-09 08:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:54:03] Production.INFO: ==8238== Lock acquired, processing the job...
[2025-02-09 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:54:03] Production.INFO: ==8240== Lock acquired, processing the job...
[2025-02-09 08:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:54:03] Production.INFO: ==8246== Lock acquired, processing the job...
[2025-02-09 08:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:54:03] Production.INFO: ==8242== Lock acquired, processing the job...
[2025-02-09 08:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:54:03] Production.ERROR: done
[2025-02-09 08:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:54:03] Production.INFO: Account Balance Start.
[2025-02-09 08:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:54:03] Production.INFO: 117
[2025-02-09 08:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:54:03] Production.INFO: count ==21
[2025-02-09 08:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:54:03] Production.INFO: count ==21
[2025-02-09 08:54:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435963') start
[2025-02-09 08:54:03] Production.INFO: Total Charge 0
[2025-02-09 08:54:03] Production.INFO: CreateAllLog End
[2025-02-09 08:54:03] Production.ERROR: done
[2025-02-09 08:54:03] Production.INFO: ==8238== Releasing lock...
[2025-02-09 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435963') end
[2025-02-09 08:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:54:04] Production.INFO: 1
[2025-02-09 08:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:54:04] Production.INFO: Account Balance End.
[2025-02-09 08:54:04] Production.INFO: ==8246== Releasing lock...
[2025-02-09 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:54:04] Production.INFO: ==8242== Releasing lock...
[2025-02-09 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:54:04
[end_date_ymd] => 2025-02-09 08:54:04
[RateCDR] => 1
)
[2025-02-09 08:54:04] 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-02-09 05:54:04' and `end` < '2025-02-09 08:54:04'
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-02-09 08:54:11] Production.ERROR: CronJobId end10
[2025-02-09 08:54:11] Production.INFO: ==8240== Releasing lock...
[2025-02-09 08:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:54:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:54:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:54:13] Production.INFO: call_cost start
[2025-02-09 08:54:13] Production.INFO: call_cost end
[2025-02-09 08:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:54:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:54:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:54:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:54:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:54:14] Production.INFO: ==8236== Releasing lock...
[2025-02-09 08:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:54:18] Production.INFO: count ==153
[2025-02-09 08:54:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:54:04 - End Time 2025-02-09 08:54:04
[2025-02-09 08:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435966', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435966', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435966', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435966', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:54:18] Production.INFO: ProcessCDR(1,14435966,1,1,2)
[2025-02-09 08:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435966', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435966', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:54:21] Production.INFO: ==8244== Releasing lock...
[2025-02-09 08:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:55:01] Production.INFO: ==8310== Lock acquired, processing the job...
[2025-02-09 13:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:55:01] Production.INFO: neon service started
[2025-02-09 13:55:01] Production.INFO: neon service started
[2025-02-09 13:55:01] Production.INFO: ==8310== Releasing lock...
[2025-02-09 13:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:55:02] Production.INFO: ==8312== Lock acquired, processing the job...
[2025-02-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:55:02] Production.INFO: ==8314== Lock acquired, processing the job...
[2025-02-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:55:02] Production.INFO: ==8314== Releasing lock...
[2025-02-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:55:02] Production.INFO: ==8312== Releasing lock...
[2025-02-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:55:03] Production.INFO: ==8321== Lock acquired, processing the job...
[2025-02-09 08:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:55:03] Production.INFO: ==8323== Lock acquired, processing the job...
[2025-02-09 08:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:55:03] Production.INFO: ==8327== Lock acquired, processing the job...
[2025-02-09 08:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:55:03] Production.INFO: ==8319== Lock acquired, processing the job...
[2025-02-09 08:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:55:03] Production.INFO: ==8325== Lock acquired, processing the job...
[2025-02-09 08:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:55:04] Production.INFO: ==8329== Lock acquired, processing the job...
[2025-02-09 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:55:04] Production.ERROR: done
[2025-02-09 08:55:04] Production.INFO: ==8321== Releasing lock...
[2025-02-09 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:55:04] Production.INFO: Account Balance Start.
[2025-02-09 08:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:55:04] Production.INFO: 117
[2025-02-09 08:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:55:04] Production.INFO: count ==21
[2025-02-09 08:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:55:04] Production.INFO: count ==21
[2025-02-09 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435970') start
[2025-02-09 08:55:04] Production.INFO: Total Charge 0
[2025-02-09 08:55:04] Production.INFO: CreateAllLog End
[2025-02-09 08:55:04] Production.ERROR: done
[2025-02-09 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435970') end
[2025-02-09 08:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:55:04] Production.INFO: 1
[2025-02-09 08:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:55:04] Production.INFO: ==8329== Releasing lock...
[2025-02-09 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:55:04] Production.INFO: Account Balance End.
[2025-02-09 08:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:55:04] Production.INFO: ==8325== Releasing lock...
[2025-02-09 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:55:05
[end_date_ymd] => 2025-02-09 08:55:05
[RateCDR] => 1
)
[2025-02-09 08:55: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` >= '2025-02-09 05:55:05' and `end` < '2025-02-09 08:55: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 ,'')
[2025-02-09 08:55:11] Production.ERROR: CronJobId end10
[2025-02-09 08:55:11] Production.INFO: ==8323== Releasing lock...
[2025-02-09 08:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:55:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:55:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:55:14] Production.INFO: call_cost start
[2025-02-09 08:55:14] Production.INFO: call_cost end
[2025-02-09 08:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:55:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:55:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:55:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:55:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:55:14] Production.INFO: ==8319== Releasing lock...
[2025-02-09 08:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:55:18] Production.INFO: count ==153
[2025-02-09 08:55:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:55:05 - End Time 2025-02-09 08:55:05
[2025-02-09 08:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435971', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435971', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435971', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435971', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:55:18] Production.INFO: ProcessCDR(1,14435971,1,1,2)
[2025-02-09 08:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435971', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435971', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:55:21] Production.INFO: ==8327== Releasing lock...
[2025-02-09 08:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:56:02] Production.INFO: ==8408== Lock acquired, processing the job...
[2025-02-09 13:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:56:02] Production.INFO: neon service started
[2025-02-09 13:56:02] Production.INFO: neon service started
[2025-02-09 13:56:02] Production.INFO: ==8408== Releasing lock...
[2025-02-09 13:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:56:02] Production.INFO: ==8411== Lock acquired, processing the job...
[2025-02-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:56:02] Production.INFO: ==8411== Releasing lock...
[2025-02-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:56:03] Production.INFO: ==8413== Lock acquired, processing the job...
[2025-02-09 13:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:56:03] Production.INFO: ==8413== Releasing lock...
[2025-02-09 13:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:56:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:56:03] Production.INFO: ==8422== Lock acquired, processing the job...
[2025-02-09 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:56:03] Production.INFO: ==8426== Lock acquired, processing the job...
[2025-02-09 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:56:03] Production.INFO: Account Balance Start.
[2025-02-09 08:56:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:56:03] Production.INFO: 117
[2025-02-09 08:56:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:56:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:56:04] Production.INFO: Total Charge 0
[2025-02-09 08:56:04] Production.INFO: count ==21
[2025-02-09 08:56:04] Production.INFO: CreateAllLog End
[2025-02-09 08:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:56:04] Production.INFO: ==8418== Lock acquired, processing the job...
[2025-02-09 08:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:56:04] Production.INFO: count ==21
[2025-02-09 08:56:04] Production.INFO: ==8416== Lock acquired, processing the job...
[2025-02-09 08:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435973') start
[2025-02-09 08:56:04] Production.INFO: ==8420== Lock acquired, processing the job...
[2025-02-09 08:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435973') end
[2025-02-09 08:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:56:04] Production.INFO: 1
[2025-02-09 08:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:56:04] Production.INFO: Account Balance End.
[2025-02-09 08:56:04] Production.INFO: ==8426== Releasing lock...
[2025-02-09 08:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:56:04] Production.INFO: ==8424== Lock acquired, processing the job...
[2025-02-09 08:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:56:04] Production.INFO: ==8422== Releasing lock...
[2025-02-09 08:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:56:04] Production.INFO: ==8418== Releasing lock...
[2025-02-09 08:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:56:04] Production.ERROR: done
[2025-02-09 08:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:56:04] Production.ERROR: done
[2025-02-09 08:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:56:05
[end_date_ymd] => 2025-02-09 08:56:05
[RateCDR] => 1
)
[2025-02-09 08:56: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` >= '2025-02-09 05:56:05' and `end` < '2025-02-09 08:56: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 ,'')
[2025-02-09 08:56:11] Production.ERROR: CronJobId end10
[2025-02-09 08:56:11] Production.INFO: ==8420== Releasing lock...
[2025-02-09 08:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:56:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:56:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:56:14] Production.INFO: call_cost start
[2025-02-09 08:56:14] Production.INFO: call_cost end
[2025-02-09 08:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:56:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:56:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:56:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:56:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:56:14] Production.INFO: ==8416== Releasing lock...
[2025-02-09 08:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:56:18] Production.INFO: count ==153
[2025-02-09 08:56:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:56:05 - End Time 2025-02-09 08:56:05
[2025-02-09 08:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435976', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435976', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435976', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435976', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:56:18] Production.INFO: ProcessCDR(1,14435976,1,1,2)
[2025-02-09 08:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435976', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435976', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:56:21] Production.INFO: ==8424== Releasing lock...
[2025-02-09 08:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:56:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:57:01] Production.INFO: ==8499== Lock acquired, processing the job...
[2025-02-09 13:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:57:01] Production.INFO: neon service started
[2025-02-09 13:57:01] Production.INFO: neon service started
[2025-02-09 13:57:01] Production.INFO: ==8499== Releasing lock...
[2025-02-09 13:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:57:02] Production.INFO: ==8501== Lock acquired, processing the job...
[2025-02-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:57:02] Production.INFO: ==8503== Lock acquired, processing the job...
[2025-02-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:57:02] Production.INFO: ==8503== Releasing lock...
[2025-02-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:57:02] Production.INFO: ==8501== Releasing lock...
[2025-02-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:57:03] Production.INFO: ==8510== Lock acquired, processing the job...
[2025-02-09 08:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:57:03] Production.INFO: ==8506== Lock acquired, processing the job...
[2025-02-09 08:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:57:03] Production.INFO: ==8516== Lock acquired, processing the job...
[2025-02-09 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:57:03] Production.INFO: count ==21
[2025-02-09 08:57:03] Production.INFO: ==8508== Lock acquired, processing the job...
[2025-02-09 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:57:03] Production.INFO: count ==21
[2025-02-09 08:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435977') start
[2025-02-09 08:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435977') end
[2025-02-09 08:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:57:03] Production.INFO: 1
[2025-02-09 08:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:57:04] Production.INFO: ==8516== Releasing lock...
[2025-02-09 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:57:04] Production.INFO: ==8512== Lock acquired, processing the job...
[2025-02-09 08:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:57:04] Production.INFO: ==8514== Lock acquired, processing the job...
[2025-02-09 08:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:57:04] Production.INFO: Account Balance Start.
[2025-02-09 08:57:04] Production.INFO: CreateAllLog Start
[2025-02-09 08:57:04] Production.INFO: 117
[2025-02-09 08:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:57:04] Production.INFO: Date 2025-02-08
[2025-02-09 08:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:57:04] Production.INFO: ==8508== Releasing lock...
[2025-02-09 08:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:57:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:57:04] Production.INFO: Total Charge 0
[2025-02-09 08:57:04] Production.INFO: CreateAllLog End
[2025-02-09 08:57:04] Production.INFO: Account Balance End.
[2025-02-09 08:57:04] Production.ERROR: done
[2025-02-09 08:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:57:04] Production.INFO: ==8512== Releasing lock...
[2025-02-09 08:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:57:04] Production.ERROR: done
[2025-02-09 08:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:57:05
[end_date_ymd] => 2025-02-09 08:57:05
[RateCDR] => 1
)
[2025-02-09 08:57: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` >= '2025-02-09 05:57:05' and `end` < '2025-02-09 08:57: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 ,'')
[2025-02-09 08:57:12] Production.ERROR: CronJobId end10
[2025-02-09 08:57:12] Production.INFO: ==8510== Releasing lock...
[2025-02-09 08:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:57:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:57:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:57:14] Production.INFO: call_cost start
[2025-02-09 08:57:14] Production.INFO: call_cost end
[2025-02-09 08:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:57:15] Production.INFO: ==8506== Releasing lock...
[2025-02-09 08:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:57:18] Production.INFO: count ==153
[2025-02-09 08:57:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:57:05 - End Time 2025-02-09 08:57:05
[2025-02-09 08:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435981', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435981', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435981', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435981', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:57:18] Production.INFO: ProcessCDR(1,14435981,1,1,2)
[2025-02-09 08:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435981', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435981', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:57:22] Production.INFO: ==8514== Releasing lock...
[2025-02-09 08:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:57:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:58:02] Production.INFO: ==8598== Lock acquired, processing the job...
[2025-02-09 13:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:58:02] Production.INFO: neon service started
[2025-02-09 13:58:02] Production.INFO: neon service started
[2025-02-09 13:58:02] Production.INFO: ==8598== Releasing lock...
[2025-02-09 13:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:58:02] Production.INFO: ==8602== Lock acquired, processing the job...
[2025-02-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:58:02] Production.INFO: ==8602== Releasing lock...
[2025-02-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:58:02] Production.INFO: ==8600== Lock acquired, processing the job...
[2025-02-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 08:58:03] Production.INFO: ==8600== Releasing lock...
[2025-02-09 08:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 08:58:03] Production.INFO: ==8605== Lock acquired, processing the job...
[2025-02-09 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:58:03] Production.INFO: ==8607== Lock acquired, processing the job...
[2025-02-09 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:58:03] Production.INFO: ==8611== Lock acquired, processing the job...
[2025-02-09 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:58:03] Production.INFO: Account Balance Start.
[2025-02-09 08:58:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:58:03] Production.INFO: 117
[2025-02-09 08:58:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:58:03] Production.INFO: ==8609== Lock acquired, processing the job...
[2025-02-09 08:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:58:04] Production.INFO: Date 2025-02-09
[2025-02-09 08:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 08:58:04] Production.INFO: Total Charge 0
[2025-02-09 08:58:04] Production.INFO: CreateAllLog End
[2025-02-09 08:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:58:04] Production.INFO: ==8613== Lock acquired, processing the job...
[2025-02-09 08:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:58:04] Production.INFO: Account Balance End.
[2025-02-09 08:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 08:58:04] Production.INFO: ==8611== Releasing lock...
[2025-02-09 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:58:04] Production.INFO: ==8615== Lock acquired, processing the job...
[2025-02-09 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:58:04] Production.INFO: ==8607== Releasing lock...
[2025-02-09 08:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:58:04] Production.INFO: count ==21
[2025-02-09 08:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:58:04] Production.INFO: count ==21
[2025-02-09 08:58:04] Production.ERROR: done
[2025-02-09 08:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435985') start
[2025-02-09 08:58:04] Production.ERROR: done
[2025-02-09 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435985') end
[2025-02-09 08:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:58:04] Production.INFO: 1
[2025-02-09 08:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:58:04] Production.INFO: ==8615== Releasing lock...
[2025-02-09 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:58:05
[end_date_ymd] => 2025-02-09 08:58:05
[RateCDR] => 1
)
[2025-02-09 08:58: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` >= '2025-02-09 05:58:05' and `end` < '2025-02-09 08:58: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 ,'')
[2025-02-09 08:58:12] Production.ERROR: CronJobId end10
[2025-02-09 08:58:12] Production.INFO: ==8609== Releasing lock...
[2025-02-09 08:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:58:14] Production.INFO: call_cost start
[2025-02-09 08:58:14] Production.INFO: call_cost end
[2025-02-09 08:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:58:15] Production.INFO: ==8605== Releasing lock...
[2025-02-09 08:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:58:18] Production.INFO: count ==154
[2025-02-09 08:58:18] Production.ERROR: pbx CDR StartTime 2025-02-09 05:58:05 - End Time 2025-02-09 08:58:05
[2025-02-09 08:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435986', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435986', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435986', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435986', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:58:18] Production.INFO: ProcessCDR(1,14435986,1,1,2)
[2025-02-09 08:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435986', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435986', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:58:23] Production.INFO: ==8613== Releasing lock...
[2025-02-09 08:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:58:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 13:59:01] Production.INFO: ==8690== Lock acquired, processing the job...
[2025-02-09 13:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 13:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 13:59:01] Production.INFO: neon service started
[2025-02-09 13:59:01] Production.INFO: neon service started
[2025-02-09 13:59:01] Production.INFO: ==8690== Releasing lock...
[2025-02-09 13:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 13:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 08:59:01] Production.INFO: ==8693== Lock acquired, processing the job...
[2025-02-09 08:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:59:02] Production.INFO: ==8695== Lock acquired, processing the job...
[2025-02-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 08:59:02] Production.INFO: ==8693== Releasing lock...
[2025-02-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 08:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:59:02] Production.INFO: ==8695== Releasing lock...
[2025-02-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 13:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 08:59:03] Production.INFO: ==8703== Lock acquired, processing the job...
[2025-02-09 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 08:59:03] Production.INFO: Account Balance Start.
[2025-02-09 08:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 08:59:03] Production.INFO: 117
[2025-02-09 08:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 08:59:03] Production.INFO: ==8697== Lock acquired, processing the job...
[2025-02-09 08:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 08:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:59:03] Production.INFO: ==8708== Lock acquired, processing the job...
[2025-02-09 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 08:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 08:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 08:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 08:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:59:03] Production.INFO: Total Charge 0
[2025-02-09 08:59:03] Production.INFO: CreateAllLog End
[2025-02-09 08:59:03] Production.INFO: count ==21
[2025-02-09 08:59:03] Production.INFO: ==8699== Lock acquired, processing the job...
[2025-02-09 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 08:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 08:59:03] Production.INFO: count ==21
[2025-02-09 08:59:03] Production.INFO: ==8701== Lock acquired, processing the job...
[2025-02-09 08:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 08:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435988') start
[2025-02-09 08:59:03] Production.INFO: Account Balance End.
[2025-02-09 08:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14435988') end
[2025-02-09 08:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 08:59:03] Production.INFO: 1
[2025-02-09 08:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 08:59:03] Production.INFO: ==8705== Lock acquired, processing the job...
[2025-02-09 08:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 08:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 08:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 08:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 08:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 08:59:03] Production.INFO: ==8708== Releasing lock...
[2025-02-09 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 08:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 08:59:03] Production.ERROR: CronJobId end 12
[2025-02-09 08:59:03] Production.INFO: ==8703== Releasing lock...
[2025-02-09 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 08:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 08:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 08:59:03] Production.INFO: ==8699== Releasing lock...
[2025-02-09 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 08:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 08:59:04] Production.ERROR: done
[2025-02-09 08:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 08:59:04] Production.ERROR: done
[2025-02-09 08:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 05:59:05
[end_date_ymd] => 2025-02-09 08:59:05
[RateCDR] => 1
)
[2025-02-09 08:59: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` >= '2025-02-09 05:59:05' and `end` < '2025-02-09 08:59: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 ,'')
[2025-02-09 08:59:11] Production.ERROR: CronJobId end10
[2025-02-09 08:59:11] Production.INFO: ==8701== Releasing lock...
[2025-02-09 08:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 08:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 08:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 08:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 08:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 08:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 08:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 08:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 08:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 08:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 08:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 08:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 08:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 08:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 08:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 08:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 08:59:13] Production.INFO: call_cost start
[2025-02-09 08:59:13] Production.INFO: call_cost end
[2025-02-09 08:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 08:59:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 08:59:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 08:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 08:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 08:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 08:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 08:59:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 08:59:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 08:59:14] Production.INFO: ==8697== Releasing lock...
[2025-02-09 08:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 08:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 08:59:19] Production.INFO: count ==154
[2025-02-09 08:59:19] Production.ERROR: pbx CDR StartTime 2025-02-09 05:59:05 - End Time 2025-02-09 08:59:05
[2025-02-09 08:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 08:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435991', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435991', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435991', 'tblTempVendorCDR_20' ) start
[2025-02-09 08:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435991', 'tblTempVendorCDR_20' ) end
[2025-02-09 08:59:19] Production.INFO: ProcessCDR(1,14435991,1,1,2)
[2025-02-09 08:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 08:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 08:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435991', 'tblTempUsageDetail_20' ) start
[2025-02-09 08:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435991', 'tblTempUsageDetail_20' ) end
[2025-02-09 08:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 08:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 08:59:22] Production.INFO: ==8705== Releasing lock...
[2025-02-09 08:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 08:59:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:00:02] Production.INFO: ==8792== Lock acquired, processing the job...
[2025-02-09 14:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:00:02] Production.INFO: neon service started
[2025-02-09 14:00:02] Production.INFO: neon service started
[2025-02-09 14:00:02] Production.INFO: ==8792== Releasing lock...
[2025-02-09 14:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:00:02] Production.INFO: ==8796== Lock acquired, processing the job...
[2025-02-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:00:02] Production.INFO: ==8796== Releasing lock...
[2025-02-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:00:02] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-02-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:00:03] Production.INFO: ==8794== Releasing lock...
[2025-02-09 09:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:00:04] Production.INFO: ==8799== Lock acquired, processing the job...
[2025-02-09 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 09:00:04] Production.INFO: ==8805== Lock acquired, processing the job...
[2025-02-09 09:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 09:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 09:00:04] Production.ERROR: CronJob PID - 8805
[2025-02-09 09:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 09:00:04] Production.ERROR: CronJob ID - 10
[2025-02-09 09:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 09:00:00
[2025-02-09 09:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 09:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 09:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 09:00:04] Production.INFO: ==8799== Releasing lock...
[2025-02-09 09:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 09:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 09:00:04] Production.INFO: ==8811== Lock acquired, processing the job...
[2025-02-09 09:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 09:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:00:04] Production.INFO: ==8801== Lock acquired, processing the job...
[2025-02-09 09:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:00:04] Production.INFO: ==8803== Lock acquired, processing the job...
[2025-02-09 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:00:04] Production.INFO: ==8809== Lock acquired, processing the job...
[2025-02-09 09:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:00:04] Production.INFO: ==8807== Lock acquired, processing the job...
[2025-02-09 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:00:04] Production.INFO: ==8813== Lock acquired, processing the job...
[2025-02-09 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:00:04] Production.INFO: Account Balance Start.
[2025-02-09 09:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:00:04] Production.INFO: 117
[2025-02-09 09:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:00:04] Production.ERROR: done
[2025-02-09 09:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 09:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435996', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 09:00:04] Production.INFO: count ==21
[2025-02-09 09:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:00:04] Production.INFO: count ==21
[2025-02-09 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14435994') start
[2025-02-09 09:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:00:05] Production.INFO: Total Charge 0
[2025-02-09 09:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14435994') end
[2025-02-09 09:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:00:05] Production.INFO: 1
[2025-02-09 09:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:00:05] Production.INFO: CreateAllLog End
[2025-02-09 09:00:05] Production.ERROR: done
[2025-02-09 09:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:00:05] Production.INFO: ==8813== Releasing lock...
[2025-02-09 09:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:00:05] Production.INFO: ==8803== Releasing lock...
[2025-02-09 09:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:00:05] Production.ERROR: done
[2025-02-09 09:00:05] Production.INFO: Account Balance End.
[2025-02-09 09:00:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:00:05] Production.INFO: ==8807== Releasing lock...
[2025-02-09 09:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:00:06
[end_date_ymd] => 2025-02-09 09:00:06
[RateCDR] => 1
)
[2025-02-09 09: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-02-09 06:00:06' and `end` < '2025-02-09 09: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-02-09 09:00:06] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:06] Production.INFO: =diffInterval=0
[2025-02-09 09:00:08] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:08] Production.INFO: =diffInterval=0
[2025-02-09 09:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14435996', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 09:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 09:00:09] Production.INFO: ProcessCDR(1,14435996,1,1,2)
[2025-02-09 09:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14435996,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14435996,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:00:09] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:09] Production.INFO: =diffInterval=0
[2025-02-09 09:00:09] Production.INFO: ==8811== Releasing lock...
[2025-02-09 09:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 09:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 09:00:10] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:10] Production.INFO: =diffInterval=0
[2025-02-09 09:00:11] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:11] Production.INFO: =diffInterval=0
[2025-02-09 09:00:11] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:11] Production.INFO: =diffInterval=0
[2025-02-09 09:00:12] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:12] Production.INFO: =diffInterval=0
[2025-02-09 09:00:13] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:13] Production.INFO: =diffInterval=0
[2025-02-09 09:00:13] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:13] Production.INFO: =diffInterval=0
[2025-02-09 09:00:14] Production.ERROR: CronJobId end10
[2025-02-09 09:00:14] Production.INFO: ==8805== Releasing lock...
[2025-02-09 09:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:00:14] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:14] Production.INFO: =diffInterval=0
[2025-02-09 09:00:15] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:15] Production.INFO: =diffInterval=0
[2025-02-09 09:00:15] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:15] Production.INFO: =diffInterval=0
[2025-02-09 09:00:16] Production.INFO: helper-LastRunTime===2025-02-09 09:00:00
[2025-02-09 09:00:16] Production.INFO: =diffInterval=0
[2025-02-09 09:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:00:16] Production.INFO: call_cost start
[2025-02-09 09:00:16] Production.INFO: call_cost end
[2025-02-09 09:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:00:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:00:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:00:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:00:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:00:17] Production.INFO: ==8801== Releasing lock...
[2025-02-09 09:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:00:19] Production.INFO: count ==154
[2025-02-09 09:00:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:00:06 - End Time 2025-02-09 09:00:06
[2025-02-09 09:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435997', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14435997', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435997', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14435997', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:00:19] Production.INFO: ProcessCDR(1,14435997,1,1,2)
[2025-02-09 09:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14435997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14435997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14435997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14435997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435997', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14435997', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:00:22] Production.INFO: ==8809== Releasing lock...
[2025-02-09 09:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:00:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:01:01] Production.INFO: ==8897== Lock acquired, processing the job...
[2025-02-09 14:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:01:01] Production.INFO: neon service started
[2025-02-09 14:01:01] Production.INFO: neon service started
[2025-02-09 14:01:01] Production.INFO: ==8897== Releasing lock...
[2025-02-09 14:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:01:01] Production.INFO: ==8909== Lock acquired, processing the job...
[2025-02-09 09:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:01:02] Production.INFO: ==8909== Releasing lock...
[2025-02-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:01:02] Production.INFO: ==8911== Lock acquired, processing the job...
[2025-02-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:01:02] Production.INFO: ==8911== Releasing lock...
[2025-02-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:01:02] Production.INFO: ==8913== Lock acquired, processing the job...
[2025-02-09 09:01:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:01:03] Production.INFO: ==8916== Lock acquired, processing the job...
[2025-02-09 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:01:03] Production.INFO: ==8922== Lock acquired, processing the job...
[2025-02-09 09:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:01:03] Production.INFO: ==8920== Lock acquired, processing the job...
[2025-02-09 09:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:01:03] Production.INFO: ==8918== Lock acquired, processing the job...
[2025-02-09 09:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:01:03] Production.INFO: ==8924== Lock acquired, processing the job...
[2025-02-09 09:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:01:03] Production.ERROR: done
[2025-02-09 09:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:01:03] Production.INFO: Account Balance Start.
[2025-02-09 09:01:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:01:03] Production.INFO: 117
[2025-02-09 09:01:03] Production.INFO: ==8916== Releasing lock...
[2025-02-09 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:01:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:01:04] Production.INFO: count ==21
[2025-02-09 09:01:04] Production.INFO: Total Charge 0
[2025-02-09 09:01:04] Production.INFO: CreateAllLog End
[2025-02-09 09:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:01:04] Production.INFO: count ==21
[2025-02-09 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436001') start
[2025-02-09 09:01:04] Production.ERROR: done
[2025-02-09 09:01:04] Production.INFO: Account Balance End.
[2025-02-09 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436001') end
[2025-02-09 09:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:01:04] Production.INFO: 1
[2025-02-09 09:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:01:04] Production.INFO: ==8920== Releasing lock...
[2025-02-09 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:01:04] Production.INFO: ==8924== Releasing lock...
[2025-02-09 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:01:05
[end_date_ymd] => 2025-02-09 09:01:05
[RateCDR] => 1
)
[2025-02-09 09:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 06:01:05' and `end` < '2025-02-09 09:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 09:01:12] Production.ERROR: CronJobId end10
[2025-02-09 09:01:12] Production.INFO: ==8918== Releasing lock...
[2025-02-09 09:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:01:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:01:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:01:15] Production.INFO: call_cost start
[2025-02-09 09:01:15] Production.INFO: call_cost end
[2025-02-09 09:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:01:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:01:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:01:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:01:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:01:16] Production.INFO: ==8913== Releasing lock...
[2025-02-09 09:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:01:19] Production.INFO: count ==154
[2025-02-09 09:01:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:01:05 - End Time 2025-02-09 09:01:05
[2025-02-09 09:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436002', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436002', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436002', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436002', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:01:19] Production.INFO: ProcessCDR(1,14436002,1,1,2)
[2025-02-09 09:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436002', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436002', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:01:22] Production.INFO: ==8922== Releasing lock...
[2025-02-09 09:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:01:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:02:01] Production.INFO: ==9005== Lock acquired, processing the job...
[2025-02-09 14:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:02:01] Production.INFO: neon service started
[2025-02-09 14:02:02] Production.INFO: neon service started
[2025-02-09 14:02:02] Production.INFO: ==9005== Releasing lock...
[2025-02-09 14:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:02:02] Production.INFO: ==9007== Lock acquired, processing the job...
[2025-02-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:02:02] Production.INFO: ==9007== Releasing lock...
[2025-02-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:02:02] Production.INFO: ==9009== Lock acquired, processing the job...
[2025-02-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:02:02] Production.INFO: ==9009== Releasing lock...
[2025-02-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:02:03] Production.INFO: ==9015== Lock acquired, processing the job...
[2025-02-09 09:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:02:03] Production.INFO: ==9021== Lock acquired, processing the job...
[2025-02-09 09:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:02:03] Production.INFO: ==9011== Lock acquired, processing the job...
[2025-02-09 09:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:02:03] Production.INFO: ==9013== Lock acquired, processing the job...
[2025-02-09 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:02:04] Production.INFO: count ==21
[2025-02-09 09:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:02:04] Production.INFO: count ==21
[2025-02-09 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436003') start
[2025-02-09 09:02:04] Production.INFO: ==9017== Lock acquired, processing the job...
[2025-02-09 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:02:04] Production.INFO: ==9019== Lock acquired, processing the job...
[2025-02-09 09:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436003') end
[2025-02-09 09:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:02:04] Production.INFO: 1
[2025-02-09 09:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:02:04] Production.INFO: Account Balance Start.
[2025-02-09 09:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:02:04] Production.INFO: 117
[2025-02-09 09:02:04] Production.INFO: ==9021== Releasing lock...
[2025-02-09 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:02:04] Production.INFO: Total Charge 0
[2025-02-09 09:02:04] Production.INFO: CreateAllLog End
[2025-02-09 09:02:04] Production.INFO: ==9013== Releasing lock...
[2025-02-09 09:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:02:04] Production.INFO: Account Balance End.
[2025-02-09 09:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:02:04] Production.INFO: ==9017== Releasing lock...
[2025-02-09 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:02:04] Production.ERROR: done
[2025-02-09 09:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:02:04] Production.ERROR: done
[2025-02-09 09:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:02:05
[end_date_ymd] => 2025-02-09 09:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 06:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 09:02:12] Production.ERROR: CronJobId end10
[2025-02-09 09:02:12] Production.INFO: ==9015== Releasing lock...
[2025-02-09 09:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:02:14] Production.INFO: call_cost start
[2025-02-09 09:02:14] Production.INFO: call_cost end
[2025-02-09 09:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:02:15] Production.INFO: ==9011== Releasing lock...
[2025-02-09 09:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:02:19] Production.INFO: count ==154
[2025-02-09 09:02:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:02:05 - End Time 2025-02-09 09:02:05
[2025-02-09 09:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436007', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436007', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436007', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436007', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:02:19] Production.INFO: ProcessCDR(1,14436007,1,1,2)
[2025-02-09 09:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436007', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436007', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:02:22] Production.INFO: ==9019== Releasing lock...
[2025-02-09 09:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:02:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:03:01] Production.INFO: ==9105== Lock acquired, processing the job...
[2025-02-09 14:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:03:01] Production.INFO: neon service started
[2025-02-09 14:03:01] Production.INFO: neon service started
[2025-02-09 14:03:01] Production.INFO: ==9105== Releasing lock...
[2025-02-09 14:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:03:01] Production.INFO: ==9107== Lock acquired, processing the job...
[2025-02-09 09:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:03:02] Production.INFO: ==9109== Lock acquired, processing the job...
[2025-02-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:03:02] Production.INFO: ==9109== Releasing lock...
[2025-02-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:03:02] Production.INFO: ==9107== Releasing lock...
[2025-02-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:03:03] Production.INFO: ==9111== Lock acquired, processing the job...
[2025-02-09 09:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:03:03] Production.INFO: ==9113== Lock acquired, processing the job...
[2025-02-09 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:03:03] Production.INFO: ==9115== Lock acquired, processing the job...
[2025-02-09 09:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:03:03] Production.INFO: ==9117== Lock acquired, processing the job...
[2025-02-09 09:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:03:03] Production.INFO: ==9122== Lock acquired, processing the job...
[2025-02-09 09:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:03:03] Production.INFO: Account Balance Start.
[2025-02-09 09:03:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:03:03] Production.INFO: 117
[2025-02-09 09:03:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:03:03] Production.INFO: ==9113== Releasing lock...
[2025-02-09 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:03:03] Production.INFO: ==9120== Lock acquired, processing the job...
[2025-02-09 09:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:03:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:03:03] Production.INFO: Total Charge 0
[2025-02-09 09:03:03] Production.INFO: count ==21
[2025-02-09 09:03:03] Production.INFO: CreateAllLog End
[2025-02-09 09:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:03:03] Production.INFO: count ==21
[2025-02-09 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436011') start
[2025-02-09 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436011') end
[2025-02-09 09:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:03:04] Production.INFO: 1
[2025-02-09 09:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:03:04] Production.INFO: Account Balance End.
[2025-02-09 09:03:04] Production.INFO: ==9122== Releasing lock...
[2025-02-09 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:03:04] Production.ERROR: done
[2025-02-09 09:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:03:04] Production.INFO: ==9117== Releasing lock...
[2025-02-09 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:03:04] Production.ERROR: done
[2025-02-09 09:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:03:05
[end_date_ymd] => 2025-02-09 09:03:05
[RateCDR] => 1
)
[2025-02-09 09:03: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` >= '2025-02-09 06:03:05' and `end` < '2025-02-09 09:03: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 ,'')
[2025-02-09 09:03:12] Production.ERROR: CronJobId end10
[2025-02-09 09:03:12] Production.INFO: ==9115== Releasing lock...
[2025-02-09 09:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:03:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:03:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:03:14] Production.INFO: call_cost start
[2025-02-09 09:03:14] Production.INFO: call_cost end
[2025-02-09 09:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:03:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:03:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:03:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:03:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:03:15] Production.INFO: ==9111== Releasing lock...
[2025-02-09 09:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:03:18] Production.INFO: count ==154
[2025-02-09 09:03:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:03:05 - End Time 2025-02-09 09:03:05
[2025-02-09 09:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436012', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436012', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436012', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436012', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:03:18] Production.INFO: ProcessCDR(1,14436012,1,1,2)
[2025-02-09 09:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436012', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436012', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:03:21] Production.INFO: ==9120== Releasing lock...
[2025-02-09 09:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:03:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:04:01] Production.INFO: ==9207== Lock acquired, processing the job...
[2025-02-09 14:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:04:01] Production.INFO: neon service started
[2025-02-09 14:04:01] Production.INFO: neon service started
[2025-02-09 14:04:01] Production.INFO: ==9207== Releasing lock...
[2025-02-09 14:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:04:02] Production.INFO: ==9211== Lock acquired, processing the job...
[2025-02-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:04:02] Production.INFO: ==9211== Releasing lock...
[2025-02-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:04:02] Production.INFO: ==9209== Lock acquired, processing the job...
[2025-02-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:04:02] Production.INFO: ==9209== Releasing lock...
[2025-02-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:04:03] Production.INFO: ==9213== Lock acquired, processing the job...
[2025-02-09 09:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:04:03] Production.INFO: ==9215== Lock acquired, processing the job...
[2025-02-09 09:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:04:03] Production.INFO: ==9217== Lock acquired, processing the job...
[2025-02-09 09:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:04:03] Production.INFO: ==9219== Lock acquired, processing the job...
[2025-02-09 09:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:04:03] Production.INFO: ==9215== Releasing lock...
[2025-02-09 09:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:04:03] Production.INFO: ==9221== Lock acquired, processing the job...
[2025-02-09 09:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:04:04] Production.INFO: Account Balance Start.
[2025-02-09 09:04:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:04:04] Production.INFO: 117
[2025-02-09 09:04:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:04:04] Production.INFO: ==9224== Lock acquired, processing the job...
[2025-02-09 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:04:04] Production.INFO: Total Charge 0
[2025-02-09 09:04:04] Production.INFO: CreateAllLog End
[2025-02-09 09:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:04:04] Production.INFO: count ==21
[2025-02-09 09:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:04:04] Production.INFO: count ==21
[2025-02-09 09:04:04] Production.INFO: Account Balance End.
[2025-02-09 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436016') start
[2025-02-09 09:04:04] Production.ERROR: done
[2025-02-09 09:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:04:04] Production.INFO: ==9219== Releasing lock...
[2025-02-09 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436016') end
[2025-02-09 09:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:04:04] Production.INFO: 1
[2025-02-09 09:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:04:04] Production.ERROR: done
[2025-02-09 09:04:04] Production.INFO: ==9224== Releasing lock...
[2025-02-09 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:04:05
[end_date_ymd] => 2025-02-09 09:04:05
[RateCDR] => 1
)
[2025-02-09 09:04: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` >= '2025-02-09 06:04:05' and `end` < '2025-02-09 09:04: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 ,'')
[2025-02-09 09:04:12] Production.ERROR: CronJobId end10
[2025-02-09 09:04:12] Production.INFO: ==9217== Releasing lock...
[2025-02-09 09:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:04:14] Production.INFO: call_cost start
[2025-02-09 09:04:14] Production.INFO: call_cost end
[2025-02-09 09:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:04:15] Production.INFO: ==9213== Releasing lock...
[2025-02-09 09:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:04:19] Production.INFO: count ==154
[2025-02-09 09:04:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:04:05 - End Time 2025-02-09 09:04:05
[2025-02-09 09:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436017', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436017', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436017', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436017', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:04:19] Production.INFO: ProcessCDR(1,14436017,1,1,2)
[2025-02-09 09:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436017', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436017', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:04:22] Production.INFO: ==9221== Releasing lock...
[2025-02-09 09:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:04:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:05:02] Production.INFO: ==9307== Lock acquired, processing the job...
[2025-02-09 14:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:05:02] Production.INFO: neon service started
[2025-02-09 14:05:02] Production.INFO: neon service started
[2025-02-09 14:05:02] Production.INFO: ==9307== Releasing lock...
[2025-02-09 14:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:05:02] Production.INFO: ==9309== Lock acquired, processing the job...
[2025-02-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:05:02] Production.INFO: ==9309== Releasing lock...
[2025-02-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:05:03] Production.INFO: ==9311== Lock acquired, processing the job...
[2025-02-09 14:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:05:03] Production.INFO: ==9311== Releasing lock...
[2025-02-09 14:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:05:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:05:03] Production.INFO: ==9314== Lock acquired, processing the job...
[2025-02-09 09:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:05:03] Production.INFO: ==9324== Lock acquired, processing the job...
[2025-02-09 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:05:04] Production.INFO: ==9316== Lock acquired, processing the job...
[2025-02-09 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:05:04] Production.INFO: ==9320== Lock acquired, processing the job...
[2025-02-09 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:05:04] Production.INFO: ==9318== Lock acquired, processing the job...
[2025-02-09 09:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:05:04] Production.INFO: count ==21
[2025-02-09 09:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:05:04] Production.INFO: count ==21
[2025-02-09 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436019') start
[2025-02-09 09:05:04] Production.INFO: Account Balance Start.
[2025-02-09 09:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:05:04] Production.INFO: ==9322== Lock acquired, processing the job...
[2025-02-09 09:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:05:04] Production.INFO: 117
[2025-02-09 09:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:05:04] Production.INFO: Total Charge 0
[2025-02-09 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436019') end
[2025-02-09 09:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:05:04] Production.INFO: 1
[2025-02-09 09:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:05:04] Production.INFO: CreateAllLog End
[2025-02-09 09:05:04] Production.INFO: ==9324== Releasing lock...
[2025-02-09 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:05:04] Production.INFO: ==9316== Releasing lock...
[2025-02-09 09:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:05:04] Production.INFO: Account Balance End.
[2025-02-09 09:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:05:04] Production.INFO: ==9320== Releasing lock...
[2025-02-09 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:05:04] Production.ERROR: done
[2025-02-09 09:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:05:04] Production.ERROR: done
[2025-02-09 09:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:05:05
[end_date_ymd] => 2025-02-09 09:05:05
[RateCDR] => 1
)
[2025-02-09 09:05: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` >= '2025-02-09 06:05:05' and `end` < '2025-02-09 09:05: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 ,'')
[2025-02-09 09:05:12] Production.ERROR: CronJobId end10
[2025-02-09 09:05:12] Production.INFO: ==9318== Releasing lock...
[2025-02-09 09:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:05:14] Production.INFO: call_cost start
[2025-02-09 09:05:14] Production.INFO: call_cost end
[2025-02-09 09:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:05:15] Production.INFO: ==9314== Releasing lock...
[2025-02-09 09:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:05:19] Production.INFO: count ==154
[2025-02-09 09:05:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:05:05 - End Time 2025-02-09 09:05:05
[2025-02-09 09:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436022', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436022', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436022', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436022', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:05:19] Production.INFO: ProcessCDR(1,14436022,1,1,2)
[2025-02-09 09:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436022', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436022', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:05:22] Production.INFO: ==9322== Releasing lock...
[2025-02-09 09:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:05:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:06:01] Production.INFO: ==9403== Lock acquired, processing the job...
[2025-02-09 14:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:06:01] Production.INFO: neon service started
[2025-02-09 14:06:01] Production.INFO: neon service started
[2025-02-09 14:06:01] Production.INFO: ==9403== Releasing lock...
[2025-02-09 14:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:06:02] Production.INFO: ==9408== Lock acquired, processing the job...
[2025-02-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:06:02] Production.INFO: ==9408== Releasing lock...
[2025-02-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:06:02] Production.INFO: ==9406== Lock acquired, processing the job...
[2025-02-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:06:02] Production.INFO: ==9406== Releasing lock...
[2025-02-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:06:03] Production.INFO: ==9412== Lock acquired, processing the job...
[2025-02-09 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:06:03] Production.INFO: ==9418== Lock acquired, processing the job...
[2025-02-09 09:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:06:03] Production.INFO: ==9410== Lock acquired, processing the job...
[2025-02-09 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:06:03] Production.INFO: ==9414== Lock acquired, processing the job...
[2025-02-09 09:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:06:03] Production.INFO: ==9416== Lock acquired, processing the job...
[2025-02-09 09:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:06:03] Production.INFO: ==9420== Lock acquired, processing the job...
[2025-02-09 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:06:03] Production.INFO: ==9412== Releasing lock...
[2025-02-09 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:06:04] Production.INFO: Account Balance Start.
[2025-02-09 09:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:06:04] Production.INFO: 117
[2025-02-09 09:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:06:04] Production.INFO: Total Charge 0
[2025-02-09 09:06:04] Production.INFO: count ==21
[2025-02-09 09:06:04] Production.INFO: CreateAllLog End
[2025-02-09 09:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:06:04] Production.INFO: count ==21
[2025-02-09 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436025') start
[2025-02-09 09:06:04] Production.ERROR: done
[2025-02-09 09:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436025') end
[2025-02-09 09:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:06:04] Production.INFO: 1
[2025-02-09 09:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:06:04] Production.INFO: ==9420== Releasing lock...
[2025-02-09 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:06:04] Production.ERROR: done
[2025-02-09 09:06:04] Production.INFO: Account Balance End.
[2025-02-09 09:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:06:04] Production.INFO: ==9416== Releasing lock...
[2025-02-09 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:06:05
[end_date_ymd] => 2025-02-09 09:06:05
[RateCDR] => 1
)
[2025-02-09 09:06: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` >= '2025-02-09 06:06:05' and `end` < '2025-02-09 09:06: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 ,'')
[2025-02-09 09:06:12] Production.ERROR: CronJobId end10
[2025-02-09 09:06:12] Production.INFO: ==9414== Releasing lock...
[2025-02-09 09:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:06:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:06:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:06:14] Production.INFO: call_cost start
[2025-02-09 09:06:14] Production.INFO: call_cost end
[2025-02-09 09:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:06:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:06:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:06:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:06:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:06:15] Production.INFO: ==9410== Releasing lock...
[2025-02-09 09:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:06:18] Production.INFO: count ==154
[2025-02-09 09:06:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:06:05 - End Time 2025-02-09 09:06:05
[2025-02-09 09:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436027', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436027', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436027', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436027', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:06:18] Production.INFO: ProcessCDR(1,14436027,1,1,2)
[2025-02-09 09:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436027', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436027', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:06:21] Production.INFO: ==9418== Releasing lock...
[2025-02-09 09:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:06:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:07:01] Production.INFO: ==9535== Lock acquired, processing the job...
[2025-02-09 14:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:07:01] Production.INFO: neon service started
[2025-02-09 14:07:01] Production.INFO: neon service started
[2025-02-09 14:07:01] Production.INFO: ==9535== Releasing lock...
[2025-02-09 14:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:07:01] Production.INFO: ==9537== Lock acquired, processing the job...
[2025-02-09 09:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:07:02] Production.INFO: ==9537== Releasing lock...
[2025-02-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:07:02] Production.INFO: ==9539== Lock acquired, processing the job...
[2025-02-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:07:02] Production.INFO: ==9539== Releasing lock...
[2025-02-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:07:03] Production.INFO: ==9552== Lock acquired, processing the job...
[2025-02-09 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:07:03] Production.INFO: ==9550== Lock acquired, processing the job...
[2025-02-09 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:07:03] Production.INFO: ==9541== Lock acquired, processing the job...
[2025-02-09 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:07:03] Production.INFO: ==9543== Lock acquired, processing the job...
[2025-02-09 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:07:03] Production.INFO: ==9545== Lock acquired, processing the job...
[2025-02-09 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:07:03] Production.INFO: count ==21
[2025-02-09 09:07:03] Production.INFO: ==9547== Lock acquired, processing the job...
[2025-02-09 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:07:03] Production.INFO: count ==21
[2025-02-09 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436028') start
[2025-02-09 09:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:07:03] Production.INFO: Account Balance Start.
[2025-02-09 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436028') end
[2025-02-09 09:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:07:03] Production.INFO: 1
[2025-02-09 09:07:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:07:03] Production.INFO: 117
[2025-02-09 09:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:07:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:07:03] Production.INFO: ==9552== Releasing lock...
[2025-02-09 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:07:03] Production.ERROR: done
[2025-02-09 09:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:07:03] Production.INFO: ==9543== Releasing lock...
[2025-02-09 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:07:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:07:03] Production.ERROR: done
[2025-02-09 09:07:03] Production.INFO: Total Charge 0
[2025-02-09 09:07:03] Production.INFO: CreateAllLog End
[2025-02-09 09:07:03] Production.INFO: Account Balance End.
[2025-02-09 09:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:07:04] Production.INFO: ==9547== Releasing lock...
[2025-02-09 09:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:07:04
[end_date_ymd] => 2025-02-09 09:07:04
[RateCDR] => 1
)
[2025-02-09 09:07:04] 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-02-09 06:07:04' and `end` < '2025-02-09 09:07:04'
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-02-09 09:07:12] Production.ERROR: CronJobId end10
[2025-02-09 09:07:12] Production.INFO: ==9545== Releasing lock...
[2025-02-09 09:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:07:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:07:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:07:14] Production.INFO: call_cost start
[2025-02-09 09:07:14] Production.INFO: call_cost end
[2025-02-09 09:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:07:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:07:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:07:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:07:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:07:15] Production.INFO: ==9541== Releasing lock...
[2025-02-09 09:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:07:17] Production.INFO: count ==152
[2025-02-09 09:07:17] Production.ERROR: pbx CDR StartTime 2025-02-09 06:07:04 - End Time 2025-02-09 09:07:04
[2025-02-09 09:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436032', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436032', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436032', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436032', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:07:17] Production.INFO: ProcessCDR(1,14436032,1,1,2)
[2025-02-09 09:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436032', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436032', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:07:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:07:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:07:20] Production.INFO: ==9550== Releasing lock...
[2025-02-09 09:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:07:20] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:08:01] Production.INFO: ==9632== Lock acquired, processing the job...
[2025-02-09 14:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:08:01] Production.INFO: neon service started
[2025-02-09 14:08:01] Production.INFO: neon service started
[2025-02-09 14:08:01] Production.INFO: ==9632== Releasing lock...
[2025-02-09 14:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:08:02] Production.INFO: ==9636== Lock acquired, processing the job...
[2025-02-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:08:02] Production.INFO: ==9636== Releasing lock...
[2025-02-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:08:02] Production.INFO: ==9634== Lock acquired, processing the job...
[2025-02-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:08:02] Production.INFO: ==9634== Releasing lock...
[2025-02-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:08:03] Production.INFO: ==9643== Lock acquired, processing the job...
[2025-02-09 09:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:08:03] Production.INFO: ==9645== Lock acquired, processing the job...
[2025-02-09 09:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:08:03] Production.INFO: ==9639== Lock acquired, processing the job...
[2025-02-09 09:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:08:03] Production.INFO: Account Balance Start.
[2025-02-09 09:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:08:03] Production.INFO: 117
[2025-02-09 09:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:08:03] Production.INFO: ==9641== Lock acquired, processing the job...
[2025-02-09 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:08:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:08:03] Production.INFO: Total Charge 0
[2025-02-09 09:08:03] Production.INFO: ==9647== Lock acquired, processing the job...
[2025-02-09 09:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:08:04] Production.INFO: ==9649== Lock acquired, processing the job...
[2025-02-09 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:08:04] Production.INFO: CreateAllLog End
[2025-02-09 09:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:08:04] Production.INFO: count ==21
[2025-02-09 09:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:08:04] Production.INFO: count ==21
[2025-02-09 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436036') start
[2025-02-09 09:08:04] Production.INFO: ==9641== Releasing lock...
[2025-02-09 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:08:04] Production.ERROR: done
[2025-02-09 09:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436036') end
[2025-02-09 09:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:08:04] Production.INFO: 1
[2025-02-09 09:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:08:04] Production.INFO: ==9649== Releasing lock...
[2025-02-09 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:08:04] Production.ERROR: done
[2025-02-09 09:08:04] Production.INFO: Account Balance End.
[2025-02-09 09:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:08:04] Production.INFO: ==9645== Releasing lock...
[2025-02-09 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:08:05
[end_date_ymd] => 2025-02-09 09:08:05
[RateCDR] => 1
)
[2025-02-09 09:08: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` >= '2025-02-09 06:08:05' and `end` < '2025-02-09 09:08: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 ,'')
[2025-02-09 09:08:11] Production.ERROR: CronJobId end10
[2025-02-09 09:08:11] Production.INFO: ==9643== Releasing lock...
[2025-02-09 09:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:08:14] Production.INFO: call_cost start
[2025-02-09 09:08:14] Production.INFO: call_cost end
[2025-02-09 09:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:08:15] Production.INFO: ==9639== Releasing lock...
[2025-02-09 09:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:08:19] Production.INFO: count ==154
[2025-02-09 09:08:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:08:05 - End Time 2025-02-09 09:08:05
[2025-02-09 09:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436037', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436037', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436037', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436037', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:08:19] Production.INFO: ProcessCDR(1,14436037,1,1,2)
[2025-02-09 09:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436037', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436037', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:08:22] Production.INFO: ==9647== Releasing lock...
[2025-02-09 09:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:08:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:09:02] Production.INFO: ==9720== Lock acquired, processing the job...
[2025-02-09 14:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:09:02] Production.INFO: neon service started
[2025-02-09 14:09:02] Production.INFO: neon service started
[2025-02-09 14:09:02] Production.INFO: ==9720== Releasing lock...
[2025-02-09 14:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:09:02] Production.INFO: ==9725== Lock acquired, processing the job...
[2025-02-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:09:02] Production.INFO: ==9725== Releasing lock...
[2025-02-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:09:02] Production.INFO: ==9723== Lock acquired, processing the job...
[2025-02-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:09:03] Production.INFO: ==9723== Releasing lock...
[2025-02-09 09:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:09:03] Production.INFO: ==9727== Lock acquired, processing the job...
[2025-02-09 09:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:09:04] Production.INFO: ==9729== Lock acquired, processing the job...
[2025-02-09 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:09:04] Production.INFO: ==9733== Lock acquired, processing the job...
[2025-02-09 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:09:04] Production.INFO: ==9731== Lock acquired, processing the job...
[2025-02-09 09:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:09:04] Production.INFO: ==9735== Lock acquired, processing the job...
[2025-02-09 09:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:09:04] Production.INFO: Account Balance Start.
[2025-02-09 09:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:09:04] Production.INFO: 117
[2025-02-09 09:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:09:04] Production.INFO: ==9737== Lock acquired, processing the job...
[2025-02-09 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:09:04] Production.INFO: Total Charge 0
[2025-02-09 09:09:04] Production.INFO: CreateAllLog End
[2025-02-09 09:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:09:04] Production.INFO: count ==21
[2025-02-09 09:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:09:04] Production.INFO: count ==21
[2025-02-09 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436041') start
[2025-02-09 09:09:04] Production.INFO: ==9729== Releasing lock...
[2025-02-09 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:09:04] Production.ERROR: done
[2025-02-09 09:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436041') end
[2025-02-09 09:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:09:04] Production.INFO: 1
[2025-02-09 09:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:09:04] Production.INFO: Account Balance End.
[2025-02-09 09:09:04] Production.INFO: ==9737== Releasing lock...
[2025-02-09 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:09:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:09:05] Production.INFO: ==9733== Releasing lock...
[2025-02-09 09:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:09:05] Production.ERROR: done
[2025-02-09 09:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:09:06
[end_date_ymd] => 2025-02-09 09:09:06
[RateCDR] => 1
)
[2025-02-09 09:09: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-02-09 06:09:06' and `end` < '2025-02-09 09:09: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-02-09 09:09:13] Production.ERROR: CronJobId end10
[2025-02-09 09:09:13] Production.INFO: ==9731== Releasing lock...
[2025-02-09 09:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:09:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:09:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:09:15] Production.INFO: call_cost start
[2025-02-09 09:09:15] Production.INFO: call_cost end
[2025-02-09 09:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:09:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:09:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:09:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:09:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:09:16] Production.INFO: ==9727== Releasing lock...
[2025-02-09 09:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:09:19] Production.INFO: count ==154
[2025-02-09 09:09:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:09:06 - End Time 2025-02-09 09:09:06
[2025-02-09 09:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436042', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436042', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436042', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436042', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:09:19] Production.INFO: ProcessCDR(1,14436042,1,1,2)
[2025-02-09 09:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436042', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436042', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:09:23] Production.INFO: ==9735== Releasing lock...
[2025-02-09 09:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:09:23] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:10:01] Production.INFO: ==9808== Lock acquired, processing the job...
[2025-02-09 14:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:10:01] Production.INFO: neon service started
[2025-02-09 14:10:01] Production.INFO: neon service started
[2025-02-09 14:10:01] Production.INFO: ==9808== Releasing lock...
[2025-02-09 14:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:10:02] Production.INFO: ==9810== Lock acquired, processing the job...
[2025-02-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:10:02] Production.INFO: ==9810== Releasing lock...
[2025-02-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:10:02] Production.INFO: ==9812== Lock acquired, processing the job...
[2025-02-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:10:02] Production.INFO: ==9812== Releasing lock...
[2025-02-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:10:03] Production.INFO: ==9815== Lock acquired, processing the job...
[2025-02-09 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 09:10:03] Production.INFO: ==9817== Lock acquired, processing the job...
[2025-02-09 09:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 09:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 09:10:03] Production.ERROR: CronJob PID - 9817
[2025-02-09 09:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 09:10:03] Production.ERROR: CronJob ID - 5
[2025-02-09 09:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 09:10:00
[2025-02-09 09:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 09:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 09:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 09:10:03] Production.INFO: ==9815== Releasing lock...
[2025-02-09 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 09:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 09:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:10:03] Production.INFO: ==9829== Lock acquired, processing the job...
[2025-02-09 09:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:10:03] Production.INFO: ==9827== Lock acquired, processing the job...
[2025-02-09 09:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 09:10:03] Production.INFO: ==9819== Lock acquired, processing the job...
[2025-02-09 09:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:10:03] Production.INFO: ==9821== Lock acquired, processing the job...
[2025-02-09 09:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:10:04] Production.INFO: count ==21
[2025-02-09 09:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:10:04] Production.INFO: count ==21
[2025-02-09 09:10:04] Production.INFO: ==9823== Lock acquired, processing the job...
[2025-02-09 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436044') start
[2025-02-09 09:10:04] Production.INFO: ==9825== Lock acquired, processing the job...
[2025-02-09 09:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:10:04] Production.INFO: Account Balance Start.
[2025-02-09 09:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:10:04] Production.INFO: 117
[2025-02-09 09:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436044') end
[2025-02-09 09:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:10:04] Production.INFO: 1
[2025-02-09 09:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:10:04] Production.INFO: Total Charge 0
[2025-02-09 09:10:04] Production.INFO: CreateAllLog End
[2025-02-09 09:10:04] Production.INFO: ==9829== Releasing lock...
[2025-02-09 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:10:04] Production.ERROR: done
[2025-02-09 09:10:04] Production.INFO: ==9819== Releasing lock...
[2025-02-09 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 09:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436047', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 09:10:04] Production.ERROR: done
[2025-02-09 09:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:10:04] Production.ERROR: done
[2025-02-09 09:10:04] Production.INFO: Account Balance End.
[2025-02-09 09:10:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:10:04] Production.INFO: ==9823== Releasing lock...
[2025-02-09 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:10:06
[end_date_ymd] => 2025-02-09 09:10:06
[RateCDR] => 1
)
[2025-02-09 09:10: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-02-09 06:10:06' and `end` < '2025-02-09 09:10: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-02-09 09:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436047', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 09:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 09:10:09] Production.INFO: ProcessCDR(1,14436047,1,1,2)
[2025-02-09 09:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436047,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436047,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:10:09] Production.INFO: ==9827== Releasing lock...
[2025-02-09 09:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 09:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 09:10:14] Production.ERROR: CronJobId end10
[2025-02-09 09:10:14] Production.INFO: ==9821== Releasing lock...
[2025-02-09 09:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:10:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:10:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:10:16] Production.INFO: call_cost start
[2025-02-09 09:10:16] Production.INFO: call_cost end
[2025-02-09 09:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:10:17] Production.INFO: ==9817== Releasing lock...
[2025-02-09 09:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:10:19] Production.INFO: count ==156
[2025-02-09 09:10:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:10:06 - End Time 2025-02-09 09:10:06
[2025-02-09 09:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436048', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436048', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436048', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436048', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:10:19] Production.INFO: ProcessCDR(1,14436048,1,1,2)
[2025-02-09 09:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436048', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436048', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:10:22] Production.INFO: ==9825== Releasing lock...
[2025-02-09 09:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:10:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:11:02] Production.INFO: ==9901== Lock acquired, processing the job...
[2025-02-09 14:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:11:02] Production.INFO: neon service started
[2025-02-09 14:11:02] Production.INFO: neon service started
[2025-02-09 14:11:02] Production.INFO: ==9901== Releasing lock...
[2025-02-09 14:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:11:02] Production.INFO: ==9903== Lock acquired, processing the job...
[2025-02-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:11:03] Production.INFO: ==9903== Releasing lock...
[2025-02-09 09:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:11:03] Production.INFO: ==9905== Lock acquired, processing the job...
[2025-02-09 14:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:11:03] Production.INFO: ==9905== Releasing lock...
[2025-02-09 14:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:11:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:11:04] Production.INFO: ==9916== Lock acquired, processing the job...
[2025-02-09 09:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:11:04] Production.INFO: ==9914== Lock acquired, processing the job...
[2025-02-09 09:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:11:04] Production.INFO: ==9908== Lock acquired, processing the job...
[2025-02-09 09:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:11:04] Production.INFO: ==9910== Lock acquired, processing the job...
[2025-02-09 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:11:04] Production.INFO: Account Balance Start.
[2025-02-09 09:11:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:11:04] Production.INFO: 117
[2025-02-09 09:11:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:11:04] Production.INFO: ==9912== Lock acquired, processing the job...
[2025-02-09 09:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:11:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:11:04] Production.INFO: ==9918== Lock acquired, processing the job...
[2025-02-09 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:11:04] Production.INFO: Total Charge 0
[2025-02-09 09:11:04] Production.INFO: CreateAllLog End
[2025-02-09 09:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:11:04] Production.ERROR: done
[2025-02-09 09:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:11:04] Production.INFO: count ==21
[2025-02-09 09:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:11:04] Production.INFO: count ==21
[2025-02-09 09:11:04] Production.ERROR: done
[2025-02-09 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436052') start
[2025-02-09 09:11:04] Production.INFO: ==9910== Releasing lock...
[2025-02-09 09:11:04] Production.INFO: Account Balance End.
[2025-02-09 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:11:04] Production.INFO: ==9914== Releasing lock...
[2025-02-09 09:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436052') end
[2025-02-09 09:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:11:04] Production.INFO: 1
[2025-02-09 09:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:11:04] Production.INFO: ==9918== Releasing lock...
[2025-02-09 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:11:05
[end_date_ymd] => 2025-02-09 09:11:05
[RateCDR] => 1
)
[2025-02-09 09:11: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` >= '2025-02-09 06:11:05' and `end` < '2025-02-09 09:11: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 ,'')
[2025-02-09 09:11:13] Production.ERROR: CronJobId end10
[2025-02-09 09:11:13] Production.INFO: ==9912== Releasing lock...
[2025-02-09 09:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:11:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:11:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:11:15] Production.INFO: call_cost start
[2025-02-09 09:11:15] Production.INFO: call_cost end
[2025-02-09 09:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:11:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:11:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:11:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:11:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:11:16] Production.INFO: ==9908== Releasing lock...
[2025-02-09 09:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:11:19] Production.INFO: count ==156
[2025-02-09 09:11:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:11:05 - End Time 2025-02-09 09:11:05
[2025-02-09 09:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436053', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436053', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436053', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436053', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:11:19] Production.INFO: ProcessCDR(1,14436053,1,1,2)
[2025-02-09 09:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436053', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436053', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:11:22] Production.INFO: ==9916== Releasing lock...
[2025-02-09 09:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:11:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:12:01] Production.INFO: ==9990== Lock acquired, processing the job...
[2025-02-09 14:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:12:01] Production.INFO: neon service started
[2025-02-09 14:12:01] Production.INFO: neon service started
[2025-02-09 14:12:01] Production.INFO: ==9990== Releasing lock...
[2025-02-09 14:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:12:02] Production.INFO: ==9993== Lock acquired, processing the job...
[2025-02-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:12:02] Production.INFO: ==9995== Lock acquired, processing the job...
[2025-02-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:12:02] Production.INFO: ==9995== Releasing lock...
[2025-02-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:12:02] Production.INFO: ==9993== Releasing lock...
[2025-02-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:12:03] Production.INFO: ==10005== Lock acquired, processing the job...
[2025-02-09 09:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:12:03] Production.INFO: ==10007== Lock acquired, processing the job...
[2025-02-09 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:12:04] Production.INFO: ==9997== Lock acquired, processing the job...
[2025-02-09 09:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:12:04] Production.INFO: ==9999== Lock acquired, processing the job...
[2025-02-09 09:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:12:04] Production.INFO: count ==21
[2025-02-09 09:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:12:04] Production.INFO: count ==21
[2025-02-09 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436054') start
[2025-02-09 09:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:12:04] Production.INFO: ==10001== Lock acquired, processing the job...
[2025-02-09 09:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436054') end
[2025-02-09 09:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:12:04] Production.INFO: 1
[2025-02-09 09:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:12:04] Production.INFO: ==10003== Lock acquired, processing the job...
[2025-02-09 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:12:04] Production.INFO: ==10007== Releasing lock...
[2025-02-09 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:12:04] Production.ERROR: done
[2025-02-09 09:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:12:04] Production.INFO: Account Balance Start.
[2025-02-09 09:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:12:04] Production.INFO: 117
[2025-02-09 09:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:12:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:12:04] Production.ERROR: done
[2025-02-09 09:12:04] Production.INFO: Total Charge 0
[2025-02-09 09:12:04] Production.INFO: ==9999== Releasing lock...
[2025-02-09 09:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:12:04] Production.INFO: CreateAllLog End
[2025-02-09 09:12:04] Production.INFO: Account Balance End.
[2025-02-09 09:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:12:04] Production.INFO: ==10003== Releasing lock...
[2025-02-09 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:12:05
[end_date_ymd] => 2025-02-09 09:12:05
[RateCDR] => 1
)
[2025-02-09 09:12: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` >= '2025-02-09 06:12:05' and `end` < '2025-02-09 09:12: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 ,'')
[2025-02-09 09:12:11] Production.ERROR: CronJobId end10
[2025-02-09 09:12:11] Production.INFO: ==10001== Releasing lock...
[2025-02-09 09:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:12:14] Production.INFO: call_cost start
[2025-02-09 09:12:14] Production.INFO: call_cost end
[2025-02-09 09:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:12:15] Production.INFO: ==9997== Releasing lock...
[2025-02-09 09:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:12:18] Production.INFO: count ==156
[2025-02-09 09:12:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:12:05 - End Time 2025-02-09 09:12:05
[2025-02-09 09:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436058', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436058', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436058', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436058', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:12:18] Production.INFO: ProcessCDR(1,14436058,1,1,2)
[2025-02-09 09:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436058', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436058', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:12:21] Production.INFO: ==10005== Releasing lock...
[2025-02-09 09:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:12:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:13:02] Production.INFO: ==10085== Lock acquired, processing the job...
[2025-02-09 14:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:13:02] Production.INFO: neon service started
[2025-02-09 14:13:02] Production.INFO: neon service started
[2025-02-09 14:13:02] Production.INFO: ==10085== Releasing lock...
[2025-02-09 14:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:13:02] Production.INFO: ==10087== Lock acquired, processing the job...
[2025-02-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:13:02] Production.INFO: ==10087== Releasing lock...
[2025-02-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:13:03] Production.INFO: ==10089== Lock acquired, processing the job...
[2025-02-09 14:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:13:03] Production.INFO: ==10089== Releasing lock...
[2025-02-09 14:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:13:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:13:03] Production.INFO: ==10098== Lock acquired, processing the job...
[2025-02-09 09:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:13:03] Production.INFO: ==10096== Lock acquired, processing the job...
[2025-02-09 09:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:13:04] Production.INFO: Account Balance Start.
[2025-02-09 09:13:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:13:04] Production.INFO: 117
[2025-02-09 09:13:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:13:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:13:04] Production.INFO: ==10092== Lock acquired, processing the job...
[2025-02-09 09:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:13:04] Production.INFO: ==10094== Lock acquired, processing the job...
[2025-02-09 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:13:04] Production.INFO: Total Charge 0
[2025-02-09 09:13:04] Production.INFO: CreateAllLog End
[2025-02-09 09:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:13:04] Production.INFO: ==10102== Lock acquired, processing the job...
[2025-02-09 09:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:13:04] Production.INFO: ==10100== Lock acquired, processing the job...
[2025-02-09 09:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:13:04] Production.INFO: Account Balance End.
[2025-02-09 09:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:13:04] Production.INFO: ==10098== Releasing lock...
[2025-02-09 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:13:04] Production.INFO: ==10094== Releasing lock...
[2025-02-09 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:13:04] Production.INFO: count ==21
[2025-02-09 09:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:13:04] Production.INFO: count ==21
[2025-02-09 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436062') start
[2025-02-09 09:13:04] Production.ERROR: done
[2025-02-09 09:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:13:04] Production.ERROR: done
[2025-02-09 09:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436062') end
[2025-02-09 09:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:13:04] Production.INFO: 1
[2025-02-09 09:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:13:05] Production.INFO: ==10102== Releasing lock...
[2025-02-09 09:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:13:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:13:06
[end_date_ymd] => 2025-02-09 09:13:06
[RateCDR] => 1
)
[2025-02-09 09:13: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-02-09 06:13:06' and `end` < '2025-02-09 09:13: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-02-09 09:13:13] Production.ERROR: CronJobId end10
[2025-02-09 09:13:13] Production.INFO: ==10096== Releasing lock...
[2025-02-09 09:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:13:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:13:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:13:15] Production.INFO: call_cost start
[2025-02-09 09:13:15] Production.INFO: call_cost end
[2025-02-09 09:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:13:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:13:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:13:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:13:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:13:16] Production.INFO: ==10092== Releasing lock...
[2025-02-09 09:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:13:19] Production.INFO: count ==156
[2025-02-09 09:13:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:13:06 - End Time 2025-02-09 09:13:06
[2025-02-09 09:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436063', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436063', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436063', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436063', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:13:19] Production.INFO: ProcessCDR(1,14436063,1,1,2)
[2025-02-09 09:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436063', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436063', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:13:23] Production.INFO: ==10100== Releasing lock...
[2025-02-09 09:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:13:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:14:01] Production.INFO: ==10208== Lock acquired, processing the job...
[2025-02-09 14:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:14:01] Production.INFO: neon service started
[2025-02-09 14:14:01] Production.INFO: neon service started
[2025-02-09 14:14:01] Production.INFO: ==10208== Releasing lock...
[2025-02-09 14:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:14:02] Production.INFO: ==10210== Lock acquired, processing the job...
[2025-02-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:14:02] Production.INFO: ==10210== Releasing lock...
[2025-02-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:14:02] Production.INFO: ==10212== Lock acquired, processing the job...
[2025-02-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:14:02] Production.INFO: ==10212== Releasing lock...
[2025-02-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:14:03] Production.INFO: ==10214== Lock acquired, processing the job...
[2025-02-09 09:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:14:03] Production.INFO: ==10216== Lock acquired, processing the job...
[2025-02-09 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:14:03] Production.INFO: ==10218== Lock acquired, processing the job...
[2025-02-09 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:14:03] Production.INFO: ==10220== Lock acquired, processing the job...
[2025-02-09 09:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:14:03] Production.INFO: ==10225== Lock acquired, processing the job...
[2025-02-09 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:14:03] Production.INFO: Account Balance Start.
[2025-02-09 09:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:14:03] Production.INFO: ==10222== Lock acquired, processing the job...
[2025-02-09 09:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:14:03] Production.INFO: 117
[2025-02-09 09:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:14:03] Production.INFO: count ==21
[2025-02-09 09:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:14:03] Production.INFO: count ==21
[2025-02-09 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436067') start
[2025-02-09 09:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:14:03] Production.INFO: Total Charge 0
[2025-02-09 09:14:04] Production.INFO: CreateAllLog End
[2025-02-09 09:14:04] Production.INFO: ==10216== Releasing lock...
[2025-02-09 09:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436067') end
[2025-02-09 09:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:14:04] Production.INFO: 1
[2025-02-09 09:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:14:04] Production.ERROR: done
[2025-02-09 09:14:04] Production.INFO: ==10225== Releasing lock...
[2025-02-09 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:14:04] Production.ERROR: done
[2025-02-09 09:14:04] Production.INFO: Account Balance End.
[2025-02-09 09:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:14:04] Production.INFO: ==10220== Releasing lock...
[2025-02-09 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:14:05
[end_date_ymd] => 2025-02-09 09:14:05
[RateCDR] => 1
)
[2025-02-09 09:14: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` >= '2025-02-09 06:14:05' and `end` < '2025-02-09 09:14: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 ,'')
[2025-02-09 09:14:11] Production.ERROR: CronJobId end10
[2025-02-09 09:14:11] Production.INFO: ==10218== Releasing lock...
[2025-02-09 09:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:14:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:14:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:14:15] Production.INFO: call_cost start
[2025-02-09 09:14:15] Production.INFO: call_cost end
[2025-02-09 09:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:14:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:14:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:14:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:14:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:14:16] Production.INFO: ==10214== Releasing lock...
[2025-02-09 09:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:14:18] Production.INFO: count ==159
[2025-02-09 09:14:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:14:05 - End Time 2025-02-09 09:14:05
[2025-02-09 09:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436068', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436068', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436068', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436068', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:14:18] Production.INFO: ProcessCDR(1,14436068,1,1,2)
[2025-02-09 09:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436068', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436068', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:14:21] Production.INFO: ==10222== Releasing lock...
[2025-02-09 09:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:14:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:15:02] Production.INFO: ==10302== Lock acquired, processing the job...
[2025-02-09 14:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:15:02] Production.INFO: neon service started
[2025-02-09 14:15:02] Production.INFO: neon service started
[2025-02-09 14:15:02] Production.INFO: ==10302== Releasing lock...
[2025-02-09 14:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:15:02] Production.INFO: ==10306== Lock acquired, processing the job...
[2025-02-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:15:02] Production.INFO: ==10306== Releasing lock...
[2025-02-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:15:02] Production.INFO: ==10304== Lock acquired, processing the job...
[2025-02-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:15:03] Production.INFO: ==10304== Releasing lock...
[2025-02-09 09:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:15:03] Production.INFO: ==10315== Lock acquired, processing the job...
[2025-02-09 09:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:15:03] Production.INFO: ==10319== Lock acquired, processing the job...
[2025-02-09 09:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:15:04] Production.INFO: ==10309== Lock acquired, processing the job...
[2025-02-09 09:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:15:04] Production.INFO: Account Balance Start.
[2025-02-09 09:15:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:15:04] Production.INFO: 117
[2025-02-09 09:15:04] Production.INFO: ==10313== Lock acquired, processing the job...
[2025-02-09 09:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:15:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:15:04] Production.INFO: ==10311== Lock acquired, processing the job...
[2025-02-09 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:15:04] Production.INFO: count ==21
[2025-02-09 09:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:15:04] Production.INFO: count ==21
[2025-02-09 09:15:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436070') start
[2025-02-09 09:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:15:04] Production.INFO: Total Charge 0
[2025-02-09 09:15:04] Production.INFO: ==10317== Lock acquired, processing the job...
[2025-02-09 09:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:15:04] Production.INFO: CreateAllLog End
[2025-02-09 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436070') end
[2025-02-09 09:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:15:04] Production.INFO: 1
[2025-02-09 09:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:15:04] Production.INFO: ==10319== Releasing lock...
[2025-02-09 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:15:04] Production.INFO: ==10311== Releasing lock...
[2025-02-09 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:15:04] Production.INFO: Account Balance End.
[2025-02-09 09:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:15:04] Production.INFO: ==10315== Releasing lock...
[2025-02-09 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:15:04] Production.ERROR: done
[2025-02-09 09:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:15:04] Production.ERROR: done
[2025-02-09 09:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:15:05
[end_date_ymd] => 2025-02-09 09:15:05
[RateCDR] => 1
)
[2025-02-09 09:15: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` >= '2025-02-09 06:15:05' and `end` < '2025-02-09 09:15: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 ,'')
[2025-02-09 09:15:12] Production.ERROR: CronJobId end10
[2025-02-09 09:15:12] Production.INFO: ==10313== Releasing lock...
[2025-02-09 09:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:15:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:15:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:15:15] Production.INFO: call_cost start
[2025-02-09 09:15:15] Production.INFO: call_cost end
[2025-02-09 09:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:15:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:15:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:15:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:15:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:15:16] Production.INFO: ==10309== Releasing lock...
[2025-02-09 09:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:15:20] Production.INFO: count ==159
[2025-02-09 09:15:20] Production.ERROR: pbx CDR StartTime 2025-02-09 06:15:05 - End Time 2025-02-09 09:15:05
[2025-02-09 09:15:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436073', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436073', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436073', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:15:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436073', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:15:20] Production.INFO: ProcessCDR(1,14436073,1,1,2)
[2025-02-09 09:15:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436073', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436073', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:15:23] Production.INFO: ==10317== Releasing lock...
[2025-02-09 09:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:15:23] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:16:01] Production.INFO: ==10396== Lock acquired, processing the job...
[2025-02-09 14:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:16:01] Production.INFO: neon service started
[2025-02-09 14:16:01] Production.INFO: neon service started
[2025-02-09 14:16:01] Production.INFO: ==10396== Releasing lock...
[2025-02-09 14:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:16:02] Production.INFO: ==10400== Lock acquired, processing the job...
[2025-02-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:16:02] Production.INFO: ==10400== Releasing lock...
[2025-02-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:16:02] Production.INFO: ==10398== Lock acquired, processing the job...
[2025-02-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:16:02] Production.INFO: ==10398== Releasing lock...
[2025-02-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:16:03] Production.INFO: ==10403== Lock acquired, processing the job...
[2025-02-09 09:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:16:03] Production.INFO: ==10411== Lock acquired, processing the job...
[2025-02-09 09:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:16:03] Production.INFO: ==10407== Lock acquired, processing the job...
[2025-02-09 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:16:03] Production.ERROR: done
[2025-02-09 09:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:16:03] Production.INFO: ==10405== Lock acquired, processing the job...
[2025-02-09 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:16:03] Production.INFO: ==10409== Lock acquired, processing the job...
[2025-02-09 09:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:16:03] Production.ERROR: done
[2025-02-09 09:16:04] Production.INFO: Account Balance Start.
[2025-02-09 09:16:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:16:04] Production.INFO: 117
[2025-02-09 09:16:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:16:04] Production.INFO: ==10413== Lock acquired, processing the job...
[2025-02-09 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:16:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:16:04] Production.INFO: Total Charge 0
[2025-02-09 09:16:04] Production.INFO: CreateAllLog End
[2025-02-09 09:16:04] Production.INFO: ==10405== Releasing lock...
[2025-02-09 09:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:16:04] Production.INFO: Account Balance End.
[2025-02-09 09:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:16:04] Production.INFO: ==10409== Releasing lock...
[2025-02-09 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:16:04] Production.INFO: count ==21
[2025-02-09 09:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:16:04] Production.INFO: count ==21
[2025-02-09 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436078') start
[2025-02-09 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436078') end
[2025-02-09 09:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:16:04] Production.INFO: 1
[2025-02-09 09:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:16:04] Production.INFO: ==10413== Releasing lock...
[2025-02-09 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:16:05
[end_date_ymd] => 2025-02-09 09:16:05
[RateCDR] => 1
)
[2025-02-09 09:16: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` >= '2025-02-09 06:16:05' and `end` < '2025-02-09 09:16: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 ,'')
[2025-02-09 09:16:12] Production.ERROR: CronJobId end10
[2025-02-09 09:16:12] Production.INFO: ==10407== Releasing lock...
[2025-02-09 09:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:16:13] Production.INFO: call_cost start
[2025-02-09 09:16:13] Production.INFO: call_cost end
[2025-02-09 09:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:16:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:16:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:16:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:16:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:16:14] Production.INFO: ==10403== Releasing lock...
[2025-02-09 09:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:16:19] Production.INFO: count ==159
[2025-02-09 09:16:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:16:05 - End Time 2025-02-09 09:16:05
[2025-02-09 09:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436077', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436077', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436077', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436077', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:16:19] Production.INFO: ProcessCDR(1,14436077,1,1,2)
[2025-02-09 09:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436077', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436077', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:16:22] Production.INFO: ==10411== Releasing lock...
[2025-02-09 09:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:16:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:17:02] Production.INFO: ==10485== Lock acquired, processing the job...
[2025-02-09 14:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:17:02] Production.INFO: neon service started
[2025-02-09 14:17:02] Production.INFO: neon service started
[2025-02-09 14:17:02] Production.INFO: ==10485== Releasing lock...
[2025-02-09 14:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:17:02] Production.INFO: ==10487== Lock acquired, processing the job...
[2025-02-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:17:02] Production.INFO: ==10487== Releasing lock...
[2025-02-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:17:02] Production.INFO: ==10489== Lock acquired, processing the job...
[2025-02-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:17:02] Production.INFO: ==10489== Releasing lock...
[2025-02-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:17:03] Production.INFO: ==10494== Lock acquired, processing the job...
[2025-02-09 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:17:03] Production.INFO: ==10496== Lock acquired, processing the job...
[2025-02-09 09:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:17:03] Production.INFO: ==10494== Releasing lock...
[2025-02-09 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:17:03] Production.INFO: ==10492== Lock acquired, processing the job...
[2025-02-09 09:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:17:04] Production.INFO: ==10501== Lock acquired, processing the job...
[2025-02-09 09:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:17:04] Production.INFO: ==10498== Lock acquired, processing the job...
[2025-02-09 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:17:04] Production.INFO: ==10503== Lock acquired, processing the job...
[2025-02-09 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:17:04] Production.INFO: Account Balance Start.
[2025-02-09 09:17:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:17:04] Production.INFO: 117
[2025-02-09 09:17:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:17:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:17:04] Production.INFO: Total Charge 0
[2025-02-09 09:17:04] Production.INFO: CreateAllLog End
[2025-02-09 09:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:17:04] Production.INFO: count ==21
[2025-02-09 09:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:17:04] Production.INFO: count ==21
[2025-02-09 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436082') start
[2025-02-09 09:17:04] Production.ERROR: done
[2025-02-09 09:17:04] Production.INFO: Account Balance End.
[2025-02-09 09:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436082') end
[2025-02-09 09:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:17:04] Production.INFO: 1
[2025-02-09 09:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:17:04] Production.INFO: ==10498== Releasing lock...
[2025-02-09 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:17:04] Production.ERROR: done
[2025-02-09 09:17:04] Production.INFO: ==10503== Releasing lock...
[2025-02-09 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:17:05
[end_date_ymd] => 2025-02-09 09:17:05
[RateCDR] => 1
)
[2025-02-09 09:17: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` >= '2025-02-09 06:17:05' and `end` < '2025-02-09 09:17: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 ,'')
[2025-02-09 09:17:11] Production.ERROR: CronJobId end10
[2025-02-09 09:17:11] Production.INFO: ==10496== Releasing lock...
[2025-02-09 09:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:17:14] Production.INFO: call_cost start
[2025-02-09 09:17:14] Production.INFO: call_cost end
[2025-02-09 09:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:17:15] Production.INFO: ==10492== Releasing lock...
[2025-02-09 09:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:17:19] Production.INFO: count ==156
[2025-02-09 09:17:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:17:05 - End Time 2025-02-09 09:17:05
[2025-02-09 09:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436083', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436083', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436083', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436083', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:17:19] Production.INFO: ProcessCDR(1,14436083,1,1,2)
[2025-02-09 09:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436083', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436083', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:17:23] Production.INFO: ==10501== Releasing lock...
[2025-02-09 09:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:17:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:18:01] Production.INFO: ==10577== Lock acquired, processing the job...
[2025-02-09 14:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:18:01] Production.INFO: neon service started
[2025-02-09 14:18:01] Production.INFO: neon service started
[2025-02-09 14:18:01] Production.INFO: ==10577== Releasing lock...
[2025-02-09 14:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:18:02] Production.INFO: ==10579== Lock acquired, processing the job...
[2025-02-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:18:02] Production.INFO: ==10579== Releasing lock...
[2025-02-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:18:02] Production.INFO: ==10581== Lock acquired, processing the job...
[2025-02-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:18:02] Production.INFO: ==10581== Releasing lock...
[2025-02-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:18:03] Production.INFO: ==10585== Lock acquired, processing the job...
[2025-02-09 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:18:03] Production.INFO: ==10594== Lock acquired, processing the job...
[2025-02-09 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:18:03] Production.INFO: ==10592== Lock acquired, processing the job...
[2025-02-09 09:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:18:03] Production.INFO: count ==21
[2025-02-09 09:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:18:03] Production.INFO: count ==21
[2025-02-09 09:18:03] Production.INFO: ==10583== Lock acquired, processing the job...
[2025-02-09 09:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:18:03] Production.INFO: ==10590== Lock acquired, processing the job...
[2025-02-09 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436085') start
[2025-02-09 09:18:03] Production.INFO: ==10588== Lock acquired, processing the job...
[2025-02-09 09:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436085') end
[2025-02-09 09:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:18:03] Production.INFO: 1
[2025-02-09 09:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:18:03] Production.INFO: Account Balance Start.
[2025-02-09 09:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:18:03] Production.INFO: ==10585== Releasing lock...
[2025-02-09 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:18:03] Production.INFO: 117
[2025-02-09 09:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:18:03] Production.INFO: Total Charge 0
[2025-02-09 09:18:03] Production.INFO: CreateAllLog End
[2025-02-09 09:18:03] Production.INFO: ==10594== Releasing lock...
[2025-02-09 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:18:04] Production.ERROR: done
[2025-02-09 09:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:18:04] Production.ERROR: done
[2025-02-09 09:18:04] Production.INFO: Account Balance End.
[2025-02-09 09:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:18:04] Production.INFO: ==10590== Releasing lock...
[2025-02-09 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:18:05
[end_date_ymd] => 2025-02-09 09:18:05
[RateCDR] => 1
)
[2025-02-09 09:18: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` >= '2025-02-09 06:18:05' and `end` < '2025-02-09 09:18: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 ,'')
[2025-02-09 09:18:12] Production.ERROR: CronJobId end10
[2025-02-09 09:18:12] Production.INFO: ==10588== Releasing lock...
[2025-02-09 09:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:18:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:18:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:18:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:18:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:18:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:18:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:18:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:18:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:18:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:18:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:18:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:18:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:18:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:18:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:18:15] Production.INFO: call_cost start
[2025-02-09 09:18:15] Production.INFO: call_cost end
[2025-02-09 09:18:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:18:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:18:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:18:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:18:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:18:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:18:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:18:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:18:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:18:16] Production.INFO: ==10583== Releasing lock...
[2025-02-09 09:18:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:18:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:18:18] Production.INFO: count ==158
[2025-02-09 09:18:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:18:05 - End Time 2025-02-09 09:18:05
[2025-02-09 09:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436088', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436088', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436088', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436088', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:18:18] Production.INFO: ProcessCDR(1,14436088,1,1,2)
[2025-02-09 09:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436088', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436088', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:18:21] Production.INFO: ==10592== Releasing lock...
[2025-02-09 09:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:18:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:19:02] Production.INFO: ==10668== Lock acquired, processing the job...
[2025-02-09 14:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:19:02] Production.INFO: neon service started
[2025-02-09 14:19:02] Production.INFO: neon service started
[2025-02-09 14:19:02] Production.INFO: ==10668== Releasing lock...
[2025-02-09 14:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:19:02] Production.INFO: ==10670== Lock acquired, processing the job...
[2025-02-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:19:02] Production.INFO: ==10670== Releasing lock...
[2025-02-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:19:02] Production.INFO: ==10672== Lock acquired, processing the job...
[2025-02-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:19:02] Production.INFO: ==10672== Releasing lock...
[2025-02-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:19:03] Production.INFO: ==10677== Lock acquired, processing the job...
[2025-02-09 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:19:03] Production.INFO: ==10675== Lock acquired, processing the job...
[2025-02-09 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:19:03] Production.INFO: ==10679== Lock acquired, processing the job...
[2025-02-09 09:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:19:03] Production.INFO: ==10683== Lock acquired, processing the job...
[2025-02-09 09:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:19:03] Production.INFO: ==10681== Lock acquired, processing the job...
[2025-02-09 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:19:03] Production.INFO: ==10685== Lock acquired, processing the job...
[2025-02-09 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:19:04] Production.INFO: Account Balance Start.
[2025-02-09 09:19:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:19:04] Production.INFO: 117
[2025-02-09 09:19:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:19:04] Production.INFO: ==10677== Releasing lock...
[2025-02-09 09:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:19:04] Production.INFO: Total Charge 0
[2025-02-09 09:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:19:04] Production.INFO: CreateAllLog End
[2025-02-09 09:19:04] Production.INFO: count ==21
[2025-02-09 09:19:04] Production.ERROR: done
[2025-02-09 09:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:19:04] Production.INFO: count ==21
[2025-02-09 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436092') start
[2025-02-09 09:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436092') end
[2025-02-09 09:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:19:04] Production.INFO: 1
[2025-02-09 09:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:19:04] Production.ERROR: done
[2025-02-09 09:19:04] Production.INFO: ==10685== Releasing lock...
[2025-02-09 09:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:19:04] Production.INFO: Account Balance End.
[2025-02-09 09:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:19:04] Production.INFO: ==10681== Releasing lock...
[2025-02-09 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:19:05
[end_date_ymd] => 2025-02-09 09:19:05
[RateCDR] => 1
)
[2025-02-09 09:19: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` >= '2025-02-09 06:19:05' and `end` < '2025-02-09 09:19: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 ,'')
[2025-02-09 09:19:12] Production.ERROR: CronJobId end10
[2025-02-09 09:19:12] Production.INFO: ==10679== Releasing lock...
[2025-02-09 09:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:19:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:19:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:19:14] Production.INFO: call_cost start
[2025-02-09 09:19:14] Production.INFO: call_cost end
[2025-02-09 09:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:19:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:19:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:19:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:19:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:19:15] Production.INFO: ==10675== Releasing lock...
[2025-02-09 09:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:19:18] Production.INFO: count ==159
[2025-02-09 09:19:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:19:05 - End Time 2025-02-09 09:19:05
[2025-02-09 09:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436093', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436093', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436093', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436093', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:19:18] Production.INFO: ProcessCDR(1,14436093,1,1,2)
[2025-02-09 09:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436093', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436093', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:19:22] Production.INFO: ==10683== Releasing lock...
[2025-02-09 09:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:19:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:20:01] Production.INFO: ==10759== Lock acquired, processing the job...
[2025-02-09 14:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:20:01] Production.INFO: neon service started
[2025-02-09 14:20:01] Production.INFO: neon service started
[2025-02-09 14:20:01] Production.INFO: ==10759== Releasing lock...
[2025-02-09 14:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:20:01] Production.INFO: ==10764== Lock acquired, processing the job...
[2025-02-09 14:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:20:01] Production.INFO: ==10764== Releasing lock...
[2025-02-09 14:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:20:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:20:02] Production.INFO: ==10762== Lock acquired, processing the job...
[2025-02-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:20:02] Production.INFO: ==10762== Releasing lock...
[2025-02-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:20:03] Production.INFO: ==10772== Lock acquired, processing the job...
[2025-02-09 09:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:20:03] Production.INFO: ==10766== Lock acquired, processing the job...
[2025-02-09 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 09:20:03] Production.INFO: ==10774== Lock acquired, processing the job...
[2025-02-09 09:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:20:03] Production.INFO: ==10778== Lock acquired, processing the job...
[2025-02-09 09:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 09:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:20:03] Production.INFO: Account Balance Start.
[2025-02-09 09:20:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:20:03] Production.INFO: 117
[2025-02-09 09:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:20:03] Production.INFO: ==10768== Lock acquired, processing the job...
[2025-02-09 09:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:20:03] Production.INFO: ==10770== Lock acquired, processing the job...
[2025-02-09 09:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:20:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:20:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 09:20:03] Production.ERROR: CronJob PID - 10772
[2025-02-09 09:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 09:20:03] Production.ERROR: CronJob ID - 10
[2025-02-09 09:20:03] Production.ERROR: CronJob Last Run Time 2025-02-09 09:20:00
[2025-02-09 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 09:20:03] Production.ERROR: CronJob PID - 10774
[2025-02-09 09:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 09:20:03] Production.ERROR: CronJob ID - 12
[2025-02-09 09:20:03] Production.ERROR: CronJob Last Run Time 2025-02-09 09:20:00
[2025-02-09 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 09:20:03] Production.ERROR: CronJob PID - 10778
[2025-02-09 09:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-09 09:20:03] Production.ERROR: CronJob ID - 17
[2025-02-09 09:20:03] Production.ERROR: CronJob Last Run Time 2025-02-09 09:20:00
[2025-02-09 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 09:20:04] Production.INFO: ==10776== Lock acquired, processing the job...
[2025-02-09 09:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 09:20:04] Production.INFO: ==10766== Releasing lock...
[2025-02-09 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 09:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:20:04] Production.INFO: ==10780== Lock acquired, processing the job...
[2025-02-09 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:20:04] Production.INFO: Total Charge 0
[2025-02-09 09:20:04] Production.INFO: CreateAllLog End
[2025-02-09 09:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:20:04] Production.INFO: count ==21
[2025-02-09 09:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:20:04] Production.INFO: count ==21
[2025-02-09 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436097') start
[2025-02-09 09:20:04] Production.ERROR: done
[2025-02-09 09:20:04] Production.INFO: Account Balance End.
[2025-02-09 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436097') end
[2025-02-09 09:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:20:04] Production.INFO: 1
[2025-02-09 09:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:20:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:20:04] Production.INFO: ==10774== Releasing lock...
[2025-02-09 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:20:04] Production.INFO: ==10780== Releasing lock...
[2025-02-09 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:20:04] Production.ERROR: done
[2025-02-09 09:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:20:04] Production.INFO: ==10770== Releasing lock...
[2025-02-09 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 09:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436098', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 09:20:04] Production.ERROR: done
[2025-02-09 09:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:20:06
[end_date_ymd] => 2025-02-09 09:20:06
[RateCDR] => 1
)
[2025-02-09 09:20: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-02-09 06:20:06' and `end` < '2025-02-09 09:20: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-02-09 09:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436098', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 09:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 09:20:10] Production.INFO: ProcessCDR(1,14436098,1,1,2)
[2025-02-09 09:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436098,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436098,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:20:10] Production.INFO: ==10778== Releasing lock...
[2025-02-09 09:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 09:20:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 09:20:14] Production.ERROR: CronJobId end10
[2025-02-09 09:20:14] Production.INFO: ==10772== Releasing lock...
[2025-02-09 09:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:20:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:20:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:20:16] Production.INFO: call_cost start
[2025-02-09 09:20:16] Production.INFO: call_cost end
[2025-02-09 09:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:20:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:20:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:20:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:20:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:20:17] Production.INFO: ==10768== Releasing lock...
[2025-02-09 09:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:20:20] Production.INFO: count ==155
[2025-02-09 09:20:20] Production.ERROR: pbx CDR StartTime 2025-02-09 06:20:06 - End Time 2025-02-09 09:20:06
[2025-02-09 09:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436099', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436099', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436099', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436099', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:20:20] Production.INFO: ProcessCDR(1,14436099,1,1,2)
[2025-02-09 09:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436099', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436099', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:20:24] Production.INFO: ==10776== Releasing lock...
[2025-02-09 09:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:20:24] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:21:02] Production.INFO: ==10856== Lock acquired, processing the job...
[2025-02-09 14:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:21:02] Production.INFO: neon service started
[2025-02-09 14:21:02] Production.INFO: neon service started
[2025-02-09 14:21:02] Production.INFO: ==10856== Releasing lock...
[2025-02-09 14:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:21:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 14:21:02] Production.INFO: ==10860== Lock acquired, processing the job...
[2025-02-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:21:02] Production.INFO: ==10860== Releasing lock...
[2025-02-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:21:02] Production.INFO: ==10858== Lock acquired, processing the job...
[2025-02-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:21:02] Production.INFO: ==10858== Releasing lock...
[2025-02-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:21:03] Production.INFO: ==10864== Lock acquired, processing the job...
[2025-02-09 09:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:21:03] Production.INFO: ==10866== Lock acquired, processing the job...
[2025-02-09 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:21:03] Production.INFO: ==10868== Lock acquired, processing the job...
[2025-02-09 09:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:21:03] Production.INFO: ==10870== Lock acquired, processing the job...
[2025-02-09 09:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:21:03] Production.INFO: ==10872== Lock acquired, processing the job...
[2025-02-09 09:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:21:03] Production.INFO: Account Balance Start.
[2025-02-09 09:21:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:21:03] Production.INFO: 117
[2025-02-09 09:21:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:21:04] Production.INFO: ==10874== Lock acquired, processing the job...
[2025-02-09 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:21:04] Production.INFO: ==10866== Releasing lock...
[2025-02-09 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:21:04] Production.INFO: Total Charge 0
[2025-02-09 09:21:04] Production.INFO: CreateAllLog End
[2025-02-09 09:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:21:04] Production.INFO: count ==21
[2025-02-09 09:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:21:04] Production.INFO: count ==21
[2025-02-09 09:21:04] Production.ERROR: done
[2025-02-09 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436103') start
[2025-02-09 09:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:21:04] Production.INFO: Account Balance End.
[2025-02-09 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436103') end
[2025-02-09 09:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:21:04] Production.INFO: 1
[2025-02-09 09:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:21:04] Production.INFO: ==10870== Releasing lock...
[2025-02-09 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:21:04] Production.ERROR: done
[2025-02-09 09:21:04] Production.INFO: ==10874== Releasing lock...
[2025-02-09 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:21:05
[end_date_ymd] => 2025-02-09 09:21:05
[RateCDR] => 1
)
[2025-02-09 09:21: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` >= '2025-02-09 06:21:05' and `end` < '2025-02-09 09:21: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 ,'')
[2025-02-09 09:21:11] Production.ERROR: CronJobId end10
[2025-02-09 09:21:11] Production.INFO: ==10868== Releasing lock...
[2025-02-09 09:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:21:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:21:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:21:14] Production.INFO: call_cost start
[2025-02-09 09:21:14] Production.INFO: call_cost end
[2025-02-09 09:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:21:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:21:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:21:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:21:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:21:15] Production.INFO: ==10864== Releasing lock...
[2025-02-09 09:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:21:19] Production.INFO: count ==153
[2025-02-09 09:21:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:21:05 - End Time 2025-02-09 09:21:05
[2025-02-09 09:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436104', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436104', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436104', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436104', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:21:19] Production.INFO: ProcessCDR(1,14436104,1,1,2)
[2025-02-09 09:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436104', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436104', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:21:22] Production.INFO: ==10872== Releasing lock...
[2025-02-09 09:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:21:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:22:01] Production.INFO: ==10955== Lock acquired, processing the job...
[2025-02-09 14:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:22:01] Production.INFO: neon service started
[2025-02-09 14:22:01] Production.INFO: neon service started
[2025-02-09 14:22:01] Production.INFO: ==10955== Releasing lock...
[2025-02-09 14:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:22:01] Production.INFO: ==10960== Lock acquired, processing the job...
[2025-02-09 14:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:22:01] Production.INFO: ==10960== Releasing lock...
[2025-02-09 14:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:22:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:22:02] Production.INFO: ==10958== Lock acquired, processing the job...
[2025-02-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:22:02] Production.INFO: ==10958== Releasing lock...
[2025-02-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:22:03] Production.INFO: ==10967== Lock acquired, processing the job...
[2025-02-09 09:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:22:03] Production.INFO: ==10974== Lock acquired, processing the job...
[2025-02-09 09:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:22:03] Production.INFO: ==10965== Lock acquired, processing the job...
[2025-02-09 09:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:22:03] Production.INFO: ==10963== Lock acquired, processing the job...
[2025-02-09 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:22:03] Production.INFO: count ==21
[2025-02-09 09:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:22:03] Production.INFO: count ==21
[2025-02-09 09:22:03] Production.INFO: ==10970== Lock acquired, processing the job...
[2025-02-09 09:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:22:03] Production.INFO: ==10972== Lock acquired, processing the job...
[2025-02-09 09:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436105') start
[2025-02-09 09:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436105') end
[2025-02-09 09:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:22:03] Production.INFO: 1
[2025-02-09 09:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:22:03] Production.INFO: Account Balance Start.
[2025-02-09 09:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:22:03] Production.INFO: 117
[2025-02-09 09:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:22:03] Production.INFO: ==10974== Releasing lock...
[2025-02-09 09:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:22:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:22:04] Production.INFO: Total Charge 0
[2025-02-09 09:22:04] Production.INFO: ==10965== Releasing lock...
[2025-02-09 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:22:04] Production.INFO: CreateAllLog End
[2025-02-09 09:22:04] Production.ERROR: done
[2025-02-09 09:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:22:04] Production.ERROR: done
[2025-02-09 09:22:04] Production.INFO: Account Balance End.
[2025-02-09 09:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:22:04] Production.INFO: ==10970== Releasing lock...
[2025-02-09 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:22:05
[end_date_ymd] => 2025-02-09 09:22:05
[RateCDR] => 1
)
[2025-02-09 09:22: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` >= '2025-02-09 06:22:05' and `end` < '2025-02-09 09:22: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 ,'')
[2025-02-09 09:22:12] Production.ERROR: CronJobId end10
[2025-02-09 09:22:12] Production.INFO: ==10967== Releasing lock...
[2025-02-09 09:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:22:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:22:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:22:15] Production.INFO: call_cost start
[2025-02-09 09:22:15] Production.INFO: call_cost end
[2025-02-09 09:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:22:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:22:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:22:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:22:16] Production.INFO: ==10963== Releasing lock...
[2025-02-09 09:22:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:22:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:22:17] Production.INFO: count ==153
[2025-02-09 09:22:17] Production.ERROR: pbx CDR StartTime 2025-02-09 06:22:05 - End Time 2025-02-09 09:22:05
[2025-02-09 09:22:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436109', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436109', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436109', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:22:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436109', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:22:17] Production.INFO: ProcessCDR(1,14436109,1,1,2)
[2025-02-09 09:22:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436109', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436109', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:22:21] Production.INFO: ==10972== Releasing lock...
[2025-02-09 09:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:22:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:23:01] Production.INFO: ==11083== Lock acquired, processing the job...
[2025-02-09 14:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:23:01] Production.INFO: neon service started
[2025-02-09 14:23:01] Production.INFO: neon service started
[2025-02-09 14:23:01] Production.INFO: ==11083== Releasing lock...
[2025-02-09 14:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:23:02] Production.INFO: ==11087== Lock acquired, processing the job...
[2025-02-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:23:02] Production.INFO: ==11087== Releasing lock...
[2025-02-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:23:02] Production.INFO: ==11085== Lock acquired, processing the job...
[2025-02-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:23:02] Production.INFO: ==11085== Releasing lock...
[2025-02-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:23:03] Production.INFO: ==11090== Lock acquired, processing the job...
[2025-02-09 09:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:23:03] Production.INFO: ==11094== Lock acquired, processing the job...
[2025-02-09 09:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:23:03] Production.INFO: ==11098== Lock acquired, processing the job...
[2025-02-09 09:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:23:03] Production.INFO: ==11092== Lock acquired, processing the job...
[2025-02-09 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:23:03] Production.INFO: ==11096== Lock acquired, processing the job...
[2025-02-09 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:23:03] Production.INFO: ==11100== Lock acquired, processing the job...
[2025-02-09 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:23:03] Production.INFO: Account Balance Start.
[2025-02-09 09:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:23:03] Production.INFO: 117
[2025-02-09 09:23:04] Production.ERROR: done
[2025-02-09 09:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:23:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:23:04] Production.INFO: count ==21
[2025-02-09 09:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:23:04] Production.INFO: count ==21
[2025-02-09 09:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436112') start
[2025-02-09 09:23:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:23:04] Production.ERROR: done
[2025-02-09 09:23:04] Production.INFO: Total Charge 0
[2025-02-09 09:23:04] Production.INFO: CreateAllLog End
[2025-02-09 09:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436112') end
[2025-02-09 09:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:23:04] Production.INFO: 1
[2025-02-09 09:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:23:04] Production.INFO: ==11100== Releasing lock...
[2025-02-09 09:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:23:04] Production.INFO: ==11092== Releasing lock...
[2025-02-09 09:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:23:04] Production.INFO: Account Balance End.
[2025-02-09 09:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:23:04] Production.INFO: ==11096== Releasing lock...
[2025-02-09 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:23:05
[end_date_ymd] => 2025-02-09 09:23:05
[RateCDR] => 1
)
[2025-02-09 09:23: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` >= '2025-02-09 06:23:05' and `end` < '2025-02-09 09:23: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 ,'')
[2025-02-09 09:23:11] Production.ERROR: CronJobId end10
[2025-02-09 09:23:11] Production.INFO: ==11094== Releasing lock...
[2025-02-09 09:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:23:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:23:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:23:14] Production.INFO: call_cost start
[2025-02-09 09:23:14] Production.INFO: call_cost end
[2025-02-09 09:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:23:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:23:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:23:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:23:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:23:15] Production.INFO: ==11090== Releasing lock...
[2025-02-09 09:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:23:18] Production.INFO: count ==153
[2025-02-09 09:23:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:23:05 - End Time 2025-02-09 09:23:05
[2025-02-09 09:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436114', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436114', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436114', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436114', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:23:18] Production.INFO: ProcessCDR(1,14436114,1,1,2)
[2025-02-09 09:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436114', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436114', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:23:21] Production.INFO: ==11098== Releasing lock...
[2025-02-09 09:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:23:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:24:02] Production.INFO: ==11169== Lock acquired, processing the job...
[2025-02-09 14:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:24:02] Production.INFO: neon service started
[2025-02-09 14:24:02] Production.INFO: neon service started
[2025-02-09 14:24:02] Production.INFO: ==11169== Releasing lock...
[2025-02-09 14:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:24:02] Production.INFO: ==11174== Lock acquired, processing the job...
[2025-02-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:24:02] Production.INFO: ==11174== Releasing lock...
[2025-02-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:24:02] Production.INFO: ==11172== Lock acquired, processing the job...
[2025-02-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:24:03] Production.INFO: ==11172== Releasing lock...
[2025-02-09 09:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:24:03] Production.INFO: ==11176== Lock acquired, processing the job...
[2025-02-09 09:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:24:04] Production.INFO: ==11180== Lock acquired, processing the job...
[2025-02-09 09:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:24:04] Production.INFO: ==11184== Lock acquired, processing the job...
[2025-02-09 09:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:24:04] Production.INFO: ==11178== Lock acquired, processing the job...
[2025-02-09 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:24:04] Production.INFO: ==11182== Lock acquired, processing the job...
[2025-02-09 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:24:04] Production.INFO: ==11186== Lock acquired, processing the job...
[2025-02-09 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:24:04] Production.INFO: Account Balance Start.
[2025-02-09 09:24:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:24:04] Production.INFO: 117
[2025-02-09 09:24:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:24:04] Production.ERROR: done
[2025-02-09 09:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:24:04] Production.INFO: ==11178== Releasing lock...
[2025-02-09 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:24:04] Production.INFO: Total Charge 0
[2025-02-09 09:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:24:04] Production.INFO: CreateAllLog End
[2025-02-09 09:24:04] Production.INFO: count ==21
[2025-02-09 09:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:24:04] Production.INFO: count ==21
[2025-02-09 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436118') start
[2025-02-09 09:24:05] Production.ERROR: done
[2025-02-09 09:24:05] Production.INFO: Account Balance End.
[2025-02-09 09:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436118') end
[2025-02-09 09:24:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:24:05] Production.INFO: 1
[2025-02-09 09:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:24:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:24:05] Production.INFO: ==11182== Releasing lock...
[2025-02-09 09:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:24:05] Production.INFO: ==11186== Releasing lock...
[2025-02-09 09:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:24:06
[end_date_ymd] => 2025-02-09 09:24:06
[RateCDR] => 1
)
[2025-02-09 09:24: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-02-09 06:24:06' and `end` < '2025-02-09 09:24: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-02-09 09:24:13] Production.ERROR: CronJobId end10
[2025-02-09 09:24:13] Production.INFO: ==11180== Releasing lock...
[2025-02-09 09:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:24:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:24:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:24:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:24:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:24:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:24:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:24:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:24:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:24:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:24:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:24:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:24:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:24:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:24:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:24:16] Production.INFO: call_cost start
[2025-02-09 09:24:16] Production.INFO: call_cost end
[2025-02-09 09:24:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:24:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:24:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:24:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:24:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:24:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:24:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:24:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:24:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:24:17] Production.INFO: ==11176== Releasing lock...
[2025-02-09 09:24:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:24:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:24:19] Production.INFO: count ==153
[2025-02-09 09:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:24:06 - End Time 2025-02-09 09:24:06
[2025-02-09 09:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436119', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436119', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436119', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436119', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:24:19] Production.INFO: ProcessCDR(1,14436119,1,1,2)
[2025-02-09 09:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436119', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436119', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:24:22] Production.INFO: ==11184== Releasing lock...
[2025-02-09 09:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:24:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:25:01] Production.INFO: ==11253== Lock acquired, processing the job...
[2025-02-09 14:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:25:01] Production.INFO: neon service started
[2025-02-09 14:25:01] Production.INFO: neon service started
[2025-02-09 14:25:01] Production.INFO: ==11253== Releasing lock...
[2025-02-09 14:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:25:02] Production.INFO: ==11257== Lock acquired, processing the job...
[2025-02-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:25:02] Production.INFO: ==11257== Releasing lock...
[2025-02-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:25:02] Production.INFO: ==11255== Lock acquired, processing the job...
[2025-02-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:25:02] Production.INFO: ==11255== Releasing lock...
[2025-02-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:25:03] Production.INFO: ==11261== Lock acquired, processing the job...
[2025-02-09 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:25:03] Production.INFO: ==11259== Lock acquired, processing the job...
[2025-02-09 09:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:25:03] Production.INFO: ==11263== Lock acquired, processing the job...
[2025-02-09 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:25:03] Production.INFO: ==11270== Lock acquired, processing the job...
[2025-02-09 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:25:03] Production.INFO: ==11265== Lock acquired, processing the job...
[2025-02-09 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:25:03] Production.INFO: ==11267== Lock acquired, processing the job...
[2025-02-09 09:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:25:03] Production.INFO: ==11261== Releasing lock...
[2025-02-09 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:25:03] Production.INFO: count ==21
[2025-02-09 09:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:25:03] Production.INFO: Account Balance Start.
[2025-02-09 09:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:25:03] Production.INFO: count ==21
[2025-02-09 09:25:03] Production.INFO: 117
[2025-02-09 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436122') start
[2025-02-09 09:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:25:03] Production.INFO: Total Charge 0
[2025-02-09 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436122') end
[2025-02-09 09:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:25:03] Production.INFO: 1
[2025-02-09 09:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:25:03] Production.INFO: CreateAllLog End
[2025-02-09 09:25:04] Production.INFO: ==11270== Releasing lock...
[2025-02-09 09:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:25:04] Production.ERROR: done
[2025-02-09 09:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:25:04] Production.INFO: Account Balance End.
[2025-02-09 09:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:25:04] Production.INFO: ==11265== Releasing lock...
[2025-02-09 09:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:25:04] Production.ERROR: done
[2025-02-09 09:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:25:05
[end_date_ymd] => 2025-02-09 09:25:05
[RateCDR] => 1
)
[2025-02-09 09:25: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` >= '2025-02-09 06:25:05' and `end` < '2025-02-09 09:25: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 ,'')
[2025-02-09 09:25:11] Production.ERROR: CronJobId end10
[2025-02-09 09:25:11] Production.INFO: ==11263== Releasing lock...
[2025-02-09 09:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:25:14] Production.INFO: call_cost start
[2025-02-09 09:25:14] Production.INFO: call_cost end
[2025-02-09 09:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:25:14] Production.INFO: ==11259== Releasing lock...
[2025-02-09 09:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:25:18] Production.INFO: count ==153
[2025-02-09 09:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:25:05 - End Time 2025-02-09 09:25:05
[2025-02-09 09:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436124', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436124', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436124', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436124', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:25:18] Production.INFO: ProcessCDR(1,14436124,1,1,2)
[2025-02-09 09:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436124', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436124', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:25:21] Production.INFO: ==11267== Releasing lock...
[2025-02-09 09:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:25:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:26:02] Production.INFO: ==11333== Lock acquired, processing the job...
[2025-02-09 14:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:26:02] Production.INFO: neon service started
[2025-02-09 14:26:02] Production.INFO: neon service started
[2025-02-09 14:26:02] Production.INFO: ==11333== Releasing lock...
[2025-02-09 14:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:26:02] Production.INFO: ==11335== Lock acquired, processing the job...
[2025-02-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:26:02] Production.INFO: ==11337== Lock acquired, processing the job...
[2025-02-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:26:02] Production.INFO: ==11337== Releasing lock...
[2025-02-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:26:03] Production.INFO: ==11335== Releasing lock...
[2025-02-09 09:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:26:03] Production.INFO: ==11342== Lock acquired, processing the job...
[2025-02-09 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:26:04] Production.INFO: ==11350== Lock acquired, processing the job...
[2025-02-09 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:26:04] Production.INFO: ==11342== Releasing lock...
[2025-02-09 09:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:26:04] Production.INFO: ==11340== Lock acquired, processing the job...
[2025-02-09 09:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:26:04] Production.INFO: ==11344== Lock acquired, processing the job...
[2025-02-09 09:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:26:04] Production.INFO: count ==21
[2025-02-09 09:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:26:04] Production.INFO: count ==21
[2025-02-09 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436126') start
[2025-02-09 09:26:04] Production.INFO: ==11346== Lock acquired, processing the job...
[2025-02-09 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:26:04] Production.INFO: ==11348== Lock acquired, processing the job...
[2025-02-09 09:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:26:04] Production.INFO: Account Balance Start.
[2025-02-09 09:26:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:26:04] Production.INFO: 117
[2025-02-09 09:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436126') end
[2025-02-09 09:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:26:04] Production.INFO: 1
[2025-02-09 09:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:26:04] Production.INFO: Total Charge 0
[2025-02-09 09:26:04] Production.INFO: CreateAllLog End
[2025-02-09 09:26:04] Production.INFO: ==11350== Releasing lock...
[2025-02-09 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:26:04] Production.ERROR: done
[2025-02-09 09:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:26:04] Production.INFO: Account Balance End.
[2025-02-09 09:26:04] Production.ERROR: done
[2025-02-09 09:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:26:04] Production.INFO: ==11346== Releasing lock...
[2025-02-09 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:26:05
[end_date_ymd] => 2025-02-09 09:26:05
[RateCDR] => 1
)
[2025-02-09 09:26: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` >= '2025-02-09 06:26:05' and `end` < '2025-02-09 09:26: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 ,'')
[2025-02-09 09:26:12] Production.ERROR: CronJobId end10
[2025-02-09 09:26:12] Production.INFO: ==11344== Releasing lock...
[2025-02-09 09:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:26:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:26:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:26:15] Production.INFO: call_cost start
[2025-02-09 09:26:15] Production.INFO: call_cost end
[2025-02-09 09:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:26:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:26:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:26:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:26:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:26:16] Production.INFO: ==11340== Releasing lock...
[2025-02-09 09:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:26:19] Production.INFO: count ==153
[2025-02-09 09:26:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:26:05 - End Time 2025-02-09 09:26:05
[2025-02-09 09:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436129', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436129', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436129', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436129', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:26:19] Production.INFO: ProcessCDR(1,14436129,1,1,2)
[2025-02-09 09:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436129', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436129', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:26:22] Production.INFO: ==11348== Releasing lock...
[2025-02-09 09:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:26:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:27:01] Production.INFO: ==11412== Lock acquired, processing the job...
[2025-02-09 14:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:27:01] Production.INFO: neon service started
[2025-02-09 14:27:01] Production.INFO: neon service started
[2025-02-09 14:27:01] Production.INFO: ==11412== Releasing lock...
[2025-02-09 14:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:27:02] Production.INFO: ==11414== Lock acquired, processing the job...
[2025-02-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:27:02] Production.INFO: ==11417== Lock acquired, processing the job...
[2025-02-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:27:02] Production.INFO: ==11417== Releasing lock...
[2025-02-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:27:02] Production.INFO: ==11414== Releasing lock...
[2025-02-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:27:03] Production.INFO: ==11419== Lock acquired, processing the job...
[2025-02-09 09:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:27:03] Production.INFO: ==11423== Lock acquired, processing the job...
[2025-02-09 09:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:27:03] Production.INFO: ==11429== Lock acquired, processing the job...
[2025-02-09 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:27:03] Production.INFO: ==11421== Lock acquired, processing the job...
[2025-02-09 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:27:03] Production.INFO: ==11427== Lock acquired, processing the job...
[2025-02-09 09:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:27:03] Production.INFO: ==11425== Lock acquired, processing the job...
[2025-02-09 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:27:04] Production.INFO: count ==21
[2025-02-09 09:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:27:04] Production.INFO: count ==21
[2025-02-09 09:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436131') start
[2025-02-09 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436131') end
[2025-02-09 09:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:27:04] Production.INFO: 1
[2025-02-09 09:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:27:04] Production.INFO: Account Balance Start.
[2025-02-09 09:27:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:27:04] Production.INFO: 117
[2025-02-09 09:27:04] Production.INFO: ==11421== Releasing lock...
[2025-02-09 09:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:27:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:27:04] Production.INFO: ==11429== Releasing lock...
[2025-02-09 09:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:27:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:27:04] Production.INFO: Total Charge 0
[2025-02-09 09:27:04] Production.INFO: CreateAllLog End
[2025-02-09 09:27:04] Production.ERROR: done
[2025-02-09 09:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:27:04] Production.INFO: Account Balance End.
[2025-02-09 09:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:27:04] Production.INFO: ==11425== Releasing lock...
[2025-02-09 09:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:27:04] Production.ERROR: done
[2025-02-09 09:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:27:05
[end_date_ymd] => 2025-02-09 09:27:05
[RateCDR] => 1
)
[2025-02-09 09:27: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` >= '2025-02-09 06:27:05' and `end` < '2025-02-09 09:27: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 ,'')
[2025-02-09 09:27:11] Production.ERROR: CronJobId end10
[2025-02-09 09:27:11] Production.INFO: ==11423== Releasing lock...
[2025-02-09 09:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:27:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:27:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:27:13] Production.INFO: call_cost start
[2025-02-09 09:27:13] Production.INFO: call_cost end
[2025-02-09 09:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:27:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:27:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:27:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:27:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:27:14] Production.INFO: ==11419== Releasing lock...
[2025-02-09 09:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:27:18] Production.INFO: count ==153
[2025-02-09 09:27:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:27:05 - End Time 2025-02-09 09:27:05
[2025-02-09 09:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436134', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436134', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436134', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436134', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:27:18] Production.INFO: ProcessCDR(1,14436134,1,1,2)
[2025-02-09 09:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436134', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436134', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:27:22] Production.INFO: ==11427== Releasing lock...
[2025-02-09 09:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:27:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:28:02] Production.INFO: ==11494== Lock acquired, processing the job...
[2025-02-09 14:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:28:02] Production.INFO: neon service started
[2025-02-09 14:28:02] Production.INFO: neon service started
[2025-02-09 14:28:02] Production.INFO: ==11494== Releasing lock...
[2025-02-09 14:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:28:02] Production.INFO: ==11497== Lock acquired, processing the job...
[2025-02-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:28:03] Production.INFO: ==11499== Lock acquired, processing the job...
[2025-02-09 14:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:28:03] Production.INFO: ==11499== Releasing lock...
[2025-02-09 14:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:28:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:28:03] Production.INFO: ==11497== Releasing lock...
[2025-02-09 09:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:28:04] Production.INFO: ==11511== Lock acquired, processing the job...
[2025-02-09 09:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:28:04] Production.INFO: ==11507== Lock acquired, processing the job...
[2025-02-09 09:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:28:04] Production.INFO: ==11503== Lock acquired, processing the job...
[2025-02-09 09:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:28:04] Production.INFO: ==11505== Lock acquired, processing the job...
[2025-02-09 09:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:28:04] Production.INFO: ==11509== Lock acquired, processing the job...
[2025-02-09 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:28:04] Production.ERROR: done
[2025-02-09 09:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:28:04] Production.INFO: Account Balance Start.
[2025-02-09 09:28:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:28:04] Production.INFO: 117
[2025-02-09 09:28:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:28:04] Production.INFO: ==11513== Lock acquired, processing the job...
[2025-02-09 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:28:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:28:04] Production.ERROR: done
[2025-02-09 09:28:04] Production.INFO: Total Charge 0
[2025-02-09 09:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:28:04] Production.INFO: CreateAllLog End
[2025-02-09 09:28:05] Production.INFO: count ==21
[2025-02-09 09:28:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:28:05] Production.INFO: count ==21
[2025-02-09 09:28:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436138') start
[2025-02-09 09:28:05] Production.INFO: Account Balance End.
[2025-02-09 09:28:05] Production.INFO: ==11505== Releasing lock...
[2025-02-09 09:28:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:28:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:28:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436138') end
[2025-02-09 09:28:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:28:05] Production.INFO: 1
[2025-02-09 09:28:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:28:05] Production.INFO: ==11513== Releasing lock...
[2025-02-09 09:28:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:28:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:28:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:28:05] Production.INFO: ==11509== Releasing lock...
[2025-02-09 09:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:28:05
[end_date_ymd] => 2025-02-09 09:28:05
[RateCDR] => 1
)
[2025-02-09 09:28: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` >= '2025-02-09 06:28:05' and `end` < '2025-02-09 09:28: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 ,'')
[2025-02-09 09:28:11] Production.ERROR: CronJobId end10
[2025-02-09 09:28:11] Production.INFO: ==11507== Releasing lock...
[2025-02-09 09:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:28:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:28:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:28:14] Production.INFO: call_cost start
[2025-02-09 09:28:14] Production.INFO: call_cost end
[2025-02-09 09:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:28:15] Production.INFO: ==11503== Releasing lock...
[2025-02-09 09:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:28:18] Production.INFO: count ==153
[2025-02-09 09:28:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:28:05 - End Time 2025-02-09 09:28:05
[2025-02-09 09:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436139', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436139', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436139', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436139', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:28:18] Production.INFO: ProcessCDR(1,14436139,1,1,2)
[2025-02-09 09:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436139', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436139', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:28:21] Production.INFO: ==11511== Releasing lock...
[2025-02-09 09:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:28:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 14:29:01] Production.INFO: ==11573== Lock acquired, processing the job...
[2025-02-09 14:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:29:01] Production.INFO: neon service started
[2025-02-09 14:29:01] Production.INFO: neon service started
[2025-02-09 14:29:01] Production.INFO: ==11573== Releasing lock...
[2025-02-09 14:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:29:01] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 14:29:02] Production.INFO: ==11577== Lock acquired, processing the job...
[2025-02-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:29:02] Production.INFO: ==11577== Releasing lock...
[2025-02-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:29:02] Production.INFO: ==11575== Lock acquired, processing the job...
[2025-02-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:29:02] Production.INFO: ==11575== Releasing lock...
[2025-02-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:29:03] Production.INFO: ==11584== Lock acquired, processing the job...
[2025-02-09 09:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:29:03] Production.INFO: ==11590== Lock acquired, processing the job...
[2025-02-09 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:29:03] Production.INFO: count ==21
[2025-02-09 09:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:29:03] Production.INFO: count ==21
[2025-02-09 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436140') start
[2025-02-09 09:29:03] Production.INFO: ==11580== Lock acquired, processing the job...
[2025-02-09 09:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436140') end
[2025-02-09 09:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:29:04] Production.INFO: 1
[2025-02-09 09:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:29:04] Production.INFO: ==11582== Lock acquired, processing the job...
[2025-02-09 09:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:29:04] Production.INFO: ==11590== Releasing lock...
[2025-02-09 09:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:29:04] Production.INFO: ==11586== Lock acquired, processing the job...
[2025-02-09 09:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:29:04] Production.INFO: ==11588== Lock acquired, processing the job...
[2025-02-09 09:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:29:04] Production.INFO: Account Balance Start.
[2025-02-09 09:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:29:04] Production.INFO: 117
[2025-02-09 09:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:29:04] Production.INFO: Total Charge 0
[2025-02-09 09:29:04] Production.INFO: CreateAllLog End
[2025-02-09 09:29:04] Production.INFO: ==11582== Releasing lock...
[2025-02-09 09:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:29:04] Production.ERROR: done
[2025-02-09 09:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:29:04] Production.INFO: Account Balance End.
[2025-02-09 09:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:29:04] Production.INFO: ==11586== Releasing lock...
[2025-02-09 09:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:29:04] Production.ERROR: done
[2025-02-09 09:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:29:05
[end_date_ymd] => 2025-02-09 09:29:05
[RateCDR] => 1
)
[2025-02-09 09:29: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` >= '2025-02-09 06:29:05' and `end` < '2025-02-09 09:29: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 ,'')
[2025-02-09 09:29:12] Production.ERROR: CronJobId end10
[2025-02-09 09:29:12] Production.INFO: ==11584== Releasing lock...
[2025-02-09 09:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:29:14] Production.INFO: call_cost start
[2025-02-09 09:29:14] Production.INFO: call_cost end
[2025-02-09 09:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:29:15] Production.INFO: ==11580== Releasing lock...
[2025-02-09 09:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:29:18] Production.INFO: count ==152
[2025-02-09 09:29:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:29:05 - End Time 2025-02-09 09:29:05
[2025-02-09 09:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436144', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436144', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436144', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436144', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:29:18] Production.INFO: ProcessCDR(1,14436144,1,1,2)
[2025-02-09 09:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436144', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436144', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:29:22] Production.INFO: ==11588== Releasing lock...
[2025-02-09 09:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:29:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:30:02] Production.INFO: ==11655== Lock acquired, processing the job...
[2025-02-09 14:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:30:02] Production.INFO: neon service started
[2025-02-09 14:30:02] Production.INFO: neon service started
[2025-02-09 14:30:02] Production.INFO: ==11655== Releasing lock...
[2025-02-09 14:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:30:02] Production.INFO: ==11659== Lock acquired, processing the job...
[2025-02-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:30:02] Production.INFO: ==11659== Releasing lock...
[2025-02-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:30:02] Production.INFO: ==11657== Lock acquired, processing the job...
[2025-02-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:30:03] Production.INFO: ==11657== Releasing lock...
[2025-02-09 09:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:30:03] Production.INFO: ==11662== Lock acquired, processing the job...
[2025-02-09 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 09:30:03] Production.INFO: ==11664== Lock acquired, processing the job...
[2025-02-09 09:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 09:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 09:30:03] Production.INFO: ==11662== Releasing lock...
[2025-02-09 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 09:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 09:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:30:04] Production.INFO: ==11672== Lock acquired, processing the job...
[2025-02-09 09:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:30:04] Production.INFO: ==11676== Lock acquired, processing the job...
[2025-02-09 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:30:04] Production.INFO: count ==21
[2025-02-09 09:30:04] Production.INFO: ==11666== Lock acquired, processing the job...
[2025-02-09 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:30:04] Production.INFO: count ==21
[2025-02-09 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436146') start
[2025-02-09 09:30:04] Production.INFO: ==11674== Lock acquired, processing the job...
[2025-02-09 09:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 09:30:04] Production.ERROR: done
[2025-02-09 09:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:30:04] Production.INFO: ==11668== Lock acquired, processing the job...
[2025-02-09 09:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:30:04] Production.INFO: ==11670== Lock acquired, processing the job...
[2025-02-09 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436146') end
[2025-02-09 09:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:30:04] Production.INFO: 1
[2025-02-09 09:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:30:04] Production.ERROR: done
[2025-02-09 09:30:04] Production.INFO: Account Balance Start.
[2025-02-09 09:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:30:04] Production.INFO: 117
[2025-02-09 09:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:30:04] Production.INFO: ==11676== Releasing lock...
[2025-02-09 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:30:04] Production.INFO: Total Charge 0
[2025-02-09 09:30:04] Production.INFO: CreateAllLog End
[2025-02-09 09:30:04] Production.ERROR: done
[2025-02-09 09:30:04] Production.INFO: ==11666== Releasing lock...
[2025-02-09 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 09:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436150', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 09:30:05] Production.INFO: Account Balance End.
[2025-02-09 09:30:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:30:05] Production.INFO: ==11670== Releasing lock...
[2025-02-09 09:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:30:06
[end_date_ymd] => 2025-02-09 09:30:06
[RateCDR] => 1
)
[2025-02-09 09:30: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-02-09 06:30:06' and `end` < '2025-02-09 09:30: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-02-09 09:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436150', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 09:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 09:30:09] Production.INFO: ProcessCDR(1,14436150,1,1,2)
[2025-02-09 09:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436150,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436150,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:30:09] Production.INFO: ==11674== Releasing lock...
[2025-02-09 09:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 09:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 09:30:14] Production.ERROR: CronJobId end10
[2025-02-09 09:30:14] Production.INFO: ==11668== Releasing lock...
[2025-02-09 09:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:30:16] Production.INFO: call_cost start
[2025-02-09 09:30:16] Production.INFO: call_cost end
[2025-02-09 09:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:30:17] Production.INFO: ==11664== Releasing lock...
[2025-02-09 09:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:30:18] Production.INFO: count ==150
[2025-02-09 09:30:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:30:06 - End Time 2025-02-09 09:30:06
[2025-02-09 09:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436149', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436149', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436149', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436149', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:30:18] Production.INFO: ProcessCDR(1,14436149,1,1,2)
[2025-02-09 09:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436149', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436149', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:30:23] Production.INFO: ==11672== Releasing lock...
[2025-02-09 09:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:30:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:31:01] Production.INFO: ==11737== Lock acquired, processing the job...
[2025-02-09 14:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:31:01] Production.INFO: neon service started
[2025-02-09 14:31:01] Production.INFO: neon service started
[2025-02-09 14:31:01] Production.INFO: ==11737== Releasing lock...
[2025-02-09 14:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:31:01] Production.INFO: ==11739== Lock acquired, processing the job...
[2025-02-09 09:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:31:02] Production.INFO: ==11739== Releasing lock...
[2025-02-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:31:02] Production.INFO: ==11741== Lock acquired, processing the job...
[2025-02-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:31:02] Production.INFO: ==11741== Releasing lock...
[2025-02-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:31:02] Production.INFO: ==11744== Lock acquired, processing the job...
[2025-02-09 09:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:31:02] Production.INFO: ==11746== Lock acquired, processing the job...
[2025-02-09 09:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:31:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:31:03] Production.INFO: ==11746== Releasing lock...
[2025-02-09 09:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:31:03] Production.INFO: ==11752== Lock acquired, processing the job...
[2025-02-09 09:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:31:03] Production.INFO: ==11748== Lock acquired, processing the job...
[2025-02-09 09:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:31:03] Production.INFO: ==11750== Lock acquired, processing the job...
[2025-02-09 09:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:31:03] Production.INFO: ==11754== Lock acquired, processing the job...
[2025-02-09 09:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:31:03] Production.INFO: Account Balance Start.
[2025-02-09 09:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:31:04] Production.INFO: 117
[2025-02-09 09:31:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:31:04] Production.ERROR: done
[2025-02-09 09:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:31:04] Production.INFO: Total Charge 0
[2025-02-09 09:31:04] Production.INFO: CreateAllLog End
[2025-02-09 09:31:04] Production.INFO: count ==21
[2025-02-09 09:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:31:04] Production.INFO: count ==21
[2025-02-09 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436154') start
[2025-02-09 09:31:04] Production.ERROR: done
[2025-02-09 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436154') end
[2025-02-09 09:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:31:04] Production.INFO: 1
[2025-02-09 09:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:31:04] Production.INFO: Account Balance End.
[2025-02-09 09:31:04] Production.INFO: ==11754== Releasing lock...
[2025-02-09 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:31:04] Production.INFO: ==11750== Releasing lock...
[2025-02-09 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:31:05
[end_date_ymd] => 2025-02-09 09:31:05
[RateCDR] => 1
)
[2025-02-09 09:31: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` >= '2025-02-09 06:31:05' and `end` < '2025-02-09 09:31: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 ,'')
[2025-02-09 09:31:12] Production.ERROR: CronJobId end10
[2025-02-09 09:31:12] Production.INFO: ==11748== Releasing lock...
[2025-02-09 09:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:31:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:31:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:31:13] Production.INFO: call_cost start
[2025-02-09 09:31:13] Production.INFO: call_cost end
[2025-02-09 09:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:31:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:31:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:31:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:31:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:31:14] Production.INFO: ==11744== Releasing lock...
[2025-02-09 09:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:31:18] Production.INFO: count ==150
[2025-02-09 09:31:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:31:05 - End Time 2025-02-09 09:31:05
[2025-02-09 09:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436155', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436155', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436155', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436155', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:31:18] Production.INFO: ProcessCDR(1,14436155,1,1,2)
[2025-02-09 09:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436155', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436155', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:31:21] Production.INFO: ==11752== Releasing lock...
[2025-02-09 09:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:31:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:32:02] Production.INFO: ==11815== Lock acquired, processing the job...
[2025-02-09 14:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:32:02] Production.INFO: neon service started
[2025-02-09 14:32:02] Production.INFO: neon service started
[2025-02-09 14:32:02] Production.INFO: ==11815== Releasing lock...
[2025-02-09 14:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:32:02] Production.INFO: ==11817== Lock acquired, processing the job...
[2025-02-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:32:02] Production.INFO: ==11819== Lock acquired, processing the job...
[2025-02-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:32:02] Production.INFO: ==11819== Releasing lock...
[2025-02-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:32:03] Production.INFO: ==11817== Releasing lock...
[2025-02-09 09:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:32:04] Production.INFO: ==11826== Lock acquired, processing the job...
[2025-02-09 09:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:32:04] Production.INFO: ==11822== Lock acquired, processing the job...
[2025-02-09 09:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:32:04] Production.INFO: ==11832== Lock acquired, processing the job...
[2025-02-09 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:32:04] Production.INFO: ==11824== Lock acquired, processing the job...
[2025-02-09 09:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:32:04] Production.INFO: count ==21
[2025-02-09 09:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:32:04] Production.INFO: count ==21
[2025-02-09 09:32:04] Production.INFO: ==11830== Lock acquired, processing the job...
[2025-02-09 09:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:32:04] Production.INFO: ==11828== Lock acquired, processing the job...
[2025-02-09 09:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436157') start
[2025-02-09 09:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436157') end
[2025-02-09 09:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:32:04] Production.INFO: 1
[2025-02-09 09:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:32:04] Production.INFO: Account Balance Start.
[2025-02-09 09:32:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:32:04] Production.INFO: 117
[2025-02-09 09:32:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:32:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:32:04] Production.INFO: Total Charge 0
[2025-02-09 09:32:04] Production.INFO: CreateAllLog End
[2025-02-09 09:32:04] Production.INFO: ==11832== Releasing lock...
[2025-02-09 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:32:04] Production.INFO: ==11824== Releasing lock...
[2025-02-09 09:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:32:04] Production.INFO: Account Balance End.
[2025-02-09 09:32:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:32:05] Production.INFO: ==11828== Releasing lock...
[2025-02-09 09:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:32:05] Production.ERROR: done
[2025-02-09 09:32:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:32:05] Production.ERROR: done
[2025-02-09 09:32:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:32:06
[end_date_ymd] => 2025-02-09 09:32:06
[RateCDR] => 1
)
[2025-02-09 09:32: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-02-09 06:32:06' and `end` < '2025-02-09 09:32: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-02-09 09:32:13] Production.ERROR: CronJobId end10
[2025-02-09 09:32:13] Production.INFO: ==11826== Releasing lock...
[2025-02-09 09:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:32:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:32:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:32:15] Production.INFO: call_cost start
[2025-02-09 09:32:15] Production.INFO: call_cost end
[2025-02-09 09:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:32:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:32:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:32:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:32:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:32:16] Production.INFO: ==11822== Releasing lock...
[2025-02-09 09:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:32:20] Production.INFO: count ==149
[2025-02-09 09:32:20] Production.ERROR: pbx CDR StartTime 2025-02-09 06:32:06 - End Time 2025-02-09 09:32:06
[2025-02-09 09:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436160', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436160', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436160', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436160', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:32:20] Production.INFO: ProcessCDR(1,14436160,1,1,2)
[2025-02-09 09:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436160', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436160', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:32:23] Production.INFO: ==11830== Releasing lock...
[2025-02-09 09:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:32:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:33:01] Production.INFO: ==11888== Lock acquired, processing the job...
[2025-02-09 14:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:33:01] Production.INFO: neon service started
[2025-02-09 14:33:01] Production.INFO: neon service started
[2025-02-09 14:33:01] Production.INFO: ==11888== Releasing lock...
[2025-02-09 14:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:33:01] Production.INFO: ==11891== Lock acquired, processing the job...
[2025-02-09 09:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:33:02] Production.INFO: ==11891== Releasing lock...
[2025-02-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:33:02] Production.INFO: ==11893== Lock acquired, processing the job...
[2025-02-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:33:02] Production.INFO: ==11893== Releasing lock...
[2025-02-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:33:03] Production.INFO: ==11899== Lock acquired, processing the job...
[2025-02-09 09:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:33:03] Production.INFO: ==11895== Lock acquired, processing the job...
[2025-02-09 09:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:33:03] Production.INFO: ==11897== Lock acquired, processing the job...
[2025-02-09 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:33:03] Production.INFO: ==11901== Lock acquired, processing the job...
[2025-02-09 09:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:33:03] Production.INFO: ==11905== Lock acquired, processing the job...
[2025-02-09 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:33:03] Production.INFO: ==11903== Lock acquired, processing the job...
[2025-02-09 09:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:33:03] Production.INFO: Account Balance Start.
[2025-02-09 09:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:33:03] Production.INFO: 117
[2025-02-09 09:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:33:03] Production.INFO: count ==21
[2025-02-09 09:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:33:03] Production.INFO: count ==21
[2025-02-09 09:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436164') start
[2025-02-09 09:33:03] Production.INFO: Total Charge 0
[2025-02-09 09:33:03] Production.INFO: CreateAllLog End
[2025-02-09 09:33:03] Production.INFO: ==11897== Releasing lock...
[2025-02-09 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:33:03] Production.ERROR: done
[2025-02-09 09:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436164') end
[2025-02-09 09:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:33:03] Production.INFO: 1
[2025-02-09 09:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:33:04] Production.INFO: ==11905== Releasing lock...
[2025-02-09 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:33:04] Production.INFO: Account Balance End.
[2025-02-09 09:33:04] Production.ERROR: done
[2025-02-09 09:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:33:04] Production.INFO: ==11901== Releasing lock...
[2025-02-09 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:33:05
[end_date_ymd] => 2025-02-09 09:33:05
[RateCDR] => 1
)
[2025-02-09 09:33: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` >= '2025-02-09 06:33:05' and `end` < '2025-02-09 09:33: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 ,'')
[2025-02-09 09:33:11] Production.ERROR: CronJobId end10
[2025-02-09 09:33:11] Production.INFO: ==11899== Releasing lock...
[2025-02-09 09:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:33:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:33:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:33:14] Production.INFO: call_cost start
[2025-02-09 09:33:14] Production.INFO: call_cost end
[2025-02-09 09:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:33:15] Production.INFO: ==11895== Releasing lock...
[2025-02-09 09:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:33:18] Production.INFO: count ==149
[2025-02-09 09:33:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:33:05 - End Time 2025-02-09 09:33:05
[2025-02-09 09:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436165', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436165', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436165', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436165', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:33:18] Production.INFO: ProcessCDR(1,14436165,1,1,2)
[2025-02-09 09:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436165', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436165', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:33:22] Production.INFO: ==11903== Releasing lock...
[2025-02-09 09:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:33:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:34:02] Production.INFO: ==11974== Lock acquired, processing the job...
[2025-02-09 14:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:34:02] Production.INFO: neon service started
[2025-02-09 14:34:02] Production.INFO: neon service started
[2025-02-09 14:34:02] Production.INFO: ==11974== Releasing lock...
[2025-02-09 14:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:34:02] Production.INFO: ==11979== Lock acquired, processing the job...
[2025-02-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:34:02] Production.INFO: ==11979== Releasing lock...
[2025-02-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:34:02] Production.INFO: ==11977== Lock acquired, processing the job...
[2025-02-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:34:02] Production.INFO: ==11977== Releasing lock...
[2025-02-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:34:03] Production.INFO: ==11985== Lock acquired, processing the job...
[2025-02-09 09:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:34:03] Production.INFO: ==11989== Lock acquired, processing the job...
[2025-02-09 09:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:34:03] Production.INFO: ==11981== Lock acquired, processing the job...
[2025-02-09 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:34:04] Production.INFO: ==11983== Lock acquired, processing the job...
[2025-02-09 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:34:04] Production.INFO: ==11991== Lock acquired, processing the job...
[2025-02-09 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:34:04] Production.INFO: ==11987== Lock acquired, processing the job...
[2025-02-09 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:34:04] Production.ERROR: done
[2025-02-09 09:34:04] Production.INFO: Account Balance Start.
[2025-02-09 09:34:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:34:04] Production.INFO: 117
[2025-02-09 09:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:34:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:34:04] Production.INFO: count ==21
[2025-02-09 09:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:34:04] Production.INFO: count ==21
[2025-02-09 09:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436168') start
[2025-02-09 09:34:04] Production.INFO: ==11983== Releasing lock...
[2025-02-09 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:34:04] Production.INFO: Total Charge 0
[2025-02-09 09:34:04] Production.INFO: CreateAllLog End
[2025-02-09 09:34:04] Production.ERROR: done
[2025-02-09 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436168') end
[2025-02-09 09:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:34:04] Production.INFO: 1
[2025-02-09 09:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:34:04] Production.INFO: ==11991== Releasing lock...
[2025-02-09 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:34:04] Production.INFO: Account Balance End.
[2025-02-09 09:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:34:04] Production.INFO: ==11987== Releasing lock...
[2025-02-09 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:34:05
[end_date_ymd] => 2025-02-09 09:34:05
[RateCDR] => 1
)
[2025-02-09 09:34: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` >= '2025-02-09 06:34:05' and `end` < '2025-02-09 09:34: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 ,'')
[2025-02-09 09:34:12] Production.ERROR: CronJobId end10
[2025-02-09 09:34:12] Production.INFO: ==11985== Releasing lock...
[2025-02-09 09:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:34:14] Production.INFO: call_cost start
[2025-02-09 09:34:14] Production.INFO: call_cost end
[2025-02-09 09:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:34:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:34:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:34:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:34:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:34:15] Production.INFO: ==11981== Releasing lock...
[2025-02-09 09:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:34:19] Production.INFO: count ==147
[2025-02-09 09:34:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:34:05 - End Time 2025-02-09 09:34:05
[2025-02-09 09:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436170', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436170', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436170', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436170', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:34:19] Production.INFO: ProcessCDR(1,14436170,1,1,2)
[2025-02-09 09:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436170', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436170', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:34:22] Production.INFO: ==11989== Releasing lock...
[2025-02-09 09:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:34:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:35:01] Production.INFO: ==12053== Lock acquired, processing the job...
[2025-02-09 14:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:35:01] Production.INFO: neon service started
[2025-02-09 14:35:01] Production.INFO: neon service started
[2025-02-09 14:35:01] Production.INFO: ==12053== Releasing lock...
[2025-02-09 14:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:35:02] Production.INFO: ==12055== Lock acquired, processing the job...
[2025-02-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:35:02] Production.INFO: ==12057== Lock acquired, processing the job...
[2025-02-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:35:02] Production.INFO: ==12057== Releasing lock...
[2025-02-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:35:02] Production.INFO: ==12055== Releasing lock...
[2025-02-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:35:03] Production.INFO: ==12062== Lock acquired, processing the job...
[2025-02-09 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:35:03] Production.INFO: ==12064== Lock acquired, processing the job...
[2025-02-09 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:35:03] Production.INFO: ==12068== Lock acquired, processing the job...
[2025-02-09 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:35:03] Production.INFO: ==12060== Lock acquired, processing the job...
[2025-02-09 09:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:35:03] Production.INFO: ==12062== Releasing lock...
[2025-02-09 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:35:03] Production.INFO: ==12066== Lock acquired, processing the job...
[2025-02-09 09:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:35:03] Production.INFO: Account Balance Start.
[2025-02-09 09:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:35:03] Production.INFO: 117
[2025-02-09 09:35:03] Production.INFO: ==12070== Lock acquired, processing the job...
[2025-02-09 09:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:35:03] Production.ERROR: done
[2025-02-09 09:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:35:04] Production.ERROR: done
[2025-02-09 09:35:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:35:04] Production.INFO: Total Charge 0
[2025-02-09 09:35:04] Production.INFO: count ==21
[2025-02-09 09:35:04] Production.INFO: CreateAllLog End
[2025-02-09 09:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:35:04] Production.INFO: count ==21
[2025-02-09 09:35:04] Production.INFO: Account Balance End.
[2025-02-09 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436174') start
[2025-02-09 09:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:35:04] Production.INFO: ==12066== Releasing lock...
[2025-02-09 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436174') end
[2025-02-09 09:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:35:04] Production.INFO: 1
[2025-02-09 09:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:35:04] Production.INFO: ==12070== Releasing lock...
[2025-02-09 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:35:05
[end_date_ymd] => 2025-02-09 09:35:05
[RateCDR] => 1
)
[2025-02-09 09:35: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` >= '2025-02-09 06:35:05' and `end` < '2025-02-09 09:35: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 ,'')
[2025-02-09 09:35:12] Production.ERROR: CronJobId end10
[2025-02-09 09:35:12] Production.INFO: ==12064== Releasing lock...
[2025-02-09 09:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:35:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:35:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:35:14] Production.INFO: call_cost start
[2025-02-09 09:35:14] Production.INFO: call_cost end
[2025-02-09 09:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:35:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:35:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:35:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:35:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:35:15] Production.INFO: ==12060== Releasing lock...
[2025-02-09 09:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:35:18] Production.INFO: count ==146
[2025-02-09 09:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:35:05 - End Time 2025-02-09 09:35:05
[2025-02-09 09:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436175', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436175', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436175', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436175', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:35:18] Production.INFO: ProcessCDR(1,14436175,1,1,2)
[2025-02-09 09:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436175', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436175', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:35:23] Production.INFO: ==12068== Releasing lock...
[2025-02-09 09:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:35:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:36:01] Production.INFO: ==12135== Lock acquired, processing the job...
[2025-02-09 14:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:36:01] Production.INFO: neon service started
[2025-02-09 14:36:01] Production.INFO: neon service started
[2025-02-09 14:36:01] Production.INFO: ==12135== Releasing lock...
[2025-02-09 14:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:36:02] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-02-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:36:02] Production.INFO: ==12139== Releasing lock...
[2025-02-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:36:02] Production.INFO: ==12137== Lock acquired, processing the job...
[2025-02-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:36:02] Production.INFO: ==12137== Releasing lock...
[2025-02-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:36:03] Production.INFO: ==12142== Lock acquired, processing the job...
[2025-02-09 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:36:03] Production.INFO: ==12146== Lock acquired, processing the job...
[2025-02-09 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:36:03] Production.INFO: ==12144== Lock acquired, processing the job...
[2025-02-09 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:36:03] Production.INFO: ==12148== Lock acquired, processing the job...
[2025-02-09 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:36:03] Production.INFO: ==12150== Lock acquired, processing the job...
[2025-02-09 09:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:36:03] Production.INFO: ==12152== Lock acquired, processing the job...
[2025-02-09 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:36:03] Production.INFO: Account Balance Start.
[2025-02-09 09:36:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:36:03] Production.INFO: 117
[2025-02-09 09:36:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:36:04] Production.INFO: count ==21
[2025-02-09 09:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:36:04] Production.INFO: count ==21
[2025-02-09 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436179') start
[2025-02-09 09:36:04] Production.INFO: Total Charge 0
[2025-02-09 09:36:04] Production.INFO: CreateAllLog End
[2025-02-09 09:36:04] Production.INFO: ==12144== Releasing lock...
[2025-02-09 09:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436179') end
[2025-02-09 09:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:36:04] Production.INFO: 1
[2025-02-09 09:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:36:04] Production.INFO: ==12152== Releasing lock...
[2025-02-09 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:36:04] Production.ERROR: done
[2025-02-09 09:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:36:04] Production.INFO: Account Balance End.
[2025-02-09 09:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:36:04] Production.INFO: ==12148== Releasing lock...
[2025-02-09 09:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:36:04] Production.ERROR: done
[2025-02-09 09:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:36:05
[end_date_ymd] => 2025-02-09 09:36:05
[RateCDR] => 1
)
[2025-02-09 09:36: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` >= '2025-02-09 06:36:05' and `end` < '2025-02-09 09:36: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 ,'')
[2025-02-09 09:36:11] Production.ERROR: CronJobId end10
[2025-02-09 09:36:11] Production.INFO: ==12146== Releasing lock...
[2025-02-09 09:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:36:13] Production.INFO: call_cost start
[2025-02-09 09:36:13] Production.INFO: call_cost end
[2025-02-09 09:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:36:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:36:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:36:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:36:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:36:14] Production.INFO: ==12142== Releasing lock...
[2025-02-09 09:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:36:20] Production.INFO: count ==148
[2025-02-09 09:36:20] Production.ERROR: pbx CDR StartTime 2025-02-09 06:36:05 - End Time 2025-02-09 09:36:05
[2025-02-09 09:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436180', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436180', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436180', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436180', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:36:20] Production.INFO: ProcessCDR(1,14436180,1,1,2)
[2025-02-09 09:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436180', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436180', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:36:23] Production.INFO: ==12150== Releasing lock...
[2025-02-09 09:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:36:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:37:02] Production.INFO: ==12214== Lock acquired, processing the job...
[2025-02-09 14:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:37:02] Production.INFO: neon service started
[2025-02-09 14:37:02] Production.INFO: neon service started
[2025-02-09 14:37:02] Production.INFO: ==12214== Releasing lock...
[2025-02-09 14:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:37:02] Production.INFO: ==12216== Lock acquired, processing the job...
[2025-02-09 09:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:37:03] Production.INFO: ==12218== Lock acquired, processing the job...
[2025-02-09 14:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:37:03] Production.INFO: ==12218== Releasing lock...
[2025-02-09 14:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:37:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:37:03] Production.INFO: ==12216== Releasing lock...
[2025-02-09 09:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:37:04] Production.INFO: ==12221== Lock acquired, processing the job...
[2025-02-09 09:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:37:04] Production.INFO: ==12223== Lock acquired, processing the job...
[2025-02-09 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:37:04] Production.INFO: ==12227== Lock acquired, processing the job...
[2025-02-09 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:37:04] Production.INFO: ==12225== Lock acquired, processing the job...
[2025-02-09 09:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:37:04] Production.INFO: ==12229== Lock acquired, processing the job...
[2025-02-09 09:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:37:04] Production.INFO: ==12231== Lock acquired, processing the job...
[2025-02-09 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:37:04] Production.INFO: Account Balance Start.
[2025-02-09 09:37:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:37:04] Production.INFO: 117
[2025-02-09 09:37:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:37:04] Production.INFO: ==12223== Releasing lock...
[2025-02-09 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:37:04] Production.INFO: count ==21
[2025-02-09 09:37:04] Production.INFO: Total Charge 0
[2025-02-09 09:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:37:04] Production.INFO: count ==21
[2025-02-09 09:37:04] Production.INFO: CreateAllLog End
[2025-02-09 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436184') start
[2025-02-09 09:37:05] Production.ERROR: done
[2025-02-09 09:37:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:37:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436184') end
[2025-02-09 09:37:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:37:05] Production.INFO: 1
[2025-02-09 09:37:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:37:05] Production.INFO: ==12231== Releasing lock...
[2025-02-09 09:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:37:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:37:05] Production.INFO: Account Balance End.
[2025-02-09 09:37:05] Production.ERROR: done
[2025-02-09 09:37:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:37:05] Production.INFO: ==12227== Releasing lock...
[2025-02-09 09:37:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:37:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:37:06
[end_date_ymd] => 2025-02-09 09:37:06
[RateCDR] => 1
)
[2025-02-09 09:37: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-02-09 06:37:06' and `end` < '2025-02-09 09:37: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-02-09 09:37:13] Production.ERROR: CronJobId end10
[2025-02-09 09:37:13] Production.INFO: ==12225== Releasing lock...
[2025-02-09 09:37:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:37:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:37:14] Production.INFO: call_cost start
[2025-02-09 09:37:14] Production.INFO: call_cost end
[2025-02-09 09:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:37:15] Production.INFO: ==12221== Releasing lock...
[2025-02-09 09:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:37:19] Production.INFO: count ==148
[2025-02-09 09:37:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:37:06 - End Time 2025-02-09 09:37:06
[2025-02-09 09:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436185', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436185', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436185', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436185', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:37:19] Production.INFO: ProcessCDR(1,14436185,1,1,2)
[2025-02-09 09:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436185', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436185', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:37:22] Production.INFO: ==12229== Releasing lock...
[2025-02-09 09:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:37:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:38:01] Production.INFO: ==12332== Lock acquired, processing the job...
[2025-02-09 14:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:38:01] Production.INFO: neon service started
[2025-02-09 14:38:01] Production.INFO: neon service started
[2025-02-09 14:38:01] Production.INFO: ==12332== Releasing lock...
[2025-02-09 14:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:38:02] Production.INFO: ==12334== Lock acquired, processing the job...
[2025-02-09 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:38:02] Production.INFO: ==12334== Releasing lock...
[2025-02-09 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:38:02] Production.INFO: ==12336== Lock acquired, processing the job...
[2025-02-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:38:02] Production.INFO: ==12336== Releasing lock...
[2025-02-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:38:03] Production.INFO: ==12341== Lock acquired, processing the job...
[2025-02-09 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:38:03] Production.INFO: ==12347== Lock acquired, processing the job...
[2025-02-09 09:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:38:03] Production.INFO: ==12349== Lock acquired, processing the job...
[2025-02-09 09:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:38:03] Production.INFO: Account Balance Start.
[2025-02-09 09:38:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:38:03] Production.INFO: 117
[2025-02-09 09:38:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:38:03] Production.INFO: ==12343== Lock acquired, processing the job...
[2025-02-09 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:38:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:38:03] Production.INFO: Total Charge 0
[2025-02-09 09:38:03] Production.INFO: CreateAllLog End
[2025-02-09 09:38:04] Production.INFO: ==12345== Lock acquired, processing the job...
[2025-02-09 09:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:38:04] Production.INFO: Account Balance End.
[2025-02-09 09:38:04] Production.INFO: ==12351== Lock acquired, processing the job...
[2025-02-09 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:38:04] Production.INFO: ==12347== Releasing lock...
[2025-02-09 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:38:04] Production.ERROR: done
[2025-02-09 09:38:04] Production.INFO: ==12343== Releasing lock...
[2025-02-09 09:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:38:04] Production.INFO: count ==21
[2025-02-09 09:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:38:04] Production.INFO: count ==21
[2025-02-09 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436189') start
[2025-02-09 09:38:04] Production.ERROR: done
[2025-02-09 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436189') end
[2025-02-09 09:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:38:04] Production.INFO: 1
[2025-02-09 09:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:38:04] Production.INFO: ==12351== Releasing lock...
[2025-02-09 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:38:05
[end_date_ymd] => 2025-02-09 09:38:05
[RateCDR] => 1
)
[2025-02-09 09:38: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` >= '2025-02-09 06:38:05' and `end` < '2025-02-09 09:38: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 ,'')
[2025-02-09 09:38:13] Production.ERROR: CronJobId end10
[2025-02-09 09:38:13] Production.INFO: ==12345== Releasing lock...
[2025-02-09 09:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:38:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:38:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:38:15] Production.INFO: call_cost start
[2025-02-09 09:38:15] Production.INFO: call_cost end
[2025-02-09 09:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:38:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:38:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:38:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:38:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:38:16] Production.INFO: ==12341== Releasing lock...
[2025-02-09 09:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:38:18] Production.INFO: count ==148
[2025-02-09 09:38:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:38:05 - End Time 2025-02-09 09:38:05
[2025-02-09 09:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436190', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436190', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436190', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436190', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:38:18] Production.INFO: ProcessCDR(1,14436190,1,1,2)
[2025-02-09 09:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436190', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436190', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:38:21] Production.INFO: ==12349== Releasing lock...
[2025-02-09 09:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:38:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:39:01] Production.INFO: ==12408== Lock acquired, processing the job...
[2025-02-09 14:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:39:01] Production.INFO: neon service started
[2025-02-09 14:39:01] Production.INFO: neon service started
[2025-02-09 14:39:01] Production.INFO: ==12408== Releasing lock...
[2025-02-09 14:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:39:01] Production.INFO: ==12410== Lock acquired, processing the job...
[2025-02-09 09:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:39:02] Production.INFO: ==12412== Lock acquired, processing the job...
[2025-02-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:39:02] Production.INFO: ==12410== Releasing lock...
[2025-02-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:39:02] Production.INFO: ==12412== Releasing lock...
[2025-02-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:39:02] Production.INFO: ==12414== Lock acquired, processing the job...
[2025-02-09 09:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:39:03] Production.INFO: ==12416== Lock acquired, processing the job...
[2025-02-09 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:39:03] Production.INFO: ==12418== Lock acquired, processing the job...
[2025-02-09 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:39:03] Production.INFO: ==12420== Lock acquired, processing the job...
[2025-02-09 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:39:03] Production.INFO: ==12422== Lock acquired, processing the job...
[2025-02-09 09:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:39:03] Production.INFO: Account Balance Start.
[2025-02-09 09:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:39:03] Production.INFO: 117
[2025-02-09 09:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:39:03] Production.INFO: ==12424== Lock acquired, processing the job...
[2025-02-09 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:39:03] Production.INFO: Total Charge 0
[2025-02-09 09:39:03] Production.INFO: ==12416== Releasing lock...
[2025-02-09 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:39:03] Production.INFO: CreateAllLog End
[2025-02-09 09:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:39:03] Production.INFO: count ==21
[2025-02-09 09:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:39:03] Production.ERROR: done
[2025-02-09 09:39:03] Production.INFO: count ==21
[2025-02-09 09:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436194') start
[2025-02-09 09:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436194') end
[2025-02-09 09:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:39:03] Production.INFO: 1
[2025-02-09 09:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:39:03] Production.INFO: ==12424== Releasing lock...
[2025-02-09 09:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:39:03] Production.ERROR: done
[2025-02-09 09:39:04] Production.INFO: Account Balance End.
[2025-02-09 09:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:39:04] Production.INFO: ==12420== Releasing lock...
[2025-02-09 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:39:04
[end_date_ymd] => 2025-02-09 09:39:04
[RateCDR] => 1
)
[2025-02-09 09:39:04] 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-02-09 06:39:04' and `end` < '2025-02-09 09:39:04'
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-02-09 09:39:12] Production.ERROR: CronJobId end10
[2025-02-09 09:39:12] Production.INFO: ==12418== Releasing lock...
[2025-02-09 09:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:39:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:39:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:39:15] Production.INFO: call_cost start
[2025-02-09 09:39:15] Production.INFO: call_cost end
[2025-02-09 09:39:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:39:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:39:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:39:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:39:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:39:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:39:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:39:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:39:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:39:16] Production.INFO: ==12414== Releasing lock...
[2025-02-09 09:39:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:39:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:39:18] Production.INFO: count ==148
[2025-02-09 09:39:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:39:04 - End Time 2025-02-09 09:39:04
[2025-02-09 09:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436195', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436195', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436195', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436195', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:39:18] Production.INFO: ProcessCDR(1,14436195,1,1,2)
[2025-02-09 09:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436195', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436195', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:39:22] Production.INFO: ==12422== Releasing lock...
[2025-02-09 09:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:39:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:40:01] Production.INFO: ==12486== Lock acquired, processing the job...
[2025-02-09 14:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:40:01] Production.INFO: neon service started
[2025-02-09 14:40:01] Production.INFO: neon service started
[2025-02-09 14:40:01] Production.INFO: ==12486== Releasing lock...
[2025-02-09 14:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:40:02] Production.INFO: ==12490== Lock acquired, processing the job...
[2025-02-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:40:02] Production.INFO: ==12488== Lock acquired, processing the job...
[2025-02-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:40:02] Production.INFO: ==12490== Releasing lock...
[2025-02-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:40:02] Production.INFO: ==12488== Releasing lock...
[2025-02-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:40:03] Production.INFO: ==12493== Lock acquired, processing the job...
[2025-02-09 09:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 09:40:03] Production.INFO: ==12495== Lock acquired, processing the job...
[2025-02-09 09:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 09:40:03] Production.INFO: ==12497== Lock acquired, processing the job...
[2025-02-09 09:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 09:40:04] Production.INFO: ==12493== Releasing lock...
[2025-02-09 09:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 09:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 09:40:04] Production.INFO: ==12499== Lock acquired, processing the job...
[2025-02-09 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:40:04] Production.INFO: ==12497== Releasing lock...
[2025-02-09 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:40:04] Production.INFO: ==12501== Lock acquired, processing the job...
[2025-02-09 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:40:04] Production.INFO: ==12503== Lock acquired, processing the job...
[2025-02-09 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:40:04] Production.INFO: Account Balance Start.
[2025-02-09 09:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:40:04] Production.INFO: 117
[2025-02-09 09:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:40:04] Production.INFO: ==12505== Lock acquired, processing the job...
[2025-02-09 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 09:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:40:04] Production.INFO: ==12507== Lock acquired, processing the job...
[2025-02-09 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:40:04] Production.INFO: Total Charge 0
[2025-02-09 09:40:04] Production.INFO: CreateAllLog End
[2025-02-09 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:40:04] Production.INFO: count ==21
[2025-02-09 09:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:40:05] Production.ERROR: done
[2025-02-09 09:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:40:05] Production.INFO: count ==21
[2025-02-09 09:40:05] Production.INFO: Account Balance End.
[2025-02-09 09:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436199') start
[2025-02-09 09:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:40:05] Production.INFO: ==12501== Releasing lock...
[2025-02-09 09:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:40:05] Production.ERROR: done
[2025-02-09 09:40:05] Production.ERROR: done
[2025-02-09 09:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 09:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436200', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 09:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436199') end
[2025-02-09 09:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:40:05] Production.INFO: 1
[2025-02-09 09:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:40:05] Production.INFO: ==12507== Releasing lock...
[2025-02-09 09:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:40:06
[end_date_ymd] => 2025-02-09 09:40:06
[RateCDR] => 1
)
[2025-02-09 09:40: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-02-09 06:40:06' and `end` < '2025-02-09 09:40: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-02-09 09:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436200', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 09:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 09:40:10] Production.INFO: ProcessCDR(1,14436200,1,1,2)
[2025-02-09 09:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436200,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436200,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:40:10] Production.INFO: ==12505== Releasing lock...
[2025-02-09 09:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 09:40:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 09:40:14] Production.ERROR: CronJobId end10
[2025-02-09 09:40:14] Production.INFO: ==12499== Releasing lock...
[2025-02-09 09:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:40:16] Production.INFO: call_cost start
[2025-02-09 09:40:16] Production.INFO: call_cost end
[2025-02-09 09:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:40:17] Production.INFO: ==12495== Releasing lock...
[2025-02-09 09:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:40:20] Production.INFO: count ==146
[2025-02-09 09:40:20] Production.ERROR: pbx CDR StartTime 2025-02-09 06:40:06 - End Time 2025-02-09 09:40:06
[2025-02-09 09:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436201', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436201', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436201', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436201', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:40:20] Production.INFO: ProcessCDR(1,14436201,1,1,2)
[2025-02-09 09:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436201', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436201', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:40:23] Production.INFO: ==12503== Releasing lock...
[2025-02-09 09:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:40:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:41:02] Production.INFO: ==12575== Lock acquired, processing the job...
[2025-02-09 14:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:41:02] Production.INFO: neon service started
[2025-02-09 14:41:02] Production.INFO: neon service started
[2025-02-09 14:41:02] Production.INFO: ==12575== Releasing lock...
[2025-02-09 14:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:41:03] Production.INFO: ==12577== Lock acquired, processing the job...
[2025-02-09 09:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:41:03] Production.INFO: ==12579== Lock acquired, processing the job...
[2025-02-09 14:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:41:03] Production.INFO: ==12579== Releasing lock...
[2025-02-09 14:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:41:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:41:03] Production.INFO: ==12577== Releasing lock...
[2025-02-09 09:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:41:04] Production.INFO: ==12582== Lock acquired, processing the job...
[2025-02-09 09:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:41:04] Production.INFO: ==12584== Lock acquired, processing the job...
[2025-02-09 09:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:41:04] Production.INFO: ==12586== Lock acquired, processing the job...
[2025-02-09 09:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:41:04] Production.INFO: ==12590== Lock acquired, processing the job...
[2025-02-09 09:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:41:04] Production.INFO: ==12588== Lock acquired, processing the job...
[2025-02-09 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:41:04] Production.INFO: ==12592== Lock acquired, processing the job...
[2025-02-09 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:41:04] Production.INFO: Account Balance Start.
[2025-02-09 09:41:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:41:04] Production.INFO: 117
[2025-02-09 09:41:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:41:04] Production.ERROR: done
[2025-02-09 09:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:41:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:41:04] Production.INFO: Total Charge 0
[2025-02-09 09:41:04] Production.INFO: CreateAllLog End
[2025-02-09 09:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:41:04] Production.INFO: count ==21
[2025-02-09 09:41:04] Production.INFO: ==12584== Releasing lock...
[2025-02-09 09:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:41:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:41:05] Production.INFO: count ==21
[2025-02-09 09:41:05] Production.ERROR: done
[2025-02-09 09:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436205') start
[2025-02-09 09:41:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436205') end
[2025-02-09 09:41:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:41:05] Production.INFO: 1
[2025-02-09 09:41:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:41:05] Production.INFO: Account Balance End.
[2025-02-09 09:41:05] Production.INFO: ==12592== Releasing lock...
[2025-02-09 09:41:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:41:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:41:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:41:05] Production.INFO: ==12588== Releasing lock...
[2025-02-09 09:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:41:06
[end_date_ymd] => 2025-02-09 09:41:06
[RateCDR] => 1
)
[2025-02-09 09:41: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-02-09 06:41:06' and `end` < '2025-02-09 09:41: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-02-09 09:41:13] Production.ERROR: CronJobId end10
[2025-02-09 09:41:13] Production.INFO: ==12586== Releasing lock...
[2025-02-09 09:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:41:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:41:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:41:14] Production.INFO: call_cost start
[2025-02-09 09:41:14] Production.INFO: call_cost end
[2025-02-09 09:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:41:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:41:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:41:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:41:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:41:15] Production.INFO: ==12582== Releasing lock...
[2025-02-09 09:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:41:19] Production.INFO: count ==143
[2025-02-09 09:41:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:41:06 - End Time 2025-02-09 09:41:06
[2025-02-09 09:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436206', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436206', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436206', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436206', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:41:19] Production.INFO: ProcessCDR(1,14436206,1,1,2)
[2025-02-09 09:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436206', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436206', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:41:22] Production.INFO: ==12590== Releasing lock...
[2025-02-09 09:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:41:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:42:01] Production.INFO: ==12658== Lock acquired, processing the job...
[2025-02-09 14:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:42:01] Production.INFO: neon service started
[2025-02-09 14:42:01] Production.INFO: neon service started
[2025-02-09 14:42:01] Production.INFO: ==12658== Releasing lock...
[2025-02-09 14:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:42:02] Production.INFO: ==12662== Lock acquired, processing the job...
[2025-02-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:42:02] Production.INFO: ==12662== Releasing lock...
[2025-02-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:42:02] Production.INFO: ==12660== Lock acquired, processing the job...
[2025-02-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:42:02] Production.INFO: ==12660== Releasing lock...
[2025-02-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:42:03] Production.INFO: ==12665== Lock acquired, processing the job...
[2025-02-09 09:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:42:03] Production.INFO: ==12667== Lock acquired, processing the job...
[2025-02-09 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:42:03] Production.INFO: ==12669== Lock acquired, processing the job...
[2025-02-09 09:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:42:03] Production.INFO: ==12667== Releasing lock...
[2025-02-09 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:42:03] Production.INFO: ==12671== Lock acquired, processing the job...
[2025-02-09 09:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:42:04] Production.INFO: ==12675== Lock acquired, processing the job...
[2025-02-09 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:42:04] Production.INFO: ==12673== Lock acquired, processing the job...
[2025-02-09 09:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:42:04] Production.INFO: Account Balance Start.
[2025-02-09 09:42:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:42:04] Production.INFO: 117
[2025-02-09 09:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:42:04] Production.INFO: Total Charge 0
[2025-02-09 09:42:04] Production.INFO: count ==21
[2025-02-09 09:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:42:04] Production.INFO: CreateAllLog End
[2025-02-09 09:42:04] Production.INFO: count ==21
[2025-02-09 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436210') start
[2025-02-09 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436210') end
[2025-02-09 09:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:42:04] Production.INFO: 1
[2025-02-09 09:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:42:04] Production.INFO: ==12675== Releasing lock...
[2025-02-09 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:42:04] Production.ERROR: done
[2025-02-09 09:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:42:04] Production.INFO: Account Balance End.
[2025-02-09 09:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:42:04] Production.INFO: ==12671== Releasing lock...
[2025-02-09 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:42:04] Production.ERROR: done
[2025-02-09 09:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:42:06
[end_date_ymd] => 2025-02-09 09:42:06
[RateCDR] => 1
)
[2025-02-09 09:42: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-02-09 06:42:06' and `end` < '2025-02-09 09:42: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-02-09 09:42:12] Production.ERROR: CronJobId end10
[2025-02-09 09:42:12] Production.INFO: ==12669== Releasing lock...
[2025-02-09 09:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:42:15] Production.INFO: call_cost start
[2025-02-09 09:42:15] Production.INFO: call_cost end
[2025-02-09 09:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:42:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:42:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:42:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:42:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:42:16] Production.INFO: ==12665== Releasing lock...
[2025-02-09 09:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:42:19] Production.INFO: count ==143
[2025-02-09 09:42:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:42:06 - End Time 2025-02-09 09:42:06
[2025-02-09 09:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436211', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436211', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436211', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436211', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:42:19] Production.INFO: ProcessCDR(1,14436211,1,1,2)
[2025-02-09 09:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436211', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436211', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:42:22] Production.INFO: ==12673== Releasing lock...
[2025-02-09 09:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:42:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:43:02] Production.INFO: ==12734== Lock acquired, processing the job...
[2025-02-09 14:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:43:02] Production.INFO: neon service started
[2025-02-09 14:43:02] Production.INFO: neon service started
[2025-02-09 14:43:02] Production.INFO: ==12734== Releasing lock...
[2025-02-09 14:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:43:02] Production.INFO: ==12736== Lock acquired, processing the job...
[2025-02-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:43:02] Production.INFO: ==12736== Releasing lock...
[2025-02-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:43:03] Production.INFO: ==12738== Lock acquired, processing the job...
[2025-02-09 14:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:43:03] Production.INFO: ==12738== Releasing lock...
[2025-02-09 14:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:43:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:43:04] Production.INFO: ==12741== Lock acquired, processing the job...
[2025-02-09 09:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:43:04] Production.INFO: ==12745== Lock acquired, processing the job...
[2025-02-09 09:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:43:04] Production.INFO: ==12743== Lock acquired, processing the job...
[2025-02-09 09:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:43:04] Production.INFO: ==12747== Lock acquired, processing the job...
[2025-02-09 09:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:43:04] Production.INFO: ==12749== Lock acquired, processing the job...
[2025-02-09 09:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:43:04] Production.INFO: Account Balance Start.
[2025-02-09 09:43:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:43:04] Production.INFO: 117
[2025-02-09 09:43:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:43:04] Production.INFO: ==12751== Lock acquired, processing the job...
[2025-02-09 09:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:43:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:43:04] Production.INFO: Total Charge 0
[2025-02-09 09:43:04] Production.INFO: CreateAllLog End
[2025-02-09 09:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:43:04] Production.INFO: count ==21
[2025-02-09 09:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:43:04] Production.INFO: count ==21
[2025-02-09 09:43:04] Production.INFO: ==12743== Releasing lock...
[2025-02-09 09:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436215') start
[2025-02-09 09:43:04] Production.ERROR: done
[2025-02-09 09:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:43:05] Production.ERROR: done
[2025-02-09 09:43:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436215') end
[2025-02-09 09:43:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:43:05] Production.INFO: 1
[2025-02-09 09:43:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:43:05] Production.INFO: Account Balance End.
[2025-02-09 09:43:05] Production.INFO: ==12751== Releasing lock...
[2025-02-09 09:43:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:43:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:43:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:43:05] Production.INFO: ==12747== Releasing lock...
[2025-02-09 09:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:43:06
[end_date_ymd] => 2025-02-09 09:43:06
[RateCDR] => 1
)
[2025-02-09 09:43: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-02-09 06:43:06' and `end` < '2025-02-09 09:43: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-02-09 09:43:12] Production.ERROR: CronJobId end10
[2025-02-09 09:43:12] Production.INFO: ==12745== Releasing lock...
[2025-02-09 09:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:43:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:43:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:43:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:43:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:43:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:43:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:43:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:43:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:43:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:43:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:43:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:43:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:43:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:43:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:43:17] Production.INFO: call_cost start
[2025-02-09 09:43:17] Production.INFO: call_cost end
[2025-02-09 09:43:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:43:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:43:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:43:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:43:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:43:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:43:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:43:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:43:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:43:18] Production.INFO: ==12741== Releasing lock...
[2025-02-09 09:43:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:43:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:43:19] Production.INFO: count ==141
[2025-02-09 09:43:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:43:06 - End Time 2025-02-09 09:43:06
[2025-02-09 09:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436216', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436216', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436216', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436216', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:43:19] Production.INFO: ProcessCDR(1,14436216,1,1,2)
[2025-02-09 09:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436216', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436216', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:43:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:43:24] Production.INFO: ==12749== Releasing lock...
[2025-02-09 09:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:43:24] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:44:01] Production.INFO: ==12823== Lock acquired, processing the job...
[2025-02-09 14:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:44:01] Production.INFO: neon service started
[2025-02-09 14:44:01] Production.INFO: neon service started
[2025-02-09 14:44:01] Production.INFO: ==12823== Releasing lock...
[2025-02-09 14:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:44:02] Production.INFO: ==12828== Lock acquired, processing the job...
[2025-02-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:44:02] Production.INFO: ==12828== Releasing lock...
[2025-02-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:44:02] Production.INFO: ==12826== Lock acquired, processing the job...
[2025-02-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:44:02] Production.INFO: ==12826== Releasing lock...
[2025-02-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:44:03] Production.INFO: ==12836== Lock acquired, processing the job...
[2025-02-09 09:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:44:03] Production.INFO: ==12840== Lock acquired, processing the job...
[2025-02-09 09:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:44:03] Production.INFO: ==12830== Lock acquired, processing the job...
[2025-02-09 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:44:03] Production.INFO: Account Balance Start.
[2025-02-09 09:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:44:03] Production.INFO: 117
[2025-02-09 09:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:44:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:44:03] Production.INFO: ==12832== Lock acquired, processing the job...
[2025-02-09 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:44:03] Production.INFO: Total Charge 0
[2025-02-09 09:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:44:03] Production.INFO: CreateAllLog End
[2025-02-09 09:44:03] Production.INFO: ==12834== Lock acquired, processing the job...
[2025-02-09 09:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:44:03] Production.INFO: count ==21
[2025-02-09 09:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:44:03] Production.INFO: count ==21
[2025-02-09 09:44:03] Production.INFO: Account Balance End.
[2025-02-09 09:44:03] Production.INFO: ==12838== Lock acquired, processing the job...
[2025-02-09 09:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436218') start
[2025-02-09 09:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:44:03] Production.ERROR: CronJobId end 12
[2025-02-09 09:44:03] Production.INFO: ==12836== Releasing lock...
[2025-02-09 09:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436218') end
[2025-02-09 09:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:44:04] Production.INFO: 1
[2025-02-09 09:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:44:04] Production.INFO: ==12840== Releasing lock...
[2025-02-09 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:44:04] Production.INFO: ==12832== Releasing lock...
[2025-02-09 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:44:04] Production.ERROR: done
[2025-02-09 09:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:44:04] Production.ERROR: done
[2025-02-09 09:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:44:05
[end_date_ymd] => 2025-02-09 09:44:05
[RateCDR] => 1
)
[2025-02-09 09:44: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` >= '2025-02-09 06:44:05' and `end` < '2025-02-09 09:44: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 ,'')
[2025-02-09 09:44:13] Production.ERROR: CronJobId end10
[2025-02-09 09:44:13] Production.INFO: ==12834== Releasing lock...
[2025-02-09 09:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:44:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:44:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:44:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:44:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:44:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:44:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:44:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:44:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:44:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:44:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:44:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:44:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:44:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:44:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:44:15] Production.INFO: call_cost start
[2025-02-09 09:44:15] Production.INFO: call_cost end
[2025-02-09 09:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:44:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:44:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:44:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:44:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:44:16] Production.INFO: ==12830== Releasing lock...
[2025-02-09 09:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:44:18] Production.INFO: count ==141
[2025-02-09 09:44:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:44:05 - End Time 2025-02-09 09:44:05
[2025-02-09 09:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436221', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436221', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436221', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436221', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:44:18] Production.INFO: ProcessCDR(1,14436221,1,1,2)
[2025-02-09 09:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436221', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436221', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:44:21] Production.INFO: ==12838== Releasing lock...
[2025-02-09 09:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:44:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:45:02] Production.INFO: ==12901== Lock acquired, processing the job...
[2025-02-09 14:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:45:02] Production.INFO: neon service started
[2025-02-09 14:45:02] Production.INFO: neon service started
[2025-02-09 14:45:02] Production.INFO: ==12901== Releasing lock...
[2025-02-09 14:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:45:02] Production.INFO: ==12903== Lock acquired, processing the job...
[2025-02-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:45:02] Production.INFO: ==12905== Lock acquired, processing the job...
[2025-02-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:45:02] Production.INFO: ==12905== Releasing lock...
[2025-02-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:45:03] Production.INFO: ==12903== Releasing lock...
[2025-02-09 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:45:04] Production.INFO: ==12908== Lock acquired, processing the job...
[2025-02-09 09:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:45:04] Production.INFO: ==12910== Lock acquired, processing the job...
[2025-02-09 09:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:45:04] Production.INFO: ==12914== Lock acquired, processing the job...
[2025-02-09 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:45:04] Production.INFO: Account Balance Start.
[2025-02-09 09:45:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:45:04] Production.INFO: 117
[2025-02-09 09:45:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:45:04] Production.INFO: ==12912== Lock acquired, processing the job...
[2025-02-09 09:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:45:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:45:04] Production.INFO: Total Charge 0
[2025-02-09 09:45:04] Production.INFO: CreateAllLog End
[2025-02-09 09:45:04] Production.INFO: ==12916== Lock acquired, processing the job...
[2025-02-09 09:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:45:04] Production.INFO: ==12918== Lock acquired, processing the job...
[2025-02-09 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:45:04] Production.INFO: Account Balance End.
[2025-02-09 09:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:45:04] Production.INFO: ==12910== Releasing lock...
[2025-02-09 09:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:45:04] Production.INFO: count ==21
[2025-02-09 09:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:45:04] Production.INFO: ==12914== Releasing lock...
[2025-02-09 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:45:04] Production.INFO: count ==21
[2025-02-09 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436225') start
[2025-02-09 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436225') end
[2025-02-09 09:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:45:04] Production.INFO: 1
[2025-02-09 09:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:45:04] Production.ERROR: done
[2025-02-09 09:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:45:04] Production.INFO: ==12918== Releasing lock...
[2025-02-09 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:45:05] Production.ERROR: done
[2025-02-09 09:45:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:45:06
[end_date_ymd] => 2025-02-09 09:45:06
[RateCDR] => 1
)
[2025-02-09 09:45: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-02-09 06:45:06' and `end` < '2025-02-09 09:45: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-02-09 09:45:12] Production.ERROR: CronJobId end10
[2025-02-09 09:45:12] Production.INFO: ==12912== Releasing lock...
[2025-02-09 09:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:45:14] Production.INFO: call_cost start
[2025-02-09 09:45:14] Production.INFO: call_cost end
[2025-02-09 09:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:45:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:45:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:45:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:45:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:45:14] Production.INFO: ==12908== Releasing lock...
[2025-02-09 09:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:45:18] Production.INFO: count ==139
[2025-02-09 09:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:45:06 - End Time 2025-02-09 09:45:06
[2025-02-09 09:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436226', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436226', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436226', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436226', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:45:19] Production.INFO: ProcessCDR(1,14436226,1,1,2)
[2025-02-09 09:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436226', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436226', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:45:23] Production.INFO: ==12916== Releasing lock...
[2025-02-09 09:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:45:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:46:01] Production.INFO: ==12979== Lock acquired, processing the job...
[2025-02-09 14:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:46:01] Production.INFO: neon service started
[2025-02-09 14:46:01] Production.INFO: neon service started
[2025-02-09 14:46:01] Production.INFO: ==12979== Releasing lock...
[2025-02-09 14:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:46:02] Production.INFO: ==12981== Lock acquired, processing the job...
[2025-02-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:46:02] Production.INFO: ==12983== Lock acquired, processing the job...
[2025-02-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:46:02] Production.INFO: ==12981== Releasing lock...
[2025-02-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:46:02] Production.INFO: ==12983== Releasing lock...
[2025-02-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:46:03] Production.INFO: ==12991== Lock acquired, processing the job...
[2025-02-09 09:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:46:03] Production.INFO: ==12996== Lock acquired, processing the job...
[2025-02-09 09:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:46:03] Production.INFO: Account Balance Start.
[2025-02-09 09:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:46:03] Production.INFO: 117
[2025-02-09 09:46:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:46:03] Production.INFO: ==12985== Lock acquired, processing the job...
[2025-02-09 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:46:03] Production.INFO: ==12987== Lock acquired, processing the job...
[2025-02-09 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:46:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:46:03] Production.INFO: ==12989== Lock acquired, processing the job...
[2025-02-09 09:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:46:03] Production.INFO: Total Charge 0
[2025-02-09 09:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:46:03] Production.INFO: count ==21
[2025-02-09 09:46:03] Production.INFO: CreateAllLog End
[2025-02-09 09:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:46:03] Production.INFO: ==12993== Lock acquired, processing the job...
[2025-02-09 09:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:46:03] Production.INFO: count ==21
[2025-02-09 09:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436228') start
[2025-02-09 09:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436228') end
[2025-02-09 09:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:46:04] Production.INFO: 1
[2025-02-09 09:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:46:04] Production.INFO: ==12987== Releasing lock...
[2025-02-09 09:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:46:04] Production.INFO: ==12996== Releasing lock...
[2025-02-09 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:46:04] Production.INFO: Account Balance End.
[2025-02-09 09:46:04] Production.ERROR: done
[2025-02-09 09:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:46:04] Production.INFO: ==12991== Releasing lock...
[2025-02-09 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:46:04] Production.ERROR: done
[2025-02-09 09:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:46:05
[end_date_ymd] => 2025-02-09 09:46:05
[RateCDR] => 1
)
[2025-02-09 09:46: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` >= '2025-02-09 06:46:05' and `end` < '2025-02-09 09:46: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 ,'')
[2025-02-09 09:46:12] Production.ERROR: CronJobId end10
[2025-02-09 09:46:12] Production.INFO: ==12989== Releasing lock...
[2025-02-09 09:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:46:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:46:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:46:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:46:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:46:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:46:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:46:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:46:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:46:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:46:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:46:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:46:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:46:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:46:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:46:15] Production.INFO: call_cost start
[2025-02-09 09:46:15] Production.INFO: call_cost end
[2025-02-09 09:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:46:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:46:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:46:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:46:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:46:16] Production.INFO: ==12985== Releasing lock...
[2025-02-09 09:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:46:21] Production.INFO: count ==139
[2025-02-09 09:46:21] Production.ERROR: pbx CDR StartTime 2025-02-09 06:46:05 - End Time 2025-02-09 09:46:05
[2025-02-09 09:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436231', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436231', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436231', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436231', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:46:21] Production.INFO: ProcessCDR(1,14436231,1,1,2)
[2025-02-09 09:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436231', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436231', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:46:24] Production.INFO: ==12993== Releasing lock...
[2025-02-09 09:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:46:24] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:47:02] Production.INFO: ==13062== Lock acquired, processing the job...
[2025-02-09 14:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:47:02] Production.INFO: neon service started
[2025-02-09 14:47:02] Production.INFO: neon service started
[2025-02-09 14:47:02] Production.INFO: ==13062== Releasing lock...
[2025-02-09 14:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:47:02] Production.INFO: ==13064== Lock acquired, processing the job...
[2025-02-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:47:02] Production.INFO: ==13064== Releasing lock...
[2025-02-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:47:03] Production.INFO: ==13066== Lock acquired, processing the job...
[2025-02-09 14:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:47:03] Production.INFO: ==13066== Releasing lock...
[2025-02-09 14:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:47:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:47:03] Production.INFO: ==13071== Lock acquired, processing the job...
[2025-02-09 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:47:03] Production.INFO: ==13073== Lock acquired, processing the job...
[2025-02-09 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:47:03] Production.INFO: ==13075== Lock acquired, processing the job...
[2025-02-09 09:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:47:04] Production.INFO: ==13069== Lock acquired, processing the job...
[2025-02-09 09:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:47:04] Production.INFO: Account Balance Start.
[2025-02-09 09:47:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:47:04] Production.INFO: 117
[2025-02-09 09:47:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:47:04] Production.INFO: ==13077== Lock acquired, processing the job...
[2025-02-09 09:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:47:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:47:04] Production.INFO: ==13071== Releasing lock...
[2025-02-09 09:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:47:04] Production.INFO: ==13079== Lock acquired, processing the job...
[2025-02-09 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:47:04] Production.INFO: Total Charge 0
[2025-02-09 09:47:04] Production.INFO: CreateAllLog End
[2025-02-09 09:47:04] Production.ERROR: done
[2025-02-09 09:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:47:04] Production.INFO: count ==21
[2025-02-09 09:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:47:04] Production.INFO: count ==21
[2025-02-09 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436235') start
[2025-02-09 09:47:04] Production.INFO: Account Balance End.
[2025-02-09 09:47:04] Production.ERROR: done
[2025-02-09 09:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436235') end
[2025-02-09 09:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:47:04] Production.INFO: 1
[2025-02-09 09:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:47:04] Production.INFO: ==13075== Releasing lock...
[2025-02-09 09:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:47:04] Production.INFO: ==13079== Releasing lock...
[2025-02-09 09:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:47:05
[end_date_ymd] => 2025-02-09 09:47:05
[RateCDR] => 1
)
[2025-02-09 09:47: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` >= '2025-02-09 06:47:05' and `end` < '2025-02-09 09:47: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 ,'')
[2025-02-09 09:47:12] Production.ERROR: CronJobId end10
[2025-02-09 09:47:12] Production.INFO: ==13073== Releasing lock...
[2025-02-09 09:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:47:14] Production.INFO: call_cost start
[2025-02-09 09:47:14] Production.INFO: call_cost end
[2025-02-09 09:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:47:15] Production.INFO: ==13069== Releasing lock...
[2025-02-09 09:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:47:20] Production.INFO: count ==139
[2025-02-09 09:47:20] Production.ERROR: pbx CDR StartTime 2025-02-09 06:47:05 - End Time 2025-02-09 09:47:05
[2025-02-09 09:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436236', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436236', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436236', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436236', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:47:20] Production.INFO: ProcessCDR(1,14436236,1,1,2)
[2025-02-09 09:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436236', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436236', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:47:23] Production.INFO: ==13077== Releasing lock...
[2025-02-09 09:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:47:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:48:01] Production.INFO: ==13137== Lock acquired, processing the job...
[2025-02-09 14:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:48:01] Production.INFO: neon service started
[2025-02-09 14:48:01] Production.INFO: neon service started
[2025-02-09 14:48:01] Production.INFO: ==13137== Releasing lock...
[2025-02-09 14:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:48:02] Production.INFO: ==13142== Lock acquired, processing the job...
[2025-02-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:48:02] Production.INFO: ==13142== Releasing lock...
[2025-02-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:48:02] Production.INFO: ==13140== Lock acquired, processing the job...
[2025-02-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:48:02] Production.INFO: ==13140== Releasing lock...
[2025-02-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:48:03] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-02-09 09:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:48:03] Production.INFO: ==13148== Lock acquired, processing the job...
[2025-02-09 09:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:48:03] Production.INFO: ==13150== Lock acquired, processing the job...
[2025-02-09 09:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:48:03] Production.INFO: ==13146== Lock acquired, processing the job...
[2025-02-09 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:48:03] Production.INFO: Account Balance Start.
[2025-02-09 09:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:48:03] Production.INFO: 117
[2025-02-09 09:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:48:03] Production.INFO: Total Charge 0
[2025-02-09 09:48:03] Production.INFO: CreateAllLog End
[2025-02-09 09:48:03] Production.INFO: ==13152== Lock acquired, processing the job...
[2025-02-09 09:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:48:03] Production.INFO: Account Balance End.
[2025-02-09 09:48:03] Production.INFO: ==13154== Lock acquired, processing the job...
[2025-02-09 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:48:04] Production.INFO: ==13150== Releasing lock...
[2025-02-09 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:48:04] Production.INFO: ==13146== Releasing lock...
[2025-02-09 09:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:48:04] Production.INFO: count ==21
[2025-02-09 09:48:04] Production.ERROR: done
[2025-02-09 09:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:48:04] Production.INFO: count ==21
[2025-02-09 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436240') start
[2025-02-09 09:48:04] Production.ERROR: done
[2025-02-09 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436240') end
[2025-02-09 09:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:48:04] Production.INFO: 1
[2025-02-09 09:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:48:04] Production.INFO: ==13154== Releasing lock...
[2025-02-09 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:48:05
[end_date_ymd] => 2025-02-09 09:48:05
[RateCDR] => 1
)
[2025-02-09 09:48: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` >= '2025-02-09 06:48:05' and `end` < '2025-02-09 09:48: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 ,'')
[2025-02-09 09:48:12] Production.ERROR: CronJobId end10
[2025-02-09 09:48:12] Production.INFO: ==13148== Releasing lock...
[2025-02-09 09:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:48:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:48:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:48:15] Production.INFO: call_cost start
[2025-02-09 09:48:15] Production.INFO: call_cost end
[2025-02-09 09:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:48:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:48:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:48:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:48:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:48:16] Production.INFO: ==13144== Releasing lock...
[2025-02-09 09:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:48:19] Production.INFO: count ==136
[2025-02-09 09:48:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:48:05 - End Time 2025-02-09 09:48:05
[2025-02-09 09:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436241', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436241', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436241', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436241', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:48:19] Production.INFO: ProcessCDR(1,14436241,1,1,2)
[2025-02-09 09:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436241', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436241', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:48:22] Production.INFO: ==13152== Releasing lock...
[2025-02-09 09:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:48:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:49:02] Production.INFO: ==13218== Lock acquired, processing the job...
[2025-02-09 14:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:49:02] Production.INFO: neon service started
[2025-02-09 14:49:02] Production.INFO: neon service started
[2025-02-09 14:49:02] Production.INFO: ==13218== Releasing lock...
[2025-02-09 14:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:49:02] Production.INFO: ==13220== Lock acquired, processing the job...
[2025-02-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:49:02] Production.INFO: ==13220== Releasing lock...
[2025-02-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:49:03] Production.INFO: ==13222== Lock acquired, processing the job...
[2025-02-09 14:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:49:03] Production.INFO: ==13222== Releasing lock...
[2025-02-09 14:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:49:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:49:03] Production.INFO: ==13228== Lock acquired, processing the job...
[2025-02-09 09:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:49:03] Production.INFO: ==13234== Lock acquired, processing the job...
[2025-02-09 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:49:04] Production.INFO: ==13224== Lock acquired, processing the job...
[2025-02-09 09:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:49:04] Production.INFO: count ==21
[2025-02-09 09:49:04] Production.INFO: ==13226== Lock acquired, processing the job...
[2025-02-09 09:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:49:04] Production.INFO: count ==21
[2025-02-09 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436242') start
[2025-02-09 09:49:04] Production.INFO: ==13232== Lock acquired, processing the job...
[2025-02-09 09:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:49:04] Production.INFO: ==13230== Lock acquired, processing the job...
[2025-02-09 09:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436242') end
[2025-02-09 09:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:49:04] Production.INFO: 1
[2025-02-09 09:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:49:04] Production.INFO: Account Balance Start.
[2025-02-09 09:49:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:49:04] Production.INFO: 117
[2025-02-09 09:49:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:49:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:49:04] Production.INFO: ==13234== Releasing lock...
[2025-02-09 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:49:04] Production.INFO: Total Charge 0
[2025-02-09 09:49:04] Production.INFO: CreateAllLog End
[2025-02-09 09:49:04] Production.ERROR: done
[2025-02-09 09:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:49:04] Production.INFO: ==13226== Releasing lock...
[2025-02-09 09:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:49:04] Production.ERROR: done
[2025-02-09 09:49:05] Production.INFO: Account Balance End.
[2025-02-09 09:49:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:49:05] Production.INFO: ==13230== Releasing lock...
[2025-02-09 09:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:49:05
[end_date_ymd] => 2025-02-09 09:49:05
[RateCDR] => 1
)
[2025-02-09 09:49: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` >= '2025-02-09 06:49:05' and `end` < '2025-02-09 09:49: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 ,'')
[2025-02-09 09:49:11] Production.ERROR: CronJobId end10
[2025-02-09 09:49:11] Production.INFO: ==13228== Releasing lock...
[2025-02-09 09:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:49:14] Production.INFO: call_cost start
[2025-02-09 09:49:14] Production.INFO: call_cost end
[2025-02-09 09:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:49:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:49:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:49:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:49:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:49:15] Production.INFO: ==13224== Releasing lock...
[2025-02-09 09:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:49:18] Production.INFO: count ==136
[2025-02-09 09:49:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:49:05 - End Time 2025-02-09 09:49:05
[2025-02-09 09:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436246', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436246', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436246', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436246', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:49:18] Production.INFO: ProcessCDR(1,14436246,1,1,2)
[2025-02-09 09:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436246', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436246', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:49:21] Production.INFO: ==13232== Releasing lock...
[2025-02-09 09:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:49:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:50:01] Production.INFO: ==13295== Lock acquired, processing the job...
[2025-02-09 14:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:50:01] Production.INFO: neon service started
[2025-02-09 14:50:01] Production.INFO: neon service started
[2025-02-09 14:50:01] Production.INFO: ==13295== Releasing lock...
[2025-02-09 14:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:50:02] Production.INFO: ==13299== Lock acquired, processing the job...
[2025-02-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:50:02] Production.INFO: ==13299== Releasing lock...
[2025-02-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:50:02] Production.INFO: ==13297== Lock acquired, processing the job...
[2025-02-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:50:02] Production.INFO: ==13297== Releasing lock...
[2025-02-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:50:03] Production.INFO: ==13301== Lock acquired, processing the job...
[2025-02-09 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 09:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 09:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 09:50:03] Production.INFO: ==13301== Releasing lock...
[2025-02-09 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 09:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 09:50:03] Production.INFO: ==13303== Lock acquired, processing the job...
[2025-02-09 09:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:50:03] Production.INFO: ==13305== Lock acquired, processing the job...
[2025-02-09 09:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:50:04] Production.INFO: ==13314== Lock acquired, processing the job...
[2025-02-09 09:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:50:04] Production.INFO: ==13307== Lock acquired, processing the job...
[2025-02-09 09:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:50:04] Production.INFO: ==13310== Lock acquired, processing the job...
[2025-02-09 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:50:04] Production.INFO: ==13312== Lock acquired, processing the job...
[2025-02-09 09:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:50:04] Production.INFO: ==13305== Releasing lock...
[2025-02-09 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:50:04] Production.INFO: ==13316== Lock acquired, processing the job...
[2025-02-09 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:50:04] Production.INFO: Account Balance Start.
[2025-02-09 09:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:50:04] Production.INFO: 117
[2025-02-09 09:50:04] Production.ERROR: done
[2025-02-09 09:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 09:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436251', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 09:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:50:04] Production.INFO: Total Charge 0
[2025-02-09 09:50:04] Production.INFO: CreateAllLog End
[2025-02-09 09:50:04] Production.INFO: count ==21
[2025-02-09 09:50:04] Production.ERROR: done
[2025-02-09 09:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:50:04] Production.INFO: count ==21
[2025-02-09 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436250') start
[2025-02-09 09:50:05] Production.ERROR: done
[2025-02-09 09:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436250') end
[2025-02-09 09:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:50:05] Production.INFO: 1
[2025-02-09 09:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:50:05] Production.INFO: Account Balance End.
[2025-02-09 09:50:05] Production.INFO: ==13316== Releasing lock...
[2025-02-09 09:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:50:05] Production.ERROR: CronJobId end 12
[2025-02-09 09:50:05] Production.INFO: ==13310== Releasing lock...
[2025-02-09 09:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:50:06
[end_date_ymd] => 2025-02-09 09:50:06
[RateCDR] => 1
)
[2025-02-09 09:50: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-02-09 06:50:06' and `end` < '2025-02-09 09:50: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-02-09 09:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436251', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 09:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 09:50:09] Production.INFO: ProcessCDR(1,14436251,1,1,2)
[2025-02-09 09:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436251,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436251,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:50:09] Production.INFO: ==13314== Releasing lock...
[2025-02-09 09:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 09:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 09:50:14] Production.ERROR: CronJobId end10
[2025-02-09 09:50:14] Production.INFO: ==13307== Releasing lock...
[2025-02-09 09:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:50:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:50:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:50:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:50:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:50:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:50:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:50:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:50:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:50:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:50:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:50:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:50:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:50:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:50:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:50:17] Production.INFO: call_cost start
[2025-02-09 09:50:17] Production.INFO: call_cost end
[2025-02-09 09:50:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:50:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:50:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:50:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:50:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:50:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:50:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:50:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:50:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:50:18] Production.INFO: ==13303== Releasing lock...
[2025-02-09 09:50:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:50:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:50:19] Production.INFO: count ==140
[2025-02-09 09:50:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:50:06 - End Time 2025-02-09 09:50:06
[2025-02-09 09:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436252', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436252', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436252', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436252', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:50:19] Production.INFO: ProcessCDR(1,14436252,1,1,2)
[2025-02-09 09:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436252', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436252', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:50:23] Production.INFO: ==13312== Releasing lock...
[2025-02-09 09:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:50:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 14:51:02] Production.INFO: ==13379== Lock acquired, processing the job...
[2025-02-09 14:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:51:02] Production.INFO: neon service started
[2025-02-09 14:51:02] Production.INFO: neon service started
[2025-02-09 14:51:02] Production.INFO: ==13379== Releasing lock...
[2025-02-09 14:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:51:02] Production.INFO: ==13383== Lock acquired, processing the job...
[2025-02-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:51:02] Production.INFO: ==13383== Releasing lock...
[2025-02-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:51:02] Production.INFO: ==13385== Lock acquired, processing the job...
[2025-02-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:51:02] Production.INFO: ==13385== Releasing lock...
[2025-02-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:51:03] Production.INFO: ==13391== Lock acquired, processing the job...
[2025-02-09 09:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:51:03] Production.INFO: ==13395== Lock acquired, processing the job...
[2025-02-09 09:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:51:03] Production.INFO: ==13389== Lock acquired, processing the job...
[2025-02-09 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:51:03] Production.INFO: ==13387== Lock acquired, processing the job...
[2025-02-09 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:51:04] Production.INFO: ==13393== Lock acquired, processing the job...
[2025-02-09 09:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:51:04] Production.INFO: Account Balance Start.
[2025-02-09 09:51:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:51:04] Production.INFO: 117
[2025-02-09 09:51:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:51:04] Production.INFO: ==13397== Lock acquired, processing the job...
[2025-02-09 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:51:04] Production.INFO: Total Charge 0
[2025-02-09 09:51:04] Production.INFO: ==13389== Releasing lock...
[2025-02-09 09:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:51:04] Production.ERROR: done
[2025-02-09 09:51:04] Production.INFO: CreateAllLog End
[2025-02-09 09:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:51:04] Production.INFO: count ==21
[2025-02-09 09:51:04] Production.INFO: Account Balance End.
[2025-02-09 09:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:51:04] Production.INFO: count ==21
[2025-02-09 09:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:51:04] Production.INFO: ==13393== Releasing lock...
[2025-02-09 09:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436256') start
[2025-02-09 09:51:04] Production.ERROR: done
[2025-02-09 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436256') end
[2025-02-09 09:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:51:04] Production.INFO: 1
[2025-02-09 09:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:51:04] Production.INFO: ==13397== Releasing lock...
[2025-02-09 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:51:05
[end_date_ymd] => 2025-02-09 09:51:05
[RateCDR] => 1
)
[2025-02-09 09:51: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` >= '2025-02-09 06:51:05' and `end` < '2025-02-09 09:51: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 ,'')
[2025-02-09 09:51:11] Production.ERROR: CronJobId end10
[2025-02-09 09:51:11] Production.INFO: ==13391== Releasing lock...
[2025-02-09 09:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:51:15] Production.INFO: call_cost start
[2025-02-09 09:51:15] Production.INFO: call_cost end
[2025-02-09 09:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:51:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:51:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:51:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:51:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:51:16] Production.INFO: ==13387== Releasing lock...
[2025-02-09 09:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:51:19] Production.INFO: count ==143
[2025-02-09 09:51:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:51:05 - End Time 2025-02-09 09:51:05
[2025-02-09 09:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436257', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436257', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436257', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436257', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:51:19] Production.INFO: ProcessCDR(1,14436257,1,1,2)
[2025-02-09 09:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436257', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436257', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:51:22] Production.INFO: ==13395== Releasing lock...
[2025-02-09 09:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:51:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 14:52:01] Production.INFO: ==13457== Lock acquired, processing the job...
[2025-02-09 14:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:52:01] Production.INFO: neon service started
[2025-02-09 14:52:01] Production.INFO: neon service started
[2025-02-09 14:52:01] Production.INFO: ==13457== Releasing lock...
[2025-02-09 14:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:52:02] Production.INFO: ==13459== Lock acquired, processing the job...
[2025-02-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:52:02] Production.INFO: ==13461== Lock acquired, processing the job...
[2025-02-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:52:02] Production.INFO: ==13461== Releasing lock...
[2025-02-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:52:02] Production.INFO: ==13459== Releasing lock...
[2025-02-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:52:03] Production.INFO: ==13464== Lock acquired, processing the job...
[2025-02-09 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:52:03] Production.INFO: ==13470== Lock acquired, processing the job...
[2025-02-09 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:52:03] Production.INFO: ==13468== Lock acquired, processing the job...
[2025-02-09 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:52:03] Production.INFO: Account Balance Start.
[2025-02-09 09:52:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:52:03] Production.INFO: 117
[2025-02-09 09:52:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:52:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:52:03] Production.INFO: Total Charge 0
[2025-02-09 09:52:03] Production.INFO: ==13466== Lock acquired, processing the job...
[2025-02-09 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:52:03] Production.INFO: CreateAllLog End
[2025-02-09 09:52:03] Production.INFO: ==13474== Lock acquired, processing the job...
[2025-02-09 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:52:03] Production.INFO: ==13472== Lock acquired, processing the job...
[2025-02-09 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:52:03] Production.INFO: Account Balance End.
[2025-02-09 09:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:52:04] Production.INFO: ==13470== Releasing lock...
[2025-02-09 09:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:52:04] Production.INFO: count ==21
[2025-02-09 09:52:04] Production.INFO: ==13466== Releasing lock...
[2025-02-09 09:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:52:04] Production.INFO: count ==21
[2025-02-09 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436261') start
[2025-02-09 09:52:04] Production.ERROR: done
[2025-02-09 09:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436261') end
[2025-02-09 09:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:52:04] Production.INFO: 1
[2025-02-09 09:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:52:04] Production.ERROR: done
[2025-02-09 09:52:04] Production.INFO: ==13474== Releasing lock...
[2025-02-09 09:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:52:05
[end_date_ymd] => 2025-02-09 09:52:05
[RateCDR] => 1
)
[2025-02-09 09:52: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` >= '2025-02-09 06:52:05' and `end` < '2025-02-09 09:52: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 ,'')
[2025-02-09 09:52:12] Production.ERROR: CronJobId end10
[2025-02-09 09:52:12] Production.INFO: ==13468== Releasing lock...
[2025-02-09 09:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:52:14] Production.INFO: call_cost start
[2025-02-09 09:52:14] Production.INFO: call_cost end
[2025-02-09 09:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:52:15] Production.INFO: ==13464== Releasing lock...
[2025-02-09 09:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:52:18] Production.INFO: count ==143
[2025-02-09 09:52:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:52:05 - End Time 2025-02-09 09:52:05
[2025-02-09 09:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436262', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436262', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436262', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436262', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:52:18] Production.INFO: ProcessCDR(1,14436262,1,1,2)
[2025-02-09 09:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436262', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436262', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:52:21] Production.INFO: ==13472== Releasing lock...
[2025-02-09 09:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:52:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 14:53:02] Production.INFO: ==13538== Lock acquired, processing the job...
[2025-02-09 14:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:53:02] Production.INFO: neon service started
[2025-02-09 14:53:02] Production.INFO: neon service started
[2025-02-09 14:53:02] Production.INFO: ==13538== Releasing lock...
[2025-02-09 14:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:53:02] Production.INFO: ==13542== Lock acquired, processing the job...
[2025-02-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:53:02] Production.INFO: ==13540== Lock acquired, processing the job...
[2025-02-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:53:02] Production.INFO: ==13542== Releasing lock...
[2025-02-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:53:03] Production.INFO: ==13540== Releasing lock...
[2025-02-09 09:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:53:03] Production.INFO: ==13546== Lock acquired, processing the job...
[2025-02-09 09:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:53:03] Production.INFO: ==13548== Lock acquired, processing the job...
[2025-02-09 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:53:03] Production.INFO: ==13552== Lock acquired, processing the job...
[2025-02-09 09:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:53:04] Production.INFO: Account Balance Start.
[2025-02-09 09:53:04] Production.INFO: ==13550== Lock acquired, processing the job...
[2025-02-09 09:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:53:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:53:04] Production.INFO: 117
[2025-02-09 09:53:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:53:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:53:04] Production.INFO: ==13554== Lock acquired, processing the job...
[2025-02-09 09:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:53:04] Production.INFO: Total Charge 0
[2025-02-09 09:53:04] Production.INFO: ==13548== Releasing lock...
[2025-02-09 09:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:53:04] Production.INFO: CreateAllLog End
[2025-02-09 09:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:53:04] Production.INFO: ==13557== Lock acquired, processing the job...
[2025-02-09 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:53:04] Production.ERROR: done
[2025-02-09 09:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:53:04] Production.INFO: count ==21
[2025-02-09 09:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:53:04] Production.INFO: count ==21
[2025-02-09 09:53:04] Production.ERROR: done
[2025-02-09 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436266') start
[2025-02-09 09:53:04] Production.INFO: Account Balance End.
[2025-02-09 09:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:53:04] Production.INFO: ==13552== Releasing lock...
[2025-02-09 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436266') end
[2025-02-09 09:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:53:04] Production.INFO: 1
[2025-02-09 09:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:53:05] Production.INFO: ==13557== Releasing lock...
[2025-02-09 09:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:53:05
[end_date_ymd] => 2025-02-09 09:53:05
[RateCDR] => 1
)
[2025-02-09 09:53: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` >= '2025-02-09 06:53:05' and `end` < '2025-02-09 09:53: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 ,'')
[2025-02-09 09:53:12] Production.ERROR: CronJobId end10
[2025-02-09 09:53:12] Production.INFO: ==13550== Releasing lock...
[2025-02-09 09:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:53:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:53:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:53:14] Production.INFO: call_cost start
[2025-02-09 09:53:14] Production.INFO: call_cost end
[2025-02-09 09:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:53:15] Production.INFO: ==13546== Releasing lock...
[2025-02-09 09:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:53:20] Production.INFO: count ==142
[2025-02-09 09:53:20] Production.ERROR: pbx CDR StartTime 2025-02-09 06:53:05 - End Time 2025-02-09 09:53:05
[2025-02-09 09:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436267', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436267', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436267', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436267', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:53:20] Production.INFO: ProcessCDR(1,14436267,1,1,2)
[2025-02-09 09:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436267', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436267', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:53:23] Production.INFO: ==13554== Releasing lock...
[2025-02-09 09:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:53:23] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 14:54:01] Production.INFO: ==13660== Lock acquired, processing the job...
[2025-02-09 14:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:54:01] Production.INFO: neon service started
[2025-02-09 14:54:01] Production.INFO: neon service started
[2025-02-09 14:54:01] Production.INFO: ==13660== Releasing lock...
[2025-02-09 14:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:54:02] Production.INFO: ==13664== Lock acquired, processing the job...
[2025-02-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:54:02] Production.INFO: ==13664== Releasing lock...
[2025-02-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:54:02] Production.INFO: ==13662== Lock acquired, processing the job...
[2025-02-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:54:02] Production.INFO: ==13662== Releasing lock...
[2025-02-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:54:03] Production.INFO: ==13666== Lock acquired, processing the job...
[2025-02-09 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:54:03] Production.INFO: ==13670== Lock acquired, processing the job...
[2025-02-09 09:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:54:03] Production.INFO: ==13672== Lock acquired, processing the job...
[2025-02-09 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:54:03] Production.INFO: ==13668== Lock acquired, processing the job...
[2025-02-09 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:54:03] Production.INFO: Account Balance Start.
[2025-02-09 09:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:54:03] Production.INFO: 117
[2025-02-09 09:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:54:03] Production.INFO: ==13674== Lock acquired, processing the job...
[2025-02-09 09:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:54:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:54:03] Production.INFO: Total Charge 0
[2025-02-09 09:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:54:03] Production.INFO: CreateAllLog End
[2025-02-09 09:54:03] Production.INFO: ==13677== Lock acquired, processing the job...
[2025-02-09 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:54:04] Production.INFO: ==13668== Releasing lock...
[2025-02-09 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:54:04] Production.INFO: count ==21
[2025-02-09 09:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:54:04] Production.INFO: count ==21
[2025-02-09 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436271') start
[2025-02-09 09:54:04] Production.ERROR: done
[2025-02-09 09:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:54:04] Production.INFO: Account Balance End.
[2025-02-09 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436271') end
[2025-02-09 09:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:54:04] Production.INFO: 1
[2025-02-09 09:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:54:04] Production.INFO: ==13677== Releasing lock...
[2025-02-09 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:54:04] Production.INFO: ==13672== Releasing lock...
[2025-02-09 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:54:04] Production.ERROR: done
[2025-02-09 09:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:54:05
[end_date_ymd] => 2025-02-09 09:54:05
[RateCDR] => 1
)
[2025-02-09 09:54: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` >= '2025-02-09 06:54:05' and `end` < '2025-02-09 09:54: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 ,'')
[2025-02-09 09:54:12] Production.ERROR: CronJobId end10
[2025-02-09 09:54:12] Production.INFO: ==13670== Releasing lock...
[2025-02-09 09:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:54:14] Production.INFO: call_cost start
[2025-02-09 09:54:14] Production.INFO: call_cost end
[2025-02-09 09:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:54:15] Production.INFO: ==13666== Releasing lock...
[2025-02-09 09:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:54:18] Production.INFO: count ==142
[2025-02-09 09:54:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:54:05 - End Time 2025-02-09 09:54:05
[2025-02-09 09:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436272', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436272', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436272', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436272', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:54:18] Production.INFO: ProcessCDR(1,14436272,1,1,2)
[2025-02-09 09:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436272', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436272', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:54:21] Production.INFO: ==13674== Releasing lock...
[2025-02-09 09:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:54:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 14:55:02] Production.INFO: ==13738== Lock acquired, processing the job...
[2025-02-09 14:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:55:02] Production.INFO: neon service started
[2025-02-09 14:55:02] Production.INFO: neon service started
[2025-02-09 14:55:02] Production.INFO: ==13738== Releasing lock...
[2025-02-09 14:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:55:02] Production.INFO: ==13740== Lock acquired, processing the job...
[2025-02-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:55:02] Production.INFO: ==13742== Lock acquired, processing the job...
[2025-02-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 09:55:02] Production.INFO: ==13740== Releasing lock...
[2025-02-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:55:02] Production.INFO: ==13742== Releasing lock...
[2025-02-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:55:03] Production.INFO: ==13744== Lock acquired, processing the job...
[2025-02-09 09:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:55:03] Production.INFO: ==13746== Lock acquired, processing the job...
[2025-02-09 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:55:03] Production.INFO: ==13748== Lock acquired, processing the job...
[2025-02-09 09:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:55:04] Production.INFO: ==13754== Lock acquired, processing the job...
[2025-02-09 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:55:04] Production.INFO: ==13746== Releasing lock...
[2025-02-09 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:55:04] Production.INFO: ==13750== Lock acquired, processing the job...
[2025-02-09 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:55:04] Production.INFO: count ==21
[2025-02-09 09:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:55:04] Production.INFO: count ==21
[2025-02-09 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436275') start
[2025-02-09 09:55:04] Production.INFO: ==13752== Lock acquired, processing the job...
[2025-02-09 09:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:55:04] Production.INFO: Account Balance Start.
[2025-02-09 09:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 09:55:04] Production.INFO: 117
[2025-02-09 09:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436275') end
[2025-02-09 09:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:55:04] Production.INFO: 1
[2025-02-09 09:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:55:04] Production.INFO: ==13754== Releasing lock...
[2025-02-09 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:55:04] Production.ERROR: done
[2025-02-09 09:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:55:04] Production.INFO: Total Charge 0
[2025-02-09 09:55:04] Production.INFO: CreateAllLog End
[2025-02-09 09:55:04] Production.ERROR: done
[2025-02-09 09:55:04] Production.INFO: Account Balance End.
[2025-02-09 09:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:55:04] Production.INFO: ==13750== Releasing lock...
[2025-02-09 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:55:05
[end_date_ymd] => 2025-02-09 09:55:05
[RateCDR] => 1
)
[2025-02-09 09:55: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` >= '2025-02-09 06:55:05' and `end` < '2025-02-09 09:55: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 ,'')
[2025-02-09 09:55:12] Production.ERROR: CronJobId end10
[2025-02-09 09:55:12] Production.INFO: ==13748== Releasing lock...
[2025-02-09 09:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:55:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:55:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:55:15] Production.INFO: call_cost start
[2025-02-09 09:55:15] Production.INFO: call_cost end
[2025-02-09 09:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:55:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:55:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:55:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:55:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:55:16] Production.INFO: ==13744== Releasing lock...
[2025-02-09 09:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:55:22] Production.INFO: count ==143
[2025-02-09 09:55:22] Production.ERROR: pbx CDR StartTime 2025-02-09 06:55:05 - End Time 2025-02-09 09:55:05
[2025-02-09 09:55:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436277', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436277', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436277', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436277', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:55:22] Production.INFO: ProcessCDR(1,14436277,1,1,2)
[2025-02-09 09:55:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:55:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:55:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436277', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436277', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:55:27] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:55:27] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:55:27] Production.INFO: ==13752== Releasing lock...
[2025-02-09 09:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:55:27] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 14:56:01] Production.INFO: ==13818== Lock acquired, processing the job...
[2025-02-09 14:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:56:01] Production.INFO: neon service started
[2025-02-09 14:56:01] Production.INFO: neon service started
[2025-02-09 14:56:01] Production.INFO: ==13818== Releasing lock...
[2025-02-09 14:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:56:01] Production.INFO: ==13820== Lock acquired, processing the job...
[2025-02-09 09:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:56:02] Production.INFO: ==13820== Releasing lock...
[2025-02-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:56:02] Production.INFO: ==13822== Lock acquired, processing the job...
[2025-02-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:56:02] Production.INFO: ==13822== Releasing lock...
[2025-02-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:56:03] Production.INFO: ==13829== Lock acquired, processing the job...
[2025-02-09 09:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:56:03] Production.INFO: ==13833== Lock acquired, processing the job...
[2025-02-09 09:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:56:03] Production.INFO: ==13827== Lock acquired, processing the job...
[2025-02-09 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:56:03] Production.INFO: ==13825== Lock acquired, processing the job...
[2025-02-09 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:56:03] Production.INFO: ==13831== Lock acquired, processing the job...
[2025-02-09 09:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:56:03] Production.INFO: ==13835== Lock acquired, processing the job...
[2025-02-09 09:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:56:03] Production.INFO: Account Balance Start.
[2025-02-09 09:56:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:56:03] Production.INFO: 117
[2025-02-09 09:56:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:56:03] Production.ERROR: done
[2025-02-09 09:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:56:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:56:03] Production.INFO: count ==21
[2025-02-09 09:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:56:03] Production.INFO: count ==21
[2025-02-09 09:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436281') start
[2025-02-09 09:56:04] Production.INFO: Total Charge 0
[2025-02-09 09:56:04] Production.INFO: CreateAllLog End
[2025-02-09 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436281') end
[2025-02-09 09:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:56:04] Production.INFO: 1
[2025-02-09 09:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:56:04] Production.ERROR: done
[2025-02-09 09:56:04] Production.INFO: ==13827== Releasing lock...
[2025-02-09 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:56:04] Production.INFO: ==13835== Releasing lock...
[2025-02-09 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:56:04] Production.INFO: Account Balance End.
[2025-02-09 09:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:56:04] Production.INFO: ==13831== Releasing lock...
[2025-02-09 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:56:05
[end_date_ymd] => 2025-02-09 09:56:05
[RateCDR] => 1
)
[2025-02-09 09:56: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` >= '2025-02-09 06:56:05' and `end` < '2025-02-09 09:56: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 ,'')
[2025-02-09 09:56:11] Production.ERROR: CronJobId end10
[2025-02-09 09:56:11] Production.INFO: ==13829== Releasing lock...
[2025-02-09 09:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:56:14] Production.INFO: call_cost start
[2025-02-09 09:56:14] Production.INFO: call_cost end
[2025-02-09 09:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:56:15] Production.INFO: ==13825== Releasing lock...
[2025-02-09 09:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:56:19] Production.INFO: count ==143
[2025-02-09 09:56:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:56:05 - End Time 2025-02-09 09:56:05
[2025-02-09 09:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436282', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436282', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436282', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436282', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:56:19] Production.INFO: ProcessCDR(1,14436282,1,1,2)
[2025-02-09 09:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436282', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436282', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:56:22] Production.INFO: ==13833== Releasing lock...
[2025-02-09 09:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:56:22] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 14:57:01] Production.INFO: ==13893== Lock acquired, processing the job...
[2025-02-09 14:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:57:02] Production.INFO: neon service started
[2025-02-09 14:57:02] Production.INFO: neon service started
[2025-02-09 14:57:02] Production.INFO: ==13893== Releasing lock...
[2025-02-09 14:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:57:02] Production.INFO: ==13899== Lock acquired, processing the job...
[2025-02-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:57:02] Production.INFO: ==13899== Releasing lock...
[2025-02-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:57:02] Production.INFO: ==13896== Lock acquired, processing the job...
[2025-02-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:57:02] Production.INFO: ==13896== Releasing lock...
[2025-02-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:57:03] Production.INFO: ==13902== Lock acquired, processing the job...
[2025-02-09 09:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:57:03] Production.INFO: ==13904== Lock acquired, processing the job...
[2025-02-09 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:57:03] Production.INFO: ==13908== Lock acquired, processing the job...
[2025-02-09 09:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:57:03] Production.INFO: Account Balance Start.
[2025-02-09 09:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:57:03] Production.INFO: 117
[2025-02-09 09:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:57:03] Production.INFO: ==13906== Lock acquired, processing the job...
[2025-02-09 09:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:57:03] Production.INFO: Total Charge 0
[2025-02-09 09:57:03] Production.INFO: CreateAllLog End
[2025-02-09 09:57:03] Production.INFO: ==13912== Lock acquired, processing the job...
[2025-02-09 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:57:03] Production.INFO: ==13904== Releasing lock...
[2025-02-09 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:57:04] Production.INFO: ==13910== Lock acquired, processing the job...
[2025-02-09 09:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:57:04] Production.INFO: Account Balance End.
[2025-02-09 09:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:57:04] Production.INFO: count ==21
[2025-02-09 09:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:57:04] Production.INFO: ==13908== Releasing lock...
[2025-02-09 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:57:04] Production.INFO: count ==21
[2025-02-09 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436286') start
[2025-02-09 09:57:04] Production.ERROR: done
[2025-02-09 09:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436286') end
[2025-02-09 09:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:57:04] Production.INFO: 1
[2025-02-09 09:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:57:04] Production.INFO: ==13912== Releasing lock...
[2025-02-09 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:57:04] Production.ERROR: done
[2025-02-09 09:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:57:05
[end_date_ymd] => 2025-02-09 09:57:05
[RateCDR] => 1
)
[2025-02-09 09:57: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` >= '2025-02-09 06:57:05' and `end` < '2025-02-09 09:57: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 ,'')
[2025-02-09 09:57:12] Production.ERROR: CronJobId end10
[2025-02-09 09:57:12] Production.INFO: ==13906== Releasing lock...
[2025-02-09 09:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:57:14] Production.INFO: call_cost start
[2025-02-09 09:57:14] Production.INFO: call_cost end
[2025-02-09 09:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:57:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:57:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:57:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:57:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:57:14] Production.INFO: ==13902== Releasing lock...
[2025-02-09 09:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:57:18] Production.INFO: count ==143
[2025-02-09 09:57:18] Production.ERROR: pbx CDR StartTime 2025-02-09 06:57:05 - End Time 2025-02-09 09:57:05
[2025-02-09 09:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436287', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436287', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436287', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436287', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:57:18] Production.INFO: ProcessCDR(1,14436287,1,1,2)
[2025-02-09 09:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436287', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436287', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:57:21] Production.INFO: ==13910== Releasing lock...
[2025-02-09 09:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:57:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 14:58:01] Production.INFO: ==13973== Lock acquired, processing the job...
[2025-02-09 14:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:58:01] Production.INFO: neon service started
[2025-02-09 14:58:01] Production.INFO: neon service started
[2025-02-09 14:58:01] Production.INFO: ==13973== Releasing lock...
[2025-02-09 14:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:58:01] Production.INFO: ==13975== Lock acquired, processing the job...
[2025-02-09 09:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:58:02] Production.INFO: ==13977== Lock acquired, processing the job...
[2025-02-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:58:02] Production.INFO: ==13977== Releasing lock...
[2025-02-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:58:02] Production.INFO: ==13975== Releasing lock...
[2025-02-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 09:58:02] Production.INFO: ==13983== Lock acquired, processing the job...
[2025-02-09 09:58:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:58:03] Production.INFO: ==13988== Lock acquired, processing the job...
[2025-02-09 09:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:58:03] Production.INFO: ==13979== Lock acquired, processing the job...
[2025-02-09 09:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:58:03] Production.INFO: ==13981== Lock acquired, processing the job...
[2025-02-09 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:58:03] Production.ERROR: done
[2025-02-09 09:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:58:03] Production.INFO: ==13985== Lock acquired, processing the job...
[2025-02-09 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:58:03] Production.ERROR: done
[2025-02-09 09:58:03] Production.INFO: ==13990== Lock acquired, processing the job...
[2025-02-09 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:58:03] Production.INFO: Account Balance Start.
[2025-02-09 09:58:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:58:03] Production.INFO: 117
[2025-02-09 09:58:03] Production.INFO: Date 2025-02-08
[2025-02-09 09:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:58:03] Production.INFO: Date 2025-02-09
[2025-02-09 09:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 09:58:03] Production.INFO: Total Charge 0
[2025-02-09 09:58:03] Production.INFO: CreateAllLog End
[2025-02-09 09:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:58:03] Production.INFO: count ==21
[2025-02-09 09:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:58:03] Production.INFO: count ==21
[2025-02-09 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436292') start
[2025-02-09 09:58:04] Production.INFO: ==13981== Releasing lock...
[2025-02-09 09:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:58:04] Production.INFO: Account Balance End.
[2025-02-09 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436292') end
[2025-02-09 09:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:58:04] Production.INFO: 1
[2025-02-09 09:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:58:04] Production.INFO: ==13985== Releasing lock...
[2025-02-09 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:58:04] Production.INFO: ==13990== Releasing lock...
[2025-02-09 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:58:05
[end_date_ymd] => 2025-02-09 09:58:05
[RateCDR] => 1
)
[2025-02-09 09:58: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` >= '2025-02-09 06:58:05' and `end` < '2025-02-09 09:58: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 ,'')
[2025-02-09 09:58:11] Production.ERROR: CronJobId end10
[2025-02-09 09:58:11] Production.INFO: ==13983== Releasing lock...
[2025-02-09 09:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:58:15] Production.INFO: call_cost start
[2025-02-09 09:58:15] Production.INFO: call_cost end
[2025-02-09 09:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:58:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:58:16] Production.INFO: ==13979== Releasing lock...
[2025-02-09 09:58:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:58:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:58:17] Production.INFO: count ==143
[2025-02-09 09:58:17] Production.ERROR: pbx CDR StartTime 2025-02-09 06:58:05 - End Time 2025-02-09 09:58:05
[2025-02-09 09:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436290', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436290', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436290', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436290', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:58:17] Production.INFO: ProcessCDR(1,14436290,1,1,2)
[2025-02-09 09:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436290,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436290,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436290', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436290', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:58:21] Production.INFO: ==13988== Releasing lock...
[2025-02-09 09:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:58:21] Production.INFO: 28.5 MB #Memory Used#
[2025-02-09 14:59:01] Production.INFO: ==14056== Lock acquired, processing the job...
[2025-02-09 14:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 14:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 14:59:01] Production.INFO: neon service started
[2025-02-09 14:59:02] Production.INFO: neon service started
[2025-02-09 14:59:02] Production.INFO: ==14056== Releasing lock...
[2025-02-09 14:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 14:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 09:59:02] Production.INFO: ==14058== Lock acquired, processing the job...
[2025-02-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 09:59:02] Production.INFO: ==14058== Releasing lock...
[2025-02-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 09:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:59:02] Production.INFO: ==14060== Lock acquired, processing the job...
[2025-02-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:59:02] Production.INFO: ==14060== Releasing lock...
[2025-02-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 14:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 09:59:03] Production.INFO: ==14067== Lock acquired, processing the job...
[2025-02-09 09:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 09:59:03] Production.INFO: ==14073== Lock acquired, processing the job...
[2025-02-09 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 09:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 09:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 09:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 09:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 09:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:59:03] Production.INFO: ==14063== Lock acquired, processing the job...
[2025-02-09 09:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 09:59:03] Production.INFO: ==14065== Lock acquired, processing the job...
[2025-02-09 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 09:59:03] Production.INFO: count ==21
[2025-02-09 09:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 09:59:03] Production.INFO: count ==21
[2025-02-09 09:59:03] Production.INFO: ==14069== Lock acquired, processing the job...
[2025-02-09 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 09:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436293') start
[2025-02-09 09:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 09:59:03] Production.INFO: ==14071== Lock acquired, processing the job...
[2025-02-09 09:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 09:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436293') end
[2025-02-09 09:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 09:59:03] Production.INFO: 1
[2025-02-09 09:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 09:59:03] Production.INFO: Account Balance Start.
[2025-02-09 09:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 09:59:03] Production.INFO: 117
[2025-02-09 09:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 09:59:04] Production.INFO: ==14073== Releasing lock...
[2025-02-09 09:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 09:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 09:59:04] Production.INFO: Date 2025-02-08
[2025-02-09 09:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:59:04] Production.INFO: ==14065== Releasing lock...
[2025-02-09 09:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 09:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 09:59:04] Production.INFO: Date 2025-02-09
[2025-02-09 09:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 09:59:04] Production.ERROR: done
[2025-02-09 09:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 09:59:04] Production.ERROR: done
[2025-02-09 09:59:04] Production.INFO: Total Charge 0
[2025-02-09 09:59:04] Production.INFO: CreateAllLog End
[2025-02-09 09:59:04] Production.INFO: Account Balance End.
[2025-02-09 09:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 09:59:04] Production.INFO: ==14069== Releasing lock...
[2025-02-09 09:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 09:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 09:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 06:59:05
[end_date_ymd] => 2025-02-09 09:59:05
[RateCDR] => 1
)
[2025-02-09 09:59: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` >= '2025-02-09 06:59:05' and `end` < '2025-02-09 09:59: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 ,'')
[2025-02-09 09:59:12] Production.ERROR: CronJobId end10
[2025-02-09 09:59:12] Production.INFO: ==14067== Releasing lock...
[2025-02-09 09:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 09:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 09:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 09:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 09:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 09:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 09:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 09:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 09:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 09:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 09:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 09:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 09:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 09:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 09:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 09:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 09:59:14] Production.INFO: call_cost start
[2025-02-09 09:59:14] Production.INFO: call_cost end
[2025-02-09 09:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 09:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 09:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 09:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 09:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 09:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 09:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 09:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 09:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 09:59:15] Production.INFO: ==14063== Releasing lock...
[2025-02-09 09:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 09:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 09:59:19] Production.INFO: count ==144
[2025-02-09 09:59:19] Production.ERROR: pbx CDR StartTime 2025-02-09 06:59:05 - End Time 2025-02-09 09:59:05
[2025-02-09 09:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436297', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436297', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436297', 'tblTempVendorCDR_20' ) start
[2025-02-09 09:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436297', 'tblTempVendorCDR_20' ) end
[2025-02-09 09:59:19] Production.INFO: ProcessCDR(1,14436297,1,1,2)
[2025-02-09 09:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 09:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 09:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436297', 'tblTempUsageDetail_20' ) start
[2025-02-09 09:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436297', 'tblTempUsageDetail_20' ) end
[2025-02-09 09:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 09:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 09:59:22] Production.INFO: ==14071== Releasing lock...
[2025-02-09 09:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 09:59:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:00:01] Production.INFO: ==14134== Lock acquired, processing the job...
[2025-02-09 15:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:00:01] Production.INFO: neon service started
[2025-02-09 15:00:01] Production.INFO: neon service started
[2025-02-09 15:00:01] Production.INFO: ==14134== Releasing lock...
[2025-02-09 15:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:00:01] Production.INFO: ==14136== Lock acquired, processing the job...
[2025-02-09 10:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:00:02] Production.INFO: ==14136== Releasing lock...
[2025-02-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:00:02] Production.INFO: ==14138== Lock acquired, processing the job...
[2025-02-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:00:02] Production.INFO: ==14138== Releasing lock...
[2025-02-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:00:03] Production.INFO: ==14141== Lock acquired, processing the job...
[2025-02-09 10:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 10:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 10:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 10:00:03] Production.INFO: ==14141== Releasing lock...
[2025-02-09 10:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 10:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 10:00:03] Production.INFO: ==14153== Lock acquired, processing the job...
[2025-02-09 10:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:00:03] Production.INFO: ==14157== Lock acquired, processing the job...
[2025-02-09 10:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:00:03] Production.INFO: ==14143== Lock acquired, processing the job...
[2025-02-09 10:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:00:03] Production.INFO: ==14145== Lock acquired, processing the job...
[2025-02-09 10:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:00:03] Production.INFO: ==14149== Lock acquired, processing the job...
[2025-02-09 10:00:03] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-02-09 10:00:03] Production.INFO: ==14147== Lock acquired, processing the job...
[2025-02-09 10:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:00:03] Production.INFO: count ==21
[2025-02-09 10:00:03] Production.ERROR: done
[2025-02-09 10:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:00:03] Production.INFO: ==14151== Lock acquired, processing the job...
[2025-02-09 10:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:00:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:00:04] Production.INFO: count ==21
[2025-02-09 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436298') start
[2025-02-09 10:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:00:04] Production.INFO: Account Balance Start.
[2025-02-09 10:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:00:04] Production.INFO: 117
[2025-02-09 10:00:04] Production.INFO: ==14155== Lock acquired, processing the job...
[2025-02-09 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 10:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:00:04] Production.ERROR: done
[2025-02-09 10:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436298') end
[2025-02-09 10:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:00:04] Production.INFO: 1
[2025-02-09 10:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: ==14157== Releasing lock...
[2025-02-09 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: Total Charge 0
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: CreateAllLog End
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-02-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-02-09 10:00:04] Production.INFO: Outstanding Amount 27.00
[2025-02-09 10:00:04] Production.INFO: Invoice Full Number INV11502
[2025-02-09 10:00:04] Production.INFO: Transaction start
[2025-02-09 10:00:04] Production.INFO: ==14145== Releasing lock...
[2025-02-09 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:00:04] Production.INFO: Account Balance End.
[2025-02-09 10:00:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:00:04] Production.INFO: ==14151== Releasing lock...
[2025-02-09 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:00:04] Production.ERROR: done
[2025-02-09 10:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 10:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436303', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 10:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:00:05
[end_date_ymd] => 2025-02-09 10:00:05
[RateCDR] => 1
)
[2025-02-09 10:00: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` >= '2025-02-09 07:00:05' and `end` < '2025-02-09 10:00: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 ,'')
[2025-02-09 10:00:06] Production.INFO: Transaction end
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 4
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 5
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 0
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 2
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 3
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 18
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '218', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 0
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:08] Production.INFO: PaymentMethod - 1
[2025-02-09 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-02-09 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-02-09 10:00:09] Production.ERROR: CronJobId end11
[2025-02-09 10:00:09] Production.INFO: ==14149== Releasing lock...
[2025-02-09 10:00:09] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-02-09 10:00:09] Production.INFO: 34 MB #Memory Used#
[2025-02-09 10:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436303', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 10:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 10:00:09] Production.INFO: ProcessCDR(1,14436303,1,1,2)
[2025-02-09 10:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436303,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436303,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:00:10] Production.INFO: ==14155== Releasing lock...
[2025-02-09 10:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 10:00:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 10:00:14] Production.ERROR: CronJobId end10
[2025-02-09 10:00:14] Production.INFO: ==14147== Releasing lock...
[2025-02-09 10:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:00:16] Production.INFO: call_cost start
[2025-02-09 10:00:16] Production.INFO: call_cost end
[2025-02-09 10:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:00:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:00:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:00:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:00:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:00:17] Production.INFO: ==14143== Releasing lock...
[2025-02-09 10:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:00:18] Production.INFO: count ==149
[2025-02-09 10:00:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:00:05 - End Time 2025-02-09 10:00:05
[2025-02-09 10:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436302', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436302', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436302', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436302', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:00:18] Production.INFO: ProcessCDR(1,14436302,1,1,2)
[2025-02-09 10:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436302', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436302', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:00:23] Production.INFO: ==14153== Releasing lock...
[2025-02-09 10:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:00:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:01:01] Production.INFO: ==14232== Lock acquired, processing the job...
[2025-02-09 15:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:01:01] Production.INFO: neon service started
[2025-02-09 15:01:01] Production.INFO: neon service started
[2025-02-09 15:01:01] Production.INFO: ==14232== Releasing lock...
[2025-02-09 15:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:01:02] Production.INFO: ==14240== Lock acquired, processing the job...
[2025-02-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:01:02] Production.INFO: ==14240== Releasing lock...
[2025-02-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:01:02] Production.INFO: ==14238== Lock acquired, processing the job...
[2025-02-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:01:02] Production.INFO: ==14238== Releasing lock...
[2025-02-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:01:03] Production.INFO: ==14243== Lock acquired, processing the job...
[2025-02-09 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:01:03] Production.INFO: ==14245== Lock acquired, processing the job...
[2025-02-09 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:01:03] Production.INFO: ==14247== Lock acquired, processing the job...
[2025-02-09 10:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:01:03] Production.INFO: ==14251== Lock acquired, processing the job...
[2025-02-09 10:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:01:04] Production.INFO: ==14253== Lock acquired, processing the job...
[2025-02-09 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:01:04] Production.INFO: ==14249== Lock acquired, processing the job...
[2025-02-09 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:01:04] Production.INFO: Account Balance Start.
[2025-02-09 10:01:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:01:04] Production.INFO: 117
[2025-02-09 10:01:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:01:04] Production.INFO: count ==21
[2025-02-09 10:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:01:04] Production.INFO: count ==21
[2025-02-09 10:01:04] Production.INFO: Total Charge 0
[2025-02-09 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436307') start
[2025-02-09 10:01:04] Production.INFO: ==14245== Releasing lock...
[2025-02-09 10:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:01:04] Production.ERROR: done
[2025-02-09 10:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:01:04] Production.INFO: CreateAllLog End
[2025-02-09 10:01:04] Production.ERROR: done
[2025-02-09 10:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436307') end
[2025-02-09 10:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:01:04] Production.INFO: 1
[2025-02-09 10:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:01:04] Production.INFO: ==14253== Releasing lock...
[2025-02-09 10:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:01:04] Production.INFO: Account Balance End.
[2025-02-09 10:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:01:04] Production.INFO: ==14249== Releasing lock...
[2025-02-09 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:01:05
[end_date_ymd] => 2025-02-09 10:01:05
[RateCDR] => 1
)
[2025-02-09 10:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 07:01:05' and `end` < '2025-02-09 10:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 10:01:13] Production.ERROR: CronJobId end10
[2025-02-09 10:01:13] Production.INFO: ==14247== Releasing lock...
[2025-02-09 10:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:01:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:01:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:01:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:01:16] Production.INFO: call_cost start
[2025-02-09 10:01:16] Production.INFO: call_cost end
[2025-02-09 10:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:01:17] Production.INFO: ==14243== Releasing lock...
[2025-02-09 10:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:01:18] Production.INFO: count ==149
[2025-02-09 10:01:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:01:05 - End Time 2025-02-09 10:01:05
[2025-02-09 10:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436308', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436308', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436308', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436308', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:01:18] Production.INFO: ProcessCDR(1,14436308,1,1,2)
[2025-02-09 10:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436308', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436308', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:01:22] Production.INFO: ==14251== Releasing lock...
[2025-02-09 10:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:01:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:02:02] Production.INFO: ==14315== Lock acquired, processing the job...
[2025-02-09 15:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:02:02] Production.INFO: neon service started
[2025-02-09 15:02:02] Production.INFO: neon service started
[2025-02-09 15:02:02] Production.INFO: ==14315== Releasing lock...
[2025-02-09 15:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:02:02] Production.INFO: ==14317== Lock acquired, processing the job...
[2025-02-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:02:03] Production.INFO: ==14317== Releasing lock...
[2025-02-09 10:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:02:03] Production.INFO: ==14319== Lock acquired, processing the job...
[2025-02-09 15:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:02:03] Production.INFO: ==14319== Releasing lock...
[2025-02-09 15:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:02:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:02:04] Production.INFO: ==14327== Lock acquired, processing the job...
[2025-02-09 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:02:04] Production.INFO: ==14332== Lock acquired, processing the job...
[2025-02-09 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:02:04] Production.INFO: ==14321== Lock acquired, processing the job...
[2025-02-09 10:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:02:04] Production.INFO: Account Balance Start.
[2025-02-09 10:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:02:04] Production.INFO: 117
[2025-02-09 10:02:04] Production.INFO: ==14323== Lock acquired, processing the job...
[2025-02-09 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:02:04] Production.INFO: ==14325== Lock acquired, processing the job...
[2025-02-09 10:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:02:04] Production.INFO: count ==21
[2025-02-09 10:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:02:04] Production.INFO: count ==21
[2025-02-09 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436310') start
[2025-02-09 10:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:02:04] Production.INFO: ==14329== Lock acquired, processing the job...
[2025-02-09 10:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:02:04] Production.INFO: Total Charge 0
[2025-02-09 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436310') end
[2025-02-09 10:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:02:04] Production.INFO: 1
[2025-02-09 10:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:02:04] Production.INFO: CreateAllLog End
[2025-02-09 10:02:04] Production.INFO: ==14332== Releasing lock...
[2025-02-09 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:02:04] Production.INFO: ==14323== Releasing lock...
[2025-02-09 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:02:04] Production.INFO: Account Balance End.
[2025-02-09 10:02:04] Production.ERROR: done
[2025-02-09 10:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:02:04] Production.INFO: ==14327== Releasing lock...
[2025-02-09 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:02:05] Production.ERROR: done
[2025-02-09 10:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:02:05
[end_date_ymd] => 2025-02-09 10:02:05
[RateCDR] => 1
)
[2025-02-09 10:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 07:02:05' and `end` < '2025-02-09 10:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 10:02:13] Production.ERROR: CronJobId end10
[2025-02-09 10:02:13] Production.INFO: ==14325== Releasing lock...
[2025-02-09 10:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:02:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:02:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:02:16] Production.INFO: call_cost start
[2025-02-09 10:02:16] Production.INFO: call_cost end
[2025-02-09 10:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:02:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:02:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:02:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:02:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:02:17] Production.INFO: ==14321== Releasing lock...
[2025-02-09 10:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:02:19] Production.INFO: count ==149
[2025-02-09 10:02:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:02:05 - End Time 2025-02-09 10:02:05
[2025-02-09 10:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436313', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436313', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436313', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436313', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:02:19] Production.INFO: ProcessCDR(1,14436313,1,1,2)
[2025-02-09 10:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436313', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436313', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:02:23] Production.INFO: ==14329== Releasing lock...
[2025-02-09 10:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:02:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:03:01] Production.INFO: ==14393== Lock acquired, processing the job...
[2025-02-09 15:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:03:01] Production.INFO: neon service started
[2025-02-09 15:03:02] Production.INFO: neon service started
[2025-02-09 15:03:02] Production.INFO: ==14393== Releasing lock...
[2025-02-09 15:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:03:02] Production.INFO: ==14395== Lock acquired, processing the job...
[2025-02-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:03:02] Production.INFO: ==14397== Lock acquired, processing the job...
[2025-02-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:03:02] Production.INFO: ==14397== Releasing lock...
[2025-02-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:03:02] Production.INFO: ==14395== Releasing lock...
[2025-02-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:03:03] Production.INFO: ==14400== Lock acquired, processing the job...
[2025-02-09 10:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:03:03] Production.INFO: ==14404== Lock acquired, processing the job...
[2025-02-09 10:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:03:03] Production.INFO: ==14408== Lock acquired, processing the job...
[2025-02-09 10:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:03:04] Production.INFO: ==14402== Lock acquired, processing the job...
[2025-02-09 10:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:03:04] Production.INFO: ==14406== Lock acquired, processing the job...
[2025-02-09 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:03:04] Production.ERROR: done
[2025-02-09 10:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:03:04] Production.INFO: ==14410== Lock acquired, processing the job...
[2025-02-09 10:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:03:04] Production.ERROR: done
[2025-02-09 10:03:04] Production.INFO: Account Balance Start.
[2025-02-09 10:03:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:03:04] Production.INFO: 117
[2025-02-09 10:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:03:04] Production.INFO: ==14402== Releasing lock...
[2025-02-09 10:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:03:04] Production.INFO: count ==21
[2025-02-09 10:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:03:04] Production.INFO: count ==21
[2025-02-09 10:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436317') start
[2025-02-09 10:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:03:04] Production.INFO: Total Charge 0
[2025-02-09 10:03:04] Production.INFO: CreateAllLog End
[2025-02-09 10:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436317') end
[2025-02-09 10:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:03:04] Production.INFO: 1
[2025-02-09 10:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:03:04] Production.INFO: ==14410== Releasing lock...
[2025-02-09 10:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:03:04] Production.INFO: Account Balance End.
[2025-02-09 10:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:03:04] Production.INFO: ==14406== Releasing lock...
[2025-02-09 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:03:05
[end_date_ymd] => 2025-02-09 10:03:05
[RateCDR] => 1
)
[2025-02-09 10:03: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` >= '2025-02-09 07:03:05' and `end` < '2025-02-09 10:03: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 ,'')
[2025-02-09 10:03:13] Production.ERROR: CronJobId end10
[2025-02-09 10:03:13] Production.INFO: ==14404== Releasing lock...
[2025-02-09 10:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:03:15] Production.INFO: call_cost start
[2025-02-09 10:03:15] Production.INFO: call_cost end
[2025-02-09 10:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:03:16] Production.INFO: ==14400== Releasing lock...
[2025-02-09 10:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:03:18] Production.INFO: count ==149
[2025-02-09 10:03:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:03:05 - End Time 2025-02-09 10:03:05
[2025-02-09 10:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436318', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436318', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436318', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436318', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:03:18] Production.INFO: ProcessCDR(1,14436318,1,1,2)
[2025-02-09 10:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436318', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436318', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:03:22] Production.INFO: ==14408== Releasing lock...
[2025-02-09 10:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:03:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:04:01] Production.INFO: ==14473== Lock acquired, processing the job...
[2025-02-09 15:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:04:01] Production.INFO: neon service started
[2025-02-09 15:04:01] Production.INFO: neon service started
[2025-02-09 15:04:01] Production.INFO: ==14473== Releasing lock...
[2025-02-09 15:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:04:02] Production.INFO: ==14475== Lock acquired, processing the job...
[2025-02-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:04:02] Production.INFO: ==14477== Lock acquired, processing the job...
[2025-02-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:04:02] Production.INFO: ==14477== Releasing lock...
[2025-02-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:04:02] Production.INFO: ==14475== Releasing lock...
[2025-02-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:04:03] Production.INFO: ==14486== Lock acquired, processing the job...
[2025-02-09 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:04:03] Production.INFO: ==14490== Lock acquired, processing the job...
[2025-02-09 10:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:04:03] Production.INFO: Account Balance Start.
[2025-02-09 10:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:04:03] Production.INFO: 117
[2025-02-09 10:04:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:04:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:04:03] Production.INFO: count ==21
[2025-02-09 10:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:04:03] Production.INFO: count ==21
[2025-02-09 10:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436320') start
[2025-02-09 10:04:03] Production.INFO: Total Charge 0
[2025-02-09 10:04:03] Production.INFO: CreateAllLog End
[2025-02-09 10:04:03] Production.INFO: ==14480== Lock acquired, processing the job...
[2025-02-09 10:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:04:03] Production.INFO: ==14482== Lock acquired, processing the job...
[2025-02-09 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:04:03] Production.INFO: ==14484== Lock acquired, processing the job...
[2025-02-09 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436320') end
[2025-02-09 10:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:04:03] Production.INFO: 1
[2025-02-09 10:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:04:03] Production.INFO: ==14488== Lock acquired, processing the job...
[2025-02-09 10:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:04:03] Production.INFO: ==14490== Releasing lock...
[2025-02-09 10:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:04:03] Production.INFO: Account Balance End.
[2025-02-09 10:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:04:04] Production.INFO: ==14486== Releasing lock...
[2025-02-09 10:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:04:04] Production.ERROR: done
[2025-02-09 10:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:04:04] Production.INFO: ==14482== Releasing lock...
[2025-02-09 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:04:04] Production.ERROR: done
[2025-02-09 10:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:04:05
[end_date_ymd] => 2025-02-09 10:04:05
[RateCDR] => 1
)
[2025-02-09 10:04: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` >= '2025-02-09 07:04:05' and `end` < '2025-02-09 10:04: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 ,'')
[2025-02-09 10:04:12] Production.ERROR: CronJobId end10
[2025-02-09 10:04:12] Production.INFO: ==14484== Releasing lock...
[2025-02-09 10:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:04:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:04:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:04:16] Production.INFO: call_cost start
[2025-02-09 10:04:16] Production.INFO: call_cost end
[2025-02-09 10:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:04:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:04:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:04:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:04:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:04:17] Production.INFO: ==14480== Releasing lock...
[2025-02-09 10:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:04:20] Production.INFO: count ==149
[2025-02-09 10:04:20] Production.ERROR: pbx CDR StartTime 2025-02-09 07:04:05 - End Time 2025-02-09 10:04:05
[2025-02-09 10:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436323', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436323', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436323', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436323', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:04:20] Production.INFO: ProcessCDR(1,14436323,1,1,2)
[2025-02-09 10:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436323', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436323', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:04:23] Production.INFO: ==14488== Releasing lock...
[2025-02-09 10:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:04:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:05:01] Production.INFO: ==14550== Lock acquired, processing the job...
[2025-02-09 15:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:05:02] Production.INFO: neon service started
[2025-02-09 15:05:02] Production.INFO: neon service started
[2025-02-09 15:05:02] Production.INFO: ==14550== Releasing lock...
[2025-02-09 15:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:05:02] Production.INFO: ==14552== Lock acquired, processing the job...
[2025-02-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:05:02] Production.INFO: ==14552== Releasing lock...
[2025-02-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:05:02] Production.INFO: ==14554== Lock acquired, processing the job...
[2025-02-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:05:02] Production.INFO: ==14554== Releasing lock...
[2025-02-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:05:03] Production.INFO: ==14567== Lock acquired, processing the job...
[2025-02-09 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:05:03] Production.INFO: ==14564== Lock acquired, processing the job...
[2025-02-09 10:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:05:04] Production.INFO: count ==21
[2025-02-09 10:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:05:04] Production.INFO: ==14556== Lock acquired, processing the job...
[2025-02-09 10:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:05:04] Production.INFO: count ==21
[2025-02-09 10:05:04] Production.INFO: ==14558== Lock acquired, processing the job...
[2025-02-09 10:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436324') start
[2025-02-09 10:05:04] Production.INFO: ==14560== Lock acquired, processing the job...
[2025-02-09 10:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:05:04] Production.INFO: ==14562== Lock acquired, processing the job...
[2025-02-09 10:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436324') end
[2025-02-09 10:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:05:04] Production.INFO: 1
[2025-02-09 10:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:05:04] Production.INFO: ==14567== Releasing lock...
[2025-02-09 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:05:04] Production.ERROR: done
[2025-02-09 10:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:05:04] Production.INFO: Account Balance Start.
[2025-02-09 10:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:05:04] Production.INFO: 117
[2025-02-09 10:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:05:04] Production.ERROR: done
[2025-02-09 10:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:05:04] Production.INFO: ==14558== Releasing lock...
[2025-02-09 10:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:05:04] Production.INFO: Total Charge 0
[2025-02-09 10:05:04] Production.INFO: CreateAllLog End
[2025-02-09 10:05:04] Production.INFO: Account Balance End.
[2025-02-09 10:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:05:04] Production.INFO: ==14562== Releasing lock...
[2025-02-09 10:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:05:05
[end_date_ymd] => 2025-02-09 10:05:05
[RateCDR] => 1
)
[2025-02-09 10:05: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` >= '2025-02-09 07:05:05' and `end` < '2025-02-09 10:05: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 ,'')
[2025-02-09 10:05:14] Production.ERROR: CronJobId end10
[2025-02-09 10:05:14] Production.INFO: ==14560== Releasing lock...
[2025-02-09 10:05:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:05:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:05:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:05:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:05:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:05:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:05:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:05:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:05:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:05:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:05:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:05:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:05:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:05:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:05:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:05:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:05:16] Production.INFO: call_cost start
[2025-02-09 10:05:16] Production.INFO: call_cost end
[2025-02-09 10:05:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:05:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:05:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:05:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:05:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:05:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:05:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:05:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:05:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:05:17] Production.INFO: ==14556== Releasing lock...
[2025-02-09 10:05:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:05:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:05:19] Production.INFO: count ==150
[2025-02-09 10:05:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:05:05 - End Time 2025-02-09 10:05:05
[2025-02-09 10:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436328', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436328', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436328', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436328', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:05:19] Production.INFO: ProcessCDR(1,14436328,1,1,2)
[2025-02-09 10:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436328', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436328', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:05:24] Production.INFO: ==14564== Releasing lock...
[2025-02-09 10:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:05:24] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:06:01] Production.INFO: ==14630== Lock acquired, processing the job...
[2025-02-09 15:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:06:01] Production.INFO: neon service started
[2025-02-09 15:06:01] Production.INFO: neon service started
[2025-02-09 15:06:01] Production.INFO: ==14630== Releasing lock...
[2025-02-09 15:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:06:01] Production.INFO: ==14632== Lock acquired, processing the job...
[2025-02-09 10:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:06:02] Production.INFO: ==14632== Releasing lock...
[2025-02-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:06:02] Production.INFO: ==14634== Lock acquired, processing the job...
[2025-02-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:06:02] Production.INFO: ==14634== Releasing lock...
[2025-02-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:06:03] Production.INFO: ==14645== Lock acquired, processing the job...
[2025-02-09 10:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:06:03] Production.INFO: ==14641== Lock acquired, processing the job...
[2025-02-09 10:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:06:03] Production.INFO: ==14637== Lock acquired, processing the job...
[2025-02-09 10:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:06:03] Production.INFO: ==14639== Lock acquired, processing the job...
[2025-02-09 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:06:03] Production.INFO: ==14643== Lock acquired, processing the job...
[2025-02-09 10:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:06:03] Production.INFO: ==14647== Lock acquired, processing the job...
[2025-02-09 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:06:03] Production.ERROR: done
[2025-02-09 10:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:06:03] Production.INFO: Account Balance Start.
[2025-02-09 10:06:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:06:03] Production.INFO: 117
[2025-02-09 10:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:06:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:06:03] Production.INFO: count ==21
[2025-02-09 10:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:06:03] Production.ERROR: done
[2025-02-09 10:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:06:03] Production.INFO: count ==21
[2025-02-09 10:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436331') start
[2025-02-09 10:06:03] Production.INFO: ==14639== Releasing lock...
[2025-02-09 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:06:04] Production.INFO: Total Charge 0
[2025-02-09 10:06:04] Production.INFO: CreateAllLog End
[2025-02-09 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436331') end
[2025-02-09 10:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:06:04] Production.INFO: 1
[2025-02-09 10:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:06:04] Production.INFO: ==14647== Releasing lock...
[2025-02-09 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:06:04] Production.INFO: Account Balance End.
[2025-02-09 10:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:06:04] Production.INFO: ==14643== Releasing lock...
[2025-02-09 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:06:05
[end_date_ymd] => 2025-02-09 10:06:05
[RateCDR] => 1
)
[2025-02-09 10:06: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` >= '2025-02-09 07:06:05' and `end` < '2025-02-09 10:06: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 ,'')
[2025-02-09 10:06:12] Production.ERROR: CronJobId end10
[2025-02-09 10:06:12] Production.INFO: ==14641== Releasing lock...
[2025-02-09 10:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:06:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:06:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:06:14] Production.INFO: call_cost start
[2025-02-09 10:06:14] Production.INFO: call_cost end
[2025-02-09 10:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:06:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:06:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:06:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:06:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:06:15] Production.INFO: ==14637== Releasing lock...
[2025-02-09 10:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:06:17] Production.INFO: count ==147
[2025-02-09 10:06:17] Production.ERROR: pbx CDR StartTime 2025-02-09 07:06:05 - End Time 2025-02-09 10:06:05
[2025-02-09 10:06:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:06:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436333', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436333', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436333', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436333', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:06:18] Production.INFO: ProcessCDR(1,14436333,1,1,2)
[2025-02-09 10:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436333', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436333', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:06:21] Production.INFO: ==14645== Releasing lock...
[2025-02-09 10:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:06:21] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:07:01] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-02-09 15:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:07:02] Production.INFO: neon service started
[2025-02-09 15:07:02] Production.INFO: neon service started
[2025-02-09 15:07:02] Production.INFO: ==14713== Releasing lock...
[2025-02-09 15:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:07:02] Production.INFO: ==14717== Lock acquired, processing the job...
[2025-02-09 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:07:02] Production.INFO: ==14717== Releasing lock...
[2025-02-09 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:07:02] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-02-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:07:02] Production.INFO: ==14715== Releasing lock...
[2025-02-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:07:03] Production.INFO: ==14720== Lock acquired, processing the job...
[2025-02-09 10:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:07:03] Production.INFO: ==14728== Lock acquired, processing the job...
[2025-02-09 10:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:07:04] Production.INFO: ==14724== Lock acquired, processing the job...
[2025-02-09 10:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:07:04] Production.INFO: ==14722== Lock acquired, processing the job...
[2025-02-09 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:07:04] Production.INFO: ==14726== Lock acquired, processing the job...
[2025-02-09 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:07:04] Production.INFO: ==14730== Lock acquired, processing the job...
[2025-02-09 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:07:04] Production.INFO: Account Balance Start.
[2025-02-09 10:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:07:04] Production.INFO: 117
[2025-02-09 10:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:07:04] Production.INFO: count ==21
[2025-02-09 10:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:07:04] Production.INFO: Total Charge 0
[2025-02-09 10:07:04] Production.INFO: CreateAllLog End
[2025-02-09 10:07:04] Production.INFO: count ==21
[2025-02-09 10:07:04] Production.ERROR: done
[2025-02-09 10:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436337') start
[2025-02-09 10:07:04] Production.INFO: ==14722== Releasing lock...
[2025-02-09 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:07:04] Production.ERROR: done
[2025-02-09 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436337') end
[2025-02-09 10:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:07:04] Production.INFO: 1
[2025-02-09 10:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:07:04] Production.INFO: ==14730== Releasing lock...
[2025-02-09 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:07:04] Production.INFO: Account Balance End.
[2025-02-09 10:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:07:04] Production.INFO: ==14726== Releasing lock...
[2025-02-09 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:07:06
[end_date_ymd] => 2025-02-09 10:07:06
[RateCDR] => 1
)
[2025-02-09 10:07: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-02-09 07:07:06' and `end` < '2025-02-09 10:07: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-02-09 10:07:13] Production.ERROR: CronJobId end10
[2025-02-09 10:07:13] Production.INFO: ==14724== Releasing lock...
[2025-02-09 10:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:07:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:07:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:07:16] Production.INFO: call_cost start
[2025-02-09 10:07:16] Production.INFO: call_cost end
[2025-02-09 10:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:07:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:07:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:07:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:07:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:07:17] Production.INFO: ==14720== Releasing lock...
[2025-02-09 10:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:07:20] Production.INFO: count ==147
[2025-02-09 10:07:20] Production.ERROR: pbx CDR StartTime 2025-02-09 07:07:06 - End Time 2025-02-09 10:07:06
[2025-02-09 10:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436338', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436338', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436338', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436338', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:07:20] Production.INFO: ProcessCDR(1,14436338,1,1,2)
[2025-02-09 10:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436338', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436338', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:07:24] Production.INFO: ==14728== Releasing lock...
[2025-02-09 10:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:07:24] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:08:01] Production.INFO: ==14790== Lock acquired, processing the job...
[2025-02-09 15:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:08:01] Production.INFO: neon service started
[2025-02-09 15:08:01] Production.INFO: neon service started
[2025-02-09 15:08:01] Production.INFO: ==14790== Releasing lock...
[2025-02-09 15:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:08:01] Production.INFO: ==14792== Lock acquired, processing the job...
[2025-02-09 10:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:08:02] Production.INFO: ==14794== Lock acquired, processing the job...
[2025-02-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:08:02] Production.INFO: ==14794== Releasing lock...
[2025-02-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:08:02] Production.INFO: ==14792== Releasing lock...
[2025-02-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:08:03] Production.INFO: ==14799== Lock acquired, processing the job...
[2025-02-09 10:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:08:03] Production.INFO: ==14801== Lock acquired, processing the job...
[2025-02-09 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:08:03] Production.INFO: ==14803== Lock acquired, processing the job...
[2025-02-09 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:08:03] Production.INFO: ==14801== Releasing lock...
[2025-02-09 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:08:03] Production.INFO: ==14805== Lock acquired, processing the job...
[2025-02-09 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:08:03] Production.INFO: ==14807== Lock acquired, processing the job...
[2025-02-09 10:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:08:03] Production.INFO: ==14809== Lock acquired, processing the job...
[2025-02-09 10:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:08:04] Production.INFO: Account Balance Start.
[2025-02-09 10:08:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:08:04] Production.INFO: 117
[2025-02-09 10:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:08:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:08:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:08:04] Production.INFO: Total Charge 0
[2025-02-09 10:08:04] Production.INFO: CreateAllLog End
[2025-02-09 10:08:04] Production.INFO: count ==21
[2025-02-09 10:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:08:04] Production.INFO: count ==21
[2025-02-09 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436342') start
[2025-02-09 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436342') end
[2025-02-09 10:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:08:04] Production.INFO: 1
[2025-02-09 10:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:08:04] Production.ERROR: done
[2025-02-09 10:08:04] Production.INFO: ==14809== Releasing lock...
[2025-02-09 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:08:04] Production.ERROR: done
[2025-02-09 10:08:04] Production.INFO: Account Balance End.
[2025-02-09 10:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:08:04] Production.INFO: ==14805== Releasing lock...
[2025-02-09 10:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:08:05
[end_date_ymd] => 2025-02-09 10:08:05
[RateCDR] => 1
)
[2025-02-09 10:08: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` >= '2025-02-09 07:08:05' and `end` < '2025-02-09 10:08: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 ,'')
[2025-02-09 10:08:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 10:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:08:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:08:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:08:12] Production.INFO: call_cost start
[2025-02-09 10:08:12] Production.INFO: call_cost end
[2025-02-09 10:08:12] Production.ERROR: CronJobId end10
[2025-02-09 10:08:12] Production.INFO: ==14803== Releasing lock...
[2025-02-09 10:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:08:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:08:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:08:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:08:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:08:13] Production.INFO: ==14799== Releasing lock...
[2025-02-09 10:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:08:18] Production.INFO: count ==147
[2025-02-09 10:08:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:08:05 - End Time 2025-02-09 10:08:05
[2025-02-09 10:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436343', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436343', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436343', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436343', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:08:18] Production.INFO: ProcessCDR(1,14436343,1,1,2)
[2025-02-09 10:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436343', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436343', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:08:22] Production.INFO: ==14807== Releasing lock...
[2025-02-09 10:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:08:22] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:09:02] Production.INFO: ==14911== Lock acquired, processing the job...
[2025-02-09 15:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:09:02] Production.INFO: neon service started
[2025-02-09 15:09:02] Production.INFO: neon service started
[2025-02-09 15:09:02] Production.INFO: ==14911== Releasing lock...
[2025-02-09 15:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:09:02] Production.INFO: ==14914== Lock acquired, processing the job...
[2025-02-09 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:09:02] Production.INFO: ==14914== Releasing lock...
[2025-02-09 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:09:02] Production.INFO: ==14916== Lock acquired, processing the job...
[2025-02-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:09:03] Production.INFO: ==14916== Releasing lock...
[2025-02-09 15:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:09:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:09:03] Production.INFO: ==14927== Lock acquired, processing the job...
[2025-02-09 10:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:09:03] Production.INFO: ==14919== Lock acquired, processing the job...
[2025-02-09 10:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:09:03] Production.INFO: ==14929== Lock acquired, processing the job...
[2025-02-09 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:09:03] Production.INFO: ==14921== Lock acquired, processing the job...
[2025-02-09 10:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:09:04] Production.INFO: ==14925== Lock acquired, processing the job...
[2025-02-09 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:09:04] Production.INFO: ==14923== Lock acquired, processing the job...
[2025-02-09 10:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:09:04] Production.INFO: count ==21
[2025-02-09 10:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:09:04] Production.INFO: count ==21
[2025-02-09 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436345') start
[2025-02-09 10:09:04] Production.ERROR: done
[2025-02-09 10:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:09:04] Production.INFO: Account Balance Start.
[2025-02-09 10:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:09:04] Production.INFO: 117
[2025-02-09 10:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436345') end
[2025-02-09 10:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:09:04] Production.INFO: 1
[2025-02-09 10:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:09:04] Production.INFO: ==14929== Releasing lock...
[2025-02-09 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:09:04] Production.ERROR: done
[2025-02-09 10:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:09:04] Production.INFO: ==14921== Releasing lock...
[2025-02-09 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:09:04] Production.INFO: Total Charge 0
[2025-02-09 10:09:04] Production.INFO: CreateAllLog End
[2025-02-09 10:09:04] Production.INFO: Account Balance End.
[2025-02-09 10:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:09:04] Production.INFO: ==14925== Releasing lock...
[2025-02-09 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:09:05
[end_date_ymd] => 2025-02-09 10:09:05
[RateCDR] => 1
)
[2025-02-09 10:09: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` >= '2025-02-09 07:09:05' and `end` < '2025-02-09 10:09: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 ,'')
[2025-02-09 10:09:12] Production.ERROR: CronJobId end10
[2025-02-09 10:09:12] Production.INFO: ==14923== Releasing lock...
[2025-02-09 10:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:09:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:09:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:09:16] Production.INFO: call_cost start
[2025-02-09 10:09:16] Production.INFO: call_cost end
[2025-02-09 10:09:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:09:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:09:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:09:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:09:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:09:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:09:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:09:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:09:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:09:17] Production.INFO: ==14919== Releasing lock...
[2025-02-09 10:09:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:09:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:09:18] Production.INFO: count ==148
[2025-02-09 10:09:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:09:05 - End Time 2025-02-09 10:09:05
[2025-02-09 10:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436348', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436348', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436348', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436348', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:09:18] Production.INFO: ProcessCDR(1,14436348,1,1,2)
[2025-02-09 10:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436348', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436348', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:09:23] Production.INFO: ==14927== Releasing lock...
[2025-02-09 10:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:09:23] Production.INFO: 28.75 MB #Memory Used#
[2025-02-09 15:10:01] Production.INFO: ==14991== Lock acquired, processing the job...
[2025-02-09 15:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:10:01] Production.INFO: neon service started
[2025-02-09 15:10:01] Production.INFO: neon service started
[2025-02-09 15:10:01] Production.INFO: ==14991== Releasing lock...
[2025-02-09 15:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:10:02] Production.INFO: ==14993== Lock acquired, processing the job...
[2025-02-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:10:02] Production.INFO: ==14995== Lock acquired, processing the job...
[2025-02-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:10:02] Production.INFO: ==14995== Releasing lock...
[2025-02-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:10:02] Production.INFO: ==14993== Releasing lock...
[2025-02-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:10:03] Production.INFO: ==14998== Lock acquired, processing the job...
[2025-02-09 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 10:10:03] Production.INFO: ==15002== Lock acquired, processing the job...
[2025-02-09 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 10:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 10:10:03] Production.INFO: ==14998== Releasing lock...
[2025-02-09 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 10:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 10:10:03] Production.INFO: ==15006== Lock acquired, processing the job...
[2025-02-09 10:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:10:04] Production.INFO: ==15010== Lock acquired, processing the job...
[2025-02-09 10:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 10:10:04] Production.INFO: ==15000== Lock acquired, processing the job...
[2025-02-09 10:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:10:04] Production.INFO: Account Balance Start.
[2025-02-09 10:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:10:04] Production.INFO: 117
[2025-02-09 10:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:10:04] Production.INFO: ==15004== Lock acquired, processing the job...
[2025-02-09 10:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:10:04] Production.INFO: Total Charge 0
[2025-02-09 10:10:04] Production.INFO: ==15008== Lock acquired, processing the job...
[2025-02-09 10:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:10:04] Production.INFO: CreateAllLog End
[2025-02-09 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:10:04] Production.INFO: ==15012== Lock acquired, processing the job...
[2025-02-09 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:10:04] Production.INFO: ==15002== Releasing lock...
[2025-02-09 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:10:04] Production.INFO: Account Balance End.
[2025-02-09 10:10:04] Production.ERROR: done
[2025-02-09 10:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:10:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:10:04] Production.INFO: ==15006== Releasing lock...
[2025-02-09 10:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:10:04] Production.INFO: count ==21
[2025-02-09 10:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 10:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436353', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 10:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:10:04] Production.INFO: count ==21
[2025-02-09 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436352') start
[2025-02-09 10:10:04] Production.ERROR: done
[2025-02-09 10:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436352') end
[2025-02-09 10:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:10:04] Production.INFO: 1
[2025-02-09 10:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:10:04] Production.INFO: ==15012== Releasing lock...
[2025-02-09 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:10:05] Production.ERROR: done
[2025-02-09 10:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:10:06
[end_date_ymd] => 2025-02-09 10:10:06
[RateCDR] => 1
)
[2025-02-09 10:10: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-02-09 07:10:06' and `end` < '2025-02-09 10:10: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-02-09 10:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436353', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 10:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 10:10:09] Production.INFO: ProcessCDR(1,14436353,1,1,2)
[2025-02-09 10:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436353,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436353,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:10:09] Production.INFO: ==15010== Releasing lock...
[2025-02-09 10:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 10:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 10:10:14] Production.ERROR: CronJobId end10
[2025-02-09 10:10:14] Production.INFO: ==15004== Releasing lock...
[2025-02-09 10:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:10:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:10:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:10:18] Production.INFO: call_cost start
[2025-02-09 10:10:18] Production.INFO: call_cost end
[2025-02-09 10:10:19] Production.INFO: count ==160
[2025-02-09 10:10:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:10:06 - End Time 2025-02-09 10:10:06
[2025-02-09 10:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436354', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436354', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436354', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436354', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:10:19] Production.INFO: ProcessCDR(1,14436354,1,1,2)
[2025-02-09 10:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:10:19] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:10:19] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:10:19] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:10:19] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:10:19] Production.INFO: ==15000== Releasing lock...
[2025-02-09 10:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436354', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436354', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:10:24] Production.INFO: ==15008== Releasing lock...
[2025-02-09 10:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:10:24] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:11:01] Production.INFO: ==15079== Lock acquired, processing the job...
[2025-02-09 15:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:11:02] Production.INFO: neon service started
[2025-02-09 15:11:02] Production.INFO: neon service started
[2025-02-09 15:11:02] Production.INFO: ==15079== Releasing lock...
[2025-02-09 15:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:11:02] Production.INFO: ==15081== Lock acquired, processing the job...
[2025-02-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:11:02] Production.INFO: ==15081== Releasing lock...
[2025-02-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:11:02] Production.INFO: ==15083== Lock acquired, processing the job...
[2025-02-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:11:03] Production.INFO: ==15083== Releasing lock...
[2025-02-09 15:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:11:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:11:03] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-02-09 10:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:11:03] Production.INFO: ==15089== Lock acquired, processing the job...
[2025-02-09 10:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:11:03] Production.INFO: ==15091== Lock acquired, processing the job...
[2025-02-09 10:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:11:03] Production.INFO: Account Balance Start.
[2025-02-09 10:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:11:03] Production.INFO: 117
[2025-02-09 10:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:11:04] Production.INFO: ==15087== Lock acquired, processing the job...
[2025-02-09 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:11:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:11:04] Production.INFO: ==15093== Lock acquired, processing the job...
[2025-02-09 10:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:11:04] Production.INFO: ==15096== Lock acquired, processing the job...
[2025-02-09 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:11:04] Production.INFO: Total Charge 0
[2025-02-09 10:11:04] Production.INFO: CreateAllLog End
[2025-02-09 10:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:11:04] Production.INFO: count ==21
[2025-02-09 10:11:04] Production.ERROR: done
[2025-02-09 10:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:11:04] Production.INFO: count ==21
[2025-02-09 10:11:04] Production.INFO: ==15087== Releasing lock...
[2025-02-09 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436358') start
[2025-02-09 10:11:04] Production.ERROR: done
[2025-02-09 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436358') end
[2025-02-09 10:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:11:04] Production.INFO: 1
[2025-02-09 10:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:11:04] Production.INFO: ==15096== Releasing lock...
[2025-02-09 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:11:04] Production.INFO: Account Balance End.
[2025-02-09 10:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:11:04] Production.INFO: ==15091== Releasing lock...
[2025-02-09 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:11:05
[end_date_ymd] => 2025-02-09 10:11:05
[RateCDR] => 1
)
[2025-02-09 10:11: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` >= '2025-02-09 07:11:05' and `end` < '2025-02-09 10:11: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 ,'')
[2025-02-09 10:11:13] Production.ERROR: CronJobId end10
[2025-02-09 10:11:13] Production.INFO: ==15089== Releasing lock...
[2025-02-09 10:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:11:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:11:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:11:16] Production.INFO: call_cost start
[2025-02-09 10:11:16] Production.INFO: call_cost end
[2025-02-09 10:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:11:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:11:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:11:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:11:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:11:17] Production.INFO: ==15085== Releasing lock...
[2025-02-09 10:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:11:19] Production.INFO: count ==171
[2025-02-09 10:11:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:11:05 - End Time 2025-02-09 10:11:05
[2025-02-09 10:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436359', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436359', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436359', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436359', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:11:19] Production.INFO: ProcessCDR(1,14436359,1,1,2)
[2025-02-09 10:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436359', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436359', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:11:25] Production.INFO: ==15093== Releasing lock...
[2025-02-09 10:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:11:25] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:12:01] Production.INFO: ==15159== Lock acquired, processing the job...
[2025-02-09 15:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:12:01] Production.INFO: neon service started
[2025-02-09 15:12:01] Production.INFO: neon service started
[2025-02-09 15:12:01] Production.INFO: ==15159== Releasing lock...
[2025-02-09 15:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:12:02] Production.INFO: ==15161== Lock acquired, processing the job...
[2025-02-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:12:02] Production.INFO: ==15163== Lock acquired, processing the job...
[2025-02-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:12:02] Production.INFO: ==15163== Releasing lock...
[2025-02-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:12:02] Production.INFO: ==15161== Releasing lock...
[2025-02-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:12:03] Production.INFO: ==15170== Lock acquired, processing the job...
[2025-02-09 10:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:12:03] Production.INFO: ==15172== Lock acquired, processing the job...
[2025-02-09 10:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:12:03] Production.INFO: ==15166== Lock acquired, processing the job...
[2025-02-09 10:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:12:03] Production.INFO: Account Balance Start.
[2025-02-09 10:12:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:12:03] Production.INFO: 117
[2025-02-09 10:12:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:12:03] Production.INFO: ==15168== Lock acquired, processing the job...
[2025-02-09 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:12:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:12:03] Production.INFO: Total Charge 0
[2025-02-09 10:12:03] Production.INFO: CreateAllLog End
[2025-02-09 10:12:03] Production.INFO: ==15174== Lock acquired, processing the job...
[2025-02-09 10:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:12:03] Production.INFO: ==15176== Lock acquired, processing the job...
[2025-02-09 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:12:04] Production.INFO: count ==21
[2025-02-09 10:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:12:04] Production.INFO: ==15168== Releasing lock...
[2025-02-09 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:12:04] Production.INFO: count ==21
[2025-02-09 10:12:04] Production.INFO: Account Balance End.
[2025-02-09 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436363') start
[2025-02-09 10:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:12:04] Production.INFO: ==15172== Releasing lock...
[2025-02-09 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:12:04] Production.ERROR: done
[2025-02-09 10:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436363') end
[2025-02-09 10:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:12:04] Production.INFO: 1
[2025-02-09 10:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:12:04] Production.INFO: ==15176== Releasing lock...
[2025-02-09 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:12:04] Production.ERROR: done
[2025-02-09 10:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:12:05
[end_date_ymd] => 2025-02-09 10:12:05
[RateCDR] => 1
)
[2025-02-09 10:12: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` >= '2025-02-09 07:12:05' and `end` < '2025-02-09 10:12: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 ,'')
[2025-02-09 10:12:11] Production.ERROR: CronJobId end10
[2025-02-09 10:12:11] Production.INFO: ==15170== Releasing lock...
[2025-02-09 10:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:12:14] Production.INFO: call_cost start
[2025-02-09 10:12:14] Production.INFO: call_cost end
[2025-02-09 10:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:12:15] Production.INFO: ==15166== Releasing lock...
[2025-02-09 10:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:12:18] Production.INFO: count ==172
[2025-02-09 10:12:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:12:05 - End Time 2025-02-09 10:12:05
[2025-02-09 10:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436364', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436364', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436364', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436364', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:12:18] Production.INFO: ProcessCDR(1,14436364,1,1,2)
[2025-02-09 10:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436364', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436364', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:12:23] Production.INFO: ==15174== Releasing lock...
[2025-02-09 10:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:12:23] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:13:02] Production.INFO: ==15245== Lock acquired, processing the job...
[2025-02-09 15:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:13:02] Production.INFO: neon service started
[2025-02-09 15:13:02] Production.INFO: neon service started
[2025-02-09 15:13:02] Production.INFO: ==15245== Releasing lock...
[2025-02-09 15:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:13:02] Production.INFO: ==15249== Lock acquired, processing the job...
[2025-02-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:13:02] Production.INFO: ==15249== Releasing lock...
[2025-02-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:13:02] Production.INFO: ==15247== Lock acquired, processing the job...
[2025-02-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:13:02] Production.INFO: ==15247== Releasing lock...
[2025-02-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:13:03] Production.INFO: ==15256== Lock acquired, processing the job...
[2025-02-09 10:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:13:03] Production.INFO: ==15254== Lock acquired, processing the job...
[2025-02-09 10:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:13:03] Production.INFO: ==15260== Lock acquired, processing the job...
[2025-02-09 10:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:13:04] Production.INFO: ==15262== Lock acquired, processing the job...
[2025-02-09 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:13:04] Production.INFO: ==15252== Lock acquired, processing the job...
[2025-02-09 10:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:13:04] Production.INFO: ==15258== Lock acquired, processing the job...
[2025-02-09 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:13:04] Production.INFO: count ==21
[2025-02-09 10:13:04] Production.ERROR: done
[2025-02-09 10:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:13:04] Production.INFO: count ==21
[2025-02-09 10:13:04] Production.INFO: ==15254== Releasing lock...
[2025-02-09 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436366') start
[2025-02-09 10:13:04] Production.INFO: Account Balance Start.
[2025-02-09 10:13:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:13:04] Production.INFO: 117
[2025-02-09 10:13:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:13:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436366') end
[2025-02-09 10:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:13:04] Production.INFO: 1
[2025-02-09 10:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:13:04] Production.INFO: Total Charge 0
[2025-02-09 10:13:04] Production.INFO: ==15262== Releasing lock...
[2025-02-09 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:13:04] Production.INFO: CreateAllLog End
[2025-02-09 10:13:04] Production.ERROR: done
[2025-02-09 10:13:04] Production.INFO: Account Balance End.
[2025-02-09 10:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:13:04] Production.INFO: ==15258== Releasing lock...
[2025-02-09 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:13:05
[end_date_ymd] => 2025-02-09 10:13:05
[RateCDR] => 1
)
[2025-02-09 10:13: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` >= '2025-02-09 07:13:05' and `end` < '2025-02-09 10:13: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 ,'')
[2025-02-09 10:13:12] Production.ERROR: CronJobId end10
[2025-02-09 10:13:12] Production.INFO: ==15256== Releasing lock...
[2025-02-09 10:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:13:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:13:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:13:15] Production.INFO: call_cost start
[2025-02-09 10:13:15] Production.INFO: call_cost end
[2025-02-09 10:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:13:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:13:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:13:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:13:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:13:16] Production.INFO: ==15252== Releasing lock...
[2025-02-09 10:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:13:19] Production.INFO: count ==172
[2025-02-09 10:13:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:13:05 - End Time 2025-02-09 10:13:05
[2025-02-09 10:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436369', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436369', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436369', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436369', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:13:19] Production.INFO: ProcessCDR(1,14436369,1,1,2)
[2025-02-09 10:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436369', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436369', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:13:23] Production.INFO: ==15260== Releasing lock...
[2025-02-09 10:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:13:23] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:14:01] Production.INFO: ==15321== Lock acquired, processing the job...
[2025-02-09 15:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:14:01] Production.INFO: neon service started
[2025-02-09 15:14:01] Production.INFO: neon service started
[2025-02-09 15:14:01] Production.INFO: ==15321== Releasing lock...
[2025-02-09 15:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:14:02] Production.INFO: ==15325== Lock acquired, processing the job...
[2025-02-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:14:02] Production.INFO: ==15325== Releasing lock...
[2025-02-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:14:02] Production.INFO: ==15323== Lock acquired, processing the job...
[2025-02-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:14:02] Production.INFO: ==15323== Releasing lock...
[2025-02-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:14:03] Production.INFO: ==15328== Lock acquired, processing the job...
[2025-02-09 10:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:14:03] Production.INFO: ==15334== Lock acquired, processing the job...
[2025-02-09 10:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:14:03] Production.INFO: ==15330== Lock acquired, processing the job...
[2025-02-09 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:14:03] Production.INFO: ==15332== Lock acquired, processing the job...
[2025-02-09 10:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:14:03] Production.INFO: Account Balance Start.
[2025-02-09 10:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:14:03] Production.INFO: 117
[2025-02-09 10:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:14:03] Production.INFO: ==15338== Lock acquired, processing the job...
[2025-02-09 10:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:14:03] Production.INFO: Total Charge 0
[2025-02-09 10:14:03] Production.INFO: ==15336== Lock acquired, processing the job...
[2025-02-09 10:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:14:03] Production.INFO: CreateAllLog End
[2025-02-09 10:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:14:03] Production.INFO: count ==21
[2025-02-09 10:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:14:03] Production.INFO: count ==21
[2025-02-09 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436373') start
[2025-02-09 10:14:04] Production.INFO: ==15330== Releasing lock...
[2025-02-09 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436373') end
[2025-02-09 10:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:14:04] Production.INFO: 1
[2025-02-09 10:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:14:04] Production.INFO: ==15338== Releasing lock...
[2025-02-09 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:14:04] Production.ERROR: done
[2025-02-09 10:14:04] Production.INFO: Account Balance End.
[2025-02-09 10:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:14:04] Production.INFO: ==15334== Releasing lock...
[2025-02-09 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:14:04] Production.ERROR: done
[2025-02-09 10:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:14:05
[end_date_ymd] => 2025-02-09 10:14:05
[RateCDR] => 1
)
[2025-02-09 10:14: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` >= '2025-02-09 07:14:05' and `end` < '2025-02-09 10:14: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 ,'')
[2025-02-09 10:14:12] Production.ERROR: CronJobId end10
[2025-02-09 10:14:12] Production.INFO: ==15332== Releasing lock...
[2025-02-09 10:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:14:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:14:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:14:15] Production.INFO: call_cost start
[2025-02-09 10:14:15] Production.INFO: call_cost end
[2025-02-09 10:14:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:14:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:14:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:14:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:14:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:14:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:14:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:14:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:14:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:14:16] Production.INFO: ==15328== Releasing lock...
[2025-02-09 10:14:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:14:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:14:18] Production.INFO: count ==174
[2025-02-09 10:14:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:14:05 - End Time 2025-02-09 10:14:05
[2025-02-09 10:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436374', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436374', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436374', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436374', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:14:18] Production.INFO: ProcessCDR(1,14436374,1,1,2)
[2025-02-09 10:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436374', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436374', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:14:23] Production.INFO: ==15336== Releasing lock...
[2025-02-09 10:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:14:23] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:15:02] Production.INFO: ==15402== Lock acquired, processing the job...
[2025-02-09 15:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:15:02] Production.INFO: neon service started
[2025-02-09 15:15:02] Production.INFO: neon service started
[2025-02-09 15:15:02] Production.INFO: ==15402== Releasing lock...
[2025-02-09 15:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:15:02] Production.INFO: ==15404== Lock acquired, processing the job...
[2025-02-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:15:02] Production.INFO: ==15404== Releasing lock...
[2025-02-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:15:02] Production.INFO: ==15406== Lock acquired, processing the job...
[2025-02-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:15:03] Production.INFO: ==15406== Releasing lock...
[2025-02-09 15:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:15:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:15:03] Production.INFO: ==15411== Lock acquired, processing the job...
[2025-02-09 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:15:03] Production.INFO: ==15409== Lock acquired, processing the job...
[2025-02-09 10:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:15:03] Production.INFO: ==15415== Lock acquired, processing the job...
[2025-02-09 10:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:15:03] Production.INFO: ==15411== Releasing lock...
[2025-02-09 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:15:04] Production.INFO: ==15413== Lock acquired, processing the job...
[2025-02-09 10:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:15:04] Production.INFO: Account Balance Start.
[2025-02-09 10:15:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:15:04] Production.INFO: 117
[2025-02-09 10:15:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:15:04] Production.INFO: ==15417== Lock acquired, processing the job...
[2025-02-09 10:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:15:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:15:04] Production.INFO: ==15419== Lock acquired, processing the job...
[2025-02-09 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:15:04] Production.INFO: Total Charge 0
[2025-02-09 10:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:15:04] Production.INFO: CreateAllLog End
[2025-02-09 10:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:15:04] Production.INFO: count ==21
[2025-02-09 10:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:15:04] Production.INFO: count ==21
[2025-02-09 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436378') start
[2025-02-09 10:15:04] Production.INFO: Account Balance End.
[2025-02-09 10:15:04] Production.ERROR: done
[2025-02-09 10:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436378') end
[2025-02-09 10:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:15:04] Production.INFO: 1
[2025-02-09 10:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:15:04] Production.INFO: ==15415== Releasing lock...
[2025-02-09 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:15:04] Production.INFO: ==15419== Releasing lock...
[2025-02-09 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:15:04] Production.ERROR: done
[2025-02-09 10:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:15:05
[end_date_ymd] => 2025-02-09 10:15:05
[RateCDR] => 1
)
[2025-02-09 10:15: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` >= '2025-02-09 07:15:05' and `end` < '2025-02-09 10:15: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 ,'')
[2025-02-09 10:15:13] Production.ERROR: CronJobId end10
[2025-02-09 10:15:13] Production.INFO: ==15413== Releasing lock...
[2025-02-09 10:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:15:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:15:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:15:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:15:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:15:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:15:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:15:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:15:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:15:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:15:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:15:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:15:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:15:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:15:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:15:15] Production.INFO: call_cost start
[2025-02-09 10:15:15] Production.INFO: call_cost end
[2025-02-09 10:15:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:15:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:15:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:15:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:15:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:15:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:15:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:15:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:15:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:15:16] Production.INFO: ==15409== Releasing lock...
[2025-02-09 10:15:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:15:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:15:18] Production.INFO: count ==177
[2025-02-09 10:15:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:15:05 - End Time 2025-02-09 10:15:05
[2025-02-09 10:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436379', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436379', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436379', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436379', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:15:18] Production.INFO: ProcessCDR(1,14436379,1,1,2)
[2025-02-09 10:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436379', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436379', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:15:23] Production.INFO: ==15417== Releasing lock...
[2025-02-09 10:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:15:23] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:16:01] Production.INFO: ==15484== Lock acquired, processing the job...
[2025-02-09 15:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:16:01] Production.INFO: neon service started
[2025-02-09 15:16:01] Production.INFO: neon service started
[2025-02-09 15:16:01] Production.INFO: ==15484== Releasing lock...
[2025-02-09 15:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:16:01] Production.INFO: ==15486== Lock acquired, processing the job...
[2025-02-09 10:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:16:02] Production.INFO: ==15486== Releasing lock...
[2025-02-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:16:02] Production.INFO: ==15488== Lock acquired, processing the job...
[2025-02-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:16:02] Production.INFO: ==15488== Releasing lock...
[2025-02-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:16:03] Production.INFO: ==15491== Lock acquired, processing the job...
[2025-02-09 10:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:16:03] Production.INFO: ==15495== Lock acquired, processing the job...
[2025-02-09 10:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:16:03] Production.INFO: ==15499== Lock acquired, processing the job...
[2025-02-09 10:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:16:03] Production.INFO: ==15493== Lock acquired, processing the job...
[2025-02-09 10:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:16:03] Production.INFO: ==15497== Lock acquired, processing the job...
[2025-02-09 10:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:16:03] Production.INFO: ==15501== Lock acquired, processing the job...
[2025-02-09 10:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:16:03] Production.INFO: Account Balance Start.
[2025-02-09 10:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:16:03] Production.INFO: 117
[2025-02-09 10:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:16:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:16:03] Production.INFO: count ==21
[2025-02-09 10:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:16:04] Production.INFO: count ==21
[2025-02-09 10:16:04] Production.INFO: Total Charge 0
[2025-02-09 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436383') start
[2025-02-09 10:16:04] Production.INFO: CreateAllLog End
[2025-02-09 10:16:04] Production.ERROR: done
[2025-02-09 10:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:16:04] Production.INFO: ==15493== Releasing lock...
[2025-02-09 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:16:04] Production.ERROR: done
[2025-02-09 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436383') end
[2025-02-09 10:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:16:04] Production.INFO: 1
[2025-02-09 10:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:16:04] Production.INFO: Account Balance End.
[2025-02-09 10:16:04] Production.INFO: ==15501== Releasing lock...
[2025-02-09 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:16:04] Production.INFO: ==15497== Releasing lock...
[2025-02-09 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:16:05
[end_date_ymd] => 2025-02-09 10:16:05
[RateCDR] => 1
)
[2025-02-09 10:16: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` >= '2025-02-09 07:16:05' and `end` < '2025-02-09 10:16: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 ,'')
[2025-02-09 10:16:12] Production.ERROR: CronJobId end10
[2025-02-09 10:16:12] Production.INFO: ==15495== Releasing lock...
[2025-02-09 10:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:16:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:16:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:16:15] Production.INFO: call_cost start
[2025-02-09 10:16:15] Production.INFO: call_cost end
[2025-02-09 10:16:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:16:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:16:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:16:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:16:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:16:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:16:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:16:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:16:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:16:16] Production.INFO: ==15491== Releasing lock...
[2025-02-09 10:16:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:16:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:16:18] Production.INFO: count ==182
[2025-02-09 10:16:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:16:05 - End Time 2025-02-09 10:16:05
[2025-02-09 10:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436384', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436384', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436384', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436384', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:16:18] Production.INFO: ProcessCDR(1,14436384,1,1,2)
[2025-02-09 10:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436384', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436384', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:16:23] Production.INFO: ==15499== Releasing lock...
[2025-02-09 10:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:16:23] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:17:02] Production.INFO: ==15565== Lock acquired, processing the job...
[2025-02-09 15:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:17:02] Production.INFO: neon service started
[2025-02-09 15:17:02] Production.INFO: neon service started
[2025-02-09 15:17:02] Production.INFO: ==15565== Releasing lock...
[2025-02-09 15:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:17:02] Production.INFO: ==15569== Lock acquired, processing the job...
[2025-02-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:17:02] Production.INFO: ==15569== Releasing lock...
[2025-02-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:17:02] Production.INFO: ==15567== Lock acquired, processing the job...
[2025-02-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:17:02] Production.INFO: ==15567== Releasing lock...
[2025-02-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:17:03] Production.INFO: ==15571== Lock acquired, processing the job...
[2025-02-09 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:17:03] Production.INFO: ==15573== Lock acquired, processing the job...
[2025-02-09 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:17:03] Production.INFO: ==15576== Lock acquired, processing the job...
[2025-02-09 10:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:17:04] Production.INFO: ==15578== Lock acquired, processing the job...
[2025-02-09 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:17:04] Production.INFO: ==15580== Lock acquired, processing the job...
[2025-02-09 10:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:17:04] Production.INFO: ==15582== Lock acquired, processing the job...
[2025-02-09 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:17:04] Production.INFO: Account Balance Start.
[2025-02-09 10:17:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:17:04] Production.INFO: 117
[2025-02-09 10:17:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:17:04] Production.INFO: ==15573== Releasing lock...
[2025-02-09 10:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:17:04] Production.INFO: count ==21
[2025-02-09 10:17:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:17:04] Production.INFO: count ==21
[2025-02-09 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436388') start
[2025-02-09 10:17:04] Production.INFO: Total Charge 0
[2025-02-09 10:17:04] Production.INFO: CreateAllLog End
[2025-02-09 10:17:04] Production.ERROR: done
[2025-02-09 10:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436388') end
[2025-02-09 10:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:17:04] Production.INFO: 1
[2025-02-09 10:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:17:05] Production.INFO: ==15582== Releasing lock...
[2025-02-09 10:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:17:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:17:05] Production.ERROR: done
[2025-02-09 10:17:05] Production.INFO: Account Balance End.
[2025-02-09 10:17:05] Production.ERROR: CronJobId end 12
[2025-02-09 10:17:05] Production.INFO: ==15578== Releasing lock...
[2025-02-09 10:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:17:06
[end_date_ymd] => 2025-02-09 10:17:06
[RateCDR] => 1
)
[2025-02-09 10:17: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-02-09 07:17:06' and `end` < '2025-02-09 10:17: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-02-09 10:17:14] Production.ERROR: CronJobId end10
[2025-02-09 10:17:14] Production.INFO: ==15576== Releasing lock...
[2025-02-09 10:17:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:17:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:17:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:17:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:17:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:17:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:17:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:17:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:17:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:17:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:17:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:17:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:17:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:17:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:17:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:17:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:17:16] Production.INFO: call_cost start
[2025-02-09 10:17:16] Production.INFO: call_cost end
[2025-02-09 10:17:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:17:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:17:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:17:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:17:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:17:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:17:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:17:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:17:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:17:17] Production.INFO: ==15571== Releasing lock...
[2025-02-09 10:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:17:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:17:19] Production.INFO: count ==182
[2025-02-09 10:17:20] Production.ERROR: pbx CDR StartTime 2025-02-09 07:17:06 - End Time 2025-02-09 10:17:06
[2025-02-09 10:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436389', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436389', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436389', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436389', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:17:20] Production.INFO: ProcessCDR(1,14436389,1,1,2)
[2025-02-09 10:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436389', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436389', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:17:23] Production.INFO: ==15580== Releasing lock...
[2025-02-09 10:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:17:23] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:18:01] Production.INFO: ==15643== Lock acquired, processing the job...
[2025-02-09 15:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:18:01] Production.INFO: neon service started
[2025-02-09 15:18:01] Production.INFO: neon service started
[2025-02-09 15:18:01] Production.INFO: ==15643== Releasing lock...
[2025-02-09 15:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:18:01] Production.INFO: ==15647== Lock acquired, processing the job...
[2025-02-09 10:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:18:02] Production.INFO: ==15647== Releasing lock...
[2025-02-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:18:02] Production.INFO: ==15649== Lock acquired, processing the job...
[2025-02-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:18:02] Production.INFO: ==15649== Releasing lock...
[2025-02-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:18:02] Production.INFO: ==15656== Lock acquired, processing the job...
[2025-02-09 10:18:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:18:03] Production.INFO: ==15652== Lock acquired, processing the job...
[2025-02-09 10:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:18:03] Production.INFO: ==15654== Lock acquired, processing the job...
[2025-02-09 10:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:18:03] Production.INFO: ==15658== Lock acquired, processing the job...
[2025-02-09 10:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:18:03] Production.INFO: ==15660== Lock acquired, processing the job...
[2025-02-09 10:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:18:03] Production.INFO: ==15662== Lock acquired, processing the job...
[2025-02-09 10:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:18:03] Production.INFO: Account Balance Start.
[2025-02-09 10:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:18:03] Production.INFO: 117
[2025-02-09 10:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:18:03] Production.INFO: Total Charge 0
[2025-02-09 10:18:03] Production.INFO: CreateAllLog End
[2025-02-09 10:18:04] Production.INFO: ==15654== Releasing lock...
[2025-02-09 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:18:04] Production.INFO: count ==21
[2025-02-09 10:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:18:04] Production.INFO: count ==21
[2025-02-09 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436393') start
[2025-02-09 10:18:04] Production.INFO: Account Balance End.
[2025-02-09 10:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:18:04] Production.INFO: ==15658== Releasing lock...
[2025-02-09 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436393') end
[2025-02-09 10:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:18:04] Production.INFO: 1
[2025-02-09 10:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:18:04] Production.INFO: ==15662== Releasing lock...
[2025-02-09 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:18:04] Production.ERROR: done
[2025-02-09 10:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:18:04] Production.ERROR: done
[2025-02-09 10:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:18:05
[end_date_ymd] => 2025-02-09 10:18:05
[RateCDR] => 1
)
[2025-02-09 10:18: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` >= '2025-02-09 07:18:05' and `end` < '2025-02-09 10:18: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 ,'')
[2025-02-09 10:18:12] Production.ERROR: CronJobId end10
[2025-02-09 10:18:12] Production.INFO: ==15656== Releasing lock...
[2025-02-09 10:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:18:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:18:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:18:14] Production.INFO: call_cost start
[2025-02-09 10:18:14] Production.INFO: call_cost end
[2025-02-09 10:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:18:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:18:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:18:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:18:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:18:15] Production.INFO: ==15652== Releasing lock...
[2025-02-09 10:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:18:18] Production.INFO: count ==183
[2025-02-09 10:18:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:18:05 - End Time 2025-02-09 10:18:05
[2025-02-09 10:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436394', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436394', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436394', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436394', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:18:18] Production.INFO: ProcessCDR(1,14436394,1,1,2)
[2025-02-09 10:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436394', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436394', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:18:23] Production.INFO: ==15660== Releasing lock...
[2025-02-09 10:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:18:23] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:19:01] Production.INFO: ==15725== Lock acquired, processing the job...
[2025-02-09 15:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:19:01] Production.INFO: neon service started
[2025-02-09 15:19:01] Production.INFO: neon service started
[2025-02-09 15:19:01] Production.INFO: ==15725== Releasing lock...
[2025-02-09 15:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:19:02] Production.INFO: ==15727== Lock acquired, processing the job...
[2025-02-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:19:02] Production.INFO: ==15727== Releasing lock...
[2025-02-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:19:02] Production.INFO: ==15729== Lock acquired, processing the job...
[2025-02-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:19:02] Production.INFO: ==15729== Releasing lock...
[2025-02-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:19:03] Production.INFO: ==15737== Lock acquired, processing the job...
[2025-02-09 10:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:19:03] Production.INFO: ==15741== Lock acquired, processing the job...
[2025-02-09 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:19:03] Production.INFO: Account Balance Start.
[2025-02-09 10:19:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:19:03] Production.INFO: 117
[2025-02-09 10:19:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:19:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:19:03] Production.INFO: ==15731== Lock acquired, processing the job...
[2025-02-09 10:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:19:03] Production.INFO: Total Charge 0
[2025-02-09 10:19:03] Production.INFO: count ==21
[2025-02-09 10:19:03] Production.INFO: CreateAllLog End
[2025-02-09 10:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:19:03] Production.INFO: ==15735== Lock acquired, processing the job...
[2025-02-09 10:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:19:03] Production.INFO: count ==21
[2025-02-09 10:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436396') start
[2025-02-09 10:19:03] Production.INFO: ==15733== Lock acquired, processing the job...
[2025-02-09 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:19:03] Production.INFO: ==15739== Lock acquired, processing the job...
[2025-02-09 10:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436396') end
[2025-02-09 10:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:19:03] Production.INFO: 1
[2025-02-09 10:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:19:03] Production.INFO: Account Balance End.
[2025-02-09 10:19:04] Production.INFO: ==15741== Releasing lock...
[2025-02-09 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:19:04] Production.INFO: ==15737== Releasing lock...
[2025-02-09 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:19:04] Production.ERROR: done
[2025-02-09 10:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:19:04] Production.ERROR: done
[2025-02-09 10:19:04] Production.INFO: ==15733== Releasing lock...
[2025-02-09 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:19:05
[end_date_ymd] => 2025-02-09 10:19:05
[RateCDR] => 1
)
[2025-02-09 10:19: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` >= '2025-02-09 07:19:05' and `end` < '2025-02-09 10:19: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 ,'')
[2025-02-09 10:19:12] Production.ERROR: CronJobId end10
[2025-02-09 10:19:12] Production.INFO: ==15735== Releasing lock...
[2025-02-09 10:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:19:14] Production.INFO: call_cost start
[2025-02-09 10:19:14] Production.INFO: call_cost end
[2025-02-09 10:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:19:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:19:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:19:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:19:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:19:14] Production.INFO: ==15731== Releasing lock...
[2025-02-09 10:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:19:18] Production.INFO: count ==182
[2025-02-09 10:19:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:19:05 - End Time 2025-02-09 10:19:05
[2025-02-09 10:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436399', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436399', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436399', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436399', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:19:18] Production.INFO: ProcessCDR(1,14436399,1,1,2)
[2025-02-09 10:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436399', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436399', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:19:21] Production.INFO: ==15739== Releasing lock...
[2025-02-09 10:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:19:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:20:02] Production.INFO: ==15812== Lock acquired, processing the job...
[2025-02-09 15:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:20:02] Production.INFO: neon service started
[2025-02-09 15:20:02] Production.INFO: neon service started
[2025-02-09 15:20:02] Production.INFO: ==15812== Releasing lock...
[2025-02-09 15:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:20:02] Production.INFO: ==15814== Lock acquired, processing the job...
[2025-02-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:20:03] Production.INFO: ==15814== Releasing lock...
[2025-02-09 10:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:20:03] Production.INFO: ==15816== Lock acquired, processing the job...
[2025-02-09 15:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:20:03] Production.INFO: ==15816== Releasing lock...
[2025-02-09 15:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:20:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:20:04] Production.INFO: ==15822== Lock acquired, processing the job...
[2025-02-09 10:20:04] Production.INFO: ==15826== Lock acquired, processing the job...
[2025-02-09 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:20:04] Production.INFO: ==15833== Lock acquired, processing the job...
[2025-02-09 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:20:04] Production.INFO: ==15820== Lock acquired, processing the job...
[2025-02-09 10:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:20:04] Production.INFO: Account Balance Start.
[2025-02-09 10:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:20:04] Production.INFO: 117
[2025-02-09 10:20:04] Production.INFO: ==15824== Lock acquired, processing the job...
[2025-02-09 10:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:20:04] Production.INFO: ==15818== Lock acquired, processing the job...
[2025-02-09 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 10:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:20:04] Production.INFO: ==15828== Lock acquired, processing the job...
[2025-02-09 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:20:04] Production.INFO: count ==21
[2025-02-09 10:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:20:04] Production.INFO: count ==21
[2025-02-09 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:20:04] Production.INFO: ==15830== Lock acquired, processing the job...
[2025-02-09 10:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:20:04] Production.ERROR: CronJob PID - 15820
[2025-02-09 10:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 10:20:04] Production.ERROR: CronJob ID - 5
[2025-02-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:20:00
[2025-02-09 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:20:04] Production.ERROR: CronJob PID - 15822
[2025-02-09 10:20:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 10:20:04] Production.ERROR: CronJob ID - 7
[2025-02-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:20:00
[2025-02-09 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:20:04] Production.ERROR: CronJob PID - 15824
[2025-02-09 10:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 10:20:04] Production.ERROR: CronJob ID - 10
[2025-02-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:20:00
[2025-02-09 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:20:04] Production.ERROR: CronJob PID - 15826
[2025-02-09 10:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 10:20:04] Production.ERROR: CronJob ID - 12
[2025-02-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:20:00
[2025-02-09 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:20:04] Production.ERROR: CronJob PID - 15828
[2025-02-09 10:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 10:20:04] Production.ERROR: CronJob ID - 16
[2025-02-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:20:00
[2025-02-09 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:20:04] Production.ERROR: CronJob PID - 15833
[2025-02-09 10:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 10:20:04] Production.ERROR: CronJob ID - 19
[2025-02-09 10:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:20:00
[2025-02-09 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436401') start
[2025-02-09 10:20:04] Production.INFO: Total Charge 0
[2025-02-09 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 10:20:04] Production.INFO: ==15818== Releasing lock...
[2025-02-09 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 10:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 10:20:04] Production.INFO: CreateAllLog End
[2025-02-09 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436401') end
[2025-02-09 10:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:20:04] Production.INFO: 1
[2025-02-09 10:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:20:05] Production.INFO: ==15822== Releasing lock...
[2025-02-09 10:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:20:05] Production.INFO: ==15833== Releasing lock...
[2025-02-09 10:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:20:05] Production.ERROR: done
[2025-02-09 10:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:20:05] Production.ERROR: done
[2025-02-09 10:20:05] Production.INFO: Account Balance End.
[2025-02-09 10:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 10:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436404', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 10:20:05] Production.ERROR: CronJobId end 12
[2025-02-09 10:20:05] Production.INFO: ==15826== Releasing lock...
[2025-02-09 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:20:05] Production.ERROR: done
[2025-02-09 10:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:20:06
[end_date_ymd] => 2025-02-09 10:20:06
[RateCDR] => 1
)
[2025-02-09 10:20: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-02-09 07:20:06' and `end` < '2025-02-09 10:20: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-02-09 10:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436404', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 10:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 10:20:10] Production.INFO: ProcessCDR(1,14436404,1,1,2)
[2025-02-09 10:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436404,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436404,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:20:10] Production.INFO: ==15830== Releasing lock...
[2025-02-09 10:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 10:20:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 10:20:13] Production.ERROR: CronJobId end10
[2025-02-09 10:20:13] Production.INFO: ==15824== Releasing lock...
[2025-02-09 10:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:20:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:20:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:20:17] Production.INFO: call_cost start
[2025-02-09 10:20:17] Production.INFO: call_cost end
[2025-02-09 10:20:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:20:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:20:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:20:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:20:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:20:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:20:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:20:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:20:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:20:18] Production.INFO: ==15820== Releasing lock...
[2025-02-09 10:20:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:20:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:20:19] Production.INFO: count ==186
[2025-02-09 10:20:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:20:06 - End Time 2025-02-09 10:20:06
[2025-02-09 10:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436405', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436405', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436405', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436405', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:20:19] Production.INFO: ProcessCDR(1,14436405,1,1,2)
[2025-02-09 10:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436405', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436405', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:20:22] Production.INFO: ==15828== Releasing lock...
[2025-02-09 10:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:20:22] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:21:01] Production.INFO: ==15897== Lock acquired, processing the job...
[2025-02-09 15:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:21:01] Production.INFO: neon service started
[2025-02-09 15:21:01] Production.INFO: neon service started
[2025-02-09 15:21:01] Production.INFO: ==15897== Releasing lock...
[2025-02-09 15:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:21:02] Production.INFO: ==15899== Lock acquired, processing the job...
[2025-02-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:21:02] Production.INFO: ==15899== Releasing lock...
[2025-02-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:21:02] Production.INFO: ==15901== Lock acquired, processing the job...
[2025-02-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:21:02] Production.INFO: ==15901== Releasing lock...
[2025-02-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:21:02] Production.INFO: 26 MB #Memory Used#
[2025-02-09 10:21:03] Production.INFO: ==15909== Lock acquired, processing the job...
[2025-02-09 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:21:03] Production.INFO: ==15903== Lock acquired, processing the job...
[2025-02-09 10:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:21:03] Production.INFO: ==15913== Lock acquired, processing the job...
[2025-02-09 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:21:03] Production.INFO: ==15905== Lock acquired, processing the job...
[2025-02-09 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:21:03] Production.INFO: ==15907== Lock acquired, processing the job...
[2025-02-09 10:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:21:03] Production.INFO: Account Balance Start.
[2025-02-09 10:21:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:21:03] Production.INFO: ==15911== Lock acquired, processing the job...
[2025-02-09 10:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:21:03] Production.INFO: 117
[2025-02-09 10:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:21:03] Production.INFO: count ==21
[2025-02-09 10:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:21:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:21:03] Production.INFO: count ==21
[2025-02-09 10:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436408') start
[2025-02-09 10:21:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:21:03] Production.INFO: Total Charge 0
[2025-02-09 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436408') end
[2025-02-09 10:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:21:03] Production.INFO: 1
[2025-02-09 10:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:21:03] Production.INFO: CreateAllLog End
[2025-02-09 10:21:04] Production.INFO: ==15913== Releasing lock...
[2025-02-09 10:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:21:04] Production.INFO: ==15905== Releasing lock...
[2025-02-09 10:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:21:04] Production.ERROR: done
[2025-02-09 10:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:21:04] Production.INFO: Account Balance End.
[2025-02-09 10:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:21:04] Production.INFO: ==15909== Releasing lock...
[2025-02-09 10:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:21:04] Production.ERROR: done
[2025-02-09 10:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:21:05
[end_date_ymd] => 2025-02-09 10:21:05
[RateCDR] => 1
)
[2025-02-09 10:21: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` >= '2025-02-09 07:21:05' and `end` < '2025-02-09 10:21: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 ,'')
[2025-02-09 10:21:12] Production.ERROR: CronJobId end10
[2025-02-09 10:21:12] Production.INFO: ==15907== Releasing lock...
[2025-02-09 10:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:21:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:21:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:21:13] Production.INFO: call_cost start
[2025-02-09 10:21:13] Production.INFO: call_cost end
[2025-02-09 10:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:21:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:21:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:21:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:21:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:21:14] Production.INFO: ==15903== Releasing lock...
[2025-02-09 10:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:21:18] Production.INFO: count ==201
[2025-02-09 10:21:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:21:05 - End Time 2025-02-09 10:21:05
[2025-02-09 10:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436410', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436410', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436410', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436410', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:21:18] Production.INFO: ProcessCDR(1,14436410,1,1,2)
[2025-02-09 10:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436410', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436410', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:21:22] Production.INFO: ==15911== Releasing lock...
[2025-02-09 10:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:21:22] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:22:02] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-02-09 15:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:22:02] Production.INFO: neon service started
[2025-02-09 15:22:02] Production.INFO: neon service started
[2025-02-09 15:22:02] Production.INFO: ==15980== Releasing lock...
[2025-02-09 15:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:22:02] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-02-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:22:02] Production.INFO: ==15982== Releasing lock...
[2025-02-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:22:03] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-02-09 15:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:22:03] Production.INFO: ==15984== Releasing lock...
[2025-02-09 15:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:22:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:22:03] Production.INFO: ==15991== Lock acquired, processing the job...
[2025-02-09 10:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:22:03] Production.INFO: ==15997== Lock acquired, processing the job...
[2025-02-09 10:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:22:03] Production.INFO: ==15987== Lock acquired, processing the job...
[2025-02-09 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:22:04] Production.INFO: ==15989== Lock acquired, processing the job...
[2025-02-09 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:22:04] Production.INFO: ==15993== Lock acquired, processing the job...
[2025-02-09 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:22:04] Production.INFO: count ==21
[2025-02-09 10:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:22:04] Production.INFO: count ==21
[2025-02-09 10:22:04] Production.INFO: ==15995== Lock acquired, processing the job...
[2025-02-09 10:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436411') start
[2025-02-09 10:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:22:04] Production.INFO: Account Balance Start.
[2025-02-09 10:22:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:22:04] Production.INFO: 117
[2025-02-09 10:22:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:22:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:22:04] Production.INFO: Total Charge 0
[2025-02-09 10:22:04] Production.INFO: CreateAllLog End
[2025-02-09 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436411') end
[2025-02-09 10:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:22:04] Production.INFO: 1
[2025-02-09 10:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:22:04] Production.INFO: ==15989== Releasing lock...
[2025-02-09 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:22:04] Production.INFO: ==15997== Releasing lock...
[2025-02-09 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:22:04] Production.ERROR: done
[2025-02-09 10:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:22:04] Production.INFO: Account Balance End.
[2025-02-09 10:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:22:04] Production.INFO: ==15993== Releasing lock...
[2025-02-09 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:22:04] Production.ERROR: done
[2025-02-09 10:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:22:05
[end_date_ymd] => 2025-02-09 10:22:05
[RateCDR] => 1
)
[2025-02-09 10:22: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` >= '2025-02-09 07:22:05' and `end` < '2025-02-09 10:22: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 ,'')
[2025-02-09 10:22:12] Production.ERROR: CronJobId end10
[2025-02-09 10:22:12] Production.INFO: ==15991== Releasing lock...
[2025-02-09 10:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:22:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:22:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:22:13] Production.INFO: call_cost start
[2025-02-09 10:22:13] Production.INFO: call_cost end
[2025-02-09 10:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:22:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:22:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:22:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:22:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:22:14] Production.INFO: ==15987== Releasing lock...
[2025-02-09 10:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:22:19] Production.INFO: count ==201
[2025-02-09 10:22:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:22:05 - End Time 2025-02-09 10:22:05
[2025-02-09 10:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436415', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436415', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436415', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436415', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:22:19] Production.INFO: ProcessCDR(1,14436415,1,1,2)
[2025-02-09 10:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436415', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436415', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:22:23] Production.INFO: ==15995== Releasing lock...
[2025-02-09 10:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:22:23] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:23:01] Production.INFO: ==16062== Lock acquired, processing the job...
[2025-02-09 15:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:23:01] Production.INFO: neon service started
[2025-02-09 15:23:01] Production.INFO: neon service started
[2025-02-09 15:23:01] Production.INFO: ==16062== Releasing lock...
[2025-02-09 15:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:23:02] Production.INFO: ==16064== Lock acquired, processing the job...
[2025-02-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:23:02] Production.INFO: ==16066== Lock acquired, processing the job...
[2025-02-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:23:02] Production.INFO: ==16066== Releasing lock...
[2025-02-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:23:02] Production.INFO: ==16064== Releasing lock...
[2025-02-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:23:03] Production.INFO: ==16073== Lock acquired, processing the job...
[2025-02-09 10:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:23:03] Production.INFO: ==16079== Lock acquired, processing the job...
[2025-02-09 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:23:03] Production.INFO: ==16069== Lock acquired, processing the job...
[2025-02-09 10:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:23:03] Production.INFO: ==16071== Lock acquired, processing the job...
[2025-02-09 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:23:03] Production.INFO: count ==21
[2025-02-09 10:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:23:03] Production.INFO: count ==21
[2025-02-09 10:23:03] Production.INFO: ==16075== Lock acquired, processing the job...
[2025-02-09 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:23:03] Production.INFO: ==16077== Lock acquired, processing the job...
[2025-02-09 10:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436416') start
[2025-02-09 10:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:23:04] Production.INFO: Account Balance Start.
[2025-02-09 10:23:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:23:04] Production.INFO: 117
[2025-02-09 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436416') end
[2025-02-09 10:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:23:04] Production.INFO: 1
[2025-02-09 10:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:23:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:23:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:23:04] Production.INFO: ==16079== Releasing lock...
[2025-02-09 10:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:23:04] Production.INFO: Total Charge 0
[2025-02-09 10:23:04] Production.INFO: CreateAllLog End
[2025-02-09 10:23:04] Production.ERROR: done
[2025-02-09 10:23:04] Production.INFO: ==16071== Releasing lock...
[2025-02-09 10:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:23:04] Production.ERROR: done
[2025-02-09 10:23:04] Production.INFO: Account Balance End.
[2025-02-09 10:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:23:04] Production.INFO: ==16075== Releasing lock...
[2025-02-09 10:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:23:05
[end_date_ymd] => 2025-02-09 10:23:05
[RateCDR] => 1
)
[2025-02-09 10:23: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` >= '2025-02-09 07:23:05' and `end` < '2025-02-09 10:23: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 ,'')
[2025-02-09 10:23:11] Production.ERROR: CronJobId end10
[2025-02-09 10:23:11] Production.INFO: ==16073== Releasing lock...
[2025-02-09 10:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:23:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:23:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:23:14] Production.INFO: call_cost start
[2025-02-09 10:23:14] Production.INFO: call_cost end
[2025-02-09 10:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:23:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:23:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:23:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:23:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:23:15] Production.INFO: ==16069== Releasing lock...
[2025-02-09 10:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:23:19] Production.INFO: count ==201
[2025-02-09 10:23:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:23:05 - End Time 2025-02-09 10:23:05
[2025-02-09 10:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436420', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436420', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436420', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436420', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:23:19] Production.INFO: ProcessCDR(1,14436420,1,1,2)
[2025-02-09 10:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436420', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436420', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:23:22] Production.INFO: ==16077== Releasing lock...
[2025-02-09 10:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:23:22] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:24:02] Production.INFO: ==16140== Lock acquired, processing the job...
[2025-02-09 15:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:24:02] Production.INFO: neon service started
[2025-02-09 15:24:02] Production.INFO: neon service started
[2025-02-09 15:24:02] Production.INFO: ==16140== Releasing lock...
[2025-02-09 15:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:24:02] Production.INFO: ==16142== Lock acquired, processing the job...
[2025-02-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:24:02] Production.INFO: ==16144== Lock acquired, processing the job...
[2025-02-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:24:02] Production.INFO: ==16144== Releasing lock...
[2025-02-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:24:03] Production.INFO: ==16142== Releasing lock...
[2025-02-09 10:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:24:03] Production.INFO: ==16147== Lock acquired, processing the job...
[2025-02-09 10:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:24:04] Production.INFO: ==16151== Lock acquired, processing the job...
[2025-02-09 10:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:24:04] Production.INFO: ==16153== Lock acquired, processing the job...
[2025-02-09 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:24:04] Production.INFO: Account Balance Start.
[2025-02-09 10:24:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:24:04] Production.INFO: 117
[2025-02-09 10:24:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:24:04] Production.INFO: ==16149== Lock acquired, processing the job...
[2025-02-09 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:24:04] Production.INFO: Total Charge 0
[2025-02-09 10:24:04] Production.INFO: CreateAllLog End
[2025-02-09 10:24:04] Production.INFO: ==16155== Lock acquired, processing the job...
[2025-02-09 10:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:24:04] Production.INFO: ==16157== Lock acquired, processing the job...
[2025-02-09 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:24:04] Production.INFO: Account Balance End.
[2025-02-09 10:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:24:04] Production.INFO: ==16153== Releasing lock...
[2025-02-09 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:24:04] Production.INFO: ==16149== Releasing lock...
[2025-02-09 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:24:04] Production.INFO: count ==21
[2025-02-09 10:24:04] Production.ERROR: done
[2025-02-09 10:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:24:04] Production.INFO: count ==21
[2025-02-09 10:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436424') start
[2025-02-09 10:24:05] Production.ERROR: done
[2025-02-09 10:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436424') end
[2025-02-09 10:24:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:24:05] Production.INFO: 1
[2025-02-09 10:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:24:05] Production.INFO: ==16157== Releasing lock...
[2025-02-09 10:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:24:06
[end_date_ymd] => 2025-02-09 10:24:06
[RateCDR] => 1
)
[2025-02-09 10:24: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-02-09 07:24:06' and `end` < '2025-02-09 10:24: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-02-09 10:24:11] Production.ERROR: CronJobId end10
[2025-02-09 10:24:11] Production.INFO: ==16151== Releasing lock...
[2025-02-09 10:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:24:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:24:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:24:14] Production.INFO: call_cost start
[2025-02-09 10:24:14] Production.INFO: call_cost end
[2025-02-09 10:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:24:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:24:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:24:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:24:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:24:15] Production.INFO: ==16147== Releasing lock...
[2025-02-09 10:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:24:19] Production.INFO: count ==206
[2025-02-09 10:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:24:06 - End Time 2025-02-09 10:24:06
[2025-02-09 10:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436425', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436425', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436425', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436425', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:24:19] Production.INFO: ProcessCDR(1,14436425,1,1,2)
[2025-02-09 10:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436425', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436425', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:24:22] Production.INFO: ==16155== Releasing lock...
[2025-02-09 10:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:24:22] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:25:01] Production.INFO: ==16259== Lock acquired, processing the job...
[2025-02-09 15:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:25:01] Production.INFO: neon service started
[2025-02-09 15:25:01] Production.INFO: neon service started
[2025-02-09 15:25:01] Production.INFO: ==16259== Releasing lock...
[2025-02-09 15:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:25:01] Production.INFO: ==16265== Lock acquired, processing the job...
[2025-02-09 15:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:25:02] Production.INFO: ==16265== Releasing lock...
[2025-02-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:25:02] Production.INFO: ==16262== Lock acquired, processing the job...
[2025-02-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:25:02] Production.INFO: ==16262== Releasing lock...
[2025-02-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:25:03] Production.INFO: ==16268== Lock acquired, processing the job...
[2025-02-09 10:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:25:03] Production.INFO: ==16270== Lock acquired, processing the job...
[2025-02-09 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:25:03] Production.INFO: ==16278== Lock acquired, processing the job...
[2025-02-09 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:25:03] Production.INFO: ==16270== Releasing lock...
[2025-02-09 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:25:03] Production.INFO: ==16272== Lock acquired, processing the job...
[2025-02-09 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:25:03] Production.INFO: ==16276== Lock acquired, processing the job...
[2025-02-09 10:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:25:03] Production.INFO: count ==21
[2025-02-09 10:25:03] Production.INFO: ==16274== Lock acquired, processing the job...
[2025-02-09 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:25:03] Production.INFO: count ==21
[2025-02-09 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436428') start
[2025-02-09 10:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436428') end
[2025-02-09 10:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:25:03] Production.INFO: 1
[2025-02-09 10:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:25:03] Production.INFO: Account Balance Start.
[2025-02-09 10:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:25:03] Production.INFO: ==16278== Releasing lock...
[2025-02-09 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:25:03] Production.INFO: 117
[2025-02-09 10:25:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:25:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:25:04] Production.INFO: Total Charge 0
[2025-02-09 10:25:04] Production.INFO: CreateAllLog End
[2025-02-09 10:25:04] Production.ERROR: done
[2025-02-09 10:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:25:04] Production.ERROR: done
[2025-02-09 10:25:04] Production.INFO: Account Balance End.
[2025-02-09 10:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:25:04] Production.INFO: ==16274== Releasing lock...
[2025-02-09 10:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:25:05
[end_date_ymd] => 2025-02-09 10:25:05
[RateCDR] => 1
)
[2025-02-09 10:25: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` >= '2025-02-09 07:25:05' and `end` < '2025-02-09 10:25: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 ,'')
[2025-02-09 10:25:12] Production.ERROR: CronJobId end10
[2025-02-09 10:25:12] Production.INFO: ==16272== Releasing lock...
[2025-02-09 10:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:25:14] Production.INFO: call_cost start
[2025-02-09 10:25:14] Production.INFO: call_cost end
[2025-02-09 10:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:25:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:25:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:25:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:25:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:25:15] Production.INFO: ==16268== Releasing lock...
[2025-02-09 10:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:25:18] Production.INFO: count ==206
[2025-02-09 10:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:25:05 - End Time 2025-02-09 10:25:05
[2025-02-09 10:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436430', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436430', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436430', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436430', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:25:18] Production.INFO: ProcessCDR(1,14436430,1,1,2)
[2025-02-09 10:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436430', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436430', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:25:21] Production.INFO: ==16276== Releasing lock...
[2025-02-09 10:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:25:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:26:02] Production.INFO: ==16345== Lock acquired, processing the job...
[2025-02-09 15:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:26:02] Production.INFO: neon service started
[2025-02-09 15:26:02] Production.INFO: neon service started
[2025-02-09 15:26:02] Production.INFO: ==16345== Releasing lock...
[2025-02-09 15:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:26:02] Production.INFO: ==16347== Lock acquired, processing the job...
[2025-02-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:26:02] Production.INFO: ==16347== Releasing lock...
[2025-02-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:26:02] Production.INFO: ==16349== Lock acquired, processing the job...
[2025-02-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:26:02] Production.INFO: ==16349== Releasing lock...
[2025-02-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:26:03] Production.INFO: ==16351== Lock acquired, processing the job...
[2025-02-09 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:26:03] Production.INFO: ==16355== Lock acquired, processing the job...
[2025-02-09 10:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:26:03] Production.INFO: ==16359== Lock acquired, processing the job...
[2025-02-09 10:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:26:03] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-02-09 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:26:03] Production.INFO: ==16357== Lock acquired, processing the job...
[2025-02-09 10:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:26:04] Production.INFO: ==16361== Lock acquired, processing the job...
[2025-02-09 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:26:04] Production.INFO: Account Balance Start.
[2025-02-09 10:26:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:26:04] Production.INFO: 117
[2025-02-09 10:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:26:04] Production.INFO: ==16353== Releasing lock...
[2025-02-09 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:26:04] Production.INFO: count ==21
[2025-02-09 10:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:26:04] Production.INFO: count ==21
[2025-02-09 10:26:04] Production.INFO: Total Charge 0
[2025-02-09 10:26:04] Production.ERROR: done
[2025-02-09 10:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:26:04] Production.INFO: CreateAllLog End
[2025-02-09 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436433') start
[2025-02-09 10:26:04] Production.ERROR: done
[2025-02-09 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436433') end
[2025-02-09 10:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:26:04] Production.INFO: 1
[2025-02-09 10:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:26:04] Production.INFO: ==16361== Releasing lock...
[2025-02-09 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:26:04] Production.INFO: Account Balance End.
[2025-02-09 10:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:26:04] Production.INFO: ==16357== Releasing lock...
[2025-02-09 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:26:05
[end_date_ymd] => 2025-02-09 10:26:05
[RateCDR] => 1
)
[2025-02-09 10:26: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` >= '2025-02-09 07:26:05' and `end` < '2025-02-09 10:26: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 ,'')
[2025-02-09 10:26:12] Production.ERROR: CronJobId end10
[2025-02-09 10:26:12] Production.INFO: ==16355== Releasing lock...
[2025-02-09 10:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:26:14] Production.INFO: call_cost start
[2025-02-09 10:26:14] Production.INFO: call_cost end
[2025-02-09 10:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:26:15] Production.INFO: ==16351== Releasing lock...
[2025-02-09 10:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:26:18] Production.INFO: count ==206
[2025-02-09 10:26:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:26:05 - End Time 2025-02-09 10:26:05
[2025-02-09 10:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436435', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436435', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436435', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436435', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:26:18] Production.INFO: ProcessCDR(1,14436435,1,1,2)
[2025-02-09 10:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436435', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436435', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:26:21] Production.INFO: ==16359== Releasing lock...
[2025-02-09 10:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:26:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:27:01] Production.INFO: ==16423== Lock acquired, processing the job...
[2025-02-09 15:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:27:01] Production.INFO: neon service started
[2025-02-09 15:27:01] Production.INFO: neon service started
[2025-02-09 15:27:01] Production.INFO: ==16423== Releasing lock...
[2025-02-09 15:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:27:02] Production.INFO: ==16425== Lock acquired, processing the job...
[2025-02-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:27:02] Production.INFO: ==16427== Lock acquired, processing the job...
[2025-02-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:27:02] Production.INFO: ==16427== Releasing lock...
[2025-02-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:27:02] Production.INFO: ==16425== Releasing lock...
[2025-02-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:27:03] Production.INFO: ==16430== Lock acquired, processing the job...
[2025-02-09 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:27:03] Production.INFO: ==16432== Lock acquired, processing the job...
[2025-02-09 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:27:03] Production.INFO: ==16436== Lock acquired, processing the job...
[2025-02-09 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:27:03] Production.INFO: ==16434== Lock acquired, processing the job...
[2025-02-09 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:27:03] Production.INFO: Account Balance Start.
[2025-02-09 10:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:27:03] Production.INFO: 117
[2025-02-09 10:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:27:03] Production.INFO: ==16432== Releasing lock...
[2025-02-09 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:27:03] Production.INFO: ==16440== Lock acquired, processing the job...
[2025-02-09 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:27:03] Production.INFO: ==16438== Lock acquired, processing the job...
[2025-02-09 10:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:27:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:27:03] Production.INFO: Total Charge 0
[2025-02-09 10:27:03] Production.INFO: CreateAllLog End
[2025-02-09 10:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:27:04] Production.INFO: Account Balance End.
[2025-02-09 10:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:27:04] Production.INFO: count ==21
[2025-02-09 10:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:27:04] Production.INFO: ==16436== Releasing lock...
[2025-02-09 10:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:27:04] Production.ERROR: done
[2025-02-09 10:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:27:04] Production.INFO: count ==21
[2025-02-09 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436439') start
[2025-02-09 10:27:04] Production.ERROR: done
[2025-02-09 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436439') end
[2025-02-09 10:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:27:04] Production.INFO: 1
[2025-02-09 10:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:27:04] Production.INFO: ==16440== Releasing lock...
[2025-02-09 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:27:05
[end_date_ymd] => 2025-02-09 10:27:05
[RateCDR] => 1
)
[2025-02-09 10:27: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` >= '2025-02-09 07:27:05' and `end` < '2025-02-09 10:27: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 ,'')
[2025-02-09 10:27:11] Production.ERROR: CronJobId end10
[2025-02-09 10:27:11] Production.INFO: ==16434== Releasing lock...
[2025-02-09 10:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:27:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:27:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:27:13] Production.INFO: call_cost start
[2025-02-09 10:27:13] Production.INFO: call_cost end
[2025-02-09 10:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:27:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:27:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:27:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:27:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:27:14] Production.INFO: ==16430== Releasing lock...
[2025-02-09 10:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:27:18] Production.INFO: count ==206
[2025-02-09 10:27:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:27:05 - End Time 2025-02-09 10:27:05
[2025-02-09 10:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436440', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436440', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436440', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436440', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:27:18] Production.INFO: ProcessCDR(1,14436440,1,1,2)
[2025-02-09 10:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436440', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436440', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:27:21] Production.INFO: ==16438== Releasing lock...
[2025-02-09 10:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:27:21] Production.INFO: 29 MB #Memory Used#
[2025-02-09 15:28:02] Production.INFO: ==16505== Lock acquired, processing the job...
[2025-02-09 15:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:28:02] Production.INFO: neon service started
[2025-02-09 15:28:02] Production.INFO: neon service started
[2025-02-09 15:28:02] Production.INFO: ==16505== Releasing lock...
[2025-02-09 15:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:28:02] Production.INFO: ==16507== Lock acquired, processing the job...
[2025-02-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:28:02] Production.INFO: ==16509== Lock acquired, processing the job...
[2025-02-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:28:02] Production.INFO: ==16509== Releasing lock...
[2025-02-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:28:02] Production.INFO: ==16507== Releasing lock...
[2025-02-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:28:03] Production.INFO: ==16517== Lock acquired, processing the job...
[2025-02-09 10:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:28:03] Production.INFO: ==16515== Lock acquired, processing the job...
[2025-02-09 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:28:03] Production.INFO: Account Balance Start.
[2025-02-09 10:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:28:03] Production.INFO: 117
[2025-02-09 10:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:28:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:28:03] Production.INFO: ==16511== Lock acquired, processing the job...
[2025-02-09 10:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:28:03] Production.INFO: Total Charge 0
[2025-02-09 10:28:03] Production.INFO: CreateAllLog End
[2025-02-09 10:28:03] Production.INFO: ==16513== Lock acquired, processing the job...
[2025-02-09 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:28:04] Production.INFO: ==16522== Lock acquired, processing the job...
[2025-02-09 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:28:04] Production.INFO: ==16519== Lock acquired, processing the job...
[2025-02-09 10:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:28:04] Production.INFO: Account Balance End.
[2025-02-09 10:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:28:04] Production.INFO: count ==21
[2025-02-09 10:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:28:04] Production.INFO: ==16517== Releasing lock...
[2025-02-09 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:28:04] Production.INFO: count ==21
[2025-02-09 10:28:04] Production.INFO: ==16513== Releasing lock...
[2025-02-09 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436444') start
[2025-02-09 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436444') end
[2025-02-09 10:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:28:04] Production.INFO: 1
[2025-02-09 10:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:28:04] Production.INFO: ==16522== Releasing lock...
[2025-02-09 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:28:04] Production.ERROR: done
[2025-02-09 10:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:28:04] Production.ERROR: done
[2025-02-09 10:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:28:05
[end_date_ymd] => 2025-02-09 10:28:05
[RateCDR] => 1
)
[2025-02-09 10:28: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` >= '2025-02-09 07:28:05' and `end` < '2025-02-09 10:28: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 ,'')
[2025-02-09 10:28:12] Production.ERROR: CronJobId end10
[2025-02-09 10:28:12] Production.INFO: ==16515== Releasing lock...
[2025-02-09 10:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:28:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:28:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:28:15] Production.INFO: call_cost start
[2025-02-09 10:28:15] Production.INFO: call_cost end
[2025-02-09 10:28:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:28:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:28:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:28:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:28:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:28:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:28:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:28:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:28:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:28:16] Production.INFO: ==16511== Releasing lock...
[2025-02-09 10:28:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:28:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:28:18] Production.INFO: count ==208
[2025-02-09 10:28:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:28:05 - End Time 2025-02-09 10:28:05
[2025-02-09 10:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436445', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436445', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436445', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436445', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:28:18] Production.INFO: ProcessCDR(1,14436445,1,1,2)
[2025-02-09 10:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436445', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436445', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:28:21] Production.INFO: ==16519== Releasing lock...
[2025-02-09 10:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:28:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 15:29:01] Production.INFO: ==16585== Lock acquired, processing the job...
[2025-02-09 15:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:29:01] Production.INFO: neon service started
[2025-02-09 15:29:01] Production.INFO: neon service started
[2025-02-09 15:29:01] Production.INFO: ==16585== Releasing lock...
[2025-02-09 15:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:29:01] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 10:29:01] Production.INFO: ==16587== Lock acquired, processing the job...
[2025-02-09 10:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:29:02] Production.INFO: ==16587== Releasing lock...
[2025-02-09 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:29:02] Production.INFO: ==16589== Lock acquired, processing the job...
[2025-02-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:29:02] Production.INFO: ==16589== Releasing lock...
[2025-02-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:29:03] Production.INFO: ==16594== Lock acquired, processing the job...
[2025-02-09 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:29:03] Production.INFO: ==16592== Lock acquired, processing the job...
[2025-02-09 10:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:29:03] Production.INFO: ==16602== Lock acquired, processing the job...
[2025-02-09 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:29:03] Production.INFO: ==16596== Lock acquired, processing the job...
[2025-02-09 10:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:29:03] Production.INFO: ==16598== Lock acquired, processing the job...
[2025-02-09 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:29:03] Production.INFO: ==16600== Lock acquired, processing the job...
[2025-02-09 10:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:29:03] Production.INFO: Account Balance Start.
[2025-02-09 10:29:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:29:03] Production.INFO: 117
[2025-02-09 10:29:03] Production.INFO: count ==21
[2025-02-09 10:29:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:29:03] Production.INFO: count ==21
[2025-02-09 10:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436448') start
[2025-02-09 10:29:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:29:03] Production.INFO: Total Charge 0
[2025-02-09 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436448') end
[2025-02-09 10:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:29:03] Production.INFO: 1
[2025-02-09 10:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:29:03] Production.INFO: CreateAllLog End
[2025-02-09 10:29:03] Production.INFO: ==16594== Releasing lock...
[2025-02-09 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:29:03] Production.INFO: ==16602== Releasing lock...
[2025-02-09 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:29:03] Production.INFO: Account Balance End.
[2025-02-09 10:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:29:04] Production.INFO: ==16598== Releasing lock...
[2025-02-09 10:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:29:04] Production.ERROR: done
[2025-02-09 10:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:29:04] Production.ERROR: done
[2025-02-09 10:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:29:05
[end_date_ymd] => 2025-02-09 10:29:05
[RateCDR] => 1
)
[2025-02-09 10:29: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` >= '2025-02-09 07:29:05' and `end` < '2025-02-09 10:29: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 ,'')
[2025-02-09 10:29:10] Production.ERROR: CronJobId end10
[2025-02-09 10:29:10] Production.INFO: ==16596== Releasing lock...
[2025-02-09 10:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:29:13] Production.INFO: call_cost start
[2025-02-09 10:29:13] Production.INFO: call_cost end
[2025-02-09 10:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:29:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:29:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:29:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:29:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:29:14] Production.INFO: ==16592== Releasing lock...
[2025-02-09 10:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:29:17] Production.INFO: count ==211
[2025-02-09 10:29:17] Production.ERROR: pbx CDR StartTime 2025-02-09 07:29:05 - End Time 2025-02-09 10:29:05
[2025-02-09 10:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436450', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436450', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436450', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436450', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:29:17] Production.INFO: ProcessCDR(1,14436450,1,1,2)
[2025-02-09 10:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436450', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436450', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:29:21] Production.INFO: ==16600== Releasing lock...
[2025-02-09 10:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:29:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:30:02] Production.INFO: ==16666== Lock acquired, processing the job...
[2025-02-09 15:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:30:02] Production.INFO: neon service started
[2025-02-09 15:30:02] Production.INFO: neon service started
[2025-02-09 15:30:02] Production.INFO: ==16666== Releasing lock...
[2025-02-09 15:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:30:02] Production.INFO: ==16669== Lock acquired, processing the job...
[2025-02-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:30:02] Production.INFO: ==16671== Lock acquired, processing the job...
[2025-02-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:30:02] Production.INFO: ==16671== Releasing lock...
[2025-02-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:30:03] Production.INFO: ==16669== Releasing lock...
[2025-02-09 10:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:30:04] Production.INFO: ==16675== Lock acquired, processing the job...
[2025-02-09 10:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 10:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 10:30:04] Production.INFO: ==16677== Lock acquired, processing the job...
[2025-02-09 10:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 10:30:04] Production.INFO: ==16675== Releasing lock...
[2025-02-09 10:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 10:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 10:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:30:04] Production.INFO: ==16683== Lock acquired, processing the job...
[2025-02-09 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:30:04] Production.INFO: ==16689== Lock acquired, processing the job...
[2025-02-09 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:30:04] Production.INFO: Account Balance Start.
[2025-02-09 10:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:30:04] Production.INFO: 117
[2025-02-09 10:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:30:04] Production.INFO: ==16679== Lock acquired, processing the job...
[2025-02-09 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:30:04] Production.INFO: Total Charge 0
[2025-02-09 10:30:04] Production.INFO: CreateAllLog End
[2025-02-09 10:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:30:04] Production.INFO: ==16681== Lock acquired, processing the job...
[2025-02-09 10:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:30:04] Production.INFO: count ==21
[2025-02-09 10:30:04] Production.INFO: Account Balance End.
[2025-02-09 10:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:30:04] Production.INFO: count ==21
[2025-02-09 10:30:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:30:04] Production.INFO: ==16683== Releasing lock...
[2025-02-09 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:30:04] Production.INFO: ==16685== Lock acquired, processing the job...
[2025-02-09 10:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436453') start
[2025-02-09 10:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:30:04] Production.INFO: ==16687== Lock acquired, processing the job...
[2025-02-09 10:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436453') end
[2025-02-09 10:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:30:05] Production.INFO: 1
[2025-02-09 10:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:30:05] Production.INFO: ==16689== Releasing lock...
[2025-02-09 10:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:30:05] Production.INFO: ==16679== Releasing lock...
[2025-02-09 10:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:30:05] Production.ERROR: done
[2025-02-09 10:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:30:05] Production.ERROR: done
[2025-02-09 10:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 10:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436455', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 10:30:05] Production.ERROR: done
[2025-02-09 10:30:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:30:07
[end_date_ymd] => 2025-02-09 10:30:07
[RateCDR] => 1
)
[2025-02-09 10:30: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-02-09 07:30:07' and `end` < '2025-02-09 10:30: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-02-09 10:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436455', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 10:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 10:30:09] Production.INFO: ProcessCDR(1,14436455,1,1,2)
[2025-02-09 10:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436455,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436455,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:30:09] Production.INFO: ==16687== Releasing lock...
[2025-02-09 10:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 10:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 10:30:14] Production.ERROR: CronJobId end10
[2025-02-09 10:30:14] Production.INFO: ==16681== Releasing lock...
[2025-02-09 10:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:30:16] Production.INFO: call_cost start
[2025-02-09 10:30:16] Production.INFO: call_cost end
[2025-02-09 10:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:30:17] Production.INFO: ==16677== Releasing lock...
[2025-02-09 10:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:30:20] Production.INFO: count ==214
[2025-02-09 10:30:20] Production.ERROR: pbx CDR StartTime 2025-02-09 07:30:07 - End Time 2025-02-09 10:30:07
[2025-02-09 10:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436456', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436456', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436456', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436456', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:30:20] Production.INFO: ProcessCDR(1,14436456,1,1,2)
[2025-02-09 10:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436456', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436456', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:30:23] Production.INFO: ==16685== Releasing lock...
[2025-02-09 10:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:30:23] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:31:01] Production.INFO: ==16752== Lock acquired, processing the job...
[2025-02-09 15:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:31:01] Production.INFO: neon service started
[2025-02-09 15:31:01] Production.INFO: neon service started
[2025-02-09 15:31:01] Production.INFO: ==16752== Releasing lock...
[2025-02-09 15:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:31:01] Production.INFO: ==16754== Lock acquired, processing the job...
[2025-02-09 10:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:31:02] Production.INFO: ==16754== Releasing lock...
[2025-02-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:31:02] Production.INFO: ==16756== Lock acquired, processing the job...
[2025-02-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:31:02] Production.INFO: ==16756== Releasing lock...
[2025-02-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:31:02] Production.INFO: ==16758== Lock acquired, processing the job...
[2025-02-09 10:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:31:03] Production.INFO: ==16760== Lock acquired, processing the job...
[2025-02-09 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:31:03] Production.INFO: ==16762== Lock acquired, processing the job...
[2025-02-09 10:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:31:03] Production.INFO: ==16764== Lock acquired, processing the job...
[2025-02-09 10:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:31:03] Production.INFO: ==16766== Lock acquired, processing the job...
[2025-02-09 10:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:31:03] Production.INFO: ==16768== Lock acquired, processing the job...
[2025-02-09 10:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:31:03] Production.INFO: Account Balance Start.
[2025-02-09 10:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:31:03] Production.INFO: 117
[2025-02-09 10:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:31:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:31:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:31:03] Production.INFO: Total Charge 0
[2025-02-09 10:31:04] Production.INFO: CreateAllLog End
[2025-02-09 10:31:04] Production.INFO: count ==21
[2025-02-09 10:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:31:04] Production.INFO: count ==21
[2025-02-09 10:31:04] Production.INFO: ==16760== Releasing lock...
[2025-02-09 10:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436460') start
[2025-02-09 10:31:04] Production.ERROR: done
[2025-02-09 10:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436460') end
[2025-02-09 10:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:31:04] Production.INFO: 1
[2025-02-09 10:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:31:04] Production.INFO: ==16768== Releasing lock...
[2025-02-09 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:31:04] Production.INFO: Account Balance End.
[2025-02-09 10:31:04] Production.ERROR: done
[2025-02-09 10:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:31:04] Production.INFO: ==16764== Releasing lock...
[2025-02-09 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:31:05
[end_date_ymd] => 2025-02-09 10:31:05
[RateCDR] => 1
)
[2025-02-09 10:31: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` >= '2025-02-09 07:31:05' and `end` < '2025-02-09 10:31: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 ,'')
[2025-02-09 10:31:11] Production.ERROR: CronJobId end10
[2025-02-09 10:31:11] Production.INFO: ==16762== Releasing lock...
[2025-02-09 10:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:31:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:31:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:31:13] Production.INFO: call_cost start
[2025-02-09 10:31:13] Production.INFO: call_cost end
[2025-02-09 10:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:31:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:31:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:31:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:31:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:31:14] Production.INFO: ==16758== Releasing lock...
[2025-02-09 10:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:31:18] Production.INFO: count ==214
[2025-02-09 10:31:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:31:05 - End Time 2025-02-09 10:31:05
[2025-02-09 10:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436461', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436461', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436461', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436461', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:31:18] Production.INFO: ProcessCDR(1,14436461,1,1,2)
[2025-02-09 10:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436461', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436461', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:31:21] Production.INFO: ==16766== Releasing lock...
[2025-02-09 10:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:31:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:32:02] Production.INFO: ==16834== Lock acquired, processing the job...
[2025-02-09 15:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:32:02] Production.INFO: neon service started
[2025-02-09 15:32:02] Production.INFO: neon service started
[2025-02-09 15:32:02] Production.INFO: ==16834== Releasing lock...
[2025-02-09 15:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:32:02] Production.INFO: ==16840== Lock acquired, processing the job...
[2025-02-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:32:02] Production.INFO: ==16840== Releasing lock...
[2025-02-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:32:02] Production.INFO: ==16838== Lock acquired, processing the job...
[2025-02-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:32:02] Production.INFO: ==16838== Releasing lock...
[2025-02-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:32:03] Production.INFO: ==16847== Lock acquired, processing the job...
[2025-02-09 10:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:32:03] Production.INFO: ==16853== Lock acquired, processing the job...
[2025-02-09 10:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:32:04] Production.INFO: ==16843== Lock acquired, processing the job...
[2025-02-09 10:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:32:04] Production.INFO: ==16845== Lock acquired, processing the job...
[2025-02-09 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:32:04] Production.INFO: count ==21
[2025-02-09 10:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:32:04] Production.INFO: count ==21
[2025-02-09 10:32:04] Production.INFO: ==16849== Lock acquired, processing the job...
[2025-02-09 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:32:04] Production.INFO: ==16851== Lock acquired, processing the job...
[2025-02-09 10:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436462') start
[2025-02-09 10:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:32:04] Production.INFO: Account Balance Start.
[2025-02-09 10:32:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436462') end
[2025-02-09 10:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:32:04] Production.INFO: 1
[2025-02-09 10:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:32:04] Production.INFO: 117
[2025-02-09 10:32:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:32:04] Production.INFO: ==16853== Releasing lock...
[2025-02-09 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:32:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:32:04] Production.INFO: Total Charge 0
[2025-02-09 10:32:04] Production.INFO: CreateAllLog End
[2025-02-09 10:32:04] Production.INFO: ==16845== Releasing lock...
[2025-02-09 10:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:32:04] Production.ERROR: done
[2025-02-09 10:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:32:04] Production.INFO: Account Balance End.
[2025-02-09 10:32:05] Production.ERROR: done
[2025-02-09 10:32:05] Production.ERROR: CronJobId end 12
[2025-02-09 10:32:05] Production.INFO: ==16849== Releasing lock...
[2025-02-09 10:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:32:05
[end_date_ymd] => 2025-02-09 10:32:05
[RateCDR] => 1
)
[2025-02-09 10:32: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` >= '2025-02-09 07:32:05' and `end` < '2025-02-09 10:32: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 ,'')
[2025-02-09 10:32:11] Production.ERROR: CronJobId end10
[2025-02-09 10:32:11] Production.INFO: ==16847== Releasing lock...
[2025-02-09 10:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:32:15] Production.INFO: call_cost start
[2025-02-09 10:32:15] Production.INFO: call_cost end
[2025-02-09 10:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:32:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:32:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:32:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:32:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:32:16] Production.INFO: ==16843== Releasing lock...
[2025-02-09 10:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:32:18] Production.INFO: count ==215
[2025-02-09 10:32:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:32:05 - End Time 2025-02-09 10:32:05
[2025-02-09 10:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436466', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436466', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436466', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436466', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:32:18] Production.INFO: ProcessCDR(1,14436466,1,1,2)
[2025-02-09 10:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436466', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436466', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:32:22] Production.INFO: ==16851== Releasing lock...
[2025-02-09 10:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:32:22] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:33:01] Production.INFO: ==16916== Lock acquired, processing the job...
[2025-02-09 15:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:33:01] Production.INFO: neon service started
[2025-02-09 15:33:01] Production.INFO: neon service started
[2025-02-09 15:33:01] Production.INFO: ==16916== Releasing lock...
[2025-02-09 15:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:33:01] Production.INFO: ==16918== Lock acquired, processing the job...
[2025-02-09 10:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:33:02] Production.INFO: ==16918== Releasing lock...
[2025-02-09 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:33:02] Production.INFO: ==16920== Lock acquired, processing the job...
[2025-02-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:33:02] Production.INFO: ==16920== Releasing lock...
[2025-02-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:33:03] Production.INFO: ==16931== Lock acquired, processing the job...
[2025-02-09 10:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:33:03] Production.INFO: ==16933== Lock acquired, processing the job...
[2025-02-09 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:33:03] Production.INFO: ==16922== Lock acquired, processing the job...
[2025-02-09 10:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:33:03] Production.INFO: ==16924== Lock acquired, processing the job...
[2025-02-09 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:33:03] Production.INFO: ==16928== Lock acquired, processing the job...
[2025-02-09 10:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:33:03] Production.INFO: ==16926== Lock acquired, processing the job...
[2025-02-09 10:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:33:03] Production.INFO: Account Balance Start.
[2025-02-09 10:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:33:03] Production.INFO: 117
[2025-02-09 10:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:33:03] Production.INFO: count ==21
[2025-02-09 10:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:33:03] Production.INFO: count ==21
[2025-02-09 10:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436467') start
[2025-02-09 10:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:33:03] Production.ERROR: done
[2025-02-09 10:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:33:03] Production.INFO: Total Charge 0
[2025-02-09 10:33:03] Production.INFO: CreateAllLog End
[2025-02-09 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436467') end
[2025-02-09 10:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:33:03] Production.INFO: 1
[2025-02-09 10:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:33:03] Production.ERROR: done
[2025-02-09 10:33:03] Production.INFO: ==16924== Releasing lock...
[2025-02-09 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:33:03] Production.INFO: ==16933== Releasing lock...
[2025-02-09 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:33:03] Production.INFO: Account Balance End.
[2025-02-09 10:33:03] Production.ERROR: CronJobId end 12
[2025-02-09 10:33:03] Production.INFO: ==16928== Releasing lock...
[2025-02-09 10:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:33:04
[end_date_ymd] => 2025-02-09 10:33:04
[RateCDR] => 1
)
[2025-02-09 10:33:04] 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-02-09 07:33:04' and `end` < '2025-02-09 10:33:04'
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-02-09 10:33:11] Production.ERROR: CronJobId end10
[2025-02-09 10:33:11] Production.INFO: ==16926== Releasing lock...
[2025-02-09 10:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:33:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:33:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:33:13] Production.INFO: call_cost start
[2025-02-09 10:33:13] Production.INFO: call_cost end
[2025-02-09 10:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:33:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:33:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:33:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:33:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:33:14] Production.INFO: ==16922== Releasing lock...
[2025-02-09 10:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:33:17] Production.INFO: count ==215
[2025-02-09 10:33:17] Production.ERROR: pbx CDR StartTime 2025-02-09 07:33:04 - End Time 2025-02-09 10:33:04
[2025-02-09 10:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436471', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436471', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436471', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436471', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:33:17] Production.INFO: ProcessCDR(1,14436471,1,1,2)
[2025-02-09 10:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436471', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436471', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:33:20] Production.INFO: ==16931== Releasing lock...
[2025-02-09 10:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:33:20] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:34:01] Production.INFO: ==17000== Lock acquired, processing the job...
[2025-02-09 15:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:34:02] Production.INFO: neon service started
[2025-02-09 15:34:02] Production.INFO: neon service started
[2025-02-09 15:34:02] Production.INFO: ==17000== Releasing lock...
[2025-02-09 15:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:34:02] Production.INFO: ==17002== Lock acquired, processing the job...
[2025-02-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:34:02] Production.INFO: ==17004== Lock acquired, processing the job...
[2025-02-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:34:02] Production.INFO: ==17004== Releasing lock...
[2025-02-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:34:03] Production.INFO: ==17002== Releasing lock...
[2025-02-09 10:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:34:03] Production.INFO: ==17011== Lock acquired, processing the job...
[2025-02-09 10:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:34:03] Production.INFO: ==17017== Lock acquired, processing the job...
[2025-02-09 10:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:34:04] Production.INFO: ==17007== Lock acquired, processing the job...
[2025-02-09 10:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:34:04] Production.INFO: ==17015== Lock acquired, processing the job...
[2025-02-09 10:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:34:04] Production.INFO: count ==21
[2025-02-09 10:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:34:04] Production.INFO: ==17009== Lock acquired, processing the job...
[2025-02-09 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:34:04] Production.INFO: count ==21
[2025-02-09 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436472') start
[2025-02-09 10:34:04] Production.INFO: ==17013== Lock acquired, processing the job...
[2025-02-09 10:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436472') end
[2025-02-09 10:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:34:04] Production.INFO: 1
[2025-02-09 10:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:34:04] Production.INFO: ==17009== Releasing lock...
[2025-02-09 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:34:04] Production.INFO: Account Balance Start.
[2025-02-09 10:34:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:34:04] Production.INFO: 117
[2025-02-09 10:34:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:34:04] Production.INFO: ==17017== Releasing lock...
[2025-02-09 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:34:04] Production.ERROR: done
[2025-02-09 10:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:34:04] Production.INFO: Total Charge 0
[2025-02-09 10:34:04] Production.INFO: CreateAllLog End
[2025-02-09 10:34:04] Production.ERROR: done
[2025-02-09 10:34:04] Production.INFO: Account Balance End.
[2025-02-09 10:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:34:04] Production.INFO: ==17013== Releasing lock...
[2025-02-09 10:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:34:05
[end_date_ymd] => 2025-02-09 10:34:05
[RateCDR] => 1
)
[2025-02-09 10:34: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` >= '2025-02-09 07:34:05' and `end` < '2025-02-09 10:34: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 ,'')
[2025-02-09 10:34:11] Production.ERROR: CronJobId end10
[2025-02-09 10:34:11] Production.INFO: ==17011== Releasing lock...
[2025-02-09 10:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:34:15] Production.INFO: call_cost start
[2025-02-09 10:34:15] Production.INFO: call_cost end
[2025-02-09 10:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:34:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:34:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:34:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:34:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:34:16] Production.INFO: ==17007== Releasing lock...
[2025-02-09 10:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:34:21] Production.INFO: count ==215
[2025-02-09 10:34:21] Production.ERROR: pbx CDR StartTime 2025-02-09 07:34:05 - End Time 2025-02-09 10:34:05
[2025-02-09 10:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436476', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436476', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436476', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436476', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:34:21] Production.INFO: ProcessCDR(1,14436476,1,1,2)
[2025-02-09 10:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436476', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436476', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:34:24] Production.INFO: ==17015== Releasing lock...
[2025-02-09 10:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:34:24] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:35:01] Production.INFO: ==17082== Lock acquired, processing the job...
[2025-02-09 15:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:35:01] Production.INFO: neon service started
[2025-02-09 15:35:01] Production.INFO: neon service started
[2025-02-09 15:35:01] Production.INFO: ==17082== Releasing lock...
[2025-02-09 15:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:35:01] Production.INFO: ==17084== Lock acquired, processing the job...
[2025-02-09 10:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:35:02] Production.INFO: ==17084== Releasing lock...
[2025-02-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:35:02] Production.INFO: ==17086== Lock acquired, processing the job...
[2025-02-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:35:02] Production.INFO: ==17086== Releasing lock...
[2025-02-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:35:03] Production.INFO: ==17088== Lock acquired, processing the job...
[2025-02-09 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:35:03] Production.INFO: ==17092== Lock acquired, processing the job...
[2025-02-09 10:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:35:03] Production.INFO: ==17096== Lock acquired, processing the job...
[2025-02-09 10:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:35:03] Production.INFO: ==17090== Lock acquired, processing the job...
[2025-02-09 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:35:03] Production.INFO: ==17094== Lock acquired, processing the job...
[2025-02-09 10:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:35:03] Production.INFO: ==17098== Lock acquired, processing the job...
[2025-02-09 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:35:03] Production.INFO: Account Balance Start.
[2025-02-09 10:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:35:03] Production.INFO: 117
[2025-02-09 10:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:35:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:35:03] Production.INFO: count ==21
[2025-02-09 10:35:03] Production.ERROR: done
[2025-02-09 10:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:35:03] Production.INFO: Total Charge 0
[2025-02-09 10:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:35:03] Production.INFO: CreateAllLog End
[2025-02-09 10:35:03] Production.INFO: count ==21
[2025-02-09 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436480') start
[2025-02-09 10:35:03] Production.INFO: ==17090== Releasing lock...
[2025-02-09 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:35:03] Production.ERROR: done
[2025-02-09 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436480') end
[2025-02-09 10:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:35:03] Production.INFO: 1
[2025-02-09 10:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:35:03] Production.INFO: Account Balance End.
[2025-02-09 10:35:04] Production.INFO: ==17098== Releasing lock...
[2025-02-09 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:35:04] Production.INFO: ==17094== Releasing lock...
[2025-02-09 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:35:04
[end_date_ymd] => 2025-02-09 10:35:04
[RateCDR] => 1
)
[2025-02-09 10:35:04] 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-02-09 07:35:04' and `end` < '2025-02-09 10:35:04'
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-02-09 10:35:11] Production.ERROR: CronJobId end10
[2025-02-09 10:35:11] Production.INFO: ==17092== Releasing lock...
[2025-02-09 10:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:35:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:35:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:35:13] Production.INFO: call_cost start
[2025-02-09 10:35:13] Production.INFO: call_cost end
[2025-02-09 10:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:35:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:35:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:35:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:35:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:35:14] Production.INFO: ==17088== Releasing lock...
[2025-02-09 10:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:35:17] Production.INFO: count ==216
[2025-02-09 10:35:17] Production.ERROR: pbx CDR StartTime 2025-02-09 07:35:04 - End Time 2025-02-09 10:35:04
[2025-02-09 10:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436481', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436481', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436481', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436481', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:35:17] Production.INFO: ProcessCDR(1,14436481,1,1,2)
[2025-02-09 10:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436481', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436481', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:35:22] Production.INFO: ==17096== Releasing lock...
[2025-02-09 10:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:35:22] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:36:02] Production.INFO: ==17162== Lock acquired, processing the job...
[2025-02-09 15:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:36:02] Production.INFO: neon service started
[2025-02-09 15:36:02] Production.INFO: neon service started
[2025-02-09 15:36:02] Production.INFO: ==17162== Releasing lock...
[2025-02-09 15:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:36:02] Production.INFO: ==17164== Lock acquired, processing the job...
[2025-02-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:36:02] Production.INFO: ==17166== Lock acquired, processing the job...
[2025-02-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:36:02] Production.INFO: ==17166== Releasing lock...
[2025-02-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:36:03] Production.INFO: ==17164== Releasing lock...
[2025-02-09 10:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:36:03] Production.INFO: ==17169== Lock acquired, processing the job...
[2025-02-09 10:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:36:04] Production.INFO: ==17179== Lock acquired, processing the job...
[2025-02-09 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:36:04] Production.INFO: ==17171== Lock acquired, processing the job...
[2025-02-09 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:36:04] Production.INFO: ==17173== Lock acquired, processing the job...
[2025-02-09 10:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:36:04] Production.INFO: ==17177== Lock acquired, processing the job...
[2025-02-09 10:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:36:04] Production.INFO: count ==21
[2025-02-09 10:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:36:04] Production.INFO: count ==21
[2025-02-09 10:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:36:04] Production.INFO: ==17175== Lock acquired, processing the job...
[2025-02-09 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436483') start
[2025-02-09 10:36:04] Production.INFO: Account Balance Start.
[2025-02-09 10:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:36:04] Production.INFO: 117
[2025-02-09 10:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436483') end
[2025-02-09 10:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:36:04] Production.INFO: 1
[2025-02-09 10:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:36:04] Production.INFO: ==17171== Releasing lock...
[2025-02-09 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:36:04] Production.ERROR: done
[2025-02-09 10:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:36:04] Production.INFO: ==17179== Releasing lock...
[2025-02-09 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:36:04] Production.INFO: Total Charge 0
[2025-02-09 10:36:04] Production.INFO: CreateAllLog End
[2025-02-09 10:36:04] Production.ERROR: done
[2025-02-09 10:36:04] Production.INFO: Account Balance End.
[2025-02-09 10:36:05] Production.ERROR: CronJobId end 12
[2025-02-09 10:36:05] Production.INFO: ==17175== Releasing lock...
[2025-02-09 10:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:36:05
[end_date_ymd] => 2025-02-09 10:36:05
[RateCDR] => 1
)
[2025-02-09 10:36: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` >= '2025-02-09 07:36:05' and `end` < '2025-02-09 10:36: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 ,'')
[2025-02-09 10:36:12] Production.ERROR: CronJobId end10
[2025-02-09 10:36:12] Production.INFO: ==17173== Releasing lock...
[2025-02-09 10:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:36:13] Production.INFO: call_cost start
[2025-02-09 10:36:13] Production.INFO: call_cost end
[2025-02-09 10:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:36:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:36:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:36:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:36:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:36:14] Production.INFO: ==17169== Releasing lock...
[2025-02-09 10:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:36:18] Production.INFO: count ==219
[2025-02-09 10:36:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:36:05 - End Time 2025-02-09 10:36:05
[2025-02-09 10:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436486', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436486', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436486', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436486', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:36:18] Production.INFO: ProcessCDR(1,14436486,1,1,2)
[2025-02-09 10:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436486', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436486', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:36:23] Production.INFO: ==17177== Releasing lock...
[2025-02-09 10:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:36:23] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:37:01] Production.INFO: ==17240== Lock acquired, processing the job...
[2025-02-09 15:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:37:01] Production.INFO: neon service started
[2025-02-09 15:37:01] Production.INFO: neon service started
[2025-02-09 15:37:01] Production.INFO: ==17240== Releasing lock...
[2025-02-09 15:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:37:02] Production.INFO: ==17244== Lock acquired, processing the job...
[2025-02-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:37:02] Production.INFO: ==17242== Lock acquired, processing the job...
[2025-02-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:37:02] Production.INFO: ==17244== Releasing lock...
[2025-02-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:37:02] Production.INFO: ==17242== Releasing lock...
[2025-02-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:37:03] Production.INFO: ==17249== Lock acquired, processing the job...
[2025-02-09 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:37:03] Production.INFO: ==17247== Lock acquired, processing the job...
[2025-02-09 10:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:37:03] Production.INFO: ==17253== Lock acquired, processing the job...
[2025-02-09 10:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:37:03] Production.INFO: ==17251== Lock acquired, processing the job...
[2025-02-09 10:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:37:03] Production.INFO: ==17255== Lock acquired, processing the job...
[2025-02-09 10:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:37:03] Production.INFO: Account Balance Start.
[2025-02-09 10:37:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:37:03] Production.INFO: 117
[2025-02-09 10:37:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:37:03] Production.INFO: ==17257== Lock acquired, processing the job...
[2025-02-09 10:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:37:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:37:03] Production.INFO: Total Charge 0
[2025-02-09 10:37:03] Production.INFO: CreateAllLog End
[2025-02-09 10:37:04] Production.INFO: ==17249== Releasing lock...
[2025-02-09 10:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:37:04] Production.INFO: count ==21
[2025-02-09 10:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:37:04] Production.INFO: count ==21
[2025-02-09 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436490') start
[2025-02-09 10:37:04] Production.ERROR: done
[2025-02-09 10:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436490') end
[2025-02-09 10:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:37:04] Production.INFO: 1
[2025-02-09 10:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:37:04] Production.INFO: ==17257== Releasing lock...
[2025-02-09 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:37:04] Production.ERROR: done
[2025-02-09 10:37:04] Production.INFO: Account Balance End.
[2025-02-09 10:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:37:04] Production.INFO: ==17253== Releasing lock...
[2025-02-09 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:37:05
[end_date_ymd] => 2025-02-09 10:37:05
[RateCDR] => 1
)
[2025-02-09 10:37: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` >= '2025-02-09 07:37:05' and `end` < '2025-02-09 10:37: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 ,'')
[2025-02-09 10:37:12] Production.ERROR: CronJobId end10
[2025-02-09 10:37:12] Production.INFO: ==17251== Releasing lock...
[2025-02-09 10:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:37:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:37:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:37:14] Production.INFO: call_cost start
[2025-02-09 10:37:14] Production.INFO: call_cost end
[2025-02-09 10:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:37:15] Production.INFO: ==17247== Releasing lock...
[2025-02-09 10:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:37:19] Production.INFO: count ==222
[2025-02-09 10:37:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:37:05 - End Time 2025-02-09 10:37:05
[2025-02-09 10:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436491', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436491', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436491', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436491', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:37:19] Production.INFO: ProcessCDR(1,14436491,1,1,2)
[2025-02-09 10:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436491', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436491', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:37:22] Production.INFO: ==17255== Releasing lock...
[2025-02-09 10:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:37:22] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:38:02] Production.INFO: ==17316== Lock acquired, processing the job...
[2025-02-09 15:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:38:02] Production.INFO: neon service started
[2025-02-09 15:38:02] Production.INFO: neon service started
[2025-02-09 15:38:02] Production.INFO: ==17316== Releasing lock...
[2025-02-09 15:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:38:02] Production.INFO: ==17319== Lock acquired, processing the job...
[2025-02-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:38:02] Production.INFO: ==17319== Releasing lock...
[2025-02-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:38:02] Production.INFO: ==17321== Lock acquired, processing the job...
[2025-02-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:38:02] Production.INFO: ==17321== Releasing lock...
[2025-02-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:38:03] Production.INFO: ==17333== Lock acquired, processing the job...
[2025-02-09 10:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:38:03] Production.INFO: ==17331== Lock acquired, processing the job...
[2025-02-09 10:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:38:03] Production.INFO: ==17323== Lock acquired, processing the job...
[2025-02-09 10:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:38:03] Production.INFO: ==17325== Lock acquired, processing the job...
[2025-02-09 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:38:04] Production.INFO: ==17327== Lock acquired, processing the job...
[2025-02-09 10:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:38:04] Production.INFO: count ==21
[2025-02-09 10:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:38:04] Production.INFO: ==17329== Lock acquired, processing the job...
[2025-02-09 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:38:04] Production.INFO: count ==21
[2025-02-09 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436492') start
[2025-02-09 10:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:38:04] Production.INFO: Account Balance Start.
[2025-02-09 10:38:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:38:04] Production.INFO: 117
[2025-02-09 10:38:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436492') end
[2025-02-09 10:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:38:04] Production.INFO: 1
[2025-02-09 10:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:38:04] Production.INFO: Total Charge 0
[2025-02-09 10:38:04] Production.INFO: CreateAllLog End
[2025-02-09 10:38:04] Production.INFO: ==17333== Releasing lock...
[2025-02-09 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:38:04] Production.ERROR: done
[2025-02-09 10:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:38:04] Production.INFO: ==17325== Releasing lock...
[2025-02-09 10:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:38:04] Production.INFO: Account Balance End.
[2025-02-09 10:38:04] Production.ERROR: done
[2025-02-09 10:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:38:04] Production.INFO: ==17329== Releasing lock...
[2025-02-09 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:38:05
[end_date_ymd] => 2025-02-09 10:38:05
[RateCDR] => 1
)
[2025-02-09 10:38: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` >= '2025-02-09 07:38:05' and `end` < '2025-02-09 10:38: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 ,'')
[2025-02-09 10:38:11] Production.ERROR: CronJobId end10
[2025-02-09 10:38:11] Production.INFO: ==17327== Releasing lock...
[2025-02-09 10:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:38:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:38:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:38:14] Production.INFO: call_cost start
[2025-02-09 10:38:14] Production.INFO: call_cost end
[2025-02-09 10:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:38:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:38:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:38:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:38:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:38:14] Production.INFO: ==17323== Releasing lock...
[2025-02-09 10:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:38:19] Production.INFO: count ==222
[2025-02-09 10:38:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:38:05 - End Time 2025-02-09 10:38:05
[2025-02-09 10:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436496', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436496', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436496', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436496', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:38:19] Production.INFO: ProcessCDR(1,14436496,1,1,2)
[2025-02-09 10:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436496', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436496', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:38:23] Production.INFO: ==17331== Releasing lock...
[2025-02-09 10:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:38:23] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:39:01] Production.INFO: ==17392== Lock acquired, processing the job...
[2025-02-09 15:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:39:01] Production.INFO: neon service started
[2025-02-09 15:39:01] Production.INFO: neon service started
[2025-02-09 15:39:01] Production.INFO: ==17392== Releasing lock...
[2025-02-09 15:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:39:01] Production.INFO: ==17395== Lock acquired, processing the job...
[2025-02-09 10:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:39:02] Production.INFO: ==17395== Releasing lock...
[2025-02-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:39:02] Production.INFO: ==17397== Lock acquired, processing the job...
[2025-02-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:39:02] Production.INFO: ==17397== Releasing lock...
[2025-02-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:39:03] Production.INFO: ==17401== Lock acquired, processing the job...
[2025-02-09 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:39:03] Production.INFO: ==17399== Lock acquired, processing the job...
[2025-02-09 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:39:03] Production.INFO: ==17403== Lock acquired, processing the job...
[2025-02-09 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:39:03] Production.INFO: ==17409== Lock acquired, processing the job...
[2025-02-09 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:39:03] Production.INFO: ==17405== Lock acquired, processing the job...
[2025-02-09 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:39:03] Production.INFO: ==17407== Lock acquired, processing the job...
[2025-02-09 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:39:03] Production.INFO: Account Balance Start.
[2025-02-09 10:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:39:03] Production.INFO: 117
[2025-02-09 10:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:39:03] Production.INFO: count ==21
[2025-02-09 10:39:03] Production.INFO: ==17401== Releasing lock...
[2025-02-09 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:39:03] Production.INFO: count ==21
[2025-02-09 10:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436499') start
[2025-02-09 10:39:03] Production.INFO: Total Charge 0
[2025-02-09 10:39:03] Production.INFO: CreateAllLog End
[2025-02-09 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436499') end
[2025-02-09 10:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:39:03] Production.INFO: 1
[2025-02-09 10:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:39:03] Production.ERROR: done
[2025-02-09 10:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:39:03] Production.INFO: ==17409== Releasing lock...
[2025-02-09 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:39:03] Production.INFO: Account Balance End.
[2025-02-09 10:39:03] Production.ERROR: done
[2025-02-09 10:39:03] Production.ERROR: CronJobId end 12
[2025-02-09 10:39:03] Production.INFO: ==17405== Releasing lock...
[2025-02-09 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:39:04
[end_date_ymd] => 2025-02-09 10:39:04
[RateCDR] => 1
)
[2025-02-09 10:39:04] 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-02-09 07:39:04' and `end` < '2025-02-09 10:39:04'
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-02-09 10:39:10] Production.ERROR: CronJobId end10
[2025-02-09 10:39:10] Production.INFO: ==17403== Releasing lock...
[2025-02-09 10:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:39:14] Production.INFO: call_cost start
[2025-02-09 10:39:14] Production.INFO: call_cost end
[2025-02-09 10:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:39:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:39:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:39:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:39:15] Production.INFO: ==17399== Releasing lock...
[2025-02-09 10:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:39:17] Production.INFO: count ==222
[2025-02-09 10:39:17] Production.ERROR: pbx CDR StartTime 2025-02-09 07:39:04 - End Time 2025-02-09 10:39:04
[2025-02-09 10:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436501', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436501', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436501', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436501', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:39:17] Production.INFO: ProcessCDR(1,14436501,1,1,2)
[2025-02-09 10:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436501', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436501', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:39:21] Production.INFO: ==17407== Releasing lock...
[2025-02-09 10:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:39:21] Production.INFO: 29.25 MB #Memory Used#
[2025-02-09 15:40:02] Production.INFO: ==17508== Lock acquired, processing the job...
[2025-02-09 15:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:40:02] Production.INFO: neon service started
[2025-02-09 15:40:02] Production.INFO: neon service started
[2025-02-09 15:40:02] Production.INFO: ==17508== Releasing lock...
[2025-02-09 15:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:40:02] Production.INFO: ==17510== Lock acquired, processing the job...
[2025-02-09 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:40:02] Production.INFO: ==17512== Lock acquired, processing the job...
[2025-02-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:40:02] Production.INFO: ==17510== Releasing lock...
[2025-02-09 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:40:02] Production.INFO: ==17512== Releasing lock...
[2025-02-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:40:03] Production.INFO: ==17523== Lock acquired, processing the job...
[2025-02-09 10:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:40:03] Production.INFO: ==17529== Lock acquired, processing the job...
[2025-02-09 10:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:40:03] Production.INFO: ==17525== Lock acquired, processing the job...
[2025-02-09 10:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:40:04] Production.INFO: Account Balance Start.
[2025-02-09 10:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:40:04] Production.INFO: 117
[2025-02-09 10:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:40:04] Production.INFO: count ==21
[2025-02-09 10:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:40:04] Production.INFO: count ==21
[2025-02-09 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436503') start
[2025-02-09 10:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:40:04] Production.INFO: Total Charge 0
[2025-02-09 10:40:04] Production.INFO: ==17515== Lock acquired, processing the job...
[2025-02-09 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 10:40:04] Production.INFO: CreateAllLog End
[2025-02-09 10:40:04] Production.INFO: ==17517== Lock acquired, processing the job...
[2025-02-09 10:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:40:04] Production.INFO: ==17519== Lock acquired, processing the job...
[2025-02-09 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:40:04] Production.INFO: ==17521== Lock acquired, processing the job...
[2025-02-09 10:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436503') end
[2025-02-09 10:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:40:04] Production.INFO: 1
[2025-02-09 10:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:40:04] Production.ERROR: done
[2025-02-09 10:40:04] Production.INFO: ==17527== Lock acquired, processing the job...
[2025-02-09 10:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 10:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:40:04] Production.INFO: Account Balance End.
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:40:04] Production.ERROR: CronJob PID - 17517
[2025-02-09 10:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 10:40:04] Production.ERROR: CronJob ID - 5
[2025-02-09 10:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:40:00
[2025-02-09 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:40:04] Production.ERROR: CronJob PID - 17519
[2025-02-09 10:40:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 10:40:04] Production.ERROR: CronJob ID - 7
[2025-02-09 10:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:40:00
[2025-02-09 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:40:04] Production.ERROR: CronJob PID - 17521
[2025-02-09 10:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 10:40:04] Production.ERROR: CronJob ID - 10
[2025-02-09 10:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:40:00
[2025-02-09 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:40:04] Production.ERROR: CronJob PID - 17523
[2025-02-09 10:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 10:40:04] Production.ERROR: CronJob ID - 12
[2025-02-09 10:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:40:00
[2025-02-09 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:40:04] Production.ERROR: CronJob PID - 17525
[2025-02-09 10:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 10:40:04] Production.ERROR: CronJob ID - 16
[2025-02-09 10:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:40:00
[2025-02-09 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:40:04] Production.ERROR: CronJob PID - 17529
[2025-02-09 10:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 10:40:04] Production.ERROR: CronJob ID - 19
[2025-02-09 10:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:40:00
[2025-02-09 10:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:40:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:40:04] Production.INFO: ==17523== Releasing lock...
[2025-02-09 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 10:40:04] Production.INFO: ==17515== Releasing lock...
[2025-02-09 10:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 10:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:40:04] Production.INFO: ==17529== Releasing lock...
[2025-02-09 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:40:04] Production.ERROR: done
[2025-02-09 10:40:04] Production.INFO: ==17519== Releasing lock...
[2025-02-09 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:40:05] Production.ERROR: done
[2025-02-09 10:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 10:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436507', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 10:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:40:05
[end_date_ymd] => 2025-02-09 10:40:05
[RateCDR] => 1
)
[2025-02-09 10:40: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` >= '2025-02-09 07:40:05' and `end` < '2025-02-09 10:40: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 ,'')
[2025-02-09 10:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436507', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 10:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 10:40:09] Production.INFO: ProcessCDR(1,14436507,1,1,2)
[2025-02-09 10:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436507,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436507,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:40:09] Production.INFO: ==17527== Releasing lock...
[2025-02-09 10:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 10:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 10:40:14] Production.ERROR: CronJobId end10
[2025-02-09 10:40:14] Production.INFO: ==17521== Releasing lock...
[2025-02-09 10:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:40:16] Production.INFO: call_cost start
[2025-02-09 10:40:16] Production.INFO: call_cost end
[2025-02-09 10:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:40:17] Production.INFO: ==17517== Releasing lock...
[2025-02-09 10:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:40:18] Production.INFO: count ==232
[2025-02-09 10:40:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:40:05 - End Time 2025-02-09 10:40:05
[2025-02-09 10:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436506', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436506', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436506', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436506', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:40:18] Production.INFO: ProcessCDR(1,14436506,1,1,2)
[2025-02-09 10:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436506', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436506', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:40:21] Production.INFO: ==17525== Releasing lock...
[2025-02-09 10:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:40:21] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 15:41:01] Production.INFO: ==17589== Lock acquired, processing the job...
[2025-02-09 15:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:41:01] Production.INFO: neon service started
[2025-02-09 15:41:01] Production.INFO: neon service started
[2025-02-09 15:41:01] Production.INFO: ==17589== Releasing lock...
[2025-02-09 15:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:41:01] Production.INFO: ==17591== Lock acquired, processing the job...
[2025-02-09 10:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:41:02] Production.INFO: ==17591== Releasing lock...
[2025-02-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:41:02] Production.INFO: ==17593== Lock acquired, processing the job...
[2025-02-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:41:02] Production.INFO: ==17593== Releasing lock...
[2025-02-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:41:03] Production.INFO: ==17597== Lock acquired, processing the job...
[2025-02-09 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:41:03] Production.INFO: ==17595== Lock acquired, processing the job...
[2025-02-09 10:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:41:03] Production.INFO: ==17605== Lock acquired, processing the job...
[2025-02-09 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:41:03] Production.INFO: ==17599== Lock acquired, processing the job...
[2025-02-09 10:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:41:03] Production.INFO: ==17601== Lock acquired, processing the job...
[2025-02-09 10:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:41:03] Production.INFO: count ==21
[2025-02-09 10:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:41:03] Production.INFO: count ==21
[2025-02-09 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436510') start
[2025-02-09 10:41:03] Production.INFO: ==17603== Lock acquired, processing the job...
[2025-02-09 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436510') end
[2025-02-09 10:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:41:03] Production.INFO: 1
[2025-02-09 10:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:41:03] Production.INFO: ==17597== Releasing lock...
[2025-02-09 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:41:03] Production.INFO: ==17605== Releasing lock...
[2025-02-09 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:41:03] Production.INFO: Account Balance Start.
[2025-02-09 10:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:41:03] Production.INFO: 117
[2025-02-09 10:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:41:03] Production.ERROR: done
[2025-02-09 10:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:41:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:41:04] Production.ERROR: done
[2025-02-09 10:41:04] Production.INFO: Total Charge 0
[2025-02-09 10:41:04] Production.INFO: CreateAllLog End
[2025-02-09 10:41:04] Production.INFO: Account Balance End.
[2025-02-09 10:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:41:04] Production.INFO: ==17601== Releasing lock...
[2025-02-09 10:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:41:05
[end_date_ymd] => 2025-02-09 10:41:05
[RateCDR] => 1
)
[2025-02-09 10:41: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` >= '2025-02-09 07:41:05' and `end` < '2025-02-09 10:41: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 ,'')
[2025-02-09 10:41:11] Production.ERROR: CronJobId end10
[2025-02-09 10:41:11] Production.INFO: ==17599== Releasing lock...
[2025-02-09 10:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:41:13] Production.INFO: call_cost start
[2025-02-09 10:41:13] Production.INFO: call_cost end
[2025-02-09 10:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:41:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:41:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:41:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:41:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:41:14] Production.INFO: ==17595== Releasing lock...
[2025-02-09 10:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:41:18] Production.INFO: count ==258
[2025-02-09 10:41:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:41:05 - End Time 2025-02-09 10:41:05
[2025-02-09 10:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436512', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436512', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436512', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436512', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:41:18] Production.INFO: ProcessCDR(1,14436512,1,1,2)
[2025-02-09 10:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436512', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436512', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:41:21] Production.INFO: ==17603== Releasing lock...
[2025-02-09 10:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:41:21] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 15:42:01] Production.INFO: ==17663== Lock acquired, processing the job...
[2025-02-09 15:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:42:01] Production.INFO: neon service started
[2025-02-09 15:42:01] Production.INFO: neon service started
[2025-02-09 15:42:01] Production.INFO: ==17663== Releasing lock...
[2025-02-09 15:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:42:02] Production.INFO: ==17667== Lock acquired, processing the job...
[2025-02-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:42:02] Production.INFO: ==17665== Lock acquired, processing the job...
[2025-02-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:42:02] Production.INFO: ==17667== Releasing lock...
[2025-02-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:42:02] Production.INFO: ==17665== Releasing lock...
[2025-02-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:42:03] Production.INFO: ==17670== Lock acquired, processing the job...
[2025-02-09 10:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:42:03] Production.INFO: ==17674== Lock acquired, processing the job...
[2025-02-09 10:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:42:03] Production.INFO: ==17672== Lock acquired, processing the job...
[2025-02-09 10:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:42:03] Production.INFO: ==17676== Lock acquired, processing the job...
[2025-02-09 10:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:42:03] Production.INFO: Account Balance Start.
[2025-02-09 10:42:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:42:03] Production.INFO: 117
[2025-02-09 10:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:42:04] Production.INFO: ==17672== Releasing lock...
[2025-02-09 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:42:04] Production.INFO: Total Charge 0
[2025-02-09 10:42:04] Production.INFO: ==17678== Lock acquired, processing the job...
[2025-02-09 10:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:42:04] Production.INFO: ==17680== Lock acquired, processing the job...
[2025-02-09 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:42:04] Production.INFO: CreateAllLog End
[2025-02-09 10:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:42:04] Production.INFO: Account Balance End.
[2025-02-09 10:42:04] Production.INFO: count ==21
[2025-02-09 10:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:42:04] Production.INFO: ==17676== Releasing lock...
[2025-02-09 10:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:42:04] Production.INFO: count ==21
[2025-02-09 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436516') start
[2025-02-09 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436516') end
[2025-02-09 10:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:42:04] Production.INFO: 1
[2025-02-09 10:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:42:04] Production.ERROR: done
[2025-02-09 10:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:42:04] Production.INFO: ==17680== Releasing lock...
[2025-02-09 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:42:04] Production.ERROR: done
[2025-02-09 10:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:42:05
[end_date_ymd] => 2025-02-09 10:42:05
[RateCDR] => 1
)
[2025-02-09 10:42: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` >= '2025-02-09 07:42:05' and `end` < '2025-02-09 10:42: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 ,'')
[2025-02-09 10:42:11] Production.ERROR: CronJobId end10
[2025-02-09 10:42:11] Production.INFO: ==17674== Releasing lock...
[2025-02-09 10:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:42:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:42:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:42:13] Production.INFO: call_cost start
[2025-02-09 10:42:13] Production.INFO: call_cost end
[2025-02-09 10:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:42:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:42:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:42:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:42:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:42:14] Production.INFO: ==17670== Releasing lock...
[2025-02-09 10:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:42:18] Production.INFO: count ==261
[2025-02-09 10:42:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:42:05 - End Time 2025-02-09 10:42:05
[2025-02-09 10:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436517', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436517', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436517', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436517', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:42:18] Production.INFO: ProcessCDR(1,14436517,1,1,2)
[2025-02-09 10:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436517', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436517', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:42:22] Production.INFO: ==17678== Releasing lock...
[2025-02-09 10:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:42:22] Production.INFO: 29.5 MB #Memory Used#
[2025-02-09 15:43:02] Production.INFO: ==17737== Lock acquired, processing the job...
[2025-02-09 15:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:43:02] Production.INFO: neon service started
[2025-02-09 15:43:02] Production.INFO: neon service started
[2025-02-09 15:43:02] Production.INFO: ==17737== Releasing lock...
[2025-02-09 15:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:43:02] Production.INFO: ==17739== Lock acquired, processing the job...
[2025-02-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:43:02] Production.INFO: ==17741== Lock acquired, processing the job...
[2025-02-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:43:03] Production.INFO: ==17739== Releasing lock...
[2025-02-09 10:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:43:03] Production.INFO: ==17741== Releasing lock...
[2025-02-09 15:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:43:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:43:03] Production.INFO: ==17752== Lock acquired, processing the job...
[2025-02-09 10:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:43:03] Production.INFO: ==17754== Lock acquired, processing the job...
[2025-02-09 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:43:03] Production.INFO: ==17744== Lock acquired, processing the job...
[2025-02-09 10:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:43:04] Production.INFO: ==17750== Lock acquired, processing the job...
[2025-02-09 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:43:04] Production.INFO: ==17748== Lock acquired, processing the job...
[2025-02-09 10:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:43:04] Production.INFO: ==17746== Lock acquired, processing the job...
[2025-02-09 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:43:04] Production.INFO: Account Balance Start.
[2025-02-09 10:43:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:43:04] Production.INFO: 117
[2025-02-09 10:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:43:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:43:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:43:04] Production.INFO: Total Charge 0
[2025-02-09 10:43:04] Production.INFO: CreateAllLog End
[2025-02-09 10:43:04] Production.INFO: count ==21
[2025-02-09 10:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:43:04] Production.INFO: count ==21
[2025-02-09 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436518') start
[2025-02-09 10:43:04] Production.ERROR: done
[2025-02-09 10:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:43:04] Production.ERROR: done
[2025-02-09 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436518') end
[2025-02-09 10:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:43:04] Production.INFO: 1
[2025-02-09 10:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:43:04] Production.INFO: Account Balance End.
[2025-02-09 10:43:04] Production.INFO: ==17746== Releasing lock...
[2025-02-09 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:43:04] Production.INFO: ==17750== Releasing lock...
[2025-02-09 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:43:04] Production.INFO: ==17754== Releasing lock...
[2025-02-09 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:43:05
[end_date_ymd] => 2025-02-09 10:43:05
[RateCDR] => 1
)
[2025-02-09 10:43: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` >= '2025-02-09 07:43:05' and `end` < '2025-02-09 10:43: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 ,'')
[2025-02-09 10:43:12] Production.ERROR: CronJobId end10
[2025-02-09 10:43:12] Production.INFO: ==17748== Releasing lock...
[2025-02-09 10:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:43:15] Production.INFO: call_cost start
[2025-02-09 10:43:15] Production.INFO: call_cost end
[2025-02-09 10:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:43:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:43:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:43:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:43:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:43:16] Production.INFO: ==17744== Releasing lock...
[2025-02-09 10:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:43:18] Production.INFO: count ==259
[2025-02-09 10:43:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:43:05 - End Time 2025-02-09 10:43:05
[2025-02-09 10:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436522', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436522', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436522', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436522', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:43:18] Production.INFO: ProcessCDR(1,14436522,1,1,2)
[2025-02-09 10:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436522', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436522', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:43:21] Production.INFO: ==17752== Releasing lock...
[2025-02-09 10:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:43:21] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 15:44:01] Production.INFO: ==17812== Lock acquired, processing the job...
[2025-02-09 15:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:44:01] Production.INFO: neon service started
[2025-02-09 15:44:01] Production.INFO: neon service started
[2025-02-09 15:44:01] Production.INFO: ==17812== Releasing lock...
[2025-02-09 15:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:44:02] Production.INFO: ==17814== Lock acquired, processing the job...
[2025-02-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:44:02] Production.INFO: ==17814== Releasing lock...
[2025-02-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:44:02] Production.INFO: ==17816== Lock acquired, processing the job...
[2025-02-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:44:02] Production.INFO: ==17816== Releasing lock...
[2025-02-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:44:03] Production.INFO: ==17819== Lock acquired, processing the job...
[2025-02-09 10:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:44:03] Production.INFO: ==17821== Lock acquired, processing the job...
[2025-02-09 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:44:03] Production.INFO: ==17829== Lock acquired, processing the job...
[2025-02-09 10:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:44:03] Production.INFO: ==17823== Lock acquired, processing the job...
[2025-02-09 10:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:44:03] Production.INFO: ==17825== Lock acquired, processing the job...
[2025-02-09 10:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:44:03] Production.INFO: ==17827== Lock acquired, processing the job...
[2025-02-09 10:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:44:03] Production.INFO: count ==21
[2025-02-09 10:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:44:03] Production.INFO: count ==21
[2025-02-09 10:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436525') start
[2025-02-09 10:44:03] Production.INFO: ==17821== Releasing lock...
[2025-02-09 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:44:03] Production.INFO: Account Balance Start.
[2025-02-09 10:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:44:03] Production.INFO: 117
[2025-02-09 10:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436525') end
[2025-02-09 10:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:44:03] Production.INFO: 1
[2025-02-09 10:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:44:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:44:04] Production.INFO: ==17829== Releasing lock...
[2025-02-09 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:44:04] Production.INFO: Total Charge 0
[2025-02-09 10:44:04] Production.ERROR: done
[2025-02-09 10:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:44:04] Production.INFO: CreateAllLog End
[2025-02-09 10:44:04] Production.ERROR: done
[2025-02-09 10:44:04] Production.INFO: Account Balance End.
[2025-02-09 10:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:44:04] Production.INFO: ==17825== Releasing lock...
[2025-02-09 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:44:05
[end_date_ymd] => 2025-02-09 10:44:05
[RateCDR] => 1
)
[2025-02-09 10:44: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` >= '2025-02-09 07:44:05' and `end` < '2025-02-09 10:44: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 ,'')
[2025-02-09 10:44:11] Production.ERROR: CronJobId end10
[2025-02-09 10:44:11] Production.INFO: ==17823== Releasing lock...
[2025-02-09 10:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:44:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:44:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:44:14] Production.INFO: call_cost start
[2025-02-09 10:44:14] Production.INFO: call_cost end
[2025-02-09 10:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:44:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:44:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:44:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:44:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:44:15] Production.INFO: ==17819== Releasing lock...
[2025-02-09 10:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:44:18] Production.INFO: count ==259
[2025-02-09 10:44:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:44:05 - End Time 2025-02-09 10:44:05
[2025-02-09 10:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436527', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436527', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436527', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436527', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:44:18] Production.INFO: ProcessCDR(1,14436527,1,1,2)
[2025-02-09 10:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436527', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436527', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:44:21] Production.INFO: ==17827== Releasing lock...
[2025-02-09 10:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:44:21] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 15:45:02] Production.INFO: ==17888== Lock acquired, processing the job...
[2025-02-09 15:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:45:02] Production.INFO: neon service started
[2025-02-09 15:45:02] Production.INFO: neon service started
[2025-02-09 15:45:02] Production.INFO: ==17888== Releasing lock...
[2025-02-09 15:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:45:02] Production.INFO: ==17890== Lock acquired, processing the job...
[2025-02-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:45:02] Production.INFO: ==17892== Lock acquired, processing the job...
[2025-02-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:45:02] Production.INFO: ==17892== Releasing lock...
[2025-02-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:45:03] Production.INFO: ==17890== Releasing lock...
[2025-02-09 10:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:45:03] Production.INFO: ==17895== Lock acquired, processing the job...
[2025-02-09 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:45:03] Production.INFO: ==17899== Lock acquired, processing the job...
[2025-02-09 10:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:45:03] Production.INFO: ==17901== Lock acquired, processing the job...
[2025-02-09 10:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:45:03] Production.INFO: Account Balance Start.
[2025-02-09 10:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:45:03] Production.INFO: 117
[2025-02-09 10:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:45:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:45:04] Production.INFO: Total Charge 0
[2025-02-09 10:45:04] Production.INFO: ==17897== Lock acquired, processing the job...
[2025-02-09 10:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:45:04] Production.INFO: CreateAllLog End
[2025-02-09 10:45:04] Production.INFO: ==17903== Lock acquired, processing the job...
[2025-02-09 10:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:45:04] Production.INFO: Account Balance End.
[2025-02-09 10:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:45:04] Production.INFO: ==17901== Releasing lock...
[2025-02-09 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:45:04] Production.INFO: ==17905== Lock acquired, processing the job...
[2025-02-09 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:45:04] Production.INFO: ==17897== Releasing lock...
[2025-02-09 10:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:45:04] Production.INFO: count ==21
[2025-02-09 10:45:04] Production.ERROR: done
[2025-02-09 10:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:45:04] Production.INFO: count ==21
[2025-02-09 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436531') start
[2025-02-09 10:45:04] Production.ERROR: done
[2025-02-09 10:45:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436531') end
[2025-02-09 10:45:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:45:05] Production.INFO: 1
[2025-02-09 10:45:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:45:05] Production.INFO: ==17905== Releasing lock...
[2025-02-09 10:45:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:45:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:45:05
[end_date_ymd] => 2025-02-09 10:45:05
[RateCDR] => 1
)
[2025-02-09 10:45: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` >= '2025-02-09 07:45:05' and `end` < '2025-02-09 10:45: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 ,'')
[2025-02-09 10:45:12] Production.ERROR: CronJobId end10
[2025-02-09 10:45:12] Production.INFO: ==17899== Releasing lock...
[2025-02-09 10:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:45:14] Production.INFO: call_cost start
[2025-02-09 10:45:14] Production.INFO: call_cost end
[2025-02-09 10:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:45:15] Production.INFO: ==17895== Releasing lock...
[2025-02-09 10:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:45:18] Production.INFO: count ==264
[2025-02-09 10:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:45:05 - End Time 2025-02-09 10:45:05
[2025-02-09 10:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436532', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436532', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436532', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436532', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:45:18] Production.INFO: ProcessCDR(1,14436532,1,1,2)
[2025-02-09 10:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436532', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436532', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:45:22] Production.INFO: ==17903== Releasing lock...
[2025-02-09 10:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:45:22] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 15:46:01] Production.INFO: ==17959== Lock acquired, processing the job...
[2025-02-09 15:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:46:01] Production.INFO: neon service started
[2025-02-09 15:46:01] Production.INFO: neon service started
[2025-02-09 15:46:01] Production.INFO: ==17959== Releasing lock...
[2025-02-09 15:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:46:02] Production.INFO: ==17961== Lock acquired, processing the job...
[2025-02-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:46:02] Production.INFO: ==17963== Lock acquired, processing the job...
[2025-02-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 10:46:02] Production.INFO: ==17961== Releasing lock...
[2025-02-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:46:02] Production.INFO: ==17963== Releasing lock...
[2025-02-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:46:03] Production.INFO: ==17974== Lock acquired, processing the job...
[2025-02-09 10:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:46:03] Production.INFO: ==17976== Lock acquired, processing the job...
[2025-02-09 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:46:03] Production.INFO: ==17966== Lock acquired, processing the job...
[2025-02-09 10:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:46:03] Production.INFO: ==17968== Lock acquired, processing the job...
[2025-02-09 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:46:03] Production.INFO: ==17970== Lock acquired, processing the job...
[2025-02-09 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:46:03] Production.INFO: ==17972== Lock acquired, processing the job...
[2025-02-09 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:46:03] Production.INFO: count ==21
[2025-02-09 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:46:03] Production.INFO: Account Balance Start.
[2025-02-09 10:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:46:03] Production.INFO: count ==21
[2025-02-09 10:46:03] Production.INFO: 117
[2025-02-09 10:46:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436533') start
[2025-02-09 10:46:03] Production.ERROR: done
[2025-02-09 10:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:46:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:46:04] Production.INFO: Total Charge 0
[2025-02-09 10:46:04] Production.INFO: CreateAllLog End
[2025-02-09 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436533') end
[2025-02-09 10:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:46:04] Production.INFO: 1
[2025-02-09 10:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:46:04] Production.INFO: ==17976== Releasing lock...
[2025-02-09 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:46:04] Production.INFO: ==17968== Releasing lock...
[2025-02-09 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:46:04] Production.ERROR: done
[2025-02-09 10:46:04] Production.INFO: Account Balance End.
[2025-02-09 10:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:46:04] Production.INFO: ==17972== Releasing lock...
[2025-02-09 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:46:05
[end_date_ymd] => 2025-02-09 10:46:05
[RateCDR] => 1
)
[2025-02-09 10:46: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` >= '2025-02-09 07:46:05' and `end` < '2025-02-09 10:46: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 ,'')
[2025-02-09 10:46:12] Production.ERROR: CronJobId end10
[2025-02-09 10:46:12] Production.INFO: ==17970== Releasing lock...
[2025-02-09 10:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:46:14] Production.INFO: call_cost start
[2025-02-09 10:46:14] Production.INFO: call_cost end
[2025-02-09 10:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:46:15] Production.INFO: ==17966== Releasing lock...
[2025-02-09 10:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:46:19] Production.INFO: count ==279
[2025-02-09 10:46:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:46:05 - End Time 2025-02-09 10:46:05
[2025-02-09 10:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436537', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436537', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436537', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436537', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:46:19] Production.INFO: ProcessCDR(1,14436537,1,1,2)
[2025-02-09 10:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436537', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436537', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:46:22] Production.INFO: ==17974== Releasing lock...
[2025-02-09 10:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:46:22] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:47:02] Production.INFO: ==18043== Lock acquired, processing the job...
[2025-02-09 15:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:47:02] Production.INFO: neon service started
[2025-02-09 15:47:02] Production.INFO: neon service started
[2025-02-09 15:47:02] Production.INFO: ==18043== Releasing lock...
[2025-02-09 15:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:47:02] Production.INFO: ==18047== Lock acquired, processing the job...
[2025-02-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:47:02] Production.INFO: ==18047== Releasing lock...
[2025-02-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:47:02] Production.INFO: ==18045== Lock acquired, processing the job...
[2025-02-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:47:03] Production.INFO: ==18045== Releasing lock...
[2025-02-09 10:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:47:03] Production.INFO: ==18051== Lock acquired, processing the job...
[2025-02-09 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:47:03] Production.INFO: ==18057== Lock acquired, processing the job...
[2025-02-09 10:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:47:03] Production.INFO: ==18051== Releasing lock...
[2025-02-09 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:47:03] Production.INFO: ==18049== Lock acquired, processing the job...
[2025-02-09 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:47:04] Production.INFO: ==18053== Lock acquired, processing the job...
[2025-02-09 10:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:47:04] Production.INFO: ==18055== Lock acquired, processing the job...
[2025-02-09 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:47:04] Production.INFO: ==18059== Lock acquired, processing the job...
[2025-02-09 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:47:04] Production.ERROR: done
[2025-02-09 10:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:47:04] Production.INFO: Account Balance Start.
[2025-02-09 10:47:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:47:04] Production.INFO: 117
[2025-02-09 10:47:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:47:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:47:04] Production.INFO: Total Charge 0
[2025-02-09 10:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:47:04] Production.INFO: CreateAllLog End
[2025-02-09 10:47:04] Production.INFO: count ==21
[2025-02-09 10:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:47:04] Production.INFO: count ==21
[2025-02-09 10:47:04] Production.ERROR: done
[2025-02-09 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436541') start
[2025-02-09 10:47:04] Production.INFO: Account Balance End.
[2025-02-09 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436541') end
[2025-02-09 10:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:47:04] Production.INFO: 1
[2025-02-09 10:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:47:04] Production.INFO: ==18055== Releasing lock...
[2025-02-09 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:47:04] Production.INFO: ==18059== Releasing lock...
[2025-02-09 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:47:05
[end_date_ymd] => 2025-02-09 10:47:05
[RateCDR] => 1
)
[2025-02-09 10:47: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` >= '2025-02-09 07:47:05' and `end` < '2025-02-09 10:47: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 ,'')
[2025-02-09 10:47:11] Production.ERROR: CronJobId end10
[2025-02-09 10:47:11] Production.INFO: ==18053== Releasing lock...
[2025-02-09 10:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:47:14] Production.INFO: call_cost start
[2025-02-09 10:47:14] Production.INFO: call_cost end
[2025-02-09 10:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:47:15] Production.INFO: ==18049== Releasing lock...
[2025-02-09 10:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:47:18] Production.INFO: count ==279
[2025-02-09 10:47:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:47:05 - End Time 2025-02-09 10:47:05
[2025-02-09 10:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436542', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436542', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436542', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436542', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:47:18] Production.INFO: ProcessCDR(1,14436542,1,1,2)
[2025-02-09 10:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436542', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436542', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:47:21] Production.INFO: ==18057== Releasing lock...
[2025-02-09 10:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:47:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:48:01] Production.INFO: ==18117== Lock acquired, processing the job...
[2025-02-09 15:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:48:01] Production.INFO: neon service started
[2025-02-09 15:48:01] Production.INFO: neon service started
[2025-02-09 15:48:01] Production.INFO: ==18117== Releasing lock...
[2025-02-09 15:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:48:01] Production.INFO: ==18119== Lock acquired, processing the job...
[2025-02-09 10:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:48:02] Production.INFO: ==18119== Releasing lock...
[2025-02-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:48:02] Production.INFO: ==18121== Lock acquired, processing the job...
[2025-02-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:48:02] Production.INFO: ==18121== Releasing lock...
[2025-02-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:48:03] Production.INFO: ==18124== Lock acquired, processing the job...
[2025-02-09 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:48:03] Production.INFO: ==18128== Lock acquired, processing the job...
[2025-02-09 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:48:03] Production.INFO: ==18134== Lock acquired, processing the job...
[2025-02-09 10:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:48:03] Production.INFO: ==18126== Lock acquired, processing the job...
[2025-02-09 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:48:03] Production.INFO: ==18130== Lock acquired, processing the job...
[2025-02-09 10:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:48:03] Production.INFO: count ==21
[2025-02-09 10:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:48:03] Production.INFO: ==18132== Lock acquired, processing the job...
[2025-02-09 10:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:48:03] Production.INFO: count ==21
[2025-02-09 10:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436544') start
[2025-02-09 10:48:03] Production.INFO: Account Balance Start.
[2025-02-09 10:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:48:03] Production.INFO: 117
[2025-02-09 10:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:48:03] Production.INFO: ==18126== Releasing lock...
[2025-02-09 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436544') end
[2025-02-09 10:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:48:03] Production.INFO: 1
[2025-02-09 10:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:48:03] Production.INFO: Total Charge 0
[2025-02-09 10:48:03] Production.INFO: CreateAllLog End
[2025-02-09 10:48:03] Production.INFO: ==18134== Releasing lock...
[2025-02-09 10:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:48:03] Production.ERROR: done
[2025-02-09 10:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:48:03] Production.INFO: Account Balance End.
[2025-02-09 10:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:48:04] Production.INFO: ==18130== Releasing lock...
[2025-02-09 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:48:04] Production.ERROR: done
[2025-02-09 10:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:48:05
[end_date_ymd] => 2025-02-09 10:48:05
[RateCDR] => 1
)
[2025-02-09 10:48: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` >= '2025-02-09 07:48:05' and `end` < '2025-02-09 10:48: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 ,'')
[2025-02-09 10:48:12] Production.ERROR: CronJobId end10
[2025-02-09 10:48:12] Production.INFO: ==18128== Releasing lock...
[2025-02-09 10:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:48:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:48:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:48:14] Production.INFO: call_cost start
[2025-02-09 10:48:14] Production.INFO: call_cost end
[2025-02-09 10:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:48:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:48:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:48:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:48:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:48:15] Production.INFO: ==18124== Releasing lock...
[2025-02-09 10:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:48:19] Production.INFO: count ==279
[2025-02-09 10:48:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:48:05 - End Time 2025-02-09 10:48:05
[2025-02-09 10:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436547', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436547', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436547', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436547', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:48:19] Production.INFO: ProcessCDR(1,14436547,1,1,2)
[2025-02-09 10:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436547', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436547', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:48:22] Production.INFO: ==18132== Releasing lock...
[2025-02-09 10:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:48:22] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:49:02] Production.INFO: ==18197== Lock acquired, processing the job...
[2025-02-09 15:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:49:02] Production.INFO: neon service started
[2025-02-09 15:49:02] Production.INFO: neon service started
[2025-02-09 15:49:02] Production.INFO: ==18197== Releasing lock...
[2025-02-09 15:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:49:02] Production.INFO: ==18199== Lock acquired, processing the job...
[2025-02-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:49:02] Production.INFO: ==18201== Lock acquired, processing the job...
[2025-02-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:49:02] Production.INFO: ==18201== Releasing lock...
[2025-02-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:49:02] Production.INFO: ==18199== Releasing lock...
[2025-02-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:49:03] Production.INFO: ==18204== Lock acquired, processing the job...
[2025-02-09 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:49:03] Production.INFO: ==18208== Lock acquired, processing the job...
[2025-02-09 10:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:49:03] Production.INFO: ==18214== Lock acquired, processing the job...
[2025-02-09 10:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:49:03] Production.INFO: count ==21
[2025-02-09 10:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:49:03] Production.INFO: count ==21
[2025-02-09 10:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436549') start
[2025-02-09 10:49:04] Production.INFO: ==18206== Lock acquired, processing the job...
[2025-02-09 10:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:49:04] Production.INFO: ==18210== Lock acquired, processing the job...
[2025-02-09 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436549') end
[2025-02-09 10:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:49:04] Production.INFO: 1
[2025-02-09 10:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:49:04] Production.INFO: ==18212== Lock acquired, processing the job...
[2025-02-09 10:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:49:04] Production.INFO: ==18214== Releasing lock...
[2025-02-09 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:49:04] Production.INFO: Account Balance Start.
[2025-02-09 10:49:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:49:04] Production.INFO: 117
[2025-02-09 10:49:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:49:04] Production.INFO: ==18206== Releasing lock...
[2025-02-09 10:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:49:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:49:04] Production.INFO: Total Charge 0
[2025-02-09 10:49:04] Production.ERROR: done
[2025-02-09 10:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:49:04] Production.INFO: CreateAllLog End
[2025-02-09 10:49:04] Production.ERROR: done
[2025-02-09 10:49:04] Production.INFO: Account Balance End.
[2025-02-09 10:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:49:04] Production.INFO: ==18210== Releasing lock...
[2025-02-09 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:49:05
[end_date_ymd] => 2025-02-09 10:49:05
[RateCDR] => 1
)
[2025-02-09 10:49: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` >= '2025-02-09 07:49:05' and `end` < '2025-02-09 10:49: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 ,'')
[2025-02-09 10:49:11] Production.ERROR: CronJobId end10
[2025-02-09 10:49:11] Production.INFO: ==18208== Releasing lock...
[2025-02-09 10:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:49:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:49:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:49:13] Production.INFO: call_cost start
[2025-02-09 10:49:13] Production.INFO: call_cost end
[2025-02-09 10:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:49:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:49:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:49:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:49:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:49:14] Production.INFO: ==18204== Releasing lock...
[2025-02-09 10:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:49:18] Production.INFO: count ==280
[2025-02-09 10:49:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:49:05 - End Time 2025-02-09 10:49:05
[2025-02-09 10:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436552', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436552', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436552', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436552', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:49:18] Production.INFO: ProcessCDR(1,14436552,1,1,2)
[2025-02-09 10:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436552', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436552', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:49:23] Production.INFO: ==18212== Releasing lock...
[2025-02-09 10:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:49:23] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:50:01] Production.INFO: ==18267== Lock acquired, processing the job...
[2025-02-09 15:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:50:01] Production.INFO: neon service started
[2025-02-09 15:50:01] Production.INFO: neon service started
[2025-02-09 15:50:01] Production.INFO: ==18267== Releasing lock...
[2025-02-09 15:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:50:02] Production.INFO: ==18269== Lock acquired, processing the job...
[2025-02-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:50:02] Production.INFO: ==18271== Lock acquired, processing the job...
[2025-02-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:50:02] Production.INFO: ==18271== Releasing lock...
[2025-02-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:50:02] Production.INFO: ==18269== Releasing lock...
[2025-02-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:50:03] Production.INFO: ==18282== Lock acquired, processing the job...
[2025-02-09 10:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:50:03] Production.INFO: ==18280== Lock acquired, processing the job...
[2025-02-09 10:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:50:03] Production.INFO: Account Balance Start.
[2025-02-09 10:50:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:50:03] Production.INFO: 117
[2025-02-09 10:50:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:50:04] Production.INFO: ==18288== Lock acquired, processing the job...
[2025-02-09 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:50:04] Production.INFO: Total Charge 0
[2025-02-09 10:50:04] Production.INFO: ==18274== Lock acquired, processing the job...
[2025-02-09 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 10:50:04] Production.INFO: CreateAllLog End
[2025-02-09 10:50:04] Production.INFO: ==18276== Lock acquired, processing the job...
[2025-02-09 10:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:50:04] Production.INFO: ==18284== Lock acquired, processing the job...
[2025-02-09 10:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:50:04] Production.INFO: ==18286== Lock acquired, processing the job...
[2025-02-09 10:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 10:50:04] Production.INFO: ==18278== Lock acquired, processing the job...
[2025-02-09 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:50:04] Production.INFO: count ==21
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:50:04] Production.ERROR: CronJob PID - 18276
[2025-02-09 10:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 10:50:04] Production.ERROR: CronJob ID - 5
[2025-02-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:50:00
[2025-02-09 10:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:50:04] Production.ERROR: CronJob PID - 18280
[2025-02-09 10:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 10:50:04] Production.ERROR: CronJob ID - 10
[2025-02-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:50:00
[2025-02-09 10:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:50:04] Production.ERROR: CronJob PID - 18282
[2025-02-09 10:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 10:50:04] Production.ERROR: CronJob ID - 12
[2025-02-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:50:00
[2025-02-09 10:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:50:04] Production.ERROR: CronJob PID - 18284
[2025-02-09 10:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 10:50:04] Production.ERROR: CronJob ID - 16
[2025-02-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:50:00
[2025-02-09 10:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:50:04] Production.ERROR: CronJob PID - 18286
[2025-02-09 10:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-09 10:50:04] Production.ERROR: CronJob ID - 17
[2025-02-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:50:00
[2025-02-09 10:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 10:50:04] Production.ERROR: CronJob PID - 18288
[2025-02-09 10:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 10:50:04] Production.ERROR: CronJob ID - 19
[2025-02-09 10:50:04] Production.ERROR: CronJob Last Run Time 2025-02-09 10:50:00
[2025-02-09 10:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 10:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:50:04] Production.INFO: count ==21
[2025-02-09 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436554') start
[2025-02-09 10:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 10:50:04] Production.INFO: ==18274== Releasing lock...
[2025-02-09 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 10:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436554') end
[2025-02-09 10:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:50:04] Production.INFO: 1
[2025-02-09 10:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:50:04] Production.INFO: Account Balance End.
[2025-02-09 10:50:04] Production.INFO: ==18288== Releasing lock...
[2025-02-09 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:50:04] Production.INFO: ==18282== Releasing lock...
[2025-02-09 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:50:04] Production.ERROR: done
[2025-02-09 10:50:04] Production.ERROR: done
[2025-02-09 10:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 10:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436557', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 10:50:05] Production.ERROR: done
[2025-02-09 10:50:05] Production.INFO: ==18278== Releasing lock...
[2025-02-09 10:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:50:06
[end_date_ymd] => 2025-02-09 10:50:06
[RateCDR] => 1
)
[2025-02-09 10:50: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-02-09 07:50:06' and `end` < '2025-02-09 10:50: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-02-09 10:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436557', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 10:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 10:50:08] Production.INFO: ProcessCDR(1,14436557,1,1,2)
[2025-02-09 10:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436557,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436557,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:50:08] Production.INFO: ==18286== Releasing lock...
[2025-02-09 10:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 10:50:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 10:50:13] Production.ERROR: CronJobId end10
[2025-02-09 10:50:13] Production.INFO: ==18280== Releasing lock...
[2025-02-09 10:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:50:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:50:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:50:15] Production.INFO: call_cost start
[2025-02-09 10:50:15] Production.INFO: call_cost end
[2025-02-09 10:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:50:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:50:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:50:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:50:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:50:16] Production.INFO: ==18276== Releasing lock...
[2025-02-09 10:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:50:19] Production.INFO: count ==279
[2025-02-09 10:50:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:50:06 - End Time 2025-02-09 10:50:06
[2025-02-09 10:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436558', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436558', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436558', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436558', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:50:19] Production.INFO: ProcessCDR(1,14436558,1,1,2)
[2025-02-09 10:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436558', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436558', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:50:22] Production.INFO: ==18284== Releasing lock...
[2025-02-09 10:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:50:22] Production.INFO: 29.75 MB #Memory Used#
[2025-02-09 15:51:01] Production.INFO: ==18355== Lock acquired, processing the job...
[2025-02-09 15:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:51:01] Production.INFO: neon service started
[2025-02-09 15:51:01] Production.INFO: neon service started
[2025-02-09 15:51:01] Production.INFO: ==18355== Releasing lock...
[2025-02-09 15:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:51:02] Production.INFO: ==18359== Lock acquired, processing the job...
[2025-02-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:51:02] Production.INFO: ==18359== Releasing lock...
[2025-02-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:51:02] Production.INFO: ==18357== Lock acquired, processing the job...
[2025-02-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:51:02] Production.INFO: ==18357== Releasing lock...
[2025-02-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:51:03] Production.INFO: ==18367== Lock acquired, processing the job...
[2025-02-09 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:51:03] Production.INFO: ==18369== Lock acquired, processing the job...
[2025-02-09 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:51:03] Production.INFO: Account Balance Start.
[2025-02-09 10:51:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:51:03] Production.INFO: 117
[2025-02-09 10:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:51:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:51:03] Production.INFO: ==18361== Lock acquired, processing the job...
[2025-02-09 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:51:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:51:03] Production.INFO: Total Charge 0
[2025-02-09 10:51:03] Production.INFO: ==18363== Lock acquired, processing the job...
[2025-02-09 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:51:03] Production.INFO: CreateAllLog End
[2025-02-09 10:51:03] Production.INFO: ==18365== Lock acquired, processing the job...
[2025-02-09 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:51:03] Production.INFO: ==18371== Lock acquired, processing the job...
[2025-02-09 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:51:04] Production.INFO: Account Balance End.
[2025-02-09 10:51:04] Production.ERROR: done
[2025-02-09 10:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:51:04] Production.INFO: count ==21
[2025-02-09 10:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:51:04] Production.INFO: count ==21
[2025-02-09 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436562') start
[2025-02-09 10:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:51:04] Production.INFO: ==18367== Releasing lock...
[2025-02-09 10:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:51:04] Production.INFO: ==18363== Releasing lock...
[2025-02-09 10:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:51:04] Production.ERROR: done
[2025-02-09 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436562') end
[2025-02-09 10:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:51:04] Production.INFO: 1
[2025-02-09 10:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:51:04] Production.INFO: ==18371== Releasing lock...
[2025-02-09 10:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:51:05
[end_date_ymd] => 2025-02-09 10:51:05
[RateCDR] => 1
)
[2025-02-09 10:51: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` >= '2025-02-09 07:51:05' and `end` < '2025-02-09 10:51: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 ,'')
[2025-02-09 10:51:12] Production.ERROR: CronJobId end10
[2025-02-09 10:51:12] Production.INFO: ==18365== Releasing lock...
[2025-02-09 10:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:51:15] Production.INFO: call_cost start
[2025-02-09 10:51:15] Production.INFO: call_cost end
[2025-02-09 10:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:51:15] Production.INFO: ==18361== Releasing lock...
[2025-02-09 10:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:51:19] Production.INFO: count ==285
[2025-02-09 10:51:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:51:05 - End Time 2025-02-09 10:51:05
[2025-02-09 10:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436563', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436563', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436563', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436563', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:51:19] Production.INFO: ProcessCDR(1,14436563,1,1,2)
[2025-02-09 10:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436563', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436563', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:51:22] Production.INFO: ==18369== Releasing lock...
[2025-02-09 10:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:51:22] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:52:01] Production.INFO: ==18426== Lock acquired, processing the job...
[2025-02-09 15:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:52:01] Production.INFO: neon service started
[2025-02-09 15:52:01] Production.INFO: neon service started
[2025-02-09 15:52:01] Production.INFO: ==18426== Releasing lock...
[2025-02-09 15:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:52:01] Production.INFO: ==18430== Lock acquired, processing the job...
[2025-02-09 15:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:52:01] Production.INFO: ==18430== Releasing lock...
[2025-02-09 15:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:52:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:52:02] Production.INFO: ==18428== Lock acquired, processing the job...
[2025-02-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:52:02] Production.INFO: ==18428== Releasing lock...
[2025-02-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:52:03] Production.INFO: ==18433== Lock acquired, processing the job...
[2025-02-09 10:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:52:03] Production.INFO: ==18435== Lock acquired, processing the job...
[2025-02-09 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:52:03] Production.INFO: ==18439== Lock acquired, processing the job...
[2025-02-09 10:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:52:03] Production.INFO: Account Balance Start.
[2025-02-09 10:52:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:52:03] Production.INFO: 117
[2025-02-09 10:52:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:52:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:52:03] Production.INFO: ==18437== Lock acquired, processing the job...
[2025-02-09 10:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:52:03] Production.INFO: Total Charge 0
[2025-02-09 10:52:03] Production.INFO: CreateAllLog End
[2025-02-09 10:52:03] Production.INFO: ==18435== Releasing lock...
[2025-02-09 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:52:03] Production.INFO: ==18441== Lock acquired, processing the job...
[2025-02-09 10:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:52:03] Production.INFO: Account Balance End.
[2025-02-09 10:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:52:03] Production.ERROR: CronJobId end 12
[2025-02-09 10:52:03] Production.INFO: ==18439== Releasing lock...
[2025-02-09 10:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:52:03] Production.INFO: ==18443== Lock acquired, processing the job...
[2025-02-09 10:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:52:04] Production.INFO: count ==21
[2025-02-09 10:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:52:04] Production.INFO: count ==21
[2025-02-09 10:52:04] Production.ERROR: done
[2025-02-09 10:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436567') start
[2025-02-09 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436567') end
[2025-02-09 10:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:52:04] Production.INFO: 1
[2025-02-09 10:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:52:04] Production.ERROR: done
[2025-02-09 10:52:04] Production.INFO: ==18443== Releasing lock...
[2025-02-09 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:52:05
[end_date_ymd] => 2025-02-09 10:52:05
[RateCDR] => 1
)
[2025-02-09 10:52: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` >= '2025-02-09 07:52:05' and `end` < '2025-02-09 10:52: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 ,'')
[2025-02-09 10:52:11] Production.ERROR: CronJobId end10
[2025-02-09 10:52:11] Production.INFO: ==18437== Releasing lock...
[2025-02-09 10:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:52:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:52:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:52:14] Production.INFO: call_cost start
[2025-02-09 10:52:14] Production.INFO: call_cost end
[2025-02-09 10:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:52:15] Production.INFO: ==18433== Releasing lock...
[2025-02-09 10:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:52:18] Production.INFO: count ==285
[2025-02-09 10:52:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:52:05 - End Time 2025-02-09 10:52:05
[2025-02-09 10:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436568', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436568', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436568', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436568', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:52:18] Production.INFO: ProcessCDR(1,14436568,1,1,2)
[2025-02-09 10:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436568', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436568', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:52:21] Production.INFO: ==18441== Releasing lock...
[2025-02-09 10:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:52:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:53:01] Production.INFO: ==18500== Lock acquired, processing the job...
[2025-02-09 15:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:53:01] Production.INFO: neon service started
[2025-02-09 15:53:01] Production.INFO: neon service started
[2025-02-09 15:53:01] Production.INFO: ==18500== Releasing lock...
[2025-02-09 15:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:53:02] Production.INFO: ==18502== Lock acquired, processing the job...
[2025-02-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:53:02] Production.INFO: ==18502== Releasing lock...
[2025-02-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:53:02] Production.INFO: ==18504== Lock acquired, processing the job...
[2025-02-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:53:02] Production.INFO: ==18504== Releasing lock...
[2025-02-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:53:03] Production.INFO: ==18516== Lock acquired, processing the job...
[2025-02-09 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:53:03] Production.INFO: ==18506== Lock acquired, processing the job...
[2025-02-09 10:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:53:03] Production.INFO: ==18508== Lock acquired, processing the job...
[2025-02-09 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:53:03] Production.INFO: ==18512== Lock acquired, processing the job...
[2025-02-09 10:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:53:03] Production.INFO: ==18514== Lock acquired, processing the job...
[2025-02-09 10:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:53:03] Production.INFO: count ==21
[2025-02-09 10:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:53:03] Production.INFO: count ==21
[2025-02-09 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436569') start
[2025-02-09 10:53:03] Production.INFO: Account Balance Start.
[2025-02-09 10:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:53:03] Production.INFO: 117
[2025-02-09 10:53:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:53:03] Production.INFO: ==18510== Lock acquired, processing the job...
[2025-02-09 10:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:53:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436569') end
[2025-02-09 10:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:53:04] Production.INFO: 1
[2025-02-09 10:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:53:04] Production.INFO: Total Charge 0
[2025-02-09 10:53:04] Production.INFO: CreateAllLog End
[2025-02-09 10:53:04] Production.INFO: ==18516== Releasing lock...
[2025-02-09 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:53:04] Production.INFO: ==18508== Releasing lock...
[2025-02-09 10:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:53:04] Production.ERROR: done
[2025-02-09 10:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:53:04] Production.INFO: Account Balance End.
[2025-02-09 10:53:04] Production.ERROR: done
[2025-02-09 10:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:53:04] Production.INFO: ==18512== Releasing lock...
[2025-02-09 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:53:05
[end_date_ymd] => 2025-02-09 10:53:05
[RateCDR] => 1
)
[2025-02-09 10:53: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` >= '2025-02-09 07:53:05' and `end` < '2025-02-09 10:53: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 ,'')
[2025-02-09 10:53:12] Production.ERROR: CronJobId end10
[2025-02-09 10:53:12] Production.INFO: ==18510== Releasing lock...
[2025-02-09 10:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:53:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:53:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:53:14] Production.INFO: call_cost start
[2025-02-09 10:53:14] Production.INFO: call_cost end
[2025-02-09 10:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:53:15] Production.INFO: ==18506== Releasing lock...
[2025-02-09 10:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:53:18] Production.INFO: count ==287
[2025-02-09 10:53:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:53:05 - End Time 2025-02-09 10:53:05
[2025-02-09 10:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436573', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436573', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436573', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436573', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:53:18] Production.INFO: ProcessCDR(1,14436573,1,1,2)
[2025-02-09 10:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436573', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436573', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:53:22] Production.INFO: ==18514== Releasing lock...
[2025-02-09 10:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:53:22] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:54:01] Production.INFO: ==18571== Lock acquired, processing the job...
[2025-02-09 15:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:54:01] Production.INFO: neon service started
[2025-02-09 15:54:01] Production.INFO: neon service started
[2025-02-09 15:54:01] Production.INFO: ==18571== Releasing lock...
[2025-02-09 15:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:54:01] Production.INFO: ==18573== Lock acquired, processing the job...
[2025-02-09 10:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:54:02] Production.INFO: ==18575== Lock acquired, processing the job...
[2025-02-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:54:02] Production.INFO: ==18575== Releasing lock...
[2025-02-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:54:02] Production.INFO: ==18573== Releasing lock...
[2025-02-09 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:54:03] Production.INFO: ==18578== Lock acquired, processing the job...
[2025-02-09 10:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:54:03] Production.INFO: ==18580== Lock acquired, processing the job...
[2025-02-09 10:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:54:03] Production.INFO: ==18584== Lock acquired, processing the job...
[2025-02-09 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:54:03] Production.INFO: Account Balance Start.
[2025-02-09 10:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:54:03] Production.INFO: 117
[2025-02-09 10:54:03] Production.INFO: ==18582== Lock acquired, processing the job...
[2025-02-09 10:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:54:03] Production.INFO: ==18580== Releasing lock...
[2025-02-09 10:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:54:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:54:03] Production.INFO: Total Charge 0
[2025-02-09 10:54:03] Production.INFO: CreateAllLog End
[2025-02-09 10:54:03] Production.INFO: ==18586== Lock acquired, processing the job...
[2025-02-09 10:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:54:03] Production.INFO: ==18588== Lock acquired, processing the job...
[2025-02-09 10:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:54:04] Production.INFO: Account Balance End.
[2025-02-09 10:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:54:04] Production.INFO: ==18584== Releasing lock...
[2025-02-09 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:54:04] Production.ERROR: done
[2025-02-09 10:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:54:04] Production.INFO: count ==21
[2025-02-09 10:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:54:04] Production.INFO: count ==21
[2025-02-09 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436577') start
[2025-02-09 10:54:04] Production.ERROR: done
[2025-02-09 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436577') end
[2025-02-09 10:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:54:04] Production.INFO: 1
[2025-02-09 10:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:54:04] Production.INFO: ==18588== Releasing lock...
[2025-02-09 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:54:05
[end_date_ymd] => 2025-02-09 10:54:05
[RateCDR] => 1
)
[2025-02-09 10:54: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` >= '2025-02-09 07:54:05' and `end` < '2025-02-09 10:54: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 ,'')
[2025-02-09 10:54:12] Production.ERROR: CronJobId end10
[2025-02-09 10:54:12] Production.INFO: ==18582== Releasing lock...
[2025-02-09 10:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:54:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:54:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:54:13] Production.INFO: call_cost start
[2025-02-09 10:54:13] Production.INFO: call_cost end
[2025-02-09 10:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:54:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:54:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:54:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:54:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:54:14] Production.INFO: ==18578== Releasing lock...
[2025-02-09 10:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:54:18] Production.INFO: count ==289
[2025-02-09 10:54:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:54:05 - End Time 2025-02-09 10:54:05
[2025-02-09 10:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436578', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436578', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436578', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436578', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:54:18] Production.INFO: ProcessCDR(1,14436578,1,1,2)
[2025-02-09 10:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436578', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436578', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:54:21] Production.INFO: ==18586== Releasing lock...
[2025-02-09 10:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:54:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:55:01] Production.INFO: ==18682== Lock acquired, processing the job...
[2025-02-09 15:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:55:01] Production.INFO: neon service started
[2025-02-09 15:55:01] Production.INFO: neon service started
[2025-02-09 15:55:01] Production.INFO: ==18682== Releasing lock...
[2025-02-09 15:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:55:02] Production.INFO: ==18684== Lock acquired, processing the job...
[2025-02-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:55:02] Production.INFO: ==18684== Releasing lock...
[2025-02-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:55:02] Production.INFO: ==18686== Lock acquired, processing the job...
[2025-02-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:55:02] Production.INFO: ==18686== Releasing lock...
[2025-02-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:55:03] Production.INFO: ==18697== Lock acquired, processing the job...
[2025-02-09 10:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:55:03] Production.INFO: ==18699== Lock acquired, processing the job...
[2025-02-09 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:55:03] Production.INFO: ==18689== Lock acquired, processing the job...
[2025-02-09 10:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:55:03] Production.INFO: ==18693== Lock acquired, processing the job...
[2025-02-09 10:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:55:03] Production.INFO: ==18695== Lock acquired, processing the job...
[2025-02-09 10:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:55:03] Production.INFO: count ==21
[2025-02-09 10:55:03] Production.INFO: ==18691== Lock acquired, processing the job...
[2025-02-09 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:55:03] Production.INFO: count ==21
[2025-02-09 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436579') start
[2025-02-09 10:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:55:03] Production.ERROR: done
[2025-02-09 10:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:55:03] Production.INFO: Account Balance Start.
[2025-02-09 10:55:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:55:03] Production.INFO: 117
[2025-02-09 10:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:55:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436579') end
[2025-02-09 10:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:55:03] Production.INFO: 1
[2025-02-09 10:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:55:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:55:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:55:03] Production.INFO: Total Charge 0
[2025-02-09 10:55:04] Production.INFO: CreateAllLog End
[2025-02-09 10:55:04] Production.INFO: ==18699== Releasing lock...
[2025-02-09 10:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:55:04] Production.ERROR: done
[2025-02-09 10:55:04] Production.INFO: ==18691== Releasing lock...
[2025-02-09 10:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:55:04] Production.INFO: Account Balance End.
[2025-02-09 10:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:55:04] Production.INFO: ==18695== Releasing lock...
[2025-02-09 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:55:04
[end_date_ymd] => 2025-02-09 10:55:04
[RateCDR] => 1
)
[2025-02-09 10:55:04] 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-02-09 07:55:04' and `end` < '2025-02-09 10:55:04'
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-02-09 10:55:12] Production.ERROR: CronJobId end10
[2025-02-09 10:55:12] Production.INFO: ==18693== Releasing lock...
[2025-02-09 10:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:55:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:55:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:55:15] Production.INFO: call_cost start
[2025-02-09 10:55:15] Production.INFO: call_cost end
[2025-02-09 10:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:55:15] Production.INFO: ==18689== Releasing lock...
[2025-02-09 10:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:55:17] Production.INFO: count ==291
[2025-02-09 10:55:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:55:04 - End Time 2025-02-09 10:55:04
[2025-02-09 10:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436583', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436583', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436583', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436583', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:55:18] Production.INFO: ProcessCDR(1,14436583,1,1,2)
[2025-02-09 10:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436583', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436583', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:55:22] Production.INFO: ==18697== Releasing lock...
[2025-02-09 10:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:55:22] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 15:56:02] Production.INFO: ==18757== Lock acquired, processing the job...
[2025-02-09 15:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:56:02] Production.INFO: neon service started
[2025-02-09 15:56:02] Production.INFO: neon service started
[2025-02-09 15:56:02] Production.INFO: ==18757== Releasing lock...
[2025-02-09 15:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:56:02] Production.INFO: ==18762== Lock acquired, processing the job...
[2025-02-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:56:03] Production.INFO: ==18764== Lock acquired, processing the job...
[2025-02-09 15:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:56:03] Production.INFO: ==18764== Releasing lock...
[2025-02-09 15:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:56:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:56:03] Production.INFO: ==18762== Releasing lock...
[2025-02-09 10:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:56:04] Production.INFO: ==18766== Lock acquired, processing the job...
[2025-02-09 10:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:56:04] Production.INFO: ==18772== Lock acquired, processing the job...
[2025-02-09 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:56:04] Production.INFO: ==18768== Lock acquired, processing the job...
[2025-02-09 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:56:04] Production.INFO: ==18776== Lock acquired, processing the job...
[2025-02-09 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:56:04] Production.INFO: Account Balance Start.
[2025-02-09 10:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:56:04] Production.INFO: 117
[2025-02-09 10:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:56:04] Production.INFO: ==18770== Lock acquired, processing the job...
[2025-02-09 10:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:56:04] Production.INFO: Total Charge 0
[2025-02-09 10:56:04] Production.INFO: ==18774== Lock acquired, processing the job...
[2025-02-09 10:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:56:04] Production.INFO: count ==21
[2025-02-09 10:56:04] Production.INFO: CreateAllLog End
[2025-02-09 10:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:56:04] Production.INFO: count ==21
[2025-02-09 10:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436587') start
[2025-02-09 10:56:04] Production.INFO: ==18768== Releasing lock...
[2025-02-09 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:56:04] Production.INFO: Account Balance End.
[2025-02-09 10:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:56:04] Production.INFO: ==18772== Releasing lock...
[2025-02-09 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436587') end
[2025-02-09 10:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:56:04] Production.INFO: 1
[2025-02-09 10:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:56:04] Production.INFO: ==18776== Releasing lock...
[2025-02-09 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:56:04] Production.ERROR: done
[2025-02-09 10:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:56:05] Production.ERROR: done
[2025-02-09 10:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:56:06
[end_date_ymd] => 2025-02-09 10:56:06
[RateCDR] => 1
)
[2025-02-09 10:56: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-02-09 07:56:06' and `end` < '2025-02-09 10:56: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-02-09 10:56:12] Production.ERROR: CronJobId end10
[2025-02-09 10:56:12] Production.INFO: ==18770== Releasing lock...
[2025-02-09 10:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:56:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:56:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:56:14] Production.INFO: call_cost start
[2025-02-09 10:56:14] Production.INFO: call_cost end
[2025-02-09 10:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:56:15] Production.INFO: ==18766== Releasing lock...
[2025-02-09 10:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:56:18] Production.INFO: count ==298
[2025-02-09 10:56:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:56:06 - End Time 2025-02-09 10:56:06
[2025-02-09 10:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436588', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436588', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436588', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436588', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:56:18] Production.INFO: ProcessCDR(1,14436588,1,1,2)
[2025-02-09 10:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436588', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436588', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:56:21] Production.INFO: ==18774== Releasing lock...
[2025-02-09 10:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:56:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:57:01] Production.INFO: ==18830== Lock acquired, processing the job...
[2025-02-09 15:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:57:01] Production.INFO: neon service started
[2025-02-09 15:57:01] Production.INFO: neon service started
[2025-02-09 15:57:01] Production.INFO: ==18830== Releasing lock...
[2025-02-09 15:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:57:02] Production.INFO: ==18835== Lock acquired, processing the job...
[2025-02-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:57:02] Production.INFO: ==18835== Releasing lock...
[2025-02-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:57:02] Production.INFO: ==18833== Lock acquired, processing the job...
[2025-02-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:57:02] Production.INFO: ==18833== Releasing lock...
[2025-02-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 10:57:03] Production.INFO: ==18841== Lock acquired, processing the job...
[2025-02-09 10:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:57:03] Production.INFO: ==18843== Lock acquired, processing the job...
[2025-02-09 10:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:57:03] Production.INFO: Account Balance Start.
[2025-02-09 10:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:57:03] Production.INFO: 117
[2025-02-09 10:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:57:03] Production.INFO: ==18837== Lock acquired, processing the job...
[2025-02-09 10:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:57:03] Production.INFO: ==18839== Lock acquired, processing the job...
[2025-02-09 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 10:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:57:03] Production.INFO: ==18845== Lock acquired, processing the job...
[2025-02-09 10:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:57:03] Production.INFO: ==18847== Lock acquired, processing the job...
[2025-02-09 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:57:03] Production.INFO: Total Charge 0
[2025-02-09 10:57:03] Production.INFO: CreateAllLog End
[2025-02-09 10:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:57:04] Production.INFO: count ==21
[2025-02-09 10:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:57:04] Production.INFO: count ==21
[2025-02-09 10:57:04] Production.ERROR: done
[2025-02-09 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436592') start
[2025-02-09 10:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:57:04] Production.INFO: ==18839== Releasing lock...
[2025-02-09 10:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:57:04] Production.INFO: Account Balance End.
[2025-02-09 10:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436592') end
[2025-02-09 10:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:57:04] Production.INFO: 1
[2025-02-09 10:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:57:04] Production.ERROR: done
[2025-02-09 10:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:57:04] Production.INFO: ==18843== Releasing lock...
[2025-02-09 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:57:04] Production.INFO: ==18847== Releasing lock...
[2025-02-09 10:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:57:05
[end_date_ymd] => 2025-02-09 10:57:05
[RateCDR] => 1
)
[2025-02-09 10:57: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` >= '2025-02-09 07:57:05' and `end` < '2025-02-09 10:57: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 ,'')
[2025-02-09 10:57:12] Production.ERROR: CronJobId end10
[2025-02-09 10:57:12] Production.INFO: ==18841== Releasing lock...
[2025-02-09 10:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:57:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:57:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:57:14] Production.INFO: call_cost start
[2025-02-09 10:57:14] Production.INFO: call_cost end
[2025-02-09 10:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:57:15] Production.INFO: ==18837== Releasing lock...
[2025-02-09 10:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:57:19] Production.INFO: count ==298
[2025-02-09 10:57:19] Production.ERROR: pbx CDR StartTime 2025-02-09 07:57:05 - End Time 2025-02-09 10:57:05
[2025-02-09 10:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436593', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436593', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436593', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436593', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:57:19] Production.INFO: ProcessCDR(1,14436593,1,1,2)
[2025-02-09 10:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436593', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436593', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:57:22] Production.INFO: ==18845== Releasing lock...
[2025-02-09 10:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:57:22] Production.INFO: 30 MB #Memory Used#
[2025-02-09 15:58:02] Production.INFO: ==18906== Lock acquired, processing the job...
[2025-02-09 15:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:58:02] Production.INFO: neon service started
[2025-02-09 15:58:02] Production.INFO: neon service started
[2025-02-09 15:58:02] Production.INFO: ==18906== Releasing lock...
[2025-02-09 15:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:58:02] Production.INFO: ==18908== Lock acquired, processing the job...
[2025-02-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:58:02] Production.INFO: ==18908== Releasing lock...
[2025-02-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:58:03] Production.INFO: ==18910== Lock acquired, processing the job...
[2025-02-09 15:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:58:03] Production.INFO: ==18910== Releasing lock...
[2025-02-09 15:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:58:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:58:03] Production.INFO: ==18913== Lock acquired, processing the job...
[2025-02-09 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:58:03] Production.INFO: ==18923== Lock acquired, processing the job...
[2025-02-09 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:58:04] Production.INFO: ==18915== Lock acquired, processing the job...
[2025-02-09 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:58:04] Production.INFO: ==18917== Lock acquired, processing the job...
[2025-02-09 10:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:58:04] Production.INFO: count ==21
[2025-02-09 10:58:04] Production.INFO: ==18919== Lock acquired, processing the job...
[2025-02-09 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:58:04] Production.INFO: count ==21
[2025-02-09 10:58:04] Production.INFO: ==18921== Lock acquired, processing the job...
[2025-02-09 10:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436595') start
[2025-02-09 10:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436595') end
[2025-02-09 10:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:58:04] Production.INFO: 1
[2025-02-09 10:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:58:04] Production.INFO: Account Balance Start.
[2025-02-09 10:58:04] Production.INFO: CreateAllLog Start
[2025-02-09 10:58:04] Production.INFO: 117
[2025-02-09 10:58:04] Production.INFO: Date 2025-02-08
[2025-02-09 10:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:58:04] Production.INFO: ==18923== Releasing lock...
[2025-02-09 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:58:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:58:04] Production.INFO: ==18915== Releasing lock...
[2025-02-09 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:58:04] Production.INFO: Total Charge 0
[2025-02-09 10:58:04] Production.INFO: CreateAllLog End
[2025-02-09 10:58:04] Production.ERROR: done
[2025-02-09 10:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:58:04] Production.INFO: Account Balance End.
[2025-02-09 10:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:58:04] Production.INFO: ==18919== Releasing lock...
[2025-02-09 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:58:04] Production.ERROR: done
[2025-02-09 10:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:58:05
[end_date_ymd] => 2025-02-09 10:58:05
[RateCDR] => 1
)
[2025-02-09 10:58: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` >= '2025-02-09 07:58:05' and `end` < '2025-02-09 10:58: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 ,'')
[2025-02-09 10:58:11] Production.ERROR: CronJobId end10
[2025-02-09 10:58:11] Production.INFO: ==18917== Releasing lock...
[2025-02-09 10:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:58:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:58:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:58:13] Production.INFO: call_cost start
[2025-02-09 10:58:13] Production.INFO: call_cost end
[2025-02-09 10:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:58:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:58:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:58:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:58:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:58:14] Production.INFO: ==18913== Releasing lock...
[2025-02-09 10:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:58:18] Production.INFO: count ==299
[2025-02-09 10:58:18] Production.ERROR: pbx CDR StartTime 2025-02-09 07:58:05 - End Time 2025-02-09 10:58:05
[2025-02-09 10:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436598', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436598', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436598', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436598', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:58:18] Production.INFO: ProcessCDR(1,14436598,1,1,2)
[2025-02-09 10:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436598', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436598', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:58:22] Production.INFO: ==18921== Releasing lock...
[2025-02-09 10:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:58:22] Production.INFO: 30.5 MB #Memory Used#
[2025-02-09 15:59:01] Production.INFO: ==18996== Lock acquired, processing the job...
[2025-02-09 15:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 15:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 15:59:01] Production.INFO: neon service started
[2025-02-09 15:59:01] Production.INFO: neon service started
[2025-02-09 15:59:01] Production.INFO: ==18996== Releasing lock...
[2025-02-09 15:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 15:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 10:59:02] Production.INFO: ==18998== Lock acquired, processing the job...
[2025-02-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 10:59:02] Production.INFO: ==18998== Releasing lock...
[2025-02-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 10:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:59:02] Production.INFO: ==19001== Lock acquired, processing the job...
[2025-02-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:59:02] Production.INFO: ==19001== Releasing lock...
[2025-02-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 15:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 10:59:03] Production.INFO: ==19003== Lock acquired, processing the job...
[2025-02-09 10:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 10:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 10:59:03] Production.INFO: ==19005== Lock acquired, processing the job...
[2025-02-09 10:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 10:59:03] Production.INFO: ==19011== Lock acquired, processing the job...
[2025-02-09 10:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 10:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 10:59:03] Production.INFO: ==19007== Lock acquired, processing the job...
[2025-02-09 10:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 10:59:03] Production.INFO: ==19005== Releasing lock...
[2025-02-09 10:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 10:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 10:59:03] Production.INFO: ==19009== Lock acquired, processing the job...
[2025-02-09 10:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 10:59:03] Production.INFO: ==19013== Lock acquired, processing the job...
[2025-02-09 10:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 10:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 10:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 10:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 10:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 10:59:03] Production.ERROR: done
[2025-02-09 10:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 10:59:03] Production.INFO: Account Balance Start.
[2025-02-09 10:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 10:59:03] Production.INFO: 117
[2025-02-09 10:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 10:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 10:59:03] Production.INFO: count ==21
[2025-02-09 10:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 10:59:03] Production.INFO: count ==21
[2025-02-09 10:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436601') start
[2025-02-09 10:59:04] Production.ERROR: done
[2025-02-09 10:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436601') end
[2025-02-09 10:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 10:59:04] Production.INFO: 1
[2025-02-09 10:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 10:59:04] Production.INFO: Date 2025-02-09
[2025-02-09 10:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 10:59:04] Production.INFO: ==19013== Releasing lock...
[2025-02-09 10:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 10:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 10:59:04] Production.INFO: Total Charge 0
[2025-02-09 10:59:04] Production.INFO: CreateAllLog End
[2025-02-09 10:59:04] Production.INFO: Account Balance End.
[2025-02-09 10:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 10:59:04] Production.INFO: ==19009== Releasing lock...
[2025-02-09 10:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 10:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 10:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 07:59:04
[end_date_ymd] => 2025-02-09 10:59:04
[RateCDR] => 1
)
[2025-02-09 10:59:04] 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-02-09 07:59:04' and `end` < '2025-02-09 10:59:04'
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-02-09 10:59:12] Production.ERROR: CronJobId end10
[2025-02-09 10:59:12] Production.INFO: ==19007== Releasing lock...
[2025-02-09 10:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 10:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 10:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 10:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 10:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 10:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 10:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 10:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 10:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 10:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 10:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 10:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 10:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 10:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 10:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 10:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 10:59:14] Production.INFO: call_cost start
[2025-02-09 10:59:14] Production.INFO: call_cost end
[2025-02-09 10:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 10:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 10:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 10:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 10:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 10:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 10:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 10:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 10:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 10:59:15] Production.INFO: ==19003== Releasing lock...
[2025-02-09 10:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 10:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 10:59:17] Production.INFO: count ==299
[2025-02-09 10:59:17] Production.ERROR: pbx CDR StartTime 2025-02-09 07:59:04 - End Time 2025-02-09 10:59:04
[2025-02-09 10:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 10:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436603', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436603', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436603', 'tblTempVendorCDR_20' ) start
[2025-02-09 10:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436603', 'tblTempVendorCDR_20' ) end
[2025-02-09 10:59:17] Production.INFO: ProcessCDR(1,14436603,1,1,2)
[2025-02-09 10:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 10:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 10:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436603', 'tblTempUsageDetail_20' ) start
[2025-02-09 10:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436603', 'tblTempUsageDetail_20' ) end
[2025-02-09 10:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 10:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 10:59:21] Production.INFO: ==19011== Releasing lock...
[2025-02-09 10:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 10:59:21] Production.INFO: 30 MB #Memory Used#
[2025-02-09 16:00:02] Production.INFO: ==19087== Lock acquired, processing the job...
[2025-02-09 16:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:00:02] Production.INFO: neon service started
[2025-02-09 16:00:02] Production.INFO: neon service started
[2025-02-09 16:00:02] Production.INFO: ==19087== Releasing lock...
[2025-02-09 16:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:00:02] Production.INFO: ==19089== Lock acquired, processing the job...
[2025-02-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:00:02] Production.INFO: ==19091== Lock acquired, processing the job...
[2025-02-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:00:02] Production.INFO: ==19091== Releasing lock...
[2025-02-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:00:03] Production.INFO: ==19089== Releasing lock...
[2025-02-09 11:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:00:04] Production.INFO: ==19094== Lock acquired, processing the job...
[2025-02-09 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 11:00:04] Production.INFO: ==19096== Lock acquired, processing the job...
[2025-02-09 11:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 11:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 11:00:04] Production.INFO: ==19094== Releasing lock...
[2025-02-09 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 11:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 11:00:04] Production.INFO: ==19100== Lock acquired, processing the job...
[2025-02-09 11:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:00:04] Production.INFO: ==19098== Lock acquired, processing the job...
[2025-02-09 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:00:04] Production.INFO: ==19106== Lock acquired, processing the job...
[2025-02-09 11:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 11:00:04] Production.INFO: ==19102== Lock acquired, processing the job...
[2025-02-09 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:00:04] Production.INFO: ==19104== Lock acquired, processing the job...
[2025-02-09 11:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:00:04] Production.INFO: Account Balance Start.
[2025-02-09 11:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:00:04] Production.INFO: 117
[2025-02-09 11:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:00:05] Production.INFO: Reseller ==> 0
[2025-02-09 11:00:05] Production.INFO: ==19108== Lock acquired, processing the job...
[2025-02-09 11:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:00:05] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:00:05] Production.INFO: ==19098== Releasing lock...
[2025-02-09 11:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:00:05] Production.INFO: Date 2025-02-09
[2025-02-09 11:00:05] Production.INFO: Reseller ==> 0
[2025-02-09 11:00:05] Production.INFO: Total Charge 0
[2025-02-09 11:00:05] Production.INFO: CreateAllLog End
[2025-02-09 11:00:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:00:05] Production.INFO: count ==21
[2025-02-09 11:00:05] Production.ERROR: done
[2025-02-09 11:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:00:05] Production.INFO: count ==21
[2025-02-09 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436607') start
[2025-02-09 11:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 11:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436608', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 11:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436607') end
[2025-02-09 11:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:00:05] Production.INFO: 1
[2025-02-09 11:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:00:05] Production.ERROR: done
[2025-02-09 11:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:00:05] Production.INFO: Account Balance End.
[2025-02-09 11:00:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:00:05] Production.INFO: ==19102== Releasing lock...
[2025-02-09 11:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:00:05] Production.INFO: ==19108== Releasing lock...
[2025-02-09 11:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:00:05] Production.ERROR: done
[2025-02-09 11:00:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:00:07
[end_date_ymd] => 2025-02-09 11:00:07
[RateCDR] => 1
)
[2025-02-09 11: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-02-09 08:00:07' and `end` < '2025-02-09 11: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-02-09 11:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436608', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 11:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 11:00:09] Production.INFO: ProcessCDR(1,14436608,1,1,2)
[2025-02-09 11:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436608,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436608,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:00:09] Production.INFO: ==19106== Releasing lock...
[2025-02-09 11:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 11:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 11:00:14] Production.ERROR: CronJobId end10
[2025-02-09 11:00:14] Production.INFO: ==19100== Releasing lock...
[2025-02-09 11:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:00:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:00:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:00:18] Production.INFO: call_cost start
[2025-02-09 11:00:18] Production.INFO: call_cost end
[2025-02-09 11:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:00:19] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:00:19] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:00:19] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:00:19] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:00:19] Production.INFO: ==19096== Releasing lock...
[2025-02-09 11:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:00:20] Production.INFO: count ==307
[2025-02-09 11:00:20] Production.ERROR: pbx CDR StartTime 2025-02-09 08:00:07 - End Time 2025-02-09 11:00:07
[2025-02-09 11:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436609', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436609', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436609', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436609', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:00:20] Production.INFO: ProcessCDR(1,14436609,1,1,2)
[2025-02-09 11:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436609', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436609', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:00:23] Production.INFO: ==19104== Releasing lock...
[2025-02-09 11:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:00:23] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 16:01:01] Production.INFO: ==19214== Lock acquired, processing the job...
[2025-02-09 16:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:01:01] Production.INFO: neon service started
[2025-02-09 16:01:01] Production.INFO: neon service started
[2025-02-09 16:01:01] Production.INFO: ==19214== Releasing lock...
[2025-02-09 16:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:01:02] Production.INFO: ==19226== Lock acquired, processing the job...
[2025-02-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:01:02] Production.INFO: ==19226== Releasing lock...
[2025-02-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:01:02] Production.INFO: ==19228== Lock acquired, processing the job...
[2025-02-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:01:02] Production.INFO: ==19228== Releasing lock...
[2025-02-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:01:03] Production.INFO: ==19232== Lock acquired, processing the job...
[2025-02-09 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:01:03] Production.INFO: ==19238== Lock acquired, processing the job...
[2025-02-09 11:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:01:03] Production.INFO: ==19230== Lock acquired, processing the job...
[2025-02-09 11:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:01:03] Production.INFO: ==19241== Lock acquired, processing the job...
[2025-02-09 11:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:01:03] Production.INFO: ==19236== Lock acquired, processing the job...
[2025-02-09 11:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:01:03] Production.INFO: ==19232== Releasing lock...
[2025-02-09 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:01:03] Production.INFO: ==19234== Lock acquired, processing the job...
[2025-02-09 11:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:01:03] Production.INFO: count ==21
[2025-02-09 11:01:03] Production.ERROR: done
[2025-02-09 11:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:01:03] Production.INFO: count ==21
[2025-02-09 11:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436612') start
[2025-02-09 11:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:01:03] Production.INFO: Account Balance Start.
[2025-02-09 11:01:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:01:03] Production.INFO: 117
[2025-02-09 11:01:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436612') end
[2025-02-09 11:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:01:03] Production.INFO: 1
[2025-02-09 11:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:01:03] Production.INFO: ==19241== Releasing lock...
[2025-02-09 11:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:01:04] Production.ERROR: done
[2025-02-09 11:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:01:04] Production.INFO: Total Charge 0
[2025-02-09 11:01:04] Production.INFO: CreateAllLog End
[2025-02-09 11:01:04] Production.INFO: Account Balance End.
[2025-02-09 11:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:01:04] Production.INFO: ==19236== Releasing lock...
[2025-02-09 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:01:04
[end_date_ymd] => 2025-02-09 11:01:04
[RateCDR] => 1
)
[2025-02-09 11:01:04] 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-02-09 08:01:04' and `end` < '2025-02-09 11:01:04'
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-02-09 11:01:12] Production.ERROR: CronJobId end10
[2025-02-09 11:01:12] Production.INFO: ==19234== Releasing lock...
[2025-02-09 11:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:01:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:01:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:01:14] Production.INFO: call_cost start
[2025-02-09 11:01:14] Production.INFO: call_cost end
[2025-02-09 11:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:01:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:01:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:01:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:01:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:01:15] Production.INFO: ==19230== Releasing lock...
[2025-02-09 11:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:01:17] Production.INFO: count ==315
[2025-02-09 11:01:17] Production.ERROR: pbx CDR StartTime 2025-02-09 08:01:04 - End Time 2025-02-09 11:01:04
[2025-02-09 11:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436614', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436614', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436614', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436614', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:01:17] Production.INFO: ProcessCDR(1,14436614,1,1,2)
[2025-02-09 11:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436614', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436614', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:01:21] Production.INFO: ==19238== Releasing lock...
[2025-02-09 11:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:01:21] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 16:02:02] Production.INFO: ==19335== Lock acquired, processing the job...
[2025-02-09 16:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:02:02] Production.INFO: neon service started
[2025-02-09 16:02:02] Production.INFO: neon service started
[2025-02-09 16:02:02] Production.INFO: ==19335== Releasing lock...
[2025-02-09 16:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:02:02] Production.INFO: ==19339== Lock acquired, processing the job...
[2025-02-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:02:02] Production.INFO: ==19339== Releasing lock...
[2025-02-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:02:02] Production.INFO: ==19337== Lock acquired, processing the job...
[2025-02-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:02:03] Production.INFO: ==19337== Releasing lock...
[2025-02-09 11:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:02:04] Production.INFO: ==19348== Lock acquired, processing the job...
[2025-02-09 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:02:04] Production.INFO: ==19350== Lock acquired, processing the job...
[2025-02-09 11:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:02:04] Production.INFO: ==19342== Lock acquired, processing the job...
[2025-02-09 11:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:02:04] Production.INFO: Account Balance Start.
[2025-02-09 11:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:02:04] Production.INFO: 117
[2025-02-09 11:02:04] Production.INFO: ==19344== Lock acquired, processing the job...
[2025-02-09 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:02:04] Production.INFO: ==19346== Lock acquired, processing the job...
[2025-02-09 11:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:02:04] Production.INFO: ==19352== Lock acquired, processing the job...
[2025-02-09 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:02:04] Production.INFO: Total Charge 0
[2025-02-09 11:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:02:04] Production.INFO: CreateAllLog End
[2025-02-09 11:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:02:04] Production.ERROR: done
[2025-02-09 11:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:02:04] Production.INFO: count ==21
[2025-02-09 11:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:02:04] Production.INFO: count ==21
[2025-02-09 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436618') start
[2025-02-09 11:02:04] Production.INFO: ==19344== Releasing lock...
[2025-02-09 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:02:04] Production.ERROR: done
[2025-02-09 11:02:04] Production.INFO: Account Balance End.
[2025-02-09 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436618') end
[2025-02-09 11:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:02:04] Production.INFO: 1
[2025-02-09 11:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:02:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:02:05] Production.INFO: ==19348== Releasing lock...
[2025-02-09 11:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:02:05] Production.INFO: ==19352== Releasing lock...
[2025-02-09 11:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:02:06
[end_date_ymd] => 2025-02-09 11:02:06
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 08:02:06' and `end` < '2025-02-09 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 ,'')
[2025-02-09 11:02:13] Production.ERROR: CronJobId end10
[2025-02-09 11:02:13] Production.INFO: ==19346== Releasing lock...
[2025-02-09 11:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:02:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:02:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:02:16] Production.INFO: call_cost start
[2025-02-09 11:02:16] Production.INFO: call_cost end
[2025-02-09 11:02:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:02:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:02:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:02:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:02:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:02:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:02:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:02:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:02:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:02:17] Production.INFO: ==19342== Releasing lock...
[2025-02-09 11:02:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:02:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:02:18] Production.INFO: count ==315
[2025-02-09 11:02:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:02:06 - End Time 2025-02-09 11:02:06
[2025-02-09 11:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436619', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436619', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436619', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436619', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:02:18] Production.INFO: ProcessCDR(1,14436619,1,1,2)
[2025-02-09 11:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436619', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436619', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:02:22] Production.INFO: ==19350== Releasing lock...
[2025-02-09 11:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:02:22] Production.INFO: 30.25 MB #Memory Used#
[2025-02-09 16:03:01] Production.INFO: ==19408== Lock acquired, processing the job...
[2025-02-09 16:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:03:01] Production.INFO: neon service started
[2025-02-09 16:03:01] Production.INFO: neon service started
[2025-02-09 16:03:01] Production.INFO: ==19408== Releasing lock...
[2025-02-09 16:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:03:02] Production.INFO: ==19410== Lock acquired, processing the job...
[2025-02-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:03:02] Production.INFO: ==19410== Releasing lock...
[2025-02-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:03:02] Production.INFO: ==19412== Lock acquired, processing the job...
[2025-02-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:03:02] Production.INFO: ==19412== Releasing lock...
[2025-02-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:03:03] Production.INFO: ==19419== Lock acquired, processing the job...
[2025-02-09 11:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:03:03] Production.INFO: ==19423== Lock acquired, processing the job...
[2025-02-09 11:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:03:03] Production.INFO: ==19414== Lock acquired, processing the job...
[2025-02-09 11:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:03:04] Production.INFO: ==19416== Lock acquired, processing the job...
[2025-02-09 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:03:04] Production.INFO: ==19421== Lock acquired, processing the job...
[2025-02-09 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:03:04] Production.INFO: ==19425== Lock acquired, processing the job...
[2025-02-09 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:03:04] Production.ERROR: done
[2025-02-09 11:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:03:04] Production.INFO: Account Balance Start.
[2025-02-09 11:03:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:03:04] Production.INFO: 117
[2025-02-09 11:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:03:04] Production.INFO: count ==21
[2025-02-09 11:03:04] Production.ERROR: done
[2025-02-09 11:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:03:04] Production.INFO: count ==21
[2025-02-09 11:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436623') start
[2025-02-09 11:03:04] Production.INFO: ==19416== Releasing lock...
[2025-02-09 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:03:04] Production.INFO: Total Charge 0
[2025-02-09 11:03:04] Production.INFO: CreateAllLog End
[2025-02-09 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436623') end
[2025-02-09 11:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:03:04] Production.INFO: 1
[2025-02-09 11:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:03:04] Production.INFO: Account Balance End.
[2025-02-09 11:03:04] Production.INFO: ==19425== Releasing lock...
[2025-02-09 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:03:04] Production.INFO: ==19421== Releasing lock...
[2025-02-09 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:03:05
[end_date_ymd] => 2025-02-09 11:03:05
[RateCDR] => 1
)
[2025-02-09 11:03: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` >= '2025-02-09 08:03:05' and `end` < '2025-02-09 11:03: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 ,'')
[2025-02-09 11:03:13] Production.ERROR: CronJobId end10
[2025-02-09 11:03:13] Production.INFO: ==19419== Releasing lock...
[2025-02-09 11:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:03:15] Production.INFO: call_cost start
[2025-02-09 11:03:15] Production.INFO: call_cost end
[2025-02-09 11:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:03:16] Production.INFO: ==19414== Releasing lock...
[2025-02-09 11:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:03:19] Production.INFO: count ==317
[2025-02-09 11:03:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:03:05 - End Time 2025-02-09 11:03:05
[2025-02-09 11:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436624', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436624', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436624', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436624', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:03:19] Production.INFO: ProcessCDR(1,14436624,1,1,2)
[2025-02-09 11:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436624', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436624', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:03:24] Production.INFO: ==19423== Releasing lock...
[2025-02-09 11:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:03:24] Production.INFO: 30.5 MB #Memory Used#
[2025-02-09 16:04:02] Production.INFO: ==19484== Lock acquired, processing the job...
[2025-02-09 16:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:04:02] Production.INFO: neon service started
[2025-02-09 16:04:02] Production.INFO: neon service started
[2025-02-09 16:04:02] Production.INFO: ==19484== Releasing lock...
[2025-02-09 16:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:04:02] Production.INFO: ==19486== Lock acquired, processing the job...
[2025-02-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:04:03] Production.INFO: ==19488== Lock acquired, processing the job...
[2025-02-09 16:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:04:03] Production.INFO: ==19488== Releasing lock...
[2025-02-09 16:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:04:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:04:03] Production.INFO: ==19486== Releasing lock...
[2025-02-09 11:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:04:04] Production.INFO: ==19497== Lock acquired, processing the job...
[2025-02-09 11:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:04:04] Production.INFO: Account Balance Start.
[2025-02-09 11:04:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:04:04] Production.INFO: 117
[2025-02-09 11:04:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:04:04] Production.INFO: ==19490== Lock acquired, processing the job...
[2025-02-09 11:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:04:04] Production.INFO: ==19501== Lock acquired, processing the job...
[2025-02-09 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:04:04] Production.INFO: Total Charge 0
[2025-02-09 11:04:04] Production.INFO: CreateAllLog End
[2025-02-09 11:04:04] Production.INFO: ==19492== Lock acquired, processing the job...
[2025-02-09 11:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:04:04] Production.INFO: ==19495== Lock acquired, processing the job...
[2025-02-09 11:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:04:04] Production.INFO: ==19499== Lock acquired, processing the job...
[2025-02-09 11:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:04:04] Production.INFO: count ==21
[2025-02-09 11:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:04:04] Production.INFO: count ==21
[2025-02-09 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436626') start
[2025-02-09 11:04:04] Production.INFO: Account Balance End.
[2025-02-09 11:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436626') end
[2025-02-09 11:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:04:04] Production.INFO: 1
[2025-02-09 11:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:04:04] Production.INFO: ==19497== Releasing lock...
[2025-02-09 11:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:04:04] Production.INFO: ==19501== Releasing lock...
[2025-02-09 11:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:04:04] Production.INFO: ==19492== Releasing lock...
[2025-02-09 11:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:04:04] Production.ERROR: done
[2025-02-09 11:04:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:04:05] Production.ERROR: done
[2025-02-09 11:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:04:06
[end_date_ymd] => 2025-02-09 11:04:06
[RateCDR] => 1
)
[2025-02-09 11:04: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-02-09 08:04:06' and `end` < '2025-02-09 11:04: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-02-09 11:04:13] Production.ERROR: CronJobId end10
[2025-02-09 11:04:13] Production.INFO: ==19495== Releasing lock...
[2025-02-09 11:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:04:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:04:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:04:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:04:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:04:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:04:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:04:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:04:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:04:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:04:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:04:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:04:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:04:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:04:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:04:16] Production.INFO: call_cost start
[2025-02-09 11:04:16] Production.INFO: call_cost end
[2025-02-09 11:04:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:04:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:04:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:04:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:04:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:04:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:04:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:04:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:04:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:04:17] Production.INFO: ==19490== Releasing lock...
[2025-02-09 11:04:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:04:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:04:19] Production.INFO: count ==317
[2025-02-09 11:04:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:04:06 - End Time 2025-02-09 11:04:06
[2025-02-09 11:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436629', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436629', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436629', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436629', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:04:19] Production.INFO: ProcessCDR(1,14436629,1,1,2)
[2025-02-09 11:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436629', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436629', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:04:22] Production.INFO: ==19499== Releasing lock...
[2025-02-09 11:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:04:22] Production.INFO: 30.5 MB #Memory Used#
[2025-02-09 16:05:01] Production.INFO: ==19636== Lock acquired, processing the job...
[2025-02-09 16:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:05:01] Production.INFO: neon service started
[2025-02-09 16:05:01] Production.INFO: neon service started
[2025-02-09 16:05:01] Production.INFO: ==19636== Releasing lock...
[2025-02-09 16:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:05:02] Production.INFO: ==19638== Lock acquired, processing the job...
[2025-02-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:05:02] Production.INFO: ==19638== Releasing lock...
[2025-02-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:05:02] Production.INFO: ==19640== Lock acquired, processing the job...
[2025-02-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:05:02] Production.INFO: ==19640== Releasing lock...
[2025-02-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:05:03] Production.INFO: ==19642== Lock acquired, processing the job...
[2025-02-09 11:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:05:03] Production.INFO: ==19644== Lock acquired, processing the job...
[2025-02-09 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:05:03] Production.INFO: ==19648== Lock acquired, processing the job...
[2025-02-09 11:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:05:03] Production.INFO: Account Balance Start.
[2025-02-09 11:05:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:05:03] Production.INFO: 117
[2025-02-09 11:05:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:05:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:05:03] Production.INFO: Total Charge 0
[2025-02-09 11:05:03] Production.INFO: CreateAllLog End
[2025-02-09 11:05:04] Production.INFO: ==19646== Lock acquired, processing the job...
[2025-02-09 11:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:05:04] Production.INFO: ==19644== Releasing lock...
[2025-02-09 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:05:04] Production.INFO: ==19652== Lock acquired, processing the job...
[2025-02-09 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:05:04] Production.INFO: Account Balance End.
[2025-02-09 11:05:04] Production.INFO: ==19650== Lock acquired, processing the job...
[2025-02-09 11:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:05:04] Production.INFO: ==19648== Releasing lock...
[2025-02-09 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:05:04] Production.INFO: count ==21
[2025-02-09 11:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:05:04] Production.INFO: count ==21
[2025-02-09 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436633') start
[2025-02-09 11:05:04] Production.ERROR: done
[2025-02-09 11:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436633') end
[2025-02-09 11:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:05:04] Production.INFO: 1
[2025-02-09 11:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:05:04] Production.INFO: ==19652== Releasing lock...
[2025-02-09 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:05:04] Production.ERROR: done
[2025-02-09 11:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:05:05
[end_date_ymd] => 2025-02-09 11:05:05
[RateCDR] => 1
)
[2025-02-09 11:05: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` >= '2025-02-09 08:05:05' and `end` < '2025-02-09 11:05: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 ,'')
[2025-02-09 11:05:12] Production.ERROR: CronJobId end10
[2025-02-09 11:05:12] Production.INFO: ==19646== Releasing lock...
[2025-02-09 11:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:05:15] Production.INFO: call_cost start
[2025-02-09 11:05:15] Production.INFO: call_cost end
[2025-02-09 11:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:05:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:05:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:05:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:05:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:05:16] Production.INFO: ==19642== Releasing lock...
[2025-02-09 11:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:05:18] Production.INFO: count ==324
[2025-02-09 11:05:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:05:05 - End Time 2025-02-09 11:05:05
[2025-02-09 11:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436634', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436634', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436634', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436634', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:05:18] Production.INFO: ProcessCDR(1,14436634,1,1,2)
[2025-02-09 11:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436634', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436634', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:05:22] Production.INFO: ==19650== Releasing lock...
[2025-02-09 11:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:05:22] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 16:06:01] Production.INFO: ==19709== Lock acquired, processing the job...
[2025-02-09 16:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:06:01] Production.INFO: neon service started
[2025-02-09 16:06:01] Production.INFO: neon service started
[2025-02-09 16:06:01] Production.INFO: ==19709== Releasing lock...
[2025-02-09 16:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:06:01] Production.INFO: ==19713== Lock acquired, processing the job...
[2025-02-09 16:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:06:01] Production.INFO: ==19713== Releasing lock...
[2025-02-09 16:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:06:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:06:01] Production.INFO: ==19711== Lock acquired, processing the job...
[2025-02-09 11:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:06:02] Production.INFO: ==19711== Releasing lock...
[2025-02-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:06:03] Production.INFO: ==19724== Lock acquired, processing the job...
[2025-02-09 11:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:06:03] Production.INFO: ==19722== Lock acquired, processing the job...
[2025-02-09 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:06:03] Production.INFO: ==19716== Lock acquired, processing the job...
[2025-02-09 11:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:06:03] Production.INFO: ==19720== Lock acquired, processing the job...
[2025-02-09 11:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:06:03] Production.INFO: ==19718== Lock acquired, processing the job...
[2025-02-09 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:06:03] Production.INFO: Account Balance Start.
[2025-02-09 11:06:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:06:03] Production.INFO: 117
[2025-02-09 11:06:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:06:03] Production.INFO: ==19726== Lock acquired, processing the job...
[2025-02-09 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:06:03] Production.ERROR: done
[2025-02-09 11:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:06:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:06:03] Production.INFO: Total Charge 0
[2025-02-09 11:06:03] Production.INFO: count ==21
[2025-02-09 11:06:03] Production.INFO: CreateAllLog End
[2025-02-09 11:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:06:03] Production.INFO: count ==21
[2025-02-09 11:06:04] Production.ERROR: done
[2025-02-09 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436638') start
[2025-02-09 11:06:04] Production.INFO: ==19718== Releasing lock...
[2025-02-09 11:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436638') end
[2025-02-09 11:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:06:04] Production.INFO: 1
[2025-02-09 11:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:06:04] Production.INFO: ==19726== Releasing lock...
[2025-02-09 11:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:06:04] Production.INFO: Account Balance End.
[2025-02-09 11:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:06:04] Production.INFO: ==19722== Releasing lock...
[2025-02-09 11:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:06:05
[end_date_ymd] => 2025-02-09 11:06:05
[RateCDR] => 1
)
[2025-02-09 11:06: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` >= '2025-02-09 08:06:05' and `end` < '2025-02-09 11:06: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 ,'')
[2025-02-09 11:06:12] Production.ERROR: CronJobId end10
[2025-02-09 11:06:12] Production.INFO: ==19720== Releasing lock...
[2025-02-09 11:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:06:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:06:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:06:16] Production.INFO: call_cost start
[2025-02-09 11:06:16] Production.INFO: call_cost end
[2025-02-09 11:06:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:06:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:06:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:06:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:06:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:06:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:06:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:06:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:06:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:06:17] Production.INFO: ==19716== Releasing lock...
[2025-02-09 11:06:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:06:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:06:18] Production.INFO: count ==329
[2025-02-09 11:06:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:06:05 - End Time 2025-02-09 11:06:05
[2025-02-09 11:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436639', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436639', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436639', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436639', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:06:18] Production.INFO: ProcessCDR(1,14436639,1,1,2)
[2025-02-09 11:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436639', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436639', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:06:21] Production.INFO: ==19724== Releasing lock...
[2025-02-09 11:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:06:21] Production.INFO: 30.5 MB #Memory Used#
[2025-02-09 16:07:01] Production.INFO: ==19783== Lock acquired, processing the job...
[2025-02-09 16:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:07:01] Production.INFO: neon service started
[2025-02-09 16:07:01] Production.INFO: neon service started
[2025-02-09 16:07:01] Production.INFO: ==19783== Releasing lock...
[2025-02-09 16:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:07:02] Production.INFO: ==19787== Lock acquired, processing the job...
[2025-02-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:07:02] Production.INFO: ==19787== Releasing lock...
[2025-02-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:07:02] Production.INFO: ==19785== Lock acquired, processing the job...
[2025-02-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:07:02] Production.INFO: ==19785== Releasing lock...
[2025-02-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:07:03] Production.INFO: ==19798== Lock acquired, processing the job...
[2025-02-09 11:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:07:03] Production.INFO: ==19800== Lock acquired, processing the job...
[2025-02-09 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:07:03] Production.INFO: ==19790== Lock acquired, processing the job...
[2025-02-09 11:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:07:04] Production.INFO: count ==21
[2025-02-09 11:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:07:04] Production.INFO: count ==21
[2025-02-09 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436640') start
[2025-02-09 11:07:04] Production.INFO: ==19792== Lock acquired, processing the job...
[2025-02-09 11:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:07:04] Production.INFO: ==19794== Lock acquired, processing the job...
[2025-02-09 11:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:07:04] Production.INFO: ==19796== Lock acquired, processing the job...
[2025-02-09 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436640') end
[2025-02-09 11:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:07:04] Production.INFO: 1
[2025-02-09 11:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:07:04] Production.ERROR: done
[2025-02-09 11:07:04] Production.INFO: ==19800== Releasing lock...
[2025-02-09 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:07:04] Production.INFO: Account Balance Start.
[2025-02-09 11:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:07:04] Production.INFO: 117
[2025-02-09 11:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:07:04] Production.ERROR: done
[2025-02-09 11:07:04] Production.INFO: Total Charge 0
[2025-02-09 11:07:04] Production.INFO: CreateAllLog End
[2025-02-09 11:07:04] Production.INFO: ==19792== Releasing lock...
[2025-02-09 11:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:07:04] Production.INFO: Account Balance End.
[2025-02-09 11:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:07:04] Production.INFO: ==19796== Releasing lock...
[2025-02-09 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:07:05
[end_date_ymd] => 2025-02-09 11:07:05
[RateCDR] => 1
)
[2025-02-09 11:07: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` >= '2025-02-09 08:07:05' and `end` < '2025-02-09 11:07: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 ,'')
[2025-02-09 11:07:13] Production.ERROR: CronJobId end10
[2025-02-09 11:07:13] Production.INFO: ==19794== Releasing lock...
[2025-02-09 11:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:07:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:07:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:07:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:07:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:07:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:07:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:07:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:07:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:07:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:07:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:07:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:07:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:07:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:07:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:07:16] Production.INFO: call_cost start
[2025-02-09 11:07:16] Production.INFO: call_cost end
[2025-02-09 11:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:07:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:07:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:07:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:07:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:07:17] Production.INFO: ==19790== Releasing lock...
[2025-02-09 11:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:07:18] Production.INFO: count ==340
[2025-02-09 11:07:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:07:05 - End Time 2025-02-09 11:07:05
[2025-02-09 11:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436644', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436644', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436644', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436644', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:07:18] Production.INFO: ProcessCDR(1,14436644,1,1,2)
[2025-02-09 11:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436644', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436644', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:07:22] Production.INFO: ==19798== Releasing lock...
[2025-02-09 11:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:07:22] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 16:08:01] Production.INFO: ==19935== Lock acquired, processing the job...
[2025-02-09 16:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:08:01] Production.INFO: neon service started
[2025-02-09 16:08:01] Production.INFO: neon service started
[2025-02-09 16:08:01] Production.INFO: ==19935== Releasing lock...
[2025-02-09 16:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:08:01] Production.INFO: ==19939== Lock acquired, processing the job...
[2025-02-09 16:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:08:01] Production.INFO: ==19939== Releasing lock...
[2025-02-09 16:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:08:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:08:02] Production.INFO: ==19937== Lock acquired, processing the job...
[2025-02-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:08:02] Production.INFO: ==19937== Releasing lock...
[2025-02-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:08:03] Production.INFO: ==19944== Lock acquired, processing the job...
[2025-02-09 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:08:03] Production.INFO: ==19944== Releasing lock...
[2025-02-09 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:08:03] Production.INFO: ==19942== Lock acquired, processing the job...
[2025-02-09 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:08:03] Production.INFO: ==19952== Lock acquired, processing the job...
[2025-02-09 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:08:03] Production.INFO: ==19946== Lock acquired, processing the job...
[2025-02-09 11:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:08:03] Production.INFO: ==19948== Lock acquired, processing the job...
[2025-02-09 11:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:08:03] Production.INFO: ==19950== Lock acquired, processing the job...
[2025-02-09 11:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:08:03] Production.INFO: count ==21
[2025-02-09 11:08:03] Production.INFO: Account Balance Start.
[2025-02-09 11:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:08:03] Production.INFO: 117
[2025-02-09 11:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:08:03] Production.INFO: count ==21
[2025-02-09 11:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436646') start
[2025-02-09 11:08:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:08:03] Production.INFO: Total Charge 0
[2025-02-09 11:08:03] Production.INFO: CreateAllLog End
[2025-02-09 11:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436646') end
[2025-02-09 11:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:08:04] Production.INFO: 1
[2025-02-09 11:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:08:04] Production.INFO: ==19952== Releasing lock...
[2025-02-09 11:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:08:04] Production.ERROR: done
[2025-02-09 11:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:08:04] Production.ERROR: done
[2025-02-09 11:08:04] Production.INFO: Account Balance End.
[2025-02-09 11:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:08:04] Production.INFO: ==19948== Releasing lock...
[2025-02-09 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:08:05
[end_date_ymd] => 2025-02-09 11:08:05
[RateCDR] => 1
)
[2025-02-09 11:08: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` >= '2025-02-09 08:08:05' and `end` < '2025-02-09 11:08: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 ,'')
[2025-02-09 11:08:12] Production.ERROR: CronJobId end10
[2025-02-09 11:08:12] Production.INFO: ==19946== Releasing lock...
[2025-02-09 11:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:08:15] Production.INFO: call_cost start
[2025-02-09 11:08:15] Production.INFO: call_cost end
[2025-02-09 11:08:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:08:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:08:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:08:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:08:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:08:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:08:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:08:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:08:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:08:16] Production.INFO: ==19942== Releasing lock...
[2025-02-09 11:08:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:08:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:08:18] Production.INFO: count ==347
[2025-02-09 11:08:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:08:05 - End Time 2025-02-09 11:08:05
[2025-02-09 11:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436649', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436649', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436649', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436649', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:08:18] Production.INFO: ProcessCDR(1,14436649,1,1,2)
[2025-02-09 11:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436649', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436649', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:08:22] Production.INFO: ==19950== Releasing lock...
[2025-02-09 11:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:08:22] Production.INFO: 31 MB #Memory Used#
[2025-02-09 16:09:01] Production.INFO: ==20009== Lock acquired, processing the job...
[2025-02-09 16:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:09:01] Production.INFO: neon service started
[2025-02-09 16:09:01] Production.INFO: neon service started
[2025-02-09 16:09:01] Production.INFO: ==20009== Releasing lock...
[2025-02-09 16:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:09:02] Production.INFO: ==20012== Lock acquired, processing the job...
[2025-02-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:09:02] Production.INFO: ==20014== Lock acquired, processing the job...
[2025-02-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:09:02] Production.INFO: ==20012== Releasing lock...
[2025-02-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:09:02] Production.INFO: ==20014== Releasing lock...
[2025-02-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:09:03] Production.INFO: ==20016== Lock acquired, processing the job...
[2025-02-09 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:09:03] Production.INFO: ==20018== Lock acquired, processing the job...
[2025-02-09 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:09:03] Production.INFO: ==20022== Lock acquired, processing the job...
[2025-02-09 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:09:03] Production.INFO: ==20020== Lock acquired, processing the job...
[2025-02-09 11:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:09:03] Production.INFO: ==20024== Lock acquired, processing the job...
[2025-02-09 11:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:09:03] Production.INFO: ==20026== Lock acquired, processing the job...
[2025-02-09 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:09:03] Production.INFO: Account Balance Start.
[2025-02-09 11:09:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:09:03] Production.INFO: 117
[2025-02-09 11:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:09:04] Production.INFO: ==20018== Releasing lock...
[2025-02-09 11:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:09:04] Production.INFO: Total Charge 0
[2025-02-09 11:09:04] Production.INFO: CreateAllLog End
[2025-02-09 11:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:09:04] Production.INFO: count ==21
[2025-02-09 11:09:04] Production.ERROR: done
[2025-02-09 11:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:09:04] Production.INFO: count ==21
[2025-02-09 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436653') start
[2025-02-09 11:09:04] Production.ERROR: done
[2025-02-09 11:09:04] Production.INFO: Account Balance End.
[2025-02-09 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436653') end
[2025-02-09 11:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:09:04] Production.INFO: 1
[2025-02-09 11:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:09:04] Production.INFO: ==20022== Releasing lock...
[2025-02-09 11:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:09:04] Production.INFO: ==20026== Releasing lock...
[2025-02-09 11:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:09:05
[end_date_ymd] => 2025-02-09 11:09:05
[RateCDR] => 1
)
[2025-02-09 11:09: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` >= '2025-02-09 08:09:05' and `end` < '2025-02-09 11:09: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 ,'')
[2025-02-09 11:09:13] Production.ERROR: CronJobId end10
[2025-02-09 11:09:13] Production.INFO: ==20020== Releasing lock...
[2025-02-09 11:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:09:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:09:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:09:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:09:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:09:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:09:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:09:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:09:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:09:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:09:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:09:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:09:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:09:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:09:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:09:15] Production.INFO: call_cost start
[2025-02-09 11:09:15] Production.INFO: call_cost end
[2025-02-09 11:09:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:09:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:09:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:09:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:09:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:09:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:09:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:09:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:09:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:09:16] Production.INFO: ==20016== Releasing lock...
[2025-02-09 11:09:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:09:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:09:18] Production.INFO: count ==347
[2025-02-09 11:09:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:09:05 - End Time 2025-02-09 11:09:05
[2025-02-09 11:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436654', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436654', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436654', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436654', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:09:18] Production.INFO: ProcessCDR(1,14436654,1,1,2)
[2025-02-09 11:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436654', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436654', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:09:22] Production.INFO: ==20024== Releasing lock...
[2025-02-09 11:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:09:22] Production.INFO: 31 MB #Memory Used#
[2025-02-09 16:10:02] Production.INFO: ==20089== Lock acquired, processing the job...
[2025-02-09 16:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:10:02] Production.INFO: neon service started
[2025-02-09 16:10:02] Production.INFO: neon service started
[2025-02-09 16:10:02] Production.INFO: ==20089== Releasing lock...
[2025-02-09 16:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:10:02] Production.INFO: ==20091== Lock acquired, processing the job...
[2025-02-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:10:03] Production.INFO: ==20093== Lock acquired, processing the job...
[2025-02-09 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:10:03] Production.INFO: ==20091== Releasing lock...
[2025-02-09 11:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:10:03] Production.INFO: ==20093== Releasing lock...
[2025-02-09 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:10:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:10:04] Production.INFO: ==20096== Lock acquired, processing the job...
[2025-02-09 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 11:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 11:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 11:10:04] Production.INFO: ==20096== Releasing lock...
[2025-02-09 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 11:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 11:10:04] Production.INFO: ==20106== Lock acquired, processing the job...
[2025-02-09 11:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:10:04] Production.INFO: ==20100== Lock acquired, processing the job...
[2025-02-09 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:10:04] Production.INFO: ==20098== Lock acquired, processing the job...
[2025-02-09 11:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:10:04] Production.INFO: ==20110== Lock acquired, processing the job...
[2025-02-09 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:10:04] Production.INFO: ==20102== Lock acquired, processing the job...
[2025-02-09 11:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:10:04] Production.INFO: ==20104== Lock acquired, processing the job...
[2025-02-09 11:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:10:04] Production.INFO: Account Balance Start.
[2025-02-09 11:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:10:04] Production.INFO: 117
[2025-02-09 11:10:04] Production.INFO: ==20108== Lock acquired, processing the job...
[2025-02-09 11:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 11:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:10:05] Production.INFO: count ==21
[2025-02-09 11:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:10:05] Production.INFO: count ==21
[2025-02-09 11:10:05] Production.INFO: Reseller ==> 0
[2025-02-09 11:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436656') start
[2025-02-09 11:10:05] Production.INFO: Date 2025-02-09
[2025-02-09 11:10:05] Production.INFO: Reseller ==> 0
[2025-02-09 11:10:05] Production.INFO: Total Charge 0
[2025-02-09 11:10:05] Production.ERROR: done
[2025-02-09 11:10:05] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:10:05] Production.INFO: CreateAllLog End
[2025-02-09 11:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436656') end
[2025-02-09 11:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:10:05] Production.INFO: 1
[2025-02-09 11:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:10:05] Production.INFO: ==20110== Releasing lock...
[2025-02-09 11:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:10:05] Production.INFO: ==20100== Releasing lock...
[2025-02-09 11:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:10:05] Production.ERROR: done
[2025-02-09 11:10:05] Production.INFO: Account Balance End.
[2025-02-09 11:10:05] Production.ERROR: done
[2025-02-09 11:10:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:10:05] Production.INFO: ==20104== Releasing lock...
[2025-02-09 11:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 11:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436660', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 11:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:10:06
[end_date_ymd] => 2025-02-09 11:10:06
[RateCDR] => 1
)
[2025-02-09 11:10: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-02-09 08:10:06' and `end` < '2025-02-09 11:10: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-02-09 11:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436660', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 11:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 11:10:10] Production.INFO: ProcessCDR(1,14436660,1,1,2)
[2025-02-09 11:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436660,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436660,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:10:10] Production.INFO: ==20108== Releasing lock...
[2025-02-09 11:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 11:10:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 11:10:15] Production.ERROR: CronJobId end10
[2025-02-09 11:10:15] Production.INFO: ==20102== Releasing lock...
[2025-02-09 11:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:10:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:10:18] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:10:18] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:10:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:10:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:10:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:10:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:10:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:10:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:10:18] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:10:18] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:10:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:10:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:10:18] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:10:18] Production.INFO: call_cost start
[2025-02-09 11:10:18] Production.INFO: call_cost end
[2025-02-09 11:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:10:19] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:10:19] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:10:19] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:10:19] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:10:19] Production.INFO: ==20098== Releasing lock...
[2025-02-09 11:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:10:19] Production.INFO: count ==360
[2025-02-09 11:10:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:10:06 - End Time 2025-02-09 11:10:06
[2025-02-09 11:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436659', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436659', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436659', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436659', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:10:19] Production.INFO: ProcessCDR(1,14436659,1,1,2)
[2025-02-09 11:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436659', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436659', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:10:25] Production.INFO: ==20106== Releasing lock...
[2025-02-09 11:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:10:25] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 16:11:01] Production.INFO: ==20206== Lock acquired, processing the job...
[2025-02-09 16:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:11:01] Production.INFO: neon service started
[2025-02-09 16:11:01] Production.INFO: neon service started
[2025-02-09 16:11:01] Production.INFO: ==20206== Releasing lock...
[2025-02-09 16:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:11:02] Production.INFO: ==20208== Lock acquired, processing the job...
[2025-02-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:11:02] Production.INFO: ==20210== Lock acquired, processing the job...
[2025-02-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:11:02] Production.INFO: ==20210== Releasing lock...
[2025-02-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:11:03] Production.INFO: ==20208== Releasing lock...
[2025-02-09 11:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:11:03] Production.INFO: ==20213== Lock acquired, processing the job...
[2025-02-09 11:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:11:03] Production.INFO: ==20217== Lock acquired, processing the job...
[2025-02-09 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:11:04] Production.INFO: ==20221== Lock acquired, processing the job...
[2025-02-09 11:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:11:04] Production.INFO: ==20215== Lock acquired, processing the job...
[2025-02-09 11:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:11:04] Production.INFO: ==20219== Lock acquired, processing the job...
[2025-02-09 11:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:11:04] Production.INFO: ==20223== Lock acquired, processing the job...
[2025-02-09 11:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:11:04] Production.ERROR: done
[2025-02-09 11:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:11:04] Production.INFO: Account Balance Start.
[2025-02-09 11:11:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:11:04] Production.INFO: 117
[2025-02-09 11:11:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:11:04] Production.INFO: count ==21
[2025-02-09 11:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:11:04] Production.INFO: count ==21
[2025-02-09 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436664') start
[2025-02-09 11:11:04] Production.INFO: ==20215== Releasing lock...
[2025-02-09 11:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:11:04] Production.ERROR: done
[2025-02-09 11:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:11:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:11:04] Production.INFO: Total Charge 0
[2025-02-09 11:11:04] Production.INFO: CreateAllLog End
[2025-02-09 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436664') end
[2025-02-09 11:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:11:04] Production.INFO: 1
[2025-02-09 11:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:11:05] Production.INFO: Account Balance End.
[2025-02-09 11:11:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:11:05] Production.INFO: ==20219== Releasing lock...
[2025-02-09 11:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:11:05] Production.INFO: ==20223== Releasing lock...
[2025-02-09 11:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:11:05
[end_date_ymd] => 2025-02-09 11:11:05
[RateCDR] => 1
)
[2025-02-09 11:11: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` >= '2025-02-09 08:11:05' and `end` < '2025-02-09 11:11: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 ,'')
[2025-02-09 11:11:12] Production.ERROR: CronJobId end10
[2025-02-09 11:11:12] Production.INFO: ==20217== Releasing lock...
[2025-02-09 11:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:11:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:11:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:11:15] Production.INFO: call_cost start
[2025-02-09 11:11:15] Production.INFO: call_cost end
[2025-02-09 11:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:11:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:11:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:11:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:11:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:11:16] Production.INFO: ==20213== Releasing lock...
[2025-02-09 11:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:11:19] Production.INFO: count ==381
[2025-02-09 11:11:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:11:05 - End Time 2025-02-09 11:11:05
[2025-02-09 11:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436665', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436665', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436665', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436665', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:11:19] Production.INFO: ProcessCDR(1,14436665,1,1,2)
[2025-02-09 11:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436665', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436665', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:11:23] Production.INFO: ==20221== Releasing lock...
[2025-02-09 11:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:11:23] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 16:12:01] Production.INFO: ==20354== Lock acquired, processing the job...
[2025-02-09 16:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:12:01] Production.INFO: neon service started
[2025-02-09 16:12:01] Production.INFO: neon service started
[2025-02-09 16:12:01] Production.INFO: ==20354== Releasing lock...
[2025-02-09 16:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:12:02] Production.INFO: ==20356== Lock acquired, processing the job...
[2025-02-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:12:02] Production.INFO: ==20358== Lock acquired, processing the job...
[2025-02-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:12:02] Production.INFO: ==20358== Releasing lock...
[2025-02-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:12:02] Production.INFO: ==20356== Releasing lock...
[2025-02-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:12:03] Production.INFO: ==20369== Lock acquired, processing the job...
[2025-02-09 11:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:12:03] Production.INFO: ==20371== Lock acquired, processing the job...
[2025-02-09 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:12:03] Production.INFO: ==20361== Lock acquired, processing the job...
[2025-02-09 11:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:12:03] Production.INFO: ==20363== Lock acquired, processing the job...
[2025-02-09 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:12:03] Production.INFO: ==20365== Lock acquired, processing the job...
[2025-02-09 11:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:12:04] Production.INFO: count ==21
[2025-02-09 11:12:04] Production.INFO: ==20367== Lock acquired, processing the job...
[2025-02-09 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:12:04] Production.INFO: count ==21
[2025-02-09 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436666') start
[2025-02-09 11:12:04] Production.ERROR: done
[2025-02-09 11:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:12:04] Production.INFO: Account Balance Start.
[2025-02-09 11:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:12:04] Production.INFO: 117
[2025-02-09 11:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436666') end
[2025-02-09 11:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:12:04] Production.INFO: 1
[2025-02-09 11:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:12:04] Production.INFO: ==20371== Releasing lock...
[2025-02-09 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:12:04] Production.ERROR: done
[2025-02-09 11:12:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:12:04] Production.INFO: ==20363== Releasing lock...
[2025-02-09 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:12:04] Production.INFO: Total Charge 0
[2025-02-09 11:12:04] Production.INFO: CreateAllLog End
[2025-02-09 11:12:04] Production.INFO: Account Balance End.
[2025-02-09 11:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:12:04] Production.INFO: ==20367== Releasing lock...
[2025-02-09 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:12:05
[end_date_ymd] => 2025-02-09 11:12:05
[RateCDR] => 1
)
[2025-02-09 11:12: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` >= '2025-02-09 08:12:05' and `end` < '2025-02-09 11:12: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 ,'')
[2025-02-09 11:12:13] Production.ERROR: CronJobId end10
[2025-02-09 11:12:13] Production.INFO: ==20365== Releasing lock...
[2025-02-09 11:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:12:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:12:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:12:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:12:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:12:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:12:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:12:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:12:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:12:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:12:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:12:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:12:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:12:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:12:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:12:15] Production.INFO: call_cost start
[2025-02-09 11:12:15] Production.INFO: call_cost end
[2025-02-09 11:12:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:12:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:12:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:12:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:12:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:12:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:12:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:12:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:12:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:12:16] Production.INFO: ==20361== Releasing lock...
[2025-02-09 11:12:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:12:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:12:18] Production.INFO: count ==385
[2025-02-09 11:12:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:12:05 - End Time 2025-02-09 11:12:05
[2025-02-09 11:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436670', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436670', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436670', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436670', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:12:18] Production.INFO: ProcessCDR(1,14436670,1,1,2)
[2025-02-09 11:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436670', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436670', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:12:23] Production.INFO: ==20369== Releasing lock...
[2025-02-09 11:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:12:23] Production.INFO: 30.75 MB #Memory Used#
[2025-02-09 16:13:02] Production.INFO: ==20429== Lock acquired, processing the job...
[2025-02-09 16:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:13:02] Production.INFO: neon service started
[2025-02-09 16:13:02] Production.INFO: neon service started
[2025-02-09 16:13:02] Production.INFO: ==20429== Releasing lock...
[2025-02-09 16:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:13:02] Production.INFO: ==20431== Lock acquired, processing the job...
[2025-02-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:13:02] Production.INFO: ==20431== Releasing lock...
[2025-02-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:13:03] Production.INFO: ==20433== Lock acquired, processing the job...
[2025-02-09 16:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:13:03] Production.INFO: ==20433== Releasing lock...
[2025-02-09 16:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:13:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:13:03] Production.INFO: ==20437== Lock acquired, processing the job...
[2025-02-09 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:13:03] Production.INFO: ==20440== Lock acquired, processing the job...
[2025-02-09 11:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:13:03] Production.INFO: ==20442== Lock acquired, processing the job...
[2025-02-09 11:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:13:04] Production.INFO: ==20435== Lock acquired, processing the job...
[2025-02-09 11:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:13:04] Production.INFO: Account Balance Start.
[2025-02-09 11:13:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:13:04] Production.INFO: 117
[2025-02-09 11:13:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:13:04] Production.INFO: ==20444== Lock acquired, processing the job...
[2025-02-09 11:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:13:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:13:04] Production.INFO: Total Charge 0
[2025-02-09 11:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:13:04] Production.INFO: CreateAllLog End
[2025-02-09 11:13:04] Production.INFO: ==20446== Lock acquired, processing the job...
[2025-02-09 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:13:04] Production.INFO: ==20437== Releasing lock...
[2025-02-09 11:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:13:04] Production.ERROR: done
[2025-02-09 11:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:13:04] Production.INFO: count ==21
[2025-02-09 11:13:04] Production.ERROR: done
[2025-02-09 11:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:13:04] Production.INFO: count ==21
[2025-02-09 11:13:04] Production.INFO: Account Balance End.
[2025-02-09 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436674') start
[2025-02-09 11:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:13:04] Production.INFO: ==20442== Releasing lock...
[2025-02-09 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:13:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436674') end
[2025-02-09 11:13:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:13:05] Production.INFO: 1
[2025-02-09 11:13:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:13:05] Production.INFO: ==20446== Releasing lock...
[2025-02-09 11:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:13:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:13:06
[end_date_ymd] => 2025-02-09 11:13:06
[RateCDR] => 1
)
[2025-02-09 11:13: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-02-09 08:13:06' and `end` < '2025-02-09 11:13: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-02-09 11:13:13] Production.ERROR: CronJobId end10
[2025-02-09 11:13:13] Production.INFO: ==20440== Releasing lock...
[2025-02-09 11:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:13:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:13:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:13:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:13:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:13:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:13:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:13:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:13:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:13:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:13:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:13:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:13:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:13:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:13:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:13:15] Production.INFO: call_cost start
[2025-02-09 11:13:15] Production.INFO: call_cost end
[2025-02-09 11:13:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:13:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:13:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:13:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:13:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:13:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:13:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:13:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:13:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:13:16] Production.INFO: ==20435== Releasing lock...
[2025-02-09 11:13:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:13:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:13:19] Production.INFO: count ==392
[2025-02-09 11:13:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:13:06 - End Time 2025-02-09 11:13:06
[2025-02-09 11:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436675', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436675', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436675', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436675', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:13:19] Production.INFO: ProcessCDR(1,14436675,1,1,2)
[2025-02-09 11:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436675', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436675', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:13:22] Production.INFO: ==20444== Releasing lock...
[2025-02-09 11:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:13:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 16:14:01] Production.INFO: ==20506== Lock acquired, processing the job...
[2025-02-09 16:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:14:01] Production.INFO: neon service started
[2025-02-09 16:14:01] Production.INFO: neon service started
[2025-02-09 16:14:01] Production.INFO: ==20506== Releasing lock...
[2025-02-09 16:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:14:02] Production.INFO: ==20510== Lock acquired, processing the job...
[2025-02-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:14:02] Production.INFO: ==20510== Releasing lock...
[2025-02-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:14:02] Production.INFO: ==20508== Lock acquired, processing the job...
[2025-02-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:14:02] Production.INFO: ==20508== Releasing lock...
[2025-02-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:14:03] Production.INFO: ==20521== Lock acquired, processing the job...
[2025-02-09 11:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:14:03] Production.INFO: ==20519== Lock acquired, processing the job...
[2025-02-09 11:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:14:03] Production.INFO: ==20513== Lock acquired, processing the job...
[2025-02-09 11:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:14:03] Production.INFO: Account Balance Start.
[2025-02-09 11:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:14:03] Production.INFO: 117
[2025-02-09 11:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:14:03] Production.INFO: ==20515== Lock acquired, processing the job...
[2025-02-09 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:14:03] Production.INFO: ==20517== Lock acquired, processing the job...
[2025-02-09 11:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:14:04] Production.INFO: Total Charge 0
[2025-02-09 11:14:04] Production.INFO: ==20523== Lock acquired, processing the job...
[2025-02-09 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:14:04] Production.INFO: CreateAllLog End
[2025-02-09 11:14:04] Production.ERROR: done
[2025-02-09 11:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:14:04] Production.ERROR: done
[2025-02-09 11:14:04] Production.INFO: Account Balance End.
[2025-02-09 11:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:14:04] Production.INFO: ==20519== Releasing lock...
[2025-02-09 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:14:04] Production.INFO: count ==21
[2025-02-09 11:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:14:04] Production.INFO: count ==21
[2025-02-09 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436679') start
[2025-02-09 11:14:04] Production.INFO: ==20515== Releasing lock...
[2025-02-09 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436679') end
[2025-02-09 11:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:14:04] Production.INFO: 1
[2025-02-09 11:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:14:04] Production.INFO: ==20523== Releasing lock...
[2025-02-09 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:14:05
[end_date_ymd] => 2025-02-09 11:14:05
[RateCDR] => 1
)
[2025-02-09 11:14: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` >= '2025-02-09 08:14:05' and `end` < '2025-02-09 11:14: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 ,'')
[2025-02-09 11:14:13] Production.ERROR: CronJobId end10
[2025-02-09 11:14:13] Production.INFO: ==20517== Releasing lock...
[2025-02-09 11:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:14:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:14:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:14:16] Production.INFO: call_cost start
[2025-02-09 11:14:16] Production.INFO: call_cost end
[2025-02-09 11:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:14:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:14:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:14:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:14:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:14:17] Production.INFO: ==20513== Releasing lock...
[2025-02-09 11:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:14:18] Production.INFO: count ==399
[2025-02-09 11:14:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:14:05 - End Time 2025-02-09 11:14:05
[2025-02-09 11:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436680', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436680', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436680', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436680', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:14:18] Production.INFO: ProcessCDR(1,14436680,1,1,2)
[2025-02-09 11:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436680', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436680', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:14:22] Production.INFO: ==20521== Releasing lock...
[2025-02-09 11:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:14:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 16:15:02] Production.INFO: ==20661== Lock acquired, processing the job...
[2025-02-09 16:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:15:02] Production.INFO: neon service started
[2025-02-09 16:15:02] Production.INFO: neon service started
[2025-02-09 16:15:02] Production.INFO: ==20661== Releasing lock...
[2025-02-09 16:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:15:02] Production.INFO: ==20663== Lock acquired, processing the job...
[2025-02-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:15:02] Production.INFO: ==20663== Releasing lock...
[2025-02-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:15:02] Production.INFO: ==20665== Lock acquired, processing the job...
[2025-02-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:15:03] Production.INFO: ==20665== Releasing lock...
[2025-02-09 16:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:15:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:15:03] Production.INFO: ==20675== Lock acquired, processing the job...
[2025-02-09 11:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:15:04] Production.INFO: ==20673== Lock acquired, processing the job...
[2025-02-09 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:15:04] Production.INFO: ==20667== Lock acquired, processing the job...
[2025-02-09 11:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:15:04] Production.INFO: ==20669== Lock acquired, processing the job...
[2025-02-09 11:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:15:04] Production.INFO: ==20671== Lock acquired, processing the job...
[2025-02-09 11:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:15:04] Production.ERROR: done
[2025-02-09 11:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:15:04] Production.INFO: ==20677== Lock acquired, processing the job...
[2025-02-09 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:15:04] Production.INFO: Account Balance Start.
[2025-02-09 11:15:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:15:04] Production.INFO: 117
[2025-02-09 11:15:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:15:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:15:04] Production.ERROR: done
[2025-02-09 11:15:04] Production.INFO: Total Charge 0
[2025-02-09 11:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:15:04] Production.INFO: CreateAllLog End
[2025-02-09 11:15:04] Production.INFO: count ==21
[2025-02-09 11:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:15:04] Production.INFO: count ==21
[2025-02-09 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436684') start
[2025-02-09 11:15:04] Production.INFO: ==20669== Releasing lock...
[2025-02-09 11:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436684') end
[2025-02-09 11:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:15:04] Production.INFO: 1
[2025-02-09 11:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:15:04] Production.INFO: Account Balance End.
[2025-02-09 11:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:15:04] Production.INFO: ==20673== Releasing lock...
[2025-02-09 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:15:04] Production.INFO: ==20677== Releasing lock...
[2025-02-09 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:15:05
[end_date_ymd] => 2025-02-09 11:15:05
[RateCDR] => 1
)
[2025-02-09 11:15: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` >= '2025-02-09 08:15:05' and `end` < '2025-02-09 11:15: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 ,'')
[2025-02-09 11:15:13] Production.ERROR: CronJobId end10
[2025-02-09 11:15:13] Production.INFO: ==20671== Releasing lock...
[2025-02-09 11:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:15:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:15:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:15:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:15:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:15:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:15:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:15:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:15:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:15:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:15:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:15:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:15:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:15:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:15:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:15:16] Production.INFO: call_cost start
[2025-02-09 11:15:16] Production.INFO: call_cost end
[2025-02-09 11:15:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:15:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:15:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:15:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:15:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:15:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:15:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:15:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:15:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:15:17] Production.INFO: ==20667== Releasing lock...
[2025-02-09 11:15:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:15:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:15:18] Production.INFO: count ==399
[2025-02-09 11:15:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:15:05 - End Time 2025-02-09 11:15:05
[2025-02-09 11:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436685', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436685', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436685', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436685', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:15:18] Production.INFO: ProcessCDR(1,14436685,1,1,2)
[2025-02-09 11:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436685', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436685', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:15:22] Production.INFO: ==20675== Releasing lock...
[2025-02-09 11:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:15:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 16:16:01] Production.INFO: ==20733== Lock acquired, processing the job...
[2025-02-09 16:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:16:01] Production.INFO: neon service started
[2025-02-09 16:16:01] Production.INFO: neon service started
[2025-02-09 16:16:01] Production.INFO: ==20733== Releasing lock...
[2025-02-09 16:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:16:02] Production.INFO: ==20737== Lock acquired, processing the job...
[2025-02-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:16:02] Production.INFO: ==20737== Releasing lock...
[2025-02-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:16:02] Production.INFO: ==20735== Lock acquired, processing the job...
[2025-02-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:16:02] Production.INFO: ==20735== Releasing lock...
[2025-02-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:16:03] Production.INFO: ==20746== Lock acquired, processing the job...
[2025-02-09 11:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:16:03] Production.INFO: ==20748== Lock acquired, processing the job...
[2025-02-09 11:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:16:03] Production.INFO: ==20742== Lock acquired, processing the job...
[2025-02-09 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:16:03] Production.INFO: ==20740== Lock acquired, processing the job...
[2025-02-09 11:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:16:03] Production.INFO: Account Balance Start.
[2025-02-09 11:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:16:03] Production.INFO: 117
[2025-02-09 11:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:16:03] Production.INFO: ==20744== Lock acquired, processing the job...
[2025-02-09 11:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:16:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:16:03] Production.INFO: Total Charge 0
[2025-02-09 11:16:03] Production.INFO: ==20750== Lock acquired, processing the job...
[2025-02-09 11:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:16:03] Production.INFO: CreateAllLog End
[2025-02-09 11:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:16:04] Production.INFO: count ==21
[2025-02-09 11:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:16:04] Production.INFO: count ==21
[2025-02-09 11:16:04] Production.ERROR: done
[2025-02-09 11:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436687') start
[2025-02-09 11:16:04] Production.INFO: ==20742== Releasing lock...
[2025-02-09 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:16:04] Production.ERROR: done
[2025-02-09 11:16:04] Production.INFO: Account Balance End.
[2025-02-09 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436687') end
[2025-02-09 11:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:16:04] Production.INFO: 1
[2025-02-09 11:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:16:04] Production.INFO: ==20746== Releasing lock...
[2025-02-09 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:16:04] Production.INFO: ==20750== Releasing lock...
[2025-02-09 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:16:05
[end_date_ymd] => 2025-02-09 11:16:05
[RateCDR] => 1
)
[2025-02-09 11:16: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` >= '2025-02-09 08:16:05' and `end` < '2025-02-09 11:16: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 ,'')
[2025-02-09 11:16:12] Production.ERROR: CronJobId end10
[2025-02-09 11:16:12] Production.INFO: ==20744== Releasing lock...
[2025-02-09 11:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:16:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:16:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:16:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:16:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:16:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:16:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:16:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:16:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:16:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:16:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:16:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:16:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:16:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:16:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:16:16] Production.INFO: call_cost start
[2025-02-09 11:16:16] Production.INFO: call_cost end
[2025-02-09 11:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:16:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:16:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:16:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:16:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:16:17] Production.INFO: ==20740== Releasing lock...
[2025-02-09 11:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:16:18] Production.INFO: count ==398
[2025-02-09 11:16:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:16:05 - End Time 2025-02-09 11:16:05
[2025-02-09 11:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436690', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436690', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436690', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436690', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:16:18] Production.INFO: ProcessCDR(1,14436690,1,1,2)
[2025-02-09 11:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436690', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436690', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:16:22] Production.INFO: ==20748== Releasing lock...
[2025-02-09 11:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:16:22] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 16:17:02] Production.INFO: ==20811== Lock acquired, processing the job...
[2025-02-09 16:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:17:02] Production.INFO: neon service started
[2025-02-09 16:17:02] Production.INFO: neon service started
[2025-02-09 16:17:02] Production.INFO: ==20811== Releasing lock...
[2025-02-09 16:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:17:02] Production.INFO: ==20813== Lock acquired, processing the job...
[2025-02-09 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:17:02] Production.INFO: ==20815== Lock acquired, processing the job...
[2025-02-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:17:03] Production.INFO: ==20815== Releasing lock...
[2025-02-09 16:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:17:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:17:03] Production.INFO: ==20813== Releasing lock...
[2025-02-09 11:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:17:04] Production.INFO: ==20818== Lock acquired, processing the job...
[2025-02-09 11:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:17:04] Production.INFO: ==20826== Lock acquired, processing the job...
[2025-02-09 11:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:17:04] Production.INFO: ==20820== Lock acquired, processing the job...
[2025-02-09 11:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:17:04] Production.INFO: ==20822== Lock acquired, processing the job...
[2025-02-09 11:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:17:04] Production.INFO: ==20824== Lock acquired, processing the job...
[2025-02-09 11:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:17:04] Production.INFO: ==20828== Lock acquired, processing the job...
[2025-02-09 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:17:04] Production.ERROR: done
[2025-02-09 11:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:17:04] Production.INFO: Account Balance Start.
[2025-02-09 11:17:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:17:04] Production.INFO: 117
[2025-02-09 11:17:04] Production.INFO: ==20820== Releasing lock...
[2025-02-09 11:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:17:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:17:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:17:05] Production.INFO: Reseller ==> 0
[2025-02-09 11:17:05] Production.INFO: count ==21
[2025-02-09 11:17:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:17:05] Production.INFO: count ==21
[2025-02-09 11:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436694') start
[2025-02-09 11:17:05] Production.ERROR: done
[2025-02-09 11:17:05] Production.INFO: Date 2025-02-09
[2025-02-09 11:17:05] Production.INFO: Reseller ==> 0
[2025-02-09 11:17:05] Production.INFO: Total Charge 0
[2025-02-09 11:17:05] Production.INFO: CreateAllLog End
[2025-02-09 11:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436694') end
[2025-02-09 11:17:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:17:05] Production.INFO: 1
[2025-02-09 11:17:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:17:05] Production.INFO: Account Balance End.
[2025-02-09 11:17:05] Production.INFO: ==20828== Releasing lock...
[2025-02-09 11:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:17:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:17:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:17:05] Production.INFO: ==20824== Releasing lock...
[2025-02-09 11:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:17:06
[end_date_ymd] => 2025-02-09 11:17:06
[RateCDR] => 1
)
[2025-02-09 11:17: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-02-09 08:17:06' and `end` < '2025-02-09 11:17: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-02-09 11:17:13] Production.ERROR: CronJobId end10
[2025-02-09 11:17:13] Production.INFO: ==20822== Releasing lock...
[2025-02-09 11:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:17:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:17:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:17:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:17:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:17:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:17:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:17:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:17:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:17:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:17:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:17:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:17:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:17:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:17:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:17:16] Production.INFO: call_cost start
[2025-02-09 11:17:16] Production.INFO: call_cost end
[2025-02-09 11:17:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:17:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:17:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:17:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:17:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:17:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:17:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:17:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:17:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:17:17] Production.INFO: ==20818== Releasing lock...
[2025-02-09 11:17:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:17:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:17:19] Production.INFO: count ==398
[2025-02-09 11:17:20] Production.ERROR: pbx CDR StartTime 2025-02-09 08:17:06 - End Time 2025-02-09 11:17:06
[2025-02-09 11:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436695', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436695', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436695', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436695', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:17:20] Production.INFO: ProcessCDR(1,14436695,1,1,2)
[2025-02-09 11:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436695', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436695', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:17:23] Production.INFO: ==20826== Releasing lock...
[2025-02-09 11:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:17:23] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 16:18:01] Production.INFO: ==20883== Lock acquired, processing the job...
[2025-02-09 16:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:18:01] Production.INFO: neon service started
[2025-02-09 16:18:01] Production.INFO: neon service started
[2025-02-09 16:18:01] Production.INFO: ==20883== Releasing lock...
[2025-02-09 16:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:18:02] Production.INFO: ==20889== Lock acquired, processing the job...
[2025-02-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:18:02] Production.INFO: ==20889== Releasing lock...
[2025-02-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:18:02] Production.INFO: ==20887== Lock acquired, processing the job...
[2025-02-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:18:02] Production.INFO: ==20887== Releasing lock...
[2025-02-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:18:03] Production.INFO: ==20898== Lock acquired, processing the job...
[2025-02-09 11:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:18:03] Production.INFO: ==20902== Lock acquired, processing the job...
[2025-02-09 11:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:18:03] Production.INFO: ==20892== Lock acquired, processing the job...
[2025-02-09 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:18:03] Production.INFO: Account Balance Start.
[2025-02-09 11:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:18:03] Production.INFO: 117
[2025-02-09 11:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:18:03] Production.INFO: ==20894== Lock acquired, processing the job...
[2025-02-09 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:18:03] Production.INFO: ==20896== Lock acquired, processing the job...
[2025-02-09 11:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:18:03] Production.INFO: count ==21
[2025-02-09 11:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:18:03] Production.INFO: count ==21
[2025-02-09 11:18:03] Production.INFO: Total Charge 0
[2025-02-09 11:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436698') start
[2025-02-09 11:18:04] Production.INFO: CreateAllLog End
[2025-02-09 11:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:18:04] Production.INFO: ==20900== Lock acquired, processing the job...
[2025-02-09 11:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436698') end
[2025-02-09 11:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:18:04] Production.INFO: 1
[2025-02-09 11:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:18:04] Production.INFO: Account Balance End.
[2025-02-09 11:18:04] Production.INFO: ==20902== Releasing lock...
[2025-02-09 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:18:04] Production.INFO: ==20898== Releasing lock...
[2025-02-09 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:18:04] Production.INFO: ==20894== Releasing lock...
[2025-02-09 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:18:04] Production.ERROR: done
[2025-02-09 11:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:18:04] Production.ERROR: done
[2025-02-09 11:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:18:05
[end_date_ymd] => 2025-02-09 11:18:05
[RateCDR] => 1
)
[2025-02-09 11:18: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` >= '2025-02-09 08:18:05' and `end` < '2025-02-09 11:18: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 ,'')
[2025-02-09 11:18:12] Production.ERROR: CronJobId end10
[2025-02-09 11:18:12] Production.INFO: ==20896== Releasing lock...
[2025-02-09 11:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:18:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:18:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:18:14] Production.INFO: call_cost start
[2025-02-09 11:18:14] Production.INFO: call_cost end
[2025-02-09 11:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:18:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:18:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:18:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:18:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:18:15] Production.INFO: ==20892== Releasing lock...
[2025-02-09 11:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:18:19] Production.INFO: count ==403
[2025-02-09 11:18:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:18:05 - End Time 2025-02-09 11:18:05
[2025-02-09 11:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436700', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436700', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436700', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436700', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:18:19] Production.INFO: ProcessCDR(1,14436700,1,1,2)
[2025-02-09 11:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436700', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436700', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:18:23] Production.INFO: ==20900== Releasing lock...
[2025-02-09 11:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:18:23] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 16:19:02] Production.INFO: ==20966== Lock acquired, processing the job...
[2025-02-09 16:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:19:02] Production.INFO: neon service started
[2025-02-09 16:19:02] Production.INFO: neon service started
[2025-02-09 16:19:02] Production.INFO: ==20966== Releasing lock...
[2025-02-09 16:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:19:02] Production.INFO: ==20968== Lock acquired, processing the job...
[2025-02-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:19:02] Production.INFO: ==20970== Lock acquired, processing the job...
[2025-02-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:19:02] Production.INFO: ==20968== Releasing lock...
[2025-02-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:19:03] Production.INFO: ==20970== Releasing lock...
[2025-02-09 16:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:19:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:19:03] Production.INFO: ==20973== Lock acquired, processing the job...
[2025-02-09 11:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:19:03] Production.INFO: ==20975== Lock acquired, processing the job...
[2025-02-09 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:19:04] Production.INFO: ==20977== Lock acquired, processing the job...
[2025-02-09 11:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:19:04] Production.INFO: ==20981== Lock acquired, processing the job...
[2025-02-09 11:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:19:04] Production.INFO: ==20979== Lock acquired, processing the job...
[2025-02-09 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:19:04] Production.INFO: ==20983== Lock acquired, processing the job...
[2025-02-09 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:19:04] Production.INFO: ==20975== Releasing lock...
[2025-02-09 11:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:19:04] Production.INFO: Account Balance Start.
[2025-02-09 11:19:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:19:04] Production.INFO: 117
[2025-02-09 11:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:19:04] Production.INFO: count ==21
[2025-02-09 11:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:19:04] Production.INFO: count ==21
[2025-02-09 11:19:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436703') start
[2025-02-09 11:19:04] Production.ERROR: done
[2025-02-09 11:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436703') end
[2025-02-09 11:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:19:04] Production.INFO: 1
[2025-02-09 11:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:19:04] Production.INFO: Total Charge 0
[2025-02-09 11:19:04] Production.INFO: CreateAllLog End
[2025-02-09 11:19:04] Production.INFO: ==20983== Releasing lock...
[2025-02-09 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:19:04] Production.ERROR: done
[2025-02-09 11:19:05] Production.INFO: Account Balance End.
[2025-02-09 11:19:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:19:05] Production.INFO: ==20979== Releasing lock...
[2025-02-09 11:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:19:06
[end_date_ymd] => 2025-02-09 11:19:06
[RateCDR] => 1
)
[2025-02-09 11:19: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-02-09 08:19:06' and `end` < '2025-02-09 11:19: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-02-09 11:19:14] Production.ERROR: CronJobId end10
[2025-02-09 11:19:14] Production.INFO: ==20977== Releasing lock...
[2025-02-09 11:19:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:19:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:19:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:19:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:19:16] Production.INFO: call_cost start
[2025-02-09 11:19:16] Production.INFO: call_cost end
[2025-02-09 11:19:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:19:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:19:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:19:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:19:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:19:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:19:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:19:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:19:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:19:17] Production.INFO: ==20973== Releasing lock...
[2025-02-09 11:19:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:19:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:19:20] Production.INFO: count ==407
[2025-02-09 11:19:20] Production.ERROR: pbx CDR StartTime 2025-02-09 08:19:06 - End Time 2025-02-09 11:19:06
[2025-02-09 11:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436705', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436705', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436705', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436705', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:19:20] Production.INFO: ProcessCDR(1,14436705,1,1,2)
[2025-02-09 11:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:19:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436705', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:19:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436705', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:19:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:19:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:19:25] Production.INFO: ==20981== Releasing lock...
[2025-02-09 11:19:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:19:25] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 16:20:01] Production.INFO: ==21043== Lock acquired, processing the job...
[2025-02-09 16:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:20:01] Production.INFO: neon service started
[2025-02-09 16:20:01] Production.INFO: neon service started
[2025-02-09 16:20:01] Production.INFO: ==21043== Releasing lock...
[2025-02-09 16:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:20:02] Production.INFO: ==21047== Lock acquired, processing the job...
[2025-02-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:20:02] Production.INFO: ==21047== Releasing lock...
[2025-02-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:20:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:20:02] Production.INFO: ==21045== Lock acquired, processing the job...
[2025-02-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:20:02] Production.INFO: ==21045== Releasing lock...
[2025-02-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:20:03] Production.INFO: ==21050== Lock acquired, processing the job...
[2025-02-09 11:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 11:20:03] Production.INFO: ==21052== Lock acquired, processing the job...
[2025-02-09 11:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:20:04] Production.INFO: ==21054== Lock acquired, processing the job...
[2025-02-09 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 11:20:04] Production.ERROR: CronJob PID - 21052
[2025-02-09 11:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 11:20:04] Production.ERROR: CronJob ID - 5
[2025-02-09 11:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 11:20:00
[2025-02-09 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 11:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 11:20:04] Production.INFO: ==21050== Releasing lock...
[2025-02-09 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 11:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 11:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:20:04] Production.INFO: ==21064== Lock acquired, processing the job...
[2025-02-09 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:20:04] Production.INFO: ==21056== Lock acquired, processing the job...
[2025-02-09 11:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:20:04] Production.INFO: ==21058== Lock acquired, processing the job...
[2025-02-09 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:20:04] Production.INFO: count ==21
[2025-02-09 11:20:04] Production.INFO: ==21060== Lock acquired, processing the job...
[2025-02-09 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:20:04] Production.INFO: count ==21
[2025-02-09 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436708') start
[2025-02-09 11:20:04] Production.INFO: ==21062== Lock acquired, processing the job...
[2025-02-09 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:20:04] Production.INFO: ==21054== Releasing lock...
[2025-02-09 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:20:04] Production.INFO: Account Balance Start.
[2025-02-09 11:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:20:04] Production.INFO: 117
[2025-02-09 11:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436708') end
[2025-02-09 11:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:20:04] Production.INFO: 1
[2025-02-09 11:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:20:04] Production.INFO: ==21064== Releasing lock...
[2025-02-09 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:20:04] Production.INFO: Total Charge 0
[2025-02-09 11:20:04] Production.INFO: CreateAllLog End
[2025-02-09 11:20:05] Production.ERROR: done
[2025-02-09 11:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:20:05] Production.ERROR: done
[2025-02-09 11:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 11:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436710', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 11:20:05] Production.INFO: Account Balance End.
[2025-02-09 11:20:05] Production.ERROR: done
[2025-02-09 11:20:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:20:05] Production.INFO: ==21058== Releasing lock...
[2025-02-09 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:20:06
[end_date_ymd] => 2025-02-09 11:20:06
[RateCDR] => 1
)
[2025-02-09 11:20: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-02-09 08:20:06' and `end` < '2025-02-09 11:20: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-02-09 11:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436710', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 11:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 11:20:10] Production.INFO: ProcessCDR(1,14436710,1,1,2)
[2025-02-09 11:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436710,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436710,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:20:10] Production.INFO: ==21062== Releasing lock...
[2025-02-09 11:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 11:20:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 11:20:15] Production.ERROR: CronJobId end10
[2025-02-09 11:20:15] Production.INFO: ==21056== Releasing lock...
[2025-02-09 11:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:20:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:20:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:20:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:20:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:20:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:20:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:20:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:20:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:20:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:20:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:20:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:20:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:20:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:20:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:20:18] Production.INFO: call_cost start
[2025-02-09 11:20:18] Production.INFO: call_cost end
[2025-02-09 11:20:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:20:19] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:20:19] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:20:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:20:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:20:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:20:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:20:19] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:20:19] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:20:19] Production.INFO: ==21052== Releasing lock...
[2025-02-09 11:20:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:20:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:20:19] Production.INFO: count ==424
[2025-02-09 11:20:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:20:06 - End Time 2025-02-09 11:20:06
[2025-02-09 11:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436711', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436711', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436711', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436711', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:20:19] Production.INFO: ProcessCDR(1,14436711,1,1,2)
[2025-02-09 11:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:20:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:20:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436711', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:20:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436711', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:20:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:20:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:20:25] Production.INFO: ==21060== Releasing lock...
[2025-02-09 11:20:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:20:25] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 16:21:02] Production.INFO: ==21122== Lock acquired, processing the job...
[2025-02-09 16:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:21:02] Production.INFO: neon service started
[2025-02-09 16:21:02] Production.INFO: neon service started
[2025-02-09 16:21:02] Production.INFO: ==21122== Releasing lock...
[2025-02-09 16:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:21:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 11:21:02] Production.INFO: ==21124== Lock acquired, processing the job...
[2025-02-09 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:21:02] Production.INFO: ==21124== Releasing lock...
[2025-02-09 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:21:02] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-02-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:21:02] Production.INFO: ==21126== Releasing lock...
[2025-02-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:21:03] Production.INFO: ==21129== Lock acquired, processing the job...
[2025-02-09 11:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:21:03] Production.INFO: ==21131== Lock acquired, processing the job...
[2025-02-09 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:21:03] Production.INFO: ==21133== Lock acquired, processing the job...
[2025-02-09 11:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:21:04] Production.INFO: ==21135== Lock acquired, processing the job...
[2025-02-09 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:21:04] Production.INFO: ==21137== Lock acquired, processing the job...
[2025-02-09 11:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:21:04] Production.INFO: ==21131== Releasing lock...
[2025-02-09 11:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:21:04] Production.INFO: ==21139== Lock acquired, processing the job...
[2025-02-09 11:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:21:04] Production.INFO: count ==21
[2025-02-09 11:21:04] Production.INFO: Account Balance Start.
[2025-02-09 11:21:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:21:04] Production.INFO: 117
[2025-02-09 11:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:21:04] Production.INFO: count ==21
[2025-02-09 11:21:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436715') start
[2025-02-09 11:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:21:04] Production.INFO: Total Charge 0
[2025-02-09 11:21:04] Production.INFO: CreateAllLog End
[2025-02-09 11:21:04] Production.ERROR: done
[2025-02-09 11:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436715') end
[2025-02-09 11:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:21:04] Production.INFO: 1
[2025-02-09 11:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:21:04] Production.INFO: ==21139== Releasing lock...
[2025-02-09 11:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:21:04] Production.ERROR: done
[2025-02-09 11:21:04] Production.INFO: Account Balance End.
[2025-02-09 11:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:21:04] Production.INFO: ==21135== Releasing lock...
[2025-02-09 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:21:05
[end_date_ymd] => 2025-02-09 11:21:05
[RateCDR] => 1
)
[2025-02-09 11:21: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` >= '2025-02-09 08:21:05' and `end` < '2025-02-09 11:21: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 ,'')
[2025-02-09 11:21:12] Production.ERROR: CronJobId end10
[2025-02-09 11:21:12] Production.INFO: ==21133== Releasing lock...
[2025-02-09 11:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:21:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:21:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:21:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:21:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:21:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:21:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:21:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:21:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:21:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:21:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:21:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:21:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:21:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:21:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:21:15] Production.INFO: call_cost start
[2025-02-09 11:21:15] Production.INFO: call_cost end
[2025-02-09 11:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:21:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:21:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:21:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:21:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:21:16] Production.INFO: ==21129== Releasing lock...
[2025-02-09 11:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:21:18] Production.INFO: count ==475
[2025-02-09 11:21:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:21:05 - End Time 2025-02-09 11:21:05
[2025-02-09 11:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436716', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436716', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436716', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436716', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:21:18] Production.INFO: ProcessCDR(1,14436716,1,1,2)
[2025-02-09 11:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436716', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436716', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:21:22] Production.INFO: ==21137== Releasing lock...
[2025-02-09 11:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:21:22] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 16:22:01] Production.INFO: ==21203== Lock acquired, processing the job...
[2025-02-09 16:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:22:01] Production.INFO: neon service started
[2025-02-09 16:22:01] Production.INFO: neon service started
[2025-02-09 16:22:01] Production.INFO: ==21203== Releasing lock...
[2025-02-09 16:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:22:01] Production.INFO: ==21207== Lock acquired, processing the job...
[2025-02-09 16:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:22:01] Production.INFO: ==21207== Releasing lock...
[2025-02-09 16:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:22:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:22:02] Production.INFO: ==21205== Lock acquired, processing the job...
[2025-02-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:22:02] Production.INFO: ==21205== Releasing lock...
[2025-02-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:22:03] Production.INFO: ==21212== Lock acquired, processing the job...
[2025-02-09 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:22:03] Production.INFO: ==21220== Lock acquired, processing the job...
[2025-02-09 11:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:22:03] Production.INFO: ==21212== Releasing lock...
[2025-02-09 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:22:03] Production.INFO: ==21210== Lock acquired, processing the job...
[2025-02-09 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:22:03] Production.INFO: count ==21
[2025-02-09 11:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:22:03] Production.INFO: ==21214== Lock acquired, processing the job...
[2025-02-09 11:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:22:03] Production.INFO: count ==21
[2025-02-09 11:22:03] Production.INFO: ==21216== Lock acquired, processing the job...
[2025-02-09 11:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:22:03] Production.INFO: ==21218== Lock acquired, processing the job...
[2025-02-09 11:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436718') start
[2025-02-09 11:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436718') end
[2025-02-09 11:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:22:03] Production.INFO: 1
[2025-02-09 11:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:22:04] Production.INFO: ==21220== Releasing lock...
[2025-02-09 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:22:04] Production.INFO: Account Balance Start.
[2025-02-09 11:22:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:22:04] Production.INFO: 117
[2025-02-09 11:22:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:22:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:22:04] Production.INFO: Total Charge 0
[2025-02-09 11:22:04] Production.ERROR: done
[2025-02-09 11:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:22:04] Production.INFO: CreateAllLog End
[2025-02-09 11:22:04] Production.ERROR: done
[2025-02-09 11:22:04] Production.INFO: Account Balance End.
[2025-02-09 11:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:22:04] Production.INFO: ==21216== Releasing lock...
[2025-02-09 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:22:05
[end_date_ymd] => 2025-02-09 11:22:05
[RateCDR] => 1
)
[2025-02-09 11:22: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` >= '2025-02-09 08:22:05' and `end` < '2025-02-09 11:22: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 ,'')
[2025-02-09 11:22:13] Production.ERROR: CronJobId end10
[2025-02-09 11:22:13] Production.INFO: ==21214== Releasing lock...
[2025-02-09 11:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:22:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:22:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:22:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:22:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:22:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:22:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:22:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:22:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:22:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:22:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:22:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:22:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:22:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:22:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:22:16] Production.INFO: call_cost start
[2025-02-09 11:22:16] Production.INFO: call_cost end
[2025-02-09 11:22:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:22:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:22:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:22:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:22:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:22:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:22:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:22:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:22:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:22:17] Production.INFO: ==21210== Releasing lock...
[2025-02-09 11:22:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:22:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:22:20] Production.INFO: count ==475
[2025-02-09 11:22:20] Production.ERROR: pbx CDR StartTime 2025-02-09 08:22:05 - End Time 2025-02-09 11:22:05
[2025-02-09 11:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436721', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436721', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436721', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436721', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:22:20] Production.INFO: ProcessCDR(1,14436721,1,1,2)
[2025-02-09 11:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436721', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436721', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:22:24] Production.INFO: ==21218== Releasing lock...
[2025-02-09 11:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:22:24] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 16:23:02] Production.INFO: ==21278== Lock acquired, processing the job...
[2025-02-09 16:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:23:02] Production.INFO: neon service started
[2025-02-09 16:23:02] Production.INFO: neon service started
[2025-02-09 16:23:02] Production.INFO: ==21278== Releasing lock...
[2025-02-09 16:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:23:02] Production.INFO: ==21280== Lock acquired, processing the job...
[2025-02-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:23:02] Production.INFO: ==21282== Lock acquired, processing the job...
[2025-02-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:23:02] Production.INFO: ==21282== Releasing lock...
[2025-02-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:23:03] Production.INFO: ==21280== Releasing lock...
[2025-02-09 11:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:23:04] Production.INFO: ==21287== Lock acquired, processing the job...
[2025-02-09 11:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:23:04] Production.INFO: ==21293== Lock acquired, processing the job...
[2025-02-09 11:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:23:04] Production.INFO: ==21285== Lock acquired, processing the job...
[2025-02-09 11:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:23:04] Production.INFO: ==21289== Lock acquired, processing the job...
[2025-02-09 11:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:23:04] Production.INFO: ==21291== Lock acquired, processing the job...
[2025-02-09 11:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:23:04] Production.INFO: ==21287== Releasing lock...
[2025-02-09 11:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:23:04] Production.INFO: ==21295== Lock acquired, processing the job...
[2025-02-09 11:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:23:04] Production.ERROR: done
[2025-02-09 11:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:23:04] Production.INFO: Account Balance Start.
[2025-02-09 11:23:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:23:04] Production.INFO: 117
[2025-02-09 11:23:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:23:04] Production.INFO: count ==21
[2025-02-09 11:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:23:04] Production.INFO: count ==21
[2025-02-09 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436724') start
[2025-02-09 11:23:04] Production.ERROR: done
[2025-02-09 11:23:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:23:04] Production.INFO: Total Charge 0
[2025-02-09 11:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436724') end
[2025-02-09 11:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:23:04] Production.INFO: 1
[2025-02-09 11:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:23:05] Production.INFO: CreateAllLog End
[2025-02-09 11:23:05] Production.INFO: ==21295== Releasing lock...
[2025-02-09 11:23:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:23:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:23:05] Production.INFO: Account Balance End.
[2025-02-09 11:23:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:23:05] Production.INFO: ==21291== Releasing lock...
[2025-02-09 11:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:23:06
[end_date_ymd] => 2025-02-09 11:23:06
[RateCDR] => 1
)
[2025-02-09 11:23: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-02-09 08:23:06' and `end` < '2025-02-09 11:23: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-02-09 11:23:13] Production.ERROR: CronJobId end10
[2025-02-09 11:23:13] Production.INFO: ==21289== Releasing lock...
[2025-02-09 11:23:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:23:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:23:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:23:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:23:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:23:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:23:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:23:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:23:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:23:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:23:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:23:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:23:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:23:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:23:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:23:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:23:16] Production.INFO: call_cost start
[2025-02-09 11:23:16] Production.INFO: call_cost end
[2025-02-09 11:23:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:23:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:23:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:23:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:23:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:23:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:23:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:23:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:23:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:23:17] Production.INFO: ==21285== Releasing lock...
[2025-02-09 11:23:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:23:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:23:19] Production.INFO: count ==474
[2025-02-09 11:23:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:23:06 - End Time 2025-02-09 11:23:06
[2025-02-09 11:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436726', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436726', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436726', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436726', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:23:19] Production.INFO: ProcessCDR(1,14436726,1,1,2)
[2025-02-09 11:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436726', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436726', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:23:23] Production.INFO: ==21293== Releasing lock...
[2025-02-09 11:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:23:23] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 16:24:01] Production.INFO: ==21353== Lock acquired, processing the job...
[2025-02-09 16:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:24:01] Production.INFO: neon service started
[2025-02-09 16:24:01] Production.INFO: neon service started
[2025-02-09 16:24:01] Production.INFO: ==21353== Releasing lock...
[2025-02-09 16:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:24:02] Production.INFO: ==21355== Lock acquired, processing the job...
[2025-02-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:24:02] Production.INFO: ==21357== Lock acquired, processing the job...
[2025-02-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:24:02] Production.INFO: ==21357== Releasing lock...
[2025-02-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:24:02] Production.INFO: ==21355== Releasing lock...
[2025-02-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:24:03] Production.INFO: ==21360== Lock acquired, processing the job...
[2025-02-09 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:24:03] Production.INFO: ==21362== Lock acquired, processing the job...
[2025-02-09 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:24:04] Production.INFO: ==21368== Lock acquired, processing the job...
[2025-02-09 11:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:24:04] Production.INFO: ==21364== Lock acquired, processing the job...
[2025-02-09 11:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:24:04] Production.INFO: ==21366== Lock acquired, processing the job...
[2025-02-09 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:24:04] Production.INFO: ==21362== Releasing lock...
[2025-02-09 11:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:24:04] Production.INFO: ==21370== Lock acquired, processing the job...
[2025-02-09 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:24:04] Production.ERROR: done
[2025-02-09 11:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:24:04] Production.INFO: Account Balance Start.
[2025-02-09 11:24:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:24:04] Production.INFO: 117
[2025-02-09 11:24:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:24:04] Production.ERROR: done
[2025-02-09 11:24:04] Production.INFO: Total Charge 0
[2025-02-09 11:24:04] Production.INFO: count ==21
[2025-02-09 11:24:04] Production.INFO: CreateAllLog End
[2025-02-09 11:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:24:04] Production.INFO: count ==21
[2025-02-09 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436729') start
[2025-02-09 11:24:04] Production.INFO: Account Balance End.
[2025-02-09 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436729') end
[2025-02-09 11:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:24:05] Production.INFO: 1
[2025-02-09 11:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:24:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:24:05] Production.INFO: ==21366== Releasing lock...
[2025-02-09 11:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:24:05] Production.INFO: ==21370== Releasing lock...
[2025-02-09 11:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:24:05
[end_date_ymd] => 2025-02-09 11:24:05
[RateCDR] => 1
)
[2025-02-09 11:24: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-02-09 08:24:05' and `end` < '2025-02-09 11:24: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 ,'')
[2025-02-09 11:24:12] Production.ERROR: CronJobId end10
[2025-02-09 11:24:12] Production.INFO: ==21364== Releasing lock...
[2025-02-09 11:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:24:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:24:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:24:15] Production.INFO: call_cost start
[2025-02-09 11:24:15] Production.INFO: call_cost end
[2025-02-09 11:24:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:24:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:24:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:24:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:24:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:24:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:24:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:24:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:24:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:24:16] Production.INFO: ==21360== Releasing lock...
[2025-02-09 11:24:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:24:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:24:19] Production.INFO: count ==474
[2025-02-09 11:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:24:05 - End Time 2025-02-09 11:24:05
[2025-02-09 11:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436731', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436731', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436731', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436731', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:24:19] Production.INFO: ProcessCDR(1,14436731,1,1,2)
[2025-02-09 11:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436731', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436731', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:24:24] Production.INFO: ==21368== Releasing lock...
[2025-02-09 11:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:24:24] Production.INFO: 32 MB #Memory Used#
[2025-02-09 16:25:02] Production.INFO: ==21432== Lock acquired, processing the job...
[2025-02-09 16:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:25:02] Production.INFO: neon service started
[2025-02-09 16:25:02] Production.INFO: neon service started
[2025-02-09 16:25:02] Production.INFO: ==21432== Releasing lock...
[2025-02-09 16:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:25:02] Production.INFO: ==21436== Lock acquired, processing the job...
[2025-02-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:25:02] Production.INFO: ==21436== Releasing lock...
[2025-02-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:25:02] Production.INFO: ==21434== Lock acquired, processing the job...
[2025-02-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:25:03] Production.INFO: ==21434== Releasing lock...
[2025-02-09 11:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:25:03] Production.INFO: ==21438== Lock acquired, processing the job...
[2025-02-09 11:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:25:04] Production.INFO: ==21444== Lock acquired, processing the job...
[2025-02-09 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:25:04] Production.INFO: ==21446== Lock acquired, processing the job...
[2025-02-09 11:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:25:04] Production.INFO: Account Balance Start.
[2025-02-09 11:25:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:25:04] Production.INFO: 117
[2025-02-09 11:25:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:25:04] Production.INFO: ==21440== Lock acquired, processing the job...
[2025-02-09 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:25:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:25:04] Production.INFO: ==21442== Lock acquired, processing the job...
[2025-02-09 11:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:25:04] Production.INFO: ==21449== Lock acquired, processing the job...
[2025-02-09 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:25:04] Production.INFO: Total Charge 0
[2025-02-09 11:25:04] Production.INFO: CreateAllLog End
[2025-02-09 11:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:25:04] Production.INFO: count ==21
[2025-02-09 11:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:25:04] Production.INFO: count ==21
[2025-02-09 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436735') start
[2025-02-09 11:25:04] Production.ERROR: done
[2025-02-09 11:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:25:04] Production.INFO: Account Balance End.
[2025-02-09 11:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:25:04] Production.INFO: ==21444== Releasing lock...
[2025-02-09 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436735') end
[2025-02-09 11:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:25:04] Production.INFO: 1
[2025-02-09 11:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:25:04] Production.INFO: ==21440== Releasing lock...
[2025-02-09 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:25:04] Production.ERROR: done
[2025-02-09 11:25:04] Production.INFO: ==21449== Releasing lock...
[2025-02-09 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:25:05
[end_date_ymd] => 2025-02-09 11:25:05
[RateCDR] => 1
)
[2025-02-09 11:25: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` >= '2025-02-09 08:25:05' and `end` < '2025-02-09 11:25: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 ,'')
[2025-02-09 11:25:12] Production.ERROR: CronJobId end10
[2025-02-09 11:25:12] Production.INFO: ==21442== Releasing lock...
[2025-02-09 11:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:25:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:25:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:25:14] Production.INFO: call_cost start
[2025-02-09 11:25:14] Production.INFO: call_cost end
[2025-02-09 11:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:25:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:25:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:25:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:25:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:25:15] Production.INFO: ==21438== Releasing lock...
[2025-02-09 11:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:25:18] Production.INFO: count ==474
[2025-02-09 11:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:25:05 - End Time 2025-02-09 11:25:05
[2025-02-09 11:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436736', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436736', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436736', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436736', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:25:18] Production.INFO: ProcessCDR(1,14436736,1,1,2)
[2025-02-09 11:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436736', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436736', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:25:22] Production.INFO: ==21446== Releasing lock...
[2025-02-09 11:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:25:22] Production.INFO: 32 MB #Memory Used#
[2025-02-09 16:26:01] Production.INFO: ==21545== Lock acquired, processing the job...
[2025-02-09 16:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:26:01] Production.INFO: neon service started
[2025-02-09 16:26:01] Production.INFO: neon service started
[2025-02-09 16:26:01] Production.INFO: ==21545== Releasing lock...
[2025-02-09 16:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:26:02] Production.INFO: ==21549== Lock acquired, processing the job...
[2025-02-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:26:02] Production.INFO: ==21549== Releasing lock...
[2025-02-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:26:02] Production.INFO: ==21547== Lock acquired, processing the job...
[2025-02-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:26:02] Production.INFO: ==21547== Releasing lock...
[2025-02-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:26:03] Production.INFO: ==21552== Lock acquired, processing the job...
[2025-02-09 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:26:03] Production.INFO: ==21558== Lock acquired, processing the job...
[2025-02-09 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:26:03] Production.INFO: ==21560== Lock acquired, processing the job...
[2025-02-09 11:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:26:03] Production.INFO: Account Balance Start.
[2025-02-09 11:26:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:26:03] Production.INFO: 117
[2025-02-09 11:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:26:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:26:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:26:03] Production.INFO: ==21554== Lock acquired, processing the job...
[2025-02-09 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:26:03] Production.INFO: ==21556== Lock acquired, processing the job...
[2025-02-09 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:26:03] Production.INFO: Total Charge 0
[2025-02-09 11:26:03] Production.INFO: CreateAllLog End
[2025-02-09 11:26:03] Production.INFO: ==21562== Lock acquired, processing the job...
[2025-02-09 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:26:03] Production.INFO: count ==21
[2025-02-09 11:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:26:03] Production.INFO: Account Balance End.
[2025-02-09 11:26:03] Production.INFO: count ==21
[2025-02-09 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436740') start
[2025-02-09 11:26:03] Production.ERROR: CronJobId end 12
[2025-02-09 11:26:03] Production.INFO: ==21558== Releasing lock...
[2025-02-09 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436740') end
[2025-02-09 11:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:26:03] Production.INFO: 1
[2025-02-09 11:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:26:04] Production.ERROR: done
[2025-02-09 11:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:26:04] Production.INFO: ==21554== Releasing lock...
[2025-02-09 11:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:26:04] Production.INFO: ==21562== Releasing lock...
[2025-02-09 11:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:26:04] Production.ERROR: done
[2025-02-09 11:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:26:05
[end_date_ymd] => 2025-02-09 11:26:05
[RateCDR] => 1
)
[2025-02-09 11:26: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` >= '2025-02-09 08:26:05' and `end` < '2025-02-09 11:26: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 ,'')
[2025-02-09 11:26:11] Production.ERROR: CronJobId end10
[2025-02-09 11:26:11] Production.INFO: ==21556== Releasing lock...
[2025-02-09 11:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:26:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:26:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:26:14] Production.INFO: call_cost start
[2025-02-09 11:26:14] Production.INFO: call_cost end
[2025-02-09 11:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:26:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:26:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:26:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:26:15] Production.INFO: ==21552== Releasing lock...
[2025-02-09 11:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:26:19] Production.INFO: count ==474
[2025-02-09 11:26:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:26:05 - End Time 2025-02-09 11:26:05
[2025-02-09 11:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436741', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436741', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436741', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436741', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:26:19] Production.INFO: ProcessCDR(1,14436741,1,1,2)
[2025-02-09 11:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436741', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436741', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:26:22] Production.INFO: ==21560== Releasing lock...
[2025-02-09 11:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:26:22] Production.INFO: 32 MB #Memory Used#
[2025-02-09 16:27:02] Production.INFO: ==21627== Lock acquired, processing the job...
[2025-02-09 16:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:27:02] Production.INFO: neon service started
[2025-02-09 16:27:02] Production.INFO: neon service started
[2025-02-09 16:27:02] Production.INFO: ==21627== Releasing lock...
[2025-02-09 16:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:27:02] Production.INFO: ==21630== Lock acquired, processing the job...
[2025-02-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:27:02] Production.INFO: ==21632== Lock acquired, processing the job...
[2025-02-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:27:02] Production.INFO: ==21632== Releasing lock...
[2025-02-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:27:03] Production.INFO: ==21630== Releasing lock...
[2025-02-09 11:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:27:03] Production.INFO: ==21636== Lock acquired, processing the job...
[2025-02-09 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:27:03] Production.INFO: ==21638== Lock acquired, processing the job...
[2025-02-09 11:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:27:03] Production.INFO: ==21640== Lock acquired, processing the job...
[2025-02-09 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:27:04] Production.INFO: Account Balance Start.
[2025-02-09 11:27:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:27:04] Production.INFO: 117
[2025-02-09 11:27:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:27:04] Production.INFO: ==21634== Lock acquired, processing the job...
[2025-02-09 11:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:27:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:27:04] Production.INFO: Total Charge 0
[2025-02-09 11:27:04] Production.INFO: ==21636== Releasing lock...
[2025-02-09 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:27:04] Production.INFO: CreateAllLog End
[2025-02-09 11:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:27:04] Production.INFO: ==21642== Lock acquired, processing the job...
[2025-02-09 11:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:27:04] Production.INFO: ==21644== Lock acquired, processing the job...
[2025-02-09 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:27:04] Production.INFO: Account Balance End.
[2025-02-09 11:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:27:04] Production.INFO: ==21640== Releasing lock...
[2025-02-09 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:27:04] Production.INFO: count ==21
[2025-02-09 11:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:27:04] Production.INFO: count ==21
[2025-02-09 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436745') start
[2025-02-09 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436745') end
[2025-02-09 11:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:27:04] Production.INFO: 1
[2025-02-09 11:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:27:04] Production.ERROR: done
[2025-02-09 11:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:27:04] Production.INFO: ==21644== Releasing lock...
[2025-02-09 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:27:04] Production.ERROR: done
[2025-02-09 11:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:27:05
[end_date_ymd] => 2025-02-09 11:27:05
[RateCDR] => 1
)
[2025-02-09 11:27: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` >= '2025-02-09 08:27:05' and `end` < '2025-02-09 11:27: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 ,'')
[2025-02-09 11:27:12] Production.ERROR: CronJobId end10
[2025-02-09 11:27:12] Production.INFO: ==21638== Releasing lock...
[2025-02-09 11:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:27:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:27:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:27:15] Production.INFO: call_cost start
[2025-02-09 11:27:15] Production.INFO: call_cost end
[2025-02-09 11:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:27:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:27:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:27:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:27:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:27:15] Production.INFO: ==21634== Releasing lock...
[2025-02-09 11:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:27:19] Production.INFO: count ==475
[2025-02-09 11:27:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:27:05 - End Time 2025-02-09 11:27:05
[2025-02-09 11:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436746', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436746', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436746', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436746', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:27:19] Production.INFO: ProcessCDR(1,14436746,1,1,2)
[2025-02-09 11:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436746', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436746', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:27:24] Production.INFO: ==21642== Releasing lock...
[2025-02-09 11:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:27:24] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 16:28:01] Production.INFO: ==21702== Lock acquired, processing the job...
[2025-02-09 16:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:28:01] Production.INFO: neon service started
[2025-02-09 16:28:01] Production.INFO: neon service started
[2025-02-09 16:28:01] Production.INFO: ==21702== Releasing lock...
[2025-02-09 16:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:28:01] Production.INFO: ==21706== Lock acquired, processing the job...
[2025-02-09 16:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:28:01] Production.INFO: ==21706== Releasing lock...
[2025-02-09 16:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:28:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:28:02] Production.INFO: ==21704== Lock acquired, processing the job...
[2025-02-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:28:02] Production.INFO: ==21704== Releasing lock...
[2025-02-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:28:03] Production.INFO: ==21708== Lock acquired, processing the job...
[2025-02-09 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:28:03] Production.INFO: ==21717== Lock acquired, processing the job...
[2025-02-09 11:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:28:03] Production.INFO: ==21710== Lock acquired, processing the job...
[2025-02-09 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:28:03] Production.INFO: ==21712== Lock acquired, processing the job...
[2025-02-09 11:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:28:03] Production.INFO: ==21715== Lock acquired, processing the job...
[2025-02-09 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:28:03] Production.INFO: ==21719== Lock acquired, processing the job...
[2025-02-09 11:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:28:03] Production.ERROR: done
[2025-02-09 11:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:28:03] Production.INFO: Account Balance Start.
[2025-02-09 11:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:28:03] Production.INFO: 117
[2025-02-09 11:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:28:03] Production.INFO: ==21710== Releasing lock...
[2025-02-09 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:28:03] Production.INFO: count ==21
[2025-02-09 11:28:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:28:03] Production.INFO: count ==21
[2025-02-09 11:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436749') start
[2025-02-09 11:28:03] Production.ERROR: done
[2025-02-09 11:28:03] Production.INFO: Total Charge 0
[2025-02-09 11:28:03] Production.INFO: CreateAllLog End
[2025-02-09 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436749') end
[2025-02-09 11:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:28:04] Production.INFO: 1
[2025-02-09 11:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:28:04] Production.INFO: ==21719== Releasing lock...
[2025-02-09 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:28:04] Production.INFO: Account Balance End.
[2025-02-09 11:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:28:04] Production.INFO: ==21715== Releasing lock...
[2025-02-09 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:28:05
[end_date_ymd] => 2025-02-09 11:28:05
[RateCDR] => 1
)
[2025-02-09 11:28: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` >= '2025-02-09 08:28:05' and `end` < '2025-02-09 11:28: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 ,'')
[2025-02-09 11:28:11] Production.ERROR: CronJobId end10
[2025-02-09 11:28:11] Production.INFO: ==21712== Releasing lock...
[2025-02-09 11:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:28:14] Production.INFO: call_cost start
[2025-02-09 11:28:14] Production.INFO: call_cost end
[2025-02-09 11:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:28:15] Production.INFO: ==21708== Releasing lock...
[2025-02-09 11:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:28:19] Production.INFO: count ==475
[2025-02-09 11:28:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:28:05 - End Time 2025-02-09 11:28:05
[2025-02-09 11:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436751', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436751', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436751', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436751', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:28:19] Production.INFO: ProcessCDR(1,14436751,1,1,2)
[2025-02-09 11:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436751', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436751', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:28:22] Production.INFO: ==21717== Releasing lock...
[2025-02-09 11:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:28:22] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 16:29:02] Production.INFO: ==21779== Lock acquired, processing the job...
[2025-02-09 16:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:29:02] Production.INFO: neon service started
[2025-02-09 16:29:02] Production.INFO: neon service started
[2025-02-09 16:29:02] Production.INFO: ==21779== Releasing lock...
[2025-02-09 16:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:29:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 11:29:02] Production.INFO: ==21781== Lock acquired, processing the job...
[2025-02-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:29:02] Production.INFO: ==21781== Releasing lock...
[2025-02-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:29:02] Production.INFO: ==21783== Lock acquired, processing the job...
[2025-02-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:29:02] Production.INFO: ==21783== Releasing lock...
[2025-02-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:29:03] Production.INFO: ==21785== Lock acquired, processing the job...
[2025-02-09 11:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:29:03] Production.INFO: ==21789== Lock acquired, processing the job...
[2025-02-09 11:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:29:03] Production.INFO: ==21787== Lock acquired, processing the job...
[2025-02-09 11:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:29:03] Production.INFO: ==21796== Lock acquired, processing the job...
[2025-02-09 11:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:29:03] Production.INFO: ==21791== Lock acquired, processing the job...
[2025-02-09 11:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:29:03] Production.INFO: ==21793== Lock acquired, processing the job...
[2025-02-09 11:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:29:04] Production.INFO: Account Balance Start.
[2025-02-09 11:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:29:04] Production.INFO: 117
[2025-02-09 11:29:04] Production.INFO: count ==21
[2025-02-09 11:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:29:04] Production.INFO: count ==21
[2025-02-09 11:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436753') start
[2025-02-09 11:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436753') end
[2025-02-09 11:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:29:04] Production.INFO: 1
[2025-02-09 11:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:29:04] Production.INFO: ==21796== Releasing lock...
[2025-02-09 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:29:04] Production.INFO: ==21787== Releasing lock...
[2025-02-09 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:29:04] Production.ERROR: done
[2025-02-09 11:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:29:04] Production.INFO: Total Charge 0
[2025-02-09 11:29:04] Production.INFO: CreateAllLog End
[2025-02-09 11:29:04] Production.ERROR: done
[2025-02-09 11:29:04] Production.INFO: Account Balance End.
[2025-02-09 11:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:29:04] Production.INFO: ==21791== Releasing lock...
[2025-02-09 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:29:05
[end_date_ymd] => 2025-02-09 11:29:05
[RateCDR] => 1
)
[2025-02-09 11:29: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` >= '2025-02-09 08:29:05' and `end` < '2025-02-09 11:29: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 ,'')
[2025-02-09 11:29:12] Production.ERROR: CronJobId end10
[2025-02-09 11:29:12] Production.INFO: ==21789== Releasing lock...
[2025-02-09 11:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:29:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:29:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:29:14] Production.INFO: call_cost start
[2025-02-09 11:29:14] Production.INFO: call_cost end
[2025-02-09 11:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:29:15] Production.INFO: ==21785== Releasing lock...
[2025-02-09 11:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:29:19] Production.INFO: count ==475
[2025-02-09 11:29:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:29:05 - End Time 2025-02-09 11:29:05
[2025-02-09 11:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436756', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436756', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436756', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436756', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:29:19] Production.INFO: ProcessCDR(1,14436756,1,1,2)
[2025-02-09 11:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436756', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436756', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:29:22] Production.INFO: ==21793== Releasing lock...
[2025-02-09 11:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:29:22] Production.INFO: 31.75 MB #Memory Used#
[2025-02-09 16:30:01] Production.INFO: ==21860== Lock acquired, processing the job...
[2025-02-09 16:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:30:01] Production.INFO: neon service started
[2025-02-09 16:30:01] Production.INFO: neon service started
[2025-02-09 16:30:01] Production.INFO: ==21860== Releasing lock...
[2025-02-09 16:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:30:01] Production.INFO: ==21862== Lock acquired, processing the job...
[2025-02-09 11:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:30:02] Production.INFO: ==21862== Releasing lock...
[2025-02-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:30:02] Production.INFO: ==21864== Lock acquired, processing the job...
[2025-02-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:30:02] Production.INFO: ==21864== Releasing lock...
[2025-02-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:30:03] Production.INFO: ==21867== Lock acquired, processing the job...
[2025-02-09 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 11:30:03] Production.INFO: ==21873== Lock acquired, processing the job...
[2025-02-09 11:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:30:03] Production.INFO: ==21869== Lock acquired, processing the job...
[2025-02-09 11:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 11:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 11:30:03] Production.ERROR: CronJob PID - 21873
[2025-02-09 11:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 11:30:03] Production.ERROR: CronJob ID - 10
[2025-02-09 11:30:03] Production.ERROR: CronJob Last Run Time 2025-02-09 11:30:00
[2025-02-09 11:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 11:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 11:30:03] Production.INFO: ==21871== Lock acquired, processing the job...
[2025-02-09 11:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:30:03] Production.INFO: ==21875== Lock acquired, processing the job...
[2025-02-09 11:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 11:30:03] Production.INFO: ==21867== Releasing lock...
[2025-02-09 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 11:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 11:30:03] Production.INFO: ==21877== Lock acquired, processing the job...
[2025-02-09 11:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:30:03] Production.INFO: ==21881== Lock acquired, processing the job...
[2025-02-09 11:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:30:03] Production.INFO: Account Balance Start.
[2025-02-09 11:30:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:30:03] Production.INFO: 117
[2025-02-09 11:30:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:30:03] Production.INFO: ==21879== Lock acquired, processing the job...
[2025-02-09 11:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 11:30:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:30:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:30:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:30:03] Production.INFO: Total Charge 0
[2025-02-09 11:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:30:03] Production.INFO: CreateAllLog End
[2025-02-09 11:30:04] Production.INFO: count ==21
[2025-02-09 11:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:30:04] Production.INFO: count ==21
[2025-02-09 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436760') start
[2025-02-09 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436760') end
[2025-02-09 11:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:30:04] Production.INFO: 1
[2025-02-09 11:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:30:04] Production.INFO: ==21871== Releasing lock...
[2025-02-09 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:30:04] Production.INFO: ==21881== Releasing lock...
[2025-02-09 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:30:04] Production.ERROR: done
[2025-02-09 11:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:30:04] Production.ERROR: done
[2025-02-09 11:30:04] Production.ERROR: done
[2025-02-09 11:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 11:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436761', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 11:30:04] Production.INFO: Account Balance End.
[2025-02-09 11:30:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:30:04] Production.INFO: ==21875== Releasing lock...
[2025-02-09 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:30:05
[end_date_ymd] => 2025-02-09 11:30:05
[RateCDR] => 1
)
[2025-02-09 11:30: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` >= '2025-02-09 08:30:05' and `end` < '2025-02-09 11:30: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 ,'')
[2025-02-09 11:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436761', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 11:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 11:30:08] Production.INFO: ProcessCDR(1,14436761,1,1,2)
[2025-02-09 11:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436761,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436761,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:30:08] Production.INFO: ==21879== Releasing lock...
[2025-02-09 11:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 11:30:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 11:30:13] Production.ERROR: CronJobId end10
[2025-02-09 11:30:13] Production.INFO: ==21873== Releasing lock...
[2025-02-09 11:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:30:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:30:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:30:15] Production.INFO: call_cost start
[2025-02-09 11:30:15] Production.INFO: call_cost end
[2025-02-09 11:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:30:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:30:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:30:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:30:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:30:16] Production.INFO: ==21869== Releasing lock...
[2025-02-09 11:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:30:18] Production.INFO: count ==474
[2025-02-09 11:30:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:30:05 - End Time 2025-02-09 11:30:05
[2025-02-09 11:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436762', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436762', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436762', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436762', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:30:18] Production.INFO: ProcessCDR(1,14436762,1,1,2)
[2025-02-09 11:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436762', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436762', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:30:22] Production.INFO: ==21877== Releasing lock...
[2025-02-09 11:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:30:22] Production.INFO: 32 MB #Memory Used#
[2025-02-09 16:31:02] Production.INFO: ==21942== Lock acquired, processing the job...
[2025-02-09 16:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:31:02] Production.INFO: neon service started
[2025-02-09 16:31:02] Production.INFO: neon service started
[2025-02-09 16:31:02] Production.INFO: ==21942== Releasing lock...
[2025-02-09 16:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:31:02] Production.INFO: ==21946== Lock acquired, processing the job...
[2025-02-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:31:02] Production.INFO: ==21946== Releasing lock...
[2025-02-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:31:02] Production.INFO: ==21944== Lock acquired, processing the job...
[2025-02-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:31:02] Production.INFO: ==21944== Releasing lock...
[2025-02-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:31:03] Production.INFO: ==21950== Lock acquired, processing the job...
[2025-02-09 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:31:03] Production.INFO: ==21948== Lock acquired, processing the job...
[2025-02-09 11:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:31:03] Production.INFO: ==21957== Lock acquired, processing the job...
[2025-02-09 11:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:31:03] Production.INFO: ==21952== Lock acquired, processing the job...
[2025-02-09 11:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:31:03] Production.INFO: ==21950== Releasing lock...
[2025-02-09 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:31:03] Production.INFO: ==21954== Lock acquired, processing the job...
[2025-02-09 11:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:31:04] Production.INFO: Account Balance Start.
[2025-02-09 11:31:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:31:04] Production.INFO: 117
[2025-02-09 11:31:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:31:04] Production.INFO: ==21959== Lock acquired, processing the job...
[2025-02-09 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:31:04] Production.ERROR: done
[2025-02-09 11:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:31:04] Production.INFO: Total Charge 0
[2025-02-09 11:31:04] Production.INFO: CreateAllLog End
[2025-02-09 11:31:04] Production.ERROR: done
[2025-02-09 11:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:31:04] Production.INFO: count ==21
[2025-02-09 11:31:04] Production.INFO: Account Balance End.
[2025-02-09 11:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:31:04] Production.INFO: count ==21
[2025-02-09 11:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:31:04] Production.INFO: ==21954== Releasing lock...
[2025-02-09 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436766') start
[2025-02-09 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436766') end
[2025-02-09 11:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:31:04] Production.INFO: 1
[2025-02-09 11:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:31:04] Production.INFO: ==21959== Releasing lock...
[2025-02-09 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:31:05
[end_date_ymd] => 2025-02-09 11:31:05
[RateCDR] => 1
)
[2025-02-09 11:31: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` >= '2025-02-09 08:31:05' and `end` < '2025-02-09 11:31: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 ,'')
[2025-02-09 11:31:12] Production.ERROR: CronJobId end10
[2025-02-09 11:31:12] Production.INFO: ==21952== Releasing lock...
[2025-02-09 11:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:31:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:31:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:31:14] Production.INFO: call_cost start
[2025-02-09 11:31:14] Production.INFO: call_cost end
[2025-02-09 11:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:31:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:31:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:31:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:31:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:31:15] Production.INFO: ==21948== Releasing lock...
[2025-02-09 11:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:31:18] Production.INFO: count ==492
[2025-02-09 11:31:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:31:05 - End Time 2025-02-09 11:31:05
[2025-02-09 11:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436767', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436767', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436767', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436767', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:31:18] Production.INFO: ProcessCDR(1,14436767,1,1,2)
[2025-02-09 11:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436767', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436767', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:31:21] Production.INFO: ==21957== Releasing lock...
[2025-02-09 11:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:31:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 16:32:01] Production.INFO: ==22016== Lock acquired, processing the job...
[2025-02-09 16:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:32:01] Production.INFO: neon service started
[2025-02-09 16:32:01] Production.INFO: neon service started
[2025-02-09 16:32:01] Production.INFO: ==22016== Releasing lock...
[2025-02-09 16:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:32:01] Production.INFO: ==22018== Lock acquired, processing the job...
[2025-02-09 11:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:32:02] Production.INFO: ==22018== Releasing lock...
[2025-02-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:32:02] Production.INFO: ==22020== Lock acquired, processing the job...
[2025-02-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:32:02] Production.INFO: ==22020== Releasing lock...
[2025-02-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:32:03] Production.INFO: ==22030== Lock acquired, processing the job...
[2025-02-09 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:32:03] Production.INFO: ==22032== Lock acquired, processing the job...
[2025-02-09 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:32:03] Production.INFO: ==22022== Lock acquired, processing the job...
[2025-02-09 11:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:32:03] Production.INFO: count ==21
[2025-02-09 11:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:32:03] Production.INFO: count ==21
[2025-02-09 11:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436768') start
[2025-02-09 11:32:03] Production.INFO: ==22024== Lock acquired, processing the job...
[2025-02-09 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:32:03] Production.INFO: ==22026== Lock acquired, processing the job...
[2025-02-09 11:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436768') end
[2025-02-09 11:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:32:03] Production.INFO: 1
[2025-02-09 11:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:32:03] Production.ERROR: done
[2025-02-09 11:32:03] Production.INFO: ==22028== Lock acquired, processing the job...
[2025-02-09 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:32:03] Production.INFO: ==22032== Releasing lock...
[2025-02-09 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:32:03] Production.INFO: Account Balance Start.
[2025-02-09 11:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:32:03] Production.INFO: 117
[2025-02-09 11:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:32:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:32:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:32:03] Production.ERROR: done
[2025-02-09 11:32:03] Production.INFO: Total Charge 0
[2025-02-09 11:32:03] Production.INFO: ==22024== Releasing lock...
[2025-02-09 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:32:03] Production.INFO: CreateAllLog End
[2025-02-09 11:32:04] Production.INFO: Account Balance End.
[2025-02-09 11:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:32:04] Production.INFO: ==22028== Releasing lock...
[2025-02-09 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:32:04
[end_date_ymd] => 2025-02-09 11:32:04
[RateCDR] => 1
)
[2025-02-09 11:32:04] 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-02-09 08:32:04' and `end` < '2025-02-09 11:32:04'
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-02-09 11:32:12] Production.ERROR: CronJobId end10
[2025-02-09 11:32:12] Production.INFO: ==22026== Releasing lock...
[2025-02-09 11:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:32:14] Production.INFO: call_cost start
[2025-02-09 11:32:14] Production.INFO: call_cost end
[2025-02-09 11:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:32:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:32:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:32:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:32:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:32:15] Production.INFO: ==22022== Releasing lock...
[2025-02-09 11:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:32:17] Production.INFO: count ==495
[2025-02-09 11:32:17] Production.ERROR: pbx CDR StartTime 2025-02-09 08:32:04 - End Time 2025-02-09 11:32:04
[2025-02-09 11:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436772', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436772', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436772', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436772', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:32:18] Production.INFO: ProcessCDR(1,14436772,1,1,2)
[2025-02-09 11:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436772', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436772', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:32:21] Production.INFO: ==22030== Releasing lock...
[2025-02-09 11:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:32:21] Production.INFO: 31.25 MB #Memory Used#
[2025-02-09 16:33:02] Production.INFO: ==22102== Lock acquired, processing the job...
[2025-02-09 16:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:33:02] Production.INFO: neon service started
[2025-02-09 16:33:02] Production.INFO: neon service started
[2025-02-09 16:33:02] Production.INFO: ==22102== Releasing lock...
[2025-02-09 16:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:33:02] Production.INFO: ==22105== Lock acquired, processing the job...
[2025-02-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:33:02] Production.INFO: ==22105== Releasing lock...
[2025-02-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:33:03] Production.INFO: ==22107== Lock acquired, processing the job...
[2025-02-09 16:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:33:03] Production.INFO: ==22107== Releasing lock...
[2025-02-09 16:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:33:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:33:03] Production.INFO: ==22109== Lock acquired, processing the job...
[2025-02-09 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:33:03] Production.INFO: ==22111== Lock acquired, processing the job...
[2025-02-09 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:33:03] Production.INFO: ==22115== Lock acquired, processing the job...
[2025-02-09 11:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:33:03] Production.INFO: Account Balance Start.
[2025-02-09 11:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:33:03] Production.INFO: 117
[2025-02-09 11:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:33:03] Production.INFO: Total Charge 0
[2025-02-09 11:33:03] Production.INFO: CreateAllLog End
[2025-02-09 11:33:04] Production.INFO: ==22113== Lock acquired, processing the job...
[2025-02-09 11:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:33:04] Production.INFO: ==22111== Releasing lock...
[2025-02-09 11:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:33:04] Production.INFO: Account Balance End.
[2025-02-09 11:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:33:04] Production.INFO: ==22115== Releasing lock...
[2025-02-09 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:33:04] Production.INFO: ==22117== Lock acquired, processing the job...
[2025-02-09 11:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:33:04] Production.INFO: ==22119== Lock acquired, processing the job...
[2025-02-09 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:33:04] Production.INFO: count ==21
[2025-02-09 11:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:33:04] Production.INFO: count ==21
[2025-02-09 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436776') start
[2025-02-09 11:33:04] Production.ERROR: done
[2025-02-09 11:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:33:04] Production.ERROR: done
[2025-02-09 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436776') end
[2025-02-09 11:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:33:04] Production.INFO: 1
[2025-02-09 11:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:33:04] Production.INFO: ==22119== Releasing lock...
[2025-02-09 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:33:05
[end_date_ymd] => 2025-02-09 11:33:05
[RateCDR] => 1
)
[2025-02-09 11:33: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` >= '2025-02-09 08:33:05' and `end` < '2025-02-09 11:33: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 ,'')
[2025-02-09 11:33:12] Production.ERROR: CronJobId end10
[2025-02-09 11:33:12] Production.INFO: ==22113== Releasing lock...
[2025-02-09 11:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:33:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:33:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:33:14] Production.INFO: call_cost start
[2025-02-09 11:33:14] Production.INFO: call_cost end
[2025-02-09 11:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:33:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:33:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:33:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:33:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:33:14] Production.INFO: ==22109== Releasing lock...
[2025-02-09 11:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:33:18] Production.INFO: count ==496
[2025-02-09 11:33:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:33:05 - End Time 2025-02-09 11:33:05
[2025-02-09 11:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436777', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436777', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436777', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436777', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:33:18] Production.INFO: ProcessCDR(1,14436777,1,1,2)
[2025-02-09 11:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436777', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436777', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:33:23] Production.INFO: ==22117== Releasing lock...
[2025-02-09 11:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:33:23] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 16:34:01] Production.INFO: ==22178== Lock acquired, processing the job...
[2025-02-09 16:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:34:01] Production.INFO: neon service started
[2025-02-09 16:34:01] Production.INFO: neon service started
[2025-02-09 16:34:01] Production.INFO: ==22178== Releasing lock...
[2025-02-09 16:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:34:01] Production.INFO: ==22180== Lock acquired, processing the job...
[2025-02-09 11:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:34:02] Production.INFO: ==22180== Releasing lock...
[2025-02-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:34:02] Production.INFO: ==22182== Lock acquired, processing the job...
[2025-02-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:34:02] Production.INFO: ==22182== Releasing lock...
[2025-02-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:34:02] Production.INFO: ==22188== Lock acquired, processing the job...
[2025-02-09 11:34:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:34:03] Production.INFO: ==22186== Lock acquired, processing the job...
[2025-02-09 11:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:34:03] Production.INFO: ==22184== Lock acquired, processing the job...
[2025-02-09 11:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:34:03] Production.INFO: ==22190== Lock acquired, processing the job...
[2025-02-09 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:34:03] Production.INFO: ==22194== Lock acquired, processing the job...
[2025-02-09 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:34:04] Production.INFO: ==22192== Lock acquired, processing the job...
[2025-02-09 11:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:34:04] Production.INFO: Account Balance Start.
[2025-02-09 11:34:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:34:04] Production.INFO: 117
[2025-02-09 11:34:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:34:04] Production.INFO: ==22186== Releasing lock...
[2025-02-09 11:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:34:04] Production.INFO: count ==21
[2025-02-09 11:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:34:04] Production.INFO: count ==21
[2025-02-09 11:34:04] Production.INFO: Total Charge 0
[2025-02-09 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436781') start
[2025-02-09 11:34:04] Production.INFO: CreateAllLog End
[2025-02-09 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436781') end
[2025-02-09 11:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:34:04] Production.INFO: 1
[2025-02-09 11:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:34:04] Production.ERROR: done
[2025-02-09 11:34:04] Production.INFO: ==22194== Releasing lock...
[2025-02-09 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:34:04] Production.INFO: Account Balance End.
[2025-02-09 11:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:34:04] Production.INFO: ==22190== Releasing lock...
[2025-02-09 11:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:34:04] Production.ERROR: done
[2025-02-09 11:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:34:05
[end_date_ymd] => 2025-02-09 11:34:05
[RateCDR] => 1
)
[2025-02-09 11:34: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` >= '2025-02-09 08:34:05' and `end` < '2025-02-09 11:34: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 ,'')
[2025-02-09 11:34:11] Production.ERROR: CronJobId end10
[2025-02-09 11:34:11] Production.INFO: ==22188== Releasing lock...
[2025-02-09 11:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:34:14] Production.INFO: call_cost start
[2025-02-09 11:34:14] Production.INFO: call_cost end
[2025-02-09 11:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:34:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:34:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:34:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:34:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:34:15] Production.INFO: ==22184== Releasing lock...
[2025-02-09 11:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:34:18] Production.INFO: count ==496
[2025-02-09 11:34:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:34:05 - End Time 2025-02-09 11:34:05
[2025-02-09 11:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436782', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436782', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436782', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436782', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:34:18] Production.INFO: ProcessCDR(1,14436782,1,1,2)
[2025-02-09 11:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436782', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436782', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:34:21] Production.INFO: ==22192== Releasing lock...
[2025-02-09 11:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:34:21] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 16:35:01] Production.INFO: ==22254== Lock acquired, processing the job...
[2025-02-09 16:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:35:01] Production.INFO: neon service started
[2025-02-09 16:35:01] Production.INFO: neon service started
[2025-02-09 16:35:01] Production.INFO: ==22254== Releasing lock...
[2025-02-09 16:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:35:02] Production.INFO: ==22258== Lock acquired, processing the job...
[2025-02-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:35:02] Production.INFO: ==22258== Releasing lock...
[2025-02-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:35:02] Production.INFO: ==22256== Lock acquired, processing the job...
[2025-02-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:35:02] Production.INFO: ==22256== Releasing lock...
[2025-02-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:35:03] Production.INFO: ==22264== Lock acquired, processing the job...
[2025-02-09 11:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:35:03] Production.INFO: ==22271== Lock acquired, processing the job...
[2025-02-09 11:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:35:03] Production.INFO: ==22262== Lock acquired, processing the job...
[2025-02-09 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:35:03] Production.INFO: ==22260== Lock acquired, processing the job...
[2025-02-09 11:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:35:03] Production.INFO: ==22266== Lock acquired, processing the job...
[2025-02-09 11:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:35:04] Production.INFO: ==22268== Lock acquired, processing the job...
[2025-02-09 11:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:35:04] Production.INFO: count ==21
[2025-02-09 11:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:35:04] Production.INFO: count ==21
[2025-02-09 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436783') start
[2025-02-09 11:35:04] Production.INFO: Account Balance Start.
[2025-02-09 11:35:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:35:04] Production.INFO: 117
[2025-02-09 11:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:35:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436783') end
[2025-02-09 11:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:35:04] Production.INFO: 1
[2025-02-09 11:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:35:04] Production.INFO: ==22271== Releasing lock...
[2025-02-09 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:35:04] Production.INFO: ==22262== Releasing lock...
[2025-02-09 11:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:35:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:35:04] Production.INFO: Total Charge 0
[2025-02-09 11:35:04] Production.INFO: CreateAllLog End
[2025-02-09 11:35:04] Production.INFO: Account Balance End.
[2025-02-09 11:35:04] Production.ERROR: done
[2025-02-09 11:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:35:04] Production.INFO: ==22266== Releasing lock...
[2025-02-09 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:35:04] Production.ERROR: done
[2025-02-09 11:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:35:05
[end_date_ymd] => 2025-02-09 11:35:05
[RateCDR] => 1
)
[2025-02-09 11:35: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` >= '2025-02-09 08:35:05' and `end` < '2025-02-09 11:35: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 ,'')
[2025-02-09 11:35:11] Production.ERROR: CronJobId end10
[2025-02-09 11:35:11] Production.INFO: ==22264== Releasing lock...
[2025-02-09 11:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:35:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:35:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:35:14] Production.INFO: call_cost start
[2025-02-09 11:35:14] Production.INFO: call_cost end
[2025-02-09 11:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:35:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:35:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:35:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:35:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:35:15] Production.INFO: ==22260== Releasing lock...
[2025-02-09 11:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:35:18] Production.INFO: count ==496
[2025-02-09 11:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:35:05 - End Time 2025-02-09 11:35:05
[2025-02-09 11:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436787', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436787', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436787', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436787', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:35:19] Production.INFO: ProcessCDR(1,14436787,1,1,2)
[2025-02-09 11:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436787', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436787', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:35:22] Production.INFO: ==22268== Releasing lock...
[2025-02-09 11:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:35:22] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 16:36:01] Production.INFO: ==22331== Lock acquired, processing the job...
[2025-02-09 16:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:36:01] Production.INFO: neon service started
[2025-02-09 16:36:01] Production.INFO: neon service started
[2025-02-09 16:36:01] Production.INFO: ==22331== Releasing lock...
[2025-02-09 16:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:36:02] Production.INFO: ==22333== Lock acquired, processing the job...
[2025-02-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:36:02] Production.INFO: ==22335== Lock acquired, processing the job...
[2025-02-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:36:02] Production.INFO: ==22335== Releasing lock...
[2025-02-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:36:02] Production.INFO: ==22333== Releasing lock...
[2025-02-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:36:03] Production.INFO: ==22340== Lock acquired, processing the job...
[2025-02-09 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:36:03] Production.INFO: ==22348== Lock acquired, processing the job...
[2025-02-09 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:36:03] Production.INFO: ==22338== Lock acquired, processing the job...
[2025-02-09 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:36:03] Production.INFO: ==22340== Releasing lock...
[2025-02-09 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:36:03] Production.INFO: ==22342== Lock acquired, processing the job...
[2025-02-09 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:36:03] Production.INFO: count ==21
[2025-02-09 11:36:03] Production.INFO: ==22344== Lock acquired, processing the job...
[2025-02-09 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:36:03] Production.INFO: ==22346== Lock acquired, processing the job...
[2025-02-09 11:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:36:03] Production.INFO: count ==21
[2025-02-09 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436789') start
[2025-02-09 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:36:03] Production.INFO: Account Balance Start.
[2025-02-09 11:36:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:36:03] Production.INFO: 117
[2025-02-09 11:36:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:36:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436789') end
[2025-02-09 11:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:36:03] Production.INFO: 1
[2025-02-09 11:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:36:03] Production.INFO: Total Charge 0
[2025-02-09 11:36:03] Production.INFO: CreateAllLog End
[2025-02-09 11:36:03] Production.INFO: ==22348== Releasing lock...
[2025-02-09 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:36:04] Production.ERROR: done
[2025-02-09 11:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:36:04] Production.ERROR: done
[2025-02-09 11:36:04] Production.INFO: Account Balance End.
[2025-02-09 11:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:36:04] Production.INFO: ==22344== Releasing lock...
[2025-02-09 11:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:36:05
[end_date_ymd] => 2025-02-09 11:36:05
[RateCDR] => 1
)
[2025-02-09 11:36: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` >= '2025-02-09 08:36:05' and `end` < '2025-02-09 11:36: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 ,'')
[2025-02-09 11:36:12] Production.ERROR: CronJobId end10
[2025-02-09 11:36:12] Production.INFO: ==22342== Releasing lock...
[2025-02-09 11:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:36:13] Production.INFO: call_cost start
[2025-02-09 11:36:13] Production.INFO: call_cost end
[2025-02-09 11:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:36:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:36:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:36:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:36:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:36:14] Production.INFO: ==22338== Releasing lock...
[2025-02-09 11:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:36:18] Production.INFO: count ==496
[2025-02-09 11:36:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:36:05 - End Time 2025-02-09 11:36:05
[2025-02-09 11:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436792', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436792', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436792', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436792', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:36:18] Production.INFO: ProcessCDR(1,14436792,1,1,2)
[2025-02-09 11:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436792', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436792', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:36:21] Production.INFO: ==22346== Releasing lock...
[2025-02-09 11:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:36:21] Production.INFO: 31.5 MB #Memory Used#
[2025-02-09 16:37:01] Production.INFO: ==22412== Lock acquired, processing the job...
[2025-02-09 16:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:37:01] Production.INFO: neon service started
[2025-02-09 16:37:01] Production.INFO: neon service started
[2025-02-09 16:37:01] Production.INFO: ==22412== Releasing lock...
[2025-02-09 16:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:37:02] Production.INFO: ==22414== Lock acquired, processing the job...
[2025-02-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:37:02] Production.INFO: ==22416== Lock acquired, processing the job...
[2025-02-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:37:02] Production.INFO: ==22416== Releasing lock...
[2025-02-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:37:02] Production.INFO: ==22414== Releasing lock...
[2025-02-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:37:03] Production.INFO: ==22419== Lock acquired, processing the job...
[2025-02-09 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:37:03] Production.INFO: ==22421== Lock acquired, processing the job...
[2025-02-09 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:37:03] Production.INFO: ==22423== Lock acquired, processing the job...
[2025-02-09 11:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:37:04] Production.INFO: ==22425== Lock acquired, processing the job...
[2025-02-09 11:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:37:04] Production.INFO: ==22427== Lock acquired, processing the job...
[2025-02-09 11:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:37:04] Production.INFO: Account Balance Start.
[2025-02-09 11:37:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:37:04] Production.INFO: 117
[2025-02-09 11:37:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:37:04] Production.INFO: ==22421== Releasing lock...
[2025-02-09 11:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:37:04] Production.INFO: ==22429== Lock acquired, processing the job...
[2025-02-09 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:37:04] Production.INFO: Total Charge 0
[2025-02-09 11:37:04] Production.INFO: CreateAllLog End
[2025-02-09 11:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:37:04] Production.INFO: count ==21
[2025-02-09 11:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:37:04] Production.INFO: count ==21
[2025-02-09 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436796') start
[2025-02-09 11:37:04] Production.ERROR: done
[2025-02-09 11:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:37:04] Production.INFO: Account Balance End.
[2025-02-09 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436796') end
[2025-02-09 11:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:37:04] Production.INFO: 1
[2025-02-09 11:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:37:04] Production.ERROR: done
[2025-02-09 11:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:37:04] Production.INFO: ==22425== Releasing lock...
[2025-02-09 11:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:37:04] Production.INFO: ==22429== Releasing lock...
[2025-02-09 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:37:05
[end_date_ymd] => 2025-02-09 11:37:05
[RateCDR] => 1
)
[2025-02-09 11:37: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` >= '2025-02-09 08:37:05' and `end` < '2025-02-09 11:37: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 ,'')
[2025-02-09 11:37:12] Production.ERROR: CronJobId end10
[2025-02-09 11:37:12] Production.INFO: ==22423== Releasing lock...
[2025-02-09 11:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:37:15] Production.INFO: call_cost start
[2025-02-09 11:37:15] Production.INFO: call_cost end
[2025-02-09 11:37:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:37:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:37:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:37:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:37:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:37:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:37:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:37:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:37:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:37:16] Production.INFO: ==22419== Releasing lock...
[2025-02-09 11:37:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:37:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:37:18] Production.INFO: count ==503
[2025-02-09 11:37:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:37:05 - End Time 2025-02-09 11:37:05
[2025-02-09 11:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436797', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436797', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436797', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436797', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:37:18] Production.INFO: ProcessCDR(1,14436797,1,1,2)
[2025-02-09 11:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436797', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436797', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:37:22] Production.INFO: ==22427== Releasing lock...
[2025-02-09 11:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:37:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 16:38:02] Production.INFO: ==22495== Lock acquired, processing the job...
[2025-02-09 16:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:38:02] Production.INFO: neon service started
[2025-02-09 16:38:02] Production.INFO: neon service started
[2025-02-09 16:38:02] Production.INFO: ==22495== Releasing lock...
[2025-02-09 16:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:38:02] Production.INFO: ==22497== Lock acquired, processing the job...
[2025-02-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:38:03] Production.INFO: ==22499== Lock acquired, processing the job...
[2025-02-09 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:38:03] Production.INFO: ==22499== Releasing lock...
[2025-02-09 16:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:38:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:38:03] Production.INFO: ==22497== Releasing lock...
[2025-02-09 11:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:38:04] Production.INFO: ==22502== Lock acquired, processing the job...
[2025-02-09 11:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:38:04] Production.INFO: ==22504== Lock acquired, processing the job...
[2025-02-09 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:38:04] Production.INFO: ==22506== Lock acquired, processing the job...
[2025-02-09 11:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:38:04] Production.INFO: ==22508== Lock acquired, processing the job...
[2025-02-09 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:38:04] Production.INFO: ==22510== Lock acquired, processing the job...
[2025-02-09 11:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:38:04] Production.INFO: Account Balance Start.
[2025-02-09 11:38:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:38:04] Production.INFO: ==22512== Lock acquired, processing the job...
[2025-02-09 11:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:38:04] Production.INFO: ==22504== Releasing lock...
[2025-02-09 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:38:04] Production.INFO: 117
[2025-02-09 11:38:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:38:04] Production.INFO: Total Charge 0
[2025-02-09 11:38:04] Production.INFO: CreateAllLog End
[2025-02-09 11:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:38:04] Production.INFO: count ==21
[2025-02-09 11:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:38:05] Production.INFO: count ==21
[2025-02-09 11:38:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436801') start
[2025-02-09 11:38:05] Production.ERROR: done
[2025-02-09 11:38:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:38:05] Production.INFO: Account Balance End.
[2025-02-09 11:38:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:38:05] Production.INFO: ==22508== Releasing lock...
[2025-02-09 11:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:38:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436801') end
[2025-02-09 11:38:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:38:05] Production.INFO: 1
[2025-02-09 11:38:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:38:05] Production.INFO: ==22512== Releasing lock...
[2025-02-09 11:38:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:38:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:38:05] Production.ERROR: done
[2025-02-09 11:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:38:06
[end_date_ymd] => 2025-02-09 11:38:06
[RateCDR] => 1
)
[2025-02-09 11:38: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-02-09 08:38:06' and `end` < '2025-02-09 11:38: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-02-09 11:38:12] Production.ERROR: CronJobId end10
[2025-02-09 11:38:12] Production.INFO: ==22506== Releasing lock...
[2025-02-09 11:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:38:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:38:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:38:15] Production.INFO: call_cost start
[2025-02-09 11:38:15] Production.INFO: call_cost end
[2025-02-09 11:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:38:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:38:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:38:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:38:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:38:16] Production.INFO: ==22502== Releasing lock...
[2025-02-09 11:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:38:19] Production.INFO: count ==503
[2025-02-09 11:38:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:38:06 - End Time 2025-02-09 11:38:06
[2025-02-09 11:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436802', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436802', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436802', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436802', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:38:19] Production.INFO: ProcessCDR(1,14436802,1,1,2)
[2025-02-09 11:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436802', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436802', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:38:22] Production.INFO: ==22510== Releasing lock...
[2025-02-09 11:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:38:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 16:39:01] Production.INFO: ==22575== Lock acquired, processing the job...
[2025-02-09 16:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:39:01] Production.INFO: neon service started
[2025-02-09 16:39:01] Production.INFO: neon service started
[2025-02-09 16:39:01] Production.INFO: ==22575== Releasing lock...
[2025-02-09 16:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:39:02] Production.INFO: ==22577== Lock acquired, processing the job...
[2025-02-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:39:02] Production.INFO: ==22577== Releasing lock...
[2025-02-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:39:02] Production.INFO: ==22579== Lock acquired, processing the job...
[2025-02-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:39:02] Production.INFO: ==22579== Releasing lock...
[2025-02-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:39:03] Production.INFO: ==22582== Lock acquired, processing the job...
[2025-02-09 11:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:39:03] Production.INFO: ==22586== Lock acquired, processing the job...
[2025-02-09 11:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:39:03] Production.INFO: ==22592== Lock acquired, processing the job...
[2025-02-09 11:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:39:03] Production.INFO: count ==21
[2025-02-09 11:39:03] Production.INFO: ==22584== Lock acquired, processing the job...
[2025-02-09 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:39:03] Production.INFO: count ==21
[2025-02-09 11:39:03] Production.INFO: ==22588== Lock acquired, processing the job...
[2025-02-09 11:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436804') start
[2025-02-09 11:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436804') end
[2025-02-09 11:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:39:03] Production.INFO: 1
[2025-02-09 11:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:39:03] Production.INFO: Account Balance Start.
[2025-02-09 11:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:39:03] Production.INFO: 117
[2025-02-09 11:39:03] Production.INFO: ==22590== Lock acquired, processing the job...
[2025-02-09 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:39:04] Production.INFO: ==22592== Releasing lock...
[2025-02-09 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:39:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:39:04] Production.INFO: Total Charge 0
[2025-02-09 11:39:04] Production.INFO: CreateAllLog End
[2025-02-09 11:39:04] Production.INFO: ==22584== Releasing lock...
[2025-02-09 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:39:04] Production.INFO: Account Balance End.
[2025-02-09 11:39:04] Production.ERROR: done
[2025-02-09 11:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:39:04] Production.INFO: ==22588== Releasing lock...
[2025-02-09 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:39:04] Production.ERROR: done
[2025-02-09 11:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:39:05
[end_date_ymd] => 2025-02-09 11:39:05
[RateCDR] => 1
)
[2025-02-09 11:39: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` >= '2025-02-09 08:39:05' and `end` < '2025-02-09 11:39: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 ,'')
[2025-02-09 11:39:12] Production.ERROR: CronJobId end10
[2025-02-09 11:39:12] Production.INFO: ==22586== Releasing lock...
[2025-02-09 11:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:39:14] Production.INFO: call_cost start
[2025-02-09 11:39:14] Production.INFO: call_cost end
[2025-02-09 11:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:39:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:39:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:39:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:39:15] Production.INFO: ==22582== Releasing lock...
[2025-02-09 11:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:39:18] Production.INFO: count ==503
[2025-02-09 11:39:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:39:05 - End Time 2025-02-09 11:39:05
[2025-02-09 11:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436807', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436807', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436807', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436807', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:39:19] Production.INFO: ProcessCDR(1,14436807,1,1,2)
[2025-02-09 11:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436807', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436807', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:39:23] Production.INFO: ==22590== Releasing lock...
[2025-02-09 11:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:39:23] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 16:40:02] Production.INFO: ==22660== Lock acquired, processing the job...
[2025-02-09 16:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:40:02] Production.INFO: neon service started
[2025-02-09 16:40:02] Production.INFO: neon service started
[2025-02-09 16:40:02] Production.INFO: ==22660== Releasing lock...
[2025-02-09 16:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:40:02] Production.INFO: ==22664== Lock acquired, processing the job...
[2025-02-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:40:02] Production.INFO: ==22664== Releasing lock...
[2025-02-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:40:02] Production.INFO: ==22662== Lock acquired, processing the job...
[2025-02-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:40:03] Production.INFO: ==22662== Releasing lock...
[2025-02-09 11:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:40:04] Production.INFO: ==22667== Lock acquired, processing the job...
[2025-02-09 11:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 11:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 11:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 11:40:04] Production.INFO: ==22667== Releasing lock...
[2025-02-09 11:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 11:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 11:40:04] Production.INFO: ==22669== Lock acquired, processing the job...
[2025-02-09 11:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:40:04] Production.INFO: ==22674== Lock acquired, processing the job...
[2025-02-09 11:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:40:04] Production.INFO: ==22671== Lock acquired, processing the job...
[2025-02-09 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:40:04] Production.INFO: ==22680== Lock acquired, processing the job...
[2025-02-09 11:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:40:04] Production.INFO: ==22676== Lock acquired, processing the job...
[2025-02-09 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:40:04] Production.INFO: ==22678== Lock acquired, processing the job...
[2025-02-09 11:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:40:04] Production.INFO: ==22682== Lock acquired, processing the job...
[2025-02-09 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:40:04] Production.INFO: ==22671== Releasing lock...
[2025-02-09 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:40:04] Production.INFO: Account Balance Start.
[2025-02-09 11:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:40:04] Production.INFO: 117
[2025-02-09 11:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:40:04] Production.INFO: count ==21
[2025-02-09 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:40:04] Production.ERROR: done
[2025-02-09 11:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:40:04] Production.INFO: count ==21
[2025-02-09 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436811') start
[2025-02-09 11:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 11:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436812', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 11:40:04] Production.INFO: Total Charge 0
[2025-02-09 11:40:05] Production.INFO: CreateAllLog End
[2025-02-09 11:40:05] Production.INFO: Account Balance End.
[2025-02-09 11:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436811') end
[2025-02-09 11:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:40:05] Production.INFO: 1
[2025-02-09 11:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 11:40:05] Production.INFO: ==22676== Releasing lock...
[2025-02-09 11:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:40:05] Production.INFO: ==22682== Releasing lock...
[2025-02-09 11:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:40:05] Production.ERROR: done
[2025-02-09 11:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:40:05] Production.ERROR: done
[2025-02-09 11:40:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:40:07
[end_date_ymd] => 2025-02-09 11:40:07
[RateCDR] => 1
)
[2025-02-09 11:40: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-02-09 08:40:07' and `end` < '2025-02-09 11:40: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-02-09 11:40:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436812', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 11:40:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 11:40:10] Production.INFO: ProcessCDR(1,14436812,1,1,2)
[2025-02-09 11:40:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436812,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:40:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436812,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:40:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:40:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:40:10] Production.INFO: ==22680== Releasing lock...
[2025-02-09 11:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 11:40:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 11:40:14] Production.ERROR: CronJobId end10
[2025-02-09 11:40:14] Production.INFO: ==22674== Releasing lock...
[2025-02-09 11:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:40:16] Production.INFO: call_cost start
[2025-02-09 11:40:16] Production.INFO: call_cost end
[2025-02-09 11:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:40:17] Production.INFO: ==22669== Releasing lock...
[2025-02-09 11:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:40:20] Production.INFO: count ==511
[2025-02-09 11:40:20] Production.ERROR: pbx CDR StartTime 2025-02-09 08:40:07 - End Time 2025-02-09 11:40:07
[2025-02-09 11:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436813', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436813', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436813', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436813', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:40:20] Production.INFO: ProcessCDR(1,14436813,1,1,2)
[2025-02-09 11:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436813', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436813', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:40:24] Production.INFO: ==22678== Releasing lock...
[2025-02-09 11:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:40:24] Production.INFO: 32 MB #Memory Used#
[2025-02-09 16:41:01] Production.INFO: ==22746== Lock acquired, processing the job...
[2025-02-09 16:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:41:01] Production.INFO: neon service started
[2025-02-09 16:41:01] Production.INFO: neon service started
[2025-02-09 16:41:01] Production.INFO: ==22746== Releasing lock...
[2025-02-09 16:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:41:01] Production.INFO: ==22748== Lock acquired, processing the job...
[2025-02-09 11:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:41:02] Production.INFO: ==22748== Releasing lock...
[2025-02-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:41:02] Production.INFO: ==22750== Lock acquired, processing the job...
[2025-02-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:41:02] Production.INFO: ==22750== Releasing lock...
[2025-02-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:41:02] Production.INFO: ==22760== Lock acquired, processing the job...
[2025-02-09 11:41:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:41:03] Production.INFO: ==22752== Lock acquired, processing the job...
[2025-02-09 11:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:41:03] Production.INFO: ==22762== Lock acquired, processing the job...
[2025-02-09 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:41:03] Production.INFO: ==22754== Lock acquired, processing the job...
[2025-02-09 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:41:03] Production.ERROR: done
[2025-02-09 11:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:41:03] Production.INFO: ==22756== Lock acquired, processing the job...
[2025-02-09 11:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:41:03] Production.INFO: ==22758== Lock acquired, processing the job...
[2025-02-09 11:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:41:03] Production.INFO: count ==21
[2025-02-09 11:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:41:03] Production.ERROR: done
[2025-02-09 11:41:03] Production.INFO: count ==21
[2025-02-09 11:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436814') start
[2025-02-09 11:41:03] Production.INFO: Account Balance Start.
[2025-02-09 11:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:41:03] Production.INFO: 117
[2025-02-09 11:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436814') end
[2025-02-09 11:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:41:03] Production.INFO: 1
[2025-02-09 11:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:41:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:41:03] Production.INFO: Total Charge 0
[2025-02-09 11:41:03] Production.INFO: ==22754== Releasing lock...
[2025-02-09 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:41:03] Production.INFO: CreateAllLog End
[2025-02-09 11:41:03] Production.INFO: ==22762== Releasing lock...
[2025-02-09 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:41:04] Production.INFO: Account Balance End.
[2025-02-09 11:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:41:04] Production.INFO: ==22758== Releasing lock...
[2025-02-09 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:41:04
[end_date_ymd] => 2025-02-09 11:41:04
[RateCDR] => 1
)
[2025-02-09 11:41:04] 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-02-09 08:41:04' and `end` < '2025-02-09 11:41:04'
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-02-09 11:41:10] Production.ERROR: CronJobId end10
[2025-02-09 11:41:10] Production.INFO: ==22756== Releasing lock...
[2025-02-09 11:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:41:14] Production.INFO: call_cost start
[2025-02-09 11:41:14] Production.INFO: call_cost end
[2025-02-09 11:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:41:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:41:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:41:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:41:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:41:15] Production.INFO: ==22752== Releasing lock...
[2025-02-09 11:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:41:20] Production.INFO: count ==532
[2025-02-09 11:41:20] Production.ERROR: pbx CDR StartTime 2025-02-09 08:41:04 - End Time 2025-02-09 11:41:04
[2025-02-09 11:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436818', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436818', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436818', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436818', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:41:20] Production.INFO: ProcessCDR(1,14436818,1,1,2)
[2025-02-09 11:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436818', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436818', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:41:23] Production.INFO: ==22760== Releasing lock...
[2025-02-09 11:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:41:23] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 16:42:02] Production.INFO: ==22866== Lock acquired, processing the job...
[2025-02-09 16:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:42:02] Production.INFO: neon service started
[2025-02-09 16:42:02] Production.INFO: neon service started
[2025-02-09 16:42:02] Production.INFO: ==22866== Releasing lock...
[2025-02-09 16:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:42:02] Production.INFO: ==22868== Lock acquired, processing the job...
[2025-02-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:42:02] Production.INFO: ==22868== Releasing lock...
[2025-02-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:42:03] Production.INFO: ==22870== Lock acquired, processing the job...
[2025-02-09 16:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:42:03] Production.INFO: ==22870== Releasing lock...
[2025-02-09 16:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:42:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:42:03] Production.INFO: ==22878== Lock acquired, processing the job...
[2025-02-09 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:42:03] Production.INFO: ==22883== Lock acquired, processing the job...
[2025-02-09 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:42:03] Production.INFO: Account Balance Start.
[2025-02-09 11:42:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:42:03] Production.INFO: 117
[2025-02-09 11:42:03] Production.INFO: ==22872== Lock acquired, processing the job...
[2025-02-09 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:42:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:42:03] Production.INFO: ==22881== Lock acquired, processing the job...
[2025-02-09 11:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:42:03] Production.INFO: ==22874== Lock acquired, processing the job...
[2025-02-09 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:42:03] Production.INFO: ==22876== Lock acquired, processing the job...
[2025-02-09 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:42:04] Production.INFO: count ==21
[2025-02-09 11:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:42:04] Production.INFO: count ==21
[2025-02-09 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436820') start
[2025-02-09 11:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:42:04] Production.INFO: Total Charge 0
[2025-02-09 11:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:42:04] Production.INFO: CreateAllLog End
[2025-02-09 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436820') end
[2025-02-09 11:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:42:04] Production.INFO: 1
[2025-02-09 11:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:42:04] Production.INFO: ==22883== Releasing lock...
[2025-02-09 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:42:04] Production.INFO: ==22874== Releasing lock...
[2025-02-09 11:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:42:04] Production.INFO: Account Balance End.
[2025-02-09 11:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:42:04] Production.INFO: ==22878== Releasing lock...
[2025-02-09 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:42:04] Production.ERROR: done
[2025-02-09 11:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:42:04] Production.ERROR: done
[2025-02-09 11:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:42:05
[end_date_ymd] => 2025-02-09 11:42:05
[RateCDR] => 1
)
[2025-02-09 11:42: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` >= '2025-02-09 08:42:05' and `end` < '2025-02-09 11:42: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 ,'')
[2025-02-09 11:42:12] Production.ERROR: CronJobId end10
[2025-02-09 11:42:12] Production.INFO: ==22876== Releasing lock...
[2025-02-09 11:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:42:14] Production.INFO: call_cost start
[2025-02-09 11:42:14] Production.INFO: call_cost end
[2025-02-09 11:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:42:15] Production.INFO: ==22872== Releasing lock...
[2025-02-09 11:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:42:18] Production.INFO: count ==533
[2025-02-09 11:42:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:42:05 - End Time 2025-02-09 11:42:05
[2025-02-09 11:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436823', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436823', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436823', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436823', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:42:19] Production.INFO: ProcessCDR(1,14436823,1,1,2)
[2025-02-09 11:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436823', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436823', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:42:23] Production.INFO: ==22881== Releasing lock...
[2025-02-09 11:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:42:23] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 16:43:01] Production.INFO: ==22946== Lock acquired, processing the job...
[2025-02-09 16:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:43:01] Production.INFO: neon service started
[2025-02-09 16:43:01] Production.INFO: neon service started
[2025-02-09 16:43:01] Production.INFO: ==22946== Releasing lock...
[2025-02-09 16:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:43:02] Production.INFO: ==22948== Lock acquired, processing the job...
[2025-02-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:43:02] Production.INFO: ==22950== Lock acquired, processing the job...
[2025-02-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:43:02] Production.INFO: ==22948== Releasing lock...
[2025-02-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:43:02] Production.INFO: ==22950== Releasing lock...
[2025-02-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:43:03] Production.INFO: ==22955== Lock acquired, processing the job...
[2025-02-09 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:43:03] Production.INFO: ==22961== Lock acquired, processing the job...
[2025-02-09 11:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:43:03] Production.INFO: ==22953== Lock acquired, processing the job...
[2025-02-09 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:43:03] Production.INFO: ==22959== Lock acquired, processing the job...
[2025-02-09 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:43:03] Production.INFO: ==22963== Lock acquired, processing the job...
[2025-02-09 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:43:03] Production.INFO: ==22957== Lock acquired, processing the job...
[2025-02-09 11:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:43:03] Production.INFO: ==22955== Releasing lock...
[2025-02-09 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:43:03] Production.INFO: Account Balance Start.
[2025-02-09 11:43:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:43:03] Production.INFO: 117
[2025-02-09 11:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:43:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:43:03] Production.INFO: count ==21
[2025-02-09 11:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:43:03] Production.INFO: count ==21
[2025-02-09 11:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436826') start
[2025-02-09 11:43:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:43:03] Production.INFO: Total Charge 0
[2025-02-09 11:43:03] Production.INFO: CreateAllLog End
[2025-02-09 11:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436826') end
[2025-02-09 11:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:43:03] Production.INFO: 1
[2025-02-09 11:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:43:03] Production.ERROR: done
[2025-02-09 11:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:43:03] Production.INFO: ==22963== Releasing lock...
[2025-02-09 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:43:04] Production.INFO: Account Balance End.
[2025-02-09 11:43:04] Production.ERROR: done
[2025-02-09 11:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:43:04] Production.INFO: ==22959== Releasing lock...
[2025-02-09 11:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:43:05
[end_date_ymd] => 2025-02-09 11:43:05
[RateCDR] => 1
)
[2025-02-09 11:43: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` >= '2025-02-09 08:43:05' and `end` < '2025-02-09 11:43: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 ,'')
[2025-02-09 11:43:11] Production.ERROR: CronJobId end10
[2025-02-09 11:43:11] Production.INFO: ==22957== Releasing lock...
[2025-02-09 11:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:43:14] Production.INFO: call_cost start
[2025-02-09 11:43:14] Production.INFO: call_cost end
[2025-02-09 11:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:43:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:43:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:43:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:43:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:43:15] Production.INFO: ==22953== Releasing lock...
[2025-02-09 11:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:43:17] Production.INFO: count ==539
[2025-02-09 11:43:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:43:05 - End Time 2025-02-09 11:43:05
[2025-02-09 11:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436828', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436828', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436828', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436828', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:43:18] Production.INFO: ProcessCDR(1,14436828,1,1,2)
[2025-02-09 11:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436828', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436828', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:43:22] Production.INFO: ==22961== Releasing lock...
[2025-02-09 11:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:43:22] Production.INFO: 32 MB #Memory Used#
[2025-02-09 16:44:02] Production.INFO: ==23034== Lock acquired, processing the job...
[2025-02-09 16:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:44:02] Production.INFO: neon service started
[2025-02-09 16:44:02] Production.INFO: neon service started
[2025-02-09 16:44:02] Production.INFO: ==23034== Releasing lock...
[2025-02-09 16:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:44:02] Production.INFO: ==23037== Lock acquired, processing the job...
[2025-02-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:44:02] Production.INFO: ==23037== Releasing lock...
[2025-02-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:44:02] Production.INFO: ==23039== Lock acquired, processing the job...
[2025-02-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:44:02] Production.INFO: ==23039== Releasing lock...
[2025-02-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:44:03] Production.INFO: ==23041== Lock acquired, processing the job...
[2025-02-09 11:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:44:03] Production.INFO: ==23047== Lock acquired, processing the job...
[2025-02-09 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:44:03] Production.INFO: ==23051== Lock acquired, processing the job...
[2025-02-09 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:44:03] Production.INFO: ==23043== Lock acquired, processing the job...
[2025-02-09 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:44:03] Production.INFO: ==23045== Lock acquired, processing the job...
[2025-02-09 11:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:44:03] Production.INFO: Account Balance Start.
[2025-02-09 11:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:44:03] Production.INFO: 117
[2025-02-09 11:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:44:03] Production.INFO: ==23049== Lock acquired, processing the job...
[2025-02-09 11:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:44:04] Production.INFO: count ==21
[2025-02-09 11:44:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:44:04] Production.INFO: count ==21
[2025-02-09 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436829') start
[2025-02-09 11:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:44:04] Production.INFO: Total Charge 0
[2025-02-09 11:44:04] Production.INFO: CreateAllLog End
[2025-02-09 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436829') end
[2025-02-09 11:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:44:04] Production.INFO: 1
[2025-02-09 11:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:44:04] Production.INFO: ==23051== Releasing lock...
[2025-02-09 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:44:04] Production.INFO: Account Balance End.
[2025-02-09 11:44:04] Production.INFO: ==23043== Releasing lock...
[2025-02-09 11:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:44:04] Production.INFO: ==23047== Releasing lock...
[2025-02-09 11:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:44:04] Production.ERROR: done
[2025-02-09 11:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:44:05] Production.ERROR: done
[2025-02-09 11:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:44:05
[end_date_ymd] => 2025-02-09 11:44:05
[RateCDR] => 1
)
[2025-02-09 11:44: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` >= '2025-02-09 08:44:05' and `end` < '2025-02-09 11:44: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 ,'')
[2025-02-09 11:44:12] Production.ERROR: CronJobId end10
[2025-02-09 11:44:12] Production.INFO: ==23045== Releasing lock...
[2025-02-09 11:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:44:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:44:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:44:15] Production.INFO: call_cost start
[2025-02-09 11:44:15] Production.INFO: call_cost end
[2025-02-09 11:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:44:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:44:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:44:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:44:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:44:15] Production.INFO: ==23041== Releasing lock...
[2025-02-09 11:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:44:18] Production.INFO: count ==546
[2025-02-09 11:44:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:44:05 - End Time 2025-02-09 11:44:05
[2025-02-09 11:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436833', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436833', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436833', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436833', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:44:18] Production.INFO: ProcessCDR(1,14436833,1,1,2)
[2025-02-09 11:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436833', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436833', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:44:22] Production.INFO: ==23049== Releasing lock...
[2025-02-09 11:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:44:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 16:45:01] Production.INFO: ==23117== Lock acquired, processing the job...
[2025-02-09 16:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:45:01] Production.INFO: neon service started
[2025-02-09 16:45:01] Production.INFO: neon service started
[2025-02-09 16:45:01] Production.INFO: ==23117== Releasing lock...
[2025-02-09 16:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:45:01] Production.INFO: ==23119== Lock acquired, processing the job...
[2025-02-09 11:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:45:02] Production.INFO: ==23119== Releasing lock...
[2025-02-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:45:02] Production.INFO: ==23121== Lock acquired, processing the job...
[2025-02-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:45:02] Production.INFO: ==23121== Releasing lock...
[2025-02-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:45:03] Production.INFO: ==23123== Lock acquired, processing the job...
[2025-02-09 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:45:03] Production.INFO: ==23129== Lock acquired, processing the job...
[2025-02-09 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:45:03] Production.INFO: ==23125== Lock acquired, processing the job...
[2025-02-09 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:45:03] Production.INFO: ==23127== Lock acquired, processing the job...
[2025-02-09 11:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:45:03] Production.INFO: ==23134== Lock acquired, processing the job...
[2025-02-09 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:45:03] Production.INFO: Account Balance Start.
[2025-02-09 11:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:45:03] Production.INFO: 117
[2025-02-09 11:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:45:03] Production.INFO: ==23131== Lock acquired, processing the job...
[2025-02-09 11:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:45:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:45:03] Production.INFO: Total Charge 0
[2025-02-09 11:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:45:03] Production.INFO: CreateAllLog End
[2025-02-09 11:45:03] Production.INFO: count ==21
[2025-02-09 11:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:45:03] Production.INFO: count ==21
[2025-02-09 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436837') start
[2025-02-09 11:45:03] Production.INFO: ==23125== Releasing lock...
[2025-02-09 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:45:03] Production.INFO: Account Balance End.
[2025-02-09 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436837') end
[2025-02-09 11:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:45:03] Production.INFO: 1
[2025-02-09 11:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:45:03] Production.ERROR: done
[2025-02-09 11:45:03] Production.INFO: ==23134== Releasing lock...
[2025-02-09 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:45:03] Production.ERROR: CronJobId end 12
[2025-02-09 11:45:03] Production.INFO: ==23129== Releasing lock...
[2025-02-09 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:45:04] Production.ERROR: done
[2025-02-09 11:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:45:05
[end_date_ymd] => 2025-02-09 11:45:05
[RateCDR] => 1
)
[2025-02-09 11:45: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` >= '2025-02-09 08:45:05' and `end` < '2025-02-09 11:45: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 ,'')
[2025-02-09 11:45:12] Production.ERROR: CronJobId end10
[2025-02-09 11:45:12] Production.INFO: ==23127== Releasing lock...
[2025-02-09 11:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:45:13] Production.INFO: call_cost start
[2025-02-09 11:45:13] Production.INFO: call_cost end
[2025-02-09 11:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:45:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:45:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:45:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:45:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:45:14] Production.INFO: ==23123== Releasing lock...
[2025-02-09 11:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:45:18] Production.INFO: count ==547
[2025-02-09 11:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:45:05 - End Time 2025-02-09 11:45:05
[2025-02-09 11:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436838', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436838', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436838', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436838', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:45:18] Production.INFO: ProcessCDR(1,14436838,1,1,2)
[2025-02-09 11:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436838', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436838', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:45:21] Production.INFO: ==23131== Releasing lock...
[2025-02-09 11:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:45:21] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 16:46:01] Production.INFO: ==23191== Lock acquired, processing the job...
[2025-02-09 16:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:46:01] Production.INFO: neon service started
[2025-02-09 16:46:01] Production.INFO: neon service started
[2025-02-09 16:46:01] Production.INFO: ==23191== Releasing lock...
[2025-02-09 16:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:46:02] Production.INFO: ==23193== Lock acquired, processing the job...
[2025-02-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:46:02] Production.INFO: ==23195== Lock acquired, processing the job...
[2025-02-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:46:02] Production.INFO: ==23195== Releasing lock...
[2025-02-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:46:02] Production.INFO: ==23193== Releasing lock...
[2025-02-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:46:03] Production.INFO: ==23200== Lock acquired, processing the job...
[2025-02-09 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:46:03] Production.INFO: ==23202== Lock acquired, processing the job...
[2025-02-09 11:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:46:03] Production.INFO: ==23204== Lock acquired, processing the job...
[2025-02-09 11:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:46:03] Production.INFO: ==23198== Lock acquired, processing the job...
[2025-02-09 11:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:46:03] Production.INFO: Account Balance Start.
[2025-02-09 11:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:46:03] Production.INFO: 117
[2025-02-09 11:46:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:46:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:46:03] Production.INFO: ==23208== Lock acquired, processing the job...
[2025-02-09 11:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:46:03] Production.INFO: Total Charge 0
[2025-02-09 11:46:04] Production.INFO: ==23206== Lock acquired, processing the job...
[2025-02-09 11:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:46:04] Production.INFO: CreateAllLog End
[2025-02-09 11:46:04] Production.INFO: ==23200== Releasing lock...
[2025-02-09 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:46:04] Production.INFO: Account Balance End.
[2025-02-09 11:46:04] Production.INFO: count ==21
[2025-02-09 11:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:46:04] Production.INFO: ==23204== Releasing lock...
[2025-02-09 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:46:04] Production.INFO: count ==21
[2025-02-09 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436842') start
[2025-02-09 11:46:04] Production.ERROR: done
[2025-02-09 11:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436842') end
[2025-02-09 11:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:46:04] Production.INFO: 1
[2025-02-09 11:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:46:04] Production.INFO: ==23208== Releasing lock...
[2025-02-09 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:46:04] Production.ERROR: done
[2025-02-09 11:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:46:05
[end_date_ymd] => 2025-02-09 11:46:05
[RateCDR] => 1
)
[2025-02-09 11:46: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` >= '2025-02-09 08:46:05' and `end` < '2025-02-09 11:46: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 ,'')
[2025-02-09 11:46:11] Production.ERROR: CronJobId end10
[2025-02-09 11:46:11] Production.INFO: ==23202== Releasing lock...
[2025-02-09 11:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:46:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:46:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:46:14] Production.INFO: call_cost start
[2025-02-09 11:46:14] Production.INFO: call_cost end
[2025-02-09 11:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:46:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:46:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:46:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:46:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:46:14] Production.INFO: ==23198== Releasing lock...
[2025-02-09 11:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:46:18] Production.INFO: count ==550
[2025-02-09 11:46:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:46:05 - End Time 2025-02-09 11:46:05
[2025-02-09 11:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436843', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436843', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436843', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436843', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:46:18] Production.INFO: ProcessCDR(1,14436843,1,1,2)
[2025-02-09 11:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436843', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436843', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:46:21] Production.INFO: ==23206== Releasing lock...
[2025-02-09 11:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:46:21] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 16:47:01] Production.INFO: ==23268== Lock acquired, processing the job...
[2025-02-09 16:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:47:01] Production.INFO: neon service started
[2025-02-09 16:47:01] Production.INFO: neon service started
[2025-02-09 16:47:01] Production.INFO: ==23268== Releasing lock...
[2025-02-09 16:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:47:02] Production.INFO: ==23270== Lock acquired, processing the job...
[2025-02-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:47:02] Production.INFO: ==23272== Lock acquired, processing the job...
[2025-02-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:47:02] Production.INFO: ==23272== Releasing lock...
[2025-02-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:47:02] Production.INFO: ==23270== Releasing lock...
[2025-02-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:47:03] Production.INFO: ==23281== Lock acquired, processing the job...
[2025-02-09 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:47:03] Production.INFO: ==23285== Lock acquired, processing the job...
[2025-02-09 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:47:03] Production.INFO: Account Balance Start.
[2025-02-09 11:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:47:03] Production.INFO: 117
[2025-02-09 11:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:47:03] Production.INFO: ==23275== Lock acquired, processing the job...
[2025-02-09 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:47:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:47:03] Production.INFO: ==23277== Lock acquired, processing the job...
[2025-02-09 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:47:03] Production.INFO: ==23279== Lock acquired, processing the job...
[2025-02-09 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:47:03] Production.INFO: Total Charge 0
[2025-02-09 11:47:03] Production.INFO: ==23283== Lock acquired, processing the job...
[2025-02-09 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:47:03] Production.INFO: CreateAllLog End
[2025-02-09 11:47:03] Production.INFO: count ==21
[2025-02-09 11:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:47:03] Production.INFO: count ==21
[2025-02-09 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436845') start
[2025-02-09 11:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436845') end
[2025-02-09 11:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:47:03] Production.INFO: 1
[2025-02-09 11:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:47:03] Production.INFO: Account Balance End.
[2025-02-09 11:47:03] Production.ERROR: CronJobId end 12
[2025-02-09 11:47:03] Production.INFO: ==23285== Releasing lock...
[2025-02-09 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:47:03] Production.INFO: ==23281== Releasing lock...
[2025-02-09 11:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:47:03] Production.ERROR: done
[2025-02-09 11:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:47:03] Production.INFO: ==23277== Releasing lock...
[2025-02-09 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:47:04] Production.ERROR: done
[2025-02-09 11:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:47:05
[end_date_ymd] => 2025-02-09 11:47:05
[RateCDR] => 1
)
[2025-02-09 11:47: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` >= '2025-02-09 08:47:05' and `end` < '2025-02-09 11:47: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 ,'')
[2025-02-09 11:47:11] Production.ERROR: CronJobId end10
[2025-02-09 11:47:11] Production.INFO: ==23279== Releasing lock...
[2025-02-09 11:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:47:14] Production.INFO: call_cost start
[2025-02-09 11:47:14] Production.INFO: call_cost end
[2025-02-09 11:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:47:15] Production.INFO: ==23275== Releasing lock...
[2025-02-09 11:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:47:18] Production.INFO: count ==562
[2025-02-09 11:47:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:47:05 - End Time 2025-02-09 11:47:05
[2025-02-09 11:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436848', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436848', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436848', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436848', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:47:18] Production.INFO: ProcessCDR(1,14436848,1,1,2)
[2025-02-09 11:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436848', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436848', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:47:22] Production.INFO: ==23283== Releasing lock...
[2025-02-09 11:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:47:22] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 16:48:01] Production.INFO: ==23345== Lock acquired, processing the job...
[2025-02-09 16:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:48:01] Production.INFO: neon service started
[2025-02-09 16:48:01] Production.INFO: neon service started
[2025-02-09 16:48:01] Production.INFO: ==23345== Releasing lock...
[2025-02-09 16:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:48:02] Production.INFO: ==23347== Lock acquired, processing the job...
[2025-02-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:48:02] Production.INFO: ==23347== Releasing lock...
[2025-02-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:48:02] Production.INFO: ==23349== Lock acquired, processing the job...
[2025-02-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:48:02] Production.INFO: ==23349== Releasing lock...
[2025-02-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:48:03] Production.INFO: ==23360== Lock acquired, processing the job...
[2025-02-09 11:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:48:03] Production.INFO: ==23362== Lock acquired, processing the job...
[2025-02-09 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:48:03] Production.INFO: ==23354== Lock acquired, processing the job...
[2025-02-09 11:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:48:03] Production.INFO: ==23352== Lock acquired, processing the job...
[2025-02-09 11:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:48:03] Production.INFO: ==23356== Lock acquired, processing the job...
[2025-02-09 11:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:48:03] Production.INFO: ==23358== Lock acquired, processing the job...
[2025-02-09 11:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:48:03] Production.INFO: Account Balance Start.
[2025-02-09 11:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:48:03] Production.INFO: 117
[2025-02-09 11:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:48:03] Production.INFO: count ==21
[2025-02-09 11:48:03] Production.ERROR: done
[2025-02-09 11:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:48:03] Production.INFO: count ==21
[2025-02-09 11:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436849') start
[2025-02-09 11:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:48:03] Production.INFO: Total Charge 0
[2025-02-09 11:48:04] Production.INFO: CreateAllLog End
[2025-02-09 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436849') end
[2025-02-09 11:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:48:04] Production.INFO: 1
[2025-02-09 11:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:48:04] Production.INFO: ==23354== Releasing lock...
[2025-02-09 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:48:04] Production.ERROR: done
[2025-02-09 11:48:04] Production.INFO: ==23362== Releasing lock...
[2025-02-09 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:48:04] Production.INFO: Account Balance End.
[2025-02-09 11:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:48:04] Production.INFO: ==23358== Releasing lock...
[2025-02-09 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:48:05
[end_date_ymd] => 2025-02-09 11:48:05
[RateCDR] => 1
)
[2025-02-09 11:48: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` >= '2025-02-09 08:48:05' and `end` < '2025-02-09 11:48: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 ,'')
[2025-02-09 11:48:11] Production.ERROR: CronJobId end10
[2025-02-09 11:48:11] Production.INFO: ==23356== Releasing lock...
[2025-02-09 11:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:48:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:48:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:48:13] Production.INFO: call_cost start
[2025-02-09 11:48:13] Production.INFO: call_cost end
[2025-02-09 11:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:48:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:48:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:48:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:48:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:48:14] Production.INFO: ==23352== Releasing lock...
[2025-02-09 11:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:48:18] Production.INFO: count ==566
[2025-02-09 11:48:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:48:05 - End Time 2025-02-09 11:48:05
[2025-02-09 11:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436853', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436853', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436853', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436853', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:48:18] Production.INFO: ProcessCDR(1,14436853,1,1,2)
[2025-02-09 11:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436853', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436853', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:48:23] Production.INFO: ==23360== Releasing lock...
[2025-02-09 11:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:48:23] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 16:49:01] Production.INFO: ==23427== Lock acquired, processing the job...
[2025-02-09 16:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:49:01] Production.INFO: neon service started
[2025-02-09 16:49:01] Production.INFO: neon service started
[2025-02-09 16:49:01] Production.INFO: ==23427== Releasing lock...
[2025-02-09 16:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:49:01] Production.INFO: ==23429== Lock acquired, processing the job...
[2025-02-09 11:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:49:02] Production.INFO: ==23429== Releasing lock...
[2025-02-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:49:02] Production.INFO: ==23431== Lock acquired, processing the job...
[2025-02-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:49:02] Production.INFO: ==23431== Releasing lock...
[2025-02-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:49:02] Production.INFO: ==23433== Lock acquired, processing the job...
[2025-02-09 11:49:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:49:03] Production.INFO: ==23442== Lock acquired, processing the job...
[2025-02-09 11:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:49:03] Production.INFO: ==23435== Lock acquired, processing the job...
[2025-02-09 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:49:03] Production.INFO: ==23444== Lock acquired, processing the job...
[2025-02-09 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:49:03] Production.INFO: ==23437== Lock acquired, processing the job...
[2025-02-09 11:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:49:03] Production.INFO: ==23439== Lock acquired, processing the job...
[2025-02-09 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:49:03] Production.INFO: count ==21
[2025-02-09 11:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:49:03] Production.INFO: Account Balance Start.
[2025-02-09 11:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:49:03] Production.INFO: count ==21
[2025-02-09 11:49:03] Production.INFO: 117
[2025-02-09 11:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436856') start
[2025-02-09 11:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:49:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:49:03] Production.INFO: Total Charge 0
[2025-02-09 11:49:03] Production.INFO: CreateAllLog End
[2025-02-09 11:49:03] Production.INFO: ==23435== Releasing lock...
[2025-02-09 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:49:03] Production.ERROR: done
[2025-02-09 11:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436856') end
[2025-02-09 11:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:49:03] Production.INFO: 1
[2025-02-09 11:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:49:03] Production.INFO: ==23444== Releasing lock...
[2025-02-09 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:49:03] Production.ERROR: done
[2025-02-09 11:49:03] Production.INFO: Account Balance End.
[2025-02-09 11:49:03] Production.ERROR: CronJobId end 12
[2025-02-09 11:49:03] Production.INFO: ==23439== Releasing lock...
[2025-02-09 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:49:04
[end_date_ymd] => 2025-02-09 11:49:04
[RateCDR] => 1
)
[2025-02-09 11:49:04] 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-02-09 08:49:04' and `end` < '2025-02-09 11:49:04'
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-02-09 11:49:12] Production.ERROR: CronJobId end10
[2025-02-09 11:49:12] Production.INFO: ==23437== Releasing lock...
[2025-02-09 11:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:49:14] Production.INFO: call_cost start
[2025-02-09 11:49:14] Production.INFO: call_cost end
[2025-02-09 11:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:49:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:49:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:49:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:49:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:49:15] Production.INFO: ==23433== Releasing lock...
[2025-02-09 11:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:49:17] Production.INFO: count ==568
[2025-02-09 11:49:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:49:04 - End Time 2025-02-09 11:49:04
[2025-02-09 11:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436858', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436858', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436858', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436858', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:49:18] Production.INFO: ProcessCDR(1,14436858,1,1,2)
[2025-02-09 11:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436858', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436858', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:49:22] Production.INFO: ==23442== Releasing lock...
[2025-02-09 11:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:49:22] Production.INFO: 32.25 MB #Memory Used#
[2025-02-09 16:50:01] Production.INFO: ==23505== Lock acquired, processing the job...
[2025-02-09 16:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:50:01] Production.INFO: neon service started
[2025-02-09 16:50:01] Production.INFO: neon service started
[2025-02-09 16:50:01] Production.INFO: ==23505== Releasing lock...
[2025-02-09 16:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:50:02] Production.INFO: ==23507== Lock acquired, processing the job...
[2025-02-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:50:02] Production.INFO: ==23509== Lock acquired, processing the job...
[2025-02-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:50:02] Production.INFO: ==23509== Releasing lock...
[2025-02-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:50:02] Production.INFO: ==23507== Releasing lock...
[2025-02-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:50:03] Production.INFO: ==23512== Lock acquired, processing the job...
[2025-02-09 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 11:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 11:50:03] Production.INFO: ==23514== Lock acquired, processing the job...
[2025-02-09 11:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 11:50:03] Production.INFO: ==23512== Releasing lock...
[2025-02-09 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 11:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 11:50:03] Production.INFO: ==23516== Lock acquired, processing the job...
[2025-02-09 11:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:50:03] Production.INFO: ==23520== Lock acquired, processing the job...
[2025-02-09 11:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:50:03] Production.INFO: ==23518== Lock acquired, processing the job...
[2025-02-09 11:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:50:03] Production.INFO: ==23522== Lock acquired, processing the job...
[2025-02-09 11:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:50:03] Production.INFO: ==23524== Lock acquired, processing the job...
[2025-02-09 11:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 11:50:04] Production.INFO: Account Balance Start.
[2025-02-09 11:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:50:04] Production.INFO: 117
[2025-02-09 11:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:50:04] Production.INFO: ==23526== Lock acquired, processing the job...
[2025-02-09 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:50:04] Production.INFO: ==23516== Releasing lock...
[2025-02-09 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:50:04] Production.INFO: Total Charge 0
[2025-02-09 11:50:04] Production.INFO: CreateAllLog End
[2025-02-09 11:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:50:04] Production.INFO: count ==21
[2025-02-09 11:50:04] Production.ERROR: done
[2025-02-09 11:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:50:04] Production.INFO: count ==21
[2025-02-09 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436862') start
[2025-02-09 11:50:04] Production.ERROR: done
[2025-02-09 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436862') end
[2025-02-09 11:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:50:04] Production.INFO: 1
[2025-02-09 11:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:50:04] Production.INFO: Account Balance End.
[2025-02-09 11:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 11:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436863', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 11:50:04] Production.INFO: ==23526== Releasing lock...
[2025-02-09 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:50:04] Production.INFO: ==23520== Releasing lock...
[2025-02-09 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:50:04] Production.ERROR: done
[2025-02-09 11:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:50:06
[end_date_ymd] => 2025-02-09 11:50:06
[RateCDR] => 1
)
[2025-02-09 11:50: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-02-09 08:50:06' and `end` < '2025-02-09 11:50: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-02-09 11:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436863', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 11:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 11:50:09] Production.INFO: ProcessCDR(1,14436863,1,1,2)
[2025-02-09 11:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436863,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436863,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:50:10] Production.INFO: ==23524== Releasing lock...
[2025-02-09 11:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 11:50:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 11:50:14] Production.ERROR: CronJobId end10
[2025-02-09 11:50:14] Production.INFO: ==23518== Releasing lock...
[2025-02-09 11:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:50:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:50:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:50:16] Production.INFO: call_cost start
[2025-02-09 11:50:16] Production.INFO: call_cost end
[2025-02-09 11:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:50:17] Production.INFO: ==23514== Releasing lock...
[2025-02-09 11:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:50:19] Production.INFO: count ==574
[2025-02-09 11:50:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:50:06 - End Time 2025-02-09 11:50:06
[2025-02-09 11:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436864', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436864', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436864', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436864', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:50:19] Production.INFO: ProcessCDR(1,14436864,1,1,2)
[2025-02-09 11:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436864', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436864', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:50:22] Production.INFO: ==23522== Releasing lock...
[2025-02-09 11:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:50:22] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 16:51:02] Production.INFO: ==23592== Lock acquired, processing the job...
[2025-02-09 16:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:51:02] Production.INFO: neon service started
[2025-02-09 16:51:02] Production.INFO: neon service started
[2025-02-09 16:51:02] Production.INFO: ==23592== Releasing lock...
[2025-02-09 16:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:51:02] Production.INFO: ==23596== Lock acquired, processing the job...
[2025-02-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:51:02] Production.INFO: ==23596== Releasing lock...
[2025-02-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:51:02] Production.INFO: ==23594== Lock acquired, processing the job...
[2025-02-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:51:03] Production.INFO: ==23594== Releasing lock...
[2025-02-09 11:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:51:04] Production.INFO: ==23605== Lock acquired, processing the job...
[2025-02-09 11:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:51:04] Production.INFO: ==23609== Lock acquired, processing the job...
[2025-02-09 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:51:04] Production.INFO: ==23598== Lock acquired, processing the job...
[2025-02-09 11:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:51:04] Production.INFO: Account Balance Start.
[2025-02-09 11:51:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:51:04] Production.INFO: 117
[2025-02-09 11:51:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:51:04] Production.INFO: count ==21
[2025-02-09 11:51:04] Production.INFO: ==23600== Lock acquired, processing the job...
[2025-02-09 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:51:04] Production.INFO: ==23602== Lock acquired, processing the job...
[2025-02-09 11:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:51:04] Production.INFO: count ==21
[2025-02-09 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436866') start
[2025-02-09 11:51:04] Production.INFO: ==23607== Lock acquired, processing the job...
[2025-02-09 11:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:51:04] Production.INFO: Total Charge 0
[2025-02-09 11:51:04] Production.INFO: CreateAllLog End
[2025-02-09 11:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436866') end
[2025-02-09 11:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:51:04] Production.INFO: 1
[2025-02-09 11:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:51:04] Production.INFO: ==23609== Releasing lock...
[2025-02-09 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:51:04] Production.INFO: ==23600== Releasing lock...
[2025-02-09 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:51:04] Production.ERROR: done
[2025-02-09 11:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:51:04] Production.INFO: Account Balance End.
[2025-02-09 11:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:51:04] Production.INFO: ==23605== Releasing lock...
[2025-02-09 11:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:51:05] Production.ERROR: done
[2025-02-09 11:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:51:06
[end_date_ymd] => 2025-02-09 11:51:06
[RateCDR] => 1
)
[2025-02-09 11:51: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-02-09 08:51:06' and `end` < '2025-02-09 11:51: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-02-09 11:51:12] Production.ERROR: CronJobId end10
[2025-02-09 11:51:12] Production.INFO: ==23602== Releasing lock...
[2025-02-09 11:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:51:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:51:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:51:14] Production.INFO: call_cost start
[2025-02-09 11:51:14] Production.INFO: call_cost end
[2025-02-09 11:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:51:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:51:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:51:15] Production.INFO: ==23598== Releasing lock...
[2025-02-09 11:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:51:19] Production.INFO: count ==595
[2025-02-09 11:51:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:51:06 - End Time 2025-02-09 11:51:06
[2025-02-09 11:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436869', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436869', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436869', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436869', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:51:19] Production.INFO: ProcessCDR(1,14436869,1,1,2)
[2025-02-09 11:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436869', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436869', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:51:23] Production.INFO: ==23607== Releasing lock...
[2025-02-09 11:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:51:23] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 16:52:01] Production.INFO: ==23664== Lock acquired, processing the job...
[2025-02-09 16:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:52:01] Production.INFO: neon service started
[2025-02-09 16:52:01] Production.INFO: neon service started
[2025-02-09 16:52:01] Production.INFO: ==23664== Releasing lock...
[2025-02-09 16:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:52:02] Production.INFO: ==23666== Lock acquired, processing the job...
[2025-02-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:52:02] Production.INFO: ==23666== Releasing lock...
[2025-02-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:52:02] Production.INFO: ==23668== Lock acquired, processing the job...
[2025-02-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:52:02] Production.INFO: ==23668== Releasing lock...
[2025-02-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:52:03] Production.INFO: ==23674== Lock acquired, processing the job...
[2025-02-09 11:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:52:03] Production.INFO: ==23682== Lock acquired, processing the job...
[2025-02-09 11:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:52:03] Production.INFO: ==23670== Lock acquired, processing the job...
[2025-02-09 11:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:52:03] Production.INFO: ==23672== Lock acquired, processing the job...
[2025-02-09 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:52:03] Production.INFO: count ==21
[2025-02-09 11:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:52:03] Production.INFO: count ==21
[2025-02-09 11:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436870') start
[2025-02-09 11:52:03] Production.INFO: ==23680== Lock acquired, processing the job...
[2025-02-09 11:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:52:03] Production.INFO: ==23677== Lock acquired, processing the job...
[2025-02-09 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436870') end
[2025-02-09 11:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:52:03] Production.INFO: 1
[2025-02-09 11:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:52:03] Production.INFO: ==23682== Releasing lock...
[2025-02-09 11:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:52:03] Production.INFO: Account Balance Start.
[2025-02-09 11:52:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:52:03] Production.INFO: 117
[2025-02-09 11:52:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:52:04] Production.INFO: Total Charge 0
[2025-02-09 11:52:04] Production.INFO: CreateAllLog End
[2025-02-09 11:52:04] Production.INFO: ==23672== Releasing lock...
[2025-02-09 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:52:04] Production.ERROR: done
[2025-02-09 11:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:52:04] Production.INFO: Account Balance End.
[2025-02-09 11:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:52:04] Production.INFO: ==23677== Releasing lock...
[2025-02-09 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:52:04] Production.ERROR: done
[2025-02-09 11:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:52:05
[end_date_ymd] => 2025-02-09 11:52:05
[RateCDR] => 1
)
[2025-02-09 11:52: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` >= '2025-02-09 08:52:05' and `end` < '2025-02-09 11:52: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 ,'')
[2025-02-09 11:52:12] Production.ERROR: CronJobId end10
[2025-02-09 11:52:12] Production.INFO: ==23674== Releasing lock...
[2025-02-09 11:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:52:14] Production.INFO: call_cost start
[2025-02-09 11:52:14] Production.INFO: call_cost end
[2025-02-09 11:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:52:15] Production.INFO: ==23670== Releasing lock...
[2025-02-09 11:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:52:18] Production.INFO: count ==595
[2025-02-09 11:52:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:52:05 - End Time 2025-02-09 11:52:05
[2025-02-09 11:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436874', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436874', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436874', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436874', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:52:19] Production.INFO: ProcessCDR(1,14436874,1,1,2)
[2025-02-09 11:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436874', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436874', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:52:22] Production.INFO: ==23680== Releasing lock...
[2025-02-09 11:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:52:22] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 16:53:02] Production.INFO: ==23747== Lock acquired, processing the job...
[2025-02-09 16:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:53:02] Production.INFO: neon service started
[2025-02-09 16:53:02] Production.INFO: neon service started
[2025-02-09 16:53:02] Production.INFO: ==23747== Releasing lock...
[2025-02-09 16:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:53:02] Production.INFO: ==23749== Lock acquired, processing the job...
[2025-02-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:53:02] Production.INFO: ==23749== Releasing lock...
[2025-02-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:53:02] Production.INFO: ==23751== Lock acquired, processing the job...
[2025-02-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:53:02] Production.INFO: ==23751== Releasing lock...
[2025-02-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:53:03] Production.INFO: ==23757== Lock acquired, processing the job...
[2025-02-09 11:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:53:03] Production.INFO: ==23763== Lock acquired, processing the job...
[2025-02-09 11:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:53:03] Production.INFO: ==23753== Lock acquired, processing the job...
[2025-02-09 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:53:03] Production.INFO: ==23755== Lock acquired, processing the job...
[2025-02-09 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:53:03] Production.INFO: ==23759== Lock acquired, processing the job...
[2025-02-09 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:53:03] Production.INFO: count ==21
[2025-02-09 11:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:53:03] Production.INFO: count ==21
[2025-02-09 11:53:03] Production.INFO: ==23761== Lock acquired, processing the job...
[2025-02-09 11:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436875') start
[2025-02-09 11:53:04] Production.INFO: Account Balance Start.
[2025-02-09 11:53:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:53:04] Production.INFO: 117
[2025-02-09 11:53:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436875') end
[2025-02-09 11:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:53:04] Production.INFO: 1
[2025-02-09 11:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:53:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:53:04] Production.INFO: ==23763== Releasing lock...
[2025-02-09 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:53:04] Production.INFO: Total Charge 0
[2025-02-09 11:53:04] Production.INFO: CreateAllLog End
[2025-02-09 11:53:04] Production.ERROR: done
[2025-02-09 11:53:04] Production.INFO: ==23755== Releasing lock...
[2025-02-09 11:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:53:04] Production.INFO: Account Balance End.
[2025-02-09 11:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:53:04] Production.INFO: ==23759== Releasing lock...
[2025-02-09 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:53:04] Production.ERROR: done
[2025-02-09 11:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:53:05
[end_date_ymd] => 2025-02-09 11:53:05
[RateCDR] => 1
)
[2025-02-09 11:53: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` >= '2025-02-09 08:53:05' and `end` < '2025-02-09 11:53: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 ,'')
[2025-02-09 11:53:12] Production.ERROR: CronJobId end10
[2025-02-09 11:53:12] Production.INFO: ==23757== Releasing lock...
[2025-02-09 11:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:53:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:53:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:53:14] Production.INFO: call_cost start
[2025-02-09 11:53:14] Production.INFO: call_cost end
[2025-02-09 11:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:53:15] Production.INFO: ==23753== Releasing lock...
[2025-02-09 11:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:53:19] Production.INFO: count ==595
[2025-02-09 11:53:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:53:05 - End Time 2025-02-09 11:53:05
[2025-02-09 11:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436879', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436879', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436879', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436879', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:53:19] Production.INFO: ProcessCDR(1,14436879,1,1,2)
[2025-02-09 11:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436879', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436879', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:53:23] Production.INFO: ==23761== Releasing lock...
[2025-02-09 11:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:53:23] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 16:54:01] Production.INFO: ==23828== Lock acquired, processing the job...
[2025-02-09 16:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:54:01] Production.INFO: neon service started
[2025-02-09 16:54:01] Production.INFO: neon service started
[2025-02-09 16:54:01] Production.INFO: ==23828== Releasing lock...
[2025-02-09 16:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:54:02] Production.INFO: ==23830== Lock acquired, processing the job...
[2025-02-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:54:02] Production.INFO: ==23830== Releasing lock...
[2025-02-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:54:02] Production.INFO: ==23832== Lock acquired, processing the job...
[2025-02-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:54:02] Production.INFO: ==23832== Releasing lock...
[2025-02-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:54:03] Production.INFO: ==23839== Lock acquired, processing the job...
[2025-02-09 11:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:54:03] Production.INFO: ==23835== Lock acquired, processing the job...
[2025-02-09 11:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:54:03] Production.INFO: ==23837== Lock acquired, processing the job...
[2025-02-09 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:54:03] Production.INFO: ==23843== Lock acquired, processing the job...
[2025-02-09 11:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:54:03] Production.INFO: ==23841== Lock acquired, processing the job...
[2025-02-09 11:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:54:03] Production.INFO: ==23845== Lock acquired, processing the job...
[2025-02-09 11:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:54:03] Production.INFO: count ==21
[2025-02-09 11:54:03] Production.INFO: ==23837== Releasing lock...
[2025-02-09 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:54:03] Production.INFO: Account Balance Start.
[2025-02-09 11:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:54:03] Production.INFO: 117
[2025-02-09 11:54:03] Production.INFO: count ==21
[2025-02-09 11:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436882') start
[2025-02-09 11:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:54:03] Production.ERROR: done
[2025-02-09 11:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436882') end
[2025-02-09 11:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:54:03] Production.INFO: 1
[2025-02-09 11:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:54:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:54:03] Production.INFO: Total Charge 0
[2025-02-09 11:54:04] Production.INFO: CreateAllLog End
[2025-02-09 11:54:04] Production.INFO: ==23845== Releasing lock...
[2025-02-09 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:54:04] Production.ERROR: done
[2025-02-09 11:54:04] Production.INFO: Account Balance End.
[2025-02-09 11:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:54:04] Production.INFO: ==23841== Releasing lock...
[2025-02-09 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:54:04
[end_date_ymd] => 2025-02-09 11:54:04
[RateCDR] => 1
)
[2025-02-09 11:54:04] 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-02-09 08:54:04' and `end` < '2025-02-09 11:54:04'
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-02-09 11:54:12] Production.ERROR: CronJobId end10
[2025-02-09 11:54:12] Production.INFO: ==23839== Releasing lock...
[2025-02-09 11:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:54:14] Production.INFO: call_cost start
[2025-02-09 11:54:14] Production.INFO: call_cost end
[2025-02-09 11:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:54:15] Production.INFO: ==23835== Releasing lock...
[2025-02-09 11:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:54:17] Production.INFO: count ==596
[2025-02-09 11:54:17] Production.ERROR: pbx CDR StartTime 2025-02-09 08:54:04 - End Time 2025-02-09 11:54:04
[2025-02-09 11:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436884', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436884', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436884', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436884', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:54:17] Production.INFO: ProcessCDR(1,14436884,1,1,2)
[2025-02-09 11:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436884', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436884', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:54:22] Production.INFO: ==23843== Releasing lock...
[2025-02-09 11:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:54:22] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 16:55:02] Production.INFO: ==23907== Lock acquired, processing the job...
[2025-02-09 16:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:55:02] Production.INFO: neon service started
[2025-02-09 16:55:02] Production.INFO: neon service started
[2025-02-09 16:55:02] Production.INFO: ==23907== Releasing lock...
[2025-02-09 16:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:55:02] Production.INFO: ==23909== Lock acquired, processing the job...
[2025-02-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:55:02] Production.INFO: ==23909== Releasing lock...
[2025-02-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:55:03] Production.INFO: ==23911== Lock acquired, processing the job...
[2025-02-09 16:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:55:03] Production.INFO: ==23911== Releasing lock...
[2025-02-09 16:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:55:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:55:03] Production.INFO: ==23913== Lock acquired, processing the job...
[2025-02-09 11:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:55:03] Production.INFO: ==23915== Lock acquired, processing the job...
[2025-02-09 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:55:03] Production.INFO: ==23920== Lock acquired, processing the job...
[2025-02-09 11:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:55:04] Production.INFO: ==23915== Releasing lock...
[2025-02-09 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:55:04] Production.INFO: ==23917== Lock acquired, processing the job...
[2025-02-09 11:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:55:04] Production.INFO: Account Balance Start.
[2025-02-09 11:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:55:04] Production.INFO: 117
[2025-02-09 11:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:55:04] Production.INFO: Total Charge 0
[2025-02-09 11:55:04] Production.INFO: CreateAllLog End
[2025-02-09 11:55:04] Production.INFO: ==23922== Lock acquired, processing the job...
[2025-02-09 11:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:55:04] Production.INFO: ==23924== Lock acquired, processing the job...
[2025-02-09 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:55:04] Production.INFO: Account Balance End.
[2025-02-09 11:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:55:04] Production.INFO: ==23920== Releasing lock...
[2025-02-09 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:55:04] Production.INFO: count ==21
[2025-02-09 11:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:55:04] Production.INFO: count ==21
[2025-02-09 11:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436888') start
[2025-02-09 11:55:04] Production.ERROR: done
[2025-02-09 11:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:55:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436888') end
[2025-02-09 11:55:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:55:05] Production.INFO: 1
[2025-02-09 11:55:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:55:05] Production.INFO: ==23924== Releasing lock...
[2025-02-09 11:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:55:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:55:05] Production.ERROR: done
[2025-02-09 11:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:55:06
[end_date_ymd] => 2025-02-09 11:55:06
[RateCDR] => 1
)
[2025-02-09 11:55: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-02-09 08:55:06' and `end` < '2025-02-09 11:55: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-02-09 11:55:11] Production.ERROR: CronJobId end10
[2025-02-09 11:55:11] Production.INFO: ==23917== Releasing lock...
[2025-02-09 11:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:55:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:55:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:55:14] Production.INFO: call_cost start
[2025-02-09 11:55:14] Production.INFO: call_cost end
[2025-02-09 11:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:55:15] Production.INFO: ==23913== Releasing lock...
[2025-02-09 11:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:55:19] Production.INFO: count ==597
[2025-02-09 11:55:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:55:06 - End Time 2025-02-09 11:55:06
[2025-02-09 11:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436889', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436889', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436889', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436889', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:55:19] Production.INFO: ProcessCDR(1,14436889,1,1,2)
[2025-02-09 11:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436889', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436889', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:55:23] Production.INFO: ==23922== Releasing lock...
[2025-02-09 11:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:55:23] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 16:56:01] Production.INFO: ==23988== Lock acquired, processing the job...
[2025-02-09 16:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:56:01] Production.INFO: neon service started
[2025-02-09 16:56:01] Production.INFO: neon service started
[2025-02-09 16:56:01] Production.INFO: ==23988== Releasing lock...
[2025-02-09 16:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:56:01] Production.INFO: ==23992== Lock acquired, processing the job...
[2025-02-09 16:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:56:02] Production.INFO: ==23992== Releasing lock...
[2025-02-09 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:56:02] Production.INFO: ==23990== Lock acquired, processing the job...
[2025-02-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:56:02] Production.INFO: ==23990== Releasing lock...
[2025-02-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:56:03] Production.INFO: ==23995== Lock acquired, processing the job...
[2025-02-09 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:56:03] Production.INFO: ==24003== Lock acquired, processing the job...
[2025-02-09 11:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:56:03] Production.INFO: ==23999== Lock acquired, processing the job...
[2025-02-09 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:56:03] Production.INFO: ==23997== Lock acquired, processing the job...
[2025-02-09 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:56:03] Production.INFO: ==24001== Lock acquired, processing the job...
[2025-02-09 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:56:03] Production.INFO: ==24005== Lock acquired, processing the job...
[2025-02-09 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:56:03] Production.INFO: Account Balance Start.
[2025-02-09 11:56:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:56:03] Production.INFO: 117
[2025-02-09 11:56:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:56:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:56:04] Production.ERROR: done
[2025-02-09 11:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:56:04] Production.INFO: Total Charge 0
[2025-02-09 11:56:04] Production.INFO: CreateAllLog End
[2025-02-09 11:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:56:04] Production.INFO: count ==21
[2025-02-09 11:56:04] Production.INFO: ==23997== Releasing lock...
[2025-02-09 11:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:56:04] Production.INFO: count ==21
[2025-02-09 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436893') start
[2025-02-09 11:56:04] Production.ERROR: done
[2025-02-09 11:56:04] Production.INFO: Account Balance End.
[2025-02-09 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436893') end
[2025-02-09 11:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:56:04] Production.INFO: 1
[2025-02-09 11:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:56:04] Production.INFO: ==24001== Releasing lock...
[2025-02-09 11:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:56:04] Production.INFO: ==24005== Releasing lock...
[2025-02-09 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:56:05
[end_date_ymd] => 2025-02-09 11:56:05
[RateCDR] => 1
)
[2025-02-09 11:56: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` >= '2025-02-09 08:56:05' and `end` < '2025-02-09 11:56: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 ,'')
[2025-02-09 11:56:12] Production.ERROR: CronJobId end10
[2025-02-09 11:56:12] Production.INFO: ==23999== Releasing lock...
[2025-02-09 11:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:56:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:56:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:56:13] Production.INFO: call_cost start
[2025-02-09 11:56:13] Production.INFO: call_cost end
[2025-02-09 11:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:56:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:56:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:56:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:56:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:56:14] Production.INFO: ==23995== Releasing lock...
[2025-02-09 11:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:56:18] Production.INFO: count ==598
[2025-02-09 11:56:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:56:05 - End Time 2025-02-09 11:56:05
[2025-02-09 11:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436894', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436894', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436894', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436894', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:56:18] Production.INFO: ProcessCDR(1,14436894,1,1,2)
[2025-02-09 11:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436894', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436894', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:56:23] Production.INFO: ==24003== Releasing lock...
[2025-02-09 11:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:56:23] Production.INFO: 32.5 MB #Memory Used#
[2025-02-09 16:57:02] Production.INFO: ==24113== Lock acquired, processing the job...
[2025-02-09 16:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:57:02] Production.INFO: neon service started
[2025-02-09 16:57:02] Production.INFO: neon service started
[2025-02-09 16:57:02] Production.INFO: ==24113== Releasing lock...
[2025-02-09 16:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:57:02] Production.INFO: ==24115== Lock acquired, processing the job...
[2025-02-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:57:02] Production.INFO: ==24117== Lock acquired, processing the job...
[2025-02-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 11:57:02] Production.INFO: ==24115== Releasing lock...
[2025-02-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:57:02] Production.INFO: ==24117== Releasing lock...
[2025-02-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:57:03] Production.INFO: ==24121== Lock acquired, processing the job...
[2025-02-09 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:57:03] Production.INFO: ==24119== Lock acquired, processing the job...
[2025-02-09 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:57:03] Production.INFO: ==24129== Lock acquired, processing the job...
[2025-02-09 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:57:03] Production.INFO: ==24123== Lock acquired, processing the job...
[2025-02-09 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:57:03] Production.INFO: ==24125== Lock acquired, processing the job...
[2025-02-09 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:57:03] Production.INFO: ==24127== Lock acquired, processing the job...
[2025-02-09 11:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:57:03] Production.INFO: count ==21
[2025-02-09 11:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:57:03] Production.INFO: count ==21
[2025-02-09 11:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436897') start
[2025-02-09 11:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436897') end
[2025-02-09 11:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:57:04] Production.INFO: 1
[2025-02-09 11:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:57:04] Production.INFO: Account Balance Start.
[2025-02-09 11:57:04] Production.INFO: CreateAllLog Start
[2025-02-09 11:57:04] Production.INFO: 117
[2025-02-09 11:57:04] Production.INFO: Date 2025-02-08
[2025-02-09 11:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:57:04] Production.INFO: ==24129== Releasing lock...
[2025-02-09 11:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:57:04] Production.INFO: ==24121== Releasing lock...
[2025-02-09 11:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:57:04] Production.INFO: Date 2025-02-09
[2025-02-09 11:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 11:57:04] Production.INFO: Total Charge 0
[2025-02-09 11:57:04] Production.INFO: CreateAllLog End
[2025-02-09 11:57:04] Production.ERROR: done
[2025-02-09 11:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:57:04] Production.INFO: Account Balance End.
[2025-02-09 11:57:04] Production.ERROR: done
[2025-02-09 11:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:57:04] Production.INFO: ==24125== Releasing lock...
[2025-02-09 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:57:05
[end_date_ymd] => 2025-02-09 11:57:05
[RateCDR] => 1
)
[2025-02-09 11:57: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` >= '2025-02-09 08:57:05' and `end` < '2025-02-09 11:57: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 ,'')
[2025-02-09 11:57:12] Production.ERROR: CronJobId end10
[2025-02-09 11:57:12] Production.INFO: ==24123== Releasing lock...
[2025-02-09 11:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:57:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:57:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:57:14] Production.INFO: call_cost start
[2025-02-09 11:57:14] Production.INFO: call_cost end
[2025-02-09 11:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:57:15] Production.INFO: ==24119== Releasing lock...
[2025-02-09 11:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:57:18] Production.INFO: count ==604
[2025-02-09 11:57:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:57:05 - End Time 2025-02-09 11:57:05
[2025-02-09 11:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436899', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436899', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436899', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436899', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:57:18] Production.INFO: ProcessCDR(1,14436899,1,1,2)
[2025-02-09 11:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436899', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436899', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:57:23] Production.INFO: ==24127== Releasing lock...
[2025-02-09 11:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:57:23] Production.INFO: 32.75 MB #Memory Used#
[2025-02-09 16:58:01] Production.INFO: ==24191== Lock acquired, processing the job...
[2025-02-09 16:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:58:01] Production.INFO: neon service started
[2025-02-09 16:58:01] Production.INFO: neon service started
[2025-02-09 16:58:01] Production.INFO: ==24191== Releasing lock...
[2025-02-09 16:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:58:01] Production.INFO: ==24193== Lock acquired, processing the job...
[2025-02-09 11:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 11:58:02] Production.INFO: ==24193== Releasing lock...
[2025-02-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:58:02] Production.INFO: ==24196== Lock acquired, processing the job...
[2025-02-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:58:02] Production.INFO: ==24196== Releasing lock...
[2025-02-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:58:03] Production.INFO: ==24204== Lock acquired, processing the job...
[2025-02-09 11:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:58:03] Production.INFO: ==24208== Lock acquired, processing the job...
[2025-02-09 11:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:58:03] Production.INFO: Account Balance Start.
[2025-02-09 11:58:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:58:03] Production.INFO: 117
[2025-02-09 11:58:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:58:03] Production.INFO: ==24198== Lock acquired, processing the job...
[2025-02-09 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:58:03] Production.INFO: ==24200== Lock acquired, processing the job...
[2025-02-09 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:58:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:58:03] Production.INFO: ==24202== Lock acquired, processing the job...
[2025-02-09 11:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:58:03] Production.INFO: count ==21
[2025-02-09 11:58:03] Production.INFO: Total Charge 0
[2025-02-09 11:58:03] Production.INFO: CreateAllLog End
[2025-02-09 11:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:58:03] Production.INFO: count ==21
[2025-02-09 11:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436901') start
[2025-02-09 11:58:03] Production.INFO: ==24206== Lock acquired, processing the job...
[2025-02-09 11:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:58:03] Production.INFO: Account Balance End.
[2025-02-09 11:58:03] Production.ERROR: CronJobId end 12
[2025-02-09 11:58:03] Production.INFO: ==24204== Releasing lock...
[2025-02-09 11:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436901') end
[2025-02-09 11:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:58:03] Production.INFO: 1
[2025-02-09 11:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:58:03] Production.INFO: ==24208== Releasing lock...
[2025-02-09 11:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:58:03] Production.INFO: ==24200== Releasing lock...
[2025-02-09 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:58:04] Production.ERROR: done
[2025-02-09 11:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:58:04] Production.ERROR: done
[2025-02-09 11:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:58:05
[end_date_ymd] => 2025-02-09 11:58:05
[RateCDR] => 1
)
[2025-02-09 11:58: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` >= '2025-02-09 08:58:05' and `end` < '2025-02-09 11:58: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 ,'')
[2025-02-09 11:58:12] Production.ERROR: CronJobId end10
[2025-02-09 11:58:12] Production.INFO: ==24202== Releasing lock...
[2025-02-09 11:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:58:14] Production.INFO: call_cost start
[2025-02-09 11:58:14] Production.INFO: call_cost end
[2025-02-09 11:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:58:15] Production.INFO: ==24198== Releasing lock...
[2025-02-09 11:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:58:18] Production.INFO: count ==609
[2025-02-09 11:58:18] Production.ERROR: pbx CDR StartTime 2025-02-09 08:58:05 - End Time 2025-02-09 11:58:05
[2025-02-09 11:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436904', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436904', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436904', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436904', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:58:18] Production.INFO: ProcessCDR(1,14436904,1,1,2)
[2025-02-09 11:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436904', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436904', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:58:21] Production.INFO: ==24206== Releasing lock...
[2025-02-09 11:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:58:21] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 16:59:02] Production.INFO: ==24270== Lock acquired, processing the job...
[2025-02-09 16:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 16:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 16:59:02] Production.INFO: neon service started
[2025-02-09 16:59:02] Production.INFO: neon service started
[2025-02-09 16:59:02] Production.INFO: ==24270== Releasing lock...
[2025-02-09 16:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 16:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 11:59:02] Production.INFO: ==24272== Lock acquired, processing the job...
[2025-02-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:59:02] Production.INFO: ==24274== Lock acquired, processing the job...
[2025-02-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:59:02] Production.INFO: ==24274== Releasing lock...
[2025-02-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 16:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 11:59:02] Production.INFO: ==24272== Releasing lock...
[2025-02-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 11:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 11:59:03] Production.INFO: ==24277== Lock acquired, processing the job...
[2025-02-09 11:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 11:59:03] Production.INFO: ==24281== Lock acquired, processing the job...
[2025-02-09 11:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 11:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 11:59:03] Production.INFO: ==24283== Lock acquired, processing the job...
[2025-02-09 11:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 11:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 11:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 11:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 11:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 11:59:03] Production.INFO: Account Balance Start.
[2025-02-09 11:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 11:59:03] Production.INFO: 117
[2025-02-09 11:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 11:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 11:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 11:59:03] Production.INFO: Total Charge 0
[2025-02-09 11:59:04] Production.INFO: CreateAllLog End
[2025-02-09 11:59:04] Production.INFO: ==24279== Lock acquired, processing the job...
[2025-02-09 11:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 11:59:04] Production.INFO: ==24285== Lock acquired, processing the job...
[2025-02-09 11:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 11:59:04] Production.INFO: Account Balance End.
[2025-02-09 11:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 11:59:04] Production.INFO: ==24283== Releasing lock...
[2025-02-09 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 11:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 11:59:04] Production.INFO: ==24287== Lock acquired, processing the job...
[2025-02-09 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 11:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 11:59:04] Production.ERROR: done
[2025-02-09 11:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 11:59:04] Production.INFO: ==24279== Releasing lock...
[2025-02-09 11:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 11:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 11:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:59:04] Production.INFO: count ==21
[2025-02-09 11:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 11:59:04] Production.INFO: count ==21
[2025-02-09 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436908') start
[2025-02-09 11:59:04] Production.ERROR: done
[2025-02-09 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436908') end
[2025-02-09 11:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 11:59:04] Production.INFO: 1
[2025-02-09 11:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 11:59:05] Production.INFO: ==24287== Releasing lock...
[2025-02-09 11:59:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 11:59:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 11:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 08:59:05
[end_date_ymd] => 2025-02-09 11:59:05
[RateCDR] => 1
)
[2025-02-09 11:59: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` >= '2025-02-09 08:59:05' and `end` < '2025-02-09 11:59: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 ,'')
[2025-02-09 11:59:12] Production.ERROR: CronJobId end10
[2025-02-09 11:59:12] Production.INFO: ==24281== Releasing lock...
[2025-02-09 11:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 11:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 11:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 11:59:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 11:59:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 11:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 11:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 11:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 11:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 11:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 11:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 11:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 11:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 11:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 11:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 11:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 11:59:14] Production.INFO: call_cost start
[2025-02-09 11:59:14] Production.INFO: call_cost end
[2025-02-09 11:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 11:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 11:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 11:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 11:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 11:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 11:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 11:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 11:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 11:59:15] Production.INFO: ==24277== Releasing lock...
[2025-02-09 11:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 11:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 11:59:18] Production.INFO: count ==613
[2025-02-09 11:59:19] Production.ERROR: pbx CDR StartTime 2025-02-09 08:59:05 - End Time 2025-02-09 11:59:05
[2025-02-09 11:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 11:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436909', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436909', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436909', 'tblTempVendorCDR_20' ) start
[2025-02-09 11:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436909', 'tblTempVendorCDR_20' ) end
[2025-02-09 11:59:19] Production.INFO: ProcessCDR(1,14436909,1,1,2)
[2025-02-09 11:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 11:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 11:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436909', 'tblTempUsageDetail_20' ) start
[2025-02-09 11:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436909', 'tblTempUsageDetail_20' ) end
[2025-02-09 11:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 11:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 11:59:23] Production.INFO: ==24285== Releasing lock...
[2025-02-09 11:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 11:59:23] Production.INFO: 33 MB #Memory Used#
[2025-02-09 17:00:01] Production.INFO: ==24349== Lock acquired, processing the job...
[2025-02-09 17:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:00:01] Production.INFO: neon service started
[2025-02-09 17:00:01] Production.INFO: neon service started
[2025-02-09 17:00:01] Production.INFO: ==24349== Releasing lock...
[2025-02-09 17:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:00:01] Production.INFO: ==24351== Lock acquired, processing the job...
[2025-02-09 12:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:00:02] Production.INFO: ==24353== Lock acquired, processing the job...
[2025-02-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:00:02] Production.INFO: ==24353== Releasing lock...
[2025-02-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:00:02] Production.INFO: ==24351== Releasing lock...
[2025-02-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:00:03] Production.INFO: ==24356== Lock acquired, processing the job...
[2025-02-09 12:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 12:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 12:00:03] Production.INFO: ==24362== Lock acquired, processing the job...
[2025-02-09 12:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 12:00:03] Production.INFO: ==24356== Releasing lock...
[2025-02-09 12:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 12:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 12:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:00:03] Production.INFO: ==24364== Lock acquired, processing the job...
[2025-02-09 12:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:00:03] Production.INFO: ==24358== Lock acquired, processing the job...
[2025-02-09 12:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:00:03] Production.INFO: ==24368== Lock acquired, processing the job...
[2025-02-09 12:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 12:00:03] Production.INFO: Account Balance Start.
[2025-02-09 12:00:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:00:03] Production.INFO: 117
[2025-02-09 12:00:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:00:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:00:03] Production.INFO: ==24360== Lock acquired, processing the job...
[2025-02-09 12:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:00:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:00:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:00:03] Production.INFO: Total Charge 0
[2025-02-09 12:00:03] Production.INFO: CreateAllLog End
[2025-02-09 12:00:04] Production.INFO: ==24366== Lock acquired, processing the job...
[2025-02-09 12:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:00:04] Production.INFO: ==24370== Lock acquired, processing the job...
[2025-02-09 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:00:04] Production.ERROR: done
[2025-02-09 12:00:04] Production.INFO: Account Balance End.
[2025-02-09 12:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 12:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436914', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 12:00:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:00:04] Production.INFO: ==24364== Releasing lock...
[2025-02-09 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:00:04] Production.INFO: count ==21
[2025-02-09 12:00:04] Production.INFO: ==24360== Releasing lock...
[2025-02-09 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:00:04] Production.INFO: count ==21
[2025-02-09 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436913') start
[2025-02-09 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436913') end
[2025-02-09 12:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:00:04] Production.INFO: 1
[2025-02-09 12:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:00:04] Production.INFO: ==24370== Releasing lock...
[2025-02-09 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:00:04] Production.ERROR: done
[2025-02-09 12:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:00:05] Production.ERROR: done
[2025-02-09 12:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:00:06
[end_date_ymd] => 2025-02-09 12:00:06
[RateCDR] => 1
)
[2025-02-09 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-02-09 09:00:06' and `end` < '2025-02-09 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-02-09 12:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436914', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 12:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 12:00:09] Production.INFO: ProcessCDR(1,14436914,1,1,2)
[2025-02-09 12:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436914,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436914,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:00:09] Production.INFO: ==24368== Releasing lock...
[2025-02-09 12:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 12:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 12:00:13] Production.ERROR: CronJobId end10
[2025-02-09 12:00:13] Production.INFO: ==24362== Releasing lock...
[2025-02-09 12:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:00:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:00:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:00:16] Production.INFO: call_cost start
[2025-02-09 12:00:16] Production.INFO: call_cost end
[2025-02-09 12:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:00:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:00:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:00:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:00:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:00:17] Production.INFO: ==24358== Releasing lock...
[2025-02-09 12:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:00:19] Production.INFO: count ==620
[2025-02-09 12:00:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:00:06 - End Time 2025-02-09 12:00:06
[2025-02-09 12:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436915', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436915', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436915', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436915', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:00:19] Production.INFO: ProcessCDR(1,14436915,1,1,2)
[2025-02-09 12:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436915', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436915', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:00:23] Production.INFO: ==24366== Releasing lock...
[2025-02-09 12:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:00:23] Production.INFO: 33 MB #Memory Used#
[2025-02-09 17:01:01] Production.INFO: ==24435== Lock acquired, processing the job...
[2025-02-09 17:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:01:01] Production.INFO: neon service started
[2025-02-09 17:01:01] Production.INFO: neon service started
[2025-02-09 17:01:01] Production.INFO: ==24435== Releasing lock...
[2025-02-09 17:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:01:02] Production.INFO: ==24449== Lock acquired, processing the job...
[2025-02-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:01:02] Production.INFO: ==24449== Releasing lock...
[2025-02-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:01:02] Production.INFO: ==24447== Lock acquired, processing the job...
[2025-02-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:01:02] Production.INFO: ==24447== Releasing lock...
[2025-02-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:01:03] Production.INFO: ==24451== Lock acquired, processing the job...
[2025-02-09 12:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:01:03] Production.INFO: ==24459== Lock acquired, processing the job...
[2025-02-09 12:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:01:03] Production.INFO: ==24453== Lock acquired, processing the job...
[2025-02-09 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:01:03] Production.INFO: ==24455== Lock acquired, processing the job...
[2025-02-09 12:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:01:04] Production.INFO: ==24457== Lock acquired, processing the job...
[2025-02-09 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:01:04] Production.INFO: ==24462== Lock acquired, processing the job...
[2025-02-09 12:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:01:04] Production.INFO: Account Balance Start.
[2025-02-09 12:01:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:01:04] Production.INFO: 117
[2025-02-09 12:01:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:01:04] Production.INFO: count ==21
[2025-02-09 12:01:04] Production.ERROR: done
[2025-02-09 12:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:01:04] Production.INFO: ==24453== Releasing lock...
[2025-02-09 12:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:01:04] Production.INFO: count ==21
[2025-02-09 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436918') start
[2025-02-09 12:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:01:04] Production.INFO: Total Charge 0
[2025-02-09 12:01:04] Production.INFO: CreateAllLog End
[2025-02-09 12:01:04] Production.ERROR: done
[2025-02-09 12:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436918') end
[2025-02-09 12:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:01:04] Production.INFO: 1
[2025-02-09 12:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:01:04] Production.INFO: ==24462== Releasing lock...
[2025-02-09 12:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:01:04] Production.INFO: Account Balance End.
[2025-02-09 12:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:01:04] Production.INFO: ==24457== Releasing lock...
[2025-02-09 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:01:05
[end_date_ymd] => 2025-02-09 12:01:05
[RateCDR] => 1
)
[2025-02-09 12:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 09:01:05' and `end` < '2025-02-09 12:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 12:01:12] Production.ERROR: CronJobId end10
[2025-02-09 12:01:12] Production.INFO: ==24455== Releasing lock...
[2025-02-09 12:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:01:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:01:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:01:15] Production.INFO: call_cost start
[2025-02-09 12:01:15] Production.INFO: call_cost end
[2025-02-09 12:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:01:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:01:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:01:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:01:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:01:16] Production.INFO: ==24451== Releasing lock...
[2025-02-09 12:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:01:19] Production.INFO: count ==654
[2025-02-09 12:01:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:01:05 - End Time 2025-02-09 12:01:05
[2025-02-09 12:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436920', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436920', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436920', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436920', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:01:19] Production.INFO: ProcessCDR(1,14436920,1,1,2)
[2025-02-09 12:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436920', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436920', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:01:24] Production.INFO: ==24459== Releasing lock...
[2025-02-09 12:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:01:24] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 17:02:01] Production.INFO: ==24522== Lock acquired, processing the job...
[2025-02-09 17:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:02:01] Production.INFO: neon service started
[2025-02-09 17:02:01] Production.INFO: neon service started
[2025-02-09 17:02:01] Production.INFO: ==24522== Releasing lock...
[2025-02-09 17:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:02:01] Production.INFO: ==24524== Lock acquired, processing the job...
[2025-02-09 12:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:02:02] Production.INFO: ==24524== Releasing lock...
[2025-02-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:02:02] Production.INFO: ==24526== Lock acquired, processing the job...
[2025-02-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:02:02] Production.INFO: ==24526== Releasing lock...
[2025-02-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:02:03] Production.INFO: ==24535== Lock acquired, processing the job...
[2025-02-09 12:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:02:03] Production.INFO: Account Balance Start.
[2025-02-09 12:02:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:02:03] Production.INFO: 117
[2025-02-09 12:02:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:02:03] Production.INFO: ==24539== Lock acquired, processing the job...
[2025-02-09 12:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:02:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:02:03] Production.INFO: Total Charge 0
[2025-02-09 12:02:03] Production.INFO: ==24528== Lock acquired, processing the job...
[2025-02-09 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:02:03] Production.INFO: ==24530== Lock acquired, processing the job...
[2025-02-09 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:02:03] Production.INFO: CreateAllLog End
[2025-02-09 12:02:03] Production.INFO: ==24533== Lock acquired, processing the job...
[2025-02-09 12:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:02:03] Production.INFO: ==24537== Lock acquired, processing the job...
[2025-02-09 12:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:02:03] Production.INFO: count ==21
[2025-02-09 12:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:02:03] Production.INFO: count ==21
[2025-02-09 12:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436922') start
[2025-02-09 12:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:02:03] Production.INFO: Account Balance End.
[2025-02-09 12:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436922') end
[2025-02-09 12:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:02:03] Production.INFO: 1
[2025-02-09 12:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:02:03] Production.ERROR: CronJobId end 12
[2025-02-09 12:02:03] Production.INFO: ==24535== Releasing lock...
[2025-02-09 12:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:02:03] Production.INFO: ==24539== Releasing lock...
[2025-02-09 12:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:02:03] Production.INFO: ==24530== Releasing lock...
[2025-02-09 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:02:03] Production.ERROR: done
[2025-02-09 12:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:02:04] Production.ERROR: done
[2025-02-09 12:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:02:05
[end_date_ymd] => 2025-02-09 12:02:05
[RateCDR] => 1
)
[2025-02-09 12:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 09:02:05' and `end` < '2025-02-09 12:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 12:02:12] Production.ERROR: CronJobId end10
[2025-02-09 12:02:12] Production.INFO: ==24533== Releasing lock...
[2025-02-09 12:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:02:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:02:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:02:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:02:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:02:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:02:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:02:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:02:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:02:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:02:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:02:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:02:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:02:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:02:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:02:15] Production.INFO: call_cost start
[2025-02-09 12:02:15] Production.INFO: call_cost end
[2025-02-09 12:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:02:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:02:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:02:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:02:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:02:16] Production.INFO: ==24528== Releasing lock...
[2025-02-09 12:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:02:18] Production.INFO: count ==665
[2025-02-09 12:02:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:02:05 - End Time 2025-02-09 12:02:05
[2025-02-09 12:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436925', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436925', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436925', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436925', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:02:18] Production.INFO: ProcessCDR(1,14436925,1,1,2)
[2025-02-09 12:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436925', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436925', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:02:22] Production.INFO: ==24537== Releasing lock...
[2025-02-09 12:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:02:22] Production.INFO: 33.25 MB #Memory Used#
[2025-02-09 17:03:01] Production.INFO: ==24596== Lock acquired, processing the job...
[2025-02-09 17:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:03:01] Production.INFO: neon service started
[2025-02-09 17:03:01] Production.INFO: neon service started
[2025-02-09 17:03:01] Production.INFO: ==24596== Releasing lock...
[2025-02-09 17:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:03:02] Production.INFO: ==24600== Lock acquired, processing the job...
[2025-02-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:03:02] Production.INFO: ==24600== Releasing lock...
[2025-02-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:03:02] Production.INFO: ==24598== Lock acquired, processing the job...
[2025-02-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:03:02] Production.INFO: ==24598== Releasing lock...
[2025-02-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:03:03] Production.INFO: ==24605== Lock acquired, processing the job...
[2025-02-09 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:03:03] Production.INFO: ==24607== Lock acquired, processing the job...
[2025-02-09 12:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:03:03] Production.INFO: ==24605== Releasing lock...
[2025-02-09 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:03:03] Production.INFO: ==24603== Lock acquired, processing the job...
[2025-02-09 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:03:04] Production.INFO: ==24609== Lock acquired, processing the job...
[2025-02-09 12:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:03:04] Production.INFO: ==24613== Lock acquired, processing the job...
[2025-02-09 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:03:04] Production.INFO: ==24611== Lock acquired, processing the job...
[2025-02-09 12:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:03:04] Production.INFO: Account Balance Start.
[2025-02-09 12:03:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:03:04] Production.INFO: 117
[2025-02-09 12:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:03:04] Production.INFO: count ==21
[2025-02-09 12:03:04] Production.INFO: Total Charge 0
[2025-02-09 12:03:04] Production.INFO: CreateAllLog End
[2025-02-09 12:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:03:04] Production.INFO: count ==21
[2025-02-09 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436929') start
[2025-02-09 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436929') end
[2025-02-09 12:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:03:04] Production.INFO: 1
[2025-02-09 12:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:03:04] Production.INFO: Account Balance End.
[2025-02-09 12:03:04] Production.ERROR: done
[2025-02-09 12:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:03:04] Production.INFO: ==24609== Releasing lock...
[2025-02-09 12:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:03:04] Production.INFO: ==24613== Releasing lock...
[2025-02-09 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:03:04] Production.ERROR: done
[2025-02-09 12:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:03:06
[end_date_ymd] => 2025-02-09 12:03:06
[RateCDR] => 1
)
[2025-02-09 12:03: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-02-09 09:03:06' and `end` < '2025-02-09 12:03: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-02-09 12:03:12] Production.ERROR: CronJobId end10
[2025-02-09 12:03:12] Production.INFO: ==24607== Releasing lock...
[2025-02-09 12:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:03:15] Production.INFO: call_cost start
[2025-02-09 12:03:15] Production.INFO: call_cost end
[2025-02-09 12:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:03:16] Production.INFO: ==24603== Releasing lock...
[2025-02-09 12:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:03:19] Production.INFO: count ==666
[2025-02-09 12:03:20] Production.ERROR: pbx CDR StartTime 2025-02-09 09:03:06 - End Time 2025-02-09 12:03:06
[2025-02-09 12:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436930', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436930', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436930', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436930', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:03:20] Production.INFO: ProcessCDR(1,14436930,1,1,2)
[2025-02-09 12:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436930', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436930', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:03:24] Production.INFO: ==24611== Releasing lock...
[2025-02-09 12:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:03:24] Production.INFO: 33 MB #Memory Used#
[2025-02-09 17:04:02] Production.INFO: ==24671== Lock acquired, processing the job...
[2025-02-09 17:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:04:02] Production.INFO: neon service started
[2025-02-09 17:04:02] Production.INFO: neon service started
[2025-02-09 17:04:02] Production.INFO: ==24671== Releasing lock...
[2025-02-09 17:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:04:02] Production.INFO: ==24674== Lock acquired, processing the job...
[2025-02-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:04:03] Production.INFO: ==24676== Lock acquired, processing the job...
[2025-02-09 17:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:04:03] Production.INFO: ==24676== Releasing lock...
[2025-02-09 17:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:04:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:04:03] Production.INFO: ==24674== Releasing lock...
[2025-02-09 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:04:04] Production.INFO: ==24681== Lock acquired, processing the job...
[2025-02-09 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:04:04] Production.INFO: ==24679== Lock acquired, processing the job...
[2025-02-09 12:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:04:04] Production.INFO: ==24689== Lock acquired, processing the job...
[2025-02-09 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:04:04] Production.INFO: ==24681== Releasing lock...
[2025-02-09 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:04:04] Production.INFO: ==24683== Lock acquired, processing the job...
[2025-02-09 12:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:04:04] Production.INFO: ==24687== Lock acquired, processing the job...
[2025-02-09 12:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:04:04] Production.INFO: count ==21
[2025-02-09 12:04:04] Production.INFO: ==24685== Lock acquired, processing the job...
[2025-02-09 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:04:04] Production.INFO: count ==21
[2025-02-09 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436933') start
[2025-02-09 12:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:04:04] Production.INFO: Account Balance Start.
[2025-02-09 12:04:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:04:04] Production.INFO: 117
[2025-02-09 12:04:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436933') end
[2025-02-09 12:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:04:04] Production.INFO: 1
[2025-02-09 12:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:04:04] Production.INFO: ==24689== Releasing lock...
[2025-02-09 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:04:04] Production.INFO: Total Charge 0
[2025-02-09 12:04:04] Production.INFO: CreateAllLog End
[2025-02-09 12:04:04] Production.ERROR: done
[2025-02-09 12:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:04:04] Production.INFO: Account Balance End.
[2025-02-09 12:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:04:04] Production.INFO: ==24685== Releasing lock...
[2025-02-09 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:04:05] Production.ERROR: done
[2025-02-09 12:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:04:06
[end_date_ymd] => 2025-02-09 12:04:06
[RateCDR] => 1
)
[2025-02-09 12:04: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-02-09 09:04:06' and `end` < '2025-02-09 12:04: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-02-09 12:04:12] Production.ERROR: CronJobId end10
[2025-02-09 12:04:12] Production.INFO: ==24683== Releasing lock...
[2025-02-09 12:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:04:14] Production.INFO: call_cost start
[2025-02-09 12:04:14] Production.INFO: call_cost end
[2025-02-09 12:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:04:15] Production.INFO: ==24679== Releasing lock...
[2025-02-09 12:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:04:19] Production.INFO: count ==667
[2025-02-09 12:04:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:04:06 - End Time 2025-02-09 12:04:06
[2025-02-09 12:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436935', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436935', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436935', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436935', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:04:19] Production.INFO: ProcessCDR(1,14436935,1,1,2)
[2025-02-09 12:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436935', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436935', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:04:24] Production.INFO: ==24687== Releasing lock...
[2025-02-09 12:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:04:24] Production.INFO: 33 MB #Memory Used#
[2025-02-09 17:05:01] Production.INFO: ==24747== Lock acquired, processing the job...
[2025-02-09 17:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:05:01] Production.INFO: neon service started
[2025-02-09 17:05:01] Production.INFO: neon service started
[2025-02-09 17:05:01] Production.INFO: ==24747== Releasing lock...
[2025-02-09 17:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:05:02] Production.INFO: ==24749== Lock acquired, processing the job...
[2025-02-09 17:05:02] Production.INFO: ==24751== Lock acquired, processing the job...
[2025-02-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:05:02] Production.INFO: ==24751== Releasing lock...
[2025-02-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:05:02] Production.INFO: ==24749== Releasing lock...
[2025-02-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:05:03] Production.INFO: ==24754== Lock acquired, processing the job...
[2025-02-09 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:05:03] Production.INFO: ==24756== Lock acquired, processing the job...
[2025-02-09 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:05:03] Production.INFO: ==24758== Lock acquired, processing the job...
[2025-02-09 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:05:03] Production.INFO: ==24756== Releasing lock...
[2025-02-09 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:05:04] Production.INFO: ==24760== Lock acquired, processing the job...
[2025-02-09 12:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:05:04] Production.INFO: ==24762== Lock acquired, processing the job...
[2025-02-09 12:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:05:04] Production.INFO: Account Balance Start.
[2025-02-09 12:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:05:04] Production.INFO: 117
[2025-02-09 12:05:04] Production.INFO: ==24764== Lock acquired, processing the job...
[2025-02-09 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:05:04] Production.ERROR: done
[2025-02-09 12:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:05:04] Production.INFO: Total Charge 0
[2025-02-09 12:05:04] Production.INFO: count ==21
[2025-02-09 12:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:05:04] Production.INFO: count ==21
[2025-02-09 12:05:04] Production.INFO: CreateAllLog End
[2025-02-09 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436939') start
[2025-02-09 12:05:04] Production.ERROR: done
[2025-02-09 12:05:04] Production.INFO: Account Balance End.
[2025-02-09 12:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:05:04] Production.INFO: ==24760== Releasing lock...
[2025-02-09 12:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436939') end
[2025-02-09 12:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:05:04] Production.INFO: 1
[2025-02-09 12:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:05:04] Production.INFO: ==24764== Releasing lock...
[2025-02-09 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:05:05
[end_date_ymd] => 2025-02-09 12:05:05
[RateCDR] => 1
)
[2025-02-09 12:05: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` >= '2025-02-09 09:05:05' and `end` < '2025-02-09 12:05: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 ,'')
[2025-02-09 12:05:11] Production.ERROR: CronJobId end10
[2025-02-09 12:05:11] Production.INFO: ==24758== Releasing lock...
[2025-02-09 12:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:05:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:05:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:05:13] Production.INFO: call_cost start
[2025-02-09 12:05:13] Production.INFO: call_cost end
[2025-02-09 12:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:05:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:05:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:05:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:05:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:05:14] Production.INFO: ==24754== Releasing lock...
[2025-02-09 12:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:05:18] Production.INFO: count ==672
[2025-02-09 12:05:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:05:05 - End Time 2025-02-09 12:05:05
[2025-02-09 12:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436940', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436940', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436940', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436940', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:05:18] Production.INFO: ProcessCDR(1,14436940,1,1,2)
[2025-02-09 12:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436940', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436940', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:05:23] Production.INFO: ==24762== Releasing lock...
[2025-02-09 12:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:05:23] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 17:06:02] Production.INFO: ==24825== Lock acquired, processing the job...
[2025-02-09 17:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:06:02] Production.INFO: neon service started
[2025-02-09 17:06:02] Production.INFO: neon service started
[2025-02-09 17:06:02] Production.INFO: ==24825== Releasing lock...
[2025-02-09 17:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:06:02] Production.INFO: ==24828== Lock acquired, processing the job...
[2025-02-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:06:02] Production.INFO: ==24830== Lock acquired, processing the job...
[2025-02-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:06:03] Production.INFO: ==24830== Releasing lock...
[2025-02-09 17:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:06:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:06:03] Production.INFO: ==24828== Releasing lock...
[2025-02-09 12:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:06:04] Production.INFO: ==24832== Lock acquired, processing the job...
[2025-02-09 12:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:06:04] Production.INFO: ==24834== Lock acquired, processing the job...
[2025-02-09 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:06:04] Production.INFO: ==24838== Lock acquired, processing the job...
[2025-02-09 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:06:04] Production.INFO: Account Balance Start.
[2025-02-09 12:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:06:04] Production.INFO: 117
[2025-02-09 12:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:06:04] Production.INFO: ==24836== Lock acquired, processing the job...
[2025-02-09 12:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:06:04] Production.INFO: ==24840== Lock acquired, processing the job...
[2025-02-09 12:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:06:04] Production.INFO: Total Charge 0
[2025-02-09 12:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:06:04] Production.INFO: CreateAllLog End
[2025-02-09 12:06:04] Production.INFO: ==24842== Lock acquired, processing the job...
[2025-02-09 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:06:04] Production.INFO: ==24834== Releasing lock...
[2025-02-09 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:06:04] Production.INFO: Account Balance End.
[2025-02-09 12:06:04] Production.INFO: count ==21
[2025-02-09 12:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:06:04] Production.INFO: count ==21
[2025-02-09 12:06:04] Production.ERROR: done
[2025-02-09 12:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:06:04] Production.INFO: ==24838== Releasing lock...
[2025-02-09 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436944') start
[2025-02-09 12:06:04] Production.ERROR: done
[2025-02-09 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436944') end
[2025-02-09 12:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:06:04] Production.INFO: 1
[2025-02-09 12:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:06:04] Production.INFO: ==24842== Releasing lock...
[2025-02-09 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:06:05
[end_date_ymd] => 2025-02-09 12:06:05
[RateCDR] => 1
)
[2025-02-09 12:06: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` >= '2025-02-09 09:06:05' and `end` < '2025-02-09 12:06: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 ,'')
[2025-02-09 12:06:12] Production.ERROR: CronJobId end10
[2025-02-09 12:06:12] Production.INFO: ==24836== Releasing lock...
[2025-02-09 12:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:06:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:06:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:06:15] Production.INFO: call_cost start
[2025-02-09 12:06:15] Production.INFO: call_cost end
[2025-02-09 12:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:06:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:06:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:06:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:06:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:06:16] Production.INFO: ==24832== Releasing lock...
[2025-02-09 12:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:06:19] Production.INFO: count ==673
[2025-02-09 12:06:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:06:05 - End Time 2025-02-09 12:06:05
[2025-02-09 12:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436945', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436945', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436945', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436945', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:06:19] Production.INFO: ProcessCDR(1,14436945,1,1,2)
[2025-02-09 12:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436945', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436945', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:06:23] Production.INFO: ==24840== Releasing lock...
[2025-02-09 12:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:06:23] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 17:07:01] Production.INFO: ==24906== Lock acquired, processing the job...
[2025-02-09 17:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:07:01] Production.INFO: neon service started
[2025-02-09 17:07:01] Production.INFO: neon service started
[2025-02-09 17:07:01] Production.INFO: ==24906== Releasing lock...
[2025-02-09 17:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:07:02] Production.INFO: ==24910== Lock acquired, processing the job...
[2025-02-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:07:02] Production.INFO: ==24910== Releasing lock...
[2025-02-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:07:02] Production.INFO: ==24908== Lock acquired, processing the job...
[2025-02-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:07:02] Production.INFO: ==24908== Releasing lock...
[2025-02-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:07:03] Production.INFO: ==24918== Lock acquired, processing the job...
[2025-02-09 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:07:03] Production.INFO: ==24912== Lock acquired, processing the job...
[2025-02-09 12:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:07:03] Production.INFO: ==24921== Lock acquired, processing the job...
[2025-02-09 12:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:07:03] Production.INFO: Account Balance Start.
[2025-02-09 12:07:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:07:03] Production.INFO: 117
[2025-02-09 12:07:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:07:03] Production.INFO: ==24914== Lock acquired, processing the job...
[2025-02-09 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:07:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:07:03] Production.INFO: ==24916== Lock acquired, processing the job...
[2025-02-09 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:07:03] Production.INFO: Total Charge 0
[2025-02-09 12:07:03] Production.INFO: CreateAllLog End
[2025-02-09 12:07:03] Production.INFO: ==24924== Lock acquired, processing the job...
[2025-02-09 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:07:03] Production.INFO: Account Balance End.
[2025-02-09 12:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:07:03] Production.ERROR: CronJobId end 12
[2025-02-09 12:07:03] Production.INFO: ==24918== Releasing lock...
[2025-02-09 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:07:03] Production.ERROR: done
[2025-02-09 12:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:07:03] Production.INFO: count ==21
[2025-02-09 12:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:07:04] Production.INFO: count ==21
[2025-02-09 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436949') start
[2025-02-09 12:07:04] Production.INFO: ==24914== Releasing lock...
[2025-02-09 12:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:07:04] Production.ERROR: done
[2025-02-09 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436949') end
[2025-02-09 12:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:07:04] Production.INFO: 1
[2025-02-09 12:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:07:04] Production.INFO: ==24924== Releasing lock...
[2025-02-09 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:07:05
[end_date_ymd] => 2025-02-09 12:07:05
[RateCDR] => 1
)
[2025-02-09 12:07: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` >= '2025-02-09 09:07:05' and `end` < '2025-02-09 12:07: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 ,'')
[2025-02-09 12:07:10] Production.ERROR: CronJobId end10
[2025-02-09 12:07:10] Production.INFO: ==24916== Releasing lock...
[2025-02-09 12:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:07:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:07:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:07:13] Production.INFO: call_cost start
[2025-02-09 12:07:13] Production.INFO: call_cost end
[2025-02-09 12:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:07:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:07:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:07:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:07:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:07:14] Production.INFO: ==24912== Releasing lock...
[2025-02-09 12:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:07:18] Production.INFO: count ==671
[2025-02-09 12:07:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:07:05 - End Time 2025-02-09 12:07:05
[2025-02-09 12:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436950', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436950', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436950', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436950', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:07:18] Production.INFO: ProcessCDR(1,14436950,1,1,2)
[2025-02-09 12:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436950', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436950', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:07:22] Production.INFO: ==24921== Releasing lock...
[2025-02-09 12:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:07:22] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 17:08:02] Production.INFO: ==24985== Lock acquired, processing the job...
[2025-02-09 17:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:08:02] Production.INFO: neon service started
[2025-02-09 17:08:02] Production.INFO: neon service started
[2025-02-09 17:08:02] Production.INFO: ==24985== Releasing lock...
[2025-02-09 17:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:08:02] Production.INFO: ==24989== Lock acquired, processing the job...
[2025-02-09 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:08:02] Production.INFO: ==24989== Releasing lock...
[2025-02-09 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:08:02] Production.INFO: ==24987== Lock acquired, processing the job...
[2025-02-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:08:02] Production.INFO: ==24987== Releasing lock...
[2025-02-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:08:03] Production.INFO: ==24996== Lock acquired, processing the job...
[2025-02-09 12:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:08:03] Production.INFO: ==24991== Lock acquired, processing the job...
[2025-02-09 12:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:08:03] Production.INFO: ==24994== Lock acquired, processing the job...
[2025-02-09 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:08:04] Production.INFO: ==25002== Lock acquired, processing the job...
[2025-02-09 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:08:04] Production.INFO: ==24998== Lock acquired, processing the job...
[2025-02-09 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:08:04] Production.INFO: ==25000== Lock acquired, processing the job...
[2025-02-09 12:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:08:04] Production.INFO: Account Balance Start.
[2025-02-09 12:08:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:08:04] Production.INFO: count ==21
[2025-02-09 12:08:04] Production.INFO: 117
[2025-02-09 12:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:08:04] Production.INFO: count ==21
[2025-02-09 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436952') start
[2025-02-09 12:08:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:08:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:08:04] Production.INFO: ==24994== Releasing lock...
[2025-02-09 12:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:08:04] Production.INFO: Total Charge 0
[2025-02-09 12:08:04] Production.INFO: CreateAllLog End
[2025-02-09 12:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436952') end
[2025-02-09 12:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:08:04] Production.INFO: 1
[2025-02-09 12:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:08:04] Production.INFO: ==25002== Releasing lock...
[2025-02-09 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:08:04] Production.ERROR: done
[2025-02-09 12:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:08:04] Production.ERROR: done
[2025-02-09 12:08:04] Production.INFO: Account Balance End.
[2025-02-09 12:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:08:04] Production.INFO: ==24998== Releasing lock...
[2025-02-09 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:08:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:08:06
[end_date_ymd] => 2025-02-09 12:08:06
[RateCDR] => 1
)
[2025-02-09 12:08: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-02-09 09:08:06' and `end` < '2025-02-09 12:08: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-02-09 12:08:12] Production.ERROR: CronJobId end10
[2025-02-09 12:08:12] Production.INFO: ==24996== Releasing lock...
[2025-02-09 12:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:08:14] Production.INFO: call_cost start
[2025-02-09 12:08:14] Production.INFO: call_cost end
[2025-02-09 12:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:08:15] Production.INFO: ==24991== Releasing lock...
[2025-02-09 12:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:08:19] Production.INFO: count ==676
[2025-02-09 12:08:20] Production.ERROR: pbx CDR StartTime 2025-02-09 09:08:06 - End Time 2025-02-09 12:08:06
[2025-02-09 12:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436955', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436955', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436955', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436955', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:08:20] Production.INFO: ProcessCDR(1,14436955,1,1,2)
[2025-02-09 12:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436955', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436955', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:08:23] Production.INFO: ==25000== Releasing lock...
[2025-02-09 12:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:08:23] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 17:09:01] Production.INFO: ==25064== Lock acquired, processing the job...
[2025-02-09 17:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:09:01] Production.INFO: neon service started
[2025-02-09 17:09:01] Production.INFO: neon service started
[2025-02-09 17:09:01] Production.INFO: ==25064== Releasing lock...
[2025-02-09 17:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:09:01] Production.INFO: ==25066== Lock acquired, processing the job...
[2025-02-09 12:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:09:02] Production.INFO: ==25066== Releasing lock...
[2025-02-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:09:02] Production.INFO: ==25068== Lock acquired, processing the job...
[2025-02-09 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:09:02] Production.INFO: ==25068== Releasing lock...
[2025-02-09 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:09:03] Production.INFO: ==25073== Lock acquired, processing the job...
[2025-02-09 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:09:03] Production.INFO: ==25075== Lock acquired, processing the job...
[2025-02-09 12:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:09:03] Production.INFO: ==25077== Lock acquired, processing the job...
[2025-02-09 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:09:03] Production.INFO: Account Balance Start.
[2025-02-09 12:09:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:09:03] Production.INFO: 117
[2025-02-09 12:09:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:09:03] Production.INFO: ==25071== Lock acquired, processing the job...
[2025-02-09 12:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:09:03] Production.INFO: ==25073== Releasing lock...
[2025-02-09 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:09:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:09:03] Production.INFO: Total Charge 0
[2025-02-09 12:09:03] Production.INFO: CreateAllLog End
[2025-02-09 12:09:03] Production.INFO: ==25079== Lock acquired, processing the job...
[2025-02-09 12:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:09:03] Production.INFO: ==25081== Lock acquired, processing the job...
[2025-02-09 12:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:09:03] Production.INFO: Account Balance End.
[2025-02-09 12:09:03] Production.ERROR: CronJobId end 12
[2025-02-09 12:09:03] Production.INFO: ==25077== Releasing lock...
[2025-02-09 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:09:03] Production.INFO: count ==21
[2025-02-09 12:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:09:04] Production.INFO: count ==21
[2025-02-09 12:09:04] Production.ERROR: done
[2025-02-09 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436959') start
[2025-02-09 12:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436959') end
[2025-02-09 12:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:09:04] Production.INFO: 1
[2025-02-09 12:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:09:04] Production.INFO: ==25081== Releasing lock...
[2025-02-09 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:09:04] Production.ERROR: done
[2025-02-09 12:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:09:05
[end_date_ymd] => 2025-02-09 12:09:05
[RateCDR] => 1
)
[2025-02-09 12:09: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` >= '2025-02-09 09:09:05' and `end` < '2025-02-09 12:09: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 ,'')
[2025-02-09 12:09:11] Production.ERROR: CronJobId end10
[2025-02-09 12:09:11] Production.INFO: ==25075== Releasing lock...
[2025-02-09 12:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:09:14] Production.INFO: call_cost start
[2025-02-09 12:09:14] Production.INFO: call_cost end
[2025-02-09 12:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:09:15] Production.INFO: ==25071== Releasing lock...
[2025-02-09 12:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:09:18] Production.INFO: count ==677
[2025-02-09 12:09:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:09:05 - End Time 2025-02-09 12:09:05
[2025-02-09 12:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436960', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436960', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436960', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436960', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:09:18] Production.INFO: ProcessCDR(1,14436960,1,1,2)
[2025-02-09 12:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436960', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436960', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:09:23] Production.INFO: ==25079== Releasing lock...
[2025-02-09 12:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:09:23] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 17:10:02] Production.INFO: ==25138== Lock acquired, processing the job...
[2025-02-09 17:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:10:02] Production.INFO: neon service started
[2025-02-09 17:10:02] Production.INFO: neon service started
[2025-02-09 17:10:02] Production.INFO: ==25138== Releasing lock...
[2025-02-09 17:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:10:02] Production.INFO: ==25141== Lock acquired, processing the job...
[2025-02-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:10:02] Production.INFO: ==25143== Lock acquired, processing the job...
[2025-02-09 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:10:02] Production.INFO: ==25143== Releasing lock...
[2025-02-09 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:10:03] Production.INFO: ==25141== Releasing lock...
[2025-02-09 12:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:10:04] Production.INFO: ==25145== Lock acquired, processing the job...
[2025-02-09 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 12:10:04] Production.INFO: ==25147== Lock acquired, processing the job...
[2025-02-09 12:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 12:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 12:10:04] Production.INFO: ==25145== Releasing lock...
[2025-02-09 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 12:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 12:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:10:04] Production.INFO: ==25151== Lock acquired, processing the job...
[2025-02-09 12:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:10:04] Production.INFO: ==25149== Lock acquired, processing the job...
[2025-02-09 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:10:04] Production.INFO: ==25153== Lock acquired, processing the job...
[2025-02-09 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:10:04] Production.INFO: Account Balance Start.
[2025-02-09 12:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:10:04] Production.INFO: 117
[2025-02-09 12:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:10:04] Production.INFO: ==25155== Lock acquired, processing the job...
[2025-02-09 12:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:10:04] Production.INFO: ==25157== Lock acquired, processing the job...
[2025-02-09 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:10:05] Production.INFO: ==25160== Lock acquired, processing the job...
[2025-02-09 12:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:10:05] Production.INFO: Date 2025-02-09
[2025-02-09 12:10:05] Production.INFO: Reseller ==> 0
[2025-02-09 12:10:05] Production.INFO: ==25149== Releasing lock...
[2025-02-09 12:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:10:05] Production.INFO: Total Charge 0
[2025-02-09 12:10:05] Production.INFO: CreateAllLog End
[2025-02-09 12:10:05] Production.ERROR: done
[2025-02-09 12:10:05] Production.ERROR: done
[2025-02-09 12:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 12:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436965', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 12:10:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:10:05] Production.INFO: count ==21
[2025-02-09 12:10:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:10:05] Production.INFO: count ==21
[2025-02-09 12:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436964') start
[2025-02-09 12:10:05] Production.ERROR: done
[2025-02-09 12:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14436964') end
[2025-02-09 12:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:10:05] Production.INFO: 1
[2025-02-09 12:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:10:05] Production.INFO: Account Balance End.
[2025-02-09 12:10:05] Production.INFO: ==25160== Releasing lock...
[2025-02-09 12:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:10:05] Production.ERROR: CronJobId end 12
[2025-02-09 12:10:05] Production.INFO: ==25153== Releasing lock...
[2025-02-09 12:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:10:07
[end_date_ymd] => 2025-02-09 12:10:07
[RateCDR] => 1
)
[2025-02-09 12:10: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-02-09 09:10:07' and `end` < '2025-02-09 12:10: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-02-09 12:10:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14436965', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 12:10:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 12:10:10] Production.INFO: ProcessCDR(1,14436965,1,1,2)
[2025-02-09 12:10:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14436965,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14436965,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:10:10] Production.INFO: ==25157== Releasing lock...
[2025-02-09 12:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 12:10:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 12:10:14] Production.ERROR: CronJobId end10
[2025-02-09 12:10:14] Production.INFO: ==25151== Releasing lock...
[2025-02-09 12:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:10:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:10:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:10:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:10:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:10:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:10:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:10:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:10:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:10:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:10:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:10:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:10:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:10:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:10:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:10:16] Production.INFO: call_cost start
[2025-02-09 12:10:16] Production.INFO: call_cost end
[2025-02-09 12:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:10:17] Production.INFO: ==25147== Releasing lock...
[2025-02-09 12:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:10:20] Production.INFO: count ==681
[2025-02-09 12:10:20] Production.ERROR: pbx CDR StartTime 2025-02-09 09:10:07 - End Time 2025-02-09 12:10:07
[2025-02-09 12:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436966', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436966', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436966', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436966', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:10:20] Production.INFO: ProcessCDR(1,14436966,1,1,2)
[2025-02-09 12:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436966', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436966', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:10:23] Production.INFO: ==25155== Releasing lock...
[2025-02-09 12:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:10:23] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 17:11:01] Production.INFO: ==25217== Lock acquired, processing the job...
[2025-02-09 17:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:11:01] Production.INFO: neon service started
[2025-02-09 17:11:01] Production.INFO: neon service started
[2025-02-09 17:11:01] Production.INFO: ==25217== Releasing lock...
[2025-02-09 17:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:11:01] Production.INFO: ==25221== Lock acquired, processing the job...
[2025-02-09 17:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:11:02] Production.INFO: ==25221== Releasing lock...
[2025-02-09 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:11:02] Production.INFO: ==25219== Lock acquired, processing the job...
[2025-02-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:11:02] Production.INFO: ==25219== Releasing lock...
[2025-02-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:11:03] Production.INFO: ==25230== Lock acquired, processing the job...
[2025-02-09 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:11:03] Production.INFO: ==25234== Lock acquired, processing the job...
[2025-02-09 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:11:03] Production.INFO: Account Balance Start.
[2025-02-09 12:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:11:03] Production.INFO: 117
[2025-02-09 12:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:11:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:11:03] Production.INFO: count ==21
[2025-02-09 12:11:03] Production.INFO: Total Charge 0
[2025-02-09 12:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:11:03] Production.INFO: count ==21
[2025-02-09 12:11:03] Production.INFO: CreateAllLog End
[2025-02-09 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436968') start
[2025-02-09 12:11:03] Production.INFO: ==25224== Lock acquired, processing the job...
[2025-02-09 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:11:03] Production.INFO: ==25226== Lock acquired, processing the job...
[2025-02-09 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:11:03] Production.INFO: ==25228== Lock acquired, processing the job...
[2025-02-09 12:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:11:03] Production.INFO: Account Balance End.
[2025-02-09 12:11:03] Production.INFO: ==25232== Lock acquired, processing the job...
[2025-02-09 12:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436968') end
[2025-02-09 12:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:11:03] Production.INFO: 1
[2025-02-09 12:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:11:03] Production.ERROR: CronJobId end 12
[2025-02-09 12:11:03] Production.INFO: ==25230== Releasing lock...
[2025-02-09 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:11:03] Production.INFO: ==25234== Releasing lock...
[2025-02-09 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:11:04] Production.INFO: ==25226== Releasing lock...
[2025-02-09 12:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:11:04] Production.ERROR: done
[2025-02-09 12:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:11:04] Production.ERROR: done
[2025-02-09 12:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:11:05
[end_date_ymd] => 2025-02-09 12:11:05
[RateCDR] => 1
)
[2025-02-09 12:11: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` >= '2025-02-09 09:11:05' and `end` < '2025-02-09 12:11: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 ,'')
[2025-02-09 12:11:13] Production.ERROR: CronJobId end10
[2025-02-09 12:11:13] Production.INFO: ==25228== Releasing lock...
[2025-02-09 12:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:11:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:11:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:11:15] Production.INFO: call_cost start
[2025-02-09 12:11:15] Production.INFO: call_cost end
[2025-02-09 12:11:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:11:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:11:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:11:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:11:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:11:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:11:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:11:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:11:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:11:16] Production.INFO: ==25224== Releasing lock...
[2025-02-09 12:11:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:11:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:11:18] Production.INFO: count ==707
[2025-02-09 12:11:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:11:05 - End Time 2025-02-09 12:11:05
[2025-02-09 12:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436971', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436971', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436971', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436971', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:11:19] Production.INFO: ProcessCDR(1,14436971,1,1,2)
[2025-02-09 12:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436971', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436971', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:11:24] Production.INFO: ==25232== Releasing lock...
[2025-02-09 12:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:11:24] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 17:12:02] Production.INFO: ==25288== Lock acquired, processing the job...
[2025-02-09 17:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:12:02] Production.INFO: neon service started
[2025-02-09 17:12:02] Production.INFO: neon service started
[2025-02-09 17:12:02] Production.INFO: ==25288== Releasing lock...
[2025-02-09 17:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:12:02] Production.INFO: ==25290== Lock acquired, processing the job...
[2025-02-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:12:02] Production.INFO: ==25292== Lock acquired, processing the job...
[2025-02-09 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:12:02] Production.INFO: ==25292== Releasing lock...
[2025-02-09 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:12:03] Production.INFO: ==25290== Releasing lock...
[2025-02-09 12:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:12:03] Production.INFO: ==25303== Lock acquired, processing the job...
[2025-02-09 12:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:12:03] Production.INFO: ==25295== Lock acquired, processing the job...
[2025-02-09 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:12:04] Production.INFO: ==25299== Lock acquired, processing the job...
[2025-02-09 12:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:12:04] Production.INFO: ==25297== Lock acquired, processing the job...
[2025-02-09 12:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:12:04] Production.INFO: ==25301== Lock acquired, processing the job...
[2025-02-09 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:12:04] Production.INFO: ==25305== Lock acquired, processing the job...
[2025-02-09 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:12:04] Production.ERROR: done
[2025-02-09 12:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:12:04] Production.INFO: Account Balance Start.
[2025-02-09 12:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:12:04] Production.INFO: 117
[2025-02-09 12:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:12:04] Production.INFO: count ==21
[2025-02-09 12:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:12:04] Production.INFO: count ==21
[2025-02-09 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436975') start
[2025-02-09 12:12:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:12:04] Production.INFO: Total Charge 0
[2025-02-09 12:12:04] Production.INFO: CreateAllLog End
[2025-02-09 12:12:04] Production.INFO: ==25297== Releasing lock...
[2025-02-09 12:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:12:04] Production.ERROR: done
[2025-02-09 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436975') end
[2025-02-09 12:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:12:04] Production.INFO: 1
[2025-02-09 12:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:12:04] Production.INFO: ==25305== Releasing lock...
[2025-02-09 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:12:04] Production.INFO: Account Balance End.
[2025-02-09 12:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:12:04] Production.INFO: ==25301== Releasing lock...
[2025-02-09 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:12:05
[end_date_ymd] => 2025-02-09 12:12:05
[RateCDR] => 1
)
[2025-02-09 12:12: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` >= '2025-02-09 09:12:05' and `end` < '2025-02-09 12:12: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 ,'')
[2025-02-09 12:12:12] Production.ERROR: CronJobId end10
[2025-02-09 12:12:12] Production.INFO: ==25299== Releasing lock...
[2025-02-09 12:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:12:14] Production.INFO: call_cost start
[2025-02-09 12:12:14] Production.INFO: call_cost end
[2025-02-09 12:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:12:15] Production.INFO: ==25295== Releasing lock...
[2025-02-09 12:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:12:19] Production.INFO: count ==709
[2025-02-09 12:12:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:12:05 - End Time 2025-02-09 12:12:05
[2025-02-09 12:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436976', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436976', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436976', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436976', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:12:19] Production.INFO: ProcessCDR(1,14436976,1,1,2)
[2025-02-09 12:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436976', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436976', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:12:24] Production.INFO: ==25303== Releasing lock...
[2025-02-09 12:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:12:24] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 17:13:01] Production.INFO: ==25401== Lock acquired, processing the job...
[2025-02-09 17:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:13:01] Production.INFO: neon service started
[2025-02-09 17:13:01] Production.INFO: neon service started
[2025-02-09 17:13:01] Production.INFO: ==25401== Releasing lock...
[2025-02-09 17:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:13:01] Production.INFO: ==25403== Lock acquired, processing the job...
[2025-02-09 12:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:13:02] Production.INFO: ==25403== Releasing lock...
[2025-02-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:13:02] Production.INFO: ==25405== Lock acquired, processing the job...
[2025-02-09 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:13:02] Production.INFO: ==25405== Releasing lock...
[2025-02-09 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:13:03] Production.INFO: ==25413== Lock acquired, processing the job...
[2025-02-09 12:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:13:03] Production.INFO: ==25417== Lock acquired, processing the job...
[2025-02-09 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:13:03] Production.INFO: Account Balance Start.
[2025-02-09 12:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:13:03] Production.INFO: 117
[2025-02-09 12:13:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:13:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:13:03] Production.INFO: Total Charge 0
[2025-02-09 12:13:03] Production.INFO: CreateAllLog End
[2025-02-09 12:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:13:03] Production.INFO: ==25407== Lock acquired, processing the job...
[2025-02-09 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:13:03] Production.INFO: count ==21
[2025-02-09 12:13:03] Production.INFO: ==25411== Lock acquired, processing the job...
[2025-02-09 12:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:13:03] Production.INFO: count ==21
[2025-02-09 12:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436978') start
[2025-02-09 12:13:03] Production.INFO: Account Balance End.
[2025-02-09 12:13:03] Production.INFO: ==25409== Lock acquired, processing the job...
[2025-02-09 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:13:03] Production.INFO: ==25415== Lock acquired, processing the job...
[2025-02-09 12:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:13:03] Production.ERROR: CronJobId end 12
[2025-02-09 12:13:03] Production.INFO: ==25413== Releasing lock...
[2025-02-09 12:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436978') end
[2025-02-09 12:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:13:03] Production.INFO: 1
[2025-02-09 12:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:13:03] Production.INFO: ==25417== Releasing lock...
[2025-02-09 12:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:13:03] Production.INFO: ==25409== Releasing lock...
[2025-02-09 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:13:04] Production.ERROR: done
[2025-02-09 12:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:13:04] Production.ERROR: done
[2025-02-09 12:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:13:05
[end_date_ymd] => 2025-02-09 12:13:05
[RateCDR] => 1
)
[2025-02-09 12:13: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` >= '2025-02-09 09:13:05' and `end` < '2025-02-09 12:13: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 ,'')
[2025-02-09 12:13:12] Production.ERROR: CronJobId end10
[2025-02-09 12:13:12] Production.INFO: ==25411== Releasing lock...
[2025-02-09 12:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:13:14] Production.INFO: call_cost start
[2025-02-09 12:13:14] Production.INFO: call_cost end
[2025-02-09 12:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:13:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:13:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:13:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:13:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:13:15] Production.INFO: ==25407== Releasing lock...
[2025-02-09 12:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:13:18] Production.INFO: count ==710
[2025-02-09 12:13:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:13:05 - End Time 2025-02-09 12:13:05
[2025-02-09 12:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436981', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436981', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436981', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436981', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:13:18] Production.INFO: ProcessCDR(1,14436981,1,1,2)
[2025-02-09 12:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436981', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436981', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:13:21] Production.INFO: ==25415== Releasing lock...
[2025-02-09 12:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:13:21] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 17:14:01] Production.INFO: ==25475== Lock acquired, processing the job...
[2025-02-09 17:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:14:01] Production.INFO: neon service started
[2025-02-09 17:14:01] Production.INFO: neon service started
[2025-02-09 17:14:01] Production.INFO: ==25475== Releasing lock...
[2025-02-09 17:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:14:02] Production.INFO: ==25477== Lock acquired, processing the job...
[2025-02-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:14:02] Production.INFO: ==25479== Lock acquired, processing the job...
[2025-02-09 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:14:02] Production.INFO: ==25479== Releasing lock...
[2025-02-09 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:14:03] Production.INFO: ==25477== Releasing lock...
[2025-02-09 12:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:14:03] Production.INFO: ==25484== Lock acquired, processing the job...
[2025-02-09 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:14:03] Production.INFO: ==25484== Releasing lock...
[2025-02-09 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:14:03] Production.INFO: ==25490== Lock acquired, processing the job...
[2025-02-09 12:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:14:03] Production.INFO: ==25486== Lock acquired, processing the job...
[2025-02-09 12:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:14:03] Production.INFO: ==25482== Lock acquired, processing the job...
[2025-02-09 12:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:14:03] Production.INFO: ==25493== Lock acquired, processing the job...
[2025-02-09 12:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:14:04] Production.INFO: ==25488== Lock acquired, processing the job...
[2025-02-09 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:14:04] Production.INFO: Account Balance Start.
[2025-02-09 12:14:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:14:04] Production.INFO: 117
[2025-02-09 12:14:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:14:04] Production.INFO: count ==21
[2025-02-09 12:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:14:04] Production.INFO: count ==21
[2025-02-09 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436984') start
[2025-02-09 12:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:14:04] Production.ERROR: done
[2025-02-09 12:14:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436984') end
[2025-02-09 12:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:14:04] Production.INFO: 1
[2025-02-09 12:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:14:04] Production.INFO: Total Charge 0
[2025-02-09 12:14:04] Production.INFO: CreateAllLog End
[2025-02-09 12:14:04] Production.INFO: ==25493== Releasing lock...
[2025-02-09 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:14:04] Production.ERROR: done
[2025-02-09 12:14:04] Production.INFO: Account Balance End.
[2025-02-09 12:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:14:04] Production.INFO: ==25488== Releasing lock...
[2025-02-09 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:14:05
[end_date_ymd] => 2025-02-09 12:14:05
[RateCDR] => 1
)
[2025-02-09 12:14: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` >= '2025-02-09 09:14:05' and `end` < '2025-02-09 12:14: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 ,'')
[2025-02-09 12:14:11] Production.ERROR: CronJobId end10
[2025-02-09 12:14:11] Production.INFO: ==25486== Releasing lock...
[2025-02-09 12:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:14:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:14:13] Production.INFO: call_cost start
[2025-02-09 12:14:13] Production.INFO: call_cost end
[2025-02-09 12:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:14:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:14:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:14:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:14:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:14:14] Production.INFO: ==25482== Releasing lock...
[2025-02-09 12:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:14:18] Production.INFO: count ==711
[2025-02-09 12:14:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:14:05 - End Time 2025-02-09 12:14:05
[2025-02-09 12:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436986', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436986', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436986', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436986', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:14:18] Production.INFO: ProcessCDR(1,14436986,1,1,2)
[2025-02-09 12:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436986', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436986', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:14:23] Production.INFO: ==25490== Releasing lock...
[2025-02-09 12:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:14:23] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 17:15:01] Production.INFO: ==25551== Lock acquired, processing the job...
[2025-02-09 17:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:15:01] Production.INFO: neon service started
[2025-02-09 17:15:01] Production.INFO: neon service started
[2025-02-09 17:15:01] Production.INFO: ==25551== Releasing lock...
[2025-02-09 17:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:15:01] Production.INFO: ==25553== Lock acquired, processing the job...
[2025-02-09 12:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:15:02] Production.INFO: ==25553== Releasing lock...
[2025-02-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:15:02] Production.INFO: ==25555== Lock acquired, processing the job...
[2025-02-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:15:02] Production.INFO: ==25555== Releasing lock...
[2025-02-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:15:02] Production.INFO: ==25559== Lock acquired, processing the job...
[2025-02-09 12:15:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:15:03] Production.INFO: ==25565== Lock acquired, processing the job...
[2025-02-09 12:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:15:03] Production.INFO: ==25557== Lock acquired, processing the job...
[2025-02-09 12:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:15:03] Production.INFO: ==25559== Releasing lock...
[2025-02-09 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:15:03] Production.INFO: ==25561== Lock acquired, processing the job...
[2025-02-09 12:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:15:03] Production.ERROR: done
[2025-02-09 12:15:03] Production.INFO: ==25563== Lock acquired, processing the job...
[2025-02-09 12:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:15:03] Production.INFO: ==25567== Lock acquired, processing the job...
[2025-02-09 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:15:03] Production.INFO: Account Balance Start.
[2025-02-09 12:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:15:03] Production.INFO: 117
[2025-02-09 12:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:15:03] Production.INFO: count ==21
[2025-02-09 12:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:15:03] Production.INFO: count ==21
[2025-02-09 12:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436989') start
[2025-02-09 12:15:03] Production.ERROR: done
[2025-02-09 12:15:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:15:03] Production.INFO: Total Charge 0
[2025-02-09 12:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436989') end
[2025-02-09 12:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:15:03] Production.INFO: 1
[2025-02-09 12:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:15:03] Production.INFO: CreateAllLog End
[2025-02-09 12:15:03] Production.INFO: ==25567== Releasing lock...
[2025-02-09 12:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:15:04] Production.INFO: Account Balance End.
[2025-02-09 12:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:15:04] Production.INFO: ==25563== Releasing lock...
[2025-02-09 12:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:15:04
[end_date_ymd] => 2025-02-09 12:15:04
[RateCDR] => 1
)
[2025-02-09 12:15:04] 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-02-09 09:15:04' and `end` < '2025-02-09 12:15:04'
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-02-09 12:15:11] Production.ERROR: CronJobId end10
[2025-02-09 12:15:11] Production.INFO: ==25561== Releasing lock...
[2025-02-09 12:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:15:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:15:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:15:13] Production.INFO: call_cost start
[2025-02-09 12:15:13] Production.INFO: call_cost end
[2025-02-09 12:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:15:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:15:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:15:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:15:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:15:14] Production.INFO: ==25557== Releasing lock...
[2025-02-09 12:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:15:17] Production.INFO: count ==712
[2025-02-09 12:15:17] Production.ERROR: pbx CDR StartTime 2025-02-09 09:15:04 - End Time 2025-02-09 12:15:04
[2025-02-09 12:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436991', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436991', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436991', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436991', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:15:17] Production.INFO: ProcessCDR(1,14436991,1,1,2)
[2025-02-09 12:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436991', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436991', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:15:22] Production.INFO: ==25565== Releasing lock...
[2025-02-09 12:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:15:22] Production.INFO: 33.5 MB #Memory Used#
[2025-02-09 17:16:01] Production.INFO: ==25622== Lock acquired, processing the job...
[2025-02-09 17:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:16:01] Production.INFO: neon service started
[2025-02-09 17:16:01] Production.INFO: neon service started
[2025-02-09 17:16:01] Production.INFO: ==25622== Releasing lock...
[2025-02-09 17:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:16:02] Production.INFO: ==25624== Lock acquired, processing the job...
[2025-02-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:16:02] Production.INFO: ==25624== Releasing lock...
[2025-02-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:16:02] Production.INFO: ==25626== Lock acquired, processing the job...
[2025-02-09 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:16:02] Production.INFO: ==25626== Releasing lock...
[2025-02-09 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:16:03] Production.INFO: ==25632== Lock acquired, processing the job...
[2025-02-09 12:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:16:03] Production.INFO: ==25628== Lock acquired, processing the job...
[2025-02-09 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:16:03] Production.INFO: ==25638== Lock acquired, processing the job...
[2025-02-09 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:16:03] Production.INFO: ==25630== Lock acquired, processing the job...
[2025-02-09 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:16:03] Production.INFO: ==25634== Lock acquired, processing the job...
[2025-02-09 12:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:16:03] Production.INFO: ==25636== Lock acquired, processing the job...
[2025-02-09 12:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:16:03] Production.INFO: Account Balance Start.
[2025-02-09 12:16:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:16:03] Production.INFO: 117
[2025-02-09 12:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:16:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:16:03] Production.INFO: count ==21
[2025-02-09 12:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:16:03] Production.INFO: count ==21
[2025-02-09 12:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14436993') start
[2025-02-09 12:16:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:16:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:16:04] Production.ERROR: done
[2025-02-09 12:16:04] Production.INFO: Total Charge 0
[2025-02-09 12:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:16:04] Production.INFO: CreateAllLog End
[2025-02-09 12:16:04] Production.INFO: ==25630== Releasing lock...
[2025-02-09 12:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14436993') end
[2025-02-09 12:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:16:04] Production.INFO: 1
[2025-02-09 12:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:16:04] Production.INFO: ==25638== Releasing lock...
[2025-02-09 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:16:04] Production.ERROR: done
[2025-02-09 12:16:04] Production.INFO: Account Balance End.
[2025-02-09 12:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:16:04] Production.INFO: ==25634== Releasing lock...
[2025-02-09 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:16:05
[end_date_ymd] => 2025-02-09 12:16:05
[RateCDR] => 1
)
[2025-02-09 12:16: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` >= '2025-02-09 09:16:05' and `end` < '2025-02-09 12:16: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 ,'')
[2025-02-09 12:16:11] Production.ERROR: CronJobId end10
[2025-02-09 12:16:11] Production.INFO: ==25632== Releasing lock...
[2025-02-09 12:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:16:13] Production.INFO: call_cost start
[2025-02-09 12:16:13] Production.INFO: call_cost end
[2025-02-09 12:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:16:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:16:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:16:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:16:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:16:14] Production.INFO: ==25628== Releasing lock...
[2025-02-09 12:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:16:18] Production.INFO: count ==717
[2025-02-09 12:16:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:16:05 - End Time 2025-02-09 12:16:05
[2025-02-09 12:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436996', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14436996', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436996', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14436996', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:16:18] Production.INFO: ProcessCDR(1,14436996,1,1,2)
[2025-02-09 12:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14436996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14436996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14436996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14436996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436996', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14436996', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:16:22] Production.INFO: ==25636== Releasing lock...
[2025-02-09 12:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:16:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 17:17:02] Production.INFO: ==25703== Lock acquired, processing the job...
[2025-02-09 17:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:17:02] Production.INFO: neon service started
[2025-02-09 17:17:02] Production.INFO: neon service started
[2025-02-09 17:17:02] Production.INFO: ==25703== Releasing lock...
[2025-02-09 17:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:17:02] Production.INFO: ==25705== Lock acquired, processing the job...
[2025-02-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:17:02] Production.INFO: ==25707== Lock acquired, processing the job...
[2025-02-09 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:17:02] Production.INFO: ==25707== Releasing lock...
[2025-02-09 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:17:03] Production.INFO: ==25705== Releasing lock...
[2025-02-09 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:17:04] Production.INFO: ==25712== Lock acquired, processing the job...
[2025-02-09 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:17:04] Production.INFO: ==25714== Lock acquired, processing the job...
[2025-02-09 12:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:17:04] Production.INFO: ==25716== Lock acquired, processing the job...
[2025-02-09 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:17:04] Production.INFO: Account Balance Start.
[2025-02-09 12:17:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:17:04] Production.INFO: 117
[2025-02-09 12:17:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:17:04] Production.INFO: ==25710== Lock acquired, processing the job...
[2025-02-09 12:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:17:04] Production.INFO: ==25712== Releasing lock...
[2025-02-09 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:17:04] Production.INFO: ==25718== Lock acquired, processing the job...
[2025-02-09 12:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:17:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:17:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:17:04] Production.INFO: Total Charge 0
[2025-02-09 12:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:17:04] Production.INFO: ==25720== Lock acquired, processing the job...
[2025-02-09 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:17:04] Production.INFO: CreateAllLog End
[2025-02-09 12:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:17:04] Production.INFO: count ==21
[2025-02-09 12:17:04] Production.ERROR: done
[2025-02-09 12:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:17:04] Production.INFO: count ==21
[2025-02-09 12:17:04] Production.INFO: Account Balance End.
[2025-02-09 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437000') start
[2025-02-09 12:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:17:04] Production.INFO: ==25716== Releasing lock...
[2025-02-09 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:17:04] Production.ERROR: done
[2025-02-09 12:17:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437000') end
[2025-02-09 12:17:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:17:05] Production.INFO: 1
[2025-02-09 12:17:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:17:05] Production.INFO: ==25720== Releasing lock...
[2025-02-09 12:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:17:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:17:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:17:06
[end_date_ymd] => 2025-02-09 12:17:06
[RateCDR] => 1
)
[2025-02-09 12:17: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-02-09 09:17:06' and `end` < '2025-02-09 12:17: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-02-09 12:17:12] Production.ERROR: CronJobId end10
[2025-02-09 12:17:12] Production.INFO: ==25714== Releasing lock...
[2025-02-09 12:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:17:15] Production.INFO: call_cost start
[2025-02-09 12:17:15] Production.INFO: call_cost end
[2025-02-09 12:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:17:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:17:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:17:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:17:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:17:16] Production.INFO: ==25710== Releasing lock...
[2025-02-09 12:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:17:20] Production.INFO: count ==721
[2025-02-09 12:17:20] Production.ERROR: pbx CDR StartTime 2025-02-09 09:17:06 - End Time 2025-02-09 12:17:06
[2025-02-09 12:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437001', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437001', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437001', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437001', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:17:20] Production.INFO: ProcessCDR(1,14437001,1,1,2)
[2025-02-09 12:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:17:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:17:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437001', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437001', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:17:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:17:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:17:25] Production.INFO: ==25718== Releasing lock...
[2025-02-09 12:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:17:25] Production.INFO: 34 MB #Memory Used#
[2025-02-09 17:18:01] Production.INFO: ==25789== Lock acquired, processing the job...
[2025-02-09 17:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:18:01] Production.INFO: neon service started
[2025-02-09 17:18:01] Production.INFO: neon service started
[2025-02-09 17:18:01] Production.INFO: ==25789== Releasing lock...
[2025-02-09 17:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:18:02] Production.INFO: ==25793== Lock acquired, processing the job...
[2025-02-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:18:02] Production.INFO: ==25793== Releasing lock...
[2025-02-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:18:02] Production.INFO: ==25791== Lock acquired, processing the job...
[2025-02-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:18:02] Production.INFO: ==25791== Releasing lock...
[2025-02-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:18:03] Production.INFO: ==25796== Lock acquired, processing the job...
[2025-02-09 12:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:18:03] Production.INFO: ==25800== Lock acquired, processing the job...
[2025-02-09 12:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:18:03] Production.INFO: ==25804== Lock acquired, processing the job...
[2025-02-09 12:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:18:03] Production.INFO: ==25798== Lock acquired, processing the job...
[2025-02-09 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:18:03] Production.INFO: ==25802== Lock acquired, processing the job...
[2025-02-09 12:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:18:03] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-02-09 12:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:18:03] Production.INFO: Account Balance Start.
[2025-02-09 12:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:18:03] Production.INFO: 117
[2025-02-09 12:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:18:03] Production.ERROR: done
[2025-02-09 12:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:18:03] Production.INFO: Total Charge 0
[2025-02-09 12:18:04] Production.INFO: count ==21
[2025-02-09 12:18:04] Production.INFO: CreateAllLog End
[2025-02-09 12:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:18:04] Production.INFO: count ==21
[2025-02-09 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437005') start
[2025-02-09 12:18:04] Production.INFO: ==25798== Releasing lock...
[2025-02-09 12:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:18:04] Production.ERROR: done
[2025-02-09 12:18:04] Production.INFO: Account Balance End.
[2025-02-09 12:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:18:04] Production.INFO: ==25802== Releasing lock...
[2025-02-09 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437005') end
[2025-02-09 12:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:18:04] Production.INFO: 1
[2025-02-09 12:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:18:04] Production.INFO: ==25806== Releasing lock...
[2025-02-09 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:18:05
[end_date_ymd] => 2025-02-09 12:18:05
[RateCDR] => 1
)
[2025-02-09 12:18: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` >= '2025-02-09 09:18:05' and `end` < '2025-02-09 12:18: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 ,'')
[2025-02-09 12:18:11] Production.ERROR: CronJobId end10
[2025-02-09 12:18:11] Production.INFO: ==25800== Releasing lock...
[2025-02-09 12:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:18:13] Production.INFO: call_cost start
[2025-02-09 12:18:13] Production.INFO: call_cost end
[2025-02-09 12:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:18:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:18:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:18:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:18:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:18:14] Production.INFO: ==25796== Releasing lock...
[2025-02-09 12:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:18:18] Production.INFO: count ==744
[2025-02-09 12:18:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:18:05 - End Time 2025-02-09 12:18:05
[2025-02-09 12:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437006', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437006', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437006', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437006', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:18:18] Production.INFO: ProcessCDR(1,14437006,1,1,2)
[2025-02-09 12:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437006', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437006', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:18:22] Production.INFO: ==25804== Releasing lock...
[2025-02-09 12:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:18:22] Production.INFO: 33.75 MB #Memory Used#
[2025-02-09 17:19:02] Production.INFO: ==25865== Lock acquired, processing the job...
[2025-02-09 17:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:19:02] Production.INFO: neon service started
[2025-02-09 17:19:02] Production.INFO: neon service started
[2025-02-09 17:19:02] Production.INFO: ==25865== Releasing lock...
[2025-02-09 17:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:19:02] Production.INFO: ==25867== Lock acquired, processing the job...
[2025-02-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:19:02] Production.INFO: ==25867== Releasing lock...
[2025-02-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:19:02] Production.INFO: ==25869== Lock acquired, processing the job...
[2025-02-09 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:19:02] Production.INFO: ==25869== Releasing lock...
[2025-02-09 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:19:03] Production.INFO: ==25877== Lock acquired, processing the job...
[2025-02-09 12:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:19:03] Production.INFO: Account Balance Start.
[2025-02-09 12:19:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:19:03] Production.INFO: 117
[2025-02-09 12:19:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:19:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:19:03] Production.INFO: Total Charge 0
[2025-02-09 12:19:03] Production.INFO: CreateAllLog End
[2025-02-09 12:19:03] Production.INFO: Account Balance End.
[2025-02-09 12:19:03] Production.ERROR: CronJobId end 12
[2025-02-09 12:19:03] Production.INFO: ==25877== Releasing lock...
[2025-02-09 12:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:19:03] Production.INFO: ==25871== Lock acquired, processing the job...
[2025-02-09 12:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:19:03] Production.INFO: ==25881== Lock acquired, processing the job...
[2025-02-09 12:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:19:04] Production.INFO: ==25873== Lock acquired, processing the job...
[2025-02-09 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:19:04] Production.INFO: ==25875== Lock acquired, processing the job...
[2025-02-09 12:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:19:04] Production.INFO: ==25879== Lock acquired, processing the job...
[2025-02-09 12:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:19:04] Production.INFO: count ==21
[2025-02-09 12:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:19:04] Production.INFO: count ==21
[2025-02-09 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437009') start
[2025-02-09 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437009') end
[2025-02-09 12:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:19:04] Production.INFO: 1
[2025-02-09 12:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:19:04] Production.INFO: ==25881== Releasing lock...
[2025-02-09 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:19:04] Production.ERROR: done
[2025-02-09 12:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:19:04] Production.INFO: ==25873== Releasing lock...
[2025-02-09 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:19:04] Production.ERROR: done
[2025-02-09 12:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:19:05
[end_date_ymd] => 2025-02-09 12:19:05
[RateCDR] => 1
)
[2025-02-09 12:19: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` >= '2025-02-09 09:19:05' and `end` < '2025-02-09 12:19: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 ,'')
[2025-02-09 12:19:11] Production.ERROR: CronJobId end10
[2025-02-09 12:19:11] Production.INFO: ==25875== Releasing lock...
[2025-02-09 12:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:19:13] Production.INFO: call_cost start
[2025-02-09 12:19:13] Production.INFO: call_cost end
[2025-02-09 12:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:19:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:19:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:19:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:19:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:19:14] Production.INFO: ==25871== Releasing lock...
[2025-02-09 12:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:19:18] Production.INFO: count ==743
[2025-02-09 12:19:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:19:05 - End Time 2025-02-09 12:19:05
[2025-02-09 12:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437011', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437011', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437011', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437011', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:19:18] Production.INFO: ProcessCDR(1,14437011,1,1,2)
[2025-02-09 12:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437011', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437011', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:19:21] Production.INFO: ==25879== Releasing lock...
[2025-02-09 12:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:19:21] Production.INFO: 34 MB #Memory Used#
[2025-02-09 17:20:01] Production.INFO: ==25944== Lock acquired, processing the job...
[2025-02-09 17:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:20:01] Production.INFO: neon service started
[2025-02-09 17:20:01] Production.INFO: neon service started
[2025-02-09 17:20:01] Production.INFO: ==25944== Releasing lock...
[2025-02-09 17:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:20:02] Production.INFO: ==25947== Lock acquired, processing the job...
[2025-02-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:20:02] Production.INFO: ==25949== Lock acquired, processing the job...
[2025-02-09 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:20:02] Production.INFO: ==25949== Releasing lock...
[2025-02-09 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:20:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:20:02] Production.INFO: ==25947== Releasing lock...
[2025-02-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:20:03] Production.INFO: ==25955== Lock acquired, processing the job...
[2025-02-09 12:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:20:03] Production.INFO: ==25957== Lock acquired, processing the job...
[2025-02-09 12:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:20:04] Production.INFO: ==25951== Lock acquired, processing the job...
[2025-02-09 12:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 12:20:04] Production.INFO: ==25953== Lock acquired, processing the job...
[2025-02-09 12:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:20:04] Production.INFO: ==25966== Lock acquired, processing the job...
[2025-02-09 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:20:04] Production.INFO: ==25955== Releasing lock...
[2025-02-09 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 12:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 12:20:04] Production.ERROR: CronJob PID - 25953
[2025-02-09 12:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 12:20:04] Production.ERROR: CronJob ID - 5
[2025-02-09 12:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 12:20:00
[2025-02-09 12:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 12:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 12:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 12:20:04] Production.ERROR: CronJob PID - 25957
[2025-02-09 12:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 12:20:04] Production.ERROR: CronJob ID - 10
[2025-02-09 12:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 12:20:00
[2025-02-09 12:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 12:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 12:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 12:20:04] Production.ERROR: CronJob PID - 25966
[2025-02-09 12:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 12:20:04] Production.ERROR: CronJob ID - 19
[2025-02-09 12:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 12:20:00
[2025-02-09 12:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 12:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 12:20:04] Production.INFO: ==25959== Lock acquired, processing the job...
[2025-02-09 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 12:20:04] Production.INFO: ==25951== Releasing lock...
[2025-02-09 12:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 12:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 12:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:20:04] Production.INFO: count ==21
[2025-02-09 12:20:04] Production.INFO: ==25961== Lock acquired, processing the job...
[2025-02-09 12:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:20:04] Production.INFO: count ==21
[2025-02-09 12:20:04] Production.INFO: ==25963== Lock acquired, processing the job...
[2025-02-09 12:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437013') start
[2025-02-09 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:20:04] Production.INFO: Account Balance Start.
[2025-02-09 12:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:20:04] Production.INFO: 117
[2025-02-09 12:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:20:04] Production.INFO: Total Charge 0
[2025-02-09 12:20:04] Production.INFO: CreateAllLog End
[2025-02-09 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437013') end
[2025-02-09 12:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:20:04] Production.INFO: 1
[2025-02-09 12:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:20:04] Production.INFO: ==25966== Releasing lock...
[2025-02-09 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:20:05] Production.ERROR: done
[2025-02-09 12:20:05] Production.ERROR: done
[2025-02-09 12:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:20:05] Production.INFO: Account Balance End.
[2025-02-09 12:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 12:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437016', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 12:20:05] Production.ERROR: CronJobId end 12
[2025-02-09 12:20:05] Production.INFO: ==25959== Releasing lock...
[2025-02-09 12:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:20:05] Production.ERROR: done
[2025-02-09 12:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:20:06
[end_date_ymd] => 2025-02-09 12:20:06
[RateCDR] => 1
)
[2025-02-09 12:20: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-02-09 09:20:06' and `end` < '2025-02-09 12:20: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-02-09 12:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437016', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 12:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 12:20:09] Production.INFO: ProcessCDR(1,14437016,1,1,2)
[2025-02-09 12:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437016,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437016,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:20:09] Production.INFO: ==25963== Releasing lock...
[2025-02-09 12:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 12:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 12:20:14] Production.ERROR: CronJobId end10
[2025-02-09 12:20:14] Production.INFO: ==25957== Releasing lock...
[2025-02-09 12:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:20:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:20:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:20:16] Production.INFO: call_cost start
[2025-02-09 12:20:16] Production.INFO: call_cost end
[2025-02-09 12:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:20:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:20:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:20:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:20:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:20:17] Production.INFO: ==25953== Releasing lock...
[2025-02-09 12:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:20:19] Production.INFO: count ==751
[2025-02-09 12:20:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:20:06 - End Time 2025-02-09 12:20:06
[2025-02-09 12:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437017', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437017', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437017', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437017', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:20:19] Production.INFO: ProcessCDR(1,14437017,1,1,2)
[2025-02-09 12:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437017', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437017', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:20:22] Production.INFO: ==25961== Releasing lock...
[2025-02-09 12:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:20:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 17:21:02] Production.INFO: ==26022== Lock acquired, processing the job...
[2025-02-09 17:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:21:02] Production.INFO: neon service started
[2025-02-09 17:21:02] Production.INFO: neon service started
[2025-02-09 17:21:02] Production.INFO: ==26022== Releasing lock...
[2025-02-09 17:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:21:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 17:21:02] Production.INFO: ==26027== Lock acquired, processing the job...
[2025-02-09 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:21:02] Production.INFO: ==26027== Releasing lock...
[2025-02-09 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:21:02] Production.INFO: ==26025== Lock acquired, processing the job...
[2025-02-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:21:02] Production.INFO: ==26025== Releasing lock...
[2025-02-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:21:03] Production.INFO: ==26029== Lock acquired, processing the job...
[2025-02-09 12:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:21:03] Production.INFO: ==26031== Lock acquired, processing the job...
[2025-02-09 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:21:03] Production.INFO: ==26037== Lock acquired, processing the job...
[2025-02-09 12:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:21:03] Production.INFO: ==26033== Lock acquired, processing the job...
[2025-02-09 12:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:21:03] Production.INFO: ==26031== Releasing lock...
[2025-02-09 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:21:03] Production.INFO: ==26035== Lock acquired, processing the job...
[2025-02-09 12:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:21:03] Production.INFO: ==26039== Lock acquired, processing the job...
[2025-02-09 12:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:21:03] Production.ERROR: done
[2025-02-09 12:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:21:03] Production.INFO: Account Balance Start.
[2025-02-09 12:21:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:21:03] Production.INFO: 117
[2025-02-09 12:21:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:21:04] Production.INFO: Total Charge 0
[2025-02-09 12:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:21:04] Production.INFO: CreateAllLog End
[2025-02-09 12:21:04] Production.ERROR: done
[2025-02-09 12:21:04] Production.INFO: count ==21
[2025-02-09 12:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:21:04] Production.INFO: count ==21
[2025-02-09 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437021') start
[2025-02-09 12:21:04] Production.INFO: Account Balance End.
[2025-02-09 12:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:21:04] Production.INFO: ==26035== Releasing lock...
[2025-02-09 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437021') end
[2025-02-09 12:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:21:04] Production.INFO: 1
[2025-02-09 12:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:21:04] Production.INFO: ==26039== Releasing lock...
[2025-02-09 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:21:05
[end_date_ymd] => 2025-02-09 12:21:05
[RateCDR] => 1
)
[2025-02-09 12:21: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` >= '2025-02-09 09:21:05' and `end` < '2025-02-09 12:21: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 ,'')
[2025-02-09 12:21:11] Production.ERROR: CronJobId end10
[2025-02-09 12:21:11] Production.INFO: ==26033== Releasing lock...
[2025-02-09 12:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:21:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:21:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:21:13] Production.INFO: call_cost start
[2025-02-09 12:21:13] Production.INFO: call_cost end
[2025-02-09 12:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:21:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:21:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:21:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:21:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:21:14] Production.INFO: ==26029== Releasing lock...
[2025-02-09 12:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:21:19] Production.INFO: count ==785
[2025-02-09 12:21:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:21:05 - End Time 2025-02-09 12:21:05
[2025-02-09 12:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437022', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437022', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437022', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437022', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:21:19] Production.INFO: ProcessCDR(1,14437022,1,1,2)
[2025-02-09 12:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437022', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437022', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:21:22] Production.INFO: ==26037== Releasing lock...
[2025-02-09 12:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:21:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 17:22:01] Production.INFO: ==26095== Lock acquired, processing the job...
[2025-02-09 17:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:22:01] Production.INFO: neon service started
[2025-02-09 17:22:01] Production.INFO: neon service started
[2025-02-09 17:22:01] Production.INFO: ==26095== Releasing lock...
[2025-02-09 17:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:22:01] Production.INFO: ==26097== Lock acquired, processing the job...
[2025-02-09 12:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:22:02] Production.INFO: ==26097== Releasing lock...
[2025-02-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:22:02] Production.INFO: ==26099== Lock acquired, processing the job...
[2025-02-09 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:22:02] Production.INFO: ==26099== Releasing lock...
[2025-02-09 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:22:03] Production.INFO: ==26104== Lock acquired, processing the job...
[2025-02-09 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:22:03] Production.INFO: ==26110== Lock acquired, processing the job...
[2025-02-09 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:22:03] Production.INFO: ==26102== Lock acquired, processing the job...
[2025-02-09 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:22:03] Production.INFO: ==26106== Lock acquired, processing the job...
[2025-02-09 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:22:03] Production.INFO: ==26108== Lock acquired, processing the job...
[2025-02-09 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:22:03] Production.INFO: ==26112== Lock acquired, processing the job...
[2025-02-09 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:22:03] Production.ERROR: done
[2025-02-09 12:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:22:03] Production.INFO: ==26104== Releasing lock...
[2025-02-09 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:22:03] Production.ERROR: done
[2025-02-09 12:22:03] Production.INFO: Account Balance Start.
[2025-02-09 12:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:22:03] Production.INFO: 117
[2025-02-09 12:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:22:03] Production.INFO: count ==21
[2025-02-09 12:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:22:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:22:03] Production.INFO: count ==21
[2025-02-09 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437026') start
[2025-02-09 12:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:22:03] Production.INFO: Total Charge 0
[2025-02-09 12:22:03] Production.INFO: CreateAllLog End
[2025-02-09 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437026') end
[2025-02-09 12:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:22:03] Production.INFO: 1
[2025-02-09 12:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:22:03] Production.INFO: Account Balance End.
[2025-02-09 12:22:04] Production.INFO: ==26112== Releasing lock...
[2025-02-09 12:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:22:04] Production.INFO: ==26108== Releasing lock...
[2025-02-09 12:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:22:04
[end_date_ymd] => 2025-02-09 12:22:04
[RateCDR] => 1
)
[2025-02-09 12:22:04] 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-02-09 09:22:04' and `end` < '2025-02-09 12:22:04'
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-02-09 12:22:10] Production.ERROR: CronJobId end10
[2025-02-09 12:22:10] Production.INFO: ==26106== Releasing lock...
[2025-02-09 12:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:22:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:22:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:22:13] Production.INFO: call_cost start
[2025-02-09 12:22:13] Production.INFO: call_cost end
[2025-02-09 12:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:22:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:22:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:22:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:22:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:22:14] Production.INFO: ==26102== Releasing lock...
[2025-02-09 12:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:22:17] Production.INFO: count ==792
[2025-02-09 12:22:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:22:04 - End Time 2025-02-09 12:22:04
[2025-02-09 12:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437027', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437027', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437027', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437027', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:22:18] Production.INFO: ProcessCDR(1,14437027,1,1,2)
[2025-02-09 12:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437027', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437027', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:22:22] Production.INFO: ==26110== Releasing lock...
[2025-02-09 12:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:22:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 17:23:01] Production.INFO: ==26168== Lock acquired, processing the job...
[2025-02-09 17:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:23:01] Production.INFO: neon service started
[2025-02-09 17:23:01] Production.INFO: neon service started
[2025-02-09 17:23:01] Production.INFO: ==26168== Releasing lock...
[2025-02-09 17:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:23:02] Production.INFO: ==26170== Lock acquired, processing the job...
[2025-02-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:23:02] Production.INFO: ==26172== Lock acquired, processing the job...
[2025-02-09 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:23:02] Production.INFO: ==26172== Releasing lock...
[2025-02-09 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:23:02] Production.INFO: ==26170== Releasing lock...
[2025-02-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:23:03] Production.INFO: ==26179== Lock acquired, processing the job...
[2025-02-09 12:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:23:03] Production.INFO: ==26181== Lock acquired, processing the job...
[2025-02-09 12:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:23:03] Production.INFO: Account Balance Start.
[2025-02-09 12:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:23:03] Production.INFO: 117
[2025-02-09 12:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:23:03] Production.INFO: ==26175== Lock acquired, processing the job...
[2025-02-09 12:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:23:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:23:03] Production.INFO: Total Charge 0
[2025-02-09 12:23:03] Production.INFO: ==26177== Lock acquired, processing the job...
[2025-02-09 12:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:23:03] Production.INFO: CreateAllLog End
[2025-02-09 12:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:23:04] Production.INFO: Account Balance End.
[2025-02-09 12:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:23:04] Production.INFO: ==26181== Releasing lock...
[2025-02-09 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:23:04] Production.INFO: ==26183== Lock acquired, processing the job...
[2025-02-09 12:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:23:04] Production.INFO: ==26185== Lock acquired, processing the job...
[2025-02-09 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:23:04] Production.INFO: ==26177== Releasing lock...
[2025-02-09 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:23:04] Production.INFO: count ==21
[2025-02-09 12:23:04] Production.ERROR: done
[2025-02-09 12:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:23:04] Production.INFO: count ==21
[2025-02-09 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437031') start
[2025-02-09 12:23:04] Production.ERROR: done
[2025-02-09 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437031') end
[2025-02-09 12:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:23:04] Production.INFO: 1
[2025-02-09 12:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:23:04] Production.INFO: ==26185== Releasing lock...
[2025-02-09 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:23:05
[end_date_ymd] => 2025-02-09 12:23:05
[RateCDR] => 1
)
[2025-02-09 12:23: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` >= '2025-02-09 09:23:05' and `end` < '2025-02-09 12:23: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 ,'')
[2025-02-09 12:23:10] Production.ERROR: CronJobId end10
[2025-02-09 12:23:10] Production.INFO: ==26179== Releasing lock...
[2025-02-09 12:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:23:14] Production.INFO: call_cost start
[2025-02-09 12:23:14] Production.INFO: call_cost end
[2025-02-09 12:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:23:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:23:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:23:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:23:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:23:15] Production.INFO: ==26175== Releasing lock...
[2025-02-09 12:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:23:18] Production.INFO: count ==794
[2025-02-09 12:23:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:23:05 - End Time 2025-02-09 12:23:05
[2025-02-09 12:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437032', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437032', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437032', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437032', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:23:18] Production.INFO: ProcessCDR(1,14437032,1,1,2)
[2025-02-09 12:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437032', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437032', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:23:23] Production.INFO: ==26183== Releasing lock...
[2025-02-09 12:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:23:23] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 17:24:02] Production.INFO: ==26242== Lock acquired, processing the job...
[2025-02-09 17:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:24:02] Production.INFO: neon service started
[2025-02-09 17:24:02] Production.INFO: neon service started
[2025-02-09 17:24:02] Production.INFO: ==26242== Releasing lock...
[2025-02-09 17:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:24:02] Production.INFO: ==26244== Lock acquired, processing the job...
[2025-02-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:24:02] Production.INFO: ==26244== Releasing lock...
[2025-02-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:24:03] Production.INFO: ==26246== Lock acquired, processing the job...
[2025-02-09 17:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:24:03] Production.INFO: ==26246== Releasing lock...
[2025-02-09 17:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:24:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:24:03] Production.INFO: ==26248== Lock acquired, processing the job...
[2025-02-09 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:24:03] Production.INFO: ==26250== Lock acquired, processing the job...
[2025-02-09 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:24:03] Production.INFO: ==26256== Lock acquired, processing the job...
[2025-02-09 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:24:04] Production.INFO: ==26252== Lock acquired, processing the job...
[2025-02-09 12:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:24:04] Production.INFO: ==26254== Lock acquired, processing the job...
[2025-02-09 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:24:04] Production.INFO: ==26250== Releasing lock...
[2025-02-09 12:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:24:04] Production.INFO: ==26258== Lock acquired, processing the job...
[2025-02-09 12:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:24:04] Production.INFO: Account Balance Start.
[2025-02-09 12:24:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:24:04] Production.INFO: 117
[2025-02-09 12:24:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:24:04] Production.ERROR: done
[2025-02-09 12:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:24:04] Production.INFO: Total Charge 0
[2025-02-09 12:24:04] Production.INFO: CreateAllLog End
[2025-02-09 12:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:24:04] Production.INFO: count ==21
[2025-02-09 12:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:24:04] Production.ERROR: done
[2025-02-09 12:24:04] Production.INFO: count ==21
[2025-02-09 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437036') start
[2025-02-09 12:24:04] Production.INFO: Account Balance End.
[2025-02-09 12:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:24:04] Production.INFO: ==26254== Releasing lock...
[2025-02-09 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437036') end
[2025-02-09 12:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:24:04] Production.INFO: 1
[2025-02-09 12:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:24:04] Production.INFO: ==26258== Releasing lock...
[2025-02-09 12:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:24:05
[end_date_ymd] => 2025-02-09 12:24:05
[RateCDR] => 1
)
[2025-02-09 12:24: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` >= '2025-02-09 09:24:05' and `end` < '2025-02-09 12:24: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 ,'')
[2025-02-09 12:24:12] Production.ERROR: CronJobId end10
[2025-02-09 12:24:12] Production.INFO: ==26252== Releasing lock...
[2025-02-09 12:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:24:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:24:13] Production.INFO: call_cost start
[2025-02-09 12:24:13] Production.INFO: call_cost end
[2025-02-09 12:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:24:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:24:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:24:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:24:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:24:14] Production.INFO: ==26248== Releasing lock...
[2025-02-09 12:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:24:18] Production.INFO: count ==798
[2025-02-09 12:24:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:24:05 - End Time 2025-02-09 12:24:05
[2025-02-09 12:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437037', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437037', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437037', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437037', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:24:18] Production.INFO: ProcessCDR(1,14437037,1,1,2)
[2025-02-09 12:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437037', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437037', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:24:23] Production.INFO: ==26256== Releasing lock...
[2025-02-09 12:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:24:23] Production.INFO: 34 MB #Memory Used#
[2025-02-09 17:25:01] Production.INFO: ==26314== Lock acquired, processing the job...
[2025-02-09 17:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:25:01] Production.INFO: neon service started
[2025-02-09 17:25:01] Production.INFO: neon service started
[2025-02-09 17:25:01] Production.INFO: ==26314== Releasing lock...
[2025-02-09 17:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:25:02] Production.INFO: ==26318== Lock acquired, processing the job...
[2025-02-09 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:25:02] Production.INFO: ==26318== Releasing lock...
[2025-02-09 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:25:02] Production.INFO: ==26316== Lock acquired, processing the job...
[2025-02-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:25:02] Production.INFO: ==26316== Releasing lock...
[2025-02-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:25:03] Production.INFO: ==26321== Lock acquired, processing the job...
[2025-02-09 12:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:25:03] Production.INFO: ==26325== Lock acquired, processing the job...
[2025-02-09 12:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:25:03] Production.INFO: ==26329== Lock acquired, processing the job...
[2025-02-09 12:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:25:03] Production.INFO: ==26323== Lock acquired, processing the job...
[2025-02-09 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:25:03] Production.INFO: ==26327== Lock acquired, processing the job...
[2025-02-09 12:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:25:03] Production.INFO: ==26331== Lock acquired, processing the job...
[2025-02-09 12:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:25:03] Production.INFO: Account Balance Start.
[2025-02-09 12:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:25:03] Production.INFO: 117
[2025-02-09 12:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:25:03] Production.INFO: Total Charge 0
[2025-02-09 12:25:03] Production.INFO: count ==21
[2025-02-09 12:25:03] Production.INFO: CreateAllLog End
[2025-02-09 12:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:25:04] Production.INFO: count ==21
[2025-02-09 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437041') start
[2025-02-09 12:25:04] Production.INFO: ==26323== Releasing lock...
[2025-02-09 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:25:04] Production.ERROR: done
[2025-02-09 12:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437041') end
[2025-02-09 12:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:25:04] Production.INFO: 1
[2025-02-09 12:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:25:04] Production.INFO: Account Balance End.
[2025-02-09 12:25:04] Production.INFO: ==26331== Releasing lock...
[2025-02-09 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:25:04] Production.INFO: ==26327== Releasing lock...
[2025-02-09 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:25:04] Production.ERROR: done
[2025-02-09 12:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:25:05
[end_date_ymd] => 2025-02-09 12:25:05
[RateCDR] => 1
)
[2025-02-09 12:25: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` >= '2025-02-09 09:25:05' and `end` < '2025-02-09 12:25: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 ,'')
[2025-02-09 12:25:12] Production.ERROR: CronJobId end10
[2025-02-09 12:25:12] Production.INFO: ==26325== Releasing lock...
[2025-02-09 12:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:25:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:25:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:25:14] Production.INFO: call_cost start
[2025-02-09 12:25:14] Production.INFO: call_cost end
[2025-02-09 12:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:25:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:25:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:25:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:25:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:25:15] Production.INFO: ==26321== Releasing lock...
[2025-02-09 12:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:25:18] Production.INFO: count ==803
[2025-02-09 12:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:25:05 - End Time 2025-02-09 12:25:05
[2025-02-09 12:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437042', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437042', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437042', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437042', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:25:18] Production.INFO: ProcessCDR(1,14437042,1,1,2)
[2025-02-09 12:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437042', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437042', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:25:23] Production.INFO: ==26329== Releasing lock...
[2025-02-09 12:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:25:23] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 17:26:02] Production.INFO: ==26391== Lock acquired, processing the job...
[2025-02-09 17:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:26:02] Production.INFO: neon service started
[2025-02-09 17:26:02] Production.INFO: neon service started
[2025-02-09 17:26:02] Production.INFO: ==26391== Releasing lock...
[2025-02-09 17:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:26:02] Production.INFO: ==26395== Lock acquired, processing the job...
[2025-02-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:26:02] Production.INFO: ==26395== Releasing lock...
[2025-02-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:26:02] Production.INFO: ==26393== Lock acquired, processing the job...
[2025-02-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:26:02] Production.INFO: ==26393== Releasing lock...
[2025-02-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:26:03] Production.INFO: ==26398== Lock acquired, processing the job...
[2025-02-09 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:26:03] Production.INFO: ==26406== Lock acquired, processing the job...
[2025-02-09 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:26:03] Production.INFO: ==26408== Lock acquired, processing the job...
[2025-02-09 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:26:03] Production.INFO: count ==21
[2025-02-09 12:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:26:03] Production.INFO: count ==21
[2025-02-09 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437044') start
[2025-02-09 12:26:03] Production.INFO: ==26402== Lock acquired, processing the job...
[2025-02-09 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:26:03] Production.INFO: ==26400== Lock acquired, processing the job...
[2025-02-09 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:26:03] Production.INFO: ==26404== Lock acquired, processing the job...
[2025-02-09 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437044') end
[2025-02-09 12:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:26:03] Production.INFO: 1
[2025-02-09 12:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:26:04] Production.INFO: ==26408== Releasing lock...
[2025-02-09 12:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:26:04] Production.ERROR: done
[2025-02-09 12:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:26:04] Production.INFO: Account Balance Start.
[2025-02-09 12:26:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:26:04] Production.INFO: 117
[2025-02-09 12:26:04] Production.ERROR: done
[2025-02-09 12:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:26:04] Production.INFO: Total Charge 0
[2025-02-09 12:26:04] Production.INFO: CreateAllLog End
[2025-02-09 12:26:04] Production.INFO: ==26400== Releasing lock...
[2025-02-09 12:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:26:04] Production.INFO: Account Balance End.
[2025-02-09 12:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:26:04] Production.INFO: ==26404== Releasing lock...
[2025-02-09 12:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:26:05
[end_date_ymd] => 2025-02-09 12:26:05
[RateCDR] => 1
)
[2025-02-09 12:26: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` >= '2025-02-09 09:26:05' and `end` < '2025-02-09 12:26: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 ,'')
[2025-02-09 12:26:13] Production.ERROR: CronJobId end10
[2025-02-09 12:26:13] Production.INFO: ==26402== Releasing lock...
[2025-02-09 12:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:26:14] Production.INFO: call_cost start
[2025-02-09 12:26:14] Production.INFO: call_cost end
[2025-02-09 12:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:26:15] Production.INFO: ==26398== Releasing lock...
[2025-02-09 12:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:26:19] Production.INFO: count ==804
[2025-02-09 12:26:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:26:05 - End Time 2025-02-09 12:26:05
[2025-02-09 12:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437047', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437047', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437047', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437047', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:26:19] Production.INFO: ProcessCDR(1,14437047,1,1,2)
[2025-02-09 12:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437047', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437047', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:26:24] Production.INFO: ==26406== Releasing lock...
[2025-02-09 12:26:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:26:24] Production.INFO: 34 MB #Memory Used#
[2025-02-09 17:27:01] Production.INFO: ==26470== Lock acquired, processing the job...
[2025-02-09 17:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:27:01] Production.INFO: neon service started
[2025-02-09 17:27:01] Production.INFO: neon service started
[2025-02-09 17:27:01] Production.INFO: ==26470== Releasing lock...
[2025-02-09 17:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:27:01] Production.INFO: ==26473== Lock acquired, processing the job...
[2025-02-09 12:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:27:02] Production.INFO: ==26473== Releasing lock...
[2025-02-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:27:02] Production.INFO: ==26475== Lock acquired, processing the job...
[2025-02-09 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:27:02] Production.INFO: ==26475== Releasing lock...
[2025-02-09 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:27:03] Production.INFO: ==26479== Lock acquired, processing the job...
[2025-02-09 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:27:03] Production.INFO: ==26487== Lock acquired, processing the job...
[2025-02-09 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:27:03] Production.INFO: ==26477== Lock acquired, processing the job...
[2025-02-09 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:27:03] Production.INFO: ==26481== Lock acquired, processing the job...
[2025-02-09 12:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:27:03] Production.INFO: count ==21
[2025-02-09 12:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:27:03] Production.INFO: ==26485== Lock acquired, processing the job...
[2025-02-09 12:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:27:03] Production.INFO: count ==21
[2025-02-09 12:27:03] Production.INFO: ==26483== Lock acquired, processing the job...
[2025-02-09 12:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437048') start
[2025-02-09 12:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:27:03] Production.INFO: ==26479== Releasing lock...
[2025-02-09 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437048') end
[2025-02-09 12:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:27:03] Production.INFO: 1
[2025-02-09 12:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:27:03] Production.INFO: Account Balance Start.
[2025-02-09 12:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:27:03] Production.INFO: 117
[2025-02-09 12:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:27:03] Production.INFO: ==26487== Releasing lock...
[2025-02-09 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:27:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:27:03] Production.INFO: Total Charge 0
[2025-02-09 12:27:03] Production.INFO: CreateAllLog End
[2025-02-09 12:27:03] Production.ERROR: done
[2025-02-09 12:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:27:03] Production.ERROR: done
[2025-02-09 12:27:04] Production.INFO: Account Balance End.
[2025-02-09 12:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:27:04] Production.INFO: ==26483== Releasing lock...
[2025-02-09 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:27:05
[end_date_ymd] => 2025-02-09 12:27:05
[RateCDR] => 1
)
[2025-02-09 12:27: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` >= '2025-02-09 09:27:05' and `end` < '2025-02-09 12:27: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 ,'')
[2025-02-09 12:27:12] Production.ERROR: CronJobId end10
[2025-02-09 12:27:12] Production.INFO: ==26481== Releasing lock...
[2025-02-09 12:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:27:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:27:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:27:14] Production.INFO: call_cost start
[2025-02-09 12:27:14] Production.INFO: call_cost end
[2025-02-09 12:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:27:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:27:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:27:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:27:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:27:15] Production.INFO: ==26477== Releasing lock...
[2025-02-09 12:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:27:18] Production.INFO: count ==820
[2025-02-09 12:27:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:27:05 - End Time 2025-02-09 12:27:05
[2025-02-09 12:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437052', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437052', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437052', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437052', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:27:18] Production.INFO: ProcessCDR(1,14437052,1,1,2)
[2025-02-09 12:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437052', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437052', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:27:22] Production.INFO: ==26485== Releasing lock...
[2025-02-09 12:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:27:22] Production.INFO: 34 MB #Memory Used#
[2025-02-09 17:28:01] Production.INFO: ==26580== Lock acquired, processing the job...
[2025-02-09 17:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:28:02] Production.INFO: neon service started
[2025-02-09 17:28:02] Production.INFO: neon service started
[2025-02-09 17:28:02] Production.INFO: ==26580== Releasing lock...
[2025-02-09 17:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:28:02] Production.INFO: ==26582== Lock acquired, processing the job...
[2025-02-09 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:28:02] Production.INFO: ==26584== Lock acquired, processing the job...
[2025-02-09 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:28:02] Production.INFO: ==26584== Releasing lock...
[2025-02-09 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:28:03] Production.INFO: ==26582== Releasing lock...
[2025-02-09 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:28:03] Production.INFO: ==26587== Lock acquired, processing the job...
[2025-02-09 12:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:28:03] Production.INFO: ==26589== Lock acquired, processing the job...
[2025-02-09 12:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:28:03] Production.INFO: ==26591== Lock acquired, processing the job...
[2025-02-09 12:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:28:04] Production.INFO: ==26593== Lock acquired, processing the job...
[2025-02-09 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:28:04] Production.INFO: ==26597== Lock acquired, processing the job...
[2025-02-09 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:28:04] Production.INFO: Account Balance Start.
[2025-02-09 12:28:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:28:04] Production.INFO: 117
[2025-02-09 12:28:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:28:04] Production.INFO: ==26595== Lock acquired, processing the job...
[2025-02-09 12:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:28:04] Production.INFO: count ==21
[2025-02-09 12:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:28:04] Production.INFO: count ==21
[2025-02-09 12:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:28:04] Production.INFO: ==26589== Releasing lock...
[2025-02-09 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437056') start
[2025-02-09 12:28:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437056') end
[2025-02-09 12:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:28:04] Production.INFO: 1
[2025-02-09 12:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:28:04] Production.INFO: Total Charge 0
[2025-02-09 12:28:04] Production.INFO: ==26597== Releasing lock...
[2025-02-09 12:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:28:04] Production.INFO: CreateAllLog End
[2025-02-09 12:28:04] Production.ERROR: done
[2025-02-09 12:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:28:05] Production.ERROR: done
[2025-02-09 12:28:05] Production.INFO: Account Balance End.
[2025-02-09 12:28:05] Production.ERROR: CronJobId end 12
[2025-02-09 12:28:05] Production.INFO: ==26593== Releasing lock...
[2025-02-09 12:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:28:06
[end_date_ymd] => 2025-02-09 12:28:06
[RateCDR] => 1
)
[2025-02-09 12:28: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-02-09 09:28:06' and `end` < '2025-02-09 12:28: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-02-09 12:28:12] Production.ERROR: CronJobId end10
[2025-02-09 12:28:12] Production.INFO: ==26591== Releasing lock...
[2025-02-09 12:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:28:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:28:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:28:14] Production.INFO: call_cost start
[2025-02-09 12:28:14] Production.INFO: call_cost end
[2025-02-09 12:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:28:15] Production.INFO: ==26587== Releasing lock...
[2025-02-09 12:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:28:19] Production.INFO: count ==821
[2025-02-09 12:28:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:28:06 - End Time 2025-02-09 12:28:06
[2025-02-09 12:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437057', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437057', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437057', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437057', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:28:19] Production.INFO: ProcessCDR(1,14437057,1,1,2)
[2025-02-09 12:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437057', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437057', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:28:23] Production.INFO: ==26595== Releasing lock...
[2025-02-09 12:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:28:23] Production.INFO: 34.25 MB #Memory Used#
[2025-02-09 17:29:01] Production.INFO: ==26652== Lock acquired, processing the job...
[2025-02-09 17:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:29:01] Production.INFO: neon service started
[2025-02-09 17:29:01] Production.INFO: neon service started
[2025-02-09 17:29:01] Production.INFO: ==26652== Releasing lock...
[2025-02-09 17:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:29:02] Production.INFO: ==26656== Lock acquired, processing the job...
[2025-02-09 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:29:02] Production.INFO: ==26656== Releasing lock...
[2025-02-09 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:29:02] Production.INFO: ==26654== Lock acquired, processing the job...
[2025-02-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:29:02] Production.INFO: ==26654== Releasing lock...
[2025-02-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:29:02] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:29:03] Production.INFO: ==26663== Lock acquired, processing the job...
[2025-02-09 12:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:29:03] Production.INFO: ==26665== Lock acquired, processing the job...
[2025-02-09 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:29:03] Production.INFO: ==26659== Lock acquired, processing the job...
[2025-02-09 12:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:29:03] Production.INFO: ==26661== Lock acquired, processing the job...
[2025-02-09 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:29:03] Production.INFO: Account Balance Start.
[2025-02-09 12:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:29:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:29:03] Production.INFO: 117
[2025-02-09 12:29:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:29:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:29:03] Production.INFO: Total Charge 0
[2025-02-09 12:29:03] Production.INFO: ==26667== Lock acquired, processing the job...
[2025-02-09 12:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:29:03] Production.INFO: CreateAllLog End
[2025-02-09 12:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:29:03] Production.INFO: ==26669== Lock acquired, processing the job...
[2025-02-09 12:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:29:03] Production.INFO: ==26661== Releasing lock...
[2025-02-09 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:29:03] Production.INFO: count ==21
[2025-02-09 12:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:29:03] Production.INFO: count ==21
[2025-02-09 12:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437061') start
[2025-02-09 12:29:04] Production.INFO: Account Balance End.
[2025-02-09 12:29:04] Production.ERROR: done
[2025-02-09 12:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:29:04] Production.INFO: ==26665== Releasing lock...
[2025-02-09 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437061') end
[2025-02-09 12:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:29:04] Production.INFO: 1
[2025-02-09 12:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:29:04] Production.INFO: ==26669== Releasing lock...
[2025-02-09 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:29:04] Production.ERROR: done
[2025-02-09 12:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:29:05
[end_date_ymd] => 2025-02-09 12:29:05
[RateCDR] => 1
)
[2025-02-09 12:29: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` >= '2025-02-09 09:29:05' and `end` < '2025-02-09 12:29: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 ,'')
[2025-02-09 12:29:12] Production.ERROR: CronJobId end10
[2025-02-09 12:29:12] Production.INFO: ==26663== Releasing lock...
[2025-02-09 12:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:29:14] Production.INFO: call_cost start
[2025-02-09 12:29:14] Production.INFO: call_cost end
[2025-02-09 12:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:29:15] Production.INFO: ==26659== Releasing lock...
[2025-02-09 12:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:29:18] Production.INFO: count ==826
[2025-02-09 12:29:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:29:05 - End Time 2025-02-09 12:29:05
[2025-02-09 12:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437062', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437062', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437062', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437062', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:29:18] Production.INFO: ProcessCDR(1,14437062,1,1,2)
[2025-02-09 12:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437062', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437062', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:29:23] Production.INFO: ==26667== Releasing lock...
[2025-02-09 12:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:29:23] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 17:30:02] Production.INFO: ==26722== Lock acquired, processing the job...
[2025-02-09 17:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:30:02] Production.INFO: neon service started
[2025-02-09 17:30:02] Production.INFO: neon service started
[2025-02-09 17:30:02] Production.INFO: ==26722== Releasing lock...
[2025-02-09 17:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:30:02] Production.INFO: ==26725== Lock acquired, processing the job...
[2025-02-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:30:02] Production.INFO: ==26727== Lock acquired, processing the job...
[2025-02-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:30:02] Production.INFO: ==26727== Releasing lock...
[2025-02-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:30:02] Production.INFO: ==26725== Releasing lock...
[2025-02-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:30:03] Production.INFO: ==26729== Lock acquired, processing the job...
[2025-02-09 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 12:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 12:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 12:30:03] Production.INFO: ==26729== Releasing lock...
[2025-02-09 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 12:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 12:30:03] Production.INFO: ==26731== Lock acquired, processing the job...
[2025-02-09 12:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:30:03] Production.INFO: ==26733== Lock acquired, processing the job...
[2025-02-09 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:30:04] Production.INFO: ==26737== Lock acquired, processing the job...
[2025-02-09 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:30:04] Production.INFO: Account Balance Start.
[2025-02-09 12:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:30:04] Production.INFO: 117
[2025-02-09 12:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:30:04] Production.INFO: ==26733== Releasing lock...
[2025-02-09 12:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:30:04] Production.INFO: ==26735== Lock acquired, processing the job...
[2025-02-09 12:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:30:04] Production.INFO: Total Charge 0
[2025-02-09 12:30:04] Production.INFO: CreateAllLog End
[2025-02-09 12:30:04] Production.INFO: ==26741== Lock acquired, processing the job...
[2025-02-09 12:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 12:30:04] Production.INFO: ==26739== Lock acquired, processing the job...
[2025-02-09 12:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:30:04] Production.INFO: Account Balance End.
[2025-02-09 12:30:04] Production.INFO: ==26743== Lock acquired, processing the job...
[2025-02-09 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:30:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:30:04] Production.INFO: ==26737== Releasing lock...
[2025-02-09 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:30:04] Production.ERROR: done
[2025-02-09 12:30:04] Production.INFO: count ==21
[2025-02-09 12:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 12:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437067', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 12:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:30:04] Production.INFO: count ==21
[2025-02-09 12:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437066') start
[2025-02-09 12:30:05] Production.ERROR: done
[2025-02-09 12:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437066') end
[2025-02-09 12:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:30:05] Production.INFO: 1
[2025-02-09 12:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:30:05] Production.ERROR: done
[2025-02-09 12:30:05] Production.INFO: ==26743== Releasing lock...
[2025-02-09 12:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:30:06
[end_date_ymd] => 2025-02-09 12:30:06
[RateCDR] => 1
)
[2025-02-09 12:30: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-02-09 09:30:06' and `end` < '2025-02-09 12:30: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-02-09 12:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437067', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 12:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 12:30:08] Production.INFO: ProcessCDR(1,14437067,1,1,2)
[2025-02-09 12:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437067,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437067,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:30:08] Production.INFO: ==26741== Releasing lock...
[2025-02-09 12:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 12:30:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 12:30:14] Production.ERROR: CronJobId end10
[2025-02-09 12:30:14] Production.INFO: ==26735== Releasing lock...
[2025-02-09 12:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:30:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:30:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:30:15] Production.INFO: call_cost start
[2025-02-09 12:30:15] Production.INFO: call_cost end
[2025-02-09 12:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:30:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:30:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:30:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:30:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:30:16] Production.INFO: ==26731== Releasing lock...
[2025-02-09 12:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:30:19] Production.INFO: count ==869
[2025-02-09 12:30:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:30:06 - End Time 2025-02-09 12:30:06
[2025-02-09 12:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437068', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437068', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437068', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437068', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:30:19] Production.INFO: ProcessCDR(1,14437068,1,1,2)
[2025-02-09 12:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437068', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437068', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:30:23] Production.INFO: ==26739== Releasing lock...
[2025-02-09 12:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:30:23] Production.INFO: 35.25 MB #Memory Used#
[2025-02-09 17:31:01] Production.INFO: ==26839== Lock acquired, processing the job...
[2025-02-09 17:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:31:01] Production.INFO: neon service started
[2025-02-09 17:31:01] Production.INFO: neon service started
[2025-02-09 17:31:01] Production.INFO: ==26839== Releasing lock...
[2025-02-09 17:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:31:01] Production.INFO: ==26841== Lock acquired, processing the job...
[2025-02-09 12:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:31:02] Production.INFO: ==26841== Releasing lock...
[2025-02-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:31:02] Production.INFO: ==26843== Lock acquired, processing the job...
[2025-02-09 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:31:02] Production.INFO: ==26843== Releasing lock...
[2025-02-09 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:31:03] Production.INFO: ==26846== Lock acquired, processing the job...
[2025-02-09 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:31:03] Production.INFO: ==26856== Lock acquired, processing the job...
[2025-02-09 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:31:03] Production.INFO: ==26848== Lock acquired, processing the job...
[2025-02-09 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:31:03] Production.INFO: ==26852== Lock acquired, processing the job...
[2025-02-09 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:31:03] Production.INFO: count ==21
[2025-02-09 12:31:03] Production.INFO: ==26850== Lock acquired, processing the job...
[2025-02-09 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:31:03] Production.INFO: count ==21
[2025-02-09 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437070') start
[2025-02-09 12:31:03] Production.INFO: ==26854== Lock acquired, processing the job...
[2025-02-09 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:31:03] Production.INFO: Account Balance Start.
[2025-02-09 12:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:31:03] Production.INFO: 117
[2025-02-09 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:31:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437070') end
[2025-02-09 12:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:31:03] Production.INFO: 1
[2025-02-09 12:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:31:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:31:03] Production.INFO: Total Charge 0
[2025-02-09 12:31:03] Production.INFO: CreateAllLog End
[2025-02-09 12:31:03] Production.INFO: ==26856== Releasing lock...
[2025-02-09 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:31:03] Production.INFO: ==26848== Releasing lock...
[2025-02-09 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:31:03] Production.ERROR: done
[2025-02-09 12:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:31:04] Production.INFO: Account Balance End.
[2025-02-09 12:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:31:04] Production.INFO: ==26852== Releasing lock...
[2025-02-09 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:31:04] Production.ERROR: done
[2025-02-09 12:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:31:05
[end_date_ymd] => 2025-02-09 12:31:05
[RateCDR] => 1
)
[2025-02-09 12:31: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` >= '2025-02-09 09:31:05' and `end` < '2025-02-09 12:31: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 ,'')
[2025-02-09 12:31:11] Production.ERROR: CronJobId end10
[2025-02-09 12:31:11] Production.INFO: ==26850== Releasing lock...
[2025-02-09 12:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:31:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:31:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:31:13] Production.INFO: call_cost start
[2025-02-09 12:31:13] Production.INFO: call_cost end
[2025-02-09 12:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:31:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:31:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:31:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:31:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:31:14] Production.INFO: ==26846== Releasing lock...
[2025-02-09 12:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:31:18] Production.INFO: count ==924
[2025-02-09 12:31:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:31:05 - End Time 2025-02-09 12:31:05
[2025-02-09 12:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437073', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437073', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437073', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437073', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:31:18] Production.INFO: ProcessCDR(1,14437073,1,1,2)
[2025-02-09 12:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437073', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437073', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:31:23] Production.INFO: ==26854== Releasing lock...
[2025-02-09 12:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:31:23] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 17:32:01] Production.INFO: ==26911== Lock acquired, processing the job...
[2025-02-09 17:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:32:01] Production.INFO: neon service started
[2025-02-09 17:32:01] Production.INFO: neon service started
[2025-02-09 17:32:01] Production.INFO: ==26911== Releasing lock...
[2025-02-09 17:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:32:02] Production.INFO: ==26915== Lock acquired, processing the job...
[2025-02-09 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:32:02] Production.INFO: ==26915== Releasing lock...
[2025-02-09 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:32:02] Production.INFO: ==26913== Lock acquired, processing the job...
[2025-02-09 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:32:02] Production.INFO: ==26913== Releasing lock...
[2025-02-09 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:32:03] Production.INFO: ==26923== Lock acquired, processing the job...
[2025-02-09 12:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:32:03] Production.INFO: ==26917== Lock acquired, processing the job...
[2025-02-09 12:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:32:03] Production.INFO: ==26928== Lock acquired, processing the job...
[2025-02-09 12:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:32:03] Production.INFO: Account Balance Start.
[2025-02-09 12:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:32:03] Production.INFO: ==26919== Lock acquired, processing the job...
[2025-02-09 12:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:32:03] Production.INFO: 117
[2025-02-09 12:32:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:32:03] Production.INFO: ==26921== Lock acquired, processing the job...
[2025-02-09 12:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:32:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:32:03] Production.INFO: Total Charge 0
[2025-02-09 12:32:03] Production.INFO: count ==21
[2025-02-09 12:32:03] Production.INFO: ==26926== Lock acquired, processing the job...
[2025-02-09 12:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:32:03] Production.INFO: CreateAllLog End
[2025-02-09 12:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:32:03] Production.INFO: count ==21
[2025-02-09 12:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437076') start
[2025-02-09 12:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:32:04] Production.INFO: Account Balance End.
[2025-02-09 12:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:32:04] Production.INFO: ==26923== Releasing lock...
[2025-02-09 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437076') end
[2025-02-09 12:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:32:04] Production.INFO: 1
[2025-02-09 12:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:32:04] Production.INFO: ==26919== Releasing lock...
[2025-02-09 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:32:04] Production.INFO: ==26928== Releasing lock...
[2025-02-09 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:32:04] Production.ERROR: done
[2025-02-09 12:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:32:04] Production.ERROR: done
[2025-02-09 12:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:32:05
[end_date_ymd] => 2025-02-09 12:32:05
[RateCDR] => 1
)
[2025-02-09 12:32: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` >= '2025-02-09 09:32:05' and `end` < '2025-02-09 12:32: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 ,'')
[2025-02-09 12:32:10] Production.ERROR: CronJobId end10
[2025-02-09 12:32:10] Production.INFO: ==26921== Releasing lock...
[2025-02-09 12:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:32:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:32:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:32:13] Production.INFO: call_cost start
[2025-02-09 12:32:13] Production.INFO: call_cost end
[2025-02-09 12:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:32:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:32:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:32:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:32:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:32:14] Production.INFO: ==26917== Releasing lock...
[2025-02-09 12:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:32:18] Production.INFO: count ==932
[2025-02-09 12:32:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:32:05 - End Time 2025-02-09 12:32:05
[2025-02-09 12:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437078', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437078', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437078', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437078', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:32:18] Production.INFO: ProcessCDR(1,14437078,1,1,2)
[2025-02-09 12:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437078', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437078', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:32:21] Production.INFO: ==26926== Releasing lock...
[2025-02-09 12:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:32:21] Production.INFO: 35.5 MB #Memory Used#
[2025-02-09 17:33:01] Production.INFO: ==26982== Lock acquired, processing the job...
[2025-02-09 17:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:33:01] Production.INFO: neon service started
[2025-02-09 17:33:01] Production.INFO: neon service started
[2025-02-09 17:33:01] Production.INFO: ==26982== Releasing lock...
[2025-02-09 17:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:33:02] Production.INFO: ==26984== Lock acquired, processing the job...
[2025-02-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:33:02] Production.INFO: ==26986== Lock acquired, processing the job...
[2025-02-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:33:02] Production.INFO: ==26986== Releasing lock...
[2025-02-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:33:02] Production.INFO: ==26984== Releasing lock...
[2025-02-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:33:03] Production.INFO: ==26989== Lock acquired, processing the job...
[2025-02-09 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:33:03] Production.INFO: ==26995== Lock acquired, processing the job...
[2025-02-09 12:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:33:03] Production.INFO: ==26993== Lock acquired, processing the job...
[2025-02-09 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:33:03] Production.INFO: Account Balance Start.
[2025-02-09 12:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:33:03] Production.INFO: 117
[2025-02-09 12:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:33:03] Production.INFO: ==26991== Lock acquired, processing the job...
[2025-02-09 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:33:03] Production.INFO: Total Charge 0
[2025-02-09 12:33:03] Production.INFO: CreateAllLog End
[2025-02-09 12:33:03] Production.INFO: ==26997== Lock acquired, processing the job...
[2025-02-09 12:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:33:03] Production.INFO: Account Balance End.
[2025-02-09 12:33:03] Production.INFO: ==26999== Lock acquired, processing the job...
[2025-02-09 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:33:03] Production.ERROR: CronJobId end 12
[2025-02-09 12:33:03] Production.INFO: ==26995== Releasing lock...
[2025-02-09 12:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:33:03] Production.INFO: ==26991== Releasing lock...
[2025-02-09 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:33:03] Production.INFO: count ==21
[2025-02-09 12:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:33:03] Production.INFO: count ==21
[2025-02-09 12:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437082') start
[2025-02-09 12:33:04] Production.ERROR: done
[2025-02-09 12:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437082') end
[2025-02-09 12:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:33:04] Production.INFO: 1
[2025-02-09 12:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:33:04] Production.INFO: ==26999== Releasing lock...
[2025-02-09 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:33:04] Production.ERROR: done
[2025-02-09 12:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:33:05
[end_date_ymd] => 2025-02-09 12:33:05
[RateCDR] => 1
)
[2025-02-09 12:33: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` >= '2025-02-09 09:33:05' and `end` < '2025-02-09 12:33: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 ,'')
[2025-02-09 12:33:11] Production.ERROR: CronJobId end10
[2025-02-09 12:33:11] Production.INFO: ==26993== Releasing lock...
[2025-02-09 12:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:33:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:33:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:33:13] Production.INFO: call_cost start
[2025-02-09 12:33:13] Production.INFO: call_cost end
[2025-02-09 12:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:33:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:33:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:33:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:33:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:33:14] Production.INFO: ==26989== Releasing lock...
[2025-02-09 12:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:33:18] Production.INFO: count ==933
[2025-02-09 12:33:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:33:05 - End Time 2025-02-09 12:33:05
[2025-02-09 12:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437083', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437083', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437083', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437083', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:33:19] Production.INFO: ProcessCDR(1,14437083,1,1,2)
[2025-02-09 12:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437083', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437083', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:33:23] Production.INFO: ==26997== Releasing lock...
[2025-02-09 12:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:33:23] Production.INFO: 35.5 MB #Memory Used#
[2025-02-09 17:34:01] Production.INFO: ==27057== Lock acquired, processing the job...
[2025-02-09 17:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:34:01] Production.INFO: neon service started
[2025-02-09 17:34:01] Production.INFO: neon service started
[2025-02-09 17:34:01] Production.INFO: ==27057== Releasing lock...
[2025-02-09 17:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:34:02] Production.INFO: ==27059== Lock acquired, processing the job...
[2025-02-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:34:02] Production.INFO: ==27061== Lock acquired, processing the job...
[2025-02-09 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:34:02] Production.INFO: ==27061== Releasing lock...
[2025-02-09 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:34:02] Production.INFO: ==27059== Releasing lock...
[2025-02-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:34:03] Production.INFO: ==27065== Lock acquired, processing the job...
[2025-02-09 12:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:34:03] Production.INFO: ==27072== Lock acquired, processing the job...
[2025-02-09 12:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:34:03] Production.INFO: ==27065== Releasing lock...
[2025-02-09 12:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:34:03] Production.INFO: ==27063== Lock acquired, processing the job...
[2025-02-09 12:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:34:03] Production.INFO: ==27069== Lock acquired, processing the job...
[2025-02-09 12:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:34:03] Production.INFO: ==27067== Lock acquired, processing the job...
[2025-02-09 12:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:34:03] Production.INFO: ==27074== Lock acquired, processing the job...
[2025-02-09 12:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:34:03] Production.INFO: Account Balance Start.
[2025-02-09 12:34:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:34:03] Production.INFO: 117
[2025-02-09 12:34:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:34:04] Production.ERROR: done
[2025-02-09 12:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:34:04] Production.INFO: count ==21
[2025-02-09 12:34:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:34:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:34:04] Production.INFO: count ==21
[2025-02-09 12:34:04] Production.INFO: Total Charge 0
[2025-02-09 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437087') start
[2025-02-09 12:34:04] Production.ERROR: done
[2025-02-09 12:34:04] Production.INFO: CreateAllLog End
[2025-02-09 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437087') end
[2025-02-09 12:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:34:04] Production.INFO: 1
[2025-02-09 12:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:34:04] Production.INFO: Account Balance End.
[2025-02-09 12:34:04] Production.INFO: ==27074== Releasing lock...
[2025-02-09 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:34:04] Production.INFO: ==27069== Releasing lock...
[2025-02-09 12:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:34:05
[end_date_ymd] => 2025-02-09 12:34:05
[RateCDR] => 1
)
[2025-02-09 12:34: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` >= '2025-02-09 09:34:05' and `end` < '2025-02-09 12:34: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 ,'')
[2025-02-09 12:34:11] Production.ERROR: CronJobId end10
[2025-02-09 12:34:11] Production.INFO: ==27067== Releasing lock...
[2025-02-09 12:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:34:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:34:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:34:13] Production.INFO: call_cost start
[2025-02-09 12:34:13] Production.INFO: call_cost end
[2025-02-09 12:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:34:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:34:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:34:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:34:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:34:14] Production.INFO: ==27063== Releasing lock...
[2025-02-09 12:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:34:18] Production.INFO: count ==933
[2025-02-09 12:34:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:34:05 - End Time 2025-02-09 12:34:05
[2025-02-09 12:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437088', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437088', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437088', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437088', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:34:18] Production.INFO: ProcessCDR(1,14437088,1,1,2)
[2025-02-09 12:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437088', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437088', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:34:21] Production.INFO: ==27072== Releasing lock...
[2025-02-09 12:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:34:21] Production.INFO: 35.5 MB #Memory Used#
[2025-02-09 17:35:02] Production.INFO: ==27130== Lock acquired, processing the job...
[2025-02-09 17:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:35:02] Production.INFO: neon service started
[2025-02-09 17:35:02] Production.INFO: neon service started
[2025-02-09 17:35:02] Production.INFO: ==27130== Releasing lock...
[2025-02-09 17:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:35:02] Production.INFO: ==27132== Lock acquired, processing the job...
[2025-02-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:35:03] Production.INFO: ==27132== Releasing lock...
[2025-02-09 12:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:35:03] Production.INFO: ==27134== Lock acquired, processing the job...
[2025-02-09 17:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:35:03] Production.INFO: ==27134== Releasing lock...
[2025-02-09 17:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:35:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:35:03] Production.INFO: ==27142== Lock acquired, processing the job...
[2025-02-09 12:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:35:04] Production.INFO: Account Balance Start.
[2025-02-09 12:35:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:35:04] Production.INFO: ==27146== Lock acquired, processing the job...
[2025-02-09 12:35:04] Production.INFO: 117
[2025-02-09 12:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:35:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:35:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:35:04] Production.INFO: Total Charge 0
[2025-02-09 12:35:04] Production.INFO: CreateAllLog End
[2025-02-09 12:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:35:04] Production.INFO: Account Balance End.
[2025-02-09 12:35:04] Production.INFO: count ==21
[2025-02-09 12:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:35:04] Production.INFO: ==27142== Releasing lock...
[2025-02-09 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:35:04] Production.INFO: count ==21
[2025-02-09 12:35:04] Production.INFO: ==27136== Lock acquired, processing the job...
[2025-02-09 12:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437090') start
[2025-02-09 12:35:04] Production.INFO: ==27138== Lock acquired, processing the job...
[2025-02-09 12:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:35:04] Production.INFO: ==27140== Lock acquired, processing the job...
[2025-02-09 12:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437090') end
[2025-02-09 12:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:35:04] Production.INFO: 1
[2025-02-09 12:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:35:04] Production.INFO: ==27146== Releasing lock...
[2025-02-09 12:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:35:04] Production.INFO: ==27144== Lock acquired, processing the job...
[2025-02-09 12:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:35:04] Production.INFO: ==27138== Releasing lock...
[2025-02-09 12:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:35:04] Production.ERROR: done
[2025-02-09 12:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:35:05] Production.ERROR: done
[2025-02-09 12:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:35:05
[end_date_ymd] => 2025-02-09 12:35:05
[RateCDR] => 1
)
[2025-02-09 12:35: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` >= '2025-02-09 09:35:05' and `end` < '2025-02-09 12:35: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 ,'')
[2025-02-09 12:35:12] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 12:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:35:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:35:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:35:12] Production.INFO: call_cost start
[2025-02-09 12:35:12] Production.INFO: call_cost end
[2025-02-09 12:35:13] Production.ERROR: CronJobId end10
[2025-02-09 12:35:13] Production.INFO: ==27140== Releasing lock...
[2025-02-09 12:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:35:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:35:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:35:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:35:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:35:13] Production.INFO: ==27136== Releasing lock...
[2025-02-09 12:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:35:19] Production.INFO: count ==929
[2025-02-09 12:35:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:35:05 - End Time 2025-02-09 12:35:05
[2025-02-09 12:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437093', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437093', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437093', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437093', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:35:19] Production.INFO: ProcessCDR(1,14437093,1,1,2)
[2025-02-09 12:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437093', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437093', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:35:22] Production.INFO: ==27144== Releasing lock...
[2025-02-09 12:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:35:22] Production.INFO: 34.75 MB #Memory Used#
[2025-02-09 17:36:01] Production.INFO: ==27207== Lock acquired, processing the job...
[2025-02-09 17:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:36:01] Production.INFO: neon service started
[2025-02-09 17:36:01] Production.INFO: neon service started
[2025-02-09 17:36:01] Production.INFO: ==27207== Releasing lock...
[2025-02-09 17:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:36:02] Production.INFO: ==27209== Lock acquired, processing the job...
[2025-02-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:36:02] Production.INFO: ==27211== Lock acquired, processing the job...
[2025-02-09 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:36:02] Production.INFO: ==27211== Releasing lock...
[2025-02-09 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:36:02] Production.INFO: ==27209== Releasing lock...
[2025-02-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:36:03] Production.INFO: ==27214== Lock acquired, processing the job...
[2025-02-09 12:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:36:03] Production.INFO: ==27216== Lock acquired, processing the job...
[2025-02-09 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:36:03] Production.INFO: ==27218== Lock acquired, processing the job...
[2025-02-09 12:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:36:03] Production.INFO: ==27221== Lock acquired, processing the job...
[2025-02-09 12:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:36:03] Production.INFO: ==27223== Lock acquired, processing the job...
[2025-02-09 12:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:36:03] Production.INFO: ==27225== Lock acquired, processing the job...
[2025-02-09 12:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:36:03] Production.INFO: Account Balance Start.
[2025-02-09 12:36:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:36:03] Production.INFO: 117
[2025-02-09 12:36:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:36:04] Production.INFO: count ==21
[2025-02-09 12:36:04] Production.INFO: ==27216== Releasing lock...
[2025-02-09 12:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:36:04] Production.INFO: count ==21
[2025-02-09 12:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437097') start
[2025-02-09 12:36:04] Production.ERROR: done
[2025-02-09 12:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:36:04] Production.INFO: Total Charge 0
[2025-02-09 12:36:04] Production.INFO: CreateAllLog End
[2025-02-09 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437097') end
[2025-02-09 12:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:36:04] Production.INFO: 1
[2025-02-09 12:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:36:04] Production.INFO: ==27225== Releasing lock...
[2025-02-09 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:36:04] Production.ERROR: done
[2025-02-09 12:36:04] Production.INFO: Account Balance End.
[2025-02-09 12:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:36:04] Production.INFO: ==27221== Releasing lock...
[2025-02-09 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:36:05
[end_date_ymd] => 2025-02-09 12:36:05
[RateCDR] => 1
)
[2025-02-09 12:36: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` >= '2025-02-09 09:36:05' and `end` < '2025-02-09 12:36: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 ,'')
[2025-02-09 12:36:11] Production.ERROR: CronJobId end10
[2025-02-09 12:36:11] Production.INFO: ==27218== Releasing lock...
[2025-02-09 12:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:36:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:36:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:36:14] Production.INFO: call_cost start
[2025-02-09 12:36:14] Production.INFO: call_cost end
[2025-02-09 12:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:36:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:36:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:36:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:36:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:36:15] Production.INFO: ==27214== Releasing lock...
[2025-02-09 12:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:36:19] Production.INFO: count ==931
[2025-02-09 12:36:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:36:05 - End Time 2025-02-09 12:36:05
[2025-02-09 12:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437098', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437098', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437098', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437098', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:36:19] Production.INFO: ProcessCDR(1,14437098,1,1,2)
[2025-02-09 12:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437098', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437098', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:36:24] Production.INFO: ==27223== Releasing lock...
[2025-02-09 12:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:36:24] Production.INFO: 35.5 MB #Memory Used#
[2025-02-09 17:37:02] Production.INFO: ==27283== Lock acquired, processing the job...
[2025-02-09 17:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:37:02] Production.INFO: neon service started
[2025-02-09 17:37:02] Production.INFO: neon service started
[2025-02-09 17:37:02] Production.INFO: ==27283== Releasing lock...
[2025-02-09 17:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:37:02] Production.INFO: ==27285== Lock acquired, processing the job...
[2025-02-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:37:02] Production.INFO: ==27287== Lock acquired, processing the job...
[2025-02-09 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:37:02] Production.INFO: ==27287== Releasing lock...
[2025-02-09 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:37:03] Production.INFO: ==27285== Releasing lock...
[2025-02-09 12:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:37:03] Production.INFO: ==27292== Lock acquired, processing the job...
[2025-02-09 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:37:04] Production.INFO: ==27300== Lock acquired, processing the job...
[2025-02-09 12:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:37:04] Production.INFO: ==27290== Lock acquired, processing the job...
[2025-02-09 12:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:37:04] Production.INFO: count ==21
[2025-02-09 12:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:37:04] Production.INFO: count ==21
[2025-02-09 12:37:04] Production.INFO: ==27294== Lock acquired, processing the job...
[2025-02-09 12:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437100') start
[2025-02-09 12:37:04] Production.INFO: ==27296== Lock acquired, processing the job...
[2025-02-09 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:37:04] Production.INFO: ==27298== Lock acquired, processing the job...
[2025-02-09 12:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:37:04] Production.INFO: ==27292== Releasing lock...
[2025-02-09 12:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437100') end
[2025-02-09 12:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:37:04] Production.INFO: 1
[2025-02-09 12:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:37:04] Production.INFO: Account Balance Start.
[2025-02-09 12:37:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:37:04] Production.INFO: 117
[2025-02-09 12:37:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:37:04] Production.INFO: ==27300== Releasing lock...
[2025-02-09 12:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:37:04] Production.INFO: Total Charge 0
[2025-02-09 12:37:04] Production.INFO: CreateAllLog End
[2025-02-09 12:37:04] Production.ERROR: done
[2025-02-09 12:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:37:04] Production.ERROR: done
[2025-02-09 12:37:04] Production.INFO: Account Balance End.
[2025-02-09 12:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:37:04] Production.INFO: ==27296== Releasing lock...
[2025-02-09 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:37:06
[end_date_ymd] => 2025-02-09 12:37:06
[RateCDR] => 1
)
[2025-02-09 12:37: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-02-09 09:37:06' and `end` < '2025-02-09 12:37: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-02-09 12:37:12] Production.ERROR: CronJobId end10
[2025-02-09 12:37:12] Production.INFO: ==27294== Releasing lock...
[2025-02-09 12:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:37:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:37:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:37:13] Production.INFO: call_cost start
[2025-02-09 12:37:13] Production.INFO: call_cost end
[2025-02-09 12:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:37:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:37:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:37:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:37:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:37:14] Production.INFO: ==27290== Releasing lock...
[2025-02-09 12:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:37:18] Production.INFO: count ==939
[2025-02-09 12:37:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:37:06 - End Time 2025-02-09 12:37:06
[2025-02-09 12:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437103', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437103', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437103', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437103', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:37:19] Production.INFO: ProcessCDR(1,14437103,1,1,2)
[2025-02-09 12:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437103', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437103', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:37:24] Production.INFO: ==27298== Releasing lock...
[2025-02-09 12:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:37:24] Production.INFO: 35.5 MB #Memory Used#
[2025-02-09 17:38:01] Production.INFO: ==27359== Lock acquired, processing the job...
[2025-02-09 17:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:38:01] Production.INFO: neon service started
[2025-02-09 17:38:01] Production.INFO: neon service started
[2025-02-09 17:38:01] Production.INFO: ==27359== Releasing lock...
[2025-02-09 17:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:38:01] Production.INFO: ==27363== Lock acquired, processing the job...
[2025-02-09 17:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:38:01] Production.INFO: ==27363== Releasing lock...
[2025-02-09 17:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:38:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:38:02] Production.INFO: ==27361== Lock acquired, processing the job...
[2025-02-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:38:02] Production.INFO: ==27361== Releasing lock...
[2025-02-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:38:03] Production.INFO: ==27365== Lock acquired, processing the job...
[2025-02-09 12:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:38:03] Production.INFO: ==27367== Lock acquired, processing the job...
[2025-02-09 12:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:38:03] Production.INFO: ==27371== Lock acquired, processing the job...
[2025-02-09 12:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:38:03] Production.INFO: ==27369== Lock acquired, processing the job...
[2025-02-09 12:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:38:03] Production.INFO: Account Balance Start.
[2025-02-09 12:38:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:38:03] Production.INFO: 117
[2025-02-09 12:38:03] Production.INFO: ==27373== Lock acquired, processing the job...
[2025-02-09 12:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:38:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:38:03] Production.INFO: ==27375== Lock acquired, processing the job...
[2025-02-09 12:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:38:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:38:03] Production.INFO: Total Charge 0
[2025-02-09 12:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:38:03] Production.INFO: CreateAllLog End
[2025-02-09 12:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:38:03] Production.INFO: ==27367== Releasing lock...
[2025-02-09 12:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:38:03] Production.INFO: count ==21
[2025-02-09 12:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:38:03] Production.INFO: count ==21
[2025-02-09 12:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437107') start
[2025-02-09 12:38:04] Production.INFO: Account Balance End.
[2025-02-09 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437107') end
[2025-02-09 12:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:38:04] Production.INFO: 1
[2025-02-09 12:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:38:04] Production.INFO: ==27371== Releasing lock...
[2025-02-09 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:38:04] Production.INFO: ==27375== Releasing lock...
[2025-02-09 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:38:04] Production.ERROR: done
[2025-02-09 12:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:38:04] Production.ERROR: done
[2025-02-09 12:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:38:05
[end_date_ymd] => 2025-02-09 12:38:05
[RateCDR] => 1
)
[2025-02-09 12:38: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` >= '2025-02-09 09:38:05' and `end` < '2025-02-09 12:38: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 ,'')
[2025-02-09 12:38:12] Production.ERROR: CronJobId end10
[2025-02-09 12:38:12] Production.INFO: ==27369== Releasing lock...
[2025-02-09 12:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:38:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:38:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:38:14] Production.INFO: call_cost start
[2025-02-09 12:38:14] Production.INFO: call_cost end
[2025-02-09 12:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:38:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:38:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:38:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:38:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:38:14] Production.INFO: ==27365== Releasing lock...
[2025-02-09 12:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:38:18] Production.INFO: count ==967
[2025-02-09 12:38:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:38:05 - End Time 2025-02-09 12:38:05
[2025-02-09 12:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437108', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437108', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437108', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437108', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:38:18] Production.INFO: ProcessCDR(1,14437108,1,1,2)
[2025-02-09 12:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437108', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437108', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:38:21] Production.INFO: ==27373== Releasing lock...
[2025-02-09 12:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:38:21] Production.INFO: 35.75 MB #Memory Used#
[2025-02-09 17:39:02] Production.INFO: ==27444== Lock acquired, processing the job...
[2025-02-09 17:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:39:02] Production.INFO: neon service started
[2025-02-09 17:39:02] Production.INFO: neon service started
[2025-02-09 17:39:02] Production.INFO: ==27444== Releasing lock...
[2025-02-09 17:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:39:02] Production.INFO: ==27448== Lock acquired, processing the job...
[2025-02-09 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:39:02] Production.INFO: ==27448== Releasing lock...
[2025-02-09 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:39:02] Production.INFO: ==27446== Lock acquired, processing the job...
[2025-02-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:39:02] Production.INFO: ==27446== Releasing lock...
[2025-02-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:39:03] Production.INFO: ==27450== Lock acquired, processing the job...
[2025-02-09 12:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:39:03] Production.INFO: ==27454== Lock acquired, processing the job...
[2025-02-09 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:39:03] Production.INFO: ==27452== Lock acquired, processing the job...
[2025-02-09 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:39:04] Production.INFO: ==27456== Lock acquired, processing the job...
[2025-02-09 12:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:39:04] Production.INFO: ==27459== Lock acquired, processing the job...
[2025-02-09 12:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:39:04] Production.INFO: ==27461== Lock acquired, processing the job...
[2025-02-09 12:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:39:04] Production.INFO: Account Balance Start.
[2025-02-09 12:39:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:39:04] Production.INFO: 117
[2025-02-09 12:39:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:39:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:39:04] Production.INFO: Total Charge 0
[2025-02-09 12:39:04] Production.INFO: CreateAllLog End
[2025-02-09 12:39:04] Production.INFO: ==27452== Releasing lock...
[2025-02-09 12:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:39:04] Production.ERROR: done
[2025-02-09 12:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:39:04] Production.INFO: count ==21
[2025-02-09 12:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:39:04] Production.INFO: count ==21
[2025-02-09 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437112') start
[2025-02-09 12:39:04] Production.INFO: Account Balance End.
[2025-02-09 12:39:04] Production.ERROR: done
[2025-02-09 12:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:39:04] Production.INFO: ==27456== Releasing lock...
[2025-02-09 12:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437112') end
[2025-02-09 12:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:39:04] Production.INFO: 1
[2025-02-09 12:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:39:04] Production.INFO: ==27461== Releasing lock...
[2025-02-09 12:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:39:05
[end_date_ymd] => 2025-02-09 12:39:05
[RateCDR] => 1
)
[2025-02-09 12:39: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` >= '2025-02-09 09:39:05' and `end` < '2025-02-09 12:39: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 ,'')
[2025-02-09 12:39:12] Production.ERROR: CronJobId end10
[2025-02-09 12:39:12] Production.INFO: ==27454== Releasing lock...
[2025-02-09 12:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:39:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:39:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:39:14] Production.INFO: call_cost start
[2025-02-09 12:39:14] Production.INFO: call_cost end
[2025-02-09 12:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:39:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:39:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:39:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:39:15] Production.INFO: ==27450== Releasing lock...
[2025-02-09 12:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:39:18] Production.INFO: count ==979
[2025-02-09 12:39:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:39:05 - End Time 2025-02-09 12:39:05
[2025-02-09 12:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437113', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437113', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437113', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437113', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:39:18] Production.INFO: ProcessCDR(1,14437113,1,1,2)
[2025-02-09 12:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437113', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437113', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:39:22] Production.INFO: ==27459== Releasing lock...
[2025-02-09 12:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:39:22] Production.INFO: 36 MB #Memory Used#
[2025-02-09 17:40:01] Production.INFO: ==27517== Lock acquired, processing the job...
[2025-02-09 17:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:40:01] Production.INFO: neon service started
[2025-02-09 17:40:01] Production.INFO: neon service started
[2025-02-09 17:40:01] Production.INFO: ==27517== Releasing lock...
[2025-02-09 17:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:40:01] Production.INFO: ==27519== Lock acquired, processing the job...
[2025-02-09 12:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:40:02] Production.INFO: ==27519== Releasing lock...
[2025-02-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:40:02] Production.INFO: ==27521== Lock acquired, processing the job...
[2025-02-09 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:40:02] Production.INFO: ==27521== Releasing lock...
[2025-02-09 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:40:03] Production.INFO: ==27524== Lock acquired, processing the job...
[2025-02-09 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 12:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 12:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 12:40:03] Production.INFO: ==27524== Releasing lock...
[2025-02-09 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 12:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 12:40:03] Production.INFO: ==27528== Lock acquired, processing the job...
[2025-02-09 12:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:40:03] Production.INFO: ==27526== Lock acquired, processing the job...
[2025-02-09 12:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:40:03] Production.INFO: ==27530== Lock acquired, processing the job...
[2025-02-09 12:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:40:03] Production.INFO: ==27532== Lock acquired, processing the job...
[2025-02-09 12:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:40:03] Production.INFO: ==27534== Lock acquired, processing the job...
[2025-02-09 12:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:40:03] Production.INFO: ==27536== Lock acquired, processing the job...
[2025-02-09 12:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 12:40:03] Production.INFO: Account Balance Start.
[2025-02-09 12:40:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:40:03] Production.INFO: 117
[2025-02-09 12:40:03] Production.INFO: ==27538== Lock acquired, processing the job...
[2025-02-09 12:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:40:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:40:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:40:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:40:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:40:03] Production.INFO: Total Charge 0
[2025-02-09 12:40:03] Production.INFO: CreateAllLog End
[2025-02-09 12:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:40:04] Production.INFO: ==27528== Releasing lock...
[2025-02-09 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:40:04] Production.INFO: count ==21
[2025-02-09 12:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:40:04] Production.INFO: count ==21
[2025-02-09 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437117') start
[2025-02-09 12:40:04] Production.INFO: Account Balance End.
[2025-02-09 12:40:04] Production.ERROR: done
[2025-02-09 12:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:40:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:40:04] Production.INFO: ==27532== Releasing lock...
[2025-02-09 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437117') end
[2025-02-09 12:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:40:04] Production.INFO: 1
[2025-02-09 12:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:40:04] Production.ERROR: done
[2025-02-09 12:40:04] Production.ERROR: done
[2025-02-09 12:40:04] Production.INFO: ==27538== Releasing lock...
[2025-02-09 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 12:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437119', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 12:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:40:06
[end_date_ymd] => 2025-02-09 12:40:06
[RateCDR] => 1
)
[2025-02-09 12:40: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-02-09 09:40:06' and `end` < '2025-02-09 12:40: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-02-09 12:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437119', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 12:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 12:40:08] Production.INFO: ProcessCDR(1,14437119,1,1,2)
[2025-02-09 12:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:40:08] Production.INFO: ==27536== Releasing lock...
[2025-02-09 12:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 12:40:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 12:40:12] Production.ERROR: CronJobId end10
[2025-02-09 12:40:12] Production.INFO: ==27530== Releasing lock...
[2025-02-09 12:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:40:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:40:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:40:15] Production.INFO: call_cost start
[2025-02-09 12:40:15] Production.INFO: call_cost end
[2025-02-09 12:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:40:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:40:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:40:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:40:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:40:16] Production.INFO: ==27526== Releasing lock...
[2025-02-09 12:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:40:19] Production.INFO: count ==983
[2025-02-09 12:40:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:40:06 - End Time 2025-02-09 12:40:06
[2025-02-09 12:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437118', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437118', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437118', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437118', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:40:19] Production.INFO: ProcessCDR(1,14437118,1,1,2)
[2025-02-09 12:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437118', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437118', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:40:22] Production.INFO: ==27534== Releasing lock...
[2025-02-09 12:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:40:22] Production.INFO: 35.75 MB #Memory Used#
[2025-02-09 17:41:01] Production.INFO: ==27603== Lock acquired, processing the job...
[2025-02-09 17:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:41:01] Production.INFO: neon service started
[2025-02-09 17:41:01] Production.INFO: neon service started
[2025-02-09 17:41:01] Production.INFO: ==27603== Releasing lock...
[2025-02-09 17:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:41:02] Production.INFO: ==27605== Lock acquired, processing the job...
[2025-02-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:41:02] Production.INFO: ==27605== Releasing lock...
[2025-02-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:41:02] Production.INFO: ==27607== Lock acquired, processing the job...
[2025-02-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:41:02] Production.INFO: ==27607== Releasing lock...
[2025-02-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:41:03] Production.INFO: ==27610== Lock acquired, processing the job...
[2025-02-09 12:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:41:03] Production.INFO: ==27616== Lock acquired, processing the job...
[2025-02-09 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:41:03] Production.INFO: ==27618== Lock acquired, processing the job...
[2025-02-09 12:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:41:03] Production.INFO: ==27612== Lock acquired, processing the job...
[2025-02-09 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:41:03] Production.INFO: ==27614== Lock acquired, processing the job...
[2025-02-09 12:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:41:03] Production.INFO: ==27620== Lock acquired, processing the job...
[2025-02-09 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:41:03] Production.INFO: Account Balance Start.
[2025-02-09 12:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:41:03] Production.INFO: 117
[2025-02-09 12:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:41:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:41:03] Production.INFO: Total Charge 0
[2025-02-09 12:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:41:03] Production.INFO: ==27612== Releasing lock...
[2025-02-09 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:41:03] Production.INFO: CreateAllLog End
[2025-02-09 12:41:03] Production.INFO: count ==21
[2025-02-09 12:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:41:04] Production.INFO: count ==21
[2025-02-09 12:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437123') start
[2025-02-09 12:41:04] Production.ERROR: done
[2025-02-09 12:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437123') end
[2025-02-09 12:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:41:04] Production.INFO: 1
[2025-02-09 12:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:41:04] Production.INFO: ==27620== Releasing lock...
[2025-02-09 12:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:41:04] Production.ERROR: done
[2025-02-09 12:41:04] Production.INFO: Account Balance End.
[2025-02-09 12:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:41:04] Production.INFO: ==27616== Releasing lock...
[2025-02-09 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:41:05
[end_date_ymd] => 2025-02-09 12:41:05
[RateCDR] => 1
)
[2025-02-09 12:41: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` >= '2025-02-09 09:41:05' and `end` < '2025-02-09 12:41: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 ,'')
[2025-02-09 12:41:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 12:41:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:41:11] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:41:11] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:41:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:41:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:41:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:41:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:41:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:41:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:41:11] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:41:11] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:41:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:41:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:41:11] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:41:12] Production.INFO: call_cost start
[2025-02-09 12:41:12] Production.INFO: call_cost end
[2025-02-09 12:41:12] Production.ERROR: CronJobId end10
[2025-02-09 12:41:12] Production.INFO: ==27614== Releasing lock...
[2025-02-09 12:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:41:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:41:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:41:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:41:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:41:13] Production.INFO: ==27610== Releasing lock...
[2025-02-09 12:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:41:19] Production.INFO: count ==1029
[2025-02-09 12:41:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:41:05 - End Time 2025-02-09 12:41:05
[2025-02-09 12:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437124', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437124', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437124', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437124', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:41:19] Production.INFO: ProcessCDR(1,14437124,1,1,2)
[2025-02-09 12:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437124', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437124', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:41:22] Production.INFO: ==27618== Releasing lock...
[2025-02-09 12:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:41:22] Production.INFO: 36 MB #Memory Used#
[2025-02-09 17:42:02] Production.INFO: ==27687== Lock acquired, processing the job...
[2025-02-09 17:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:42:02] Production.INFO: neon service started
[2025-02-09 17:42:02] Production.INFO: neon service started
[2025-02-09 17:42:02] Production.INFO: ==27687== Releasing lock...
[2025-02-09 17:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:42:02] Production.INFO: ==27689== Lock acquired, processing the job...
[2025-02-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:42:03] Production.INFO: ==27689== Releasing lock...
[2025-02-09 12:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:42:03] Production.INFO: ==27691== Lock acquired, processing the job...
[2025-02-09 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:42:03] Production.INFO: ==27691== Releasing lock...
[2025-02-09 17:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:42:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:42:03] Production.INFO: ==27700== Lock acquired, processing the job...
[2025-02-09 12:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:42:03] Production.INFO: Account Balance Start.
[2025-02-09 12:42:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:42:03] Production.INFO: 117
[2025-02-09 12:42:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:42:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:42:04] Production.INFO: Total Charge 0
[2025-02-09 12:42:04] Production.INFO: CreateAllLog End
[2025-02-09 12:42:04] Production.INFO: Account Balance End.
[2025-02-09 12:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:42:04] Production.INFO: ==27700== Releasing lock...
[2025-02-09 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:42:04] Production.INFO: ==27694== Lock acquired, processing the job...
[2025-02-09 12:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:42:04] Production.INFO: ==27704== Lock acquired, processing the job...
[2025-02-09 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:42:04] Production.INFO: ==27696== Lock acquired, processing the job...
[2025-02-09 12:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:42:04] Production.INFO: ==27698== Lock acquired, processing the job...
[2025-02-09 12:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:42:04] Production.INFO: ==27702== Lock acquired, processing the job...
[2025-02-09 12:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:42:04] Production.INFO: count ==21
[2025-02-09 12:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:42:04] Production.INFO: count ==21
[2025-02-09 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437126') start
[2025-02-09 12:42:04] Production.INFO: ==27696== Releasing lock...
[2025-02-09 12:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437126') end
[2025-02-09 12:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:42:04] Production.INFO: 1
[2025-02-09 12:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:42:04] Production.INFO: ==27704== Releasing lock...
[2025-02-09 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:42:04] Production.ERROR: done
[2025-02-09 12:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:42:05] Production.ERROR: done
[2025-02-09 12:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:42:06
[end_date_ymd] => 2025-02-09 12:42:06
[RateCDR] => 1
)
[2025-02-09 12:42: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-02-09 09:42:06' and `end` < '2025-02-09 12:42: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-02-09 12:42:13] Production.ERROR: CronJobId end10
[2025-02-09 12:42:13] Production.INFO: ==27698== Releasing lock...
[2025-02-09 12:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:42:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:42:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:42:15] Production.INFO: call_cost start
[2025-02-09 12:42:15] Production.INFO: call_cost end
[2025-02-09 12:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:42:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:42:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:42:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:42:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:42:16] Production.INFO: ==27694== Releasing lock...
[2025-02-09 12:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:42:19] Production.INFO: count ==1037
[2025-02-09 12:42:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:42:06 - End Time 2025-02-09 12:42:06
[2025-02-09 12:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437129', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437129', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437129', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437129', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:42:19] Production.INFO: ProcessCDR(1,14437129,1,1,2)
[2025-02-09 12:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437129', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437129', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:42:23] Production.INFO: ==27702== Releasing lock...
[2025-02-09 12:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:42:23] Production.INFO: 36.25 MB #Memory Used#
[2025-02-09 17:43:01] Production.INFO: ==27813== Lock acquired, processing the job...
[2025-02-09 17:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:43:01] Production.INFO: neon service started
[2025-02-09 17:43:01] Production.INFO: neon service started
[2025-02-09 17:43:01] Production.INFO: ==27813== Releasing lock...
[2025-02-09 17:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:43:02] Production.INFO: ==27817== Lock acquired, processing the job...
[2025-02-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:43:02] Production.INFO: ==27817== Releasing lock...
[2025-02-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:43:02] Production.INFO: ==27815== Lock acquired, processing the job...
[2025-02-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:43:02] Production.INFO: ==27815== Releasing lock...
[2025-02-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:43:03] Production.INFO: ==27820== Lock acquired, processing the job...
[2025-02-09 12:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:43:03] Production.INFO: ==27822== Lock acquired, processing the job...
[2025-02-09 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:43:03] Production.INFO: ==27828== Lock acquired, processing the job...
[2025-02-09 12:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:43:03] Production.INFO: ==27824== Lock acquired, processing the job...
[2025-02-09 12:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:43:03] Production.INFO: ==27826== Lock acquired, processing the job...
[2025-02-09 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:43:03] Production.INFO: ==27822== Releasing lock...
[2025-02-09 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:43:03] Production.INFO: Account Balance Start.
[2025-02-09 12:43:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:43:03] Production.INFO: ==27830== Lock acquired, processing the job...
[2025-02-09 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:43:03] Production.INFO: 117
[2025-02-09 12:43:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:43:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:43:03] Production.ERROR: done
[2025-02-09 12:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:43:03] Production.INFO: Total Charge 0
[2025-02-09 12:43:03] Production.INFO: CreateAllLog End
[2025-02-09 12:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:43:04] Production.INFO: count ==21
[2025-02-09 12:43:04] Production.ERROR: done
[2025-02-09 12:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:43:04] Production.INFO: count ==21
[2025-02-09 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437133') start
[2025-02-09 12:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437133') end
[2025-02-09 12:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:43:04] Production.INFO: 1
[2025-02-09 12:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:43:04] Production.INFO: Account Balance End.
[2025-02-09 12:43:04] Production.INFO: ==27830== Releasing lock...
[2025-02-09 12:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:43:04] Production.INFO: ==27826== Releasing lock...
[2025-02-09 12:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:43:05
[end_date_ymd] => 2025-02-09 12:43:05
[RateCDR] => 1
)
[2025-02-09 12:43: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` >= '2025-02-09 09:43:05' and `end` < '2025-02-09 12:43: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 ,'')
[2025-02-09 12:43:12] Production.ERROR: CronJobId end10
[2025-02-09 12:43:12] Production.INFO: ==27824== Releasing lock...
[2025-02-09 12:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:43:14] Production.INFO: call_cost start
[2025-02-09 12:43:14] Production.INFO: call_cost end
[2025-02-09 12:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:43:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:43:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:43:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:43:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:43:15] Production.INFO: ==27820== Releasing lock...
[2025-02-09 12:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:43:19] Production.INFO: count ==1037
[2025-02-09 12:43:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:43:05 - End Time 2025-02-09 12:43:05
[2025-02-09 12:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437134', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437134', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437134', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437134', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:43:19] Production.INFO: ProcessCDR(1,14437134,1,1,2)
[2025-02-09 12:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437134', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437134', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:43:23] Production.INFO: ==27828== Releasing lock...
[2025-02-09 12:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:43:23] Production.INFO: 36.25 MB #Memory Used#
[2025-02-09 17:44:02] Production.INFO: ==27896== Lock acquired, processing the job...
[2025-02-09 17:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:44:02] Production.INFO: neon service started
[2025-02-09 17:44:02] Production.INFO: neon service started
[2025-02-09 17:44:02] Production.INFO: ==27896== Releasing lock...
[2025-02-09 17:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:44:02] Production.INFO: ==27898== Lock acquired, processing the job...
[2025-02-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:44:03] Production.INFO: ==27898== Releasing lock...
[2025-02-09 12:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:44:03] Production.INFO: ==27900== Lock acquired, processing the job...
[2025-02-09 17:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:44:03] Production.INFO: ==27900== Releasing lock...
[2025-02-09 17:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:44:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:44:03] Production.INFO: ==27902== Lock acquired, processing the job...
[2025-02-09 12:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:44:03] Production.INFO: ==27912== Lock acquired, processing the job...
[2025-02-09 12:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:44:04] Production.INFO: count ==21
[2025-02-09 12:44:04] Production.INFO: ==27904== Lock acquired, processing the job...
[2025-02-09 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:44:04] Production.INFO: count ==21
[2025-02-09 12:44:04] Production.INFO: ==27906== Lock acquired, processing the job...
[2025-02-09 12:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:44:04] Production.INFO: ==27908== Lock acquired, processing the job...
[2025-02-09 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437136') start
[2025-02-09 12:44:04] Production.INFO: ==27910== Lock acquired, processing the job...
[2025-02-09 12:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:44:04] Production.INFO: Account Balance Start.
[2025-02-09 12:44:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:44:04] Production.INFO: 117
[2025-02-09 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437136') end
[2025-02-09 12:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:44:04] Production.INFO: 1
[2025-02-09 12:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:44:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:44:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:44:04] Production.INFO: Total Charge 0
[2025-02-09 12:44:04] Production.INFO: ==27912== Releasing lock...
[2025-02-09 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:44:04] Production.INFO: CreateAllLog End
[2025-02-09 12:44:04] Production.INFO: ==27904== Releasing lock...
[2025-02-09 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:44:04] Production.ERROR: done
[2025-02-09 12:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:44:05] Production.ERROR: done
[2025-02-09 12:44:05] Production.INFO: Account Balance End.
[2025-02-09 12:44:05] Production.ERROR: CronJobId end 12
[2025-02-09 12:44:05] Production.INFO: ==27908== Releasing lock...
[2025-02-09 12:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:44:05
[end_date_ymd] => 2025-02-09 12:44:05
[RateCDR] => 1
)
[2025-02-09 12:44: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-02-09 09:44:05' and `end` < '2025-02-09 12:44: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 ,'')
[2025-02-09 12:44:12] Production.ERROR: CronJobId end10
[2025-02-09 12:44:12] Production.INFO: ==27906== Releasing lock...
[2025-02-09 12:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:44:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:44:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:44:15] Production.INFO: call_cost start
[2025-02-09 12:44:15] Production.INFO: call_cost end
[2025-02-09 12:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:44:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:44:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:44:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:44:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:44:16] Production.INFO: ==27902== Releasing lock...
[2025-02-09 12:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:44:18] Production.INFO: count ==1037
[2025-02-09 12:44:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:44:05 - End Time 2025-02-09 12:44:05
[2025-02-09 12:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437139', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437139', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437139', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437139', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:44:19] Production.INFO: ProcessCDR(1,14437139,1,1,2)
[2025-02-09 12:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437139', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437139', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:44:22] Production.INFO: ==27910== Releasing lock...
[2025-02-09 12:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:44:22] Production.INFO: 36.25 MB #Memory Used#
[2025-02-09 17:45:01] Production.INFO: ==27985== Lock acquired, processing the job...
[2025-02-09 17:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:45:01] Production.INFO: neon service started
[2025-02-09 17:45:01] Production.INFO: neon service started
[2025-02-09 17:45:01] Production.INFO: ==27985== Releasing lock...
[2025-02-09 17:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:45:02] Production.INFO: ==27989== Lock acquired, processing the job...
[2025-02-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 12:45:02] Production.INFO: ==27987== Lock acquired, processing the job...
[2025-02-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:45:02] Production.INFO: ==27989== Releasing lock...
[2025-02-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:45:02] Production.INFO: ==27987== Releasing lock...
[2025-02-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:45:03] Production.INFO: ==27994== Lock acquired, processing the job...
[2025-02-09 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:45:03] Production.INFO: ==27992== Lock acquired, processing the job...
[2025-02-09 12:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:45:03] Production.INFO: ==28002== Lock acquired, processing the job...
[2025-02-09 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:45:03] Production.INFO: ==27998== Lock acquired, processing the job...
[2025-02-09 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:45:03] Production.INFO: ==27994== Releasing lock...
[2025-02-09 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:45:03] Production.INFO: ==27996== Lock acquired, processing the job...
[2025-02-09 12:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:45:03] Production.INFO: Account Balance Start.
[2025-02-09 12:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:45:03] Production.INFO: 117
[2025-02-09 12:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:45:03] Production.INFO: ==28000== Lock acquired, processing the job...
[2025-02-09 12:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:45:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:45:03] Production.INFO: Total Charge 0
[2025-02-09 12:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:45:04] Production.INFO: count ==21
[2025-02-09 12:45:04] Production.INFO: CreateAllLog End
[2025-02-09 12:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:45:04] Production.INFO: count ==21
[2025-02-09 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437143') start
[2025-02-09 12:45:04] Production.INFO: Account Balance End.
[2025-02-09 12:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:45:04] Production.INFO: ==27998== Releasing lock...
[2025-02-09 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437143') end
[2025-02-09 12:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:45:04] Production.INFO: 1
[2025-02-09 12:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:45:04] Production.ERROR: done
[2025-02-09 12:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:45:04] Production.INFO: ==28002== Releasing lock...
[2025-02-09 12:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:45:04] Production.ERROR: done
[2025-02-09 12:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:45:05
[end_date_ymd] => 2025-02-09 12:45:05
[RateCDR] => 1
)
[2025-02-09 12:45: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` >= '2025-02-09 09:45:05' and `end` < '2025-02-09 12:45: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 ,'')
[2025-02-09 12:45:12] Production.ERROR: CronJobId end10
[2025-02-09 12:45:12] Production.INFO: ==27996== Releasing lock...
[2025-02-09 12:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:45:13] Production.INFO: call_cost start
[2025-02-09 12:45:13] Production.INFO: call_cost end
[2025-02-09 12:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:45:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:45:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:45:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:45:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:45:14] Production.INFO: ==27992== Releasing lock...
[2025-02-09 12:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:45:18] Production.INFO: count ==1044
[2025-02-09 12:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:45:05 - End Time 2025-02-09 12:45:05
[2025-02-09 12:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437144', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437144', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437144', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437144', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:45:18] Production.INFO: ProcessCDR(1,14437144,1,1,2)
[2025-02-09 12:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437144', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437144', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:45:23] Production.INFO: ==28000== Releasing lock...
[2025-02-09 12:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:45:23] Production.INFO: 36 MB #Memory Used#
[2025-02-09 17:46:02] Production.INFO: ==28070== Lock acquired, processing the job...
[2025-02-09 17:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:46:02] Production.INFO: neon service started
[2025-02-09 17:46:02] Production.INFO: neon service started
[2025-02-09 17:46:02] Production.INFO: ==28070== Releasing lock...
[2025-02-09 17:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:46:02] Production.INFO: ==28072== Lock acquired, processing the job...
[2025-02-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:46:02] Production.INFO: ==28072== Releasing lock...
[2025-02-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:46:03] Production.INFO: ==28074== Lock acquired, processing the job...
[2025-02-09 17:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:46:03] Production.INFO: ==28074== Releasing lock...
[2025-02-09 17:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:46:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:46:03] Production.INFO: ==28079== Lock acquired, processing the job...
[2025-02-09 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:46:03] Production.INFO: ==28077== Lock acquired, processing the job...
[2025-02-09 12:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:46:03] Production.INFO: ==28085== Lock acquired, processing the job...
[2025-02-09 12:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:46:03] Production.INFO: ==28081== Lock acquired, processing the job...
[2025-02-09 12:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:46:04] Production.INFO: ==28083== Lock acquired, processing the job...
[2025-02-09 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:46:04] Production.INFO: ==28087== Lock acquired, processing the job...
[2025-02-09 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:46:04] Production.INFO: ==28079== Releasing lock...
[2025-02-09 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:46:04] Production.INFO: Account Balance Start.
[2025-02-09 12:46:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:46:04] Production.INFO: 117
[2025-02-09 12:46:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:46:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:46:04] Production.INFO: Total Charge 0
[2025-02-09 12:46:04] Production.INFO: CreateAllLog End
[2025-02-09 12:46:04] Production.INFO: count ==21
[2025-02-09 12:46:04] Production.ERROR: done
[2025-02-09 12:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:46:04] Production.INFO: count ==21
[2025-02-09 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437147') start
[2025-02-09 12:46:04] Production.ERROR: done
[2025-02-09 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437147') end
[2025-02-09 12:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:46:04] Production.INFO: 1
[2025-02-09 12:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:46:04] Production.INFO: Account Balance End.
[2025-02-09 12:46:04] Production.INFO: ==28087== Releasing lock...
[2025-02-09 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:46:04] Production.INFO: ==28083== Releasing lock...
[2025-02-09 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:46:05
[end_date_ymd] => 2025-02-09 12:46:05
[RateCDR] => 1
)
[2025-02-09 12:46: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` >= '2025-02-09 09:46:05' and `end` < '2025-02-09 12:46: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 ,'')
[2025-02-09 12:46:12] Production.ERROR: CronJobId end10
[2025-02-09 12:46:12] Production.INFO: ==28081== Releasing lock...
[2025-02-09 12:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:46:15] Production.INFO: call_cost start
[2025-02-09 12:46:15] Production.INFO: call_cost end
[2025-02-09 12:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:46:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:46:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:46:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:46:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:46:16] Production.INFO: ==28077== Releasing lock...
[2025-02-09 12:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:46:18] Production.INFO: count ==1045
[2025-02-09 12:46:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:46:05 - End Time 2025-02-09 12:46:05
[2025-02-09 12:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437149', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437149', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437149', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437149', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:46:19] Production.INFO: ProcessCDR(1,14437149,1,1,2)
[2025-02-09 12:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437149', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437149', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:46:23] Production.INFO: ==28085== Releasing lock...
[2025-02-09 12:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:46:23] Production.INFO: 36 MB #Memory Used#
[2025-02-09 17:47:01] Production.INFO: ==28159== Lock acquired, processing the job...
[2025-02-09 17:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:47:01] Production.INFO: neon service started
[2025-02-09 17:47:01] Production.INFO: neon service started
[2025-02-09 17:47:01] Production.INFO: ==28159== Releasing lock...
[2025-02-09 17:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:47:01] Production.INFO: ==28161== Lock acquired, processing the job...
[2025-02-09 12:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:47:02] Production.INFO: ==28161== Releasing lock...
[2025-02-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:47:02] Production.INFO: ==28163== Lock acquired, processing the job...
[2025-02-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:47:02] Production.INFO: ==28163== Releasing lock...
[2025-02-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:47:03] Production.INFO: ==28165== Lock acquired, processing the job...
[2025-02-09 12:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:47:03] Production.INFO: ==28169== Lock acquired, processing the job...
[2025-02-09 12:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:47:03] Production.INFO: ==28171== Lock acquired, processing the job...
[2025-02-09 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:47:03] Production.INFO: ==28167== Lock acquired, processing the job...
[2025-02-09 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:47:03] Production.INFO: ==28173== Lock acquired, processing the job...
[2025-02-09 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:47:03] Production.INFO: Account Balance Start.
[2025-02-09 12:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:47:03] Production.INFO: ==28175== Lock acquired, processing the job...
[2025-02-09 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:47:03] Production.INFO: 117
[2025-02-09 12:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:47:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:47:03] Production.INFO: Total Charge 0
[2025-02-09 12:47:03] Production.INFO: CreateAllLog End
[2025-02-09 12:47:03] Production.INFO: count ==21
[2025-02-09 12:47:03] Production.INFO: ==28167== Releasing lock...
[2025-02-09 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:47:03] Production.ERROR: done
[2025-02-09 12:47:03] Production.INFO: count ==21
[2025-02-09 12:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437153') start
[2025-02-09 12:47:03] Production.ERROR: done
[2025-02-09 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437153') end
[2025-02-09 12:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:47:03] Production.INFO: 1
[2025-02-09 12:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:47:04] Production.INFO: ==28175== Releasing lock...
[2025-02-09 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:47:04] Production.INFO: Account Balance End.
[2025-02-09 12:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:47:04] Production.INFO: ==28171== Releasing lock...
[2025-02-09 12:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:47:04
[end_date_ymd] => 2025-02-09 12:47:04
[RateCDR] => 1
)
[2025-02-09 12:47:04] 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-02-09 09:47:04' and `end` < '2025-02-09 12:47:04'
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-02-09 12:47:12] Production.ERROR: CronJobId end10
[2025-02-09 12:47:12] Production.INFO: ==28169== Releasing lock...
[2025-02-09 12:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:47:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:47:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:47:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:47:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:47:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:47:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:47:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:47:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:47:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:47:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:47:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:47:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:47:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:47:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:47:15] Production.INFO: call_cost start
[2025-02-09 12:47:15] Production.INFO: call_cost end
[2025-02-09 12:47:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:47:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:47:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:47:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:47:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:47:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:47:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:47:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:47:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:47:16] Production.INFO: ==28165== Releasing lock...
[2025-02-09 12:47:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:47:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:47:18] Production.INFO: count ==1052
[2025-02-09 12:47:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:47:04 - End Time 2025-02-09 12:47:04
[2025-02-09 12:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437154', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437154', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437154', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437154', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:47:18] Production.INFO: ProcessCDR(1,14437154,1,1,2)
[2025-02-09 12:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437154', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437154', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:47:21] Production.INFO: ==28173== Releasing lock...
[2025-02-09 12:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:47:21] Production.INFO: 36.5 MB #Memory Used#
[2025-02-09 17:48:02] Production.INFO: ==28241== Lock acquired, processing the job...
[2025-02-09 17:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:48:02] Production.INFO: neon service started
[2025-02-09 17:48:02] Production.INFO: neon service started
[2025-02-09 17:48:02] Production.INFO: ==28241== Releasing lock...
[2025-02-09 17:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:48:02] Production.INFO: ==28244== Lock acquired, processing the job...
[2025-02-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:48:02] Production.INFO: ==28246== Lock acquired, processing the job...
[2025-02-09 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:48:02] Production.INFO: ==28246== Releasing lock...
[2025-02-09 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:48:02] Production.INFO: ==28244== Releasing lock...
[2025-02-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:48:03] Production.INFO: ==28248== Lock acquired, processing the job...
[2025-02-09 12:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:48:03] Production.INFO: ==28250== Lock acquired, processing the job...
[2025-02-09 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:48:03] Production.INFO: ==28252== Lock acquired, processing the job...
[2025-02-09 12:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:48:03] Production.INFO: ==28254== Lock acquired, processing the job...
[2025-02-09 12:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:48:03] Production.INFO: ==28256== Lock acquired, processing the job...
[2025-02-09 12:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:48:03] Production.INFO: Account Balance Start.
[2025-02-09 12:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:48:03] Production.INFO: 117
[2025-02-09 12:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:48:03] Production.INFO: ==28250== Releasing lock...
[2025-02-09 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:48:04] Production.INFO: ==28258== Lock acquired, processing the job...
[2025-02-09 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:48:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:48:04] Production.INFO: Total Charge 0
[2025-02-09 12:48:04] Production.INFO: CreateAllLog End
[2025-02-09 12:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:48:04] Production.INFO: count ==21
[2025-02-09 12:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:48:04] Production.INFO: count ==21
[2025-02-09 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437158') start
[2025-02-09 12:48:04] Production.INFO: Account Balance End.
[2025-02-09 12:48:04] Production.ERROR: done
[2025-02-09 12:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437158') end
[2025-02-09 12:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:48:04] Production.INFO: 1
[2025-02-09 12:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:48:04] Production.INFO: ==28254== Releasing lock...
[2025-02-09 12:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:48:04] Production.INFO: ==28258== Releasing lock...
[2025-02-09 12:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:48:04] Production.ERROR: done
[2025-02-09 12:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:48:05
[end_date_ymd] => 2025-02-09 12:48:05
[RateCDR] => 1
)
[2025-02-09 12:48: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` >= '2025-02-09 09:48:05' and `end` < '2025-02-09 12:48: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 ,'')
[2025-02-09 12:48:11] Production.ERROR: CronJobId end10
[2025-02-09 12:48:11] Production.INFO: ==28252== Releasing lock...
[2025-02-09 12:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:48:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:48:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:48:14] Production.INFO: call_cost start
[2025-02-09 12:48:14] Production.INFO: call_cost end
[2025-02-09 12:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:48:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:48:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:48:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:48:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:48:15] Production.INFO: ==28248== Releasing lock...
[2025-02-09 12:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:48:18] Production.INFO: count ==1053
[2025-02-09 12:48:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:48:05 - End Time 2025-02-09 12:48:05
[2025-02-09 12:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437159', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437159', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437159', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437159', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:48:19] Production.INFO: ProcessCDR(1,14437159,1,1,2)
[2025-02-09 12:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437159', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437159', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:48:22] Production.INFO: ==28256== Releasing lock...
[2025-02-09 12:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:48:22] Production.INFO: 36.5 MB #Memory Used#
[2025-02-09 17:49:01] Production.INFO: ==28330== Lock acquired, processing the job...
[2025-02-09 17:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:49:01] Production.INFO: neon service started
[2025-02-09 17:49:01] Production.INFO: neon service started
[2025-02-09 17:49:01] Production.INFO: ==28330== Releasing lock...
[2025-02-09 17:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:49:02] Production.INFO: ==28332== Lock acquired, processing the job...
[2025-02-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:49:02] Production.INFO: ==28334== Lock acquired, processing the job...
[2025-02-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:49:02] Production.INFO: ==28334== Releasing lock...
[2025-02-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:49:02] Production.INFO: ==28332== Releasing lock...
[2025-02-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:49:03] Production.INFO: ==28337== Lock acquired, processing the job...
[2025-02-09 12:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:49:03] Production.INFO: ==28341== Lock acquired, processing the job...
[2025-02-09 12:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:49:03] Production.INFO: ==28343== Lock acquired, processing the job...
[2025-02-09 12:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:49:03] Production.INFO: Account Balance Start.
[2025-02-09 12:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:49:03] Production.INFO: 117
[2025-02-09 12:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:49:03] Production.INFO: ==28345== Lock acquired, processing the job...
[2025-02-09 12:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:49:03] Production.INFO: ==28339== Lock acquired, processing the job...
[2025-02-09 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:49:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:49:03] Production.INFO: ==28347== Lock acquired, processing the job...
[2025-02-09 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:49:03] Production.INFO: Total Charge 0
[2025-02-09 12:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:49:03] Production.INFO: CreateAllLog End
[2025-02-09 12:49:03] Production.INFO: count ==21
[2025-02-09 12:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:49:04] Production.INFO: count ==21
[2025-02-09 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437163') start
[2025-02-09 12:49:04] Production.INFO: ==28339== Releasing lock...
[2025-02-09 12:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:49:04] Production.ERROR: done
[2025-02-09 12:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437163') end
[2025-02-09 12:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:49:04] Production.INFO: 1
[2025-02-09 12:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:49:04] Production.INFO: Account Balance End.
[2025-02-09 12:49:04] Production.INFO: ==28347== Releasing lock...
[2025-02-09 12:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:49:04] Production.ERROR: done
[2025-02-09 12:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:49:04] Production.INFO: ==28343== Releasing lock...
[2025-02-09 12:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:49:05
[end_date_ymd] => 2025-02-09 12:49:05
[RateCDR] => 1
)
[2025-02-09 12:49: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` >= '2025-02-09 09:49:05' and `end` < '2025-02-09 12:49: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 ,'')
[2025-02-09 12:49:11] Production.ERROR: CronJobId end10
[2025-02-09 12:49:11] Production.INFO: ==28341== Releasing lock...
[2025-02-09 12:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:49:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:49:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:49:14] Production.INFO: call_cost start
[2025-02-09 12:49:14] Production.INFO: call_cost end
[2025-02-09 12:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:49:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:49:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:49:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:49:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:49:14] Production.INFO: ==28337== Releasing lock...
[2025-02-09 12:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:49:18] Production.INFO: count ==1054
[2025-02-09 12:49:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:49:05 - End Time 2025-02-09 12:49:05
[2025-02-09 12:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437164', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437164', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437164', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437164', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:49:18] Production.INFO: ProcessCDR(1,14437164,1,1,2)
[2025-02-09 12:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437164', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437164', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:49:22] Production.INFO: ==28345== Releasing lock...
[2025-02-09 12:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:49:22] Production.INFO: 36.25 MB #Memory Used#
[2025-02-09 17:50:01] Production.INFO: ==28413== Lock acquired, processing the job...
[2025-02-09 17:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:50:01] Production.INFO: neon service started
[2025-02-09 17:50:01] Production.INFO: neon service started
[2025-02-09 17:50:01] Production.INFO: ==28413== Releasing lock...
[2025-02-09 17:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:50:02] Production.INFO: ==28415== Lock acquired, processing the job...
[2025-02-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:50:02] Production.INFO: ==28415== Releasing lock...
[2025-02-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:50:02] Production.INFO: ==28417== Lock acquired, processing the job...
[2025-02-09 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:50:02] Production.INFO: ==28417== Releasing lock...
[2025-02-09 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:50:03] Production.INFO: ==28422== Lock acquired, processing the job...
[2025-02-09 12:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:50:03] Production.INFO: ==28420== Lock acquired, processing the job...
[2025-02-09 12:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 12:50:03] Production.INFO: ==28424== Lock acquired, processing the job...
[2025-02-09 12:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 12:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 12:50:03] Production.ERROR: CronJob PID - 28422
[2025-02-09 12:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 12:50:03] Production.ERROR: CronJob ID - 5
[2025-02-09 12:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 12:50:00
[2025-02-09 12:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 12:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 12:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 12:50:03] Production.ERROR: CronJob PID - 28424
[2025-02-09 12:50:03] Production.ERROR: CronJob Title - Account Block
[2025-02-09 12:50:03] Production.ERROR: CronJob ID - 7
[2025-02-09 12:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 12:50:00
[2025-02-09 12:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 12:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 12:50:03] Production.INFO: ==28428== Lock acquired, processing the job...
[2025-02-09 12:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 12:50:03] Production.INFO: ==28420== Releasing lock...
[2025-02-09 12:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 12:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 12:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:50:04] Production.INFO: ==28426== Lock acquired, processing the job...
[2025-02-09 12:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:50:04] Production.INFO: Account Balance Start.
[2025-02-09 12:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:50:04] Production.INFO: 117
[2025-02-09 12:50:04] Production.INFO: ==28430== Lock acquired, processing the job...
[2025-02-09 12:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:50:04] Production.INFO: ==28424== Releasing lock...
[2025-02-09 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:50:04] Production.INFO: ==28434== Lock acquired, processing the job...
[2025-02-09 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:50:04] Production.INFO: ==28432== Lock acquired, processing the job...
[2025-02-09 12:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 12:50:04] Production.INFO: Total Charge 0
[2025-02-09 12:50:04] Production.INFO: CreateAllLog End
[2025-02-09 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:50:04] Production.INFO: count ==21
[2025-02-09 12:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:50:04] Production.INFO: count ==21
[2025-02-09 12:50:04] Production.INFO: Account Balance End.
[2025-02-09 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437168') start
[2025-02-09 12:50:04] Production.ERROR: done
[2025-02-09 12:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:50:04] Production.INFO: ==28428== Releasing lock...
[2025-02-09 12:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:50:04] Production.ERROR: done
[2025-02-09 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437168') end
[2025-02-09 12:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:50:04] Production.INFO: 1
[2025-02-09 12:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:50:04] Production.ERROR: done
[2025-02-09 12:50:04] Production.INFO: ==28434== Releasing lock...
[2025-02-09 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 12:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437169', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 12:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:50:06
[end_date_ymd] => 2025-02-09 12:50:06
[RateCDR] => 1
)
[2025-02-09 12:50: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-02-09 09:50:06' and `end` < '2025-02-09 12:50: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-02-09 12:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437169', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 12:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 12:50:09] Production.INFO: ProcessCDR(1,14437169,1,1,2)
[2025-02-09 12:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437169,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437169,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:50:09] Production.INFO: ==28432== Releasing lock...
[2025-02-09 12:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 12:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 12:50:13] Production.ERROR: CronJobId end10
[2025-02-09 12:50:13] Production.INFO: ==28426== Releasing lock...
[2025-02-09 12:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:50:16] Production.INFO: call_cost start
[2025-02-09 12:50:16] Production.INFO: call_cost end
[2025-02-09 12:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:50:17] Production.INFO: ==28422== Releasing lock...
[2025-02-09 12:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:50:19] Production.INFO: count ==1056
[2025-02-09 12:50:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:50:06 - End Time 2025-02-09 12:50:06
[2025-02-09 12:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437170', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437170', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437170', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437170', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:50:19] Production.INFO: ProcessCDR(1,14437170,1,1,2)
[2025-02-09 12:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437170', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437170', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:50:24] Production.INFO: ==28430== Releasing lock...
[2025-02-09 12:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:50:24] Production.INFO: 36.5 MB #Memory Used#
[2025-02-09 17:51:02] Production.INFO: ==28508== Lock acquired, processing the job...
[2025-02-09 17:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:51:02] Production.INFO: neon service started
[2025-02-09 17:51:02] Production.INFO: neon service started
[2025-02-09 17:51:02] Production.INFO: ==28508== Releasing lock...
[2025-02-09 17:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:51:02] Production.INFO: ==28510== Lock acquired, processing the job...
[2025-02-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:51:03] Production.INFO: ==28512== Lock acquired, processing the job...
[2025-02-09 17:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:51:03] Production.INFO: ==28512== Releasing lock...
[2025-02-09 17:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:51:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:51:03] Production.INFO: ==28510== Releasing lock...
[2025-02-09 12:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:51:03] Production.INFO: ==28517== Lock acquired, processing the job...
[2025-02-09 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:51:04] Production.INFO: ==28519== Lock acquired, processing the job...
[2025-02-09 12:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:51:04] Production.INFO: ==28521== Lock acquired, processing the job...
[2025-02-09 12:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:51:04] Production.INFO: Account Balance Start.
[2025-02-09 12:51:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:51:04] Production.INFO: 117
[2025-02-09 12:51:04] Production.INFO: ==28517== Releasing lock...
[2025-02-09 12:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:51:04] Production.INFO: ==28515== Lock acquired, processing the job...
[2025-02-09 12:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:51:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:51:04] Production.INFO: Total Charge 0
[2025-02-09 12:51:04] Production.INFO: ==28523== Lock acquired, processing the job...
[2025-02-09 12:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:51:04] Production.INFO: CreateAllLog End
[2025-02-09 12:51:04] Production.INFO: ==28525== Lock acquired, processing the job...
[2025-02-09 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:51:04] Production.INFO: Account Balance End.
[2025-02-09 12:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:51:04] Production.INFO: ==28521== Releasing lock...
[2025-02-09 12:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:51:04] Production.INFO: count ==21
[2025-02-09 12:51:04] Production.ERROR: done
[2025-02-09 12:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:51:04] Production.INFO: count ==21
[2025-02-09 12:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437174') start
[2025-02-09 12:51:04] Production.ERROR: done
[2025-02-09 12:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437174') end
[2025-02-09 12:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:51:04] Production.INFO: 1
[2025-02-09 12:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:51:04] Production.INFO: ==28525== Releasing lock...
[2025-02-09 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:51:05
[end_date_ymd] => 2025-02-09 12:51:05
[RateCDR] => 1
)
[2025-02-09 12:51: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` >= '2025-02-09 09:51:05' and `end` < '2025-02-09 12:51: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 ,'')
[2025-02-09 12:51:12] Production.ERROR: CronJobId end10
[2025-02-09 12:51:12] Production.INFO: ==28519== Releasing lock...
[2025-02-09 12:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:51:15] Production.INFO: call_cost start
[2025-02-09 12:51:15] Production.INFO: call_cost end
[2025-02-09 12:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:51:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:51:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:51:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:51:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:51:16] Production.INFO: ==28515== Releasing lock...
[2025-02-09 12:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:51:19] Production.INFO: count ==1081
[2025-02-09 12:51:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:51:05 - End Time 2025-02-09 12:51:05
[2025-02-09 12:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437175', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437175', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437175', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437175', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:51:19] Production.INFO: ProcessCDR(1,14437175,1,1,2)
[2025-02-09 12:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437175', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437175', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:51:22] Production.INFO: ==28523== Releasing lock...
[2025-02-09 12:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:51:22] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 17:52:01] Production.INFO: ==28590== Lock acquired, processing the job...
[2025-02-09 17:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:52:01] Production.INFO: neon service started
[2025-02-09 17:52:01] Production.INFO: neon service started
[2025-02-09 17:52:01] Production.INFO: ==28590== Releasing lock...
[2025-02-09 17:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:52:02] Production.INFO: ==28593== Lock acquired, processing the job...
[2025-02-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:52:02] Production.INFO: ==28593== Releasing lock...
[2025-02-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:52:02] Production.INFO: ==28595== Lock acquired, processing the job...
[2025-02-09 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:52:02] Production.INFO: ==28595== Releasing lock...
[2025-02-09 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:52:03] Production.INFO: ==28597== Lock acquired, processing the job...
[2025-02-09 12:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:52:03] Production.INFO: ==28607== Lock acquired, processing the job...
[2025-02-09 12:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:52:03] Production.INFO: ==28599== Lock acquired, processing the job...
[2025-02-09 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:52:03] Production.INFO: ==28601== Lock acquired, processing the job...
[2025-02-09 12:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:52:03] Production.INFO: ==28603== Lock acquired, processing the job...
[2025-02-09 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:52:03] Production.INFO: ==28605== Lock acquired, processing the job...
[2025-02-09 12:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:52:03] Production.INFO: Account Balance Start.
[2025-02-09 12:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:52:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:52:03] Production.INFO: 117
[2025-02-09 12:52:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:52:03] Production.INFO: count ==21
[2025-02-09 12:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:52:03] Production.INFO: count ==21
[2025-02-09 12:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437177') start
[2025-02-09 12:52:03] Production.INFO: ==28599== Releasing lock...
[2025-02-09 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:52:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:52:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:52:03] Production.INFO: Total Charge 0
[2025-02-09 12:52:03] Production.INFO: CreateAllLog End
[2025-02-09 12:52:04] Production.ERROR: done
[2025-02-09 12:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437177') end
[2025-02-09 12:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:52:04] Production.INFO: 1
[2025-02-09 12:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:52:04] Production.INFO: ==28607== Releasing lock...
[2025-02-09 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:52:04] Production.ERROR: done
[2025-02-09 12:52:04] Production.INFO: Account Balance End.
[2025-02-09 12:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:52:04] Production.INFO: ==28603== Releasing lock...
[2025-02-09 12:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:52:05
[end_date_ymd] => 2025-02-09 12:52:05
[RateCDR] => 1
)
[2025-02-09 12:52: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` >= '2025-02-09 09:52:05' and `end` < '2025-02-09 12:52: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 ,'')
[2025-02-09 12:52:12] Production.ERROR: CronJobId end10
[2025-02-09 12:52:12] Production.INFO: ==28601== Releasing lock...
[2025-02-09 12:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:52:14] Production.INFO: call_cost start
[2025-02-09 12:52:14] Production.INFO: call_cost end
[2025-02-09 12:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:52:15] Production.INFO: ==28597== Releasing lock...
[2025-02-09 12:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:52:18] Production.INFO: count ==1134
[2025-02-09 12:52:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:52:05 - End Time 2025-02-09 12:52:05
[2025-02-09 12:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437180', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437180', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437180', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437180', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:52:18] Production.INFO: ProcessCDR(1,14437180,1,1,2)
[2025-02-09 12:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437180', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437180', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:52:21] Production.INFO: ==28605== Releasing lock...
[2025-02-09 12:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:52:21] Production.INFO: 36.5 MB #Memory Used#
[2025-02-09 17:53:02] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-02-09 17:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:53:02] Production.INFO: neon service started
[2025-02-09 17:53:02] Production.INFO: neon service started
[2025-02-09 17:53:02] Production.INFO: ==28679== Releasing lock...
[2025-02-09 17:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:53:02] Production.INFO: ==28681== Lock acquired, processing the job...
[2025-02-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:53:02] Production.INFO: ==28683== Lock acquired, processing the job...
[2025-02-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:53:02] Production.INFO: ==28683== Releasing lock...
[2025-02-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:53:03] Production.INFO: ==28681== Releasing lock...
[2025-02-09 12:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:53:04] Production.INFO: ==28686== Lock acquired, processing the job...
[2025-02-09 12:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:53:04] Production.INFO: ==28692== Lock acquired, processing the job...
[2025-02-09 12:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:53:04] Production.INFO: ==28694== Lock acquired, processing the job...
[2025-02-09 12:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:53:04] Production.INFO: ==28688== Lock acquired, processing the job...
[2025-02-09 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:53:04] Production.INFO: Account Balance Start.
[2025-02-09 12:53:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:53:04] Production.INFO: 117
[2025-02-09 12:53:04] Production.INFO: ==28690== Lock acquired, processing the job...
[2025-02-09 12:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:53:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:53:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:53:04] Production.INFO: ==28696== Lock acquired, processing the job...
[2025-02-09 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:53:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:53:04] Production.INFO: Total Charge 0
[2025-02-09 12:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:53:04] Production.INFO: CreateAllLog End
[2025-02-09 12:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:53:04] Production.INFO: count ==21
[2025-02-09 12:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:53:04] Production.INFO: count ==21
[2025-02-09 12:53:04] Production.INFO: ==28688== Releasing lock...
[2025-02-09 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:53:04] Production.ERROR: done
[2025-02-09 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437184') start
[2025-02-09 12:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437184') end
[2025-02-09 12:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:53:04] Production.INFO: 1
[2025-02-09 12:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:53:04] Production.ERROR: done
[2025-02-09 12:53:04] Production.INFO: ==28696== Releasing lock...
[2025-02-09 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:53:04] Production.INFO: Account Balance End.
[2025-02-09 12:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:53:04] Production.INFO: ==28692== Releasing lock...
[2025-02-09 12:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:53:05
[end_date_ymd] => 2025-02-09 12:53:05
[RateCDR] => 1
)
[2025-02-09 12:53: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` >= '2025-02-09 09:53:05' and `end` < '2025-02-09 12:53: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 ,'')
[2025-02-09 12:53:12] Production.ERROR: CronJobId end10
[2025-02-09 12:53:12] Production.INFO: ==28690== Releasing lock...
[2025-02-09 12:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:53:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:53:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:53:15] Production.INFO: call_cost start
[2025-02-09 12:53:15] Production.INFO: call_cost end
[2025-02-09 12:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:53:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:53:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:53:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:53:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:53:16] Production.INFO: ==28686== Releasing lock...
[2025-02-09 12:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:53:19] Production.INFO: count ==1153
[2025-02-09 12:53:20] Production.ERROR: pbx CDR StartTime 2025-02-09 09:53:05 - End Time 2025-02-09 12:53:05
[2025-02-09 12:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437185', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437185', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437185', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437185', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:53:20] Production.INFO: ProcessCDR(1,14437185,1,1,2)
[2025-02-09 12:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437185', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437185', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:53:23] Production.INFO: ==28694== Releasing lock...
[2025-02-09 12:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:53:23] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 17:54:01] Production.INFO: ==28775== Lock acquired, processing the job...
[2025-02-09 17:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:54:01] Production.INFO: neon service started
[2025-02-09 17:54:01] Production.INFO: neon service started
[2025-02-09 17:54:01] Production.INFO: ==28775== Releasing lock...
[2025-02-09 17:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:54:02] Production.INFO: ==28779== Lock acquired, processing the job...
[2025-02-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:54:02] Production.INFO: ==28779== Releasing lock...
[2025-02-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:54:02] Production.INFO: ==28781== Lock acquired, processing the job...
[2025-02-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:54:02] Production.INFO: ==28781== Releasing lock...
[2025-02-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:54:03] Production.INFO: ==28793== Lock acquired, processing the job...
[2025-02-09 12:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:54:03] Production.INFO: ==28795== Lock acquired, processing the job...
[2025-02-09 12:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:54:03] Production.INFO: ==28784== Lock acquired, processing the job...
[2025-02-09 12:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:54:03] Production.INFO: ==28786== Lock acquired, processing the job...
[2025-02-09 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:54:03] Production.INFO: ==28788== Lock acquired, processing the job...
[2025-02-09 12:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:54:03] Production.INFO: count ==21
[2025-02-09 12:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:54:03] Production.INFO: count ==21
[2025-02-09 12:54:03] Production.INFO: ==28790== Lock acquired, processing the job...
[2025-02-09 12:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437186') start
[2025-02-09 12:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:54:03] Production.INFO: Account Balance Start.
[2025-02-09 12:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:54:03] Production.INFO: 117
[2025-02-09 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437186') end
[2025-02-09 12:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:54:04] Production.INFO: 1
[2025-02-09 12:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:54:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:54:04] Production.ERROR: done
[2025-02-09 12:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:54:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:54:04] Production.INFO: ==28795== Releasing lock...
[2025-02-09 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:54:04] Production.ERROR: done
[2025-02-09 12:54:04] Production.INFO: Total Charge 0
[2025-02-09 12:54:04] Production.INFO: ==28786== Releasing lock...
[2025-02-09 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:54:04] Production.INFO: CreateAllLog End
[2025-02-09 12:54:04] Production.INFO: Account Balance End.
[2025-02-09 12:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:54:04] Production.INFO: ==28790== Releasing lock...
[2025-02-09 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:54:05
[end_date_ymd] => 2025-02-09 12:54:05
[RateCDR] => 1
)
[2025-02-09 12:54: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` >= '2025-02-09 09:54:05' and `end` < '2025-02-09 12:54: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 ,'')
[2025-02-09 12:54:14] Production.ERROR: CronJobId end10
[2025-02-09 12:54:14] Production.INFO: ==28788== Releasing lock...
[2025-02-09 12:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:54:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:54:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:54:16] Production.INFO: call_cost start
[2025-02-09 12:54:16] Production.INFO: call_cost end
[2025-02-09 12:54:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:54:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:54:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:54:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:54:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:54:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:54:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:54:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:54:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:54:17] Production.INFO: ==28784== Releasing lock...
[2025-02-09 12:54:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:54:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:54:18] Production.INFO: count ==1163
[2025-02-09 12:54:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:54:05 - End Time 2025-02-09 12:54:05
[2025-02-09 12:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437190', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437190', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437190', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437190', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:54:18] Production.INFO: ProcessCDR(1,14437190,1,1,2)
[2025-02-09 12:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437190', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437190', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:54:23] Production.INFO: ==28793== Releasing lock...
[2025-02-09 12:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:54:23] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 17:55:02] Production.INFO: ==28869== Lock acquired, processing the job...
[2025-02-09 17:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:55:02] Production.INFO: neon service started
[2025-02-09 17:55:02] Production.INFO: neon service started
[2025-02-09 17:55:02] Production.INFO: ==28869== Releasing lock...
[2025-02-09 17:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:55:02] Production.INFO: ==28873== Lock acquired, processing the job...
[2025-02-09 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:55:02] Production.INFO: ==28873== Releasing lock...
[2025-02-09 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:55:03] Production.INFO: ==28871== Lock acquired, processing the job...
[2025-02-09 12:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:55:03] Production.INFO: ==28871== Releasing lock...
[2025-02-09 12:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:55:04] Production.INFO: ==28880== Lock acquired, processing the job...
[2025-02-09 12:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:55:04] Production.INFO: ==28876== Lock acquired, processing the job...
[2025-02-09 12:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:55:04] Production.INFO: ==28886== Lock acquired, processing the job...
[2025-02-09 12:55:04] Production.INFO: ==28878== Lock acquired, processing the job...
[2025-02-09 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:55:04] Production.INFO: ==28882== Lock acquired, processing the job...
[2025-02-09 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:55:04] Production.INFO: ==28884== Lock acquired, processing the job...
[2025-02-09 12:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:55:04] Production.INFO: count ==21
[2025-02-09 12:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:55:04] Production.INFO: Account Balance Start.
[2025-02-09 12:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:55:04] Production.INFO: 117
[2025-02-09 12:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:55:04] Production.INFO: count ==21
[2025-02-09 12:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437192') start
[2025-02-09 12:55:04] Production.INFO: ==28878== Releasing lock...
[2025-02-09 12:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:55:04] Production.INFO: Total Charge 0
[2025-02-09 12:55:04] Production.INFO: CreateAllLog End
[2025-02-09 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437192') end
[2025-02-09 12:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:55:04] Production.INFO: 1
[2025-02-09 12:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:55:05] Production.INFO: ==28886== Releasing lock...
[2025-02-09 12:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:55:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:55:05] Production.ERROR: done
[2025-02-09 12:55:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:55:05] Production.INFO: Account Balance End.
[2025-02-09 12:55:05] Production.ERROR: CronJobId end 12
[2025-02-09 12:55:05] Production.INFO: ==28882== Releasing lock...
[2025-02-09 12:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:55:05] Production.ERROR: done
[2025-02-09 12:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:55:06
[end_date_ymd] => 2025-02-09 12:55:06
[RateCDR] => 1
)
[2025-02-09 12:55: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-02-09 09:55:06' and `end` < '2025-02-09 12:55: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-02-09 12:55:15] Production.ERROR: CronJobId end10
[2025-02-09 12:55:15] Production.INFO: ==28880== Releasing lock...
[2025-02-09 12:55:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:55:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:55:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:55:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:55:16] Production.INFO: call_cost start
[2025-02-09 12:55:16] Production.INFO: call_cost end
[2025-02-09 12:55:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:55:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:55:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:55:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:55:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:55:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:55:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:55:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:55:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:55:17] Production.INFO: ==28876== Releasing lock...
[2025-02-09 12:55:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:55:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:55:19] Production.INFO: count ==1170
[2025-02-09 12:55:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:55:06 - End Time 2025-02-09 12:55:06
[2025-02-09 12:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437195', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437195', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437195', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437195', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:55:19] Production.INFO: ProcessCDR(1,14437195,1,1,2)
[2025-02-09 12:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437195', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437195', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:55:22] Production.INFO: ==28884== Releasing lock...
[2025-02-09 12:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:55:22] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 17:56:01] Production.INFO: ==28954== Lock acquired, processing the job...
[2025-02-09 17:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:56:01] Production.INFO: neon service started
[2025-02-09 17:56:01] Production.INFO: neon service started
[2025-02-09 17:56:01] Production.INFO: ==28954== Releasing lock...
[2025-02-09 17:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:56:02] Production.INFO: ==28956== Lock acquired, processing the job...
[2025-02-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:56:02] Production.INFO: ==28958== Lock acquired, processing the job...
[2025-02-09 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:56:02] Production.INFO: ==28958== Releasing lock...
[2025-02-09 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:56:02] Production.INFO: ==28956== Releasing lock...
[2025-02-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:56:03] Production.INFO: ==28961== Lock acquired, processing the job...
[2025-02-09 12:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:56:03] Production.INFO: ==28965== Lock acquired, processing the job...
[2025-02-09 12:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:56:03] Production.INFO: ==28969== Lock acquired, processing the job...
[2025-02-09 12:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:56:03] Production.INFO: ==28963== Lock acquired, processing the job...
[2025-02-09 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:56:03] Production.INFO: ==28967== Lock acquired, processing the job...
[2025-02-09 12:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:56:03] Production.INFO: Account Balance Start.
[2025-02-09 12:56:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:56:03] Production.INFO: 117
[2025-02-09 12:56:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:56:03] Production.INFO: ==28971== Lock acquired, processing the job...
[2025-02-09 12:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:56:04] Production.INFO: Total Charge 0
[2025-02-09 12:56:04] Production.INFO: CreateAllLog End
[2025-02-09 12:56:04] Production.ERROR: done
[2025-02-09 12:56:04] Production.INFO: ==28963== Releasing lock...
[2025-02-09 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:56:04] Production.INFO: count ==21
[2025-02-09 12:56:04] Production.ERROR: done
[2025-02-09 12:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:56:04] Production.INFO: count ==21
[2025-02-09 12:56:04] Production.INFO: Account Balance End.
[2025-02-09 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437199') start
[2025-02-09 12:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:56:04] Production.INFO: ==28967== Releasing lock...
[2025-02-09 12:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437199') end
[2025-02-09 12:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:56:04] Production.INFO: 1
[2025-02-09 12:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:56:04] Production.INFO: ==28971== Releasing lock...
[2025-02-09 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:56:05
[end_date_ymd] => 2025-02-09 12:56:05
[RateCDR] => 1
)
[2025-02-09 12:56: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` >= '2025-02-09 09:56:05' and `end` < '2025-02-09 12:56: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 ,'')
[2025-02-09 12:56:12] Production.ERROR: CronJobId end10
[2025-02-09 12:56:12] Production.INFO: ==28965== Releasing lock...
[2025-02-09 12:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:56:14] Production.INFO: call_cost start
[2025-02-09 12:56:14] Production.INFO: call_cost end
[2025-02-09 12:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:56:15] Production.INFO: ==28961== Releasing lock...
[2025-02-09 12:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:56:18] Production.INFO: count ==1176
[2025-02-09 12:56:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:56:05 - End Time 2025-02-09 12:56:05
[2025-02-09 12:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437200', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437200', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437200', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437200', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:56:19] Production.INFO: ProcessCDR(1,14437200,1,1,2)
[2025-02-09 12:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437200', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437200', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:56:22] Production.INFO: ==28969== Releasing lock...
[2025-02-09 12:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:56:22] Production.INFO: 37 MB #Memory Used#
[2025-02-09 17:57:01] Production.INFO: ==29042== Lock acquired, processing the job...
[2025-02-09 17:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:57:01] Production.INFO: neon service started
[2025-02-09 17:57:01] Production.INFO: neon service started
[2025-02-09 17:57:01] Production.INFO: ==29042== Releasing lock...
[2025-02-09 17:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:57:02] Production.INFO: ==29044== Lock acquired, processing the job...
[2025-02-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:57:02] Production.INFO: ==29046== Lock acquired, processing the job...
[2025-02-09 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:57:02] Production.INFO: ==29046== Releasing lock...
[2025-02-09 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:57:02] Production.INFO: ==29044== Releasing lock...
[2025-02-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:57:03] Production.INFO: ==29049== Lock acquired, processing the job...
[2025-02-09 12:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:57:03] Production.INFO: ==29051== Lock acquired, processing the job...
[2025-02-09 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:57:03] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-02-09 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:57:03] Production.INFO: count ==21
[2025-02-09 12:57:03] Production.INFO: ==29051== Releasing lock...
[2025-02-09 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:57:03] Production.INFO: count ==21
[2025-02-09 12:57:03] Production.INFO: ==29053== Lock acquired, processing the job...
[2025-02-09 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437203') start
[2025-02-09 12:57:03] Production.INFO: ==29055== Lock acquired, processing the job...
[2025-02-09 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:57:03] Production.INFO: ==29057== Lock acquired, processing the job...
[2025-02-09 12:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437203') end
[2025-02-09 12:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:57:03] Production.INFO: 1
[2025-02-09 12:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:57:03] Production.INFO: ==29059== Releasing lock...
[2025-02-09 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:57:03] Production.INFO: Account Balance Start.
[2025-02-09 12:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:57:03] Production.INFO: 117
[2025-02-09 12:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:57:03] Production.INFO: Total Charge 0
[2025-02-09 12:57:03] Production.INFO: CreateAllLog End
[2025-02-09 12:57:04] Production.INFO: Account Balance End.
[2025-02-09 12:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:57:04] Production.INFO: ==29055== Releasing lock...
[2025-02-09 12:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:57:04] Production.ERROR: done
[2025-02-09 12:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:57:04] Production.ERROR: done
[2025-02-09 12:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:57:05
[end_date_ymd] => 2025-02-09 12:57:05
[RateCDR] => 1
)
[2025-02-09 12:57: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` >= '2025-02-09 09:57:05' and `end` < '2025-02-09 12:57: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 ,'')
[2025-02-09 12:57:12] Production.ERROR: CronJobId end10
[2025-02-09 12:57:12] Production.INFO: ==29053== Releasing lock...
[2025-02-09 12:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:57:14] Production.INFO: call_cost start
[2025-02-09 12:57:14] Production.INFO: call_cost end
[2025-02-09 12:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:57:15] Production.INFO: ==29049== Releasing lock...
[2025-02-09 12:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:57:18] Production.INFO: count ==1178
[2025-02-09 12:57:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:57:05 - End Time 2025-02-09 12:57:05
[2025-02-09 12:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437205', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437205', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437205', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437205', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:57:19] Production.INFO: ProcessCDR(1,14437205,1,1,2)
[2025-02-09 12:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437205', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437205', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:57:23] Production.INFO: ==29057== Releasing lock...
[2025-02-09 12:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:57:23] Production.INFO: 37.5 MB #Memory Used#
[2025-02-09 17:58:01] Production.INFO: ==29130== Lock acquired, processing the job...
[2025-02-09 17:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:58:01] Production.INFO: neon service started
[2025-02-09 17:58:01] Production.INFO: neon service started
[2025-02-09 17:58:01] Production.INFO: ==29130== Releasing lock...
[2025-02-09 17:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 12:58:02] Production.INFO: ==29133== Lock acquired, processing the job...
[2025-02-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:58:02] Production.INFO: ==29135== Lock acquired, processing the job...
[2025-02-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:58:02] Production.INFO: ==29135== Releasing lock...
[2025-02-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:58:03] Production.INFO: ==29133== Releasing lock...
[2025-02-09 12:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:58:03] Production.INFO: ==29144== Lock acquired, processing the job...
[2025-02-09 12:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:58:03] Production.INFO: ==29146== Lock acquired, processing the job...
[2025-02-09 12:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:58:04] Production.INFO: Account Balance Start.
[2025-02-09 12:58:04] Production.INFO: CreateAllLog Start
[2025-02-09 12:58:04] Production.INFO: 117
[2025-02-09 12:58:04] Production.INFO: Date 2025-02-08
[2025-02-09 12:58:04] Production.ERROR: done
[2025-02-09 12:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:58:04] Production.INFO: ==29138== Lock acquired, processing the job...
[2025-02-09 12:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:58:04] Production.INFO: Date 2025-02-09
[2025-02-09 12:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 12:58:04] Production.INFO: ==29140== Lock acquired, processing the job...
[2025-02-09 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:58:04] Production.INFO: ==29142== Lock acquired, processing the job...
[2025-02-09 12:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:58:04] Production.ERROR: done
[2025-02-09 12:58:04] Production.INFO: Total Charge 0
[2025-02-09 12:58:04] Production.INFO: ==29148== Lock acquired, processing the job...
[2025-02-09 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:58:04] Production.INFO: CreateAllLog End
[2025-02-09 12:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:58:04] Production.INFO: count ==21
[2025-02-09 12:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:58:04] Production.INFO: count ==21
[2025-02-09 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437210') start
[2025-02-09 12:58:04] Production.INFO: Account Balance End.
[2025-02-09 12:58:04] Production.INFO: ==29140== Releasing lock...
[2025-02-09 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:58:04] Production.INFO: ==29144== Releasing lock...
[2025-02-09 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437210') end
[2025-02-09 12:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:58:04] Production.INFO: 1
[2025-02-09 12:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:58:04] Production.INFO: ==29148== Releasing lock...
[2025-02-09 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:58:05
[end_date_ymd] => 2025-02-09 12:58:05
[RateCDR] => 1
)
[2025-02-09 12:58: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` >= '2025-02-09 09:58:05' and `end` < '2025-02-09 12:58: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 ,'')
[2025-02-09 12:58:13] Production.ERROR: CronJobId end10
[2025-02-09 12:58:13] Production.INFO: ==29142== Releasing lock...
[2025-02-09 12:58:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:58:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:58:14] Production.INFO: call_cost start
[2025-02-09 12:58:14] Production.INFO: call_cost end
[2025-02-09 12:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:58:15] Production.INFO: ==29138== Releasing lock...
[2025-02-09 12:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:58:18] Production.INFO: count ==1180
[2025-02-09 12:58:19] Production.ERROR: pbx CDR StartTime 2025-02-09 09:58:05 - End Time 2025-02-09 12:58:05
[2025-02-09 12:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437208', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437208', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437208', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437208', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:58:19] Production.INFO: ProcessCDR(1,14437208,1,1,2)
[2025-02-09 12:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437208', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437208', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:58:23] Production.INFO: ==29146== Releasing lock...
[2025-02-09 12:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:58:23] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 17:59:01] Production.INFO: ==29254== Lock acquired, processing the job...
[2025-02-09 17:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 17:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 17:59:01] Production.INFO: neon service started
[2025-02-09 17:59:01] Production.INFO: neon service started
[2025-02-09 17:59:01] Production.INFO: ==29254== Releasing lock...
[2025-02-09 17:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 17:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:59:01] Production.INFO: ==29258== Lock acquired, processing the job...
[2025-02-09 17:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 17:59:01] Production.INFO: ==29258== Releasing lock...
[2025-02-09 17:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 17:59:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 12:59:01] Production.INFO: ==29256== Lock acquired, processing the job...
[2025-02-09 12:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 12:59:02] Production.INFO: ==29256== Releasing lock...
[2025-02-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 12:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 12:59:03] Production.INFO: ==29267== Lock acquired, processing the job...
[2025-02-09 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 12:59:03] Production.INFO: ==29273== Lock acquired, processing the job...
[2025-02-09 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 12:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 12:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 12:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 12:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 12:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:59:03] Production.INFO: ==29263== Lock acquired, processing the job...
[2025-02-09 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 12:59:03] Production.INFO: count ==21
[2025-02-09 12:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 12:59:03] Production.INFO: count ==21
[2025-02-09 12:59:03] Production.INFO: ==29265== Lock acquired, processing the job...
[2025-02-09 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 12:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437211') start
[2025-02-09 12:59:03] Production.INFO: ==29269== Lock acquired, processing the job...
[2025-02-09 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 12:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 12:59:03] Production.INFO: ==29271== Lock acquired, processing the job...
[2025-02-09 12:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 12:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437211') end
[2025-02-09 12:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 12:59:03] Production.INFO: 1
[2025-02-09 12:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 12:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 12:59:03] Production.INFO: Account Balance Start.
[2025-02-09 12:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 12:59:03] Production.INFO: 117
[2025-02-09 12:59:03] Production.INFO: ==29273== Releasing lock...
[2025-02-09 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 12:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 12:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 12:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 12:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 12:59:03] Production.INFO: ==29265== Releasing lock...
[2025-02-09 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 12:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 12:59:03] Production.INFO: Total Charge 0
[2025-02-09 12:59:03] Production.INFO: CreateAllLog End
[2025-02-09 12:59:04] Production.ERROR: done
[2025-02-09 12:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 12:59:04] Production.ERROR: done
[2025-02-09 12:59:04] Production.INFO: Account Balance End.
[2025-02-09 12:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 12:59:04] Production.INFO: ==29269== Releasing lock...
[2025-02-09 12:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 12:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 12:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 09:59:05
[end_date_ymd] => 2025-02-09 12:59:05
[RateCDR] => 1
)
[2025-02-09 12:59: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` >= '2025-02-09 09:59:05' and `end` < '2025-02-09 12:59: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 ,'')
[2025-02-09 12:59:12] Production.ERROR: CronJobId end10
[2025-02-09 12:59:12] Production.INFO: ==29267== Releasing lock...
[2025-02-09 12:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 12:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 12:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 12:59:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 12:59:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 12:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 12:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 12:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 12:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 12:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 12:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 12:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 12:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 12:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 12:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 12:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 12:59:14] Production.INFO: call_cost start
[2025-02-09 12:59:14] Production.INFO: call_cost end
[2025-02-09 12:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 12:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 12:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 12:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 12:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 12:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 12:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 12:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 12:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 12:59:15] Production.INFO: ==29263== Releasing lock...
[2025-02-09 12:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 12:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 12:59:18] Production.INFO: count ==1177
[2025-02-09 12:59:18] Production.ERROR: pbx CDR StartTime 2025-02-09 09:59:05 - End Time 2025-02-09 12:59:05
[2025-02-09 12:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 12:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437215', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437215', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437215', 'tblTempVendorCDR_20' ) start
[2025-02-09 12:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437215', 'tblTempVendorCDR_20' ) end
[2025-02-09 12:59:18] Production.INFO: ProcessCDR(1,14437215,1,1,2)
[2025-02-09 12:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 12:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 12:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437215', 'tblTempUsageDetail_20' ) start
[2025-02-09 12:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437215', 'tblTempUsageDetail_20' ) end
[2025-02-09 12:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 12:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 12:59:21] Production.INFO: ==29271== Releasing lock...
[2025-02-09 12:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 12:59:21] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 18:00:01] Production.INFO: ==29342== Lock acquired, processing the job...
[2025-02-09 18:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:00:01] Production.INFO: neon service started
[2025-02-09 18:00:01] Production.INFO: neon service started
[2025-02-09 18:00:01] Production.INFO: ==29342== Releasing lock...
[2025-02-09 18:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:00:02] Production.INFO: ==29345== Lock acquired, processing the job...
[2025-02-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:00:02] Production.INFO: ==29347== Lock acquired, processing the job...
[2025-02-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:00:02] Production.INFO: ==29345== Releasing lock...
[2025-02-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:00:02] Production.INFO: ==29347== Releasing lock...
[2025-02-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:00:03] Production.INFO: ==29349== Lock acquired, processing the job...
[2025-02-09 13:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 13:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 13:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 13:00:03] Production.INFO: ==29349== Releasing lock...
[2025-02-09 13:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 13:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 13:00:03] Production.INFO: ==29351== Lock acquired, processing the job...
[2025-02-09 13:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:00:03] Production.INFO: ==29357== Lock acquired, processing the job...
[2025-02-09 13:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:00:03] Production.INFO: ==29359== Lock acquired, processing the job...
[2025-02-09 13:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:00:04] Production.INFO: Account Balance Start.
[2025-02-09 13:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:00:04] Production.INFO: 117
[2025-02-09 13:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:00:04] Production.INFO: ==29353== Lock acquired, processing the job...
[2025-02-09 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:00:04] Production.INFO: ==29355== Lock acquired, processing the job...
[2025-02-09 13:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:00:04] Production.INFO: ==29361== Lock acquired, processing the job...
[2025-02-09 13:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 13:00:04] Production.INFO: ==29363== Lock acquired, processing the job...
[2025-02-09 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:00:04] Production.INFO: Total Charge 0
[2025-02-09 13:00:04] Production.INFO: CreateAllLog End
[2025-02-09 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:00:04] Production.ERROR: done
[2025-02-09 13:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:00:04] Production.INFO: count ==21
[2025-02-09 13:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:00:04] Production.INFO: ==29353== Releasing lock...
[2025-02-09 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:00:04] Production.INFO: count ==21
[2025-02-09 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437219') start
[2025-02-09 13:00:04] Production.ERROR: done
[2025-02-09 13:00:04] Production.ERROR: done
[2025-02-09 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437219') end
[2025-02-09 13:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:00:04] Production.INFO: 1
[2025-02-09 13:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:00:04] Production.INFO: Account Balance End.
[2025-02-09 13:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 13:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437221', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 13:00:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:00:04] Production.INFO: ==29357== Releasing lock...
[2025-02-09 13:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:00:04] Production.INFO: ==29363== Releasing lock...
[2025-02-09 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:00:05
[end_date_ymd] => 2025-02-09 13:00:05
[RateCDR] => 1
)
[2025-02-09 13:00: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` >= '2025-02-09 10:00:05' and `end` < '2025-02-09 13:00: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 ,'')
[2025-02-09 13:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437221', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 13:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 13:00:09] Production.INFO: ProcessCDR(1,14437221,1,1,2)
[2025-02-09 13:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437221,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437221,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:00:09] Production.INFO: ==29361== Releasing lock...
[2025-02-09 13:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 13:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 13:00:15] Production.ERROR: CronJobId end10
[2025-02-09 13:00:15] Production.INFO: ==29355== Releasing lock...
[2025-02-09 13:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:00:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:00:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:00:17] Production.INFO: call_cost start
[2025-02-09 13:00:17] Production.INFO: call_cost end
[2025-02-09 13:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:00:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:00:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:00:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:00:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:00:18] Production.INFO: ==29351== Releasing lock...
[2025-02-09 13:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:00:18] Production.INFO: count ==1178
[2025-02-09 13:00:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:00:05 - End Time 2025-02-09 13:00:05
[2025-02-09 13:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437220', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437220', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437220', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437220', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:00:19] Production.INFO: ProcessCDR(1,14437220,1,1,2)
[2025-02-09 13:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437220', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437220', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:00:22] Production.INFO: ==29359== Releasing lock...
[2025-02-09 13:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:00:22] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 18:01:02] Production.INFO: ==29435== Lock acquired, processing the job...
[2025-02-09 18:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:01:02] Production.INFO: neon service started
[2025-02-09 18:01:02] Production.INFO: neon service started
[2025-02-09 18:01:02] Production.INFO: ==29435== Releasing lock...
[2025-02-09 18:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:01:02] Production.INFO: ==29447== Lock acquired, processing the job...
[2025-02-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:01:02] Production.INFO: ==29449== Lock acquired, processing the job...
[2025-02-09 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:01:02] Production.INFO: ==29449== Releasing lock...
[2025-02-09 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:01:03] Production.INFO: ==29447== Releasing lock...
[2025-02-09 13:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:01:03] Production.INFO: ==29462== Lock acquired, processing the job...
[2025-02-09 13:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:01:04] Production.INFO: ==29460== Lock acquired, processing the job...
[2025-02-09 13:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:01:04] Production.INFO: count ==21
[2025-02-09 13:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:01:04] Production.INFO: count ==21
[2025-02-09 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437222') start
[2025-02-09 13:01:04] Production.INFO: ==29452== Lock acquired, processing the job...
[2025-02-09 13:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:01:04] Production.INFO: ==29454== Lock acquired, processing the job...
[2025-02-09 13:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437222') end
[2025-02-09 13:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:01:04] Production.INFO: 1
[2025-02-09 13:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:01:04] Production.INFO: ==29456== Lock acquired, processing the job...
[2025-02-09 13:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:01:04] Production.INFO: ==29458== Lock acquired, processing the job...
[2025-02-09 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:01:04] Production.INFO: ==29462== Releasing lock...
[2025-02-09 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:01:04] Production.INFO: Account Balance Start.
[2025-02-09 13:01:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:01:04] Production.INFO: 117
[2025-02-09 13:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:01:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:01:04] Production.ERROR: done
[2025-02-09 13:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:01:04] Production.INFO: Total Charge 0
[2025-02-09 13:01:04] Production.INFO: CreateAllLog End
[2025-02-09 13:01:04] Production.ERROR: done
[2025-02-09 13:01:04] Production.INFO: ==29454== Releasing lock...
[2025-02-09 13:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:01:04] Production.INFO: Account Balance End.
[2025-02-09 13:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:01:04] Production.INFO: ==29458== Releasing lock...
[2025-02-09 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:01:05
[end_date_ymd] => 2025-02-09 13:01:05
[RateCDR] => 1
)
[2025-02-09 13:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 10:01:05' and `end` < '2025-02-09 13:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 13:01:15] Production.ERROR: CronJobId end10
[2025-02-09 13:01:15] Production.INFO: ==29456== Releasing lock...
[2025-02-09 13:01:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:01:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:01:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:01:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:01:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:01:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:01:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:01:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:01:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:01:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:01:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:01:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:01:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:01:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:01:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:01:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:01:17] Production.INFO: call_cost start
[2025-02-09 13:01:17] Production.INFO: call_cost end
[2025-02-09 13:01:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:01:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:01:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:01:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:01:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:01:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:01:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:01:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:01:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:01:18] Production.INFO: ==29452== Releasing lock...
[2025-02-09 13:01:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:01:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:01:18] Production.INFO: count ==1212
[2025-02-09 13:01:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:01:05 - End Time 2025-02-09 13:01:05
[2025-02-09 13:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437226', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437226', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437226', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437226', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:01:19] Production.INFO: ProcessCDR(1,14437226,1,1,2)
[2025-02-09 13:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437226', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437226', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:01:22] Production.INFO: ==29460== Releasing lock...
[2025-02-09 13:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:01:22] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 18:02:01] Production.INFO: ==29527== Lock acquired, processing the job...
[2025-02-09 18:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:02:01] Production.INFO: neon service started
[2025-02-09 18:02:01] Production.INFO: neon service started
[2025-02-09 18:02:01] Production.INFO: ==29527== Releasing lock...
[2025-02-09 18:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:02:02] Production.INFO: ==29531== Lock acquired, processing the job...
[2025-02-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:02:02] Production.INFO: ==29531== Releasing lock...
[2025-02-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:02:02] Production.INFO: ==29529== Lock acquired, processing the job...
[2025-02-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:02:02] Production.INFO: ==29529== Releasing lock...
[2025-02-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:02:03] Production.INFO: ==29533== Lock acquired, processing the job...
[2025-02-09 13:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:02:03] Production.INFO: ==29538== Lock acquired, processing the job...
[2025-02-09 13:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:02:03] Production.INFO: ==29540== Lock acquired, processing the job...
[2025-02-09 13:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:02:03] Production.INFO: Account Balance Start.
[2025-02-09 13:02:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:02:03] Production.INFO: 117
[2025-02-09 13:02:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:02:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:02:03] Production.INFO: Total Charge 0
[2025-02-09 13:02:03] Production.INFO: CreateAllLog End
[2025-02-09 13:02:03] Production.INFO: ==29536== Lock acquired, processing the job...
[2025-02-09 13:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:02:03] Production.INFO: Account Balance End.
[2025-02-09 13:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:02:04] Production.INFO: ==29540== Releasing lock...
[2025-02-09 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:02:04] Production.INFO: ==29542== Lock acquired, processing the job...
[2025-02-09 13:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:02:04] Production.INFO: ==29544== Lock acquired, processing the job...
[2025-02-09 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:02:04] Production.INFO: count ==21
[2025-02-09 13:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:02:04] Production.INFO: count ==21
[2025-02-09 13:02:04] Production.INFO: ==29536== Releasing lock...
[2025-02-09 13:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437230') start
[2025-02-09 13:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437230') end
[2025-02-09 13:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:02:04] Production.INFO: 1
[2025-02-09 13:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:02:04] Production.INFO: ==29544== Releasing lock...
[2025-02-09 13:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:02:04] Production.ERROR: done
[2025-02-09 13:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:02:04] Production.ERROR: done
[2025-02-09 13:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:02:05
[end_date_ymd] => 2025-02-09 13:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 10:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 13:02:13] Production.ERROR: CronJobId end10
[2025-02-09 13:02:13] Production.INFO: ==29538== Releasing lock...
[2025-02-09 13:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:02:15] Production.INFO: call_cost start
[2025-02-09 13:02:15] Production.INFO: call_cost end
[2025-02-09 13:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:02:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:02:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:02:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:02:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:02:16] Production.INFO: ==29533== Releasing lock...
[2025-02-09 13:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:02:19] Production.INFO: count ==1212
[2025-02-09 13:02:20] Production.ERROR: pbx CDR StartTime 2025-02-09 10:02:05 - End Time 2025-02-09 13:02:05
[2025-02-09 13:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437231', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437231', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437231', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437231', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:02:20] Production.INFO: ProcessCDR(1,14437231,1,1,2)
[2025-02-09 13:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437231', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437231', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:02:23] Production.INFO: ==29542== Releasing lock...
[2025-02-09 13:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:02:23] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 18:03:02] Production.INFO: ==29613== Lock acquired, processing the job...
[2025-02-09 18:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:03:02] Production.INFO: neon service started
[2025-02-09 18:03:02] Production.INFO: neon service started
[2025-02-09 18:03:02] Production.INFO: ==29613== Releasing lock...
[2025-02-09 18:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:03:02] Production.INFO: ==29615== Lock acquired, processing the job...
[2025-02-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:03:02] Production.INFO: ==29615== Releasing lock...
[2025-02-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:03:03] Production.INFO: ==29617== Lock acquired, processing the job...
[2025-02-09 18:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:03:03] Production.INFO: ==29617== Releasing lock...
[2025-02-09 18:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:03:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:03:04] Production.INFO: ==29621== Lock acquired, processing the job...
[2025-02-09 13:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:03:04] Production.INFO: ==29619== Lock acquired, processing the job...
[2025-02-09 13:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:03:04] Production.INFO: ==29625== Lock acquired, processing the job...
[2025-02-09 13:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:03:04] Production.INFO: ==29623== Lock acquired, processing the job...
[2025-02-09 13:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:03:04] Production.INFO: ==29627== Lock acquired, processing the job...
[2025-02-09 13:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:03:04] Production.INFO: ==29629== Lock acquired, processing the job...
[2025-02-09 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:03:04] Production.INFO: Account Balance Start.
[2025-02-09 13:03:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:03:04] Production.INFO: 117
[2025-02-09 13:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:03:04] Production.INFO: count ==21
[2025-02-09 13:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:03:04] Production.INFO: count ==21
[2025-02-09 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437234') start
[2025-02-09 13:03:04] Production.INFO: ==29621== Releasing lock...
[2025-02-09 13:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:03:04] Production.INFO: Total Charge 0
[2025-02-09 13:03:04] Production.INFO: CreateAllLog End
[2025-02-09 13:03:04] Production.ERROR: done
[2025-02-09 13:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437234') end
[2025-02-09 13:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:03:04] Production.INFO: 1
[2025-02-09 13:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:03:04] Production.INFO: ==29629== Releasing lock...
[2025-02-09 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:03:04] Production.ERROR: done
[2025-02-09 13:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:03:05] Production.INFO: Account Balance End.
[2025-02-09 13:03:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:03:05] Production.INFO: ==29625== Releasing lock...
[2025-02-09 13:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:03:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:03:06
[end_date_ymd] => 2025-02-09 13:03:06
[RateCDR] => 1
)
[2025-02-09 13:03: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-02-09 10:03:06' and `end` < '2025-02-09 13:03: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-02-09 13:03:13] Production.ERROR: CronJobId end10
[2025-02-09 13:03:13] Production.INFO: ==29623== Releasing lock...
[2025-02-09 13:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:03:16] Production.INFO: call_cost start
[2025-02-09 13:03:16] Production.INFO: call_cost end
[2025-02-09 13:03:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:03:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:03:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:03:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:03:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:03:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:03:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:03:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:03:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:03:17] Production.INFO: ==29619== Releasing lock...
[2025-02-09 13:03:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:03:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:03:19] Production.INFO: count ==1212
[2025-02-09 13:03:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:03:06 - End Time 2025-02-09 13:03:06
[2025-02-09 13:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437236', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437236', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437236', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437236', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:03:19] Production.INFO: ProcessCDR(1,14437236,1,1,2)
[2025-02-09 13:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437236', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437236', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:03:23] Production.INFO: ==29627== Releasing lock...
[2025-02-09 13:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:03:23] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 18:04:01] Production.INFO: ==29696== Lock acquired, processing the job...
[2025-02-09 18:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:04:01] Production.INFO: neon service started
[2025-02-09 18:04:01] Production.INFO: neon service started
[2025-02-09 18:04:01] Production.INFO: ==29696== Releasing lock...
[2025-02-09 18:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:04:02] Production.INFO: ==29699== Lock acquired, processing the job...
[2025-02-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:04:02] Production.INFO: ==29699== Releasing lock...
[2025-02-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:04:02] Production.INFO: ==29701== Lock acquired, processing the job...
[2025-02-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:04:02] Production.INFO: ==29701== Releasing lock...
[2025-02-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:04:03] Production.INFO: ==29703== Lock acquired, processing the job...
[2025-02-09 13:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:04:03] Production.INFO: ==29707== Lock acquired, processing the job...
[2025-02-09 13:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:04:03] Production.INFO: ==29709== Lock acquired, processing the job...
[2025-02-09 13:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:04:03] Production.INFO: Account Balance Start.
[2025-02-09 13:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:04:03] Production.INFO: 117
[2025-02-09 13:04:03] Production.INFO: ==29705== Lock acquired, processing the job...
[2025-02-09 13:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:04:03] Production.INFO: ==29713== Lock acquired, processing the job...
[2025-02-09 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:04:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:04:04] Production.INFO: ==29711== Lock acquired, processing the job...
[2025-02-09 13:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:04:04] Production.INFO: Total Charge 0
[2025-02-09 13:04:04] Production.INFO: CreateAllLog End
[2025-02-09 13:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:04:04] Production.INFO: count ==21
[2025-02-09 13:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:04:04] Production.INFO: count ==21
[2025-02-09 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437240') start
[2025-02-09 13:04:04] Production.INFO: ==29705== Releasing lock...
[2025-02-09 13:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437240') end
[2025-02-09 13:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:04:04] Production.INFO: 1
[2025-02-09 13:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:04:04] Production.ERROR: done
[2025-02-09 13:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:04:04] Production.INFO: Account Balance End.
[2025-02-09 13:04:04] Production.INFO: ==29713== Releasing lock...
[2025-02-09 13:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:04:04] Production.INFO: ==29709== Releasing lock...
[2025-02-09 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:04:04] Production.ERROR: done
[2025-02-09 13:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:04:05
[end_date_ymd] => 2025-02-09 13:04:05
[RateCDR] => 1
)
[2025-02-09 13:04: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` >= '2025-02-09 10:04:05' and `end` < '2025-02-09 13:04: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 ,'')
[2025-02-09 13:04:13] Production.ERROR: CronJobId end10
[2025-02-09 13:04:13] Production.INFO: ==29707== Releasing lock...
[2025-02-09 13:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:04:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:04:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:04:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:04:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:04:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:04:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:04:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:04:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:04:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:04:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:04:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:04:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:04:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:04:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:04:15] Production.INFO: call_cost start
[2025-02-09 13:04:15] Production.INFO: call_cost end
[2025-02-09 13:04:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:04:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:04:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:04:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:04:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:04:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:04:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:04:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:04:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:04:16] Production.INFO: ==29703== Releasing lock...
[2025-02-09 13:04:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:04:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:04:19] Production.INFO: count ==1219
[2025-02-09 13:04:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:04:05 - End Time 2025-02-09 13:04:05
[2025-02-09 13:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437241', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437241', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437241', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437241', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:04:19] Production.INFO: ProcessCDR(1,14437241,1,1,2)
[2025-02-09 13:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437241', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437241', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:04:23] Production.INFO: ==29711== Releasing lock...
[2025-02-09 13:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:04:23] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 18:05:02] Production.INFO: ==29782== Lock acquired, processing the job...
[2025-02-09 18:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:05:02] Production.INFO: neon service started
[2025-02-09 18:05:02] Production.INFO: neon service started
[2025-02-09 18:05:02] Production.INFO: ==29782== Releasing lock...
[2025-02-09 18:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:05:02] Production.INFO: ==29786== Lock acquired, processing the job...
[2025-02-09 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:05:02] Production.INFO: ==29786== Releasing lock...
[2025-02-09 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:05:02] Production.INFO: ==29784== Lock acquired, processing the job...
[2025-02-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:05:03] Production.INFO: ==29784== Releasing lock...
[2025-02-09 13:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:05:04] Production.INFO: ==29789== Lock acquired, processing the job...
[2025-02-09 13:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:05:04] Production.INFO: ==29791== Lock acquired, processing the job...
[2025-02-09 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:05:04] Production.INFO: ==29795== Lock acquired, processing the job...
[2025-02-09 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:05:04] Production.INFO: ==29793== Lock acquired, processing the job...
[2025-02-09 13:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:05:04] Production.INFO: ==29797== Lock acquired, processing the job...
[2025-02-09 13:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:05:04] Production.INFO: Account Balance Start.
[2025-02-09 13:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:05:04] Production.INFO: 117
[2025-02-09 13:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:05:04] Production.INFO: ==29799== Lock acquired, processing the job...
[2025-02-09 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:05:04] Production.INFO: Total Charge 0
[2025-02-09 13:05:04] Production.INFO: CreateAllLog End
[2025-02-09 13:05:04] Production.INFO: ==29791== Releasing lock...
[2025-02-09 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:05:04] Production.INFO: count ==21
[2025-02-09 13:05:05] Production.ERROR: done
[2025-02-09 13:05:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:05:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:05:05] Production.INFO: count ==21
[2025-02-09 13:05:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437245') start
[2025-02-09 13:05:05] Production.ERROR: done
[2025-02-09 13:05:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437245') end
[2025-02-09 13:05:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:05:05] Production.INFO: 1
[2025-02-09 13:05:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:05:05] Production.INFO: Account Balance End.
[2025-02-09 13:05:05] Production.INFO: ==29799== Releasing lock...
[2025-02-09 13:05:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:05:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:05:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:05:05] Production.INFO: ==29795== Releasing lock...
[2025-02-09 13:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:05:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:05:06
[end_date_ymd] => 2025-02-09 13:05:06
[RateCDR] => 1
)
[2025-02-09 13:05: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-02-09 10:05:06' and `end` < '2025-02-09 13:05: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-02-09 13:05:13] Production.ERROR: CronJobId end10
[2025-02-09 13:05:13] Production.INFO: ==29793== Releasing lock...
[2025-02-09 13:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:05:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:05:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:05:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:05:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:05:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:05:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:05:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:05:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:05:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:05:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:05:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:05:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:05:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:05:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:05:15] Production.INFO: call_cost start
[2025-02-09 13:05:15] Production.INFO: call_cost end
[2025-02-09 13:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:05:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:05:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:05:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:05:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:05:16] Production.INFO: ==29789== Releasing lock...
[2025-02-09 13:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:05:19] Production.INFO: count ==1224
[2025-02-09 13:05:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:05:06 - End Time 2025-02-09 13:05:06
[2025-02-09 13:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437246', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437246', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437246', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437246', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:05:19] Production.INFO: ProcessCDR(1,14437246,1,1,2)
[2025-02-09 13:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:05:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:05:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437246', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437246', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:05:24] Production.INFO: ==29797== Releasing lock...
[2025-02-09 13:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:05:24] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 18:06:01] Production.INFO: ==29867== Lock acquired, processing the job...
[2025-02-09 18:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:06:01] Production.INFO: neon service started
[2025-02-09 18:06:01] Production.INFO: neon service started
[2025-02-09 18:06:01] Production.INFO: ==29867== Releasing lock...
[2025-02-09 18:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:06:02] Production.INFO: ==29869== Lock acquired, processing the job...
[2025-02-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:06:02] Production.INFO: ==29871== Lock acquired, processing the job...
[2025-02-09 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:06:02] Production.INFO: ==29871== Releasing lock...
[2025-02-09 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:06:02] Production.INFO: ==29869== Releasing lock...
[2025-02-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:06:03] Production.INFO: ==29874== Lock acquired, processing the job...
[2025-02-09 13:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:06:03] Production.INFO: ==29878== Lock acquired, processing the job...
[2025-02-09 13:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:06:03] Production.INFO: ==29882== Lock acquired, processing the job...
[2025-02-09 13:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:06:04] Production.ERROR: done
[2025-02-09 13:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:06:04] Production.INFO: ==29880== Lock acquired, processing the job...
[2025-02-09 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:06:04] Production.INFO: ==29876== Lock acquired, processing the job...
[2025-02-09 13:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:06:04] Production.INFO: ==29884== Lock acquired, processing the job...
[2025-02-09 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:06:04] Production.ERROR: done
[2025-02-09 13:06:04] Production.INFO: Account Balance Start.
[2025-02-09 13:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:06:04] Production.INFO: 117
[2025-02-09 13:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:06:04] Production.INFO: count ==21
[2025-02-09 13:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:06:04] Production.INFO: Total Charge 0
[2025-02-09 13:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:06:04] Production.INFO: count ==21
[2025-02-09 13:06:04] Production.INFO: CreateAllLog End
[2025-02-09 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437250') start
[2025-02-09 13:06:04] Production.INFO: Account Balance End.
[2025-02-09 13:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437250') end
[2025-02-09 13:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:06:04] Production.INFO: 1
[2025-02-09 13:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:06:04] Production.INFO: ==29880== Releasing lock...
[2025-02-09 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:06:04] Production.INFO: ==29884== Releasing lock...
[2025-02-09 13:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:06:05] Production.INFO: ==29876== Releasing lock...
[2025-02-09 13:06:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:06:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:06:05
[end_date_ymd] => 2025-02-09 13:06:05
[RateCDR] => 1
)
[2025-02-09 13:06: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` >= '2025-02-09 10:06:05' and `end` < '2025-02-09 13:06: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 ,'')
[2025-02-09 13:06:12] Production.ERROR: CronJobId end10
[2025-02-09 13:06:12] Production.INFO: ==29878== Releasing lock...
[2025-02-09 13:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:06:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:06:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:06:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:06:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:06:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:06:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:06:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:06:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:06:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:06:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:06:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:06:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:06:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:06:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:06:15] Production.INFO: call_cost start
[2025-02-09 13:06:15] Production.INFO: call_cost end
[2025-02-09 13:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:06:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:06:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:06:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:06:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:06:16] Production.INFO: ==29874== Releasing lock...
[2025-02-09 13:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:06:18] Production.INFO: count ==1234
[2025-02-09 13:06:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:06:05 - End Time 2025-02-09 13:06:05
[2025-02-09 13:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437248', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437248', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437248', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437248', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:06:19] Production.INFO: ProcessCDR(1,14437248,1,1,2)
[2025-02-09 13:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437248', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437248', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:06:23] Production.INFO: ==29882== Releasing lock...
[2025-02-09 13:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:06:23] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 18:07:02] Production.INFO: ==29951== Lock acquired, processing the job...
[2025-02-09 18:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:07:02] Production.INFO: neon service started
[2025-02-09 18:07:02] Production.INFO: neon service started
[2025-02-09 18:07:02] Production.INFO: ==29951== Releasing lock...
[2025-02-09 18:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:07:02] Production.INFO: ==29955== Lock acquired, processing the job...
[2025-02-09 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:07:02] Production.INFO: ==29955== Releasing lock...
[2025-02-09 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:07:02] Production.INFO: ==29953== Lock acquired, processing the job...
[2025-02-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:07:03] Production.INFO: ==29953== Releasing lock...
[2025-02-09 13:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:07:04] Production.INFO: ==29960== Lock acquired, processing the job...
[2025-02-09 13:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:07:04] Production.INFO: ==29964== Lock acquired, processing the job...
[2025-02-09 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:07:04] Production.INFO: ==29962== Lock acquired, processing the job...
[2025-02-09 13:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:07:04] Production.INFO: Account Balance Start.
[2025-02-09 13:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:07:04] Production.INFO: 117
[2025-02-09 13:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:07:04] Production.INFO: ==29958== Lock acquired, processing the job...
[2025-02-09 13:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:07:04] Production.INFO: Total Charge 0
[2025-02-09 13:07:04] Production.INFO: CreateAllLog End
[2025-02-09 13:07:04] Production.INFO: ==29968== Lock acquired, processing the job...
[2025-02-09 13:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:07:04] Production.INFO: ==29960== Releasing lock...
[2025-02-09 13:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:07:04] Production.INFO: ==29966== Lock acquired, processing the job...
[2025-02-09 13:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:07:04] Production.INFO: Account Balance End.
[2025-02-09 13:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:07:04] Production.INFO: ==29964== Releasing lock...
[2025-02-09 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:07:04] Production.INFO: count ==21
[2025-02-09 13:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:07:04] Production.INFO: count ==21
[2025-02-09 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437255') start
[2025-02-09 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437255') end
[2025-02-09 13:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:07:04] Production.INFO: 1
[2025-02-09 13:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:07:05] Production.INFO: ==29968== Releasing lock...
[2025-02-09 13:07:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:07:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:07:05] Production.ERROR: done
[2025-02-09 13:07:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:07:05] Production.ERROR: done
[2025-02-09 13:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:07:06
[end_date_ymd] => 2025-02-09 13:07:06
[RateCDR] => 1
)
[2025-02-09 13:07: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-02-09 10:07:06' and `end` < '2025-02-09 13:07: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-02-09 13:07:13] Production.ERROR: CronJobId end10
[2025-02-09 13:07:13] Production.INFO: ==29962== Releasing lock...
[2025-02-09 13:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:07:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:07:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:07:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:07:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:07:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:07:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:07:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:07:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:07:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:07:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:07:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:07:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:07:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:07:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:07:16] Production.INFO: call_cost start
[2025-02-09 13:07:16] Production.INFO: call_cost end
[2025-02-09 13:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:07:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:07:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:07:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:07:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:07:17] Production.INFO: ==29958== Releasing lock...
[2025-02-09 13:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:07:19] Production.INFO: count ==1240
[2025-02-09 13:07:20] Production.ERROR: pbx CDR StartTime 2025-02-09 10:07:06 - End Time 2025-02-09 13:07:06
[2025-02-09 13:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437256', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437256', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437256', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437256', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:07:20] Production.INFO: ProcessCDR(1,14437256,1,1,2)
[2025-02-09 13:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437256', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437256', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:07:23] Production.INFO: ==29966== Releasing lock...
[2025-02-09 13:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:07:23] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 18:08:01] Production.INFO: ==30033== Lock acquired, processing the job...
[2025-02-09 18:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:08:01] Production.INFO: neon service started
[2025-02-09 18:08:01] Production.INFO: neon service started
[2025-02-09 18:08:01] Production.INFO: ==30033== Releasing lock...
[2025-02-09 18:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:08:02] Production.INFO: ==30036== Lock acquired, processing the job...
[2025-02-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:08:02] Production.INFO: ==30036== Releasing lock...
[2025-02-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:08:02] Production.INFO: ==30038== Lock acquired, processing the job...
[2025-02-09 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:08:02] Production.INFO: ==30038== Releasing lock...
[2025-02-09 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:08:03] Production.INFO: ==30044== Lock acquired, processing the job...
[2025-02-09 13:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:08:03] Production.INFO: ==30042== Lock acquired, processing the job...
[2025-02-09 13:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:08:03] Production.INFO: ==30048== Lock acquired, processing the job...
[2025-02-09 13:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:08:03] Production.INFO: ==30046== Lock acquired, processing the job...
[2025-02-09 13:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:08:03] Production.INFO: Account Balance Start.
[2025-02-09 13:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:08:03] Production.INFO: 117
[2025-02-09 13:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:08:03] Production.INFO: ==30052== Lock acquired, processing the job...
[2025-02-09 13:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:08:03] Production.INFO: ==30050== Lock acquired, processing the job...
[2025-02-09 13:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:08:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:08:04] Production.INFO: Total Charge 0
[2025-02-09 13:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:08:04] Production.INFO: CreateAllLog End
[2025-02-09 13:08:04] Production.INFO: count ==21
[2025-02-09 13:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:08:04] Production.INFO: ==30044== Releasing lock...
[2025-02-09 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:08:04] Production.INFO: count ==21
[2025-02-09 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437260') start
[2025-02-09 13:08:04] Production.ERROR: done
[2025-02-09 13:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437260') end
[2025-02-09 13:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:08:04] Production.INFO: 1
[2025-02-09 13:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:08:04] Production.INFO: Account Balance End.
[2025-02-09 13:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:08:04] Production.INFO: ==30052== Releasing lock...
[2025-02-09 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:08:04] Production.INFO: ==30048== Releasing lock...
[2025-02-09 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:08:04] Production.ERROR: done
[2025-02-09 13:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:08:05
[end_date_ymd] => 2025-02-09 13:08:05
[RateCDR] => 1
)
[2025-02-09 13:08: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` >= '2025-02-09 10:08:05' and `end` < '2025-02-09 13:08: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 ,'')
[2025-02-09 13:08:14] Production.ERROR: CronJobId end10
[2025-02-09 13:08:14] Production.INFO: ==30046== Releasing lock...
[2025-02-09 13:08:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:08:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:08:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:08:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:08:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:08:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:08:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:08:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:08:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:08:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:08:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:08:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:08:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:08:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:08:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:08:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:08:16] Production.INFO: call_cost start
[2025-02-09 13:08:16] Production.INFO: call_cost end
[2025-02-09 13:08:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:08:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:08:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:08:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:08:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:08:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:08:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:08:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:08:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:08:17] Production.INFO: ==30042== Releasing lock...
[2025-02-09 13:08:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:08:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:08:19] Production.INFO: count ==1242
[2025-02-09 13:08:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:08:05 - End Time 2025-02-09 13:08:05
[2025-02-09 13:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437261', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437261', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437261', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437261', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:08:19] Production.INFO: ProcessCDR(1,14437261,1,1,2)
[2025-02-09 13:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437261', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437261', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:08:22] Production.INFO: ==30050== Releasing lock...
[2025-02-09 13:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:08:22] Production.INFO: 37.5 MB #Memory Used#
[2025-02-09 18:09:02] Production.INFO: ==30120== Lock acquired, processing the job...
[2025-02-09 18:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:09:02] Production.INFO: neon service started
[2025-02-09 18:09:02] Production.INFO: neon service started
[2025-02-09 18:09:02] Production.INFO: ==30120== Releasing lock...
[2025-02-09 18:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:09:02] Production.INFO: ==30122== Lock acquired, processing the job...
[2025-02-09 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:09:03] Production.INFO: ==30124== Lock acquired, processing the job...
[2025-02-09 18:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:09:03] Production.INFO: ==30124== Releasing lock...
[2025-02-09 18:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:09:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:09:03] Production.INFO: ==30122== Releasing lock...
[2025-02-09 13:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:09:04] Production.INFO: ==30131== Lock acquired, processing the job...
[2025-02-09 13:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:09:04] Production.INFO: ==30135== Lock acquired, processing the job...
[2025-02-09 13:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:09:04] Production.INFO: ==30127== Lock acquired, processing the job...
[2025-02-09 13:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:09:04] Production.INFO: ==30129== Lock acquired, processing the job...
[2025-02-09 13:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:09:04] Production.INFO: ==30133== Lock acquired, processing the job...
[2025-02-09 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:09:04] Production.INFO: ==30137== Lock acquired, processing the job...
[2025-02-09 13:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:09:04] Production.INFO: Account Balance Start.
[2025-02-09 13:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:09:04] Production.INFO: 117
[2025-02-09 13:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:09:04] Production.INFO: count ==21
[2025-02-09 13:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:09:04] Production.INFO: count ==21
[2025-02-09 13:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437264') start
[2025-02-09 13:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:09:04] Production.ERROR: done
[2025-02-09 13:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:09:04] Production.INFO: Total Charge 0
[2025-02-09 13:09:04] Production.INFO: CreateAllLog End
[2025-02-09 13:09:05] Production.INFO: ==30129== Releasing lock...
[2025-02-09 13:09:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:09:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:09:05] Production.ERROR: done
[2025-02-09 13:09:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437264') end
[2025-02-09 13:09:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:09:05] Production.INFO: 1
[2025-02-09 13:09:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:09:05] Production.INFO: ==30137== Releasing lock...
[2025-02-09 13:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:09:05] Production.INFO: Account Balance End.
[2025-02-09 13:09:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:09:05] Production.INFO: ==30133== Releasing lock...
[2025-02-09 13:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:09:06
[end_date_ymd] => 2025-02-09 13:09:06
[RateCDR] => 1
)
[2025-02-09 13:09: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-02-09 10:09:06' and `end` < '2025-02-09 13:09: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-02-09 13:09:12] Production.ERROR: CronJobId end10
[2025-02-09 13:09:12] Production.INFO: ==30131== Releasing lock...
[2025-02-09 13:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:09:14] Production.INFO: call_cost start
[2025-02-09 13:09:14] Production.INFO: call_cost end
[2025-02-09 13:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:09:15] Production.INFO: ==30127== Releasing lock...
[2025-02-09 13:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:09:19] Production.INFO: count ==1239
[2025-02-09 13:09:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:09:06 - End Time 2025-02-09 13:09:06
[2025-02-09 13:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437266', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437266', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437266', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437266', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:09:19] Production.INFO: ProcessCDR(1,14437266,1,1,2)
[2025-02-09 13:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437266', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437266', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:09:24] Production.INFO: ==30135== Releasing lock...
[2025-02-09 13:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:09:24] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 18:10:01] Production.INFO: ==30203== Lock acquired, processing the job...
[2025-02-09 18:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:10:01] Production.INFO: neon service started
[2025-02-09 18:10:01] Production.INFO: neon service started
[2025-02-09 18:10:01] Production.INFO: ==30203== Releasing lock...
[2025-02-09 18:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:10:02] Production.INFO: ==30205== Lock acquired, processing the job...
[2025-02-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:10:02] Production.INFO: ==30207== Lock acquired, processing the job...
[2025-02-09 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:10:02] Production.INFO: ==30207== Releasing lock...
[2025-02-09 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:10:02] Production.INFO: ==30205== Releasing lock...
[2025-02-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:10:03] Production.INFO: ==30210== Lock acquired, processing the job...
[2025-02-09 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 13:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 13:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 13:10:03] Production.INFO: ==30210== Releasing lock...
[2025-02-09 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 13:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 13:10:03] Production.INFO: ==30212== Lock acquired, processing the job...
[2025-02-09 13:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:10:04] Production.INFO: ==30224== Lock acquired, processing the job...
[2025-02-09 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:10:04] Production.INFO: ==30222== Lock acquired, processing the job...
[2025-02-09 13:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:10:04] Production.INFO: ==30214== Lock acquired, processing the job...
[2025-02-09 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:10:04] Production.INFO: ==30216== Lock acquired, processing the job...
[2025-02-09 13:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:10:04] Production.INFO: ==30218== Lock acquired, processing the job...
[2025-02-09 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:10:04] Production.INFO: count ==21
[2025-02-09 13:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:10:04] Production.INFO: count ==21
[2025-02-09 13:10:04] Production.INFO: ==30220== Lock acquired, processing the job...
[2025-02-09 13:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437268') start
[2025-02-09 13:10:04] Production.INFO: Account Balance Start.
[2025-02-09 13:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:10:04] Production.INFO: 117
[2025-02-09 13:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:10:04] Production.INFO: Total Charge 0
[2025-02-09 13:10:04] Production.INFO: CreateAllLog End
[2025-02-09 13:10:04] Production.ERROR: done
[2025-02-09 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437268') end
[2025-02-09 13:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:10:04] Production.INFO: 1
[2025-02-09 13:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 13:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437271', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 13:10:05] Production.INFO: ==30224== Releasing lock...
[2025-02-09 13:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:10:05] Production.INFO: ==30214== Releasing lock...
[2025-02-09 13:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:10:05] Production.ERROR: done
[2025-02-09 13:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:10:05] Production.INFO: Account Balance End.
[2025-02-09 13:10:05] Production.ERROR: done
[2025-02-09 13:10:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:10:05] Production.INFO: ==30218== Releasing lock...
[2025-02-09 13:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:10:06
[end_date_ymd] => 2025-02-09 13:10:06
[RateCDR] => 1
)
[2025-02-09 13:10: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-02-09 10:10:06' and `end` < '2025-02-09 13:10: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-02-09 13:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437271', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 13:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 13:10:09] Production.INFO: ProcessCDR(1,14437271,1,1,2)
[2025-02-09 13:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437271,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437271,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:10:09] Production.INFO: ==30222== Releasing lock...
[2025-02-09 13:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 13:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 13:10:15] Production.ERROR: CronJobId end10
[2025-02-09 13:10:15] Production.INFO: ==30216== Releasing lock...
[2025-02-09 13:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:10:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:10:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:10:18] Production.INFO: call_cost start
[2025-02-09 13:10:18] Production.INFO: call_cost end
[2025-02-09 13:10:19] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:10:19] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:10:19] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:10:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:10:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:10:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:10:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:10:19] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:10:19] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:10:19] Production.INFO: ==30212== Releasing lock...
[2025-02-09 13:10:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:10:19] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:10:19] Production.INFO: count ==1362
[2025-02-09 13:10:20] Production.ERROR: pbx CDR StartTime 2025-02-09 10:10:06 - End Time 2025-02-09 13:10:06
[2025-02-09 13:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437272', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437272', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437272', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437272', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:10:20] Production.INFO: ProcessCDR(1,14437272,1,1,2)
[2025-02-09 13:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437272', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437272', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:10:25] Production.INFO: ==30220== Releasing lock...
[2025-02-09 13:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:10:25] Production.INFO: 38.25 MB #Memory Used#
[2025-02-09 18:11:02] Production.INFO: ==30291== Lock acquired, processing the job...
[2025-02-09 18:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:11:02] Production.INFO: neon service started
[2025-02-09 18:11:02] Production.INFO: neon service started
[2025-02-09 18:11:02] Production.INFO: ==30291== Releasing lock...
[2025-02-09 18:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:11:02] Production.INFO: ==30293== Lock acquired, processing the job...
[2025-02-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:11:03] Production.INFO: ==30295== Lock acquired, processing the job...
[2025-02-09 18:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:11:03] Production.INFO: ==30295== Releasing lock...
[2025-02-09 18:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:11:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:11:03] Production.INFO: ==30293== Releasing lock...
[2025-02-09 13:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:11:04] Production.INFO: ==30299== Lock acquired, processing the job...
[2025-02-09 13:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:11:04] Production.INFO: ==30301== Lock acquired, processing the job...
[2025-02-09 13:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:11:04] Production.INFO: ==30307== Lock acquired, processing the job...
[2025-02-09 13:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:11:04] Production.INFO: ==30303== Lock acquired, processing the job...
[2025-02-09 13:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:11:04] Production.INFO: ==30305== Lock acquired, processing the job...
[2025-02-09 13:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:11:04] Production.INFO: ==30309== Lock acquired, processing the job...
[2025-02-09 13:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:11:04] Production.INFO: Account Balance Start.
[2025-02-09 13:11:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:11:04] Production.INFO: 117
[2025-02-09 13:11:04] Production.INFO: ==30301== Releasing lock...
[2025-02-09 13:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:11:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:11:05] Production.INFO: Reseller ==> 0
[2025-02-09 13:11:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:11:05] Production.INFO: Date 2025-02-09
[2025-02-09 13:11:05] Production.INFO: count ==21
[2025-02-09 13:11:05] Production.INFO: Reseller ==> 0
[2025-02-09 13:11:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:11:05] Production.INFO: count ==21
[2025-02-09 13:11:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437276') start
[2025-02-09 13:11:05] Production.ERROR: done
[2025-02-09 13:11:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:11:05] Production.INFO: Total Charge 0
[2025-02-09 13:11:05] Production.INFO: CreateAllLog End
[2025-02-09 13:11:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437276') end
[2025-02-09 13:11:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:11:05] Production.INFO: 1
[2025-02-09 13:11:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:11:05] Production.INFO: ==30309== Releasing lock...
[2025-02-09 13:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:11:05] Production.ERROR: done
[2025-02-09 13:11:05] Production.INFO: Account Balance End.
[2025-02-09 13:11:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:11:05] Production.INFO: ==30305== Releasing lock...
[2025-02-09 13:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:11:06
[end_date_ymd] => 2025-02-09 13:11:06
[RateCDR] => 1
)
[2025-02-09 13:11: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-02-09 10:11:06' and `end` < '2025-02-09 13:11: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-02-09 13:11:13] Production.ERROR: CronJobId end10
[2025-02-09 13:11:13] Production.INFO: ==30303== Releasing lock...
[2025-02-09 13:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:11:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:11:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:11:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:11:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:11:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:11:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:11:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:11:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:11:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:11:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:11:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:11:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:11:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:11:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:11:16] Production.INFO: call_cost start
[2025-02-09 13:11:16] Production.INFO: call_cost end
[2025-02-09 13:11:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:11:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:11:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:11:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:11:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:11:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:11:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:11:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:11:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:11:17] Production.INFO: ==30299== Releasing lock...
[2025-02-09 13:11:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:11:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:11:19] Production.INFO: count ==1391
[2025-02-09 13:11:20] Production.ERROR: pbx CDR StartTime 2025-02-09 10:11:06 - End Time 2025-02-09 13:11:06
[2025-02-09 13:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437277', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437277', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437277', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437277', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:11:20] Production.INFO: ProcessCDR(1,14437277,1,1,2)
[2025-02-09 13:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437277', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437277', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:11:25] Production.INFO: ==30307== Releasing lock...
[2025-02-09 13:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:11:25] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 18:12:01] Production.INFO: ==30377== Lock acquired, processing the job...
[2025-02-09 18:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:12:01] Production.INFO: neon service started
[2025-02-09 18:12:01] Production.INFO: neon service started
[2025-02-09 18:12:01] Production.INFO: ==30377== Releasing lock...
[2025-02-09 18:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:12:02] Production.INFO: ==30379== Lock acquired, processing the job...
[2025-02-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:12:02] Production.INFO: ==30381== Lock acquired, processing the job...
[2025-02-09 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:12:02] Production.INFO: ==30381== Releasing lock...
[2025-02-09 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:12:03] Production.INFO: ==30379== Releasing lock...
[2025-02-09 13:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:12:04] Production.INFO: ==30388== Lock acquired, processing the job...
[2025-02-09 13:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:12:04] Production.INFO: ==30392== Lock acquired, processing the job...
[2025-02-09 13:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:12:04] Production.INFO: ==30384== Lock acquired, processing the job...
[2025-02-09 13:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:12:04] Production.INFO: ==30386== Lock acquired, processing the job...
[2025-02-09 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:12:04] Production.INFO: ==30394== Lock acquired, processing the job...
[2025-02-09 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:12:04] Production.INFO: ==30390== Lock acquired, processing the job...
[2025-02-09 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:12:04] Production.ERROR: done
[2025-02-09 13:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:12:04] Production.INFO: count ==21
[2025-02-09 13:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:12:04] Production.INFO: count ==21
[2025-02-09 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437279') start
[2025-02-09 13:12:04] Production.INFO: Account Balance Start.
[2025-02-09 13:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:12:04] Production.INFO: 117
[2025-02-09 13:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437279') end
[2025-02-09 13:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:12:04] Production.INFO: 1
[2025-02-09 13:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:12:04] Production.ERROR: done
[2025-02-09 13:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:12:04] Production.INFO: ==30394== Releasing lock...
[2025-02-09 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:12:05] Production.INFO: ==30386== Releasing lock...
[2025-02-09 13:12:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:12:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:12:05] Production.INFO: Date 2025-02-09
[2025-02-09 13:12:05] Production.INFO: Reseller ==> 0
[2025-02-09 13:12:05] Production.INFO: Total Charge 0
[2025-02-09 13:12:05] Production.INFO: CreateAllLog End
[2025-02-09 13:12:05] Production.INFO: Account Balance End.
[2025-02-09 13:12:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:12:05] Production.INFO: ==30390== Releasing lock...
[2025-02-09 13:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:12:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:12:06
[end_date_ymd] => 2025-02-09 13:12:06
[RateCDR] => 1
)
[2025-02-09 13:12: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-02-09 10:12:06' and `end` < '2025-02-09 13:12: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-02-09 13:12:14] Production.ERROR: CronJobId end10
[2025-02-09 13:12:14] Production.INFO: ==30388== Releasing lock...
[2025-02-09 13:12:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:12:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:12:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:12:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:12:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:12:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:12:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:12:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:12:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:12:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:12:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:12:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:12:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:12:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:12:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:12:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:12:16] Production.INFO: call_cost start
[2025-02-09 13:12:16] Production.INFO: call_cost end
[2025-02-09 13:12:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:12:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:12:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:12:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:12:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:12:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:12:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:12:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:12:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:12:17] Production.INFO: ==30384== Releasing lock...
[2025-02-09 13:12:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:12:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:12:19] Production.INFO: count ==1399
[2025-02-09 13:12:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:12:06 - End Time 2025-02-09 13:12:06
[2025-02-09 13:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437282', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437282', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437282', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437282', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:12:19] Production.INFO: ProcessCDR(1,14437282,1,1,2)
[2025-02-09 13:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437282', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437282', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:12:23] Production.INFO: ==30392== Releasing lock...
[2025-02-09 13:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:12:23] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 18:13:02] Production.INFO: ==30463== Lock acquired, processing the job...
[2025-02-09 18:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:13:02] Production.INFO: neon service started
[2025-02-09 18:13:02] Production.INFO: neon service started
[2025-02-09 18:13:02] Production.INFO: ==30463== Releasing lock...
[2025-02-09 18:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:13:02] Production.INFO: ==30465== Lock acquired, processing the job...
[2025-02-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:13:03] Production.INFO: ==30465== Releasing lock...
[2025-02-09 13:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:13:03] Production.INFO: ==30467== Lock acquired, processing the job...
[2025-02-09 18:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:13:03] Production.INFO: ==30467== Releasing lock...
[2025-02-09 18:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:13:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:13:04] Production.INFO: ==30469== Lock acquired, processing the job...
[2025-02-09 13:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:13:04] Production.INFO: ==30473== Lock acquired, processing the job...
[2025-02-09 13:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:13:04] Production.INFO: ==30471== Lock acquired, processing the job...
[2025-02-09 13:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:13:04] Production.INFO: ==30480== Lock acquired, processing the job...
[2025-02-09 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:13:04] Production.INFO: count ==21
[2025-02-09 13:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:13:04] Production.INFO: count ==21
[2025-02-09 13:13:04] Production.INFO: ==30478== Lock acquired, processing the job...
[2025-02-09 13:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437284') start
[2025-02-09 13:13:04] Production.INFO: ==30476== Lock acquired, processing the job...
[2025-02-09 13:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:13:04] Production.INFO: Account Balance Start.
[2025-02-09 13:13:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:13:04] Production.INFO: 117
[2025-02-09 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437284') end
[2025-02-09 13:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:13:04] Production.INFO: 1
[2025-02-09 13:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:13:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:13:04] Production.INFO: ==30480== Releasing lock...
[2025-02-09 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:13:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:13:04] Production.ERROR: done
[2025-02-09 13:13:04] Production.INFO: Total Charge 0
[2025-02-09 13:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:13:04] Production.INFO: ==30471== Releasing lock...
[2025-02-09 13:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:13:05] Production.INFO: CreateAllLog End
[2025-02-09 13:13:05] Production.ERROR: done
[2025-02-09 13:13:05] Production.INFO: Account Balance End.
[2025-02-09 13:13:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:13:05] Production.INFO: ==30476== Releasing lock...
[2025-02-09 13:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:13:06
[end_date_ymd] => 2025-02-09 13:13:06
[RateCDR] => 1
)
[2025-02-09 13:13: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-02-09 10:13:06' and `end` < '2025-02-09 13:13: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-02-09 13:13:15] Production.ERROR: CronJobId end10
[2025-02-09 13:13:15] Production.INFO: ==30473== Releasing lock...
[2025-02-09 13:13:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:13:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:13:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:13:18] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:13:18] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:13:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:13:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:13:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:13:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:13:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:13:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:13:18] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:13:18] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:13:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:13:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:13:18] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:13:18] Production.INFO: call_cost start
[2025-02-09 13:13:18] Production.INFO: call_cost end
[2025-02-09 13:13:19] Production.INFO: count ==1404
[2025-02-09 13:13:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:13:06 - End Time 2025-02-09 13:13:06
[2025-02-09 13:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437287', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437287', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437287', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437287', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:13:19] Production.INFO: ProcessCDR(1,14437287,1,1,2)
[2025-02-09 13:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:13:20] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:13:20] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:13:20] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:13:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:13:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:13:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:13:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:13:20] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:13:20] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:13:20] Production.INFO: ==30469== Releasing lock...
[2025-02-09 13:13:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:13:20] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437287', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437287', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:13:23] Production.INFO: ==30478== Releasing lock...
[2025-02-09 13:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:13:23] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 18:14:01] Production.INFO: ==30586== Lock acquired, processing the job...
[2025-02-09 18:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:14:01] Production.INFO: neon service started
[2025-02-09 18:14:01] Production.INFO: neon service started
[2025-02-09 18:14:01] Production.INFO: ==30586== Releasing lock...
[2025-02-09 18:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:14:02] Production.INFO: ==30588== Lock acquired, processing the job...
[2025-02-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:14:02] Production.INFO: ==30588== Releasing lock...
[2025-02-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:14:02] Production.INFO: ==30590== Lock acquired, processing the job...
[2025-02-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:14:02] Production.INFO: ==30590== Releasing lock...
[2025-02-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:14:03] Production.INFO: ==30599== Lock acquired, processing the job...
[2025-02-09 13:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:14:03] Production.INFO: ==30603== Lock acquired, processing the job...
[2025-02-09 13:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:14:03] Production.INFO: ==30593== Lock acquired, processing the job...
[2025-02-09 13:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:14:03] Production.INFO: Account Balance Start.
[2025-02-09 13:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:14:03] Production.INFO: 117
[2025-02-09 13:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:14:03] Production.INFO: ==30595== Lock acquired, processing the job...
[2025-02-09 13:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:14:03] Production.INFO: ==30597== Lock acquired, processing the job...
[2025-02-09 13:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:14:03] Production.INFO: ==30601== Lock acquired, processing the job...
[2025-02-09 13:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:14:03] Production.INFO: count ==21
[2025-02-09 13:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:14:04] Production.INFO: count ==21
[2025-02-09 13:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437289') start
[2025-02-09 13:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:14:04] Production.INFO: Total Charge 0
[2025-02-09 13:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:14:04] Production.INFO: CreateAllLog End
[2025-02-09 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437289') end
[2025-02-09 13:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:14:04] Production.INFO: 1
[2025-02-09 13:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:14:04] Production.INFO: ==30595== Releasing lock...
[2025-02-09 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:14:04] Production.INFO: ==30603== Releasing lock...
[2025-02-09 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:14:04] Production.INFO: Account Balance End.
[2025-02-09 13:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:14:04] Production.INFO: ==30599== Releasing lock...
[2025-02-09 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:14:04] Production.ERROR: done
[2025-02-09 13:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:14:04] Production.ERROR: done
[2025-02-09 13:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:14:05
[end_date_ymd] => 2025-02-09 13:14:05
[RateCDR] => 1
)
[2025-02-09 13:14: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` >= '2025-02-09 10:14:05' and `end` < '2025-02-09 13:14: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 ,'')
[2025-02-09 13:14:13] Production.ERROR: CronJobId end10
[2025-02-09 13:14:13] Production.INFO: ==30597== Releasing lock...
[2025-02-09 13:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:14:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:14:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:14:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:14:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:14:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:14:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:14:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:14:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:14:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:14:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:14:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:14:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:14:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:14:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:14:16] Production.INFO: call_cost start
[2025-02-09 13:14:16] Production.INFO: call_cost end
[2025-02-09 13:14:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:14:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:14:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:14:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:14:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:14:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:14:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:14:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:14:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:14:17] Production.INFO: ==30593== Releasing lock...
[2025-02-09 13:14:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:14:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:14:18] Production.INFO: count ==1404
[2025-02-09 13:14:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:14:05 - End Time 2025-02-09 13:14:05
[2025-02-09 13:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437292', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437292', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437292', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437292', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:14:19] Production.INFO: ProcessCDR(1,14437292,1,1,2)
[2025-02-09 13:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437292', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437292', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:14:23] Production.INFO: ==30601== Releasing lock...
[2025-02-09 13:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:14:23] Production.INFO: 39 MB #Memory Used#
[2025-02-09 18:15:02] Production.INFO: ==30685== Lock acquired, processing the job...
[2025-02-09 18:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:15:02] Production.INFO: neon service started
[2025-02-09 18:15:02] Production.INFO: neon service started
[2025-02-09 18:15:02] Production.INFO: ==30685== Releasing lock...
[2025-02-09 18:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:15:02] Production.INFO: ==30687== Lock acquired, processing the job...
[2025-02-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:15:03] Production.INFO: ==30687== Releasing lock...
[2025-02-09 13:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:15:03] Production.INFO: ==30689== Lock acquired, processing the job...
[2025-02-09 18:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:15:03] Production.INFO: ==30689== Releasing lock...
[2025-02-09 18:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:15:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:15:04] Production.INFO: ==30693== Lock acquired, processing the job...
[2025-02-09 13:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:15:04] Production.INFO: ==30700== Lock acquired, processing the job...
[2025-02-09 13:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:15:04] Production.INFO: ==30691== Lock acquired, processing the job...
[2025-02-09 13:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:15:04] Production.INFO: ==30695== Lock acquired, processing the job...
[2025-02-09 13:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:15:04] Production.INFO: ==30697== Lock acquired, processing the job...
[2025-02-09 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:15:04] Production.INFO: ==30702== Lock acquired, processing the job...
[2025-02-09 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:15:04] Production.INFO: ==30693== Releasing lock...
[2025-02-09 13:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:15:04] Production.INFO: Account Balance Start.
[2025-02-09 13:15:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:15:04] Production.INFO: 117
[2025-02-09 13:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:15:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:15:04] Production.ERROR: done
[2025-02-09 13:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:15:04] Production.INFO: count ==21
[2025-02-09 13:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:15:04] Production.INFO: count ==21
[2025-02-09 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437296') start
[2025-02-09 13:15:04] Production.ERROR: done
[2025-02-09 13:15:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:15:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:15:04] Production.INFO: Total Charge 0
[2025-02-09 13:15:04] Production.INFO: CreateAllLog End
[2025-02-09 13:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437296') end
[2025-02-09 13:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:15:04] Production.INFO: 1
[2025-02-09 13:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:15:05] Production.INFO: ==30702== Releasing lock...
[2025-02-09 13:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:15:05] Production.INFO: Account Balance End.
[2025-02-09 13:15:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:15:05] Production.INFO: ==30697== Releasing lock...
[2025-02-09 13:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:15:05
[end_date_ymd] => 2025-02-09 13:15:05
[RateCDR] => 1
)
[2025-02-09 13:15: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-02-09 10:15:05' and `end` < '2025-02-09 13:15: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 ,'')
[2025-02-09 13:15:13] Production.ERROR: CronJobId end10
[2025-02-09 13:15:13] Production.INFO: ==30695== Releasing lock...
[2025-02-09 13:15:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:15:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:15:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:15:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:15:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:15:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:15:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:15:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:15:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:15:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:15:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:15:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:15:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:15:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:15:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:15:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:15:17] Production.INFO: call_cost start
[2025-02-09 13:15:17] Production.INFO: call_cost end
[2025-02-09 13:15:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:15:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:15:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:15:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:15:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:15:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:15:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:15:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:15:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:15:18] Production.INFO: ==30691== Releasing lock...
[2025-02-09 13:15:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:15:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:15:19] Production.INFO: count ==1400
[2025-02-09 13:15:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:15:05 - End Time 2025-02-09 13:15:05
[2025-02-09 13:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437297', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437297', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437297', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437297', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:15:19] Production.INFO: ProcessCDR(1,14437297,1,1,2)
[2025-02-09 13:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437297', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437297', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:15:23] Production.INFO: ==30700== Releasing lock...
[2025-02-09 13:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:15:23] Production.INFO: 38.5 MB #Memory Used#
[2025-02-09 18:16:01] Production.INFO: ==30792== Lock acquired, processing the job...
[2025-02-09 18:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:16:01] Production.INFO: neon service started
[2025-02-09 18:16:01] Production.INFO: neon service started
[2025-02-09 18:16:01] Production.INFO: ==30792== Releasing lock...
[2025-02-09 18:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:16:02] Production.INFO: ==30795== Lock acquired, processing the job...
[2025-02-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:16:02] Production.INFO: ==30795== Releasing lock...
[2025-02-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:16:02] Production.INFO: ==30797== Lock acquired, processing the job...
[2025-02-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:16:02] Production.INFO: ==30797== Releasing lock...
[2025-02-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:16:03] Production.INFO: ==30799== Lock acquired, processing the job...
[2025-02-09 13:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:16:03] Production.INFO: ==30807== Lock acquired, processing the job...
[2025-02-09 13:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:16:03] Production.INFO: ==30801== Lock acquired, processing the job...
[2025-02-09 13:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:16:03] Production.INFO: ==30809== Lock acquired, processing the job...
[2025-02-09 13:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:16:03] Production.INFO: ==30803== Lock acquired, processing the job...
[2025-02-09 13:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:16:04] Production.INFO: ==30805== Lock acquired, processing the job...
[2025-02-09 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:16:04] Production.INFO: Account Balance Start.
[2025-02-09 13:16:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:16:04] Production.INFO: 117
[2025-02-09 13:16:04] Production.INFO: count ==21
[2025-02-09 13:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:16:04] Production.INFO: count ==21
[2025-02-09 13:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437300') start
[2025-02-09 13:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:16:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:16:04] Production.ERROR: done
[2025-02-09 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437300') end
[2025-02-09 13:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:16:04] Production.INFO: 1
[2025-02-09 13:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:16:04] Production.INFO: ==30809== Releasing lock...
[2025-02-09 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:16:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:16:04] Production.INFO: Total Charge 0
[2025-02-09 13:16:04] Production.INFO: CreateAllLog End
[2025-02-09 13:16:04] Production.INFO: ==30801== Releasing lock...
[2025-02-09 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:16:04] Production.ERROR: done
[2025-02-09 13:16:04] Production.INFO: Account Balance End.
[2025-02-09 13:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:16:04] Production.INFO: ==30805== Releasing lock...
[2025-02-09 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:16:05
[end_date_ymd] => 2025-02-09 13:16:05
[RateCDR] => 1
)
[2025-02-09 13:16: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` >= '2025-02-09 10:16:05' and `end` < '2025-02-09 13:16: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 ,'')
[2025-02-09 13:16:13] Production.ERROR: CronJobId end10
[2025-02-09 13:16:13] Production.INFO: ==30803== Releasing lock...
[2025-02-09 13:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:16:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:16:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:16:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:16:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:16:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:16:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:16:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:16:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:16:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:16:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:16:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:16:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:16:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:16:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:16:16] Production.INFO: call_cost start
[2025-02-09 13:16:16] Production.INFO: call_cost end
[2025-02-09 13:16:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:16:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:16:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:16:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:16:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:16:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:16:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:16:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:16:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:16:17] Production.INFO: ==30799== Releasing lock...
[2025-02-09 13:16:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:16:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:16:18] Production.INFO: count ==1396
[2025-02-09 13:16:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:16:05 - End Time 2025-02-09 13:16:05
[2025-02-09 13:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437302', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437302', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437302', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437302', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:16:19] Production.INFO: ProcessCDR(1,14437302,1,1,2)
[2025-02-09 13:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437302', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437302', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:16:22] Production.INFO: ==30807== Releasing lock...
[2025-02-09 13:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:16:22] Production.INFO: 38.5 MB #Memory Used#
[2025-02-09 18:17:01] Production.INFO: ==30902== Lock acquired, processing the job...
[2025-02-09 18:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:17:01] Production.INFO: neon service started
[2025-02-09 18:17:01] Production.INFO: neon service started
[2025-02-09 18:17:01] Production.INFO: ==30902== Releasing lock...
[2025-02-09 18:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:17:02] Production.INFO: ==30904== Lock acquired, processing the job...
[2025-02-09 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:17:02] Production.INFO: ==30906== Lock acquired, processing the job...
[2025-02-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:17:02] Production.INFO: ==30906== Releasing lock...
[2025-02-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:17:02] Production.INFO: ==30904== Releasing lock...
[2025-02-09 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:17:03] Production.INFO: ==30909== Lock acquired, processing the job...
[2025-02-09 13:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:17:03] Production.INFO: ==30911== Lock acquired, processing the job...
[2025-02-09 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:17:03] Production.INFO: ==30917== Lock acquired, processing the job...
[2025-02-09 13:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:17:03] Production.INFO: ==30913== Lock acquired, processing the job...
[2025-02-09 13:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:17:03] Production.INFO: ==30911== Releasing lock...
[2025-02-09 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:17:03] Production.INFO: ==30915== Lock acquired, processing the job...
[2025-02-09 13:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:17:03] Production.INFO: ==30919== Lock acquired, processing the job...
[2025-02-09 13:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:17:03] Production.ERROR: done
[2025-02-09 13:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:17:03] Production.INFO: Account Balance Start.
[2025-02-09 13:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:17:03] Production.INFO: 117
[2025-02-09 13:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:17:03] Production.INFO: Total Charge 0
[2025-02-09 13:17:03] Production.INFO: CreateAllLog End
[2025-02-09 13:17:03] Production.ERROR: done
[2025-02-09 13:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:17:04] Production.INFO: count ==21
[2025-02-09 13:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:17:04] Production.INFO: count ==21
[2025-02-09 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437306') start
[2025-02-09 13:17:04] Production.INFO: Account Balance End.
[2025-02-09 13:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:17:04] Production.INFO: ==30915== Releasing lock...
[2025-02-09 13:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437306') end
[2025-02-09 13:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:17:04] Production.INFO: 1
[2025-02-09 13:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:17:04] Production.INFO: ==30919== Releasing lock...
[2025-02-09 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:17:05
[end_date_ymd] => 2025-02-09 13:17:05
[RateCDR] => 1
)
[2025-02-09 13:17: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` >= '2025-02-09 10:17:05' and `end` < '2025-02-09 13:17: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 ,'')
[2025-02-09 13:17:13] Production.ERROR: CronJobId end10
[2025-02-09 13:17:13] Production.INFO: ==30913== Releasing lock...
[2025-02-09 13:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:17:15] Production.INFO: call_cost start
[2025-02-09 13:17:15] Production.INFO: call_cost end
[2025-02-09 13:17:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:17:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:17:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:17:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:17:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:17:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:17:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:17:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:17:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:17:16] Production.INFO: ==30909== Releasing lock...
[2025-02-09 13:17:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:17:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:17:18] Production.INFO: count ==1428
[2025-02-09 13:17:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:17:05 - End Time 2025-02-09 13:17:05
[2025-02-09 13:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437307', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437307', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437307', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437307', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:17:18] Production.INFO: ProcessCDR(1,14437307,1,1,2)
[2025-02-09 13:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437307', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437307', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:17:22] Production.INFO: ==30917== Releasing lock...
[2025-02-09 13:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:17:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 18:18:01] Production.INFO: ==31015== Lock acquired, processing the job...
[2025-02-09 18:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:18:01] Production.INFO: neon service started
[2025-02-09 18:18:01] Production.INFO: neon service started
[2025-02-09 18:18:01] Production.INFO: ==31015== Releasing lock...
[2025-02-09 18:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:18:02] Production.INFO: ==31018== Lock acquired, processing the job...
[2025-02-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:18:02] Production.INFO: ==31018== Releasing lock...
[2025-02-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:18:02] Production.INFO: ==31020== Lock acquired, processing the job...
[2025-02-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:18:02] Production.INFO: ==31020== Releasing lock...
[2025-02-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:18:03] Production.INFO: ==31030== Lock acquired, processing the job...
[2025-02-09 13:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:18:03] Production.INFO: ==31032== Lock acquired, processing the job...
[2025-02-09 13:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:18:03] Production.INFO: ==31022== Lock acquired, processing the job...
[2025-02-09 13:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:18:03] Production.INFO: count ==21
[2025-02-09 13:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:18:03] Production.INFO: count ==21
[2025-02-09 13:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437308') start
[2025-02-09 13:18:03] Production.INFO: ==31024== Lock acquired, processing the job...
[2025-02-09 13:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:18:03] Production.INFO: ==31026== Lock acquired, processing the job...
[2025-02-09 13:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:18:04] Production.INFO: ==31028== Lock acquired, processing the job...
[2025-02-09 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:18:04] Production.ERROR: done
[2025-02-09 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437308') end
[2025-02-09 13:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:18:04] Production.INFO: 1
[2025-02-09 13:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:18:04] Production.INFO: ==31032== Releasing lock...
[2025-02-09 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:18:04] Production.INFO: Account Balance Start.
[2025-02-09 13:18:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:18:04] Production.INFO: 117
[2025-02-09 13:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:18:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:18:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:18:04] Production.ERROR: done
[2025-02-09 13:18:04] Production.INFO: Total Charge 0
[2025-02-09 13:18:04] Production.INFO: CreateAllLog End
[2025-02-09 13:18:04] Production.INFO: ==31024== Releasing lock...
[2025-02-09 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:18:04] Production.INFO: Account Balance End.
[2025-02-09 13:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:18:04] Production.INFO: ==31028== Releasing lock...
[2025-02-09 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:18:05
[end_date_ymd] => 2025-02-09 13:18:05
[RateCDR] => 1
)
[2025-02-09 13:18: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` >= '2025-02-09 10:18:05' and `end` < '2025-02-09 13:18: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 ,'')
[2025-02-09 13:18:12] Production.ERROR: CronJobId end10
[2025-02-09 13:18:12] Production.INFO: ==31026== Releasing lock...
[2025-02-09 13:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:18:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:18:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:18:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:18:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:18:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:18:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:18:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:18:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:18:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:18:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:18:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:18:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:18:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:18:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:18:16] Production.INFO: call_cost start
[2025-02-09 13:18:16] Production.INFO: call_cost end
[2025-02-09 13:18:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:18:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:18:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:18:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:18:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:18:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:18:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:18:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:18:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:18:17] Production.INFO: ==31022== Releasing lock...
[2025-02-09 13:18:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:18:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:18:18] Production.INFO: count ==1427
[2025-02-09 13:18:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:18:05 - End Time 2025-02-09 13:18:05
[2025-02-09 13:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437312', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437312', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437312', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437312', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:18:19] Production.INFO: ProcessCDR(1,14437312,1,1,2)
[2025-02-09 13:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437312', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437312', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:18:22] Production.INFO: ==31030== Releasing lock...
[2025-02-09 13:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:18:22] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 18:19:02] Production.INFO: ==31128== Lock acquired, processing the job...
[2025-02-09 18:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:19:02] Production.INFO: neon service started
[2025-02-09 18:19:02] Production.INFO: neon service started
[2025-02-09 18:19:02] Production.INFO: ==31128== Releasing lock...
[2025-02-09 18:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:19:02] Production.INFO: ==31132== Lock acquired, processing the job...
[2025-02-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:19:02] Production.INFO: ==31132== Releasing lock...
[2025-02-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:19:02] Production.INFO: ==31130== Lock acquired, processing the job...
[2025-02-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:19:03] Production.INFO: ==31130== Releasing lock...
[2025-02-09 13:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:19:04] Production.INFO: ==31143== Lock acquired, processing the job...
[2025-02-09 13:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:19:04] Production.INFO: ==31141== Lock acquired, processing the job...
[2025-02-09 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:19:04] Production.INFO: ==31135== Lock acquired, processing the job...
[2025-02-09 13:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:19:04] Production.INFO: ==31137== Lock acquired, processing the job...
[2025-02-09 13:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:19:04] Production.INFO: Account Balance Start.
[2025-02-09 13:19:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:19:04] Production.INFO: 117
[2025-02-09 13:19:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:19:04] Production.INFO: ==31139== Lock acquired, processing the job...
[2025-02-09 13:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:19:04] Production.INFO: ==31145== Lock acquired, processing the job...
[2025-02-09 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:19:04] Production.INFO: Total Charge 0
[2025-02-09 13:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:19:04] Production.INFO: CreateAllLog End
[2025-02-09 13:19:04] Production.ERROR: done
[2025-02-09 13:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:19:04] Production.INFO: ==31137== Releasing lock...
[2025-02-09 13:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:19:05] Production.INFO: Account Balance End.
[2025-02-09 13:19:05] Production.INFO: count ==21
[2025-02-09 13:19:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:19:05] Production.INFO: count ==21
[2025-02-09 13:19:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:19:05] Production.INFO: ==31141== Releasing lock...
[2025-02-09 13:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437316') start
[2025-02-09 13:19:05] Production.ERROR: done
[2025-02-09 13:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437316') end
[2025-02-09 13:19:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:19:05] Production.INFO: 1
[2025-02-09 13:19:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:19:05] Production.INFO: ==31145== Releasing lock...
[2025-02-09 13:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:19:06
[end_date_ymd] => 2025-02-09 13:19:06
[RateCDR] => 1
)
[2025-02-09 13:19: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-02-09 10:19:06' and `end` < '2025-02-09 13:19: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-02-09 13:19:15] Production.ERROR: CronJobId end10
[2025-02-09 13:19:15] Production.INFO: ==31139== Releasing lock...
[2025-02-09 13:19:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:19:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:19:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:19:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:19:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:19:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:19:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:19:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:19:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:19:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:19:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:19:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:19:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:19:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:19:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:19:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:19:17] Production.INFO: call_cost start
[2025-02-09 13:19:17] Production.INFO: call_cost end
[2025-02-09 13:19:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:19:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:19:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:19:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:19:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:19:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:19:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:19:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:19:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:19:18] Production.INFO: ==31135== Releasing lock...
[2025-02-09 13:19:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:19:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:19:19] Production.INFO: count ==1427
[2025-02-09 13:19:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:19:06 - End Time 2025-02-09 13:19:06
[2025-02-09 13:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437317', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437317', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437317', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437317', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:19:19] Production.INFO: ProcessCDR(1,14437317,1,1,2)
[2025-02-09 13:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437317', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437317', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:19:23] Production.INFO: ==31143== Releasing lock...
[2025-02-09 13:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:19:23] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 18:20:01] Production.INFO: ==31239== Lock acquired, processing the job...
[2025-02-09 18:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:20:01] Production.INFO: neon service started
[2025-02-09 18:20:01] Production.INFO: neon service started
[2025-02-09 18:20:01] Production.INFO: ==31239== Releasing lock...
[2025-02-09 18:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:20:02] Production.INFO: ==31243== Lock acquired, processing the job...
[2025-02-09 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:20:02] Production.INFO: ==31243== Releasing lock...
[2025-02-09 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:20:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:20:02] Production.INFO: ==31241== Lock acquired, processing the job...
[2025-02-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:20:02] Production.INFO: ==31241== Releasing lock...
[2025-02-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:20:03] Production.INFO: ==31246== Lock acquired, processing the job...
[2025-02-09 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 13:20:03] Production.INFO: ==31248== Lock acquired, processing the job...
[2025-02-09 13:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 13:20:03] Production.INFO: ==31250== Lock acquired, processing the job...
[2025-02-09 13:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 13:20:03] Production.INFO: ==31246== Releasing lock...
[2025-02-09 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 13:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 13:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:20:04] Production.INFO: ==31254== Lock acquired, processing the job...
[2025-02-09 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:20:04] Production.INFO: ==31252== Lock acquired, processing the job...
[2025-02-09 13:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:20:04] Production.INFO: Account Balance Start.
[2025-02-09 13:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:20:04] Production.INFO: 117
[2025-02-09 13:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:20:04] Production.INFO: ==31256== Lock acquired, processing the job...
[2025-02-09 13:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:20:04] Production.INFO: ==31250== Releasing lock...
[2025-02-09 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:20:04] Production.INFO: ==31258== Lock acquired, processing the job...
[2025-02-09 13:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 13:20:04] Production.INFO: Total Charge 0
[2025-02-09 13:20:04] Production.INFO: ==31260== Lock acquired, processing the job...
[2025-02-09 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:20:04] Production.INFO: CreateAllLog End
[2025-02-09 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:20:04] Production.INFO: count ==21
[2025-02-09 13:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:20:04] Production.INFO: count ==21
[2025-02-09 13:20:04] Production.ERROR: done
[2025-02-09 13:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437321') start
[2025-02-09 13:20:04] Production.ERROR: done
[2025-02-09 13:20:04] Production.ERROR: done
[2025-02-09 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437321') end
[2025-02-09 13:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:20:04] Production.INFO: 1
[2025-02-09 13:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 13:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437322', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 13:20:04] Production.INFO: Account Balance End.
[2025-02-09 13:20:05] Production.INFO: ==31260== Releasing lock...
[2025-02-09 13:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:20:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:20:05] Production.INFO: ==31254== Releasing lock...
[2025-02-09 13:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:20:06
[end_date_ymd] => 2025-02-09 13:20:06
[RateCDR] => 1
)
[2025-02-09 13:20: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-02-09 10:20:06' and `end` < '2025-02-09 13:20: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-02-09 13:20:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437322', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 13:20:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 13:20:10] Production.INFO: ProcessCDR(1,14437322,1,1,2)
[2025-02-09 13:20:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437322,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:20:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437322,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:20:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:20:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:20:10] Production.INFO: ==31258== Releasing lock...
[2025-02-09 13:20:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 13:20:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 13:20:14] Production.ERROR: CronJobId end10
[2025-02-09 13:20:14] Production.INFO: ==31252== Releasing lock...
[2025-02-09 13:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:20:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:20:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:20:16] Production.INFO: call_cost start
[2025-02-09 13:20:16] Production.INFO: call_cost end
[2025-02-09 13:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:20:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:20:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:20:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:20:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:20:17] Production.INFO: ==31248== Releasing lock...
[2025-02-09 13:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:20:19] Production.INFO: count ==1450
[2025-02-09 13:20:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:20:06 - End Time 2025-02-09 13:20:06
[2025-02-09 13:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437323', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437323', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437323', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437323', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:20:19] Production.INFO: ProcessCDR(1,14437323,1,1,2)
[2025-02-09 13:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437323', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437323', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:20:23] Production.INFO: ==31256== Releasing lock...
[2025-02-09 13:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:20:23] Production.INFO: 39 MB #Memory Used#
[2025-02-09 18:21:02] Production.INFO: ==31353== Lock acquired, processing the job...
[2025-02-09 18:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:21:02] Production.INFO: neon service started
[2025-02-09 18:21:02] Production.INFO: neon service started
[2025-02-09 18:21:02] Production.INFO: ==31353== Releasing lock...
[2025-02-09 18:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:21:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 13:21:02] Production.INFO: ==31355== Lock acquired, processing the job...
[2025-02-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:21:02] Production.INFO: ==31357== Lock acquired, processing the job...
[2025-02-09 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:21:03] Production.INFO: ==31357== Releasing lock...
[2025-02-09 18:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:21:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:21:03] Production.INFO: ==31355== Releasing lock...
[2025-02-09 13:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:21:04] Production.INFO: ==31362== Lock acquired, processing the job...
[2025-02-09 13:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:21:04] Production.INFO: ==31364== Lock acquired, processing the job...
[2025-02-09 13:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:21:04] Production.INFO: ==31366== Lock acquired, processing the job...
[2025-02-09 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:21:04] Production.INFO: Account Balance Start.
[2025-02-09 13:21:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:21:04] Production.INFO: 117
[2025-02-09 13:21:04] Production.INFO: ==31360== Lock acquired, processing the job...
[2025-02-09 13:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:21:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:21:04] Production.INFO: ==31362== Releasing lock...
[2025-02-09 13:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:21:04] Production.INFO: Total Charge 0
[2025-02-09 13:21:04] Production.INFO: ==31368== Lock acquired, processing the job...
[2025-02-09 13:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:21:04] Production.INFO: CreateAllLog End
[2025-02-09 13:21:04] Production.INFO: ==31370== Lock acquired, processing the job...
[2025-02-09 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:21:04] Production.INFO: Account Balance End.
[2025-02-09 13:21:04] Production.INFO: count ==21
[2025-02-09 13:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:21:04] Production.INFO: count ==21
[2025-02-09 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437327') start
[2025-02-09 13:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:21:04] Production.INFO: ==31366== Releasing lock...
[2025-02-09 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437327') end
[2025-02-09 13:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:21:04] Production.INFO: 1
[2025-02-09 13:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:21:05] Production.ERROR: done
[2025-02-09 13:21:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:21:05] Production.INFO: ==31370== Releasing lock...
[2025-02-09 13:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:21:05] Production.ERROR: done
[2025-02-09 13:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:21:06
[end_date_ymd] => 2025-02-09 13:21:06
[RateCDR] => 1
)
[2025-02-09 13:21: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-02-09 10:21:06' and `end` < '2025-02-09 13:21: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-02-09 13:21:12] Production.ERROR: CronJobId end10
[2025-02-09 13:21:12] Production.INFO: ==31364== Releasing lock...
[2025-02-09 13:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:21:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:21:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:21:14] Production.INFO: call_cost start
[2025-02-09 13:21:14] Production.INFO: call_cost end
[2025-02-09 13:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:21:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:21:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:21:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:21:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:21:15] Production.INFO: ==31360== Releasing lock...
[2025-02-09 13:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:21:19] Production.INFO: count ==1475
[2025-02-09 13:21:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:21:06 - End Time 2025-02-09 13:21:06
[2025-02-09 13:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437328', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437328', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437328', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437328', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:21:19] Production.INFO: ProcessCDR(1,14437328,1,1,2)
[2025-02-09 13:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437328', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437328', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:21:22] Production.INFO: ==31368== Releasing lock...
[2025-02-09 13:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:21:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 18:22:01] Production.INFO: ==31463== Lock acquired, processing the job...
[2025-02-09 18:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:22:01] Production.INFO: neon service started
[2025-02-09 18:22:01] Production.INFO: neon service started
[2025-02-09 18:22:01] Production.INFO: ==31463== Releasing lock...
[2025-02-09 18:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:22:02] Production.INFO: ==31465== Lock acquired, processing the job...
[2025-02-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:22:02] Production.INFO: ==31465== Releasing lock...
[2025-02-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:22:02] Production.INFO: ==31467== Lock acquired, processing the job...
[2025-02-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:22:02] Production.INFO: ==31467== Releasing lock...
[2025-02-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:22:03] Production.INFO: ==31472== Lock acquired, processing the job...
[2025-02-09 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:22:03] Production.INFO: ==31470== Lock acquired, processing the job...
[2025-02-09 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:22:03] Production.INFO: ==31474== Lock acquired, processing the job...
[2025-02-09 13:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:22:03] Production.INFO: ==31476== Lock acquired, processing the job...
[2025-02-09 13:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:22:03] Production.INFO: ==31478== Lock acquired, processing the job...
[2025-02-09 13:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:22:03] Production.INFO: ==31480== Lock acquired, processing the job...
[2025-02-09 13:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:22:03] Production.INFO: ==31472== Releasing lock...
[2025-02-09 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:22:03] Production.INFO: Account Balance Start.
[2025-02-09 13:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:22:03] Production.INFO: 117
[2025-02-09 13:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:22:04] Production.INFO: count ==21
[2025-02-09 13:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:22:04] Production.INFO: count ==21
[2025-02-09 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437332') start
[2025-02-09 13:22:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:22:04] Production.INFO: Total Charge 0
[2025-02-09 13:22:04] Production.INFO: CreateAllLog End
[2025-02-09 13:22:04] Production.ERROR: done
[2025-02-09 13:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437332') end
[2025-02-09 13:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:22:04] Production.INFO: 1
[2025-02-09 13:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:22:04] Production.ERROR: done
[2025-02-09 13:22:04] Production.INFO: Account Balance End.
[2025-02-09 13:22:04] Production.INFO: ==31480== Releasing lock...
[2025-02-09 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:22:04] Production.INFO: ==31476== Releasing lock...
[2025-02-09 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:22:05
[end_date_ymd] => 2025-02-09 13:22:05
[RateCDR] => 1
)
[2025-02-09 13:22: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` >= '2025-02-09 10:22:05' and `end` < '2025-02-09 13:22: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 ,'')
[2025-02-09 13:22:11] Production.ERROR: CronJobId end10
[2025-02-09 13:22:11] Production.INFO: ==31474== Releasing lock...
[2025-02-09 13:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:22:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:22:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:22:14] Production.INFO: call_cost start
[2025-02-09 13:22:14] Production.INFO: call_cost end
[2025-02-09 13:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:22:15] Production.INFO: ==31470== Releasing lock...
[2025-02-09 13:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:22:19] Production.INFO: count ==1481
[2025-02-09 13:22:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:22:05 - End Time 2025-02-09 13:22:05
[2025-02-09 13:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437333', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437333', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437333', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437333', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:22:19] Production.INFO: ProcessCDR(1,14437333,1,1,2)
[2025-02-09 13:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437333', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437333', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:22:24] Production.INFO: ==31478== Releasing lock...
[2025-02-09 13:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:22:24] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 18:23:02] Production.INFO: ==31577== Lock acquired, processing the job...
[2025-02-09 18:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:23:02] Production.INFO: neon service started
[2025-02-09 18:23:02] Production.INFO: neon service started
[2025-02-09 18:23:02] Production.INFO: ==31577== Releasing lock...
[2025-02-09 18:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:23:02] Production.INFO: ==31579== Lock acquired, processing the job...
[2025-02-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:23:02] Production.INFO: ==31579== Releasing lock...
[2025-02-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:23:03] Production.INFO: ==31581== Lock acquired, processing the job...
[2025-02-09 18:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:23:03] Production.INFO: ==31581== Releasing lock...
[2025-02-09 18:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:23:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:23:03] Production.INFO: ==31583== Lock acquired, processing the job...
[2025-02-09 13:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:23:03] Production.INFO: ==31585== Lock acquired, processing the job...
[2025-02-09 13:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:23:03] Production.INFO: ==31593== Lock acquired, processing the job...
[2025-02-09 13:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:23:03] Production.INFO: ==31587== Lock acquired, processing the job...
[2025-02-09 13:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:23:04] Production.INFO: ==31589== Lock acquired, processing the job...
[2025-02-09 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:23:04] Production.INFO: count ==21
[2025-02-09 13:23:04] Production.INFO: ==31591== Lock acquired, processing the job...
[2025-02-09 13:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:23:04] Production.INFO: Account Balance Start.
[2025-02-09 13:23:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:23:04] Production.INFO: 117
[2025-02-09 13:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:23:04] Production.INFO: count ==21
[2025-02-09 13:23:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437336') start
[2025-02-09 13:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:23:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:23:04] Production.INFO: ==31585== Releasing lock...
[2025-02-09 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:23:04] Production.INFO: Total Charge 0
[2025-02-09 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437336') end
[2025-02-09 13:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:23:04] Production.INFO: 1
[2025-02-09 13:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:23:04] Production.INFO: CreateAllLog End
[2025-02-09 13:23:04] Production.INFO: ==31593== Releasing lock...
[2025-02-09 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:23:04] Production.ERROR: done
[2025-02-09 13:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:23:04] Production.ERROR: done
[2025-02-09 13:23:04] Production.INFO: Account Balance End.
[2025-02-09 13:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:23:04] Production.INFO: ==31589== Releasing lock...
[2025-02-09 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:23:05
[end_date_ymd] => 2025-02-09 13:23:05
[RateCDR] => 1
)
[2025-02-09 13:23: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` >= '2025-02-09 10:23:05' and `end` < '2025-02-09 13:23: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 ,'')
[2025-02-09 13:23:12] Production.ERROR: CronJobId end10
[2025-02-09 13:23:12] Production.INFO: ==31587== Releasing lock...
[2025-02-09 13:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:23:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:23:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:23:15] Production.INFO: call_cost start
[2025-02-09 13:23:15] Production.INFO: call_cost end
[2025-02-09 13:23:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:23:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:23:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:23:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:23:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:23:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:23:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:23:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:23:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:23:16] Production.INFO: ==31583== Releasing lock...
[2025-02-09 13:23:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:23:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:23:18] Production.INFO: count ==1487
[2025-02-09 13:23:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:23:05 - End Time 2025-02-09 13:23:05
[2025-02-09 13:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437338', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437338', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437338', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437338', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:23:19] Production.INFO: ProcessCDR(1,14437338,1,1,2)
[2025-02-09 13:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437338', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437338', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:23:22] Production.INFO: ==31591== Releasing lock...
[2025-02-09 13:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:23:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 18:24:01] Production.INFO: ==31687== Lock acquired, processing the job...
[2025-02-09 18:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:24:01] Production.INFO: neon service started
[2025-02-09 18:24:01] Production.INFO: neon service started
[2025-02-09 18:24:01] Production.INFO: ==31687== Releasing lock...
[2025-02-09 18:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:24:02] Production.INFO: ==31691== Lock acquired, processing the job...
[2025-02-09 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:24:02] Production.INFO: ==31691== Releasing lock...
[2025-02-09 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:24:02] Production.INFO: ==31689== Lock acquired, processing the job...
[2025-02-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:24:02] Production.INFO: ==31689== Releasing lock...
[2025-02-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:24:03] Production.INFO: ==31694== Lock acquired, processing the job...
[2025-02-09 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:24:03] Production.INFO: ==31698== Lock acquired, processing the job...
[2025-02-09 13:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:24:03] Production.INFO: ==31696== Lock acquired, processing the job...
[2025-02-09 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:24:03] Production.INFO: ==31702== Lock acquired, processing the job...
[2025-02-09 13:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:24:03] Production.INFO: ==31700== Lock acquired, processing the job...
[2025-02-09 13:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:24:03] Production.INFO: ==31704== Lock acquired, processing the job...
[2025-02-09 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:24:04] Production.INFO: Account Balance Start.
[2025-02-09 13:24:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:24:04] Production.INFO: 117
[2025-02-09 13:24:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:24:04] Production.INFO: count ==21
[2025-02-09 13:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:24:04] Production.INFO: count ==21
[2025-02-09 13:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437342') start
[2025-02-09 13:24:04] Production.ERROR: done
[2025-02-09 13:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:24:04] Production.INFO: Total Charge 0
[2025-02-09 13:24:04] Production.INFO: ==31696== Releasing lock...
[2025-02-09 13:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:24:04] Production.INFO: CreateAllLog End
[2025-02-09 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437342') end
[2025-02-09 13:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:24:04] Production.INFO: 1
[2025-02-09 13:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:24:04] Production.ERROR: done
[2025-02-09 13:24:04] Production.INFO: ==31704== Releasing lock...
[2025-02-09 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:24:04] Production.INFO: Account Balance End.
[2025-02-09 13:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:24:04] Production.INFO: ==31700== Releasing lock...
[2025-02-09 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:24:05
[end_date_ymd] => 2025-02-09 13:24:05
[RateCDR] => 1
)
[2025-02-09 13:24: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` >= '2025-02-09 10:24:05' and `end` < '2025-02-09 13:24: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 ,'')
[2025-02-09 13:24:11] Production.ERROR: CronJobId end10
[2025-02-09 13:24:11] Production.INFO: ==31698== Releasing lock...
[2025-02-09 13:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:24:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:24:14] Production.INFO: call_cost start
[2025-02-09 13:24:14] Production.INFO: call_cost end
[2025-02-09 13:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:24:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:24:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:24:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:24:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:24:15] Production.INFO: ==31694== Releasing lock...
[2025-02-09 13:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:24:18] Production.INFO: count ==1487
[2025-02-09 13:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:24:05 - End Time 2025-02-09 13:24:05
[2025-02-09 13:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437343', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437343', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437343', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437343', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:24:19] Production.INFO: ProcessCDR(1,14437343,1,1,2)
[2025-02-09 13:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437343', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437343', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:24:23] Production.INFO: ==31702== Releasing lock...
[2025-02-09 13:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:24:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:25:02] Production.INFO: ==31799== Lock acquired, processing the job...
[2025-02-09 18:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:25:02] Production.INFO: neon service started
[2025-02-09 18:25:02] Production.INFO: neon service started
[2025-02-09 18:25:02] Production.INFO: ==31799== Releasing lock...
[2025-02-09 18:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:25:02] Production.INFO: ==31801== Lock acquired, processing the job...
[2025-02-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:25:02] Production.INFO: ==31801== Releasing lock...
[2025-02-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:25:02] Production.INFO: ==31803== Lock acquired, processing the job...
[2025-02-09 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:25:03] Production.INFO: ==31803== Releasing lock...
[2025-02-09 18:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:25:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:25:03] Production.INFO: ==31806== Lock acquired, processing the job...
[2025-02-09 13:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:25:03] Production.INFO: ==31808== Lock acquired, processing the job...
[2025-02-09 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:25:03] Production.INFO: ==31810== Lock acquired, processing the job...
[2025-02-09 13:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:25:03] Production.INFO: ==31812== Lock acquired, processing the job...
[2025-02-09 13:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:25:03] Production.INFO: ==31814== Lock acquired, processing the job...
[2025-02-09 13:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:25:04] Production.INFO: Account Balance Start.
[2025-02-09 13:25:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:25:04] Production.INFO: 117
[2025-02-09 13:25:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:25:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:25:04] Production.INFO: Total Charge 0
[2025-02-09 13:25:04] Production.INFO: CreateAllLog End
[2025-02-09 13:25:04] Production.INFO: ==31816== Lock acquired, processing the job...
[2025-02-09 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:25:04] Production.INFO: ==31808== Releasing lock...
[2025-02-09 13:25:04] Production.INFO: Account Balance End.
[2025-02-09 13:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:25:04] Production.ERROR: done
[2025-02-09 13:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:25:04] Production.INFO: ==31812== Releasing lock...
[2025-02-09 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:25:04] Production.INFO: count ==21
[2025-02-09 13:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:25:04] Production.INFO: count ==21
[2025-02-09 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437347') start
[2025-02-09 13:25:04] Production.ERROR: done
[2025-02-09 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437347') end
[2025-02-09 13:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:25:04] Production.INFO: 1
[2025-02-09 13:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:25:04] Production.INFO: ==31816== Releasing lock...
[2025-02-09 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:25:05
[end_date_ymd] => 2025-02-09 13:25:05
[RateCDR] => 1
)
[2025-02-09 13:25: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` >= '2025-02-09 10:25:05' and `end` < '2025-02-09 13:25: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 ,'')
[2025-02-09 13:25:13] Production.ERROR: CronJobId end10
[2025-02-09 13:25:13] Production.INFO: ==31810== Releasing lock...
[2025-02-09 13:25:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:25:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:25:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:25:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:25:14] Production.INFO: call_cost start
[2025-02-09 13:25:14] Production.INFO: call_cost end
[2025-02-09 13:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:25:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:25:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:25:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:25:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:25:15] Production.INFO: ==31806== Releasing lock...
[2025-02-09 13:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:25:18] Production.INFO: count ==1492
[2025-02-09 13:25:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:25:05 - End Time 2025-02-09 13:25:05
[2025-02-09 13:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437348', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437348', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437348', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437348', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:25:19] Production.INFO: ProcessCDR(1,14437348,1,1,2)
[2025-02-09 13:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437348', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437348', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:25:23] Production.INFO: ==31814== Releasing lock...
[2025-02-09 13:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:25:23] Production.INFO: 39 MB #Memory Used#
[2025-02-09 18:26:01] Production.INFO: ==31915== Lock acquired, processing the job...
[2025-02-09 18:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:26:01] Production.INFO: neon service started
[2025-02-09 18:26:01] Production.INFO: neon service started
[2025-02-09 18:26:01] Production.INFO: ==31915== Releasing lock...
[2025-02-09 18:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:26:01] Production.INFO: ==31917== Lock acquired, processing the job...
[2025-02-09 13:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:26:02] Production.INFO: ==31919== Lock acquired, processing the job...
[2025-02-09 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:26:02] Production.INFO: ==31919== Releasing lock...
[2025-02-09 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:26:02] Production.INFO: ==31917== Releasing lock...
[2025-02-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:26:03] Production.INFO: ==31923== Lock acquired, processing the job...
[2025-02-09 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:26:03] Production.INFO: ==31930== Lock acquired, processing the job...
[2025-02-09 13:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:26:03] Production.INFO: ==31932== Lock acquired, processing the job...
[2025-02-09 13:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:26:03] Production.INFO: ==31921== Lock acquired, processing the job...
[2025-02-09 13:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:26:03] Production.INFO: ==31925== Lock acquired, processing the job...
[2025-02-09 13:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:26:03] Production.INFO: count ==21
[2025-02-09 13:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:26:03] Production.INFO: ==31928== Lock acquired, processing the job...
[2025-02-09 13:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:26:03] Production.INFO: count ==21
[2025-02-09 13:26:03] Production.INFO: ==31923== Releasing lock...
[2025-02-09 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437350') start
[2025-02-09 13:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437350') end
[2025-02-09 13:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:26:03] Production.INFO: 1
[2025-02-09 13:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:26:03] Production.INFO: ==31932== Releasing lock...
[2025-02-09 13:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:26:03] Production.ERROR: done
[2025-02-09 13:26:03] Production.INFO: Account Balance Start.
[2025-02-09 13:26:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:26:03] Production.INFO: 117
[2025-02-09 13:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:26:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:26:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:26:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:26:03] Production.INFO: Total Charge 0
[2025-02-09 13:26:03] Production.INFO: CreateAllLog End
[2025-02-09 13:26:03] Production.ERROR: done
[2025-02-09 13:26:04] Production.INFO: Account Balance End.
[2025-02-09 13:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:26:04] Production.INFO: ==31928== Releasing lock...
[2025-02-09 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:26:05
[end_date_ymd] => 2025-02-09 13:26:05
[RateCDR] => 1
)
[2025-02-09 13:26: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` >= '2025-02-09 10:26:05' and `end` < '2025-02-09 13:26: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 ,'')
[2025-02-09 13:26:13] Production.ERROR: CronJobId end10
[2025-02-09 13:26:13] Production.INFO: ==31925== Releasing lock...
[2025-02-09 13:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:26:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:26:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:26:15] Production.INFO: call_cost start
[2025-02-09 13:26:15] Production.INFO: call_cost end
[2025-02-09 13:26:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:26:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:26:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:26:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:26:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:26:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:26:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:26:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:26:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:26:16] Production.INFO: ==31921== Releasing lock...
[2025-02-09 13:26:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:26:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:26:17] Production.INFO: count ==1499
[2025-02-09 13:26:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:26:05 - End Time 2025-02-09 13:26:05
[2025-02-09 13:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437353', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437353', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437353', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437353', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:26:18] Production.INFO: ProcessCDR(1,14437353,1,1,2)
[2025-02-09 13:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437353', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437353', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:26:23] Production.INFO: ==31930== Releasing lock...
[2025-02-09 13:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:26:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 18:27:01] Production.INFO: ==32031== Lock acquired, processing the job...
[2025-02-09 18:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:27:02] Production.INFO: neon service started
[2025-02-09 18:27:02] Production.INFO: neon service started
[2025-02-09 18:27:02] Production.INFO: ==32031== Releasing lock...
[2025-02-09 18:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:27:02] Production.INFO: ==32035== Lock acquired, processing the job...
[2025-02-09 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:27:02] Production.INFO: ==32035== Releasing lock...
[2025-02-09 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:27:02] Production.INFO: ==32033== Lock acquired, processing the job...
[2025-02-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:27:02] Production.INFO: ==32033== Releasing lock...
[2025-02-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:27:03] Production.INFO: ==32037== Lock acquired, processing the job...
[2025-02-09 13:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:27:03] Production.INFO: ==32040== Lock acquired, processing the job...
[2025-02-09 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:27:04] Production.INFO: ==32042== Lock acquired, processing the job...
[2025-02-09 13:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:27:04] Production.INFO: ==32044== Lock acquired, processing the job...
[2025-02-09 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:27:04] Production.INFO: ==32046== Lock acquired, processing the job...
[2025-02-09 13:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:27:04] Production.INFO: ==32048== Lock acquired, processing the job...
[2025-02-09 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:27:04] Production.INFO: Account Balance Start.
[2025-02-09 13:27:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:27:04] Production.INFO: 117
[2025-02-09 13:27:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:27:04] Production.INFO: count ==21
[2025-02-09 13:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:27:04] Production.INFO: count ==21
[2025-02-09 13:27:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437357') start
[2025-02-09 13:27:04] Production.ERROR: done
[2025-02-09 13:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437357') end
[2025-02-09 13:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:27:04] Production.INFO: 1
[2025-02-09 13:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:27:04] Production.INFO: ==32040== Releasing lock...
[2025-02-09 13:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:27:04] Production.INFO: Total Charge 0
[2025-02-09 13:27:04] Production.INFO: CreateAllLog End
[2025-02-09 13:27:04] Production.INFO: ==32048== Releasing lock...
[2025-02-09 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:27:04] Production.ERROR: done
[2025-02-09 13:27:04] Production.INFO: Account Balance End.
[2025-02-09 13:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:27:04] Production.INFO: ==32044== Releasing lock...
[2025-02-09 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:27:05
[end_date_ymd] => 2025-02-09 13:27:05
[RateCDR] => 1
)
[2025-02-09 13:27: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` >= '2025-02-09 10:27:05' and `end` < '2025-02-09 13:27: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 ,'')
[2025-02-09 13:27:12] Production.ERROR: CronJobId end10
[2025-02-09 13:27:12] Production.INFO: ==32042== Releasing lock...
[2025-02-09 13:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:27:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:27:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:27:15] Production.INFO: call_cost start
[2025-02-09 13:27:15] Production.INFO: call_cost end
[2025-02-09 13:27:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:27:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:27:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:27:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:27:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:27:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:27:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:27:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:27:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:27:16] Production.INFO: ==32037== Releasing lock...
[2025-02-09 13:27:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:27:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:27:19] Production.INFO: count ==1498
[2025-02-09 13:27:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:27:05 - End Time 2025-02-09 13:27:05
[2025-02-09 13:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437358', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437358', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437358', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437358', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:27:19] Production.INFO: ProcessCDR(1,14437358,1,1,2)
[2025-02-09 13:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437358', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437358', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:27:24] Production.INFO: ==32046== Releasing lock...
[2025-02-09 13:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:27:24] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 18:28:01] Production.INFO: ==32146== Lock acquired, processing the job...
[2025-02-09 18:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:28:01] Production.INFO: neon service started
[2025-02-09 18:28:01] Production.INFO: neon service started
[2025-02-09 18:28:01] Production.INFO: ==32146== Releasing lock...
[2025-02-09 18:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:28:02] Production.INFO: ==32148== Lock acquired, processing the job...
[2025-02-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:28:02] Production.INFO: ==32150== Lock acquired, processing the job...
[2025-02-09 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:28:02] Production.INFO: ==32150== Releasing lock...
[2025-02-09 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:28:02] Production.INFO: ==32148== Releasing lock...
[2025-02-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:28:03] Production.INFO: ==32159== Lock acquired, processing the job...
[2025-02-09 13:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:28:03] Production.INFO: ==32155== Lock acquired, processing the job...
[2025-02-09 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:28:03] Production.INFO: ==32153== Lock acquired, processing the job...
[2025-02-09 13:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:28:03] Production.INFO: Account Balance Start.
[2025-02-09 13:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:28:03] Production.INFO: 117
[2025-02-09 13:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:28:03] Production.INFO: ==32157== Lock acquired, processing the job...
[2025-02-09 13:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:28:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:28:03] Production.INFO: Total Charge 0
[2025-02-09 13:28:03] Production.INFO: CreateAllLog End
[2025-02-09 13:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:28:03] Production.INFO: Account Balance End.
[2025-02-09 13:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:28:03] Production.INFO: ==32163== Lock acquired, processing the job...
[2025-02-09 13:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:28:03] Production.ERROR: CronJobId end 12
[2025-02-09 13:28:03] Production.INFO: ==32159== Releasing lock...
[2025-02-09 13:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:28:03] Production.INFO: ==32161== Lock acquired, processing the job...
[2025-02-09 13:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:28:04] Production.INFO: ==32155== Releasing lock...
[2025-02-09 13:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:28:04] Production.INFO: count ==21
[2025-02-09 13:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:28:04] Production.INFO: count ==21
[2025-02-09 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437362') start
[2025-02-09 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437362') end
[2025-02-09 13:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:28:04] Production.INFO: 1
[2025-02-09 13:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:28:04] Production.ERROR: done
[2025-02-09 13:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:28:04] Production.INFO: ==32163== Releasing lock...
[2025-02-09 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:28:04] Production.ERROR: done
[2025-02-09 13:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:28:05
[end_date_ymd] => 2025-02-09 13:28:05
[RateCDR] => 1
)
[2025-02-09 13:28: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` >= '2025-02-09 10:28:05' and `end` < '2025-02-09 13:28: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 ,'')
[2025-02-09 13:28:12] Production.ERROR: CronJobId end10
[2025-02-09 13:28:12] Production.INFO: ==32157== Releasing lock...
[2025-02-09 13:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:28:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:28:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:28:14] Production.INFO: call_cost start
[2025-02-09 13:28:14] Production.INFO: call_cost end
[2025-02-09 13:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:28:15] Production.INFO: ==32153== Releasing lock...
[2025-02-09 13:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:28:18] Production.INFO: count ==1501
[2025-02-09 13:28:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:28:05 - End Time 2025-02-09 13:28:05
[2025-02-09 13:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437363', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437363', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437363', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437363', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:28:19] Production.INFO: ProcessCDR(1,14437363,1,1,2)
[2025-02-09 13:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437363', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437363', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:28:24] Production.INFO: ==32161== Releasing lock...
[2025-02-09 13:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:28:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:29:01] Production.INFO: ==32257== Lock acquired, processing the job...
[2025-02-09 18:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:29:02] Production.INFO: neon service started
[2025-02-09 18:29:02] Production.INFO: neon service started
[2025-02-09 18:29:02] Production.INFO: ==32257== Releasing lock...
[2025-02-09 18:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:29:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 13:29:02] Production.INFO: ==32259== Lock acquired, processing the job...
[2025-02-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:29:02] Production.INFO: ==32261== Lock acquired, processing the job...
[2025-02-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:29:02] Production.INFO: ==32259== Releasing lock...
[2025-02-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:29:02] Production.INFO: ==32261== Releasing lock...
[2025-02-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:29:03] Production.INFO: ==32264== Lock acquired, processing the job...
[2025-02-09 13:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:29:03] Production.INFO: ==32266== Lock acquired, processing the job...
[2025-02-09 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:29:03] Production.INFO: ==32268== Lock acquired, processing the job...
[2025-02-09 13:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:29:03] Production.INFO: ==32270== Lock acquired, processing the job...
[2025-02-09 13:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:29:03] Production.INFO: ==32272== Lock acquired, processing the job...
[2025-02-09 13:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:29:03] Production.INFO: ==32274== Lock acquired, processing the job...
[2025-02-09 13:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:29:04] Production.INFO: ==32266== Releasing lock...
[2025-02-09 13:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:29:04] Production.INFO: Account Balance Start.
[2025-02-09 13:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:29:04] Production.INFO: 117
[2025-02-09 13:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:29:04] Production.INFO: count ==21
[2025-02-09 13:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:29:04] Production.INFO: count ==21
[2025-02-09 13:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437367') start
[2025-02-09 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437367') end
[2025-02-09 13:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:29:04] Production.INFO: 1
[2025-02-09 13:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:29:04] Production.INFO: ==32274== Releasing lock...
[2025-02-09 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:29:04] Production.INFO: Total Charge 0
[2025-02-09 13:29:04] Production.ERROR: done
[2025-02-09 13:29:04] Production.INFO: CreateAllLog End
[2025-02-09 13:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:29:04] Production.ERROR: done
[2025-02-09 13:29:04] Production.INFO: Account Balance End.
[2025-02-09 13:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:29:04] Production.INFO: ==32270== Releasing lock...
[2025-02-09 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:29:06
[end_date_ymd] => 2025-02-09 13:29:06
[RateCDR] => 1
)
[2025-02-09 13:29: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-02-09 10:29:06' and `end` < '2025-02-09 13:29: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-02-09 13:29:13] Production.ERROR: CronJobId end10
[2025-02-09 13:29:13] Production.INFO: ==32268== Releasing lock...
[2025-02-09 13:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:29:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:29:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:29:14] Production.INFO: call_cost start
[2025-02-09 13:29:14] Production.INFO: call_cost end
[2025-02-09 13:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:29:15] Production.INFO: ==32264== Releasing lock...
[2025-02-09 13:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:29:19] Production.INFO: count ==1497
[2025-02-09 13:29:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:29:06 - End Time 2025-02-09 13:29:06
[2025-02-09 13:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437368', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437368', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437368', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437368', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:29:19] Production.INFO: ProcessCDR(1,14437368,1,1,2)
[2025-02-09 13:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437368', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437368', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:29:22] Production.INFO: ==32272== Releasing lock...
[2025-02-09 13:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:29:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 18:30:01] Production.INFO: ==32409== Lock acquired, processing the job...
[2025-02-09 18:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:30:01] Production.INFO: neon service started
[2025-02-09 18:30:01] Production.INFO: neon service started
[2025-02-09 18:30:01] Production.INFO: ==32409== Releasing lock...
[2025-02-09 18:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:30:01] Production.INFO: ==32411== Lock acquired, processing the job...
[2025-02-09 13:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:30:02] Production.INFO: ==32413== Lock acquired, processing the job...
[2025-02-09 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:30:02] Production.INFO: ==32411== Releasing lock...
[2025-02-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:30:02] Production.INFO: ==32413== Releasing lock...
[2025-02-09 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:30:03] Production.INFO: ==32416== Lock acquired, processing the job...
[2025-02-09 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 13:30:03] Production.INFO: ==32418== Lock acquired, processing the job...
[2025-02-09 13:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:30:03] Production.INFO: ==32420== Lock acquired, processing the job...
[2025-02-09 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 13:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 13:30:03] Production.ERROR: CronJob PID - 32418
[2025-02-09 13:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 13:30:03] Production.ERROR: CronJob ID - 5
[2025-02-09 13:30:03] Production.ERROR: CronJob Last Run Time 2025-02-09 13:30:00
[2025-02-09 13:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 13:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 13:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 13:30:03] Production.INFO: ==32416== Releasing lock...
[2025-02-09 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 13:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 13:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:30:03] Production.INFO: ==32422== Lock acquired, processing the job...
[2025-02-09 13:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:30:03] Production.INFO: ==32430== Lock acquired, processing the job...
[2025-02-09 13:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:30:03] Production.INFO: ==32424== Lock acquired, processing the job...
[2025-02-09 13:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:30:03] Production.INFO: ==32428== Lock acquired, processing the job...
[2025-02-09 13:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 13:30:03] Production.INFO: ==32426== Lock acquired, processing the job...
[2025-02-09 13:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:30:03] Production.INFO: ==32420== Releasing lock...
[2025-02-09 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:30:03] Production.INFO: Account Balance Start.
[2025-02-09 13:30:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:30:03] Production.INFO: 117
[2025-02-09 13:30:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:30:03] Production.INFO: count ==21
[2025-02-09 13:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:30:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:30:03] Production.INFO: count ==21
[2025-02-09 13:30:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:30:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437372') start
[2025-02-09 13:30:03] Production.INFO: Total Charge 0
[2025-02-09 13:30:03] Production.INFO: CreateAllLog End
[2025-02-09 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437372') end
[2025-02-09 13:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:30:04] Production.INFO: 1
[2025-02-09 13:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:30:04] Production.ERROR: done
[2025-02-09 13:30:04] Production.INFO: ==32430== Releasing lock...
[2025-02-09 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:30:04] Production.ERROR: done
[2025-02-09 13:30:04] Production.INFO: Account Balance End.
[2025-02-09 13:30:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:30:04] Production.INFO: ==32424== Releasing lock...
[2025-02-09 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:30:04] Production.ERROR: done
[2025-02-09 13:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 13:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437373', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 13:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:30:05
[end_date_ymd] => 2025-02-09 13:30:05
[RateCDR] => 1
)
[2025-02-09 13:30: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` >= '2025-02-09 10:30:05' and `end` < '2025-02-09 13:30: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 ,'')
[2025-02-09 13:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437373', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 13:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 13:30:08] Production.INFO: ProcessCDR(1,14437373,1,1,2)
[2025-02-09 13:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437373,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437373,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:30:08] Production.INFO: ==32428== Releasing lock...
[2025-02-09 13:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 13:30:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 13:30:14] Production.ERROR: CronJobId end10
[2025-02-09 13:30:14] Production.INFO: ==32422== Releasing lock...
[2025-02-09 13:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:30:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:30:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:30:15] Production.INFO: call_cost start
[2025-02-09 13:30:15] Production.INFO: call_cost end
[2025-02-09 13:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:30:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:30:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:30:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:30:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:30:16] Production.INFO: ==32418== Releasing lock...
[2025-02-09 13:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:30:18] Production.INFO: count ==1498
[2025-02-09 13:30:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:30:05 - End Time 2025-02-09 13:30:05
[2025-02-09 13:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437374', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437374', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437374', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437374', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:30:19] Production.INFO: ProcessCDR(1,14437374,1,1,2)
[2025-02-09 13:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437374', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437374', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:30:23] Production.INFO: ==32426== Releasing lock...
[2025-02-09 13:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:30:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 18:31:01] Production.INFO: ==32523== Lock acquired, processing the job...
[2025-02-09 18:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:31:02] Production.INFO: neon service started
[2025-02-09 18:31:02] Production.INFO: neon service started
[2025-02-09 18:31:02] Production.INFO: ==32523== Releasing lock...
[2025-02-09 18:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:31:02] Production.INFO: ==32525== Lock acquired, processing the job...
[2025-02-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:31:02] Production.INFO: ==32525== Releasing lock...
[2025-02-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:31:02] Production.INFO: ==32527== Lock acquired, processing the job...
[2025-02-09 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:31:03] Production.INFO: ==32527== Releasing lock...
[2025-02-09 18:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:31:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:31:03] Production.INFO: ==32536== Lock acquired, processing the job...
[2025-02-09 13:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:31:03] Production.INFO: ==32540== Lock acquired, processing the job...
[2025-02-09 13:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:31:03] Production.INFO: ==32532== Lock acquired, processing the job...
[2025-02-09 13:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:31:03] Production.INFO: ==32534== Lock acquired, processing the job...
[2025-02-09 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:31:04] Production.INFO: ==32538== Lock acquired, processing the job...
[2025-02-09 13:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:31:04] Production.INFO: ==32542== Lock acquired, processing the job...
[2025-02-09 13:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:31:04] Production.ERROR: done
[2025-02-09 13:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:31:04] Production.INFO: Account Balance Start.
[2025-02-09 13:31:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:31:04] Production.INFO: 117
[2025-02-09 13:31:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:31:04] Production.INFO: Total Charge 0
[2025-02-09 13:31:04] Production.INFO: CreateAllLog End
[2025-02-09 13:31:04] Production.ERROR: done
[2025-02-09 13:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:31:04] Production.INFO: ==32534== Releasing lock...
[2025-02-09 13:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:31:04] Production.INFO: count ==21
[2025-02-09 13:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:31:04] Production.INFO: count ==21
[2025-02-09 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437378') start
[2025-02-09 13:31:04] Production.INFO: Account Balance End.
[2025-02-09 13:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:31:04] Production.INFO: ==32538== Releasing lock...
[2025-02-09 13:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437378') end
[2025-02-09 13:31:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:31:05] Production.INFO: 1
[2025-02-09 13:31:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:31:05] Production.INFO: ==32542== Releasing lock...
[2025-02-09 13:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:31:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:31:05
[end_date_ymd] => 2025-02-09 13:31:05
[RateCDR] => 1
)
[2025-02-09 13:31: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` >= '2025-02-09 10:31:05' and `end` < '2025-02-09 13:31: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 ,'')
[2025-02-09 13:31:12] Production.ERROR: CronJobId end10
[2025-02-09 13:31:12] Production.INFO: ==32536== Releasing lock...
[2025-02-09 13:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:31:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:31:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:31:15] Production.INFO: call_cost start
[2025-02-09 13:31:15] Production.INFO: call_cost end
[2025-02-09 13:31:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:31:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:31:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:31:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:31:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:31:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:31:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:31:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:31:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:31:16] Production.INFO: ==32532== Releasing lock...
[2025-02-09 13:31:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:31:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:31:18] Production.INFO: count ==1515
[2025-02-09 13:31:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:31:05 - End Time 2025-02-09 13:31:05
[2025-02-09 13:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437379', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437379', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437379', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437379', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:31:19] Production.INFO: ProcessCDR(1,14437379,1,1,2)
[2025-02-09 13:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437379', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437379', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:31:23] Production.INFO: ==32540== Releasing lock...
[2025-02-09 13:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:31:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:32:01] Production.INFO: ==32638== Lock acquired, processing the job...
[2025-02-09 18:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:32:01] Production.INFO: neon service started
[2025-02-09 18:32:01] Production.INFO: neon service started
[2025-02-09 18:32:01] Production.INFO: ==32638== Releasing lock...
[2025-02-09 18:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:32:02] Production.INFO: ==32640== Lock acquired, processing the job...
[2025-02-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:32:02] Production.INFO: ==32642== Lock acquired, processing the job...
[2025-02-09 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:32:02] Production.INFO: ==32642== Releasing lock...
[2025-02-09 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:32:02] Production.INFO: ==32640== Releasing lock...
[2025-02-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:32:03] Production.INFO: ==32645== Lock acquired, processing the job...
[2025-02-09 13:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:32:03] Production.INFO: ==32649== Lock acquired, processing the job...
[2025-02-09 13:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:32:03] Production.INFO: ==32653== Lock acquired, processing the job...
[2025-02-09 13:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:32:03] Production.INFO: ==32647== Lock acquired, processing the job...
[2025-02-09 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:32:03] Production.INFO: ==32651== Lock acquired, processing the job...
[2025-02-09 13:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:32:04] Production.INFO: Account Balance Start.
[2025-02-09 13:32:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:32:04] Production.INFO: 117
[2025-02-09 13:32:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:32:04] Production.INFO: ==32655== Lock acquired, processing the job...
[2025-02-09 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:32:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:32:04] Production.INFO: Total Charge 0
[2025-02-09 13:32:04] Production.INFO: CreateAllLog End
[2025-02-09 13:32:04] Production.ERROR: done
[2025-02-09 13:32:04] Production.INFO: ==32647== Releasing lock...
[2025-02-09 13:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:32:04] Production.INFO: count ==21
[2025-02-09 13:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:32:04] Production.INFO: count ==21
[2025-02-09 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437383') start
[2025-02-09 13:32:04] Production.ERROR: done
[2025-02-09 13:32:04] Production.INFO: Account Balance End.
[2025-02-09 13:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:32:04] Production.INFO: ==32651== Releasing lock...
[2025-02-09 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437383') end
[2025-02-09 13:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:32:04] Production.INFO: 1
[2025-02-09 13:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:32:04] Production.INFO: ==32655== Releasing lock...
[2025-02-09 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:32:05
[end_date_ymd] => 2025-02-09 13:32:05
[RateCDR] => 1
)
[2025-02-09 13:32: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` >= '2025-02-09 10:32:05' and `end` < '2025-02-09 13:32: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 ,'')
[2025-02-09 13:32:12] Production.ERROR: CronJobId end10
[2025-02-09 13:32:12] Production.INFO: ==32649== Releasing lock...
[2025-02-09 13:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:32:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:32:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:32:15] Production.INFO: call_cost start
[2025-02-09 13:32:15] Production.INFO: call_cost end
[2025-02-09 13:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:32:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:32:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:32:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:32:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:32:16] Production.INFO: ==32645== Releasing lock...
[2025-02-09 13:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:32:18] Production.INFO: count ==1525
[2025-02-09 13:32:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:32:05 - End Time 2025-02-09 13:32:05
[2025-02-09 13:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437384', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437384', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437384', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437384', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:32:19] Production.INFO: ProcessCDR(1,14437384,1,1,2)
[2025-02-09 13:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437384', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437384', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:32:24] Production.INFO: ==32653== Releasing lock...
[2025-02-09 13:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:32:24] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 18:33:01] Production.INFO: ==32750== Lock acquired, processing the job...
[2025-02-09 18:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:33:01] Production.INFO: neon service started
[2025-02-09 18:33:01] Production.INFO: neon service started
[2025-02-09 18:33:01] Production.INFO: ==32750== Releasing lock...
[2025-02-09 18:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:33:02] Production.INFO: ==32752== Lock acquired, processing the job...
[2025-02-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:33:02] Production.INFO: ==32754== Lock acquired, processing the job...
[2025-02-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:33:02] Production.INFO: ==32754== Releasing lock...
[2025-02-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:33:02] Production.INFO: ==32752== Releasing lock...
[2025-02-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:33:03] Production.INFO: ==32759== Lock acquired, processing the job...
[2025-02-09 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:33:03] Production.INFO: ==32763== Lock acquired, processing the job...
[2025-02-09 13:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:33:03] Production.INFO: ==32765== Lock acquired, processing the job...
[2025-02-09 13:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:33:03] Production.INFO: Account Balance Start.
[2025-02-09 13:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:33:03] Production.INFO: 117
[2025-02-09 13:33:03] Production.INFO: ==32759== Releasing lock...
[2025-02-09 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:33:03] Production.INFO: ==32757== Lock acquired, processing the job...
[2025-02-09 13:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:33:03] Production.INFO: Total Charge 0
[2025-02-09 13:33:03] Production.INFO: CreateAllLog End
[2025-02-09 13:33:03] Production.INFO: ==32761== Lock acquired, processing the job...
[2025-02-09 13:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:33:04] Production.INFO: ==32767== Lock acquired, processing the job...
[2025-02-09 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:33:04] Production.INFO: Account Balance End.
[2025-02-09 13:33:04] Production.ERROR: done
[2025-02-09 13:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:33:04] Production.INFO: ==32763== Releasing lock...
[2025-02-09 13:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:33:04] Production.INFO: count ==21
[2025-02-09 13:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:33:04] Production.INFO: count ==21
[2025-02-09 13:33:04] Production.ERROR: done
[2025-02-09 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437388') start
[2025-02-09 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437388') end
[2025-02-09 13:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:33:04] Production.INFO: 1
[2025-02-09 13:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:33:04] Production.INFO: ==32767== Releasing lock...
[2025-02-09 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:33:05
[end_date_ymd] => 2025-02-09 13:33:05
[RateCDR] => 1
)
[2025-02-09 13:33: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` >= '2025-02-09 10:33:05' and `end` < '2025-02-09 13:33: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 ,'')
[2025-02-09 13:33:12] Production.ERROR: CronJobId end10
[2025-02-09 13:33:12] Production.INFO: ==32761== Releasing lock...
[2025-02-09 13:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:33:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:33:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:33:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:33:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:33:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:33:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:33:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:33:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:33:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:33:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:33:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:33:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:33:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:33:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:33:15] Production.INFO: call_cost start
[2025-02-09 13:33:15] Production.INFO: call_cost end
[2025-02-09 13:33:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:33:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:33:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:33:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:33:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:33:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:33:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:33:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:33:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:33:16] Production.INFO: ==32757== Releasing lock...
[2025-02-09 13:33:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:33:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:33:19] Production.INFO: count ==1528
[2025-02-09 13:33:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:33:05 - End Time 2025-02-09 13:33:05
[2025-02-09 13:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437389', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437389', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437389', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437389', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:33:19] Production.INFO: ProcessCDR(1,14437389,1,1,2)
[2025-02-09 13:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437389', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437389', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:33:22] Production.INFO: ==32765== Releasing lock...
[2025-02-09 13:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:33:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:34:01] Production.INFO: ==397== Lock acquired, processing the job...
[2025-02-09 18:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:34:01] Production.INFO: neon service started
[2025-02-09 18:34:01] Production.INFO: neon service started
[2025-02-09 18:34:01] Production.INFO: ==397== Releasing lock...
[2025-02-09 18:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:34:02] Production.INFO: ==399== Lock acquired, processing the job...
[2025-02-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:34:02] Production.INFO: ==401== Lock acquired, processing the job...
[2025-02-09 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:34:02] Production.INFO: ==401== Releasing lock...
[2025-02-09 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:34:02] Production.INFO: ==399== Releasing lock...
[2025-02-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:34:03] Production.INFO: ==406== Lock acquired, processing the job...
[2025-02-09 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:34:03] Production.INFO: ==408== Lock acquired, processing the job...
[2025-02-09 13:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:34:03] Production.INFO: ==412== Lock acquired, processing the job...
[2025-02-09 13:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:34:03] Production.INFO: ==404== Lock acquired, processing the job...
[2025-02-09 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:34:03] Production.INFO: ==406== Releasing lock...
[2025-02-09 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:34:03] Production.INFO: ==410== Lock acquired, processing the job...
[2025-02-09 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:34:03] Production.INFO: ==414== Lock acquired, processing the job...
[2025-02-09 13:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:34:03] Production.INFO: Account Balance Start.
[2025-02-09 13:34:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:34:03] Production.INFO: 117
[2025-02-09 13:34:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:34:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:34:03] Production.INFO: Total Charge 0
[2025-02-09 13:34:03] Production.INFO: CreateAllLog End
[2025-02-09 13:34:03] Production.INFO: count ==21
[2025-02-09 13:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:34:04] Production.INFO: count ==21
[2025-02-09 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437393') start
[2025-02-09 13:34:04] Production.ERROR: done
[2025-02-09 13:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437393') end
[2025-02-09 13:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:34:04] Production.INFO: 1
[2025-02-09 13:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:34:04] Production.INFO: ==414== Releasing lock...
[2025-02-09 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:34:04] Production.ERROR: done
[2025-02-09 13:34:04] Production.INFO: Account Balance End.
[2025-02-09 13:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:34:04] Production.INFO: ==410== Releasing lock...
[2025-02-09 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:34:05
[end_date_ymd] => 2025-02-09 13:34:05
[RateCDR] => 1
)
[2025-02-09 13:34: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` >= '2025-02-09 10:34:05' and `end` < '2025-02-09 13:34: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 ,'')
[2025-02-09 13:34:13] Production.ERROR: CronJobId end10
[2025-02-09 13:34:13] Production.INFO: ==408== Releasing lock...
[2025-02-09 13:34:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:34:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:34:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:34:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:34:15] Production.INFO: call_cost start
[2025-02-09 13:34:15] Production.INFO: call_cost end
[2025-02-09 13:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:34:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:34:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:34:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:34:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:34:16] Production.INFO: ==404== Releasing lock...
[2025-02-09 13:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:34:19] Production.INFO: count ==1535
[2025-02-09 13:34:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:34:05 - End Time 2025-02-09 13:34:05
[2025-02-09 13:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437394', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437394', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437394', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437394', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:34:19] Production.INFO: ProcessCDR(1,14437394,1,1,2)
[2025-02-09 13:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437394', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437394', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:34:23] Production.INFO: ==412== Releasing lock...
[2025-02-09 13:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:34:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:35:01] Production.INFO: ==483== Lock acquired, processing the job...
[2025-02-09 18:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:35:01] Production.INFO: neon service started
[2025-02-09 18:35:01] Production.INFO: neon service started
[2025-02-09 18:35:01] Production.INFO: ==483== Releasing lock...
[2025-02-09 18:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:35:02] Production.INFO: ==485== Lock acquired, processing the job...
[2025-02-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:35:02] Production.INFO: ==487== Lock acquired, processing the job...
[2025-02-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:35:02] Production.INFO: ==487== Releasing lock...
[2025-02-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:35:02] Production.INFO: ==485== Releasing lock...
[2025-02-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:35:03] Production.INFO: ==496== Lock acquired, processing the job...
[2025-02-09 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:35:03] Production.INFO: ==494== Lock acquired, processing the job...
[2025-02-09 13:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:35:03] Production.INFO: ==491== Lock acquired, processing the job...
[2025-02-09 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:35:03] Production.INFO: Account Balance Start.
[2025-02-09 13:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:35:03] Production.INFO: 117
[2025-02-09 13:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:35:03] Production.INFO: ==489== Lock acquired, processing the job...
[2025-02-09 13:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:35:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:35:03] Production.INFO: Total Charge 0
[2025-02-09 13:35:03] Production.INFO: ==499== Lock acquired, processing the job...
[2025-02-09 13:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:35:03] Production.INFO: CreateAllLog End
[2025-02-09 13:35:03] Production.INFO: ==502== Lock acquired, processing the job...
[2025-02-09 13:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:35:03] Production.INFO: count ==21
[2025-02-09 13:35:03] Production.INFO: ==491== Releasing lock...
[2025-02-09 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:35:04] Production.INFO: Account Balance End.
[2025-02-09 13:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:35:04] Production.INFO: count ==21
[2025-02-09 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437398') start
[2025-02-09 13:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:35:04] Production.INFO: ==496== Releasing lock...
[2025-02-09 13:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437398') end
[2025-02-09 13:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:35:04] Production.INFO: 1
[2025-02-09 13:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:35:04] Production.INFO: ==502== Releasing lock...
[2025-02-09 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:35:04] Production.ERROR: done
[2025-02-09 13:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:35:04] Production.ERROR: done
[2025-02-09 13:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:35:05
[end_date_ymd] => 2025-02-09 13:35:05
[RateCDR] => 1
)
[2025-02-09 13:35: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` >= '2025-02-09 10:35:05' and `end` < '2025-02-09 13:35: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 ,'')
[2025-02-09 13:35:12] Production.ERROR: CronJobId end10
[2025-02-09 13:35:12] Production.INFO: ==494== Releasing lock...
[2025-02-09 13:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:35:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:35:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:35:14] Production.INFO: call_cost start
[2025-02-09 13:35:14] Production.INFO: call_cost end
[2025-02-09 13:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:35:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:35:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:35:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:35:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:35:15] Production.INFO: ==489== Releasing lock...
[2025-02-09 13:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:35:18] Production.INFO: count ==1537
[2025-02-09 13:35:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:35:05 - End Time 2025-02-09 13:35:05
[2025-02-09 13:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437399', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437399', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437399', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437399', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:35:19] Production.INFO: ProcessCDR(1,14437399,1,1,2)
[2025-02-09 13:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437399', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437399', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:35:22] Production.INFO: ==499== Releasing lock...
[2025-02-09 13:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:35:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 18:36:02] Production.INFO: ==576== Lock acquired, processing the job...
[2025-02-09 18:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:36:02] Production.INFO: neon service started
[2025-02-09 18:36:02] Production.INFO: neon service started
[2025-02-09 18:36:02] Production.INFO: ==576== Releasing lock...
[2025-02-09 18:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:36:02] Production.INFO: ==579== Lock acquired, processing the job...
[2025-02-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:36:02] Production.INFO: ==579== Releasing lock...
[2025-02-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:36:03] Production.INFO: ==581== Lock acquired, processing the job...
[2025-02-09 18:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:36:03] Production.INFO: ==581== Releasing lock...
[2025-02-09 18:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:36:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:36:03] Production.INFO: ==583== Lock acquired, processing the job...
[2025-02-09 13:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:36:03] Production.INFO: ==585== Lock acquired, processing the job...
[2025-02-09 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:36:03] Production.INFO: ==589== Lock acquired, processing the job...
[2025-02-09 13:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:36:03] Production.INFO: Account Balance Start.
[2025-02-09 13:36:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:36:03] Production.INFO: 117
[2025-02-09 13:36:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:36:04] Production.INFO: Total Charge 0
[2025-02-09 13:36:04] Production.INFO: CreateAllLog End
[2025-02-09 13:36:04] Production.INFO: ==587== Lock acquired, processing the job...
[2025-02-09 13:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:36:04] Production.INFO: ==585== Releasing lock...
[2025-02-09 13:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:36:04] Production.INFO: ==591== Lock acquired, processing the job...
[2025-02-09 13:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:36:04] Production.INFO: ==594== Lock acquired, processing the job...
[2025-02-09 13:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:36:04] Production.INFO: Account Balance End.
[2025-02-09 13:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:36:04] Production.INFO: ==589== Releasing lock...
[2025-02-09 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:36:04] Production.INFO: count ==21
[2025-02-09 13:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:36:04] Production.INFO: count ==21
[2025-02-09 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437403') start
[2025-02-09 13:36:04] Production.ERROR: done
[2025-02-09 13:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437403') end
[2025-02-09 13:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:36:04] Production.INFO: 1
[2025-02-09 13:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:36:04] Production.INFO: ==594== Releasing lock...
[2025-02-09 13:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:36:04] Production.ERROR: done
[2025-02-09 13:36:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:36:06
[end_date_ymd] => 2025-02-09 13:36:06
[RateCDR] => 1
)
[2025-02-09 13:36: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-02-09 10:36:06' and `end` < '2025-02-09 13:36: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-02-09 13:36:12] Production.ERROR: CronJobId end10
[2025-02-09 13:36:12] Production.INFO: ==587== Releasing lock...
[2025-02-09 13:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:36:13] Production.INFO: call_cost start
[2025-02-09 13:36:13] Production.INFO: call_cost end
[2025-02-09 13:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:36:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:36:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:36:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:36:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:36:14] Production.INFO: ==583== Releasing lock...
[2025-02-09 13:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:36:19] Production.INFO: count ==1534
[2025-02-09 13:36:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:36:06 - End Time 2025-02-09 13:36:06
[2025-02-09 13:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437404', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437404', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437404', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437404', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:36:19] Production.INFO: ProcessCDR(1,14437404,1,1,2)
[2025-02-09 13:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437404', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437404', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:36:22] Production.INFO: ==591== Releasing lock...
[2025-02-09 13:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:36:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:37:01] Production.INFO: ==679== Lock acquired, processing the job...
[2025-02-09 18:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:37:01] Production.INFO: neon service started
[2025-02-09 18:37:01] Production.INFO: neon service started
[2025-02-09 18:37:01] Production.INFO: ==679== Releasing lock...
[2025-02-09 18:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:37:02] Production.INFO: ==681== Lock acquired, processing the job...
[2025-02-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:37:02] Production.INFO: ==684== Lock acquired, processing the job...
[2025-02-09 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:37:02] Production.INFO: ==684== Releasing lock...
[2025-02-09 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:37:02] Production.INFO: ==681== Releasing lock...
[2025-02-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:37:03] Production.INFO: ==693== Lock acquired, processing the job...
[2025-02-09 13:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:37:03] Production.INFO: ==696== Lock acquired, processing the job...
[2025-02-09 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:37:03] Production.INFO: ==698== Lock acquired, processing the job...
[2025-02-09 13:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:37:03] Production.INFO: ==700== Lock acquired, processing the job...
[2025-02-09 13:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:37:03] Production.INFO: ==706== Lock acquired, processing the job...
[2025-02-09 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:37:03] Production.INFO: ==704== Lock acquired, processing the job...
[2025-02-09 13:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:37:03] Production.INFO: Account Balance Start.
[2025-02-09 13:37:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:37:03] Production.INFO: 117
[2025-02-09 13:37:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:37:03] Production.INFO: count ==21
[2025-02-09 13:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:37:03] Production.INFO: count ==21
[2025-02-09 13:37:03] Production.INFO: ==696== Releasing lock...
[2025-02-09 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437408') start
[2025-02-09 13:37:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:37:04] Production.INFO: Total Charge 0
[2025-02-09 13:37:04] Production.INFO: CreateAllLog End
[2025-02-09 13:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437408') end
[2025-02-09 13:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:37:04] Production.INFO: 1
[2025-02-09 13:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:37:04] Production.ERROR: done
[2025-02-09 13:37:04] Production.INFO: ==706== Releasing lock...
[2025-02-09 13:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:37:04] Production.ERROR: done
[2025-02-09 13:37:04] Production.INFO: Account Balance End.
[2025-02-09 13:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:37:04] Production.INFO: ==700== Releasing lock...
[2025-02-09 13:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:37:05
[end_date_ymd] => 2025-02-09 13:37:05
[RateCDR] => 1
)
[2025-02-09 13:37: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` >= '2025-02-09 10:37:05' and `end` < '2025-02-09 13:37: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 ,'')
[2025-02-09 13:37:11] Production.ERROR: CronJobId end10
[2025-02-09 13:37:11] Production.INFO: ==698== Releasing lock...
[2025-02-09 13:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:37:14] Production.INFO: call_cost start
[2025-02-09 13:37:14] Production.INFO: call_cost end
[2025-02-09 13:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:37:15] Production.INFO: ==693== Releasing lock...
[2025-02-09 13:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:37:18] Production.INFO: count ==1533
[2025-02-09 13:37:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:37:05 - End Time 2025-02-09 13:37:05
[2025-02-09 13:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437409', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437409', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437409', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437409', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:37:18] Production.INFO: ProcessCDR(1,14437409,1,1,2)
[2025-02-09 13:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437409', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437409', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:37:23] Production.INFO: ==704== Releasing lock...
[2025-02-09 13:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:37:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 18:38:02] Production.INFO: ==780== Lock acquired, processing the job...
[2025-02-09 18:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:38:02] Production.INFO: neon service started
[2025-02-09 18:38:02] Production.INFO: neon service started
[2025-02-09 18:38:02] Production.INFO: ==780== Releasing lock...
[2025-02-09 18:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:38:02] Production.INFO: ==784== Lock acquired, processing the job...
[2025-02-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:38:02] Production.INFO: ==784== Releasing lock...
[2025-02-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:38:02] Production.INFO: ==782== Lock acquired, processing the job...
[2025-02-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:38:03] Production.INFO: ==782== Releasing lock...
[2025-02-09 13:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:38:03] Production.INFO: ==787== Lock acquired, processing the job...
[2025-02-09 13:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:38:03] Production.INFO: ==789== Lock acquired, processing the job...
[2025-02-09 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:38:03] Production.INFO: ==793== Lock acquired, processing the job...
[2025-02-09 13:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:38:04] Production.INFO: ==791== Lock acquired, processing the job...
[2025-02-09 13:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:38:04] Production.INFO: Account Balance Start.
[2025-02-09 13:38:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:38:04] Production.INFO: 117
[2025-02-09 13:38:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:38:04] Production.INFO: ==795== Lock acquired, processing the job...
[2025-02-09 13:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:38:04] Production.INFO: Total Charge 0
[2025-02-09 13:38:04] Production.INFO: ==797== Lock acquired, processing the job...
[2025-02-09 13:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:38:04] Production.INFO: ==789== Releasing lock...
[2025-02-09 13:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:38:04] Production.INFO: CreateAllLog End
[2025-02-09 13:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:38:04] Production.INFO: count ==21
[2025-02-09 13:38:04] Production.INFO: Account Balance End.
[2025-02-09 13:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:38:04] Production.INFO: count ==21
[2025-02-09 13:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437413') start
[2025-02-09 13:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:38:04] Production.INFO: ==793== Releasing lock...
[2025-02-09 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437413') end
[2025-02-09 13:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:38:04] Production.INFO: 1
[2025-02-09 13:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:38:04] Production.INFO: ==797== Releasing lock...
[2025-02-09 13:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:38:04] Production.ERROR: done
[2025-02-09 13:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:38:04] Production.ERROR: done
[2025-02-09 13:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:38:05
[end_date_ymd] => 2025-02-09 13:38:05
[RateCDR] => 1
)
[2025-02-09 13:38: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` >= '2025-02-09 10:38:05' and `end` < '2025-02-09 13:38: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 ,'')
[2025-02-09 13:38:13] Production.ERROR: CronJobId end10
[2025-02-09 13:38:13] Production.INFO: ==791== Releasing lock...
[2025-02-09 13:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:38:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:38:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:38:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:38:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:38:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:38:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:38:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:38:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:38:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:38:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:38:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:38:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:38:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:38:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:38:15] Production.INFO: call_cost start
[2025-02-09 13:38:15] Production.INFO: call_cost end
[2025-02-09 13:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:38:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:38:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:38:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:38:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:38:16] Production.INFO: ==787== Releasing lock...
[2025-02-09 13:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:38:20] Production.INFO: count ==1535
[2025-02-09 13:38:20] Production.ERROR: pbx CDR StartTime 2025-02-09 10:38:05 - End Time 2025-02-09 13:38:05
[2025-02-09 13:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437414', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437414', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437414', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437414', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:38:20] Production.INFO: ProcessCDR(1,14437414,1,1,2)
[2025-02-09 13:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:38:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437414', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437414', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:38:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:38:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:38:25] Production.INFO: ==795== Releasing lock...
[2025-02-09 13:38:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:38:25] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:39:01] Production.INFO: ==866== Lock acquired, processing the job...
[2025-02-09 18:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:39:01] Production.INFO: neon service started
[2025-02-09 18:39:01] Production.INFO: neon service started
[2025-02-09 18:39:01] Production.INFO: ==866== Releasing lock...
[2025-02-09 18:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:39:01] Production.INFO: ==869== Lock acquired, processing the job...
[2025-02-09 13:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:39:02] Production.INFO: ==869== Releasing lock...
[2025-02-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:39:02] Production.INFO: ==871== Lock acquired, processing the job...
[2025-02-09 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:39:02] Production.INFO: ==871== Releasing lock...
[2025-02-09 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:39:03] Production.INFO: ==873== Lock acquired, processing the job...
[2025-02-09 13:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:39:03] Production.INFO: ==875== Lock acquired, processing the job...
[2025-02-09 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:39:03] Production.INFO: ==879== Lock acquired, processing the job...
[2025-02-09 13:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:39:03] Production.INFO: ==883== Lock acquired, processing the job...
[2025-02-09 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:39:03] Production.INFO: ==877== Lock acquired, processing the job...
[2025-02-09 13:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:39:03] Production.INFO: ==881== Lock acquired, processing the job...
[2025-02-09 13:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:39:03] Production.INFO: Account Balance Start.
[2025-02-09 13:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:39:03] Production.INFO: 117
[2025-02-09 13:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:39:03] Production.INFO: count ==21
[2025-02-09 13:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:39:03] Production.INFO: count ==21
[2025-02-09 13:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437418') start
[2025-02-09 13:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:39:03] Production.INFO: Total Charge 0
[2025-02-09 13:39:03] Production.INFO: CreateAllLog End
[2025-02-09 13:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437418') end
[2025-02-09 13:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:39:03] Production.INFO: 1
[2025-02-09 13:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:39:03] Production.INFO: ==883== Releasing lock...
[2025-02-09 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:39:03] Production.INFO: ==875== Releasing lock...
[2025-02-09 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:39:04] Production.ERROR: done
[2025-02-09 13:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:39:04] Production.INFO: Account Balance End.
[2025-02-09 13:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:39:04] Production.INFO: ==879== Releasing lock...
[2025-02-09 13:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:39:04] Production.ERROR: done
[2025-02-09 13:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:39:05
[end_date_ymd] => 2025-02-09 13:39:05
[RateCDR] => 1
)
[2025-02-09 13:39: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` >= '2025-02-09 10:39:05' and `end` < '2025-02-09 13:39: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 ,'')
[2025-02-09 13:39:11] Production.ERROR: CronJobId end10
[2025-02-09 13:39:11] Production.INFO: ==877== Releasing lock...
[2025-02-09 13:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:39:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:39:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:39:13] Production.INFO: call_cost start
[2025-02-09 13:39:13] Production.INFO: call_cost end
[2025-02-09 13:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:39:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:39:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:39:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:39:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:39:14] Production.INFO: ==873== Releasing lock...
[2025-02-09 13:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:39:18] Production.INFO: count ==1543
[2025-02-09 13:39:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:39:05 - End Time 2025-02-09 13:39:05
[2025-02-09 13:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437419', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437419', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437419', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437419', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:39:19] Production.INFO: ProcessCDR(1,14437419,1,1,2)
[2025-02-09 13:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437419', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437419', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:39:23] Production.INFO: ==881== Releasing lock...
[2025-02-09 13:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:39:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 18:40:02] Production.INFO: ==956== Lock acquired, processing the job...
[2025-02-09 18:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:40:02] Production.INFO: neon service started
[2025-02-09 18:40:02] Production.INFO: neon service started
[2025-02-09 18:40:02] Production.INFO: ==956== Releasing lock...
[2025-02-09 18:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:40:02] Production.INFO: ==958== Lock acquired, processing the job...
[2025-02-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:40:02] Production.INFO: ==960== Lock acquired, processing the job...
[2025-02-09 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:40:02] Production.INFO: ==960== Releasing lock...
[2025-02-09 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:40:03] Production.INFO: ==958== Releasing lock...
[2025-02-09 13:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:40:04] Production.INFO: ==970== Lock acquired, processing the job...
[2025-02-09 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:40:04] Production.INFO: ==966== Lock acquired, processing the job...
[2025-02-09 13:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 13:40:04] Production.INFO: ==974== Lock acquired, processing the job...
[2025-02-09 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:40:04] Production.INFO: ==968== Lock acquired, processing the job...
[2025-02-09 13:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:40:04] Production.INFO: ==976== Lock acquired, processing the job...
[2025-02-09 13:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 13:40:04] Production.ERROR: CronJob PID - 968
[2025-02-09 13:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 13:40:04] Production.ERROR: CronJob ID - 5
[2025-02-09 13:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 13:40:00
[2025-02-09 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 13:40:04] Production.ERROR: CronJob PID - 970
[2025-02-09 13:40:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 13:40:04] Production.ERROR: CronJob ID - 7
[2025-02-09 13:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 13:40:00
[2025-02-09 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 13:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 13:40:04] Production.ERROR: CronJob PID - 974
[2025-02-09 13:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 13:40:04] Production.ERROR: CronJob ID - 12
[2025-02-09 13:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 13:40:00
[2025-02-09 13:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 13:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 13:40:04] Production.INFO: Account Balance Start.
[2025-02-09 13:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:40:04] Production.INFO: 117
[2025-02-09 13:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 13:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:40:04] Production.INFO: ==966== Releasing lock...
[2025-02-09 13:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 13:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:40:04] Production.INFO: Total Charge 0
[2025-02-09 13:40:04] Production.INFO: ==972== Lock acquired, processing the job...
[2025-02-09 13:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:40:04] Production.INFO: CreateAllLog End
[2025-02-09 13:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:40:04] Production.INFO: ==978== Lock acquired, processing the job...
[2025-02-09 13:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 13:40:04] Production.INFO: ==970== Releasing lock...
[2025-02-09 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:40:04] Production.ERROR: done
[2025-02-09 13:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:40:04] Production.INFO: ==980== Lock acquired, processing the job...
[2025-02-09 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:40:04] Production.INFO: Account Balance End.
[2025-02-09 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:40:05] Production.INFO: ==974== Releasing lock...
[2025-02-09 13:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:40:05] Production.ERROR: done
[2025-02-09 13:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:40:05] Production.INFO: count ==21
[2025-02-09 13:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:40:05] Production.INFO: count ==21
[2025-02-09 13:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437423') start
[2025-02-09 13:40:05] Production.ERROR: done
[2025-02-09 13:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 13:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437425', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 13:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437423') end
[2025-02-09 13:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:40:05] Production.INFO: 1
[2025-02-09 13:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:40:05] Production.INFO: ==980== Releasing lock...
[2025-02-09 13:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:40:06
[end_date_ymd] => 2025-02-09 13:40:06
[RateCDR] => 1
)
[2025-02-09 13:40: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-02-09 10:40:06' and `end` < '2025-02-09 13:40: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-02-09 13:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437425', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 13:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 13:40:09] Production.INFO: ProcessCDR(1,14437425,1,1,2)
[2025-02-09 13:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437425,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437425,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:40:09] Production.INFO: ==978== Releasing lock...
[2025-02-09 13:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 13:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 13:40:14] Production.ERROR: CronJobId end10
[2025-02-09 13:40:14] Production.INFO: ==972== Releasing lock...
[2025-02-09 13:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:40:16] Production.INFO: call_cost start
[2025-02-09 13:40:16] Production.INFO: call_cost end
[2025-02-09 13:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:40:17] Production.INFO: ==968== Releasing lock...
[2025-02-09 13:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:40:19] Production.INFO: count ==1529
[2025-02-09 13:40:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:40:06 - End Time 2025-02-09 13:40:06
[2025-02-09 13:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437424', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437424', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437424', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437424', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:40:20] Production.INFO: ProcessCDR(1,14437424,1,1,2)
[2025-02-09 13:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437424', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437424', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:40:23] Production.INFO: ==976== Releasing lock...
[2025-02-09 13:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:40:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 18:41:01] Production.INFO: ==1046== Lock acquired, processing the job...
[2025-02-09 18:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:41:01] Production.INFO: neon service started
[2025-02-09 18:41:01] Production.INFO: neon service started
[2025-02-09 18:41:01] Production.INFO: ==1046== Releasing lock...
[2025-02-09 18:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:41:01] Production.INFO: ==1048== Lock acquired, processing the job...
[2025-02-09 13:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:41:02] Production.INFO: ==1050== Lock acquired, processing the job...
[2025-02-09 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:41:02] Production.INFO: ==1050== Releasing lock...
[2025-02-09 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:41:02] Production.INFO: ==1048== Releasing lock...
[2025-02-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:41:03] Production.INFO: ==1052== Lock acquired, processing the job...
[2025-02-09 13:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:41:03] Production.INFO: ==1061== Lock acquired, processing the job...
[2025-02-09 13:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:41:03] Production.INFO: ==1054== Lock acquired, processing the job...
[2025-02-09 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:41:03] Production.INFO: ==1056== Lock acquired, processing the job...
[2025-02-09 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:41:03] Production.INFO: ==1063== Lock acquired, processing the job...
[2025-02-09 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:41:03] Production.INFO: ==1058== Lock acquired, processing the job...
[2025-02-09 13:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:41:03] Production.INFO: Account Balance Start.
[2025-02-09 13:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:41:03] Production.INFO: 117
[2025-02-09 13:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:41:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:41:03] Production.INFO: ==1054== Releasing lock...
[2025-02-09 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:41:03] Production.ERROR: done
[2025-02-09 13:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:41:03] Production.INFO: count ==21
[2025-02-09 13:41:03] Production.INFO: Total Charge 0
[2025-02-09 13:41:03] Production.INFO: CreateAllLog End
[2025-02-09 13:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:41:03] Production.INFO: count ==21
[2025-02-09 13:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437429') start
[2025-02-09 13:41:03] Production.ERROR: done
[2025-02-09 13:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437429') end
[2025-02-09 13:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:41:03] Production.INFO: 1
[2025-02-09 13:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:41:03] Production.INFO: Account Balance End.
[2025-02-09 13:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:41:04] Production.INFO: ==1063== Releasing lock...
[2025-02-09 13:41:04] Production.INFO: ==1058== Releasing lock...
[2025-02-09 13:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:41:04
[end_date_ymd] => 2025-02-09 13:41:04
[RateCDR] => 1
)
[2025-02-09 13:41:04] 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-02-09 10:41:04' and `end` < '2025-02-09 13:41:04'
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-02-09 13:41:12] Production.ERROR: CronJobId end10
[2025-02-09 13:41:12] Production.INFO: ==1056== Releasing lock...
[2025-02-09 13:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:41:14] Production.INFO: call_cost start
[2025-02-09 13:41:14] Production.INFO: call_cost end
[2025-02-09 13:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:41:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:41:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:41:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:41:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:41:15] Production.INFO: ==1052== Releasing lock...
[2025-02-09 13:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:41:17] Production.INFO: count ==1525
[2025-02-09 13:41:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:41:04 - End Time 2025-02-09 13:41:04
[2025-02-09 13:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437430', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437430', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437430', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437430', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:41:18] Production.INFO: ProcessCDR(1,14437430,1,1,2)
[2025-02-09 13:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437430', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437430', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:41:21] Production.INFO: ==1061== Releasing lock...
[2025-02-09 13:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:41:21] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:42:01] Production.INFO: ==1130== Lock acquired, processing the job...
[2025-02-09 18:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:42:01] Production.INFO: neon service started
[2025-02-09 18:42:01] Production.INFO: neon service started
[2025-02-09 18:42:01] Production.INFO: ==1130== Releasing lock...
[2025-02-09 18:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:42:02] Production.INFO: ==1134== Lock acquired, processing the job...
[2025-02-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:42:02] Production.INFO: ==1137== Lock acquired, processing the job...
[2025-02-09 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:42:02] Production.INFO: ==1137== Releasing lock...
[2025-02-09 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:42:02] Production.INFO: ==1134== Releasing lock...
[2025-02-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:42:03] Production.INFO: ==1140== Lock acquired, processing the job...
[2025-02-09 13:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:42:03] Production.INFO: ==1150== Lock acquired, processing the job...
[2025-02-09 13:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:42:03] Production.INFO: ==1142== Lock acquired, processing the job...
[2025-02-09 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:42:03] Production.INFO: ==1144== Lock acquired, processing the job...
[2025-02-09 13:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:42:03] Production.INFO: count ==21
[2025-02-09 13:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:42:03] Production.INFO: count ==21
[2025-02-09 13:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437432') start
[2025-02-09 13:42:03] Production.INFO: ==1146== Lock acquired, processing the job...
[2025-02-09 13:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:42:03] Production.INFO: ==1148== Lock acquired, processing the job...
[2025-02-09 13:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437432') end
[2025-02-09 13:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:42:04] Production.INFO: 1
[2025-02-09 13:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:42:04] Production.INFO: ==1150== Releasing lock...
[2025-02-09 13:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:42:04] Production.INFO: ==1142== Releasing lock...
[2025-02-09 13:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:42:04] Production.INFO: Account Balance Start.
[2025-02-09 13:42:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:42:04] Production.INFO: 117
[2025-02-09 13:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:42:04] Production.INFO: Total Charge 0
[2025-02-09 13:42:04] Production.INFO: CreateAllLog End
[2025-02-09 13:42:04] Production.INFO: Account Balance End.
[2025-02-09 13:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:42:04] Production.INFO: ==1146== Releasing lock...
[2025-02-09 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:42:04] Production.ERROR: done
[2025-02-09 13:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:42:04] Production.ERROR: done
[2025-02-09 13:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:42:05
[end_date_ymd] => 2025-02-09 13:42:05
[RateCDR] => 1
)
[2025-02-09 13:42: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` >= '2025-02-09 10:42:05' and `end` < '2025-02-09 13:42: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 ,'')
[2025-02-09 13:42:12] Production.ERROR: CronJobId end10
[2025-02-09 13:42:12] Production.INFO: ==1144== Releasing lock...
[2025-02-09 13:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:42:15] Production.INFO: call_cost start
[2025-02-09 13:42:15] Production.INFO: call_cost end
[2025-02-09 13:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:42:15] Production.INFO: ==1140== Releasing lock...
[2025-02-09 13:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:42:18] Production.INFO: count ==1522
[2025-02-09 13:42:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:42:05 - End Time 2025-02-09 13:42:05
[2025-02-09 13:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437435', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437435', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437435', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437435', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:42:19] Production.INFO: ProcessCDR(1,14437435,1,1,2)
[2025-02-09 13:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437435', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437435', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:42:22] Production.INFO: ==1148== Releasing lock...
[2025-02-09 13:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:42:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 18:43:01] Production.INFO: ==1222== Lock acquired, processing the job...
[2025-02-09 18:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:43:01] Production.INFO: neon service started
[2025-02-09 18:43:01] Production.INFO: neon service started
[2025-02-09 18:43:01] Production.INFO: ==1222== Releasing lock...
[2025-02-09 18:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:43:02] Production.INFO: ==1224== Lock acquired, processing the job...
[2025-02-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:43:02] Production.INFO: ==1226== Lock acquired, processing the job...
[2025-02-09 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:43:02] Production.INFO: ==1226== Releasing lock...
[2025-02-09 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:43:02] Production.INFO: ==1224== Releasing lock...
[2025-02-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:43:03] Production.INFO: ==1229== Lock acquired, processing the job...
[2025-02-09 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:43:03] Production.INFO: ==1235== Lock acquired, processing the job...
[2025-02-09 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:43:03] Production.INFO: ==1233== Lock acquired, processing the job...
[2025-02-09 13:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:43:03] Production.INFO: Account Balance Start.
[2025-02-09 13:43:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:43:03] Production.INFO: 117
[2025-02-09 13:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:43:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:43:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:43:03] Production.INFO: ==1231== Lock acquired, processing the job...
[2025-02-09 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:43:03] Production.INFO: Total Charge 0
[2025-02-09 13:43:03] Production.INFO: CreateAllLog End
[2025-02-09 13:43:03] Production.INFO: ==1243== Lock acquired, processing the job...
[2025-02-09 13:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:43:03] Production.INFO: ==1239== Lock acquired, processing the job...
[2025-02-09 13:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:43:03] Production.INFO: Account Balance End.
[2025-02-09 13:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:43:03] Production.ERROR: CronJobId end 12
[2025-02-09 13:43:03] Production.INFO: ==1235== Releasing lock...
[2025-02-09 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:43:03] Production.INFO: count ==21
[2025-02-09 13:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:43:03] Production.INFO: count ==21
[2025-02-09 13:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437439') start
[2025-02-09 13:43:03] Production.INFO: ==1231== Releasing lock...
[2025-02-09 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437439') end
[2025-02-09 13:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:43:04] Production.INFO: 1
[2025-02-09 13:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:43:04] Production.ERROR: done
[2025-02-09 13:43:04] Production.INFO: ==1243== Releasing lock...
[2025-02-09 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:43:04] Production.ERROR: done
[2025-02-09 13:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:43:05
[end_date_ymd] => 2025-02-09 13:43:05
[RateCDR] => 1
)
[2025-02-09 13:43: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` >= '2025-02-09 10:43:05' and `end` < '2025-02-09 13:43: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 ,'')
[2025-02-09 13:43:12] Production.ERROR: CronJobId end10
[2025-02-09 13:43:12] Production.INFO: ==1233== Releasing lock...
[2025-02-09 13:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:43:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:43:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:43:13] Production.INFO: call_cost start
[2025-02-09 13:43:13] Production.INFO: call_cost end
[2025-02-09 13:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:43:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:43:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:43:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:43:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:43:14] Production.INFO: ==1229== Releasing lock...
[2025-02-09 13:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:43:18] Production.INFO: count ==1533
[2025-02-09 13:43:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:43:05 - End Time 2025-02-09 13:43:05
[2025-02-09 13:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437440', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437440', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437440', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437440', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:43:18] Production.INFO: ProcessCDR(1,14437440,1,1,2)
[2025-02-09 13:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437440', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437440', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:43:23] Production.INFO: ==1239== Releasing lock...
[2025-02-09 13:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:43:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:44:01] Production.INFO: ==1318== Lock acquired, processing the job...
[2025-02-09 18:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:44:01] Production.INFO: neon service started
[2025-02-09 18:44:01] Production.INFO: neon service started
[2025-02-09 18:44:01] Production.INFO: ==1318== Releasing lock...
[2025-02-09 18:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:44:02] Production.INFO: ==1322== Lock acquired, processing the job...
[2025-02-09 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:44:02] Production.INFO: ==1322== Releasing lock...
[2025-02-09 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:44:02] Production.INFO: ==1320== Lock acquired, processing the job...
[2025-02-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:44:02] Production.INFO: ==1320== Releasing lock...
[2025-02-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:44:03] Production.INFO: ==1325== Lock acquired, processing the job...
[2025-02-09 13:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:44:03] Production.INFO: ==1327== Lock acquired, processing the job...
[2025-02-09 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:44:03] Production.INFO: ==1333== Lock acquired, processing the job...
[2025-02-09 13:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:44:03] Production.INFO: ==1329== Lock acquired, processing the job...
[2025-02-09 13:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:44:03] Production.INFO: ==1335== Lock acquired, processing the job...
[2025-02-09 13:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:44:03] Production.INFO: ==1331== Lock acquired, processing the job...
[2025-02-09 13:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:44:04] Production.INFO: ==1327== Releasing lock...
[2025-02-09 13:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:44:04] Production.INFO: Account Balance Start.
[2025-02-09 13:44:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:44:04] Production.INFO: 117
[2025-02-09 13:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:44:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:44:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:44:04] Production.INFO: Total Charge 0
[2025-02-09 13:44:04] Production.INFO: count ==21
[2025-02-09 13:44:04] Production.ERROR: done
[2025-02-09 13:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:44:04] Production.INFO: CreateAllLog End
[2025-02-09 13:44:04] Production.INFO: count ==21
[2025-02-09 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437444') start
[2025-02-09 13:44:04] Production.ERROR: done
[2025-02-09 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437444') end
[2025-02-09 13:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:44:04] Production.INFO: 1
[2025-02-09 13:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:44:04] Production.INFO: Account Balance End.
[2025-02-09 13:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:44:04] Production.INFO: ==1331== Releasing lock...
[2025-02-09 13:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:44:04] Production.INFO: ==1335== Releasing lock...
[2025-02-09 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:44:05
[end_date_ymd] => 2025-02-09 13:44:05
[RateCDR] => 1
)
[2025-02-09 13:44: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` >= '2025-02-09 10:44:05' and `end` < '2025-02-09 13:44: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 ,'')
[2025-02-09 13:44:12] Production.ERROR: CronJobId end10
[2025-02-09 13:44:12] Production.INFO: ==1329== Releasing lock...
[2025-02-09 13:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:44:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:44:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:44:14] Production.INFO: call_cost start
[2025-02-09 13:44:14] Production.INFO: call_cost end
[2025-02-09 13:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:44:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:44:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:44:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:44:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:44:15] Production.INFO: ==1325== Releasing lock...
[2025-02-09 13:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:44:19] Production.INFO: count ==1533
[2025-02-09 13:44:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:44:05 - End Time 2025-02-09 13:44:05
[2025-02-09 13:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437445', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437445', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437445', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437445', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:44:19] Production.INFO: ProcessCDR(1,14437445,1,1,2)
[2025-02-09 13:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437445', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437445', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:44:22] Production.INFO: ==1333== Releasing lock...
[2025-02-09 13:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:44:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:45:02] Production.INFO: ==1443== Lock acquired, processing the job...
[2025-02-09 18:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:45:02] Production.INFO: neon service started
[2025-02-09 18:45:02] Production.INFO: neon service started
[2025-02-09 18:45:02] Production.INFO: ==1443== Releasing lock...
[2025-02-09 18:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:45:02] Production.INFO: ==1445== Lock acquired, processing the job...
[2025-02-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:45:02] Production.INFO: ==1447== Lock acquired, processing the job...
[2025-02-09 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:45:02] Production.INFO: ==1445== Releasing lock...
[2025-02-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:45:02] Production.INFO: ==1447== Releasing lock...
[2025-02-09 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:45:03] Production.INFO: ==1452== Lock acquired, processing the job...
[2025-02-09 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:45:03] Production.INFO: ==1458== Lock acquired, processing the job...
[2025-02-09 13:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:45:03] Production.INFO: ==1454== Lock acquired, processing the job...
[2025-02-09 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:45:03] Production.INFO: ==1460== Lock acquired, processing the job...
[2025-02-09 13:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:45:03] Production.INFO: ==1450== Lock acquired, processing the job...
[2025-02-09 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:45:04] Production.INFO: ==1452== Releasing lock...
[2025-02-09 13:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:45:04] Production.INFO: ==1456== Lock acquired, processing the job...
[2025-02-09 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:45:04] Production.INFO: count ==21
[2025-02-09 13:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:45:04] Production.INFO: count ==21
[2025-02-09 13:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437447') start
[2025-02-09 13:45:04] Production.ERROR: done
[2025-02-09 13:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:45:04] Production.INFO: Account Balance Start.
[2025-02-09 13:45:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:45:04] Production.INFO: 117
[2025-02-09 13:45:04] Production.ERROR: done
[2025-02-09 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437447') end
[2025-02-09 13:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:45:04] Production.INFO: 1
[2025-02-09 13:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:45:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:45:04] Production.INFO: ==1460== Releasing lock...
[2025-02-09 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:45:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:45:04] Production.INFO: Total Charge 0
[2025-02-09 13:45:04] Production.INFO: CreateAllLog End
[2025-02-09 13:45:04] Production.INFO: Account Balance End.
[2025-02-09 13:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:45:04] Production.INFO: ==1456== Releasing lock...
[2025-02-09 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:45:05
[end_date_ymd] => 2025-02-09 13:45:05
[RateCDR] => 1
)
[2025-02-09 13:45: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` >= '2025-02-09 10:45:05' and `end` < '2025-02-09 13:45: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 ,'')
[2025-02-09 13:45:12] Production.ERROR: CronJobId end10
[2025-02-09 13:45:12] Production.INFO: ==1454== Releasing lock...
[2025-02-09 13:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:45:14] Production.INFO: call_cost start
[2025-02-09 13:45:14] Production.INFO: call_cost end
[2025-02-09 13:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:45:15] Production.INFO: ==1450== Releasing lock...
[2025-02-09 13:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:45:18] Production.INFO: count ==1523
[2025-02-09 13:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:45:05 - End Time 2025-02-09 13:45:05
[2025-02-09 13:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437450', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437450', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437450', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437450', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:45:18] Production.INFO: ProcessCDR(1,14437450,1,1,2)
[2025-02-09 13:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437450', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437450', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:45:21] Production.INFO: ==1458== Releasing lock...
[2025-02-09 13:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:45:21] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:46:01] Production.INFO: ==1560== Lock acquired, processing the job...
[2025-02-09 18:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:46:01] Production.INFO: neon service started
[2025-02-09 18:46:01] Production.INFO: neon service started
[2025-02-09 18:46:01] Production.INFO: ==1560== Releasing lock...
[2025-02-09 18:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:46:02] Production.INFO: ==1562== Lock acquired, processing the job...
[2025-02-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:46:02] Production.INFO: ==1562== Releasing lock...
[2025-02-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:46:02] Production.INFO: ==1564== Lock acquired, processing the job...
[2025-02-09 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:46:02] Production.INFO: ==1564== Releasing lock...
[2025-02-09 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:46:03] Production.INFO: ==1579== Lock acquired, processing the job...
[2025-02-09 13:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:46:03] Production.INFO: ==1576== Lock acquired, processing the job...
[2025-02-09 13:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:46:03] Production.INFO: ==1566== Lock acquired, processing the job...
[2025-02-09 13:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:46:03] Production.INFO: Account Balance Start.
[2025-02-09 13:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:46:03] Production.INFO: ==1572== Lock acquired, processing the job...
[2025-02-09 13:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:46:03] Production.INFO: 117
[2025-02-09 13:46:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:46:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:46:03] Production.INFO: Total Charge 0
[2025-02-09 13:46:03] Production.INFO: ==1574== Lock acquired, processing the job...
[2025-02-09 13:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:46:03] Production.INFO: CreateAllLog End
[2025-02-09 13:46:03] Production.INFO: ==1581== Lock acquired, processing the job...
[2025-02-09 13:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:46:03] Production.ERROR: done
[2025-02-09 13:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:46:04] Production.INFO: Account Balance End.
[2025-02-09 13:46:04] Production.INFO: count ==21
[2025-02-09 13:46:04] Production.ERROR: done
[2025-02-09 13:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:46:04] Production.INFO: ==1576== Releasing lock...
[2025-02-09 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:46:04] Production.INFO: count ==21
[2025-02-09 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437454') start
[2025-02-09 13:46:04] Production.INFO: ==1572== Releasing lock...
[2025-02-09 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437454') end
[2025-02-09 13:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:46:04] Production.INFO: 1
[2025-02-09 13:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:46:04] Production.INFO: ==1581== Releasing lock...
[2025-02-09 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:46:05
[end_date_ymd] => 2025-02-09 13:46:05
[RateCDR] => 1
)
[2025-02-09 13:46: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` >= '2025-02-09 10:46:05' and `end` < '2025-02-09 13:46: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 ,'')
[2025-02-09 13:46:11] Production.ERROR: CronJobId end10
[2025-02-09 13:46:11] Production.INFO: ==1574== Releasing lock...
[2025-02-09 13:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:46:14] Production.INFO: call_cost start
[2025-02-09 13:46:14] Production.INFO: call_cost end
[2025-02-09 13:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:46:15] Production.INFO: ==1566== Releasing lock...
[2025-02-09 13:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:46:18] Production.INFO: count ==1517
[2025-02-09 13:46:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:46:05 - End Time 2025-02-09 13:46:05
[2025-02-09 13:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437455', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437455', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437455', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437455', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:46:18] Production.INFO: ProcessCDR(1,14437455,1,1,2)
[2025-02-09 13:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437455', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437455', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:46:21] Production.INFO: ==1579== Releasing lock...
[2025-02-09 13:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:46:21] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:47:02] Production.INFO: ==1647== Lock acquired, processing the job...
[2025-02-09 18:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:47:02] Production.INFO: neon service started
[2025-02-09 18:47:02] Production.INFO: neon service started
[2025-02-09 18:47:02] Production.INFO: ==1647== Releasing lock...
[2025-02-09 18:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:47:02] Production.INFO: ==1649== Lock acquired, processing the job...
[2025-02-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:47:02] Production.INFO: ==1649== Releasing lock...
[2025-02-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:47:03] Production.INFO: ==1651== Lock acquired, processing the job...
[2025-02-09 18:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:47:03] Production.INFO: ==1651== Releasing lock...
[2025-02-09 18:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:47:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:47:03] Production.INFO: ==1653== Lock acquired, processing the job...
[2025-02-09 13:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:47:03] Production.INFO: ==1657== Lock acquired, processing the job...
[2025-02-09 13:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:47:03] Production.INFO: ==1655== Lock acquired, processing the job...
[2025-02-09 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:47:03] Production.INFO: ==1659== Lock acquired, processing the job...
[2025-02-09 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:47:03] Production.INFO: ==1661== Lock acquired, processing the job...
[2025-02-09 13:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:47:03] Production.INFO: Account Balance Start.
[2025-02-09 13:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:47:03] Production.INFO: 117
[2025-02-09 13:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:47:03] Production.INFO: ==1663== Lock acquired, processing the job...
[2025-02-09 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:47:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:47:03] Production.INFO: Total Charge 0
[2025-02-09 13:47:03] Production.INFO: CreateAllLog End
[2025-02-09 13:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:47:04] Production.INFO: count ==21
[2025-02-09 13:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:47:04] Production.INFO: count ==21
[2025-02-09 13:47:04] Production.INFO: ==1655== Releasing lock...
[2025-02-09 13:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437459') start
[2025-02-09 13:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437459') end
[2025-02-09 13:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:47:04] Production.INFO: 1
[2025-02-09 13:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:47:04] Production.INFO: Account Balance End.
[2025-02-09 13:47:04] Production.INFO: ==1663== Releasing lock...
[2025-02-09 13:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:47:04] Production.ERROR: done
[2025-02-09 13:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:47:04] Production.INFO: ==1659== Releasing lock...
[2025-02-09 13:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:47:04] Production.ERROR: done
[2025-02-09 13:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:47:05
[end_date_ymd] => 2025-02-09 13:47:05
[RateCDR] => 1
)
[2025-02-09 13:47: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` >= '2025-02-09 10:47:05' and `end` < '2025-02-09 13:47: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 ,'')
[2025-02-09 13:47:11] Production.ERROR: CronJobId end10
[2025-02-09 13:47:11] Production.INFO: ==1657== Releasing lock...
[2025-02-09 13:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:47:14] Production.INFO: call_cost start
[2025-02-09 13:47:14] Production.INFO: call_cost end
[2025-02-09 13:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:47:15] Production.INFO: ==1653== Releasing lock...
[2025-02-09 13:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:47:18] Production.INFO: count ==1518
[2025-02-09 13:47:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:47:05 - End Time 2025-02-09 13:47:05
[2025-02-09 13:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437460', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437460', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437460', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437460', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:47:19] Production.INFO: ProcessCDR(1,14437460,1,1,2)
[2025-02-09 13:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437460', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437460', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:47:22] Production.INFO: ==1661== Releasing lock...
[2025-02-09 13:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:47:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:48:01] Production.INFO: ==1734== Lock acquired, processing the job...
[2025-02-09 18:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:48:01] Production.INFO: neon service started
[2025-02-09 18:48:01] Production.INFO: neon service started
[2025-02-09 18:48:01] Production.INFO: ==1734== Releasing lock...
[2025-02-09 18:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:48:01] Production.INFO: ==1738== Lock acquired, processing the job...
[2025-02-09 18:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:48:01] Production.INFO: ==1738== Releasing lock...
[2025-02-09 18:48:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:48:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:48:02] Production.INFO: ==1736== Lock acquired, processing the job...
[2025-02-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:48:02] Production.INFO: ==1736== Releasing lock...
[2025-02-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:48:03] Production.INFO: ==1740== Lock acquired, processing the job...
[2025-02-09 13:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:48:03] Production.INFO: ==1745== Lock acquired, processing the job...
[2025-02-09 13:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:48:03] Production.INFO: ==1751== Lock acquired, processing the job...
[2025-02-09 13:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:48:03] Production.INFO: ==1742== Lock acquired, processing the job...
[2025-02-09 13:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:48:03] Production.INFO: ==1747== Lock acquired, processing the job...
[2025-02-09 13:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:48:03] Production.INFO: ==1749== Lock acquired, processing the job...
[2025-02-09 13:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:48:03] Production.INFO: count ==21
[2025-02-09 13:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:48:03] Production.INFO: count ==21
[2025-02-09 13:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437462') start
[2025-02-09 13:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437462') end
[2025-02-09 13:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:48:03] Production.INFO: 1
[2025-02-09 13:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:48:03] Production.INFO: Account Balance Start.
[2025-02-09 13:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:48:03] Production.INFO: 117
[2025-02-09 13:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:48:03] Production.INFO: ==1751== Releasing lock...
[2025-02-09 13:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:48:03] Production.INFO: ==1742== Releasing lock...
[2025-02-09 13:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:48:03] Production.INFO: Total Charge 0
[2025-02-09 13:48:03] Production.INFO: CreateAllLog End
[2025-02-09 13:48:04] Production.ERROR: done
[2025-02-09 13:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:48:04] Production.INFO: Account Balance End.
[2025-02-09 13:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:48:04] Production.INFO: ==1747== Releasing lock...
[2025-02-09 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:48:04] Production.ERROR: done
[2025-02-09 13:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:48:05
[end_date_ymd] => 2025-02-09 13:48:05
[RateCDR] => 1
)
[2025-02-09 13:48: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` >= '2025-02-09 10:48:05' and `end` < '2025-02-09 13:48: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 ,'')
[2025-02-09 13:48:11] Production.ERROR: CronJobId end10
[2025-02-09 13:48:11] Production.INFO: ==1745== Releasing lock...
[2025-02-09 13:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:48:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:48:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:48:14] Production.INFO: call_cost start
[2025-02-09 13:48:14] Production.INFO: call_cost end
[2025-02-09 13:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:48:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:48:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:48:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:48:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:48:15] Production.INFO: ==1740== Releasing lock...
[2025-02-09 13:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:48:18] Production.INFO: count ==1518
[2025-02-09 13:48:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:48:05 - End Time 2025-02-09 13:48:05
[2025-02-09 13:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437465', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437465', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437465', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437465', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:48:18] Production.INFO: ProcessCDR(1,14437465,1,1,2)
[2025-02-09 13:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437465', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437465', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:48:22] Production.INFO: ==1749== Releasing lock...
[2025-02-09 13:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:48:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:49:01] Production.INFO: ==1820== Lock acquired, processing the job...
[2025-02-09 18:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:49:01] Production.INFO: neon service started
[2025-02-09 18:49:01] Production.INFO: neon service started
[2025-02-09 18:49:01] Production.INFO: ==1820== Releasing lock...
[2025-02-09 18:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:49:02] Production.INFO: ==1822== Lock acquired, processing the job...
[2025-02-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:49:02] Production.INFO: ==1822== Releasing lock...
[2025-02-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:49:02] Production.INFO: ==1827== Lock acquired, processing the job...
[2025-02-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:49:02] Production.INFO: ==1827== Releasing lock...
[2025-02-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:49:03] Production.INFO: ==1829== Lock acquired, processing the job...
[2025-02-09 13:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:49:03] Production.INFO: ==1831== Lock acquired, processing the job...
[2025-02-09 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:49:03] Production.INFO: ==1835== Lock acquired, processing the job...
[2025-02-09 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:49:03] Production.INFO: Account Balance Start.
[2025-02-09 13:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:49:03] Production.INFO: 117
[2025-02-09 13:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:49:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:49:03] Production.INFO: ==1833== Lock acquired, processing the job...
[2025-02-09 13:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:49:03] Production.INFO: Total Charge 0
[2025-02-09 13:49:03] Production.INFO: CreateAllLog End
[2025-02-09 13:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:49:03] Production.INFO: ==1831== Releasing lock...
[2025-02-09 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:49:03] Production.INFO: ==1837== Lock acquired, processing the job...
[2025-02-09 13:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:49:03] Production.INFO: ==1839== Lock acquired, processing the job...
[2025-02-09 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:49:04] Production.INFO: Account Balance End.
[2025-02-09 13:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:49:04] Production.INFO: ==1835== Releasing lock...
[2025-02-09 13:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:49:04] Production.INFO: count ==21
[2025-02-09 13:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:49:04] Production.INFO: count ==21
[2025-02-09 13:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437469') start
[2025-02-09 13:49:04] Production.ERROR: done
[2025-02-09 13:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437469') end
[2025-02-09 13:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:49:04] Production.INFO: 1
[2025-02-09 13:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:49:04] Production.INFO: ==1839== Releasing lock...
[2025-02-09 13:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:49:04] Production.ERROR: done
[2025-02-09 13:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:49:05
[end_date_ymd] => 2025-02-09 13:49:05
[RateCDR] => 1
)
[2025-02-09 13:49: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` >= '2025-02-09 10:49:05' and `end` < '2025-02-09 13:49: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 ,'')
[2025-02-09 13:49:12] Production.ERROR: CronJobId end10
[2025-02-09 13:49:12] Production.INFO: ==1833== Releasing lock...
[2025-02-09 13:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:49:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:49:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:49:14] Production.INFO: call_cost start
[2025-02-09 13:49:14] Production.INFO: call_cost end
[2025-02-09 13:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:49:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:49:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:49:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:49:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:49:15] Production.INFO: ==1829== Releasing lock...
[2025-02-09 13:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:49:18] Production.INFO: count ==1518
[2025-02-09 13:49:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:49:05 - End Time 2025-02-09 13:49:05
[2025-02-09 13:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437470', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437470', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437470', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437470', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:49:19] Production.INFO: ProcessCDR(1,14437470,1,1,2)
[2025-02-09 13:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437470', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437470', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:49:23] Production.INFO: ==1837== Releasing lock...
[2025-02-09 13:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:49:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:50:01] Production.INFO: ==1906== Lock acquired, processing the job...
[2025-02-09 18:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:50:01] Production.INFO: neon service started
[2025-02-09 18:50:01] Production.INFO: neon service started
[2025-02-09 18:50:01] Production.INFO: ==1906== Releasing lock...
[2025-02-09 18:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:50:01] Production.INFO: ==1909== Lock acquired, processing the job...
[2025-02-09 13:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:50:02] Production.INFO: ==1911== Lock acquired, processing the job...
[2025-02-09 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:50:02] Production.INFO: ==1909== Releasing lock...
[2025-02-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:50:02] Production.INFO: ==1911== Releasing lock...
[2025-02-09 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:50:03] Production.INFO: ==1917== Lock acquired, processing the job...
[2025-02-09 13:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:50:03] Production.INFO: ==1923== Lock acquired, processing the job...
[2025-02-09 13:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:50:03] Production.INFO: ==1913== Lock acquired, processing the job...
[2025-02-09 13:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 13:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:50:03] Production.INFO: ==1915== Lock acquired, processing the job...
[2025-02-09 13:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:50:03] Production.INFO: ==1927== Lock acquired, processing the job...
[2025-02-09 13:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:50:03] Production.INFO: ==1919== Lock acquired, processing the job...
[2025-02-09 13:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:50:03] Production.INFO: ==1925== Lock acquired, processing the job...
[2025-02-09 13:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 13:50:03] Production.INFO: ==1921== Lock acquired, processing the job...
[2025-02-09 13:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 13:50:03] Production.INFO: ==1917== Releasing lock...
[2025-02-09 13:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 13:50:03] Production.ERROR: CronJob PID - 1915
[2025-02-09 13:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 13:50:03] Production.ERROR: CronJob ID - 5
[2025-02-09 13:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 13:50:00
[2025-02-09 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 13:50:03] Production.ERROR: CronJob PID - 1919
[2025-02-09 13:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 13:50:03] Production.ERROR: CronJob ID - 10
[2025-02-09 13:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 13:50:00
[2025-02-09 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 13:50:03] Production.ERROR: CronJob PID - 1921
[2025-02-09 13:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 13:50:03] Production.ERROR: CronJob ID - 12
[2025-02-09 13:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 13:50:00
[2025-02-09 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 13:50:03] Production.ERROR: CronJob PID - 1923
[2025-02-09 13:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 13:50:03] Production.ERROR: CronJob ID - 16
[2025-02-09 13:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 13:50:00
[2025-02-09 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 13:50:03] Production.ERROR: CronJob PID - 1927
[2025-02-09 13:50:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 13:50:03] Production.ERROR: CronJob ID - 19
[2025-02-09 13:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 13:50:00
[2025-02-09 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 13:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 13:50:03] Production.INFO: ==1913== Releasing lock...
[2025-02-09 13:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 13:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 13:50:03] Production.INFO: count ==21
[2025-02-09 13:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:50:03] Production.INFO: count ==21
[2025-02-09 13:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437472') start
[2025-02-09 13:50:04] Production.INFO: Account Balance Start.
[2025-02-09 13:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:50:04] Production.INFO: 117
[2025-02-09 13:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:50:04] Production.ERROR: done
[2025-02-09 13:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437472') end
[2025-02-09 13:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:50:04] Production.INFO: 1
[2025-02-09 13:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:50:04] Production.ERROR: done
[2025-02-09 13:50:04] Production.INFO: ==1927== Releasing lock...
[2025-02-09 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:50:04] Production.ERROR: done
[2025-02-09 13:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:50:04] Production.INFO: Total Charge 0
[2025-02-09 13:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 13:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437475', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 13:50:04] Production.INFO: CreateAllLog End
[2025-02-09 13:50:04] Production.INFO: Account Balance End.
[2025-02-09 13:50:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:50:04] Production.INFO: ==1921== Releasing lock...
[2025-02-09 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:50:05
[end_date_ymd] => 2025-02-09 13:50:05
[RateCDR] => 1
)
[2025-02-09 13:50: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` >= '2025-02-09 10:50:05' and `end` < '2025-02-09 13:50: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 ,'')
[2025-02-09 13:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437475', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 13:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 13:50:09] Production.INFO: ProcessCDR(1,14437475,1,1,2)
[2025-02-09 13:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437475,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437475,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:50:09] Production.INFO: ==1925== Releasing lock...
[2025-02-09 13:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 13:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 13:50:14] Production.ERROR: CronJobId end10
[2025-02-09 13:50:14] Production.INFO: ==1919== Releasing lock...
[2025-02-09 13:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:50:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:50:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:50:16] Production.INFO: call_cost start
[2025-02-09 13:50:16] Production.INFO: call_cost end
[2025-02-09 13:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:50:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:50:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:50:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:50:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:50:16] Production.INFO: ==1915== Releasing lock...
[2025-02-09 13:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:50:18] Production.INFO: count ==1518
[2025-02-09 13:50:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:50:05 - End Time 2025-02-09 13:50:05
[2025-02-09 13:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437476', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437476', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437476', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437476', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:50:19] Production.INFO: ProcessCDR(1,14437476,1,1,2)
[2025-02-09 13:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437476', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437476', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:50:22] Production.INFO: ==1923== Releasing lock...
[2025-02-09 13:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:50:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:51:01] Production.INFO: ==1996== Lock acquired, processing the job...
[2025-02-09 18:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:51:01] Production.INFO: neon service started
[2025-02-09 18:51:01] Production.INFO: neon service started
[2025-02-09 18:51:01] Production.INFO: ==1996== Releasing lock...
[2025-02-09 18:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:51:02] Production.INFO: ==2000== Lock acquired, processing the job...
[2025-02-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:51:02] Production.INFO: ==2000== Releasing lock...
[2025-02-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:51:02] Production.INFO: ==1998== Lock acquired, processing the job...
[2025-02-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:51:02] Production.INFO: ==1998== Releasing lock...
[2025-02-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:51:03] Production.INFO: ==2005== Lock acquired, processing the job...
[2025-02-09 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:51:03] Production.INFO: ==2009== Lock acquired, processing the job...
[2025-02-09 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:51:03] Production.INFO: ==2011== Lock acquired, processing the job...
[2025-02-09 13:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:51:03] Production.INFO: ==2003== Lock acquired, processing the job...
[2025-02-09 13:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:51:03] Production.INFO: ==2007== Lock acquired, processing the job...
[2025-02-09 13:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:51:03] Production.INFO: Account Balance Start.
[2025-02-09 13:51:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:51:03] Production.INFO: 117
[2025-02-09 13:51:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:51:03] Production.INFO: ==2013== Lock acquired, processing the job...
[2025-02-09 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:51:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:51:03] Production.INFO: ==2005== Releasing lock...
[2025-02-09 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:51:03] Production.INFO: Total Charge 0
[2025-02-09 13:51:03] Production.INFO: CreateAllLog End
[2025-02-09 13:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:51:03] Production.ERROR: done
[2025-02-09 13:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:51:04] Production.INFO: count ==21
[2025-02-09 13:51:04] Production.ERROR: done
[2025-02-09 13:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:51:04] Production.INFO: count ==21
[2025-02-09 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437479') start
[2025-02-09 13:51:04] Production.INFO: Account Balance End.
[2025-02-09 13:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:51:04] Production.INFO: ==2009== Releasing lock...
[2025-02-09 13:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437479') end
[2025-02-09 13:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:51:04] Production.INFO: 1
[2025-02-09 13:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:51:04] Production.INFO: ==2013== Releasing lock...
[2025-02-09 13:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:51:05
[end_date_ymd] => 2025-02-09 13:51:05
[RateCDR] => 1
)
[2025-02-09 13:51: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` >= '2025-02-09 10:51:05' and `end` < '2025-02-09 13:51: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 ,'')
[2025-02-09 13:51:11] Production.ERROR: CronJobId end10
[2025-02-09 13:51:11] Production.INFO: ==2007== Releasing lock...
[2025-02-09 13:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:51:14] Production.INFO: call_cost start
[2025-02-09 13:51:14] Production.INFO: call_cost end
[2025-02-09 13:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:51:15] Production.INFO: ==2003== Releasing lock...
[2025-02-09 13:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:51:18] Production.INFO: count ==1529
[2025-02-09 13:51:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:51:05 - End Time 2025-02-09 13:51:05
[2025-02-09 13:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437481', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437481', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437481', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437481', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:51:18] Production.INFO: ProcessCDR(1,14437481,1,1,2)
[2025-02-09 13:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437481', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437481', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:51:21] Production.INFO: ==2011== Releasing lock...
[2025-02-09 13:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:51:21] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:52:02] Production.INFO: ==2082== Lock acquired, processing the job...
[2025-02-09 18:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:52:02] Production.INFO: neon service started
[2025-02-09 18:52:02] Production.INFO: neon service started
[2025-02-09 18:52:02] Production.INFO: ==2082== Releasing lock...
[2025-02-09 18:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 18:52:02] Production.INFO: ==2086== Lock acquired, processing the job...
[2025-02-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:52:02] Production.INFO: ==2086== Releasing lock...
[2025-02-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:52:02] Production.INFO: ==2084== Lock acquired, processing the job...
[2025-02-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:52:03] Production.INFO: ==2084== Releasing lock...
[2025-02-09 13:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:52:03] Production.INFO: ==2092== Lock acquired, processing the job...
[2025-02-09 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:52:04] Production.INFO: ==2099== Lock acquired, processing the job...
[2025-02-09 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:52:04] Production.INFO: ==2088== Lock acquired, processing the job...
[2025-02-09 13:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:52:04] Production.INFO: count ==21
[2025-02-09 13:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:52:04] Production.INFO: ==2090== Lock acquired, processing the job...
[2025-02-09 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:52:04] Production.INFO: count ==21
[2025-02-09 13:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437482') start
[2025-02-09 13:52:04] Production.INFO: ==2094== Lock acquired, processing the job...
[2025-02-09 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:52:04] Production.INFO: ==2097== Lock acquired, processing the job...
[2025-02-09 13:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437482') end
[2025-02-09 13:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:52:04] Production.INFO: 1
[2025-02-09 13:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:52:04] Production.INFO: ==2099== Releasing lock...
[2025-02-09 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:52:04] Production.INFO: Account Balance Start.
[2025-02-09 13:52:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:52:04] Production.INFO: 117
[2025-02-09 13:52:04] Production.INFO: ==2090== Releasing lock...
[2025-02-09 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:52:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:52:04] Production.ERROR: done
[2025-02-09 13:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:52:04] Production.INFO: Total Charge 0
[2025-02-09 13:52:04] Production.INFO: CreateAllLog End
[2025-02-09 13:52:05] Production.ERROR: done
[2025-02-09 13:52:05] Production.INFO: Account Balance End.
[2025-02-09 13:52:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:52:05] Production.INFO: ==2094== Releasing lock...
[2025-02-09 13:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:52:06
[end_date_ymd] => 2025-02-09 13:52:06
[RateCDR] => 1
)
[2025-02-09 13:52: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-02-09 10:52:06' and `end` < '2025-02-09 13:52: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-02-09 13:52:12] Production.ERROR: CronJobId end10
[2025-02-09 13:52:12] Production.INFO: ==2092== Releasing lock...
[2025-02-09 13:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:52:14] Production.INFO: call_cost start
[2025-02-09 13:52:14] Production.INFO: call_cost end
[2025-02-09 13:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:52:15] Production.INFO: ==2088== Releasing lock...
[2025-02-09 13:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:52:20] Production.INFO: count ==1530
[2025-02-09 13:52:20] Production.ERROR: pbx CDR StartTime 2025-02-09 10:52:06 - End Time 2025-02-09 13:52:06
[2025-02-09 13:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437486', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437486', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437486', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437486', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:52:20] Production.INFO: ProcessCDR(1,14437486,1,1,2)
[2025-02-09 13:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437486', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437486', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:52:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:52:25] Production.INFO: ==2097== Releasing lock...
[2025-02-09 13:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:52:25] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 18:53:01] Production.INFO: ==2165== Lock acquired, processing the job...
[2025-02-09 18:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:53:01] Production.INFO: neon service started
[2025-02-09 18:53:01] Production.INFO: neon service started
[2025-02-09 18:53:01] Production.INFO: ==2165== Releasing lock...
[2025-02-09 18:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:53:02] Production.INFO: ==2167== Lock acquired, processing the job...
[2025-02-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:53:02] Production.INFO: ==2167== Releasing lock...
[2025-02-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:53:02] Production.INFO: ==2169== Lock acquired, processing the job...
[2025-02-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:53:02] Production.INFO: ==2169== Releasing lock...
[2025-02-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:53:03] Production.INFO: ==2174== Lock acquired, processing the job...
[2025-02-09 13:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:53:03] Production.INFO: ==2176== Lock acquired, processing the job...
[2025-02-09 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:53:03] Production.INFO: ==2180== Lock acquired, processing the job...
[2025-02-09 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:53:03] Production.INFO: Account Balance Start.
[2025-02-09 13:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:53:03] Production.INFO: 117
[2025-02-09 13:53:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:53:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:53:03] Production.INFO: ==2176== Releasing lock...
[2025-02-09 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:53:03] Production.INFO: Total Charge 0
[2025-02-09 13:53:03] Production.INFO: CreateAllLog End
[2025-02-09 13:53:03] Production.INFO: Account Balance End.
[2025-02-09 13:53:03] Production.ERROR: CronJobId end 12
[2025-02-09 13:53:03] Production.INFO: ==2180== Releasing lock...
[2025-02-09 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:53:03] Production.INFO: ==2178== Lock acquired, processing the job...
[2025-02-09 13:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:53:03] Production.INFO: ==2182== Lock acquired, processing the job...
[2025-02-09 13:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:53:03] Production.INFO: ==2184== Lock acquired, processing the job...
[2025-02-09 13:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:53:04] Production.INFO: count ==21
[2025-02-09 13:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:53:04] Production.INFO: count ==21
[2025-02-09 13:53:04] Production.ERROR: done
[2025-02-09 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437490') start
[2025-02-09 13:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:53:04] Production.ERROR: done
[2025-02-09 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437490') end
[2025-02-09 13:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:53:04] Production.INFO: 1
[2025-02-09 13:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:53:04] Production.INFO: ==2184== Releasing lock...
[2025-02-09 13:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:53:05
[end_date_ymd] => 2025-02-09 13:53:05
[RateCDR] => 1
)
[2025-02-09 13:53: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` >= '2025-02-09 10:53:05' and `end` < '2025-02-09 13:53: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 ,'')
[2025-02-09 13:53:11] Production.ERROR: CronJobId end10
[2025-02-09 13:53:11] Production.INFO: ==2178== Releasing lock...
[2025-02-09 13:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:53:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:53:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:53:14] Production.INFO: call_cost start
[2025-02-09 13:53:14] Production.INFO: call_cost end
[2025-02-09 13:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:53:15] Production.INFO: ==2174== Releasing lock...
[2025-02-09 13:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:53:18] Production.INFO: count ==1536
[2025-02-09 13:53:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:53:05 - End Time 2025-02-09 13:53:05
[2025-02-09 13:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437491', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437491', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437491', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437491', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:53:18] Production.INFO: ProcessCDR(1,14437491,1,1,2)
[2025-02-09 13:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437491', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437491', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:53:21] Production.INFO: ==2182== Releasing lock...
[2025-02-09 13:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:53:21] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 18:54:02] Production.INFO: ==2265== Lock acquired, processing the job...
[2025-02-09 18:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:54:02] Production.INFO: neon service started
[2025-02-09 18:54:02] Production.INFO: neon service started
[2025-02-09 18:54:02] Production.INFO: ==2265== Releasing lock...
[2025-02-09 18:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:54:02] Production.INFO: ==2267== Lock acquired, processing the job...
[2025-02-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:54:02] Production.INFO: ==2269== Lock acquired, processing the job...
[2025-02-09 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:54:03] Production.INFO: ==2269== Releasing lock...
[2025-02-09 18:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:54:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:54:03] Production.INFO: ==2267== Releasing lock...
[2025-02-09 13:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:54:04] Production.INFO: ==2272== Lock acquired, processing the job...
[2025-02-09 13:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:54:04] Production.INFO: ==2274== Lock acquired, processing the job...
[2025-02-09 13:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:54:04] Production.INFO: ==2276== Lock acquired, processing the job...
[2025-02-09 13:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:54:04] Production.INFO: ==2280== Lock acquired, processing the job...
[2025-02-09 13:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:54:04] Production.INFO: ==2278== Lock acquired, processing the job...
[2025-02-09 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:54:04] Production.INFO: ==2282== Lock acquired, processing the job...
[2025-02-09 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:54:04] Production.INFO: ==2274== Releasing lock...
[2025-02-09 13:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:54:04] Production.INFO: Account Balance Start.
[2025-02-09 13:54:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:54:04] Production.INFO: 117
[2025-02-09 13:54:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:54:04] Production.INFO: count ==21
[2025-02-09 13:54:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:54:04] Production.ERROR: done
[2025-02-09 13:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:54:04] Production.INFO: count ==21
[2025-02-09 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437495') start
[2025-02-09 13:54:04] Production.INFO: Total Charge 0
[2025-02-09 13:54:04] Production.INFO: CreateAllLog End
[2025-02-09 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437495') end
[2025-02-09 13:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:54:04] Production.INFO: 1
[2025-02-09 13:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:54:04] Production.ERROR: done
[2025-02-09 13:54:04] Production.INFO: ==2282== Releasing lock...
[2025-02-09 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:54:05] Production.INFO: Account Balance End.
[2025-02-09 13:54:05] Production.ERROR: CronJobId end 12
[2025-02-09 13:54:05] Production.INFO: ==2278== Releasing lock...
[2025-02-09 13:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:54:06
[end_date_ymd] => 2025-02-09 13:54:06
[RateCDR] => 1
)
[2025-02-09 13:54: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-02-09 10:54:06' and `end` < '2025-02-09 13:54: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-02-09 13:54:13] Production.ERROR: CronJobId end10
[2025-02-09 13:54:13] Production.INFO: ==2276== Releasing lock...
[2025-02-09 13:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:54:14] Production.INFO: call_cost start
[2025-02-09 13:54:14] Production.INFO: call_cost end
[2025-02-09 13:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:54:15] Production.INFO: ==2272== Releasing lock...
[2025-02-09 13:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:54:19] Production.INFO: count ==1538
[2025-02-09 13:54:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:54:06 - End Time 2025-02-09 13:54:06
[2025-02-09 13:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437496', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437496', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437496', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437496', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:54:19] Production.INFO: ProcessCDR(1,14437496,1,1,2)
[2025-02-09 13:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437496', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437496', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:54:22] Production.INFO: ==2280== Releasing lock...
[2025-02-09 13:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:54:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 18:55:01] Production.INFO: ==2352== Lock acquired, processing the job...
[2025-02-09 18:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:55:01] Production.INFO: neon service started
[2025-02-09 18:55:01] Production.INFO: neon service started
[2025-02-09 18:55:01] Production.INFO: ==2352== Releasing lock...
[2025-02-09 18:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:55:02] Production.INFO: ==2354== Lock acquired, processing the job...
[2025-02-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:55:02] Production.INFO: ==2356== Lock acquired, processing the job...
[2025-02-09 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:55:02] Production.INFO: ==2356== Releasing lock...
[2025-02-09 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:55:02] Production.INFO: ==2354== Releasing lock...
[2025-02-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:55:03] Production.INFO: ==2359== Lock acquired, processing the job...
[2025-02-09 13:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:55:03] Production.INFO: ==2367== Lock acquired, processing the job...
[2025-02-09 13:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:55:03] Production.INFO: ==2363== Lock acquired, processing the job...
[2025-02-09 13:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:55:03] Production.INFO: ==2361== Lock acquired, processing the job...
[2025-02-09 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:55:03] Production.INFO: ==2369== Lock acquired, processing the job...
[2025-02-09 13:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:55:03] Production.INFO: ==2365== Lock acquired, processing the job...
[2025-02-09 13:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:55:04] Production.INFO: Account Balance Start.
[2025-02-09 13:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:55:04] Production.INFO: 117
[2025-02-09 13:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:55:04] Production.INFO: count ==21
[2025-02-09 13:55:04] Production.ERROR: done
[2025-02-09 13:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:55:04] Production.INFO: count ==21
[2025-02-09 13:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437498') start
[2025-02-09 13:55:04] Production.ERROR: done
[2025-02-09 13:55:04] Production.INFO: Total Charge 0
[2025-02-09 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437498') end
[2025-02-09 13:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:55:04] Production.INFO: 1
[2025-02-09 13:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:55:04] Production.INFO: CreateAllLog End
[2025-02-09 13:55:04] Production.INFO: ==2369== Releasing lock...
[2025-02-09 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:55:04] Production.INFO: Account Balance End.
[2025-02-09 13:55:04] Production.INFO: ==2361== Releasing lock...
[2025-02-09 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:55:04] Production.INFO: ==2365== Releasing lock...
[2025-02-09 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:55:05
[end_date_ymd] => 2025-02-09 13:55:05
[RateCDR] => 1
)
[2025-02-09 13:55: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` >= '2025-02-09 10:55:05' and `end` < '2025-02-09 13:55: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 ,'')
[2025-02-09 13:55:12] Production.ERROR: CronJobId end10
[2025-02-09 13:55:12] Production.INFO: ==2363== Releasing lock...
[2025-02-09 13:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:55:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:55:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:55:13] Production.INFO: call_cost start
[2025-02-09 13:55:13] Production.INFO: call_cost end
[2025-02-09 13:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:55:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:55:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:55:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:55:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:55:14] Production.INFO: ==2359== Releasing lock...
[2025-02-09 13:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:55:18] Production.INFO: count ==1538
[2025-02-09 13:55:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:55:05 - End Time 2025-02-09 13:55:05
[2025-02-09 13:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437501', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437501', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437501', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437501', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:55:18] Production.INFO: ProcessCDR(1,14437501,1,1,2)
[2025-02-09 13:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437501', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437501', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:55:23] Production.INFO: ==2367== Releasing lock...
[2025-02-09 13:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:55:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:56:02] Production.INFO: ==2436== Lock acquired, processing the job...
[2025-02-09 18:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:56:02] Production.INFO: neon service started
[2025-02-09 18:56:02] Production.INFO: neon service started
[2025-02-09 18:56:02] Production.INFO: ==2436== Releasing lock...
[2025-02-09 18:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:56:02] Production.INFO: ==2438== Lock acquired, processing the job...
[2025-02-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:56:02] Production.INFO: ==2440== Lock acquired, processing the job...
[2025-02-09 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 13:56:02] Production.INFO: ==2438== Releasing lock...
[2025-02-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:56:03] Production.INFO: ==2440== Releasing lock...
[2025-02-09 18:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:56:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:56:03] Production.INFO: ==2442== Lock acquired, processing the job...
[2025-02-09 13:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:56:03] Production.INFO: ==2444== Lock acquired, processing the job...
[2025-02-09 13:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:56:03] Production.INFO: ==2446== Lock acquired, processing the job...
[2025-02-09 13:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:56:04] Production.INFO: ==2448== Lock acquired, processing the job...
[2025-02-09 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:56:04] Production.INFO: ==2450== Lock acquired, processing the job...
[2025-02-09 13:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:56:04] Production.INFO: ==2452== Lock acquired, processing the job...
[2025-02-09 13:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:56:04] Production.INFO: Account Balance Start.
[2025-02-09 13:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:56:04] Production.INFO: 117
[2025-02-09 13:56:04] Production.INFO: ==2444== Releasing lock...
[2025-02-09 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:56:04] Production.INFO: count ==21
[2025-02-09 13:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:56:04] Production.INFO: count ==21
[2025-02-09 13:56:04] Production.INFO: Total Charge 0
[2025-02-09 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437505') start
[2025-02-09 13:56:04] Production.INFO: CreateAllLog End
[2025-02-09 13:56:04] Production.ERROR: done
[2025-02-09 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437505') end
[2025-02-09 13:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:56:04] Production.INFO: 1
[2025-02-09 13:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:56:04] Production.INFO: Account Balance End.
[2025-02-09 13:56:04] Production.INFO: ==2452== Releasing lock...
[2025-02-09 13:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:56:04] Production.INFO: ==2448== Releasing lock...
[2025-02-09 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:56:05] Production.ERROR: done
[2025-02-09 13:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:56:05
[end_date_ymd] => 2025-02-09 13:56:05
[RateCDR] => 1
)
[2025-02-09 13:56: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` >= '2025-02-09 10:56:05' and `end` < '2025-02-09 13:56: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 ,'')
[2025-02-09 13:56:12] Production.ERROR: CronJobId end10
[2025-02-09 13:56:12] Production.INFO: ==2446== Releasing lock...
[2025-02-09 13:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:56:14] Production.INFO: call_cost start
[2025-02-09 13:56:14] Production.INFO: call_cost end
[2025-02-09 13:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:56:15] Production.INFO: ==2442== Releasing lock...
[2025-02-09 13:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:56:19] Production.INFO: count ==1532
[2025-02-09 13:56:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:56:05 - End Time 2025-02-09 13:56:05
[2025-02-09 13:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437506', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437506', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437506', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437506', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:56:19] Production.INFO: ProcessCDR(1,14437506,1,1,2)
[2025-02-09 13:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437506', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437506', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:56:24] Production.INFO: ==2450== Releasing lock...
[2025-02-09 13:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:56:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:57:01] Production.INFO: ==2523== Lock acquired, processing the job...
[2025-02-09 18:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:57:01] Production.INFO: neon service started
[2025-02-09 18:57:01] Production.INFO: neon service started
[2025-02-09 18:57:01] Production.INFO: ==2523== Releasing lock...
[2025-02-09 18:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:57:01] Production.INFO: ==2525== Lock acquired, processing the job...
[2025-02-09 13:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:57:02] Production.INFO: ==2525== Releasing lock...
[2025-02-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:57:02] Production.INFO: ==2527== Lock acquired, processing the job...
[2025-02-09 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:57:02] Production.INFO: ==2527== Releasing lock...
[2025-02-09 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:57:03] Production.INFO: ==2537== Lock acquired, processing the job...
[2025-02-09 13:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:57:03] Production.INFO: ==2540== Lock acquired, processing the job...
[2025-02-09 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:57:03] Production.INFO: ==2529== Lock acquired, processing the job...
[2025-02-09 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:57:03] Production.INFO: ==2531== Lock acquired, processing the job...
[2025-02-09 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:57:03] Production.INFO: ==2533== Lock acquired, processing the job...
[2025-02-09 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:57:03] Production.INFO: count ==21
[2025-02-09 13:57:03] Production.INFO: ==2535== Lock acquired, processing the job...
[2025-02-09 13:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:57:03] Production.INFO: count ==21
[2025-02-09 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437507') start
[2025-02-09 13:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437507') end
[2025-02-09 13:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:57:03] Production.INFO: 1
[2025-02-09 13:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:57:03] Production.INFO: Account Balance Start.
[2025-02-09 13:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:57:03] Production.INFO: 117
[2025-02-09 13:57:03] Production.ERROR: done
[2025-02-09 13:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:57:03] Production.INFO: ==2540== Releasing lock...
[2025-02-09 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:57:03] Production.ERROR: done
[2025-02-09 13:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:57:03] Production.INFO: Total Charge 0
[2025-02-09 13:57:03] Production.INFO: CreateAllLog End
[2025-02-09 13:57:03] Production.INFO: ==2531== Releasing lock...
[2025-02-09 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:57:04] Production.INFO: Account Balance End.
[2025-02-09 13:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:57:04] Production.INFO: ==2535== Releasing lock...
[2025-02-09 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:57:04
[end_date_ymd] => 2025-02-09 13:57:04
[RateCDR] => 1
)
[2025-02-09 13:57:04] 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-02-09 10:57:04' and `end` < '2025-02-09 13:57:04'
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-02-09 13:57:12] Production.ERROR: CronJobId end10
[2025-02-09 13:57:12] Production.INFO: ==2533== Releasing lock...
[2025-02-09 13:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:57:13] Production.INFO: call_cost start
[2025-02-09 13:57:13] Production.INFO: call_cost end
[2025-02-09 13:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:57:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:57:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:57:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:57:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:57:14] Production.INFO: ==2529== Releasing lock...
[2025-02-09 13:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:57:18] Production.INFO: count ==1531
[2025-02-09 13:57:18] Production.ERROR: pbx CDR StartTime 2025-02-09 10:57:04 - End Time 2025-02-09 13:57:04
[2025-02-09 13:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437511', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437511', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437511', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437511', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:57:18] Production.INFO: ProcessCDR(1,14437511,1,1,2)
[2025-02-09 13:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437511', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437511', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:57:22] Production.INFO: ==2537== Releasing lock...
[2025-02-09 13:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:57:22] Production.INFO: 40 MB #Memory Used#
[2025-02-09 18:58:02] Production.INFO: ==2608== Lock acquired, processing the job...
[2025-02-09 18:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:58:02] Production.INFO: neon service started
[2025-02-09 18:58:02] Production.INFO: neon service started
[2025-02-09 18:58:02] Production.INFO: ==2608== Releasing lock...
[2025-02-09 18:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:58:02] Production.INFO: ==2610== Lock acquired, processing the job...
[2025-02-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 13:58:02] Production.INFO: ==2610== Releasing lock...
[2025-02-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 18:58:02] Production.INFO: ==2612== Lock acquired, processing the job...
[2025-02-09 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:58:03] Production.INFO: ==2612== Releasing lock...
[2025-02-09 18:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:58:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:58:03] Production.INFO: ==2617== Lock acquired, processing the job...
[2025-02-09 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:58:03] Production.INFO: ==2615== Lock acquired, processing the job...
[2025-02-09 13:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:58:03] Production.INFO: ==2619== Lock acquired, processing the job...
[2025-02-09 13:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:58:03] Production.INFO: ==2625== Lock acquired, processing the job...
[2025-02-09 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:58:03] Production.INFO: ==2621== Lock acquired, processing the job...
[2025-02-09 13:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:58:04] Production.INFO: ==2623== Lock acquired, processing the job...
[2025-02-09 13:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:58:04] Production.INFO: ==2617== Releasing lock...
[2025-02-09 13:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:58:04] Production.INFO: Account Balance Start.
[2025-02-09 13:58:04] Production.INFO: CreateAllLog Start
[2025-02-09 13:58:04] Production.INFO: 117
[2025-02-09 13:58:04] Production.INFO: Date 2025-02-08
[2025-02-09 13:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:58:04] Production.INFO: Date 2025-02-09
[2025-02-09 13:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 13:58:04] Production.INFO: count ==21
[2025-02-09 13:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:58:04] Production.INFO: count ==21
[2025-02-09 13:58:04] Production.INFO: Total Charge 0
[2025-02-09 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437514') start
[2025-02-09 13:58:04] Production.INFO: CreateAllLog End
[2025-02-09 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437514') end
[2025-02-09 13:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:58:04] Production.INFO: 1
[2025-02-09 13:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:58:04] Production.ERROR: done
[2025-02-09 13:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:58:04] Production.INFO: ==2625== Releasing lock...
[2025-02-09 13:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:58:04] Production.ERROR: done
[2025-02-09 13:58:04] Production.INFO: Account Balance End.
[2025-02-09 13:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:58:04] Production.INFO: ==2621== Releasing lock...
[2025-02-09 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:58:05
[end_date_ymd] => 2025-02-09 13:58:05
[RateCDR] => 1
)
[2025-02-09 13:58: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` >= '2025-02-09 10:58:05' and `end` < '2025-02-09 13:58: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 ,'')
[2025-02-09 13:58:12] Production.ERROR: CronJobId end10
[2025-02-09 13:58:12] Production.INFO: ==2619== Releasing lock...
[2025-02-09 13:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:58:14] Production.INFO: call_cost start
[2025-02-09 13:58:14] Production.INFO: call_cost end
[2025-02-09 13:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:58:15] Production.INFO: ==2615== Releasing lock...
[2025-02-09 13:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:58:19] Production.INFO: count ==1534
[2025-02-09 13:58:19] Production.ERROR: pbx CDR StartTime 2025-02-09 10:58:05 - End Time 2025-02-09 13:58:05
[2025-02-09 13:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437516', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437516', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437516', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437516', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:58:19] Production.INFO: ProcessCDR(1,14437516,1,1,2)
[2025-02-09 13:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437516', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437516', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:58:22] Production.INFO: ==2623== Releasing lock...
[2025-02-09 13:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:58:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 18:59:01] Production.INFO: ==2695== Lock acquired, processing the job...
[2025-02-09 18:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 18:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 18:59:01] Production.INFO: neon service started
[2025-02-09 18:59:01] Production.INFO: neon service started
[2025-02-09 18:59:01] Production.INFO: ==2695== Releasing lock...
[2025-02-09 18:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 18:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 13:59:02] Production.INFO: ==2698== Lock acquired, processing the job...
[2025-02-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 18:59:02] Production.INFO: ==2700== Lock acquired, processing the job...
[2025-02-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 18:59:02] Production.INFO: ==2700== Releasing lock...
[2025-02-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 18:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 13:59:02] Production.INFO: ==2698== Releasing lock...
[2025-02-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 13:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 13:59:03] Production.INFO: ==2702== Lock acquired, processing the job...
[2025-02-09 13:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 13:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 13:59:03] Production.INFO: ==2712== Lock acquired, processing the job...
[2025-02-09 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 13:59:03] Production.INFO: ==2704== Lock acquired, processing the job...
[2025-02-09 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 13:59:03] Production.INFO: ==2706== Lock acquired, processing the job...
[2025-02-09 13:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 13:59:03] Production.INFO: ==2708== Lock acquired, processing the job...
[2025-02-09 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 13:59:03] Production.INFO: ==2710== Lock acquired, processing the job...
[2025-02-09 13:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 13:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 13:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 13:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 13:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 13:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:59:03] Production.INFO: Account Balance Start.
[2025-02-09 13:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 13:59:03] Production.INFO: 117
[2025-02-09 13:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 13:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 13:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:59:03] Production.INFO: count ==21
[2025-02-09 13:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 13:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 13:59:03] Production.INFO: count ==21
[2025-02-09 13:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437519') start
[2025-02-09 13:59:04] Production.INFO: ==2704== Releasing lock...
[2025-02-09 13:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 13:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 13:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437519') end
[2025-02-09 13:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 13:59:04] Production.INFO: 1
[2025-02-09 13:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 13:59:04] Production.INFO: Total Charge 0
[2025-02-09 13:59:04] Production.INFO: CreateAllLog End
[2025-02-09 13:59:04] Production.INFO: ==2712== Releasing lock...
[2025-02-09 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 13:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 13:59:04] Production.ERROR: done
[2025-02-09 13:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 13:59:04] Production.ERROR: done
[2025-02-09 13:59:04] Production.INFO: Account Balance End.
[2025-02-09 13:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 13:59:04] Production.INFO: ==2708== Releasing lock...
[2025-02-09 13:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 13:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 13:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 10:59:05
[end_date_ymd] => 2025-02-09 13:59:05
[RateCDR] => 1
)
[2025-02-09 13:59: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` >= '2025-02-09 10:59:05' and `end` < '2025-02-09 13:59: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 ,'')
[2025-02-09 13:59:12] Production.ERROR: CronJobId end10
[2025-02-09 13:59:12] Production.INFO: ==2706== Releasing lock...
[2025-02-09 13:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 13:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 13:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 13:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 13:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 13:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 13:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 13:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 13:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 13:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 13:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 13:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 13:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 13:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 13:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 13:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 13:59:13] Production.INFO: call_cost start
[2025-02-09 13:59:13] Production.INFO: call_cost end
[2025-02-09 13:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 13:59:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 13:59:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 13:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 13:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 13:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 13:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 13:59:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 13:59:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 13:59:14] Production.INFO: ==2702== Releasing lock...
[2025-02-09 13:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 13:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 13:59:19] Production.INFO: count ==1538
[2025-02-09 13:59:20] Production.ERROR: pbx CDR StartTime 2025-02-09 10:59:05 - End Time 2025-02-09 13:59:05
[2025-02-09 13:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437521', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437521', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437521', 'tblTempVendorCDR_20' ) start
[2025-02-09 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437521', 'tblTempVendorCDR_20' ) end
[2025-02-09 13:59:20] Production.INFO: ProcessCDR(1,14437521,1,1,2)
[2025-02-09 13:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 13:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 13:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437521', 'tblTempUsageDetail_20' ) start
[2025-02-09 13:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437521', 'tblTempUsageDetail_20' ) end
[2025-02-09 13:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 13:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 13:59:23] Production.INFO: ==2710== Releasing lock...
[2025-02-09 13:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 13:59:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:00:02] Production.INFO: ==2782== Lock acquired, processing the job...
[2025-02-09 19:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:00:02] Production.INFO: neon service started
[2025-02-09 19:00:02] Production.INFO: neon service started
[2025-02-09 19:00:02] Production.INFO: ==2782== Releasing lock...
[2025-02-09 19:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:00:02] Production.INFO: ==2785== Lock acquired, processing the job...
[2025-02-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:00:02] Production.INFO: ==2785== Releasing lock...
[2025-02-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:00:02] Production.INFO: ==2787== Lock acquired, processing the job...
[2025-02-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:00:03] Production.INFO: ==2787== Releasing lock...
[2025-02-09 19:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:00:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:00:03] Production.INFO: ==2790== Lock acquired, processing the job...
[2025-02-09 14:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 14:00:04] Production.INFO: ==2794== Lock acquired, processing the job...
[2025-02-09 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 14:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 14:00:04] Production.INFO: ==2790== Releasing lock...
[2025-02-09 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 14:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 14:00:04] Production.INFO: ==2796== Lock acquired, processing the job...
[2025-02-09 14:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:00:04] Production.INFO: ==2792== Lock acquired, processing the job...
[2025-02-09 14:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:00:04] Production.INFO: ==2802== Lock acquired, processing the job...
[2025-02-09 14:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 14:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:00:04] Production.INFO: ==2798== Lock acquired, processing the job...
[2025-02-09 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:00:04] Production.INFO: ==2800== Lock acquired, processing the job...
[2025-02-09 14:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:00:04] Production.INFO: ==2804== Lock acquired, processing the job...
[2025-02-09 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:00:04] Production.INFO: Account Balance Start.
[2025-02-09 14:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:00:04] Production.INFO: 117
[2025-02-09 14:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:00:04] Production.INFO: ==2794== Releasing lock...
[2025-02-09 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:00:04] Production.INFO: count ==21
[2025-02-09 14:00:04] Production.ERROR: done
[2025-02-09 14:00:04] Production.INFO: Total Charge 0
[2025-02-09 14:00:04] Production.ERROR: done
[2025-02-09 14:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:00:04] Production.INFO: count ==21
[2025-02-09 14:00:04] Production.INFO: CreateAllLog End
[2025-02-09 14:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 14:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437526', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437525') start
[2025-02-09 14:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437525') end
[2025-02-09 14:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:00:05] Production.INFO: 1
[2025-02-09 14:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:00:05] Production.ERROR: done
[2025-02-09 14:00:05] Production.INFO: ==2804== Releasing lock...
[2025-02-09 14:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:00:05] Production.INFO: Account Balance End.
[2025-02-09 14:00:05] Production.ERROR: CronJobId end 12
[2025-02-09 14:00:05] Production.INFO: ==2798== Releasing lock...
[2025-02-09 14:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:00:06
[end_date_ymd] => 2025-02-09 14:00:06
[RateCDR] => 1
)
[2025-02-09 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-02-09 11:00:06' and `end` < '2025-02-09 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-02-09 14:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437526', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 14:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 14:00:09] Production.INFO: ProcessCDR(1,14437526,1,1,2)
[2025-02-09 14:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437526,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437526,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:00:09] Production.INFO: ==2802== Releasing lock...
[2025-02-09 14:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 14:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 14:00:15] Production.ERROR: CronJobId end10
[2025-02-09 14:00:15] Production.INFO: ==2796== Releasing lock...
[2025-02-09 14:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:00:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:00:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:00:17] Production.INFO: call_cost start
[2025-02-09 14:00:17] Production.INFO: call_cost end
[2025-02-09 14:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:00:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:00:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:00:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:00:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:00:18] Production.INFO: ==2792== Releasing lock...
[2025-02-09 14:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:00:19] Production.INFO: count ==1540
[2025-02-09 14:00:20] Production.ERROR: pbx CDR StartTime 2025-02-09 11:00:06 - End Time 2025-02-09 14:00:06
[2025-02-09 14:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437527', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437527', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437527', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437527', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:00:20] Production.INFO: ProcessCDR(1,14437527,1,1,2)
[2025-02-09 14:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437527', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437527', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:00:24] Production.INFO: ==2800== Releasing lock...
[2025-02-09 14:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:00:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:01:01] Production.INFO: ==2912== Lock acquired, processing the job...
[2025-02-09 19:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:01:01] Production.INFO: neon service started
[2025-02-09 19:01:01] Production.INFO: neon service started
[2025-02-09 19:01:01] Production.INFO: ==2912== Releasing lock...
[2025-02-09 19:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:01:02] Production.INFO: ==2927== Lock acquired, processing the job...
[2025-02-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:01:02] Production.INFO: ==2927== Releasing lock...
[2025-02-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:01:02] Production.INFO: ==2929== Lock acquired, processing the job...
[2025-02-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:01:02] Production.INFO: ==2929== Releasing lock...
[2025-02-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:01:03] Production.INFO: ==2940== Lock acquired, processing the job...
[2025-02-09 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:01:03] Production.INFO: ==2942== Lock acquired, processing the job...
[2025-02-09 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:01:03] Production.INFO: ==2932== Lock acquired, processing the job...
[2025-02-09 14:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:01:03] Production.INFO: ==2934== Lock acquired, processing the job...
[2025-02-09 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:01:03] Production.INFO: count ==21
[2025-02-09 14:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:01:03] Production.INFO: count ==21
[2025-02-09 14:01:03] Production.INFO: ==2936== Lock acquired, processing the job...
[2025-02-09 14:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:01:03] Production.INFO: ==2938== Lock acquired, processing the job...
[2025-02-09 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437528') start
[2025-02-09 14:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:01:03] Production.INFO: Account Balance Start.
[2025-02-09 14:01:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:01:03] Production.INFO: 117
[2025-02-09 14:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437528') end
[2025-02-09 14:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:01:03] Production.INFO: 1
[2025-02-09 14:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:01:03] Production.ERROR: done
[2025-02-09 14:01:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:01:03] Production.INFO: ==2942== Releasing lock...
[2025-02-09 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:01:04] Production.ERROR: done
[2025-02-09 14:01:04] Production.INFO: ==2934== Releasing lock...
[2025-02-09 14:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:01:04] Production.INFO: Total Charge 0
[2025-02-09 14:01:04] Production.INFO: CreateAllLog End
[2025-02-09 14:01:04] Production.INFO: Account Balance End.
[2025-02-09 14:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:01:04] Production.INFO: ==2938== Releasing lock...
[2025-02-09 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:01:05
[end_date_ymd] => 2025-02-09 14:01:05
[RateCDR] => 1
)
[2025-02-09 14:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 11:01:05' and `end` < '2025-02-09 14:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 14:01:13] Production.ERROR: CronJobId end10
[2025-02-09 14:01:13] Production.INFO: ==2936== Releasing lock...
[2025-02-09 14:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:01:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:01:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:01:15] Production.INFO: call_cost start
[2025-02-09 14:01:15] Production.INFO: call_cost end
[2025-02-09 14:01:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:01:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:01:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:01:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:01:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:01:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:01:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:01:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:01:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:01:16] Production.INFO: ==2932== Releasing lock...
[2025-02-09 14:01:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:01:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:01:18] Production.INFO: count ==1573
[2025-02-09 14:01:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:01:05 - End Time 2025-02-09 14:01:05
[2025-02-09 14:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437532', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437532', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437532', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437532', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:01:18] Production.INFO: ProcessCDR(1,14437532,1,1,2)
[2025-02-09 14:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437532', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437532', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:01:22] Production.INFO: ==2940== Releasing lock...
[2025-02-09 14:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:01:22] Production.INFO: 40 MB #Memory Used#
[2025-02-09 19:02:02] Production.INFO: ==3013== Lock acquired, processing the job...
[2025-02-09 19:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:02:02] Production.INFO: neon service started
[2025-02-09 19:02:02] Production.INFO: neon service started
[2025-02-09 19:02:02] Production.INFO: ==3013== Releasing lock...
[2025-02-09 19:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:02:02] Production.INFO: ==3015== Lock acquired, processing the job...
[2025-02-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:02:02] Production.INFO: ==3015== Releasing lock...
[2025-02-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:02:02] Production.INFO: ==3017== Lock acquired, processing the job...
[2025-02-09 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:02:02] Production.INFO: ==3017== Releasing lock...
[2025-02-09 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:02:03] Production.INFO: ==3026== Lock acquired, processing the job...
[2025-02-09 14:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:02:03] Production.INFO: ==3020== Lock acquired, processing the job...
[2025-02-09 14:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:02:03] Production.INFO: ==3022== Lock acquired, processing the job...
[2025-02-09 14:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:02:03] Production.INFO: ==3024== Lock acquired, processing the job...
[2025-02-09 14:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:02:03] Production.INFO: Account Balance Start.
[2025-02-09 14:02:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:02:03] Production.INFO: 117
[2025-02-09 14:02:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:02:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:02:03] Production.INFO: ==3028== Lock acquired, processing the job...
[2025-02-09 14:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:02:04] Production.INFO: Total Charge 0
[2025-02-09 14:02:04] Production.INFO: CreateAllLog End
[2025-02-09 14:02:04] Production.INFO: ==3030== Lock acquired, processing the job...
[2025-02-09 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:02:04] Production.INFO: ==3022== Releasing lock...
[2025-02-09 14:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:02:04] Production.ERROR: done
[2025-02-09 14:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:02:04] Production.INFO: Account Balance End.
[2025-02-09 14:02:04] Production.INFO: count ==21
[2025-02-09 14:02:04] Production.ERROR: done
[2025-02-09 14:02:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:02:04] Production.INFO: ==3026== Releasing lock...
[2025-02-09 14:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:02:04] Production.INFO: count ==21
[2025-02-09 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437536') start
[2025-02-09 14:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437536') end
[2025-02-09 14:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:02:04] Production.INFO: 1
[2025-02-09 14:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:02:04] Production.INFO: ==3030== Releasing lock...
[2025-02-09 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:02:05
[end_date_ymd] => 2025-02-09 14:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 11:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 14:02:12] Production.ERROR: CronJobId end10
[2025-02-09 14:02:12] Production.INFO: ==3024== Releasing lock...
[2025-02-09 14:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:02:14] Production.INFO: call_cost start
[2025-02-09 14:02:14] Production.INFO: call_cost end
[2025-02-09 14:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:02:15] Production.INFO: ==3020== Releasing lock...
[2025-02-09 14:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:02:19] Production.INFO: count ==1585
[2025-02-09 14:02:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:02:05 - End Time 2025-02-09 14:02:05
[2025-02-09 14:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437537', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437537', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437537', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437537', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:02:19] Production.INFO: ProcessCDR(1,14437537,1,1,2)
[2025-02-09 14:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437537', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437537', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:02:24] Production.INFO: ==3028== Releasing lock...
[2025-02-09 14:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:02:24] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 19:03:01] Production.INFO: ==3101== Lock acquired, processing the job...
[2025-02-09 19:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:03:01] Production.INFO: neon service started
[2025-02-09 19:03:01] Production.INFO: neon service started
[2025-02-09 19:03:01] Production.INFO: ==3101== Releasing lock...
[2025-02-09 19:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:03:02] Production.INFO: ==3103== Lock acquired, processing the job...
[2025-02-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:03:02] Production.INFO: ==3105== Lock acquired, processing the job...
[2025-02-09 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:03:02] Production.INFO: ==3105== Releasing lock...
[2025-02-09 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:03:02] Production.INFO: ==3103== Releasing lock...
[2025-02-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:03:03] Production.INFO: ==3109== Lock acquired, processing the job...
[2025-02-09 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:03:03] Production.INFO: ==3111== Lock acquired, processing the job...
[2025-02-09 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:03:03] Production.INFO: ==3117== Lock acquired, processing the job...
[2025-02-09 14:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:03:03] Production.INFO: ==3113== Lock acquired, processing the job...
[2025-02-09 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:03:03] Production.INFO: ==3115== Lock acquired, processing the job...
[2025-02-09 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:03:03] Production.INFO: ==3111== Releasing lock...
[2025-02-09 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:03:03] Production.INFO: Account Balance Start.
[2025-02-09 14:03:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:03:03] Production.INFO: 117
[2025-02-09 14:03:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:03:03] Production.INFO: ==3119== Lock acquired, processing the job...
[2025-02-09 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:03:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:03:03] Production.INFO: Total Charge 0
[2025-02-09 14:03:03] Production.INFO: CreateAllLog End
[2025-02-09 14:03:03] Production.ERROR: done
[2025-02-09 14:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:03:03] Production.INFO: count ==21
[2025-02-09 14:03:04] Production.ERROR: done
[2025-02-09 14:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:03:04] Production.INFO: count ==21
[2025-02-09 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437541') start
[2025-02-09 14:03:04] Production.INFO: Account Balance End.
[2025-02-09 14:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:03:04] Production.INFO: ==3115== Releasing lock...
[2025-02-09 14:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437541') end
[2025-02-09 14:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:03:04] Production.INFO: 1
[2025-02-09 14:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:03:04] Production.INFO: ==3119== Releasing lock...
[2025-02-09 14:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:03:05
[end_date_ymd] => 2025-02-09 14:03:05
[RateCDR] => 1
)
[2025-02-09 14:03: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` >= '2025-02-09 11:03:05' and `end` < '2025-02-09 14:03: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 ,'')
[2025-02-09 14:03:12] Production.ERROR: CronJobId end10
[2025-02-09 14:03:12] Production.INFO: ==3113== Releasing lock...
[2025-02-09 14:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:03:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:03:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:03:14] Production.INFO: call_cost start
[2025-02-09 14:03:14] Production.INFO: call_cost end
[2025-02-09 14:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:03:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:03:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:03:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:03:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:03:15] Production.INFO: ==3109== Releasing lock...
[2025-02-09 14:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:03:18] Production.INFO: count ==1589
[2025-02-09 14:03:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:03:05 - End Time 2025-02-09 14:03:05
[2025-02-09 14:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437542', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437542', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437542', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437542', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:03:18] Production.INFO: ProcessCDR(1,14437542,1,1,2)
[2025-02-09 14:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437542', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437542', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:03:23] Production.INFO: ==3117== Releasing lock...
[2025-02-09 14:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:03:23] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 19:04:01] Production.INFO: ==3190== Lock acquired, processing the job...
[2025-02-09 19:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:04:02] Production.INFO: neon service started
[2025-02-09 19:04:02] Production.INFO: neon service started
[2025-02-09 19:04:02] Production.INFO: ==3190== Releasing lock...
[2025-02-09 19:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:04:02] Production.INFO: ==3192== Lock acquired, processing the job...
[2025-02-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:04:02] Production.INFO: ==3194== Lock acquired, processing the job...
[2025-02-09 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:04:02] Production.INFO: ==3194== Releasing lock...
[2025-02-09 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:04:03] Production.INFO: ==3192== Releasing lock...
[2025-02-09 14:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:04:03] Production.INFO: ==3200== Lock acquired, processing the job...
[2025-02-09 14:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:04:03] Production.INFO: ==3204== Lock acquired, processing the job...
[2025-02-09 14:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:04:04] Production.INFO: ==3198== Lock acquired, processing the job...
[2025-02-09 14:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:04:04] Production.INFO: Account Balance Start.
[2025-02-09 14:04:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:04:04] Production.INFO: 117
[2025-02-09 14:04:04] Production.INFO: ==3200== Releasing lock...
[2025-02-09 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:04:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:04:04] Production.INFO: ==3202== Lock acquired, processing the job...
[2025-02-09 14:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:04:04] Production.INFO: ==3206== Lock acquired, processing the job...
[2025-02-09 14:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:04:04] Production.INFO: Total Charge 0
[2025-02-09 14:04:04] Production.INFO: ==3208== Lock acquired, processing the job...
[2025-02-09 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:04:04] Production.INFO: CreateAllLog End
[2025-02-09 14:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:04:04] Production.INFO: count ==21
[2025-02-09 14:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:04:04] Production.INFO: count ==21
[2025-02-09 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437546') start
[2025-02-09 14:04:04] Production.ERROR: done
[2025-02-09 14:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:04:04] Production.ERROR: done
[2025-02-09 14:04:04] Production.INFO: Account Balance End.
[2025-02-09 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437546') end
[2025-02-09 14:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:04:04] Production.INFO: 1
[2025-02-09 14:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:04:04] Production.INFO: ==3204== Releasing lock...
[2025-02-09 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:04:04] Production.INFO: ==3208== Releasing lock...
[2025-02-09 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:04:05
[end_date_ymd] => 2025-02-09 14:04:05
[RateCDR] => 1
)
[2025-02-09 14:04: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` >= '2025-02-09 11:04:05' and `end` < '2025-02-09 14:04: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 ,'')
[2025-02-09 14:04:12] Production.ERROR: CronJobId end10
[2025-02-09 14:04:12] Production.INFO: ==3202== Releasing lock...
[2025-02-09 14:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:04:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:04:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:04:14] Production.INFO: call_cost start
[2025-02-09 14:04:14] Production.INFO: call_cost end
[2025-02-09 14:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:04:15] Production.INFO: ==3198== Releasing lock...
[2025-02-09 14:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:04:18] Production.INFO: count ==1589
[2025-02-09 14:04:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:04:05 - End Time 2025-02-09 14:04:05
[2025-02-09 14:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437547', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437547', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437547', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437547', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:04:19] Production.INFO: ProcessCDR(1,14437547,1,1,2)
[2025-02-09 14:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437547', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437547', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:04:22] Production.INFO: ==3206== Releasing lock...
[2025-02-09 14:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:04:22] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 19:05:01] Production.INFO: ==3278== Lock acquired, processing the job...
[2025-02-09 19:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:05:01] Production.INFO: neon service started
[2025-02-09 19:05:01] Production.INFO: neon service started
[2025-02-09 19:05:01] Production.INFO: ==3278== Releasing lock...
[2025-02-09 19:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:05:01] Production.INFO: ==3280== Lock acquired, processing the job...
[2025-02-09 14:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:05:02] Production.INFO: ==3280== Releasing lock...
[2025-02-09 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:05:02] Production.INFO: ==3282== Lock acquired, processing the job...
[2025-02-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:05:02] Production.INFO: ==3282== Releasing lock...
[2025-02-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:05:03] Production.INFO: ==3293== Lock acquired, processing the job...
[2025-02-09 14:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:05:03] Production.INFO: ==3295== Lock acquired, processing the job...
[2025-02-09 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:05:03] Production.INFO: ==3284== Lock acquired, processing the job...
[2025-02-09 14:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:05:03] Production.INFO: ==3286== Lock acquired, processing the job...
[2025-02-09 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:05:03] Production.INFO: ==3288== Lock acquired, processing the job...
[2025-02-09 14:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:05:03] Production.INFO: ==3291== Lock acquired, processing the job...
[2025-02-09 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:05:03] Production.INFO: count ==21
[2025-02-09 14:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:05:03] Production.INFO: count ==21
[2025-02-09 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437548') start
[2025-02-09 14:05:03] Production.ERROR: done
[2025-02-09 14:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437548') end
[2025-02-09 14:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:05:03] Production.INFO: 1
[2025-02-09 14:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:05:03] Production.INFO: Account Balance Start.
[2025-02-09 14:05:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:05:03] Production.INFO: 117
[2025-02-09 14:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:05:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:05:03] Production.INFO: ==3295== Releasing lock...
[2025-02-09 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:05:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:05:03] Production.INFO: Total Charge 0
[2025-02-09 14:05:03] Production.INFO: CreateAllLog End
[2025-02-09 14:05:03] Production.ERROR: done
[2025-02-09 14:05:03] Production.INFO: ==3286== Releasing lock...
[2025-02-09 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:05:03] Production.INFO: Account Balance End.
[2025-02-09 14:05:03] Production.ERROR: CronJobId end 12
[2025-02-09 14:05:03] Production.INFO: ==3291== Releasing lock...
[2025-02-09 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:05:04
[end_date_ymd] => 2025-02-09 14:05:04
[RateCDR] => 1
)
[2025-02-09 14:05:04] 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-02-09 11:05:04' and `end` < '2025-02-09 14:05:04'
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-02-09 14:05:12] Production.ERROR: CronJobId end10
[2025-02-09 14:05:12] Production.INFO: ==3288== Releasing lock...
[2025-02-09 14:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:05:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:05:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:05:13] Production.INFO: call_cost start
[2025-02-09 14:05:13] Production.INFO: call_cost end
[2025-02-09 14:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:05:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:05:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:05:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:05:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:05:14] Production.INFO: ==3284== Releasing lock...
[2025-02-09 14:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:05:18] Production.INFO: count ==1585
[2025-02-09 14:05:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:05:04 - End Time 2025-02-09 14:05:04
[2025-02-09 14:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437552', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437552', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437552', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437552', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:05:19] Production.INFO: ProcessCDR(1,14437552,1,1,2)
[2025-02-09 14:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437552', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437552', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:05:22] Production.INFO: ==3293== Releasing lock...
[2025-02-09 14:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:05:22] Production.INFO: 40.25 MB #Memory Used#
[2025-02-09 19:06:01] Production.INFO: ==3364== Lock acquired, processing the job...
[2025-02-09 19:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:06:01] Production.INFO: neon service started
[2025-02-09 19:06:01] Production.INFO: neon service started
[2025-02-09 19:06:01] Production.INFO: ==3364== Releasing lock...
[2025-02-09 19:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:06:02] Production.INFO: ==3366== Lock acquired, processing the job...
[2025-02-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:06:02] Production.INFO: ==3366== Releasing lock...
[2025-02-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:06:02] Production.INFO: ==3368== Lock acquired, processing the job...
[2025-02-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:06:02] Production.INFO: ==3368== Releasing lock...
[2025-02-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:06:03] Production.INFO: ==3379== Lock acquired, processing the job...
[2025-02-09 14:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:06:03] Production.INFO: ==3371== Lock acquired, processing the job...
[2025-02-09 14:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:06:03] Production.INFO: ==3373== Lock acquired, processing the job...
[2025-02-09 14:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:06:03] Production.INFO: ==3375== Lock acquired, processing the job...
[2025-02-09 14:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:06:04] Production.INFO: ==3377== Lock acquired, processing the job...
[2025-02-09 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:06:04] Production.INFO: ==3381== Lock acquired, processing the job...
[2025-02-09 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:06:04] Production.INFO: Account Balance Start.
[2025-02-09 14:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:06:04] Production.INFO: 117
[2025-02-09 14:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:06:04] Production.INFO: count ==21
[2025-02-09 14:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:06:04] Production.INFO: count ==21
[2025-02-09 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437556') start
[2025-02-09 14:06:04] Production.INFO: ==3373== Releasing lock...
[2025-02-09 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:06:04] Production.INFO: Total Charge 0
[2025-02-09 14:06:04] Production.INFO: CreateAllLog End
[2025-02-09 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437556') end
[2025-02-09 14:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:06:04] Production.INFO: 1
[2025-02-09 14:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:06:04] Production.ERROR: done
[2025-02-09 14:06:04] Production.INFO: ==3381== Releasing lock...
[2025-02-09 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:06:04] Production.INFO: Account Balance End.
[2025-02-09 14:06:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:06:04] Production.INFO: ==3377== Releasing lock...
[2025-02-09 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:06:04] Production.ERROR: done
[2025-02-09 14:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:06:05
[end_date_ymd] => 2025-02-09 14:06:05
[RateCDR] => 1
)
[2025-02-09 14:06: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` >= '2025-02-09 11:06:05' and `end` < '2025-02-09 14:06: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 ,'')
[2025-02-09 14:06:12] Production.ERROR: CronJobId end10
[2025-02-09 14:06:12] Production.INFO: ==3375== Releasing lock...
[2025-02-09 14:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:06:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:06:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:06:15] Production.INFO: call_cost start
[2025-02-09 14:06:15] Production.INFO: call_cost end
[2025-02-09 14:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:06:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:06:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:06:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:06:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:06:15] Production.INFO: ==3371== Releasing lock...
[2025-02-09 14:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:06:20] Production.INFO: count ==1581
[2025-02-09 14:06:20] Production.ERROR: pbx CDR StartTime 2025-02-09 11:06:05 - End Time 2025-02-09 14:06:05
[2025-02-09 14:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437557', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437557', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437557', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437557', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:06:20] Production.INFO: ProcessCDR(1,14437557,1,1,2)
[2025-02-09 14:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:06:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:06:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:06:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437557', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437557', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:06:25] Production.INFO: ==3379== Releasing lock...
[2025-02-09 14:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:06:25] Production.INFO: 40 MB #Memory Used#
[2025-02-09 19:07:02] Production.INFO: ==3453== Lock acquired, processing the job...
[2025-02-09 19:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:07:02] Production.INFO: neon service started
[2025-02-09 19:07:02] Production.INFO: neon service started
[2025-02-09 19:07:02] Production.INFO: ==3453== Releasing lock...
[2025-02-09 19:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:07:02] Production.INFO: ==3456== Lock acquired, processing the job...
[2025-02-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:07:02] Production.INFO: ==3456== Releasing lock...
[2025-02-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:07:03] Production.INFO: ==3458== Lock acquired, processing the job...
[2025-02-09 19:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:07:03] Production.INFO: ==3458== Releasing lock...
[2025-02-09 19:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:07:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:07:03] Production.INFO: ==3464== Lock acquired, processing the job...
[2025-02-09 14:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:07:03] Production.INFO: ==3468== Lock acquired, processing the job...
[2025-02-09 14:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:07:04] Production.INFO: ==3460== Lock acquired, processing the job...
[2025-02-09 14:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:07:04] Production.INFO: ==3462== Lock acquired, processing the job...
[2025-02-09 14:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:07:04] Production.INFO: ==3466== Lock acquired, processing the job...
[2025-02-09 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:07:04] Production.INFO: ==3470== Lock acquired, processing the job...
[2025-02-09 14:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:07:04] Production.ERROR: done
[2025-02-09 14:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:07:04] Production.INFO: Account Balance Start.
[2025-02-09 14:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:07:04] Production.INFO: 117
[2025-02-09 14:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:07:04] Production.INFO: count ==21
[2025-02-09 14:07:04] Production.INFO: ==3462== Releasing lock...
[2025-02-09 14:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:07:04] Production.INFO: count ==21
[2025-02-09 14:07:04] Production.ERROR: done
[2025-02-09 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437561') start
[2025-02-09 14:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:07:04] Production.INFO: Total Charge 0
[2025-02-09 14:07:04] Production.INFO: CreateAllLog End
[2025-02-09 14:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437561') end
[2025-02-09 14:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:07:04] Production.INFO: 1
[2025-02-09 14:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:07:04] Production.INFO: ==3470== Releasing lock...
[2025-02-09 14:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:07:04] Production.INFO: Account Balance End.
[2025-02-09 14:07:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:07:04] Production.INFO: ==3466== Releasing lock...
[2025-02-09 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:07:05
[end_date_ymd] => 2025-02-09 14:07:05
[RateCDR] => 1
)
[2025-02-09 14:07: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` >= '2025-02-09 11:07:05' and `end` < '2025-02-09 14:07: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 ,'')
[2025-02-09 14:07:13] Production.ERROR: CronJobId end10
[2025-02-09 14:07:13] Production.INFO: ==3464== Releasing lock...
[2025-02-09 14:07:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:07:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:07:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:07:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:07:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:07:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:07:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:07:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:07:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:07:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:07:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:07:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:07:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:07:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:07:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:07:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:07:16] Production.INFO: call_cost start
[2025-02-09 14:07:16] Production.INFO: call_cost end
[2025-02-09 14:07:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:07:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:07:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:07:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:07:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:07:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:07:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:07:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:07:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:07:17] Production.INFO: ==3460== Releasing lock...
[2025-02-09 14:07:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:07:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:07:18] Production.INFO: count ==1565
[2025-02-09 14:07:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:07:05 - End Time 2025-02-09 14:07:05
[2025-02-09 14:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437562', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437562', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437562', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437562', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:07:19] Production.INFO: ProcessCDR(1,14437562,1,1,2)
[2025-02-09 14:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437562', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437562', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:07:22] Production.INFO: ==3468== Releasing lock...
[2025-02-09 14:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:07:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:08:01] Production.INFO: ==3545== Lock acquired, processing the job...
[2025-02-09 19:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:08:01] Production.INFO: neon service started
[2025-02-09 19:08:01] Production.INFO: neon service started
[2025-02-09 19:08:01] Production.INFO: ==3545== Releasing lock...
[2025-02-09 19:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:08:02] Production.INFO: ==3547== Lock acquired, processing the job...
[2025-02-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:08:02] Production.INFO: ==3547== Releasing lock...
[2025-02-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:08:02] Production.INFO: ==3549== Lock acquired, processing the job...
[2025-02-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:08:02] Production.INFO: ==3549== Releasing lock...
[2025-02-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:08:03] Production.INFO: ==3555== Lock acquired, processing the job...
[2025-02-09 14:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:08:03] Production.INFO: ==3551== Lock acquired, processing the job...
[2025-02-09 14:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:08:03] Production.INFO: ==3557== Lock acquired, processing the job...
[2025-02-09 14:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:08:03] Production.INFO: ==3553== Lock acquired, processing the job...
[2025-02-09 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:08:03] Production.INFO: ==3559== Lock acquired, processing the job...
[2025-02-09 14:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:08:03] Production.INFO: ==3561== Lock acquired, processing the job...
[2025-02-09 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:08:03] Production.INFO: Account Balance Start.
[2025-02-09 14:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:08:03] Production.INFO: 117
[2025-02-09 14:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:08:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:08:03] Production.INFO: count ==21
[2025-02-09 14:08:03] Production.INFO: Total Charge 0
[2025-02-09 14:08:03] Production.INFO: CreateAllLog End
[2025-02-09 14:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:08:03] Production.INFO: count ==21
[2025-02-09 14:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437566') start
[2025-02-09 14:08:03] Production.INFO: ==3553== Releasing lock...
[2025-02-09 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437566') end
[2025-02-09 14:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:08:03] Production.INFO: 1
[2025-02-09 14:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:08:04] Production.ERROR: done
[2025-02-09 14:08:04] Production.INFO: ==3561== Releasing lock...
[2025-02-09 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:08:04] Production.INFO: Account Balance End.
[2025-02-09 14:08:04] Production.ERROR: done
[2025-02-09 14:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:08:04] Production.INFO: ==3557== Releasing lock...
[2025-02-09 14:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:08:05
[end_date_ymd] => 2025-02-09 14:08:05
[RateCDR] => 1
)
[2025-02-09 14:08: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` >= '2025-02-09 11:08:05' and `end` < '2025-02-09 14:08: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 ,'')
[2025-02-09 14:08:11] Production.ERROR: CronJobId end10
[2025-02-09 14:08:11] Production.INFO: ==3555== Releasing lock...
[2025-02-09 14:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:08:14] Production.INFO: call_cost start
[2025-02-09 14:08:14] Production.INFO: call_cost end
[2025-02-09 14:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:08:15] Production.INFO: ==3551== Releasing lock...
[2025-02-09 14:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:08:19] Production.INFO: count ==1560
[2025-02-09 14:08:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:08:05 - End Time 2025-02-09 14:08:05
[2025-02-09 14:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437567', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437567', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437567', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437567', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:08:19] Production.INFO: ProcessCDR(1,14437567,1,1,2)
[2025-02-09 14:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437567', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437567', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:08:22] Production.INFO: ==3559== Releasing lock...
[2025-02-09 14:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:08:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:09:02] Production.INFO: ==3631== Lock acquired, processing the job...
[2025-02-09 19:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:09:02] Production.INFO: neon service started
[2025-02-09 19:09:02] Production.INFO: neon service started
[2025-02-09 19:09:02] Production.INFO: ==3631== Releasing lock...
[2025-02-09 19:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:09:02] Production.INFO: ==3633== Lock acquired, processing the job...
[2025-02-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:09:02] Production.INFO: ==3633== Releasing lock...
[2025-02-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:09:03] Production.INFO: ==3635== Lock acquired, processing the job...
[2025-02-09 19:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:09:03] Production.INFO: ==3635== Releasing lock...
[2025-02-09 19:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:09:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:09:03] Production.INFO: ==3644== Lock acquired, processing the job...
[2025-02-09 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:09:03] Production.INFO: ==3648== Lock acquired, processing the job...
[2025-02-09 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:09:04] Production.INFO: Account Balance Start.
[2025-02-09 14:09:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:09:04] Production.INFO: 117
[2025-02-09 14:09:04] Production.INFO: ==3638== Lock acquired, processing the job...
[2025-02-09 14:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:09:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:09:04] Production.INFO: ==3640== Lock acquired, processing the job...
[2025-02-09 14:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:09:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:09:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:09:04] Production.INFO: ==3642== Lock acquired, processing the job...
[2025-02-09 14:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:09:04] Production.INFO: count ==21
[2025-02-09 14:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:09:04] Production.INFO: count ==21
[2025-02-09 14:09:04] Production.INFO: Total Charge 0
[2025-02-09 14:09:04] Production.INFO: CreateAllLog End
[2025-02-09 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437569') start
[2025-02-09 14:09:04] Production.INFO: ==3646== Lock acquired, processing the job...
[2025-02-09 14:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437569') end
[2025-02-09 14:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:09:04] Production.INFO: 1
[2025-02-09 14:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:09:04] Production.INFO: ==3648== Releasing lock...
[2025-02-09 14:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:09:04] Production.INFO: ==3640== Releasing lock...
[2025-02-09 14:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:09:04] Production.INFO: Account Balance End.
[2025-02-09 14:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:09:04] Production.INFO: ==3644== Releasing lock...
[2025-02-09 14:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:09:04] Production.ERROR: done
[2025-02-09 14:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:09:04] Production.ERROR: done
[2025-02-09 14:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:09:05
[end_date_ymd] => 2025-02-09 14:09:05
[RateCDR] => 1
)
[2025-02-09 14:09: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` >= '2025-02-09 11:09:05' and `end` < '2025-02-09 14:09: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 ,'')
[2025-02-09 14:09:12] Production.ERROR: CronJobId end10
[2025-02-09 14:09:12] Production.INFO: ==3642== Releasing lock...
[2025-02-09 14:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:09:14] Production.INFO: call_cost start
[2025-02-09 14:09:14] Production.INFO: call_cost end
[2025-02-09 14:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:09:15] Production.INFO: ==3638== Releasing lock...
[2025-02-09 14:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:09:19] Production.INFO: count ==1560
[2025-02-09 14:09:20] Production.ERROR: pbx CDR StartTime 2025-02-09 11:09:05 - End Time 2025-02-09 14:09:05
[2025-02-09 14:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437572', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437572', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437572', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437572', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:09:20] Production.INFO: ProcessCDR(1,14437572,1,1,2)
[2025-02-09 14:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437572', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437572', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:09:23] Production.INFO: ==3646== Releasing lock...
[2025-02-09 14:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:09:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:10:01] Production.INFO: ==3703== Lock acquired, processing the job...
[2025-02-09 19:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:10:01] Production.INFO: neon service started
[2025-02-09 19:10:01] Production.INFO: neon service started
[2025-02-09 19:10:01] Production.INFO: ==3703== Releasing lock...
[2025-02-09 19:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:10:02] Production.INFO: ==3707== Lock acquired, processing the job...
[2025-02-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:10:02] Production.INFO: ==3707== Releasing lock...
[2025-02-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:10:02] Production.INFO: ==3705== Lock acquired, processing the job...
[2025-02-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:10:02] Production.INFO: ==3705== Releasing lock...
[2025-02-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:10:03] Production.INFO: ==3711== Lock acquired, processing the job...
[2025-02-09 14:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:10:03] Production.INFO: ==3715== Lock acquired, processing the job...
[2025-02-09 14:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:10:03] Production.INFO: ==3717== Lock acquired, processing the job...
[2025-02-09 14:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:10:03] Production.INFO: ==3709== Lock acquired, processing the job...
[2025-02-09 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 14:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 14:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:10:03] Production.ERROR: CronJob PID - 3711
[2025-02-09 14:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 14:10:03] Production.ERROR: CronJob ID - 5
[2025-02-09 14:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 14:10:00
[2025-02-09 14:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:10:03] Production.ERROR: CronJob PID - 3715
[2025-02-09 14:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 14:10:03] Production.ERROR: CronJob ID - 10
[2025-02-09 14:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 14:10:00
[2025-02-09 14:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:10:03] Production.ERROR: CronJob PID - 3717
[2025-02-09 14:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 14:10:03] Production.ERROR: CronJob ID - 12
[2025-02-09 14:10:03] Production.ERROR: CronJob Last Run Time 2025-02-09 14:10:00
[2025-02-09 14:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:10:03] Production.INFO: ==3713== Lock acquired, processing the job...
[2025-02-09 14:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 14:10:03] Production.INFO: ==3709== Releasing lock...
[2025-02-09 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 14:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 14:10:03] Production.INFO: Account Balance Start.
[2025-02-09 14:10:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:10:03] Production.INFO: 117
[2025-02-09 14:10:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:10:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:10:04] Production.INFO: ==3719== Lock acquired, processing the job...
[2025-02-09 14:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:10:04] Production.INFO: Total Charge 0
[2025-02-09 14:10:04] Production.INFO: ==3724== Lock acquired, processing the job...
[2025-02-09 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:10:04] Production.INFO: CreateAllLog End
[2025-02-09 14:10:04] Production.INFO: ==3722== Lock acquired, processing the job...
[2025-02-09 14:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:10:04] Production.INFO: count ==21
[2025-02-09 14:10:04] Production.INFO: Account Balance End.
[2025-02-09 14:10:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:10:04] Production.INFO: ==3717== Releasing lock...
[2025-02-09 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:10:04] Production.INFO: count ==21
[2025-02-09 14:10:04] Production.INFO: ==3713== Releasing lock...
[2025-02-09 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437576') start
[2025-02-09 14:10:04] Production.ERROR: done
[2025-02-09 14:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:10:04] Production.ERROR: done
[2025-02-09 14:10:04] Production.ERROR: done
[2025-02-09 14:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 14:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437578', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437576') end
[2025-02-09 14:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:10:04] Production.INFO: 1
[2025-02-09 14:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:10:04] Production.INFO: ==3724== Releasing lock...
[2025-02-09 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:10:05
[end_date_ymd] => 2025-02-09 14:10:05
[RateCDR] => 1
)
[2025-02-09 14:10: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` >= '2025-02-09 11:10:05' and `end` < '2025-02-09 14:10: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 ,'')
[2025-02-09 14:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437578', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 14:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 14:10:09] Production.INFO: ProcessCDR(1,14437578,1,1,2)
[2025-02-09 14:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437578,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437578,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:10:09] Production.INFO: ==3722== Releasing lock...
[2025-02-09 14:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 14:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 14:10:13] Production.ERROR: CronJobId end10
[2025-02-09 14:10:13] Production.INFO: ==3715== Releasing lock...
[2025-02-09 14:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:10:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:10:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:10:16] Production.INFO: call_cost start
[2025-02-09 14:10:16] Production.INFO: call_cost end
[2025-02-09 14:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:10:17] Production.INFO: ==3711== Releasing lock...
[2025-02-09 14:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:10:18] Production.INFO: count ==1560
[2025-02-09 14:10:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:10:05 - End Time 2025-02-09 14:10:05
[2025-02-09 14:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437577', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437577', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437577', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437577', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:10:19] Production.INFO: ProcessCDR(1,14437577,1,1,2)
[2025-02-09 14:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437577', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437577', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:10:22] Production.INFO: ==3719== Releasing lock...
[2025-02-09 14:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:10:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:11:02] Production.INFO: ==3780== Lock acquired, processing the job...
[2025-02-09 19:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:11:02] Production.INFO: neon service started
[2025-02-09 19:11:02] Production.INFO: neon service started
[2025-02-09 19:11:02] Production.INFO: ==3780== Releasing lock...
[2025-02-09 19:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:11:02] Production.INFO: ==3782== Lock acquired, processing the job...
[2025-02-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:11:02] Production.INFO: ==3782== Releasing lock...
[2025-02-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:11:02] Production.INFO: ==3784== Lock acquired, processing the job...
[2025-02-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:11:03] Production.INFO: ==3784== Releasing lock...
[2025-02-09 19:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:11:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:11:03] Production.INFO: ==3786== Lock acquired, processing the job...
[2025-02-09 14:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:11:03] Production.INFO: ==3790== Lock acquired, processing the job...
[2025-02-09 14:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:11:03] Production.INFO: ==3788== Lock acquired, processing the job...
[2025-02-09 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:11:04] Production.INFO: ==3794== Lock acquired, processing the job...
[2025-02-09 14:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:11:04] Production.INFO: ==3792== Lock acquired, processing the job...
[2025-02-09 14:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:11:04] Production.INFO: ==3796== Lock acquired, processing the job...
[2025-02-09 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:11:04] Production.INFO: Account Balance Start.
[2025-02-09 14:11:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:11:04] Production.INFO: 117
[2025-02-09 14:11:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:11:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:11:04] Production.INFO: Total Charge 0
[2025-02-09 14:11:04] Production.INFO: CreateAllLog End
[2025-02-09 14:11:04] Production.INFO: ==3788== Releasing lock...
[2025-02-09 14:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:11:04] Production.INFO: count ==21
[2025-02-09 14:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:11:04] Production.INFO: count ==21
[2025-02-09 14:11:04] Production.ERROR: done
[2025-02-09 14:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437582') start
[2025-02-09 14:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437582') end
[2025-02-09 14:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:11:04] Production.INFO: 1
[2025-02-09 14:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:11:04] Production.ERROR: done
[2025-02-09 14:11:04] Production.INFO: ==3796== Releasing lock...
[2025-02-09 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:11:04] Production.INFO: Account Balance End.
[2025-02-09 14:11:05] Production.ERROR: CronJobId end 12
[2025-02-09 14:11:05] Production.INFO: ==3792== Releasing lock...
[2025-02-09 14:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:11:05
[end_date_ymd] => 2025-02-09 14:11:05
[RateCDR] => 1
)
[2025-02-09 14:11: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` >= '2025-02-09 11:11:05' and `end` < '2025-02-09 14:11: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 ,'')
[2025-02-09 14:11:12] Production.ERROR: CronJobId end10
[2025-02-09 14:11:12] Production.INFO: ==3790== Releasing lock...
[2025-02-09 14:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:11:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:11:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:11:14] Production.INFO: call_cost start
[2025-02-09 14:11:14] Production.INFO: call_cost end
[2025-02-09 14:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:11:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:11:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:11:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:11:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:11:15] Production.INFO: ==3786== Releasing lock...
[2025-02-09 14:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:11:18] Production.INFO: count ==1552
[2025-02-09 14:11:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:11:05 - End Time 2025-02-09 14:11:05
[2025-02-09 14:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437583', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437583', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437583', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437583', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:11:19] Production.INFO: ProcessCDR(1,14437583,1,1,2)
[2025-02-09 14:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437583', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437583', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:11:22] Production.INFO: ==3794== Releasing lock...
[2025-02-09 14:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:11:22] Production.INFO: 40 MB #Memory Used#
[2025-02-09 19:12:01] Production.INFO: ==3854== Lock acquired, processing the job...
[2025-02-09 19:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:12:01] Production.INFO: neon service started
[2025-02-09 19:12:01] Production.INFO: neon service started
[2025-02-09 19:12:01] Production.INFO: ==3854== Releasing lock...
[2025-02-09 19:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:12:01] Production.INFO: ==3856== Lock acquired, processing the job...
[2025-02-09 14:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:12:02] Production.INFO: ==3856== Releasing lock...
[2025-02-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:12:02] Production.INFO: ==3858== Lock acquired, processing the job...
[2025-02-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:12:02] Production.INFO: ==3858== Releasing lock...
[2025-02-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:12:03] Production.INFO: ==3863== Lock acquired, processing the job...
[2025-02-09 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:12:03] Production.INFO: ==3869== Lock acquired, processing the job...
[2025-02-09 14:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:12:03] Production.INFO: ==3861== Lock acquired, processing the job...
[2025-02-09 14:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:12:03] Production.INFO: ==3865== Lock acquired, processing the job...
[2025-02-09 14:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:12:03] Production.ERROR: done
[2025-02-09 14:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:12:03] Production.INFO: ==3863== Releasing lock...
[2025-02-09 14:12:03] Production.INFO: ==3867== Lock acquired, processing the job...
[2025-02-09 14:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:12:03] Production.INFO: ==3871== Lock acquired, processing the job...
[2025-02-09 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:12:03] Production.INFO: Account Balance Start.
[2025-02-09 14:12:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:12:03] Production.INFO: 117
[2025-02-09 14:12:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:12:03] Production.ERROR: done
[2025-02-09 14:12:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:12:03] Production.INFO: Total Charge 0
[2025-02-09 14:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:12:03] Production.INFO: CreateAllLog End
[2025-02-09 14:12:03] Production.INFO: count ==21
[2025-02-09 14:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:12:03] Production.INFO: count ==21
[2025-02-09 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437587') start
[2025-02-09 14:12:04] Production.INFO: Account Balance End.
[2025-02-09 14:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:12:04] Production.INFO: ==3867== Releasing lock...
[2025-02-09 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437587') end
[2025-02-09 14:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:12:04] Production.INFO: 1
[2025-02-09 14:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:12:04] Production.INFO: ==3871== Releasing lock...
[2025-02-09 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:12:04
[end_date_ymd] => 2025-02-09 14:12:04
[RateCDR] => 1
)
[2025-02-09 14:12:04] 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-02-09 11:12:04' and `end` < '2025-02-09 14:12:04'
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-02-09 14:12:11] Production.ERROR: CronJobId end10
[2025-02-09 14:12:11] Production.INFO: ==3865== Releasing lock...
[2025-02-09 14:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:12:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:12:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:12:14] Production.INFO: call_cost start
[2025-02-09 14:12:14] Production.INFO: call_cost end
[2025-02-09 14:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:12:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:12:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:12:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:12:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:12:14] Production.INFO: ==3861== Releasing lock...
[2025-02-09 14:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:12:17] Production.INFO: count ==1545
[2025-02-09 14:12:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:12:04 - End Time 2025-02-09 14:12:04
[2025-02-09 14:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437588', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437588', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437588', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437588', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:12:18] Production.INFO: ProcessCDR(1,14437588,1,1,2)
[2025-02-09 14:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437588', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437588', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:12:21] Production.INFO: ==3869== Releasing lock...
[2025-02-09 14:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:12:21] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:13:01] Production.INFO: ==3933== Lock acquired, processing the job...
[2025-02-09 19:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:13:01] Production.INFO: neon service started
[2025-02-09 19:13:02] Production.INFO: neon service started
[2025-02-09 19:13:02] Production.INFO: ==3933== Releasing lock...
[2025-02-09 19:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:13:02] Production.INFO: ==3935== Lock acquired, processing the job...
[2025-02-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:13:02] Production.INFO: ==3935== Releasing lock...
[2025-02-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:13:02] Production.INFO: ==3937== Lock acquired, processing the job...
[2025-02-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:13:02] Production.INFO: ==3937== Releasing lock...
[2025-02-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:13:03] Production.INFO: ==3946== Lock acquired, processing the job...
[2025-02-09 14:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:13:03] Production.INFO: ==3948== Lock acquired, processing the job...
[2025-02-09 14:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:13:03] Production.INFO: Account Balance Start.
[2025-02-09 14:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:13:03] Production.INFO: 117
[2025-02-09 14:13:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:13:03] Production.INFO: ==3940== Lock acquired, processing the job...
[2025-02-09 14:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:13:03] Production.INFO: ==3942== Lock acquired, processing the job...
[2025-02-09 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:13:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:13:03] Production.INFO: Total Charge 0
[2025-02-09 14:13:03] Production.INFO: ==3944== Lock acquired, processing the job...
[2025-02-09 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:13:03] Production.INFO: CreateAllLog End
[2025-02-09 14:13:03] Production.INFO: ==3950== Lock acquired, processing the job...
[2025-02-09 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:13:03] Production.INFO: Account Balance End.
[2025-02-09 14:13:03] Production.INFO: count ==21
[2025-02-09 14:13:03] Production.ERROR: done
[2025-02-09 14:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:13:03] Production.ERROR: CronJobId end 12
[2025-02-09 14:13:03] Production.INFO: ==3946== Releasing lock...
[2025-02-09 14:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:13:03] Production.INFO: count ==21
[2025-02-09 14:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437592') start
[2025-02-09 14:13:04] Production.ERROR: done
[2025-02-09 14:13:04] Production.INFO: ==3942== Releasing lock...
[2025-02-09 14:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437592') end
[2025-02-09 14:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:13:04] Production.INFO: 1
[2025-02-09 14:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:13:04] Production.INFO: ==3950== Releasing lock...
[2025-02-09 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:13:05
[end_date_ymd] => 2025-02-09 14:13:05
[RateCDR] => 1
)
[2025-02-09 14:13: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` >= '2025-02-09 11:13:05' and `end` < '2025-02-09 14:13: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 ,'')
[2025-02-09 14:13:12] Production.ERROR: CronJobId end10
[2025-02-09 14:13:12] Production.INFO: ==3944== Releasing lock...
[2025-02-09 14:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:13:14] Production.INFO: call_cost start
[2025-02-09 14:13:14] Production.INFO: call_cost end
[2025-02-09 14:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:13:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:13:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:13:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:13:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:13:14] Production.INFO: ==3940== Releasing lock...
[2025-02-09 14:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:13:18] Production.INFO: count ==1536
[2025-02-09 14:13:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:13:05 - End Time 2025-02-09 14:13:05
[2025-02-09 14:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437593', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437593', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437593', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437593', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:13:18] Production.INFO: ProcessCDR(1,14437593,1,1,2)
[2025-02-09 14:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437593', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437593', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:13:21] Production.INFO: ==3948== Releasing lock...
[2025-02-09 14:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:13:21] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:14:01] Production.INFO: ==4005== Lock acquired, processing the job...
[2025-02-09 19:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:14:01] Production.INFO: neon service started
[2025-02-09 19:14:01] Production.INFO: neon service started
[2025-02-09 19:14:01] Production.INFO: ==4005== Releasing lock...
[2025-02-09 19:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:14:01] Production.INFO: ==4007== Lock acquired, processing the job...
[2025-02-09 14:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:14:02] Production.INFO: ==4007== Releasing lock...
[2025-02-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:14:02] Production.INFO: ==4009== Lock acquired, processing the job...
[2025-02-09 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:14:02] Production.INFO: ==4009== Releasing lock...
[2025-02-09 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:14:02] Production.INFO: ==4016== Lock acquired, processing the job...
[2025-02-09 14:14:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:14:02] Production.INFO: ==4018== Lock acquired, processing the job...
[2025-02-09 14:14:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:14:02] Production.INFO: ==4012== Lock acquired, processing the job...
[2025-02-09 14:14:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:14:02] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:14:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:14:02] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:14:02] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:14:03] Production.INFO: Account Balance Start.
[2025-02-09 14:14:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:14:03] Production.INFO: 117
[2025-02-09 14:14:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:14:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:14:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:14:03] Production.INFO: Total Charge 0
[2025-02-09 14:14:03] Production.INFO: CreateAllLog End
[2025-02-09 14:14:03] Production.INFO: ==4014== Lock acquired, processing the job...
[2025-02-09 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:14:03] Production.INFO: ==4022== Lock acquired, processing the job...
[2025-02-09 14:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:14:03] Production.INFO: Account Balance End.
[2025-02-09 14:14:03] Production.ERROR: CronJobId end 12
[2025-02-09 14:14:03] Production.INFO: ==4018== Releasing lock...
[2025-02-09 14:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:14:03] Production.INFO: ==4020== Lock acquired, processing the job...
[2025-02-09 14:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:14:03] Production.INFO: count ==21
[2025-02-09 14:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:14:03] Production.INFO: count ==21
[2025-02-09 14:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437596') start
[2025-02-09 14:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437596') end
[2025-02-09 14:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:14:03] Production.INFO: 1
[2025-02-09 14:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:14:03] Production.INFO: ==4022== Releasing lock...
[2025-02-09 14:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:14:03] Production.ERROR: done
[2025-02-09 14:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:14:03] Production.INFO: ==4014== Releasing lock...
[2025-02-09 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:14:04] Production.ERROR: done
[2025-02-09 14:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:14:05
[end_date_ymd] => 2025-02-09 14:14:05
[RateCDR] => 1
)
[2025-02-09 14:14: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` >= '2025-02-09 11:14:05' and `end` < '2025-02-09 14:14: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 ,'')
[2025-02-09 14:14:12] Production.ERROR: CronJobId end10
[2025-02-09 14:14:12] Production.INFO: ==4016== Releasing lock...
[2025-02-09 14:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:14:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:14:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:14:14] Production.INFO: call_cost start
[2025-02-09 14:14:14] Production.INFO: call_cost end
[2025-02-09 14:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:14:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:14:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:14:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:14:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:14:15] Production.INFO: ==4012== Releasing lock...
[2025-02-09 14:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:14:18] Production.INFO: count ==1534
[2025-02-09 14:14:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:14:05 - End Time 2025-02-09 14:14:05
[2025-02-09 14:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437598', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437598', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437598', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437598', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:14:19] Production.INFO: ProcessCDR(1,14437598,1,1,2)
[2025-02-09 14:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437598', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437598', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:14:22] Production.INFO: ==4020== Releasing lock...
[2025-02-09 14:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:14:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:15:01] Production.INFO: ==4085== Lock acquired, processing the job...
[2025-02-09 19:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:15:01] Production.INFO: neon service started
[2025-02-09 19:15:01] Production.INFO: neon service started
[2025-02-09 19:15:01] Production.INFO: ==4085== Releasing lock...
[2025-02-09 19:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:15:02] Production.INFO: ==4087== Lock acquired, processing the job...
[2025-02-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:15:02] Production.INFO: ==4089== Lock acquired, processing the job...
[2025-02-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:15:02] Production.INFO: ==4089== Releasing lock...
[2025-02-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:15:02] Production.INFO: ==4087== Releasing lock...
[2025-02-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:15:03] Production.INFO: ==4098== Lock acquired, processing the job...
[2025-02-09 14:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:15:03] Production.INFO: Account Balance Start.
[2025-02-09 14:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:15:03] Production.INFO: 117
[2025-02-09 14:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:15:03] Production.INFO: ==4092== Lock acquired, processing the job...
[2025-02-09 14:15:03] Production.INFO: ==4103== Lock acquired, processing the job...
[2025-02-09 14:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:15:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:15:03] Production.INFO: Total Charge 0
[2025-02-09 14:15:03] Production.INFO: CreateAllLog End
[2025-02-09 14:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:15:03] Production.INFO: ==4094== Lock acquired, processing the job...
[2025-02-09 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:15:04] Production.INFO: count ==21
[2025-02-09 14:15:04] Production.INFO: ==4096== Lock acquired, processing the job...
[2025-02-09 14:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:15:04] Production.INFO: count ==21
[2025-02-09 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437600') start
[2025-02-09 14:15:04] Production.INFO: Account Balance End.
[2025-02-09 14:15:04] Production.INFO: ==4100== Lock acquired, processing the job...
[2025-02-09 14:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:15:04] Production.INFO: ==4098== Releasing lock...
[2025-02-09 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437600') end
[2025-02-09 14:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:15:04] Production.INFO: 1
[2025-02-09 14:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:15:04] Production.INFO: ==4103== Releasing lock...
[2025-02-09 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:15:04] Production.INFO: ==4094== Releasing lock...
[2025-02-09 14:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:15:04] Production.ERROR: done
[2025-02-09 14:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:15:04] Production.ERROR: done
[2025-02-09 14:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:15:05
[end_date_ymd] => 2025-02-09 14:15:05
[RateCDR] => 1
)
[2025-02-09 14:15: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` >= '2025-02-09 11:15:05' and `end` < '2025-02-09 14:15: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 ,'')
[2025-02-09 14:15:11] Production.ERROR: CronJobId end10
[2025-02-09 14:15:11] Production.INFO: ==4096== Releasing lock...
[2025-02-09 14:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:15:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:15:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:15:13] Production.INFO: call_cost start
[2025-02-09 14:15:13] Production.INFO: call_cost end
[2025-02-09 14:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:15:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:15:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:15:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:15:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:15:14] Production.INFO: ==4092== Releasing lock...
[2025-02-09 14:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:15:18] Production.INFO: count ==1538
[2025-02-09 14:15:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:15:05 - End Time 2025-02-09 14:15:05
[2025-02-09 14:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437603', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437603', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437603', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437603', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:15:18] Production.INFO: ProcessCDR(1,14437603,1,1,2)
[2025-02-09 14:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437603', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437603', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:15:22] Production.INFO: ==4100== Releasing lock...
[2025-02-09 14:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:15:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:16:02] Production.INFO: ==4198== Lock acquired, processing the job...
[2025-02-09 19:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:16:02] Production.INFO: neon service started
[2025-02-09 19:16:02] Production.INFO: neon service started
[2025-02-09 19:16:02] Production.INFO: ==4198== Releasing lock...
[2025-02-09 19:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:16:02] Production.INFO: ==4200== Lock acquired, processing the job...
[2025-02-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:16:02] Production.INFO: ==4200== Releasing lock...
[2025-02-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:16:03] Production.INFO: ==4203== Lock acquired, processing the job...
[2025-02-09 19:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:16:03] Production.INFO: ==4203== Releasing lock...
[2025-02-09 19:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:16:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:16:03] Production.INFO: ==4207== Lock acquired, processing the job...
[2025-02-09 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:16:03] Production.INFO: ==4215== Lock acquired, processing the job...
[2025-02-09 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:16:04] Production.INFO: ==4205== Lock acquired, processing the job...
[2025-02-09 14:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:16:04] Production.INFO: count ==21
[2025-02-09 14:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:16:04] Production.INFO: count ==21
[2025-02-09 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437604') start
[2025-02-09 14:16:04] Production.INFO: ==4209== Lock acquired, processing the job...
[2025-02-09 14:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437604') end
[2025-02-09 14:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:16:04] Production.INFO: 1
[2025-02-09 14:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:16:04] Production.INFO: ==4211== Lock acquired, processing the job...
[2025-02-09 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:16:04] Production.INFO: ==4213== Lock acquired, processing the job...
[2025-02-09 14:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:16:04] Production.INFO: ==4215== Releasing lock...
[2025-02-09 14:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:16:04] Production.INFO: ==4207== Releasing lock...
[2025-02-09 14:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:16:04] Production.INFO: Account Balance Start.
[2025-02-09 14:16:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:16:04] Production.INFO: 117
[2025-02-09 14:16:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:16:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:16:04] Production.INFO: Total Charge 0
[2025-02-09 14:16:04] Production.INFO: CreateAllLog End
[2025-02-09 14:16:04] Production.INFO: Account Balance End.
[2025-02-09 14:16:04] Production.ERROR: done
[2025-02-09 14:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:16:04] Production.INFO: ==4211== Releasing lock...
[2025-02-09 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:16:04] Production.ERROR: done
[2025-02-09 14:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:16:05
[end_date_ymd] => 2025-02-09 14:16:05
[RateCDR] => 1
)
[2025-02-09 14:16: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` >= '2025-02-09 11:16:05' and `end` < '2025-02-09 14:16: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 ,'')
[2025-02-09 14:16:12] Production.ERROR: CronJobId end10
[2025-02-09 14:16:12] Production.INFO: ==4209== Releasing lock...
[2025-02-09 14:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:16:14] Production.INFO: call_cost start
[2025-02-09 14:16:14] Production.INFO: call_cost end
[2025-02-09 14:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:16:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:16:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:16:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:16:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:16:15] Production.INFO: ==4205== Releasing lock...
[2025-02-09 14:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:16:18] Production.INFO: count ==1541
[2025-02-09 14:16:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:16:05 - End Time 2025-02-09 14:16:05
[2025-02-09 14:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437608', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437608', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437608', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437608', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:16:19] Production.INFO: ProcessCDR(1,14437608,1,1,2)
[2025-02-09 14:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437608', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437608', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:16:22] Production.INFO: ==4213== Releasing lock...
[2025-02-09 14:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:16:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:17:01] Production.INFO: ==4270== Lock acquired, processing the job...
[2025-02-09 19:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:17:01] Production.INFO: neon service started
[2025-02-09 19:17:01] Production.INFO: neon service started
[2025-02-09 19:17:01] Production.INFO: ==4270== Releasing lock...
[2025-02-09 19:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:17:02] Production.INFO: ==4272== Lock acquired, processing the job...
[2025-02-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:17:02] Production.INFO: ==4272== Releasing lock...
[2025-02-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:17:02] Production.INFO: ==4274== Lock acquired, processing the job...
[2025-02-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:17:02] Production.INFO: ==4274== Releasing lock...
[2025-02-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:17:03] Production.INFO: ==4280== Lock acquired, processing the job...
[2025-02-09 14:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:17:03] Production.INFO: ==4282== Lock acquired, processing the job...
[2025-02-09 14:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:17:03] Production.INFO: ==4284== Lock acquired, processing the job...
[2025-02-09 14:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:17:03] Production.INFO: Account Balance Start.
[2025-02-09 14:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:17:03] Production.INFO: 117
[2025-02-09 14:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:17:03] Production.INFO: Total Charge 0
[2025-02-09 14:17:03] Production.INFO: CreateAllLog End
[2025-02-09 14:17:03] Production.INFO: ==4278== Lock acquired, processing the job...
[2025-02-09 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:17:03] Production.INFO: ==4276== Lock acquired, processing the job...
[2025-02-09 14:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:17:03] Production.INFO: Account Balance End.
[2025-02-09 14:17:03] Production.INFO: ==4286== Lock acquired, processing the job...
[2025-02-09 14:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:17:03] Production.ERROR: CronJobId end 12
[2025-02-09 14:17:03] Production.INFO: ==4282== Releasing lock...
[2025-02-09 14:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:17:03] Production.ERROR: done
[2025-02-09 14:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:17:03] Production.INFO: count ==21
[2025-02-09 14:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:17:04] Production.INFO: count ==21
[2025-02-09 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437610') start
[2025-02-09 14:17:04] Production.ERROR: done
[2025-02-09 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437610') end
[2025-02-09 14:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:17:04] Production.INFO: 1
[2025-02-09 14:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:17:04] Production.INFO: ==4286== Releasing lock...
[2025-02-09 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:17:04] Production.INFO: ==4278== Releasing lock...
[2025-02-09 14:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:17:05
[end_date_ymd] => 2025-02-09 14:17:05
[RateCDR] => 1
)
[2025-02-09 14:17: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` >= '2025-02-09 11:17:05' and `end` < '2025-02-09 14:17: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 ,'')
[2025-02-09 14:17:12] Production.ERROR: CronJobId end10
[2025-02-09 14:17:12] Production.INFO: ==4280== Releasing lock...
[2025-02-09 14:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:17:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:17:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:17:14] Production.INFO: call_cost start
[2025-02-09 14:17:14] Production.INFO: call_cost end
[2025-02-09 14:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:17:15] Production.INFO: ==4276== Releasing lock...
[2025-02-09 14:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:17:18] Production.INFO: count ==1544
[2025-02-09 14:17:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:17:05 - End Time 2025-02-09 14:17:05
[2025-02-09 14:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437613', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437613', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437613', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437613', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:17:18] Production.INFO: ProcessCDR(1,14437613,1,1,2)
[2025-02-09 14:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437613', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437613', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:17:23] Production.INFO: ==4284== Releasing lock...
[2025-02-09 14:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:17:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:18:02] Production.INFO: ==4342== Lock acquired, processing the job...
[2025-02-09 19:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:18:02] Production.INFO: neon service started
[2025-02-09 19:18:02] Production.INFO: neon service started
[2025-02-09 19:18:02] Production.INFO: ==4342== Releasing lock...
[2025-02-09 19:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:18:02] Production.INFO: ==4344== Lock acquired, processing the job...
[2025-02-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:18:02] Production.INFO: ==4344== Releasing lock...
[2025-02-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:18:03] Production.INFO: ==4346== Lock acquired, processing the job...
[2025-02-09 19:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:18:03] Production.INFO: ==4346== Releasing lock...
[2025-02-09 19:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:18:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:18:03] Production.INFO: ==4352== Lock acquired, processing the job...
[2025-02-09 14:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:18:03] Production.INFO: ==4356== Lock acquired, processing the job...
[2025-02-09 14:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:18:04] Production.INFO: ==4348== Lock acquired, processing the job...
[2025-02-09 14:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:18:04] Production.INFO: ==4350== Lock acquired, processing the job...
[2025-02-09 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:18:04] Production.INFO: ==4354== Lock acquired, processing the job...
[2025-02-09 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:18:04] Production.INFO: ==4358== Lock acquired, processing the job...
[2025-02-09 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:18:04] Production.ERROR: done
[2025-02-09 14:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:18:04] Production.INFO: Account Balance Start.
[2025-02-09 14:18:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:18:04] Production.INFO: 117
[2025-02-09 14:18:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:18:04] Production.INFO: count ==21
[2025-02-09 14:18:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:18:04] Production.INFO: count ==21
[2025-02-09 14:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437616') start
[2025-02-09 14:18:04] Production.ERROR: done
[2025-02-09 14:18:04] Production.INFO: Total Charge 0
[2025-02-09 14:18:04] Production.INFO: CreateAllLog End
[2025-02-09 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437616') end
[2025-02-09 14:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:18:04] Production.INFO: 1
[2025-02-09 14:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:18:04] Production.INFO: ==4358== Releasing lock...
[2025-02-09 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:18:04] Production.INFO: Account Balance End.
[2025-02-09 14:18:04] Production.INFO: ==4350== Releasing lock...
[2025-02-09 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:18:04] Production.INFO: ==4354== Releasing lock...
[2025-02-09 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:18:05
[end_date_ymd] => 2025-02-09 14:18:05
[RateCDR] => 1
)
[2025-02-09 14:18: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` >= '2025-02-09 11:18:05' and `end` < '2025-02-09 14:18: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 ,'')
[2025-02-09 14:18:12] Production.ERROR: CronJobId end10
[2025-02-09 14:18:12] Production.INFO: ==4352== Releasing lock...
[2025-02-09 14:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:18:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:18:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:18:14] Production.INFO: call_cost start
[2025-02-09 14:18:14] Production.INFO: call_cost end
[2025-02-09 14:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:18:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:18:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:18:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:18:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:18:15] Production.INFO: ==4348== Releasing lock...
[2025-02-09 14:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:18:18] Production.INFO: count ==1548
[2025-02-09 14:18:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:18:05 - End Time 2025-02-09 14:18:05
[2025-02-09 14:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437618', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437618', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437618', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437618', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:18:19] Production.INFO: ProcessCDR(1,14437618,1,1,2)
[2025-02-09 14:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437618', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437618', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:18:24] Production.INFO: ==4356== Releasing lock...
[2025-02-09 14:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:18:24] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:19:01] Production.INFO: ==4416== Lock acquired, processing the job...
[2025-02-09 19:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:19:01] Production.INFO: neon service started
[2025-02-09 19:19:01] Production.INFO: neon service started
[2025-02-09 19:19:01] Production.INFO: ==4416== Releasing lock...
[2025-02-09 19:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:19:02] Production.INFO: ==4420== Lock acquired, processing the job...
[2025-02-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:19:02] Production.INFO: ==4420== Releasing lock...
[2025-02-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:19:02] Production.INFO: ==4418== Lock acquired, processing the job...
[2025-02-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:19:02] Production.INFO: ==4418== Releasing lock...
[2025-02-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:19:03] Production.INFO: ==4424== Lock acquired, processing the job...
[2025-02-09 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:19:03] Production.INFO: ==4422== Lock acquired, processing the job...
[2025-02-09 14:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:19:03] Production.INFO: ==4433== Lock acquired, processing the job...
[2025-02-09 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:19:03] Production.INFO: ==4424== Releasing lock...
[2025-02-09 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:19:03] Production.INFO: ==4426== Lock acquired, processing the job...
[2025-02-09 14:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:19:03] Production.INFO: ==4430== Lock acquired, processing the job...
[2025-02-09 14:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:19:03] Production.INFO: ==4428== Lock acquired, processing the job...
[2025-02-09 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:19:03] Production.INFO: count ==21
[2025-02-09 14:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:19:03] Production.INFO: count ==21
[2025-02-09 14:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437620') start
[2025-02-09 14:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437620') end
[2025-02-09 14:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:19:03] Production.INFO: 1
[2025-02-09 14:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:19:03] Production.INFO: Account Balance Start.
[2025-02-09 14:19:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:19:03] Production.INFO: ==4433== Releasing lock...
[2025-02-09 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:19:03] Production.INFO: 117
[2025-02-09 14:19:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:19:04] Production.ERROR: done
[2025-02-09 14:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:19:04] Production.INFO: Total Charge 0
[2025-02-09 14:19:04] Production.INFO: CreateAllLog End
[2025-02-09 14:19:04] Production.ERROR: done
[2025-02-09 14:19:04] Production.INFO: Account Balance End.
[2025-02-09 14:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:19:04] Production.INFO: ==4428== Releasing lock...
[2025-02-09 14:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:19:05
[end_date_ymd] => 2025-02-09 14:19:05
[RateCDR] => 1
)
[2025-02-09 14:19: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` >= '2025-02-09 11:19:05' and `end` < '2025-02-09 14:19: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 ,'')
[2025-02-09 14:19:11] Production.ERROR: CronJobId end10
[2025-02-09 14:19:11] Production.INFO: ==4426== Releasing lock...
[2025-02-09 14:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:19:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:19:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:19:14] Production.INFO: call_cost start
[2025-02-09 14:19:14] Production.INFO: call_cost end
[2025-02-09 14:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:19:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:19:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:19:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:19:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:19:15] Production.INFO: ==4422== Releasing lock...
[2025-02-09 14:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:19:18] Production.INFO: count ==1553
[2025-02-09 14:19:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:19:05 - End Time 2025-02-09 14:19:05
[2025-02-09 14:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437623', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437623', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437623', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437623', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:19:19] Production.INFO: ProcessCDR(1,14437623,1,1,2)
[2025-02-09 14:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437623', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437623', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:19:22] Production.INFO: ==4430== Releasing lock...
[2025-02-09 14:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:19:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:20:02] Production.INFO: ==4487== Lock acquired, processing the job...
[2025-02-09 19:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:20:02] Production.INFO: neon service started
[2025-02-09 19:20:02] Production.INFO: neon service started
[2025-02-09 19:20:02] Production.INFO: ==4487== Releasing lock...
[2025-02-09 19:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:20:02] Production.INFO: ==4489== Lock acquired, processing the job...
[2025-02-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:20:02] Production.INFO: ==4491== Lock acquired, processing the job...
[2025-02-09 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:20:02] Production.INFO: ==4489== Releasing lock...
[2025-02-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:20:03] Production.INFO: ==4491== Releasing lock...
[2025-02-09 19:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:20:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:20:04] Production.INFO: ==4493== Lock acquired, processing the job...
[2025-02-09 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 14:20:04] Production.INFO: ==4501== Lock acquired, processing the job...
[2025-02-09 14:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:20:04] Production.INFO: ==4499== Lock acquired, processing the job...
[2025-02-09 14:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 14:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:20:04] Production.ERROR: CronJob PID - 4501
[2025-02-09 14:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 14:20:04] Production.ERROR: CronJob ID - 12
[2025-02-09 14:20:04] Production.ERROR: CronJob Last Run Time 2025-02-09 14:20:00
[2025-02-09 14:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 14:20:04] Production.INFO: ==4493== Releasing lock...
[2025-02-09 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 14:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 14:20:04] Production.INFO: ==4505== Lock acquired, processing the job...
[2025-02-09 14:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 14:20:04] Production.INFO: Account Balance Start.
[2025-02-09 14:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:20:04] Production.INFO: 117
[2025-02-09 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:20:04] Production.INFO: ==4497== Lock acquired, processing the job...
[2025-02-09 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:20:04] Production.INFO: ==4495== Lock acquired, processing the job...
[2025-02-09 14:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:20:04] Production.INFO: Total Charge 0
[2025-02-09 14:20:04] Production.INFO: CreateAllLog End
[2025-02-09 14:20:04] Production.INFO: ==4503== Lock acquired, processing the job...
[2025-02-09 14:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:20:04] Production.INFO: ==4507== Lock acquired, processing the job...
[2025-02-09 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:20:04] Production.ERROR: done
[2025-02-09 14:20:04] Production.INFO: Account Balance End.
[2025-02-09 14:20:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:20:04] Production.INFO: ==4501== Releasing lock...
[2025-02-09 14:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 14:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437628', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 14:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:20:04] Production.INFO: ==4497== Releasing lock...
[2025-02-09 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:20:04] Production.INFO: count ==21
[2025-02-09 14:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:20:04] Production.INFO: count ==21
[2025-02-09 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437627') start
[2025-02-09 14:20:05] Production.ERROR: done
[2025-02-09 14:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437627') end
[2025-02-09 14:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:20:05] Production.INFO: 1
[2025-02-09 14:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:20:05] Production.INFO: ==4507== Releasing lock...
[2025-02-09 14:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:20:05] Production.ERROR: done
[2025-02-09 14:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:20:06
[end_date_ymd] => 2025-02-09 14:20:06
[RateCDR] => 1
)
[2025-02-09 14:20: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-02-09 11:20:06' and `end` < '2025-02-09 14:20: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-02-09 14:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437628', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 14:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 14:20:08] Production.INFO: ProcessCDR(1,14437628,1,1,2)
[2025-02-09 14:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437628,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437628,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:20:09] Production.INFO: ==4505== Releasing lock...
[2025-02-09 14:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 14:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 14:20:14] Production.ERROR: CronJobId end10
[2025-02-09 14:20:14] Production.INFO: ==4499== Releasing lock...
[2025-02-09 14:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:20:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:20:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:20:16] Production.INFO: call_cost start
[2025-02-09 14:20:16] Production.INFO: call_cost end
[2025-02-09 14:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:20:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:20:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:20:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:20:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:20:17] Production.INFO: ==4495== Releasing lock...
[2025-02-09 14:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:20:20] Production.INFO: count ==1539
[2025-02-09 14:20:20] Production.ERROR: pbx CDR StartTime 2025-02-09 11:20:06 - End Time 2025-02-09 14:20:06
[2025-02-09 14:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437629', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437629', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437629', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437629', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:20:20] Production.INFO: ProcessCDR(1,14437629,1,1,2)
[2025-02-09 14:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437629', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437629', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:20:23] Production.INFO: ==4503== Releasing lock...
[2025-02-09 14:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:20:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:21:01] Production.INFO: ==4569== Lock acquired, processing the job...
[2025-02-09 19:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:21:01] Production.INFO: neon service started
[2025-02-09 19:21:01] Production.INFO: neon service started
[2025-02-09 19:21:01] Production.INFO: ==4569== Releasing lock...
[2025-02-09 19:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:21:02] Production.INFO: ==4571== Lock acquired, processing the job...
[2025-02-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:21:02] Production.INFO: ==4578== Lock acquired, processing the job...
[2025-02-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:21:02] Production.INFO: ==4578== Releasing lock...
[2025-02-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:21:02] Production.INFO: 26 MB #Memory Used#
[2025-02-09 14:21:02] Production.INFO: ==4571== Releasing lock...
[2025-02-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:21:03] Production.INFO: ==4583== Lock acquired, processing the job...
[2025-02-09 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:21:03] Production.INFO: ==4585== Lock acquired, processing the job...
[2025-02-09 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:21:03] Production.INFO: ==4591== Lock acquired, processing the job...
[2025-02-09 14:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:21:03] Production.INFO: ==4587== Lock acquired, processing the job...
[2025-02-09 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:21:03] Production.INFO: ==4589== Lock acquired, processing the job...
[2025-02-09 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:21:03] Production.INFO: Account Balance Start.
[2025-02-09 14:21:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:21:03] Production.INFO: 117
[2025-02-09 14:21:03] Production.INFO: ==4593== Lock acquired, processing the job...
[2025-02-09 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:21:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:21:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:21:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:21:03] Production.INFO: Total Charge 0
[2025-02-09 14:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:21:03] Production.INFO: CreateAllLog End
[2025-02-09 14:21:04] Production.INFO: count ==21
[2025-02-09 14:21:04] Production.INFO: ==4585== Releasing lock...
[2025-02-09 14:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:21:04] Production.ERROR: done
[2025-02-09 14:21:04] Production.INFO: count ==21
[2025-02-09 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437633') start
[2025-02-09 14:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437633') end
[2025-02-09 14:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:21:04] Production.INFO: 1
[2025-02-09 14:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:21:04] Production.ERROR: done
[2025-02-09 14:21:04] Production.INFO: ==4593== Releasing lock...
[2025-02-09 14:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:21:04] Production.INFO: Account Balance End.
[2025-02-09 14:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:21:04] Production.INFO: ==4589== Releasing lock...
[2025-02-09 14:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:21:05
[end_date_ymd] => 2025-02-09 14:21:05
[RateCDR] => 1
)
[2025-02-09 14:21: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` >= '2025-02-09 11:21:05' and `end` < '2025-02-09 14:21: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 ,'')
[2025-02-09 14:21:12] Production.ERROR: CronJobId end10
[2025-02-09 14:21:12] Production.INFO: ==4587== Releasing lock...
[2025-02-09 14:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:21:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:21:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:21:14] Production.INFO: call_cost start
[2025-02-09 14:21:14] Production.INFO: call_cost end
[2025-02-09 14:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:21:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:21:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:21:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:21:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:21:15] Production.INFO: ==4583== Releasing lock...
[2025-02-09 14:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:21:18] Production.INFO: count ==1520
[2025-02-09 14:21:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:21:05 - End Time 2025-02-09 14:21:05
[2025-02-09 14:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437634', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437634', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437634', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437634', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:21:19] Production.INFO: ProcessCDR(1,14437634,1,1,2)
[2025-02-09 14:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437634', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437634', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:21:22] Production.INFO: ==4591== Releasing lock...
[2025-02-09 14:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:21:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:22:02] Production.INFO: ==4652== Lock acquired, processing the job...
[2025-02-09 19:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:22:02] Production.INFO: neon service started
[2025-02-09 19:22:02] Production.INFO: neon service started
[2025-02-09 19:22:02] Production.INFO: ==4652== Releasing lock...
[2025-02-09 19:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:22:02] Production.INFO: ==4654== Lock acquired, processing the job...
[2025-02-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:22:02] Production.INFO: ==4654== Releasing lock...
[2025-02-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:22:02] Production.INFO: ==4656== Lock acquired, processing the job...
[2025-02-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:22:02] Production.INFO: ==4656== Releasing lock...
[2025-02-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:22:03] Production.INFO: ==4662== Lock acquired, processing the job...
[2025-02-09 14:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:22:03] Production.INFO: ==4664== Lock acquired, processing the job...
[2025-02-09 14:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:22:03] Production.INFO: Account Balance Start.
[2025-02-09 14:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:22:03] Production.INFO: 117
[2025-02-09 14:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:22:03] Production.INFO: ==4658== Lock acquired, processing the job...
[2025-02-09 14:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:22:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:22:03] Production.INFO: ==4660== Lock acquired, processing the job...
[2025-02-09 14:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:22:03] Production.INFO: Total Charge 0
[2025-02-09 14:22:03] Production.INFO: CreateAllLog End
[2025-02-09 14:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:22:03] Production.INFO: ==4666== Lock acquired, processing the job...
[2025-02-09 14:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:22:03] Production.INFO: ==4668== Lock acquired, processing the job...
[2025-02-09 14:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:22:03] Production.INFO: Account Balance End.
[2025-02-09 14:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:22:03] Production.ERROR: CronJobId end 12
[2025-02-09 14:22:03] Production.INFO: ==4664== Releasing lock...
[2025-02-09 14:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:22:04] Production.INFO: count ==21
[2025-02-09 14:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:22:04] Production.INFO: count ==21
[2025-02-09 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437638') start
[2025-02-09 14:22:04] Production.INFO: ==4660== Releasing lock...
[2025-02-09 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:22:04] Production.ERROR: done
[2025-02-09 14:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437638') end
[2025-02-09 14:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:22:04] Production.INFO: 1
[2025-02-09 14:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:22:04] Production.INFO: ==4668== Releasing lock...
[2025-02-09 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:22:04] Production.ERROR: done
[2025-02-09 14:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:22:05
[end_date_ymd] => 2025-02-09 14:22:05
[RateCDR] => 1
)
[2025-02-09 14:22: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` >= '2025-02-09 11:22:05' and `end` < '2025-02-09 14:22: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 ,'')
[2025-02-09 14:22:11] Production.ERROR: CronJobId end10
[2025-02-09 14:22:11] Production.INFO: ==4662== Releasing lock...
[2025-02-09 14:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:22:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:22:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:22:14] Production.INFO: call_cost start
[2025-02-09 14:22:14] Production.INFO: call_cost end
[2025-02-09 14:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:22:15] Production.INFO: ==4658== Releasing lock...
[2025-02-09 14:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:22:18] Production.INFO: count ==1526
[2025-02-09 14:22:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:22:05 - End Time 2025-02-09 14:22:05
[2025-02-09 14:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437639', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437639', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437639', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437639', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:22:19] Production.INFO: ProcessCDR(1,14437639,1,1,2)
[2025-02-09 14:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437639', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437639', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:22:22] Production.INFO: ==4666== Releasing lock...
[2025-02-09 14:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:22:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:23:01] Production.INFO: ==4747== Lock acquired, processing the job...
[2025-02-09 19:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:23:01] Production.INFO: neon service started
[2025-02-09 19:23:01] Production.INFO: neon service started
[2025-02-09 19:23:01] Production.INFO: ==4747== Releasing lock...
[2025-02-09 19:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:23:01] Production.INFO: ==4749== Lock acquired, processing the job...
[2025-02-09 14:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:23:02] Production.INFO: ==4749== Releasing lock...
[2025-02-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:23:02] Production.INFO: ==4751== Lock acquired, processing the job...
[2025-02-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:23:02] Production.INFO: ==4751== Releasing lock...
[2025-02-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:23:02] Production.INFO: ==4755== Lock acquired, processing the job...
[2025-02-09 14:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:23:02] Production.INFO: ==4761== Lock acquired, processing the job...
[2025-02-09 14:23:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:23:02] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:23:03] Production.INFO: ==4755== Releasing lock...
[2025-02-09 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:23:03] Production.INFO: ==4753== Lock acquired, processing the job...
[2025-02-09 14:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:23:03] Production.INFO: ==4757== Lock acquired, processing the job...
[2025-02-09 14:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:23:03] Production.INFO: ==4759== Lock acquired, processing the job...
[2025-02-09 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:23:03] Production.ERROR: done
[2025-02-09 14:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:23:03] Production.INFO: ==4763== Lock acquired, processing the job...
[2025-02-09 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:23:03] Production.INFO: Account Balance Start.
[2025-02-09 14:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:23:03] Production.INFO: 117
[2025-02-09 14:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:23:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:23:03] Production.INFO: count ==21
[2025-02-09 14:23:03] Production.ERROR: done
[2025-02-09 14:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:23:03] Production.INFO: count ==21
[2025-02-09 14:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437642') start
[2025-02-09 14:23:03] Production.INFO: Total Charge 0
[2025-02-09 14:23:03] Production.INFO: CreateAllLog End
[2025-02-09 14:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437642') end
[2025-02-09 14:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:23:03] Production.INFO: 1
[2025-02-09 14:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:23:03] Production.INFO: Account Balance End.
[2025-02-09 14:23:03] Production.ERROR: CronJobId end 12
[2025-02-09 14:23:03] Production.INFO: ==4759== Releasing lock...
[2025-02-09 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:23:03] Production.INFO: ==4763== Releasing lock...
[2025-02-09 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:23:04
[end_date_ymd] => 2025-02-09 14:23:04
[RateCDR] => 1
)
[2025-02-09 14:23:04] 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-02-09 11:23:04' and `end` < '2025-02-09 14:23:04'
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-02-09 14:23:11] Production.ERROR: CronJobId end10
[2025-02-09 14:23:11] Production.INFO: ==4757== Releasing lock...
[2025-02-09 14:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:23:13] Production.INFO: call_cost start
[2025-02-09 14:23:13] Production.INFO: call_cost end
[2025-02-09 14:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:23:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:23:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:23:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:23:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:23:14] Production.INFO: ==4753== Releasing lock...
[2025-02-09 14:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:23:18] Production.INFO: count ==1528
[2025-02-09 14:23:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:23:04 - End Time 2025-02-09 14:23:04
[2025-02-09 14:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437644', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437644', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437644', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437644', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:23:18] Production.INFO: ProcessCDR(1,14437644,1,1,2)
[2025-02-09 14:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437644', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437644', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:23:21] Production.INFO: ==4761== Releasing lock...
[2025-02-09 14:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:23:21] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:24:01] Production.INFO: ==4819== Lock acquired, processing the job...
[2025-02-09 19:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:24:01] Production.INFO: neon service started
[2025-02-09 19:24:01] Production.INFO: neon service started
[2025-02-09 19:24:01] Production.INFO: ==4819== Releasing lock...
[2025-02-09 19:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:24:02] Production.INFO: ==4823== Lock acquired, processing the job...
[2025-02-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:24:02] Production.INFO: ==4823== Releasing lock...
[2025-02-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:24:02] Production.INFO: ==4821== Lock acquired, processing the job...
[2025-02-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:24:02] Production.INFO: ==4821== Releasing lock...
[2025-02-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:24:03] Production.INFO: ==4825== Lock acquired, processing the job...
[2025-02-09 14:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:24:03] Production.INFO: ==4830== Lock acquired, processing the job...
[2025-02-09 14:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:24:03] Production.INFO: ==4832== Lock acquired, processing the job...
[2025-02-09 14:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:24:03] Production.INFO: Account Balance Start.
[2025-02-09 14:24:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:24:03] Production.INFO: 117
[2025-02-09 14:24:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:24:03] Production.INFO: ==4827== Lock acquired, processing the job...
[2025-02-09 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:24:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:24:03] Production.INFO: Total Charge 0
[2025-02-09 14:24:03] Production.INFO: CreateAllLog End
[2025-02-09 14:24:04] Production.INFO: Account Balance End.
[2025-02-09 14:24:04] Production.INFO: ==4834== Lock acquired, processing the job...
[2025-02-09 14:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:24:04] Production.INFO: ==4832== Releasing lock...
[2025-02-09 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:24:04] Production.INFO: ==4836== Lock acquired, processing the job...
[2025-02-09 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:24:04] Production.INFO: ==4827== Releasing lock...
[2025-02-09 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:24:04] Production.INFO: count ==21
[2025-02-09 14:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:24:04] Production.INFO: count ==21
[2025-02-09 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437648') start
[2025-02-09 14:24:04] Production.ERROR: done
[2025-02-09 14:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:24:04] Production.ERROR: done
[2025-02-09 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437648') end
[2025-02-09 14:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:24:04] Production.INFO: 1
[2025-02-09 14:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:24:04] Production.INFO: ==4836== Releasing lock...
[2025-02-09 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:24:05
[end_date_ymd] => 2025-02-09 14:24:05
[RateCDR] => 1
)
[2025-02-09 14:24: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` >= '2025-02-09 11:24:05' and `end` < '2025-02-09 14:24: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 ,'')
[2025-02-09 14:24:12] Production.ERROR: CronJobId end10
[2025-02-09 14:24:12] Production.INFO: ==4830== Releasing lock...
[2025-02-09 14:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:24:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:24:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:24:14] Production.INFO: call_cost start
[2025-02-09 14:24:14] Production.INFO: call_cost end
[2025-02-09 14:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:24:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:24:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:24:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:24:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:24:15] Production.INFO: ==4825== Releasing lock...
[2025-02-09 14:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:24:18] Production.INFO: count ==1527
[2025-02-09 14:24:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:24:05 - End Time 2025-02-09 14:24:05
[2025-02-09 14:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437649', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437649', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437649', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437649', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:24:19] Production.INFO: ProcessCDR(1,14437649,1,1,2)
[2025-02-09 14:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437649', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437649', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:24:22] Production.INFO: ==4834== Releasing lock...
[2025-02-09 14:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:24:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:25:01] Production.INFO: ==4895== Lock acquired, processing the job...
[2025-02-09 19:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:25:01] Production.INFO: neon service started
[2025-02-09 19:25:01] Production.INFO: neon service started
[2025-02-09 19:25:01] Production.INFO: ==4895== Releasing lock...
[2025-02-09 19:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:25:02] Production.INFO: ==4899== Lock acquired, processing the job...
[2025-02-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:25:02] Production.INFO: ==4897== Lock acquired, processing the job...
[2025-02-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:25:02] Production.INFO: ==4899== Releasing lock...
[2025-02-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:25:02] Production.INFO: ==4897== Releasing lock...
[2025-02-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:25:03] Production.INFO: ==4904== Lock acquired, processing the job...
[2025-02-09 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:25:03] Production.INFO: ==4908== Lock acquired, processing the job...
[2025-02-09 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:25:03] Production.INFO: ==4910== Lock acquired, processing the job...
[2025-02-09 14:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:25:03] Production.INFO: Account Balance Start.
[2025-02-09 14:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:25:03] Production.INFO: 117
[2025-02-09 14:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:25:03] Production.INFO: Total Charge 0
[2025-02-09 14:25:03] Production.INFO: ==4906== Lock acquired, processing the job...
[2025-02-09 14:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:25:03] Production.INFO: CreateAllLog End
[2025-02-09 14:25:03] Production.INFO: ==4902== Lock acquired, processing the job...
[2025-02-09 14:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:25:03] Production.INFO: ==4904== Releasing lock...
[2025-02-09 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:25:03] Production.INFO: ==4912== Lock acquired, processing the job...
[2025-02-09 14:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:25:03] Production.ERROR: done
[2025-02-09 14:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:25:03] Production.INFO: count ==21
[2025-02-09 14:25:03] Production.ERROR: done
[2025-02-09 14:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:25:03] Production.INFO: count ==21
[2025-02-09 14:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437653') start
[2025-02-09 14:25:04] Production.INFO: Account Balance End.
[2025-02-09 14:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:25:04] Production.INFO: ==4908== Releasing lock...
[2025-02-09 14:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437653') end
[2025-02-09 14:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:25:04] Production.INFO: 1
[2025-02-09 14:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:25:04] Production.INFO: ==4912== Releasing lock...
[2025-02-09 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:25:04
[end_date_ymd] => 2025-02-09 14:25:04
[RateCDR] => 1
)
[2025-02-09 14:25:04] 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-02-09 11:25:04' and `end` < '2025-02-09 14:25:04'
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-02-09 14:25:11] Production.ERROR: CronJobId end10
[2025-02-09 14:25:11] Production.INFO: ==4906== Releasing lock...
[2025-02-09 14:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:25:13] Production.INFO: call_cost start
[2025-02-09 14:25:13] Production.INFO: call_cost end
[2025-02-09 14:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:25:14] Production.INFO: ==4902== Releasing lock...
[2025-02-09 14:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:25:18] Production.INFO: count ==1527
[2025-02-09 14:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:25:04 - End Time 2025-02-09 14:25:04
[2025-02-09 14:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437654', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437654', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437654', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437654', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:25:18] Production.INFO: ProcessCDR(1,14437654,1,1,2)
[2025-02-09 14:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437654', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437654', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:25:21] Production.INFO: ==4910== Releasing lock...
[2025-02-09 14:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:25:21] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:26:01] Production.INFO: ==4970== Lock acquired, processing the job...
[2025-02-09 19:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:26:01] Production.INFO: neon service started
[2025-02-09 19:26:01] Production.INFO: neon service started
[2025-02-09 19:26:01] Production.INFO: ==4970== Releasing lock...
[2025-02-09 19:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:26:02] Production.INFO: ==4972== Lock acquired, processing the job...
[2025-02-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:26:02] Production.INFO: ==4974== Lock acquired, processing the job...
[2025-02-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:26:02] Production.INFO: ==4974== Releasing lock...
[2025-02-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:26:02] Production.INFO: ==4972== Releasing lock...
[2025-02-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:26:03] Production.INFO: ==4983== Lock acquired, processing the job...
[2025-02-09 14:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:26:03] Production.INFO: ==4977== Lock acquired, processing the job...
[2025-02-09 14:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:26:03] Production.INFO: ==4985== Lock acquired, processing the job...
[2025-02-09 14:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:26:03] Production.INFO: ==4979== Lock acquired, processing the job...
[2025-02-09 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:26:03] Production.INFO: Account Balance Start.
[2025-02-09 14:26:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:26:03] Production.INFO: 117
[2025-02-09 14:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:26:04] Production.INFO: ==4981== Lock acquired, processing the job...
[2025-02-09 14:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:26:04] Production.INFO: ==4987== Lock acquired, processing the job...
[2025-02-09 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:26:04] Production.INFO: Total Charge 0
[2025-02-09 14:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:26:04] Production.INFO: CreateAllLog End
[2025-02-09 14:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:26:04] Production.INFO: count ==21
[2025-02-09 14:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:26:04] Production.INFO: count ==21
[2025-02-09 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437658') start
[2025-02-09 14:26:04] Production.INFO: Account Balance End.
[2025-02-09 14:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:26:04] Production.INFO: ==4983== Releasing lock...
[2025-02-09 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:26:04] Production.INFO: ==4979== Releasing lock...
[2025-02-09 14:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:26:04] Production.ERROR: done
[2025-02-09 14:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437658') end
[2025-02-09 14:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:26:04] Production.INFO: 1
[2025-02-09 14:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:26:04] Production.INFO: ==4987== Releasing lock...
[2025-02-09 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:26:04] Production.ERROR: done
[2025-02-09 14:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:26:05
[end_date_ymd] => 2025-02-09 14:26:05
[RateCDR] => 1
)
[2025-02-09 14:26: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` >= '2025-02-09 11:26:05' and `end` < '2025-02-09 14:26: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 ,'')
[2025-02-09 14:26:12] Production.ERROR: CronJobId end10
[2025-02-09 14:26:12] Production.INFO: ==4981== Releasing lock...
[2025-02-09 14:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:26:14] Production.INFO: call_cost start
[2025-02-09 14:26:14] Production.INFO: call_cost end
[2025-02-09 14:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:26:15] Production.INFO: ==4977== Releasing lock...
[2025-02-09 14:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:26:18] Production.INFO: count ==1527
[2025-02-09 14:26:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:26:05 - End Time 2025-02-09 14:26:05
[2025-02-09 14:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437659', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437659', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437659', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437659', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:26:19] Production.INFO: ProcessCDR(1,14437659,1,1,2)
[2025-02-09 14:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437659', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437659', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:26:22] Production.INFO: ==4985== Releasing lock...
[2025-02-09 14:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:26:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:27:02] Production.INFO: ==5043== Lock acquired, processing the job...
[2025-02-09 19:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:27:02] Production.INFO: neon service started
[2025-02-09 19:27:02] Production.INFO: neon service started
[2025-02-09 19:27:02] Production.INFO: ==5043== Releasing lock...
[2025-02-09 19:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:27:02] Production.INFO: ==5047== Lock acquired, processing the job...
[2025-02-09 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:27:02] Production.INFO: ==5047== Releasing lock...
[2025-02-09 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:27:02] Production.INFO: ==5045== Lock acquired, processing the job...
[2025-02-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:27:03] Production.INFO: ==5045== Releasing lock...
[2025-02-09 14:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:27:04] Production.INFO: ==5055== Lock acquired, processing the job...
[2025-02-09 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:27:04] Production.INFO: ==5049== Lock acquired, processing the job...
[2025-02-09 14:27:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:27:04] Production.INFO: ==5060== Lock acquired, processing the job...
[2025-02-09 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:27:04] Production.INFO: Account Balance Start.
[2025-02-09 14:27:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:27:04] Production.INFO: 117
[2025-02-09 14:27:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:27:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:27:04] Production.INFO: ==5051== Lock acquired, processing the job...
[2025-02-09 14:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:27:04] Production.INFO: Total Charge 0
[2025-02-09 14:27:04] Production.INFO: CreateAllLog End
[2025-02-09 14:27:04] Production.INFO: ==5053== Lock acquired, processing the job...
[2025-02-09 14:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:27:04] Production.INFO: Account Balance End.
[2025-02-09 14:27:04] Production.INFO: count ==21
[2025-02-09 14:27:04] Production.INFO: ==5058== Lock acquired, processing the job...
[2025-02-09 14:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:27:04] Production.INFO: ==5055== Releasing lock...
[2025-02-09 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:27:04] Production.INFO: count ==21
[2025-02-09 14:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437662') start
[2025-02-09 14:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437662') end
[2025-02-09 14:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:27:04] Production.INFO: 1
[2025-02-09 14:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:27:04] Production.INFO: ==5060== Releasing lock...
[2025-02-09 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:27:04] Production.INFO: ==5051== Releasing lock...
[2025-02-09 14:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:27:04] Production.ERROR: done
[2025-02-09 14:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:27:05] Production.ERROR: done
[2025-02-09 14:27:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:27:06
[end_date_ymd] => 2025-02-09 14:27:06
[RateCDR] => 1
)
[2025-02-09 14:27: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-02-09 11:27:06' and `end` < '2025-02-09 14:27: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-02-09 14:27:12] Production.ERROR: CronJobId end10
[2025-02-09 14:27:12] Production.INFO: ==5053== Releasing lock...
[2025-02-09 14:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:27:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:27:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:27:14] Production.INFO: call_cost start
[2025-02-09 14:27:14] Production.INFO: call_cost end
[2025-02-09 14:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:27:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:27:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:27:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:27:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:27:15] Production.INFO: ==5049== Releasing lock...
[2025-02-09 14:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:27:20] Production.INFO: count ==1526
[2025-02-09 14:27:20] Production.ERROR: pbx CDR StartTime 2025-02-09 11:27:06 - End Time 2025-02-09 14:27:06
[2025-02-09 14:27:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437664', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437664', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437664', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437664', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:27:20] Production.INFO: ProcessCDR(1,14437664,1,1,2)
[2025-02-09 14:27:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437664', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437664', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:27:23] Production.INFO: ==5058== Releasing lock...
[2025-02-09 14:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:27:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:28:01] Production.INFO: ==5118== Lock acquired, processing the job...
[2025-02-09 19:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:28:01] Production.INFO: neon service started
[2025-02-09 19:28:01] Production.INFO: neon service started
[2025-02-09 19:28:01] Production.INFO: ==5118== Releasing lock...
[2025-02-09 19:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:28:02] Production.INFO: ==5122== Lock acquired, processing the job...
[2025-02-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:28:02] Production.INFO: ==5122== Releasing lock...
[2025-02-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:28:02] Production.INFO: ==5120== Lock acquired, processing the job...
[2025-02-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:28:02] Production.INFO: ==5120== Releasing lock...
[2025-02-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:28:03] Production.INFO: ==5130== Lock acquired, processing the job...
[2025-02-09 14:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:28:03] Production.INFO: ==5124== Lock acquired, processing the job...
[2025-02-09 14:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:28:03] Production.INFO: ==5133== Lock acquired, processing the job...
[2025-02-09 14:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:28:03] Production.INFO: Account Balance Start.
[2025-02-09 14:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:28:03] Production.INFO: 117
[2025-02-09 14:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:28:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:28:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:28:03] Production.INFO: Total Charge 0
[2025-02-09 14:28:03] Production.INFO: CreateAllLog End
[2025-02-09 14:28:03] Production.INFO: ==5126== Lock acquired, processing the job...
[2025-02-09 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:28:03] Production.INFO: ==5128== Lock acquired, processing the job...
[2025-02-09 14:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:28:03] Production.INFO: ==5135== Lock acquired, processing the job...
[2025-02-09 14:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:28:04] Production.INFO: Account Balance End.
[2025-02-09 14:28:04] Production.INFO: count ==21
[2025-02-09 14:28:04] Production.ERROR: done
[2025-02-09 14:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:28:04] Production.INFO: ==5130== Releasing lock...
[2025-02-09 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:28:04] Production.INFO: count ==21
[2025-02-09 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437668') start
[2025-02-09 14:28:04] Production.INFO: ==5126== Releasing lock...
[2025-02-09 14:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:28:04] Production.ERROR: done
[2025-02-09 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437668') end
[2025-02-09 14:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:28:04] Production.INFO: 1
[2025-02-09 14:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:28:04] Production.INFO: ==5135== Releasing lock...
[2025-02-09 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:28:05
[end_date_ymd] => 2025-02-09 14:28:05
[RateCDR] => 1
)
[2025-02-09 14:28: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` >= '2025-02-09 11:28:05' and `end` < '2025-02-09 14:28: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 ,'')
[2025-02-09 14:28:11] Production.ERROR: CronJobId end10
[2025-02-09 14:28:11] Production.INFO: ==5128== Releasing lock...
[2025-02-09 14:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:28:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:28:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:28:14] Production.INFO: call_cost start
[2025-02-09 14:28:14] Production.INFO: call_cost end
[2025-02-09 14:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:28:15] Production.INFO: ==5124== Releasing lock...
[2025-02-09 14:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:28:19] Production.INFO: count ==1526
[2025-02-09 14:28:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:28:05 - End Time 2025-02-09 14:28:05
[2025-02-09 14:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437669', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437669', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437669', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437669', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:28:19] Production.INFO: ProcessCDR(1,14437669,1,1,2)
[2025-02-09 14:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437669', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437669', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:28:22] Production.INFO: ==5133== Releasing lock...
[2025-02-09 14:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:28:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:29:02] Production.INFO: ==5195== Lock acquired, processing the job...
[2025-02-09 19:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:29:02] Production.INFO: neon service started
[2025-02-09 19:29:02] Production.INFO: neon service started
[2025-02-09 19:29:02] Production.INFO: ==5195== Releasing lock...
[2025-02-09 19:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:29:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 14:29:02] Production.INFO: ==5197== Lock acquired, processing the job...
[2025-02-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:29:02] Production.INFO: ==5199== Lock acquired, processing the job...
[2025-02-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:29:02] Production.INFO: ==5197== Releasing lock...
[2025-02-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:29:02] Production.INFO: ==5199== Releasing lock...
[2025-02-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:29:03] Production.INFO: ==5202== Lock acquired, processing the job...
[2025-02-09 14:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:29:03] Production.INFO: ==5206== Lock acquired, processing the job...
[2025-02-09 14:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:29:03] Production.INFO: ==5204== Lock acquired, processing the job...
[2025-02-09 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:29:03] Production.INFO: ==5210== Lock acquired, processing the job...
[2025-02-09 14:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:29:03] Production.INFO: ==5208== Lock acquired, processing the job...
[2025-02-09 14:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:29:04] Production.INFO: Account Balance Start.
[2025-02-09 14:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:29:04] Production.INFO: 117
[2025-02-09 14:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:29:04] Production.INFO: ==5212== Lock acquired, processing the job...
[2025-02-09 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:29:04] Production.INFO: ==5204== Releasing lock...
[2025-02-09 14:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:29:04] Production.INFO: Total Charge 0
[2025-02-09 14:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:29:04] Production.INFO: CreateAllLog End
[2025-02-09 14:29:04] Production.INFO: count ==21
[2025-02-09 14:29:04] Production.ERROR: done
[2025-02-09 14:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:29:04] Production.INFO: count ==21
[2025-02-09 14:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437673') start
[2025-02-09 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437673') end
[2025-02-09 14:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:29:04] Production.INFO: 1
[2025-02-09 14:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:29:04] Production.ERROR: done
[2025-02-09 14:29:04] Production.INFO: ==5212== Releasing lock...
[2025-02-09 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:29:04] Production.INFO: Account Balance End.
[2025-02-09 14:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:29:04] Production.INFO: ==5208== Releasing lock...
[2025-02-09 14:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:29:05
[end_date_ymd] => 2025-02-09 14:29:05
[RateCDR] => 1
)
[2025-02-09 14:29: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` >= '2025-02-09 11:29:05' and `end` < '2025-02-09 14:29: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 ,'')
[2025-02-09 14:29:12] Production.ERROR: CronJobId end10
[2025-02-09 14:29:12] Production.INFO: ==5206== Releasing lock...
[2025-02-09 14:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:29:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:29:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:29:14] Production.INFO: call_cost start
[2025-02-09 14:29:14] Production.INFO: call_cost end
[2025-02-09 14:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:29:15] Production.INFO: ==5202== Releasing lock...
[2025-02-09 14:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:29:19] Production.INFO: count ==1526
[2025-02-09 14:29:20] Production.ERROR: pbx CDR StartTime 2025-02-09 11:29:05 - End Time 2025-02-09 14:29:05
[2025-02-09 14:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437674', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437674', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437674', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437674', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:29:20] Production.INFO: ProcessCDR(1,14437674,1,1,2)
[2025-02-09 14:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437674', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437674', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:29:23] Production.INFO: ==5210== Releasing lock...
[2025-02-09 14:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:29:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:30:01] Production.INFO: ==5267== Lock acquired, processing the job...
[2025-02-09 19:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:30:01] Production.INFO: neon service started
[2025-02-09 19:30:01] Production.INFO: neon service started
[2025-02-09 19:30:01] Production.INFO: ==5267== Releasing lock...
[2025-02-09 19:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:30:01] Production.INFO: ==5271== Lock acquired, processing the job...
[2025-02-09 19:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:30:01] Production.INFO: ==5271== Releasing lock...
[2025-02-09 19:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:30:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:30:02] Production.INFO: ==5269== Lock acquired, processing the job...
[2025-02-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:30:02] Production.INFO: ==5269== Releasing lock...
[2025-02-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:30:03] Production.INFO: ==5274== Lock acquired, processing the job...
[2025-02-09 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 14:30:03] Production.INFO: ==5276== Lock acquired, processing the job...
[2025-02-09 14:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:30:03] Production.INFO: ==5278== Lock acquired, processing the job...
[2025-02-09 14:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 14:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 14:30:03] Production.INFO: ==5274== Releasing lock...
[2025-02-09 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 14:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 14:30:03] Production.INFO: ==5280== Lock acquired, processing the job...
[2025-02-09 14:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:30:03] Production.INFO: ==5282== Lock acquired, processing the job...
[2025-02-09 14:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:30:03] Production.INFO: ==5284== Lock acquired, processing the job...
[2025-02-09 14:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:30:03] Production.INFO: ==5286== Lock acquired, processing the job...
[2025-02-09 14:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 14:30:04] Production.INFO: Account Balance Start.
[2025-02-09 14:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:30:04] Production.INFO: 117
[2025-02-09 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:30:04] Production.INFO: ==5288== Lock acquired, processing the job...
[2025-02-09 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:30:04] Production.INFO: Total Charge 0
[2025-02-09 14:30:04] Production.INFO: CreateAllLog End
[2025-02-09 14:30:04] Production.INFO: ==5278== Releasing lock...
[2025-02-09 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:30:04] Production.INFO: count ==21
[2025-02-09 14:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:30:04] Production.INFO: count ==21
[2025-02-09 14:30:04] Production.ERROR: done
[2025-02-09 14:30:04] Production.ERROR: done
[2025-02-09 14:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437678') start
[2025-02-09 14:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 14:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437679', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 14:30:04] Production.ERROR: done
[2025-02-09 14:30:04] Production.INFO: Account Balance End.
[2025-02-09 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437678') end
[2025-02-09 14:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:30:04] Production.INFO: 1
[2025-02-09 14:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:30:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:30:04] Production.INFO: ==5282== Releasing lock...
[2025-02-09 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:30:04] Production.INFO: ==5288== Releasing lock...
[2025-02-09 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:30:06
[end_date_ymd] => 2025-02-09 14:30:06
[RateCDR] => 1
)
[2025-02-09 14:30: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-02-09 11:30:06' and `end` < '2025-02-09 14:30: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-02-09 14:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437679', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 14:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 14:30:09] Production.INFO: ProcessCDR(1,14437679,1,1,2)
[2025-02-09 14:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437679,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437679,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:30:09] Production.INFO: ==5286== Releasing lock...
[2025-02-09 14:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 14:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 14:30:15] Production.ERROR: CronJobId end10
[2025-02-09 14:30:15] Production.INFO: ==5280== Releasing lock...
[2025-02-09 14:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:30:17] Production.INFO: call_cost start
[2025-02-09 14:30:17] Production.INFO: call_cost end
[2025-02-09 14:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:30:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:30:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:30:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:30:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:30:18] Production.INFO: ==5276== Releasing lock...
[2025-02-09 14:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:30:19] Production.INFO: count ==1527
[2025-02-09 14:30:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:30:06 - End Time 2025-02-09 14:30:06
[2025-02-09 14:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437680', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437680', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437680', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437680', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:30:19] Production.INFO: ProcessCDR(1,14437680,1,1,2)
[2025-02-09 14:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437680', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437680', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:30:24] Production.INFO: ==5284== Releasing lock...
[2025-02-09 14:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:30:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:31:01] Production.INFO: ==5347== Lock acquired, processing the job...
[2025-02-09 19:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:31:01] Production.INFO: neon service started
[2025-02-09 19:31:01] Production.INFO: neon service started
[2025-02-09 19:31:01] Production.INFO: ==5347== Releasing lock...
[2025-02-09 19:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:31:02] Production.INFO: ==5351== Lock acquired, processing the job...
[2025-02-09 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:31:02] Production.INFO: ==5351== Releasing lock...
[2025-02-09 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:31:02] Production.INFO: ==5349== Lock acquired, processing the job...
[2025-02-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:31:02] Production.INFO: ==5349== Releasing lock...
[2025-02-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:31:03] Production.INFO: ==5356== Lock acquired, processing the job...
[2025-02-09 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:31:03] Production.INFO: ==5354== Lock acquired, processing the job...
[2025-02-09 14:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:31:03] Production.INFO: ==5358== Lock acquired, processing the job...
[2025-02-09 14:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:31:03] Production.INFO: ==5360== Lock acquired, processing the job...
[2025-02-09 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:31:03] Production.INFO: Account Balance Start.
[2025-02-09 14:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:31:03] Production.INFO: 117
[2025-02-09 14:31:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:31:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:31:03] Production.INFO: Total Charge 0
[2025-02-09 14:31:03] Production.INFO: CreateAllLog End
[2025-02-09 14:31:03] Production.INFO: ==5362== Lock acquired, processing the job...
[2025-02-09 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:31:04] Production.INFO: ==5356== Releasing lock...
[2025-02-09 14:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:31:04] Production.INFO: ==5364== Lock acquired, processing the job...
[2025-02-09 14:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:31:04] Production.INFO: Account Balance End.
[2025-02-09 14:31:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:31:04] Production.INFO: ==5360== Releasing lock...
[2025-02-09 14:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:31:04] Production.ERROR: done
[2025-02-09 14:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:31:04] Production.INFO: count ==21
[2025-02-09 14:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:31:04] Production.INFO: count ==21
[2025-02-09 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437684') start
[2025-02-09 14:31:04] Production.ERROR: done
[2025-02-09 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437684') end
[2025-02-09 14:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:31:04] Production.INFO: 1
[2025-02-09 14:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:31:04] Production.INFO: ==5364== Releasing lock...
[2025-02-09 14:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:31:05
[end_date_ymd] => 2025-02-09 14:31:05
[RateCDR] => 1
)
[2025-02-09 14:31: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` >= '2025-02-09 11:31:05' and `end` < '2025-02-09 14:31: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 ,'')
[2025-02-09 14:31:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 14:31:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:31:11] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:31:11] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:31:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:31:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:31:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:31:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:31:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:31:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:31:11] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:31:11] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:31:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:31:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:31:11] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:31:11] Production.INFO: call_cost start
[2025-02-09 14:31:11] Production.INFO: call_cost end
[2025-02-09 14:31:12] Production.ERROR: CronJobId end10
[2025-02-09 14:31:12] Production.INFO: ==5358== Releasing lock...
[2025-02-09 14:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:31:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:31:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:31:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:31:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:31:13] Production.INFO: ==5354== Releasing lock...
[2025-02-09 14:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:31:18] Production.INFO: count ==1533
[2025-02-09 14:31:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:31:05 - End Time 2025-02-09 14:31:05
[2025-02-09 14:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437685', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437685', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437685', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437685', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:31:18] Production.INFO: ProcessCDR(1,14437685,1,1,2)
[2025-02-09 14:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437685', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437685', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:31:21] Production.INFO: ==5362== Releasing lock...
[2025-02-09 14:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:31:21] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:32:01] Production.INFO: ==5466== Lock acquired, processing the job...
[2025-02-09 19:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:32:01] Production.INFO: neon service started
[2025-02-09 19:32:01] Production.INFO: neon service started
[2025-02-09 19:32:01] Production.INFO: ==5466== Releasing lock...
[2025-02-09 19:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:32:01] Production.INFO: ==5468== Lock acquired, processing the job...
[2025-02-09 14:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:32:02] Production.INFO: ==5468== Releasing lock...
[2025-02-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:32:02] Production.INFO: ==5470== Lock acquired, processing the job...
[2025-02-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:32:02] Production.INFO: ==5470== Releasing lock...
[2025-02-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:32:02] Production.INFO: ==5473== Lock acquired, processing the job...
[2025-02-09 14:32:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:32:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:32:03] Production.INFO: ==5477== Lock acquired, processing the job...
[2025-02-09 14:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:32:03] Production.INFO: ==5479== Lock acquired, processing the job...
[2025-02-09 14:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:32:03] Production.INFO: ==5475== Lock acquired, processing the job...
[2025-02-09 14:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:32:03] Production.INFO: Account Balance Start.
[2025-02-09 14:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:32:03] Production.INFO: 117
[2025-02-09 14:32:03] Production.INFO: ==5481== Lock acquired, processing the job...
[2025-02-09 14:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:32:03] Production.INFO: ==5483== Lock acquired, processing the job...
[2025-02-09 14:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:32:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:32:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:32:03] Production.INFO: Total Charge 0
[2025-02-09 14:32:03] Production.INFO: CreateAllLog End
[2025-02-09 14:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:32:03] Production.INFO: count ==21
[2025-02-09 14:32:03] Production.INFO: ==5475== Releasing lock...
[2025-02-09 14:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:32:03] Production.ERROR: done
[2025-02-09 14:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:32:03] Production.INFO: count ==21
[2025-02-09 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437689') start
[2025-02-09 14:32:04] Production.ERROR: done
[2025-02-09 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437689') end
[2025-02-09 14:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:32:04] Production.INFO: 1
[2025-02-09 14:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:32:04] Production.INFO: Account Balance End.
[2025-02-09 14:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:32:04] Production.INFO: ==5479== Releasing lock...
[2025-02-09 14:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:32:04] Production.INFO: ==5483== Releasing lock...
[2025-02-09 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:32:05
[end_date_ymd] => 2025-02-09 14:32:05
[RateCDR] => 1
)
[2025-02-09 14:32: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` >= '2025-02-09 11:32:05' and `end` < '2025-02-09 14:32: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 ,'')
[2025-02-09 14:32:12] Production.ERROR: CronJobId end10
[2025-02-09 14:32:12] Production.INFO: ==5477== Releasing lock...
[2025-02-09 14:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:32:14] Production.INFO: call_cost start
[2025-02-09 14:32:14] Production.INFO: call_cost end
[2025-02-09 14:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:32:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:32:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:32:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:32:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:32:15] Production.INFO: ==5473== Releasing lock...
[2025-02-09 14:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:32:19] Production.INFO: count ==1530
[2025-02-09 14:32:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:32:05 - End Time 2025-02-09 14:32:05
[2025-02-09 14:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437690', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437690', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437690', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437690', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:32:19] Production.INFO: ProcessCDR(1,14437690,1,1,2)
[2025-02-09 14:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437690', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437690', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:32:22] Production.INFO: ==5481== Releasing lock...
[2025-02-09 14:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:32:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:33:01] Production.INFO: ==5542== Lock acquired, processing the job...
[2025-02-09 19:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:33:01] Production.INFO: neon service started
[2025-02-09 19:33:01] Production.INFO: neon service started
[2025-02-09 19:33:01] Production.INFO: ==5542== Releasing lock...
[2025-02-09 19:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:33:02] Production.INFO: ==5544== Lock acquired, processing the job...
[2025-02-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:33:02] Production.INFO: ==5546== Lock acquired, processing the job...
[2025-02-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:33:02] Production.INFO: ==5544== Releasing lock...
[2025-02-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:33:02] Production.INFO: ==5546== Releasing lock...
[2025-02-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:33:03] Production.INFO: ==5549== Lock acquired, processing the job...
[2025-02-09 14:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:33:03] Production.INFO: ==5553== Lock acquired, processing the job...
[2025-02-09 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:33:03] Production.INFO: ==5551== Lock acquired, processing the job...
[2025-02-09 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:33:03] Production.INFO: ==5555== Lock acquired, processing the job...
[2025-02-09 14:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:33:03] Production.INFO: ==5557== Lock acquired, processing the job...
[2025-02-09 14:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:33:03] Production.INFO: ==5559== Lock acquired, processing the job...
[2025-02-09 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:33:03] Production.INFO: Account Balance Start.
[2025-02-09 14:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:33:03] Production.INFO: 117
[2025-02-09 14:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:33:03] Production.INFO: count ==21
[2025-02-09 14:33:03] Production.INFO: Total Charge 0
[2025-02-09 14:33:03] Production.INFO: CreateAllLog End
[2025-02-09 14:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:33:03] Production.INFO: count ==21
[2025-02-09 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437694') start
[2025-02-09 14:33:03] Production.INFO: ==5551== Releasing lock...
[2025-02-09 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437694') end
[2025-02-09 14:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:33:03] Production.INFO: 1
[2025-02-09 14:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:33:03] Production.INFO: Account Balance End.
[2025-02-09 14:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:33:04] Production.INFO: ==5555== Releasing lock...
[2025-02-09 14:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:33:04] Production.INFO: ==5559== Releasing lock...
[2025-02-09 14:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:33:04] Production.ERROR: done
[2025-02-09 14:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:33:04] Production.ERROR: done
[2025-02-09 14:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:33:05
[end_date_ymd] => 2025-02-09 14:33:05
[RateCDR] => 1
)
[2025-02-09 14:33: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` >= '2025-02-09 11:33:05' and `end` < '2025-02-09 14:33: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 ,'')
[2025-02-09 14:33:11] Production.ERROR: CronJobId end10
[2025-02-09 14:33:11] Production.INFO: ==5553== Releasing lock...
[2025-02-09 14:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:33:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:33:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:33:14] Production.INFO: call_cost start
[2025-02-09 14:33:14] Production.INFO: call_cost end
[2025-02-09 14:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:33:15] Production.INFO: ==5549== Releasing lock...
[2025-02-09 14:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:33:19] Production.INFO: count ==1529
[2025-02-09 14:33:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:33:05 - End Time 2025-02-09 14:33:05
[2025-02-09 14:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437695', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437695', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437695', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437695', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:33:19] Production.INFO: ProcessCDR(1,14437695,1,1,2)
[2025-02-09 14:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437695', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437695', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:33:22] Production.INFO: ==5557== Releasing lock...
[2025-02-09 14:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:33:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:34:01] Production.INFO: ==5615== Lock acquired, processing the job...
[2025-02-09 19:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:34:01] Production.INFO: neon service started
[2025-02-09 19:34:01] Production.INFO: neon service started
[2025-02-09 19:34:01] Production.INFO: ==5615== Releasing lock...
[2025-02-09 19:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:34:01] Production.INFO: ==5617== Lock acquired, processing the job...
[2025-02-09 14:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:34:02] Production.INFO: ==5617== Releasing lock...
[2025-02-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:34:02] Production.INFO: ==5619== Lock acquired, processing the job...
[2025-02-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:34:02] Production.INFO: ==5619== Releasing lock...
[2025-02-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:34:03] Production.INFO: ==5621== Lock acquired, processing the job...
[2025-02-09 14:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:34:03] Production.INFO: ==5631== Lock acquired, processing the job...
[2025-02-09 14:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:34:03] Production.INFO: ==5623== Lock acquired, processing the job...
[2025-02-09 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:34:03] Production.INFO: ==5625== Lock acquired, processing the job...
[2025-02-09 14:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:34:03] Production.INFO: ==5627== Lock acquired, processing the job...
[2025-02-09 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:34:03] Production.INFO: count ==21
[2025-02-09 14:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:34:03] Production.INFO: ==5629== Lock acquired, processing the job...
[2025-02-09 14:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:34:03] Production.INFO: count ==21
[2025-02-09 14:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437696') start
[2025-02-09 14:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:34:03] Production.INFO: Account Balance Start.
[2025-02-09 14:34:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:34:03] Production.INFO: 117
[2025-02-09 14:34:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437696') end
[2025-02-09 14:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:34:03] Production.INFO: 1
[2025-02-09 14:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:34:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:34:03] Production.INFO: ==5631== Releasing lock...
[2025-02-09 14:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:34:03] Production.INFO: ==5623== Releasing lock...
[2025-02-09 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:34:03] Production.INFO: Total Charge 0
[2025-02-09 14:34:03] Production.INFO: CreateAllLog End
[2025-02-09 14:34:03] Production.ERROR: done
[2025-02-09 14:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:34:03] Production.ERROR: done
[2025-02-09 14:34:04] Production.INFO: Account Balance End.
[2025-02-09 14:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:34:04] Production.INFO: ==5627== Releasing lock...
[2025-02-09 14:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:34:05
[end_date_ymd] => 2025-02-09 14:34:05
[RateCDR] => 1
)
[2025-02-09 14:34: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` >= '2025-02-09 11:34:05' and `end` < '2025-02-09 14:34: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 ,'')
[2025-02-09 14:34:12] Production.ERROR: CronJobId end10
[2025-02-09 14:34:12] Production.INFO: ==5625== Releasing lock...
[2025-02-09 14:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:34:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:34:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:34:15] Production.INFO: call_cost start
[2025-02-09 14:34:15] Production.INFO: call_cost end
[2025-02-09 14:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:34:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:34:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:34:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:34:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:34:16] Production.INFO: ==5621== Releasing lock...
[2025-02-09 14:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:34:18] Production.INFO: count ==1529
[2025-02-09 14:34:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:34:05 - End Time 2025-02-09 14:34:05
[2025-02-09 14:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437700', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437700', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437700', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437700', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:34:18] Production.INFO: ProcessCDR(1,14437700,1,1,2)
[2025-02-09 14:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437700', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437700', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:34:21] Production.INFO: ==5629== Releasing lock...
[2025-02-09 14:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:34:21] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:35:01] Production.INFO: ==5707== Lock acquired, processing the job...
[2025-02-09 19:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:35:01] Production.INFO: neon service started
[2025-02-09 19:35:01] Production.INFO: neon service started
[2025-02-09 19:35:01] Production.INFO: ==5707== Releasing lock...
[2025-02-09 19:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:35:02] Production.INFO: ==5709== Lock acquired, processing the job...
[2025-02-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:35:02] Production.INFO: ==5711== Lock acquired, processing the job...
[2025-02-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:35:02] Production.INFO: ==5709== Releasing lock...
[2025-02-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:35:02] Production.INFO: ==5711== Releasing lock...
[2025-02-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:35:03] Production.INFO: ==5713== Lock acquired, processing the job...
[2025-02-09 14:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:35:03] Production.INFO: ==5721== Lock acquired, processing the job...
[2025-02-09 14:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:35:03] Production.ERROR: done
[2025-02-09 14:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:35:03] Production.INFO: ==5723== Lock acquired, processing the job...
[2025-02-09 14:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:35:03] Production.INFO: ==5715== Lock acquired, processing the job...
[2025-02-09 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:35:03] Production.ERROR: done
[2025-02-09 14:35:03] Production.INFO: ==5717== Lock acquired, processing the job...
[2025-02-09 14:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:35:03] Production.INFO: ==5719== Lock acquired, processing the job...
[2025-02-09 14:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:35:03] Production.INFO: count ==21
[2025-02-09 14:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:35:03] Production.INFO: count ==21
[2025-02-09 14:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437702') start
[2025-02-09 14:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:35:03] Production.INFO: Account Balance Start.
[2025-02-09 14:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:35:03] Production.INFO: 117
[2025-02-09 14:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:35:03] Production.INFO: ==5715== Releasing lock...
[2025-02-09 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:35:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:35:04] Production.INFO: Total Charge 0
[2025-02-09 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437702') end
[2025-02-09 14:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:35:04] Production.INFO: 1
[2025-02-09 14:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:35:04] Production.INFO: CreateAllLog End
[2025-02-09 14:35:04] Production.INFO: ==5723== Releasing lock...
[2025-02-09 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:35:04] Production.INFO: Account Balance End.
[2025-02-09 14:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:35:04] Production.INFO: ==5719== Releasing lock...
[2025-02-09 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:35:04
[end_date_ymd] => 2025-02-09 14:35:04
[RateCDR] => 1
)
[2025-02-09 14:35:04] 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-02-09 11:35:04' and `end` < '2025-02-09 14:35:04'
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-02-09 14:35:12] Production.ERROR: CronJobId end10
[2025-02-09 14:35:12] Production.INFO: ==5717== Releasing lock...
[2025-02-09 14:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:35:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:35:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:35:13] Production.INFO: call_cost start
[2025-02-09 14:35:13] Production.INFO: call_cost end
[2025-02-09 14:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:35:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:35:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:35:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:35:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:35:14] Production.INFO: ==5713== Releasing lock...
[2025-02-09 14:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:35:17] Production.INFO: count ==1529
[2025-02-09 14:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:35:04 - End Time 2025-02-09 14:35:04
[2025-02-09 14:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437703', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437703', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437703', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437703', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:35:18] Production.INFO: ProcessCDR(1,14437703,1,1,2)
[2025-02-09 14:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437703,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437703,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437703', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437703', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:35:21] Production.INFO: ==5721== Releasing lock...
[2025-02-09 14:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:35:21] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:36:02] Production.INFO: ==5783== Lock acquired, processing the job...
[2025-02-09 19:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:36:02] Production.INFO: neon service started
[2025-02-09 19:36:02] Production.INFO: neon service started
[2025-02-09 19:36:02] Production.INFO: ==5783== Releasing lock...
[2025-02-09 19:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:36:02] Production.INFO: ==5785== Lock acquired, processing the job...
[2025-02-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:36:02] Production.INFO: ==5785== Releasing lock...
[2025-02-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:36:03] Production.INFO: ==5788== Lock acquired, processing the job...
[2025-02-09 19:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:36:03] Production.INFO: ==5788== Releasing lock...
[2025-02-09 19:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:36:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:36:03] Production.INFO: ==5790== Lock acquired, processing the job...
[2025-02-09 14:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:36:03] Production.INFO: ==5792== Lock acquired, processing the job...
[2025-02-09 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:36:03] Production.INFO: ==5798== Lock acquired, processing the job...
[2025-02-09 14:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:36:03] Production.INFO: ==5796== Lock acquired, processing the job...
[2025-02-09 14:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:36:03] Production.INFO: ==5794== Lock acquired, processing the job...
[2025-02-09 14:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:36:04] Production.INFO: ==5800== Lock acquired, processing the job...
[2025-02-09 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:36:04] Production.INFO: Account Balance Start.
[2025-02-09 14:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:36:04] Production.INFO: 117
[2025-02-09 14:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:36:04] Production.INFO: Total Charge 0
[2025-02-09 14:36:04] Production.INFO: CreateAllLog End
[2025-02-09 14:36:04] Production.INFO: count ==21
[2025-02-09 14:36:04] Production.INFO: ==5792== Releasing lock...
[2025-02-09 14:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:36:04] Production.ERROR: done
[2025-02-09 14:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:36:04] Production.INFO: count ==21
[2025-02-09 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437709') start
[2025-02-09 14:36:04] Production.ERROR: done
[2025-02-09 14:36:04] Production.INFO: Account Balance End.
[2025-02-09 14:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:36:04] Production.INFO: ==5796== Releasing lock...
[2025-02-09 14:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437709') end
[2025-02-09 14:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:36:04] Production.INFO: 1
[2025-02-09 14:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:36:04] Production.INFO: ==5800== Releasing lock...
[2025-02-09 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:36:05
[end_date_ymd] => 2025-02-09 14:36:05
[RateCDR] => 1
)
[2025-02-09 14:36: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` >= '2025-02-09 11:36:05' and `end` < '2025-02-09 14:36: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 ,'')
[2025-02-09 14:36:12] Production.ERROR: CronJobId end10
[2025-02-09 14:36:12] Production.INFO: ==5794== Releasing lock...
[2025-02-09 14:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:36:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:36:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:36:15] Production.INFO: call_cost start
[2025-02-09 14:36:15] Production.INFO: call_cost end
[2025-02-09 14:36:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:36:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:36:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:36:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:36:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:36:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:36:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:36:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:36:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:36:16] Production.INFO: ==5790== Releasing lock...
[2025-02-09 14:36:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:36:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:36:18] Production.INFO: count ==1529
[2025-02-09 14:36:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:36:05 - End Time 2025-02-09 14:36:05
[2025-02-09 14:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437710', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437710', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437710', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437710', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:36:19] Production.INFO: ProcessCDR(1,14437710,1,1,2)
[2025-02-09 14:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437710', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437710', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:36:22] Production.INFO: ==5798== Releasing lock...
[2025-02-09 14:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:36:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:37:01] Production.INFO: ==5860== Lock acquired, processing the job...
[2025-02-09 19:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:37:01] Production.INFO: neon service started
[2025-02-09 19:37:01] Production.INFO: neon service started
[2025-02-09 19:37:01] Production.INFO: ==5860== Releasing lock...
[2025-02-09 19:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:37:02] Production.INFO: ==5862== Lock acquired, processing the job...
[2025-02-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:37:02] Production.INFO: ==5864== Lock acquired, processing the job...
[2025-02-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:37:02] Production.INFO: ==5864== Releasing lock...
[2025-02-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:37:02] Production.INFO: ==5862== Releasing lock...
[2025-02-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:37:03] Production.INFO: ==5875== Lock acquired, processing the job...
[2025-02-09 14:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:37:03] Production.ERROR: done
[2025-02-09 14:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:37:04] Production.ERROR: done
[2025-02-09 14:37:04] Production.INFO: ==5867== Lock acquired, processing the job...
[2025-02-09 14:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:37:04] Production.INFO: ==5869== Lock acquired, processing the job...
[2025-02-09 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:37:04] Production.INFO: ==5871== Lock acquired, processing the job...
[2025-02-09 14:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:37:04] Production.INFO: ==5877== Lock acquired, processing the job...
[2025-02-09 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:37:04] Production.INFO: ==5873== Lock acquired, processing the job...
[2025-02-09 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:37:04] Production.INFO: Account Balance Start.
[2025-02-09 14:37:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:37:04] Production.INFO: 117
[2025-02-09 14:37:04] Production.INFO: count ==21
[2025-02-09 14:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:37:04] Production.INFO: count ==21
[2025-02-09 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437714') start
[2025-02-09 14:37:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:37:04] Production.INFO: Total Charge 0
[2025-02-09 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437714') end
[2025-02-09 14:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:37:04] Production.INFO: 1
[2025-02-09 14:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:37:04] Production.INFO: CreateAllLog End
[2025-02-09 14:37:04] Production.INFO: ==5869== Releasing lock...
[2025-02-09 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:37:04] Production.INFO: ==5877== Releasing lock...
[2025-02-09 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:37:04] Production.INFO: Account Balance End.
[2025-02-09 14:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:37:04] Production.INFO: ==5873== Releasing lock...
[2025-02-09 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:37:05
[end_date_ymd] => 2025-02-09 14:37:05
[RateCDR] => 1
)
[2025-02-09 14:37: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` >= '2025-02-09 11:37:05' and `end` < '2025-02-09 14:37: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 ,'')
[2025-02-09 14:37:11] Production.ERROR: CronJobId end10
[2025-02-09 14:37:11] Production.INFO: ==5871== Releasing lock...
[2025-02-09 14:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:37:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:37:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:37:14] Production.INFO: call_cost start
[2025-02-09 14:37:14] Production.INFO: call_cost end
[2025-02-09 14:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:37:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:37:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:37:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:37:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:37:14] Production.INFO: ==5867== Releasing lock...
[2025-02-09 14:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:37:18] Production.INFO: count ==1519
[2025-02-09 14:37:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:37:05 - End Time 2025-02-09 14:37:05
[2025-02-09 14:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437711', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437711', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437711', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437711', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:37:18] Production.INFO: ProcessCDR(1,14437711,1,1,2)
[2025-02-09 14:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437711', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437711', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:37:22] Production.INFO: ==5875== Releasing lock...
[2025-02-09 14:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:37:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:38:02] Production.INFO: ==5936== Lock acquired, processing the job...
[2025-02-09 19:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:38:02] Production.INFO: neon service started
[2025-02-09 19:38:02] Production.INFO: neon service started
[2025-02-09 19:38:02] Production.INFO: ==5936== Releasing lock...
[2025-02-09 19:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:38:02] Production.INFO: ==5938== Lock acquired, processing the job...
[2025-02-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:38:02] Production.INFO: ==5938== Releasing lock...
[2025-02-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:38:02] Production.INFO: ==5940== Lock acquired, processing the job...
[2025-02-09 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:38:03] Production.INFO: ==5940== Releasing lock...
[2025-02-09 19:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:38:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:38:03] Production.INFO: ==5946== Lock acquired, processing the job...
[2025-02-09 14:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:38:03] Production.INFO: ==5950== Lock acquired, processing the job...
[2025-02-09 14:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:38:03] Production.INFO: ==5942== Lock acquired, processing the job...
[2025-02-09 14:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:38:03] Production.INFO: ==5944== Lock acquired, processing the job...
[2025-02-09 14:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:38:04] Production.INFO: ==5948== Lock acquired, processing the job...
[2025-02-09 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:38:04] Production.INFO: ==5952== Lock acquired, processing the job...
[2025-02-09 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:38:04] Production.INFO: Account Balance Start.
[2025-02-09 14:38:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:38:04] Production.INFO: 117
[2025-02-09 14:38:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:38:04] Production.INFO: Total Charge 0
[2025-02-09 14:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:38:04] Production.INFO: CreateAllLog End
[2025-02-09 14:38:04] Production.INFO: count ==21
[2025-02-09 14:38:04] Production.INFO: ==5944== Releasing lock...
[2025-02-09 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:38:04] Production.ERROR: done
[2025-02-09 14:38:04] Production.INFO: count ==21
[2025-02-09 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437719') start
[2025-02-09 14:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437719') end
[2025-02-09 14:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:38:04] Production.INFO: 1
[2025-02-09 14:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:38:04] Production.ERROR: done
[2025-02-09 14:38:04] Production.INFO: ==5952== Releasing lock...
[2025-02-09 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:38:04] Production.INFO: Account Balance End.
[2025-02-09 14:38:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:38:04] Production.INFO: ==5948== Releasing lock...
[2025-02-09 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:38:05
[end_date_ymd] => 2025-02-09 14:38:05
[RateCDR] => 1
)
[2025-02-09 14:38: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` >= '2025-02-09 11:38:05' and `end` < '2025-02-09 14:38: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 ,'')
[2025-02-09 14:38:13] Production.ERROR: CronJobId end10
[2025-02-09 14:38:13] Production.INFO: ==5946== Releasing lock...
[2025-02-09 14:38:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:38:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:38:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:38:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:38:15] Production.INFO: call_cost start
[2025-02-09 14:38:15] Production.INFO: call_cost end
[2025-02-09 14:38:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:38:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:38:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:38:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:38:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:38:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:38:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:38:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:38:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:38:16] Production.INFO: ==5942== Releasing lock...
[2025-02-09 14:38:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:38:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:38:19] Production.INFO: count ==1519
[2025-02-09 14:38:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:38:05 - End Time 2025-02-09 14:38:05
[2025-02-09 14:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437720', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437720', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437720', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437720', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:38:19] Production.INFO: ProcessCDR(1,14437720,1,1,2)
[2025-02-09 14:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437720', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437720', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:38:22] Production.INFO: ==5950== Releasing lock...
[2025-02-09 14:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:38:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:39:01] Production.INFO: ==6010== Lock acquired, processing the job...
[2025-02-09 19:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:39:01] Production.INFO: neon service started
[2025-02-09 19:39:01] Production.INFO: neon service started
[2025-02-09 19:39:01] Production.INFO: ==6010== Releasing lock...
[2025-02-09 19:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:39:02] Production.INFO: ==6012== Lock acquired, processing the job...
[2025-02-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:39:02] Production.INFO: ==6012== Releasing lock...
[2025-02-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:39:02] Production.INFO: ==6014== Lock acquired, processing the job...
[2025-02-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:39:02] Production.INFO: ==6014== Releasing lock...
[2025-02-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:39:03] Production.INFO: ==6025== Lock acquired, processing the job...
[2025-02-09 14:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:39:03] Production.INFO: ==6027== Lock acquired, processing the job...
[2025-02-09 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:39:03] Production.INFO: ==6020== Lock acquired, processing the job...
[2025-02-09 14:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:39:03] Production.INFO: ==6016== Lock acquired, processing the job...
[2025-02-09 14:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:39:03] Production.INFO: ==6018== Lock acquired, processing the job...
[2025-02-09 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:39:03] Production.INFO: ==6022== Lock acquired, processing the job...
[2025-02-09 14:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:39:03] Production.INFO: Account Balance Start.
[2025-02-09 14:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:39:03] Production.INFO: 117
[2025-02-09 14:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:39:03] Production.INFO: count ==21
[2025-02-09 14:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:39:03] Production.INFO: count ==21
[2025-02-09 14:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437722') start
[2025-02-09 14:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:39:03] Production.INFO: Total Charge 0
[2025-02-09 14:39:03] Production.INFO: CreateAllLog End
[2025-02-09 14:39:03] Production.ERROR: done
[2025-02-09 14:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437722') end
[2025-02-09 14:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:39:03] Production.INFO: 1
[2025-02-09 14:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:39:03] Production.INFO: ==6018== Releasing lock...
[2025-02-09 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:39:03] Production.INFO: ==6027== Releasing lock...
[2025-02-09 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:39:04] Production.ERROR: done
[2025-02-09 14:39:04] Production.INFO: Account Balance End.
[2025-02-09 14:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:39:04] Production.INFO: ==6022== Releasing lock...
[2025-02-09 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:39:05
[end_date_ymd] => 2025-02-09 14:39:05
[RateCDR] => 1
)
[2025-02-09 14:39: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` >= '2025-02-09 11:39:05' and `end` < '2025-02-09 14:39: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 ,'')
[2025-02-09 14:39:11] Production.ERROR: CronJobId end10
[2025-02-09 14:39:11] Production.INFO: ==6020== Releasing lock...
[2025-02-09 14:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:39:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:39:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:39:14] Production.INFO: call_cost start
[2025-02-09 14:39:14] Production.INFO: call_cost end
[2025-02-09 14:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:39:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:39:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:39:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:39:15] Production.INFO: ==6016== Releasing lock...
[2025-02-09 14:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:39:19] Production.INFO: count ==1518
[2025-02-09 14:39:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:39:05 - End Time 2025-02-09 14:39:05
[2025-02-09 14:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437725', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437725', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437725', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437725', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:39:19] Production.INFO: ProcessCDR(1,14437725,1,1,2)
[2025-02-09 14:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437725', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437725', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:39:23] Production.INFO: ==6025== Releasing lock...
[2025-02-09 14:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:39:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:40:02] Production.INFO: ==6084== Lock acquired, processing the job...
[2025-02-09 19:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:40:02] Production.INFO: neon service started
[2025-02-09 19:40:02] Production.INFO: neon service started
[2025-02-09 19:40:02] Production.INFO: ==6084== Releasing lock...
[2025-02-09 19:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:40:02] Production.INFO: ==6086== Lock acquired, processing the job...
[2025-02-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:40:02] Production.INFO: ==6088== Lock acquired, processing the job...
[2025-02-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:40:02] Production.INFO: ==6088== Releasing lock...
[2025-02-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:40:03] Production.INFO: ==6086== Releasing lock...
[2025-02-09 14:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:40:04] Production.INFO: ==6097== Lock acquired, processing the job...
[2025-02-09 14:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:40:04] Production.INFO: ==6101== Lock acquired, processing the job...
[2025-02-09 14:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:40:04] Production.INFO: ==6091== Lock acquired, processing the job...
[2025-02-09 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 14:40:04] Production.INFO: ==6105== Lock acquired, processing the job...
[2025-02-09 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:40:04] Production.INFO: ==6093== Lock acquired, processing the job...
[2025-02-09 14:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:40:04] Production.INFO: ==6095== Lock acquired, processing the job...
[2025-02-09 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:40:04] Production.INFO: ==6099== Lock acquired, processing the job...
[2025-02-09 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:40:04] Production.INFO: ==6103== Lock acquired, processing the job...
[2025-02-09 14:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:40:04] Production.ERROR: CronJob PID - 6093
[2025-02-09 14:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 14:40:04] Production.ERROR: CronJob ID - 5
[2025-02-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 14:40:00
[2025-02-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:40:04] Production.ERROR: CronJob PID - 6095
[2025-02-09 14:40:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 14:40:04] Production.ERROR: CronJob ID - 7
[2025-02-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 14:40:00
[2025-02-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:40:04] Production.ERROR: CronJob PID - 6097
[2025-02-09 14:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 14:40:04] Production.ERROR: CronJob ID - 10
[2025-02-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 14:40:00
[2025-02-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:40:04] Production.ERROR: CronJob PID - 6101
[2025-02-09 14:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 14:40:04] Production.ERROR: CronJob ID - 16
[2025-02-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 14:40:00
[2025-02-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:40:04] Production.ERROR: CronJob PID - 6105
[2025-02-09 14:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 14:40:04] Production.ERROR: CronJob ID - 19
[2025-02-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 14:40:00
[2025-02-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:40:04] Production.INFO: count ==21
[2025-02-09 14:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 14:40:04] Production.INFO: ==6091== Releasing lock...
[2025-02-09 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 14:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 14:40:04] Production.INFO: count ==21
[2025-02-09 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:40:04] Production.INFO: Account Balance Start.
[2025-02-09 14:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:40:04] Production.INFO: 117
[2025-02-09 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437726') start
[2025-02-09 14:40:04] Production.ERROR: done
[2025-02-09 14:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:40:05] Production.INFO: Date 2025-02-09
[2025-02-09 14:40:05] Production.INFO: Reseller ==> 0
[2025-02-09 14:40:05] Production.INFO: Total Charge 0
[2025-02-09 14:40:05] Production.INFO: CreateAllLog End
[2025-02-09 14:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437726') end
[2025-02-09 14:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:40:05] Production.INFO: 1
[2025-02-09 14:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:40:05] Production.ERROR: done
[2025-02-09 14:40:05] Production.ERROR: done
[2025-02-09 14:40:05] Production.INFO: ==6095== Releasing lock...
[2025-02-09 14:40:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:40:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:40:05] Production.INFO: ==6105== Releasing lock...
[2025-02-09 14:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 14:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437731', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 14:40:05] Production.INFO: Account Balance End.
[2025-02-09 14:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 14:40:05] Production.INFO: ==6099== Releasing lock...
[2025-02-09 14:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:40:06
[end_date_ymd] => 2025-02-09 14:40:06
[RateCDR] => 1
)
[2025-02-09 14:40: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-02-09 11:40:06' and `end` < '2025-02-09 14:40: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-02-09 14:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437731', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 14:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 14:40:09] Production.INFO: ProcessCDR(1,14437731,1,1,2)
[2025-02-09 14:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437731,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437731,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:40:09] Production.INFO: ==6103== Releasing lock...
[2025-02-09 14:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 14:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 14:40:14] Production.ERROR: CronJobId end10
[2025-02-09 14:40:14] Production.INFO: ==6097== Releasing lock...
[2025-02-09 14:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:40:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:40:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:40:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:40:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:40:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:40:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:40:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:40:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:40:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:40:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:40:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:40:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:40:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:40:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:40:17] Production.INFO: call_cost start
[2025-02-09 14:40:17] Production.INFO: call_cost end
[2025-02-09 14:40:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:40:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:40:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:40:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:40:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:40:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:40:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:40:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:40:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:40:18] Production.INFO: ==6093== Releasing lock...
[2025-02-09 14:40:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:40:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:40:19] Production.INFO: count ==1510
[2025-02-09 14:40:20] Production.ERROR: pbx CDR StartTime 2025-02-09 11:40:06 - End Time 2025-02-09 14:40:06
[2025-02-09 14:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437730', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437730', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437730', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437730', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:40:20] Production.INFO: ProcessCDR(1,14437730,1,1,2)
[2025-02-09 14:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437730', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437730', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:40:23] Production.INFO: ==6101== Releasing lock...
[2025-02-09 14:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:40:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:41:01] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-02-09 19:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:41:01] Production.INFO: neon service started
[2025-02-09 19:41:01] Production.INFO: neon service started
[2025-02-09 19:41:01] Production.INFO: ==6163== Releasing lock...
[2025-02-09 19:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:41:01] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-02-09 19:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:41:01] Production.INFO: ==6167== Releasing lock...
[2025-02-09 19:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:41:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:41:02] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-02-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:41:02] Production.INFO: ==6165== Releasing lock...
[2025-02-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:41:03] Production.INFO: ==6170== Lock acquired, processing the job...
[2025-02-09 14:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:41:03] Production.INFO: ==6172== Lock acquired, processing the job...
[2025-02-09 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:41:03] Production.INFO: ==6180== Lock acquired, processing the job...
[2025-02-09 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:41:03] Production.INFO: ==6172== Releasing lock...
[2025-02-09 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:41:03] Production.INFO: ==6174== Lock acquired, processing the job...
[2025-02-09 14:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:41:03] Production.INFO: count ==21
[2025-02-09 14:41:03] Production.INFO: ==6176== Lock acquired, processing the job...
[2025-02-09 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:41:03] Production.INFO: count ==21
[2025-02-09 14:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:41:03] Production.INFO: ==6178== Lock acquired, processing the job...
[2025-02-09 14:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437734') start
[2025-02-09 14:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:41:03] Production.INFO: Account Balance Start.
[2025-02-09 14:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:41:03] Production.INFO: 117
[2025-02-09 14:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437734') end
[2025-02-09 14:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:41:03] Production.INFO: 1
[2025-02-09 14:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:41:04] Production.INFO: ==6180== Releasing lock...
[2025-02-09 14:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:41:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:41:04] Production.INFO: Total Charge 0
[2025-02-09 14:41:04] Production.INFO: CreateAllLog End
[2025-02-09 14:41:04] Production.ERROR: done
[2025-02-09 14:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:41:04] Production.INFO: Account Balance End.
[2025-02-09 14:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:41:04] Production.INFO: ==6176== Releasing lock...
[2025-02-09 14:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:41:04] Production.ERROR: done
[2025-02-09 14:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:41:05
[end_date_ymd] => 2025-02-09 14:41:05
[RateCDR] => 1
)
[2025-02-09 14:41: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` >= '2025-02-09 11:41:05' and `end` < '2025-02-09 14:41: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 ,'')
[2025-02-09 14:41:11] Production.ERROR: CronJobId end10
[2025-02-09 14:41:11] Production.INFO: ==6174== Releasing lock...
[2025-02-09 14:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:41:13] Production.INFO: call_cost start
[2025-02-09 14:41:13] Production.INFO: call_cost end
[2025-02-09 14:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:41:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:41:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:41:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:41:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:41:14] Production.INFO: ==6170== Releasing lock...
[2025-02-09 14:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:41:18] Production.INFO: count ==1509
[2025-02-09 14:41:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:41:05 - End Time 2025-02-09 14:41:05
[2025-02-09 14:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437736', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437736', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437736', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437736', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:41:19] Production.INFO: ProcessCDR(1,14437736,1,1,2)
[2025-02-09 14:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437736', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437736', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:41:22] Production.INFO: ==6178== Releasing lock...
[2025-02-09 14:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:41:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:42:02] Production.INFO: ==6242== Lock acquired, processing the job...
[2025-02-09 19:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:42:02] Production.INFO: neon service started
[2025-02-09 19:42:02] Production.INFO: neon service started
[2025-02-09 19:42:02] Production.INFO: ==6242== Releasing lock...
[2025-02-09 19:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:42:02] Production.INFO: ==6244== Lock acquired, processing the job...
[2025-02-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:42:02] Production.INFO: ==6246== Lock acquired, processing the job...
[2025-02-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:42:02] Production.INFO: ==6246== Releasing lock...
[2025-02-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:42:03] Production.INFO: ==6244== Releasing lock...
[2025-02-09 14:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:42:03] Production.INFO: ==6255== Lock acquired, processing the job...
[2025-02-09 14:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:42:04] Production.INFO: Account Balance Start.
[2025-02-09 14:42:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:42:04] Production.INFO: 117
[2025-02-09 14:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:42:04] Production.INFO: Total Charge 0
[2025-02-09 14:42:04] Production.INFO: CreateAllLog End
[2025-02-09 14:42:04] Production.INFO: Account Balance End.
[2025-02-09 14:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:42:04] Production.INFO: ==6255== Releasing lock...
[2025-02-09 14:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:42:04] Production.INFO: ==6249== Lock acquired, processing the job...
[2025-02-09 14:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:42:04] Production.INFO: ==6253== Lock acquired, processing the job...
[2025-02-09 14:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:42:04] Production.INFO: ==6251== Lock acquired, processing the job...
[2025-02-09 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:42:04] Production.INFO: ==6257== Lock acquired, processing the job...
[2025-02-09 14:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:42:04] Production.INFO: ==6259== Lock acquired, processing the job...
[2025-02-09 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:42:04] Production.INFO: count ==21
[2025-02-09 14:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:42:04] Production.INFO: count ==21
[2025-02-09 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437740') start
[2025-02-09 14:42:04] Production.INFO: ==6251== Releasing lock...
[2025-02-09 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:42:05] Production.ERROR: done
[2025-02-09 14:42:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:42:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437740') end
[2025-02-09 14:42:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:42:05] Production.INFO: 1
[2025-02-09 14:42:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:42:05] Production.INFO: ==6259== Releasing lock...
[2025-02-09 14:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:42:05] Production.ERROR: done
[2025-02-09 14:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:42:06
[end_date_ymd] => 2025-02-09 14:42:06
[RateCDR] => 1
)
[2025-02-09 14:42: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-02-09 11:42:06' and `end` < '2025-02-09 14:42: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-02-09 14:42:13] Production.ERROR: CronJobId end10
[2025-02-09 14:42:13] Production.INFO: ==6253== Releasing lock...
[2025-02-09 14:42:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:42:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:42:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:42:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:42:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:42:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:42:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:42:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:42:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:42:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:42:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:42:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:42:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:42:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:42:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:42:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:42:15] Production.INFO: call_cost start
[2025-02-09 14:42:15] Production.INFO: call_cost end
[2025-02-09 14:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:42:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:42:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:42:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:42:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:42:16] Production.INFO: ==6249== Releasing lock...
[2025-02-09 14:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:42:19] Production.INFO: count ==1504
[2025-02-09 14:42:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:42:06 - End Time 2025-02-09 14:42:06
[2025-02-09 14:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437741', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437741', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437741', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437741', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:42:19] Production.INFO: ProcessCDR(1,14437741,1,1,2)
[2025-02-09 14:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437741', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437741', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:42:24] Production.INFO: ==6257== Releasing lock...
[2025-02-09 14:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:42:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:43:01] Production.INFO: ==6320== Lock acquired, processing the job...
[2025-02-09 19:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:43:01] Production.INFO: neon service started
[2025-02-09 19:43:01] Production.INFO: neon service started
[2025-02-09 19:43:01] Production.INFO: ==6320== Releasing lock...
[2025-02-09 19:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:43:01] Production.INFO: ==6322== Lock acquired, processing the job...
[2025-02-09 14:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:43:02] Production.INFO: ==6322== Releasing lock...
[2025-02-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:43:02] Production.INFO: ==6324== Lock acquired, processing the job...
[2025-02-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:43:02] Production.INFO: ==6324== Releasing lock...
[2025-02-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:43:02] Production.INFO: ==6330== Lock acquired, processing the job...
[2025-02-09 14:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:43:03] Production.INFO: ==6336== Lock acquired, processing the job...
[2025-02-09 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:43:03] Production.INFO: ==6326== Lock acquired, processing the job...
[2025-02-09 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:43:03] Production.INFO: ==6328== Lock acquired, processing the job...
[2025-02-09 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:43:03] Production.INFO: ==6332== Lock acquired, processing the job...
[2025-02-09 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:43:03] Production.INFO: count ==21
[2025-02-09 14:43:03] Production.INFO: ==6334== Lock acquired, processing the job...
[2025-02-09 14:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:43:03] Production.INFO: count ==21
[2025-02-09 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437742') start
[2025-02-09 14:43:03] Production.INFO: Account Balance Start.
[2025-02-09 14:43:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:43:03] Production.INFO: 117
[2025-02-09 14:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:43:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437742') end
[2025-02-09 14:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:43:03] Production.INFO: 1
[2025-02-09 14:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:43:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:43:03] Production.INFO: Total Charge 0
[2025-02-09 14:43:03] Production.INFO: ==6336== Releasing lock...
[2025-02-09 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:43:03] Production.INFO: CreateAllLog End
[2025-02-09 14:43:03] Production.INFO: ==6328== Releasing lock...
[2025-02-09 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:43:03] Production.ERROR: done
[2025-02-09 14:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:43:04] Production.ERROR: done
[2025-02-09 14:43:04] Production.INFO: Account Balance End.
[2025-02-09 14:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:43:04] Production.INFO: ==6332== Releasing lock...
[2025-02-09 14:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:43:05
[end_date_ymd] => 2025-02-09 14:43:05
[RateCDR] => 1
)
[2025-02-09 14:43: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` >= '2025-02-09 11:43:05' and `end` < '2025-02-09 14:43: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 ,'')
[2025-02-09 14:43:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,7))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-02-09 14:43:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:43:10] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:43:10] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:43:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:43:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:43:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:43:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:43:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:43:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:43:10] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:43:10] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:43:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:43:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:43:10] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:43:10] Production.INFO: call_cost start
[2025-02-09 14:43:10] Production.INFO: call_cost end
[2025-02-09 14:43:11] Production.ERROR: CronJobId end10
[2025-02-09 14:43:11] Production.INFO: ==6330== Releasing lock...
[2025-02-09 14:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:43:11] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:43:11] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:43:11] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:43:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:43:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:43:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:43:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:43:11] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:43:11] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:43:11] Production.INFO: ==6326== Releasing lock...
[2025-02-09 14:43:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:43:11] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:43:18] Production.INFO: count ==1503
[2025-02-09 14:43:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:43:05 - End Time 2025-02-09 14:43:05
[2025-02-09 14:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437746', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437746', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437746', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437746', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:43:18] Production.INFO: ProcessCDR(1,14437746,1,1,2)
[2025-02-09 14:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437746', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437746', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:43:23] Production.INFO: ==6334== Releasing lock...
[2025-02-09 14:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:43:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:44:02] Production.INFO: ==6394== Lock acquired, processing the job...
[2025-02-09 19:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:44:02] Production.INFO: neon service started
[2025-02-09 19:44:02] Production.INFO: neon service started
[2025-02-09 19:44:02] Production.INFO: ==6394== Releasing lock...
[2025-02-09 19:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:44:02] Production.INFO: ==6397== Lock acquired, processing the job...
[2025-02-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:44:02] Production.INFO: ==6397== Releasing lock...
[2025-02-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:44:02] Production.INFO: ==6399== Lock acquired, processing the job...
[2025-02-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:44:02] Production.INFO: ==6399== Releasing lock...
[2025-02-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:44:03] Production.INFO: ==6405== Lock acquired, processing the job...
[2025-02-09 14:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:44:03] Production.INFO: ==6411== Lock acquired, processing the job...
[2025-02-09 14:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:44:03] Production.INFO: ==6401== Lock acquired, processing the job...
[2025-02-09 14:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:44:03] Production.INFO: ==6403== Lock acquired, processing the job...
[2025-02-09 14:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:44:03] Production.INFO: count ==21
[2025-02-09 14:44:03] Production.INFO: ==6407== Lock acquired, processing the job...
[2025-02-09 14:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:44:03] Production.INFO: ==6409== Lock acquired, processing the job...
[2025-02-09 14:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:44:03] Production.INFO: count ==21
[2025-02-09 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437747') start
[2025-02-09 14:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:44:04] Production.INFO: Account Balance Start.
[2025-02-09 14:44:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:44:04] Production.INFO: 117
[2025-02-09 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437747') end
[2025-02-09 14:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:44:04] Production.INFO: 1
[2025-02-09 14:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:44:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:44:04] Production.INFO: ==6411== Releasing lock...
[2025-02-09 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:44:04] Production.INFO: ==6403== Releasing lock...
[2025-02-09 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:44:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:44:04] Production.INFO: Total Charge 0
[2025-02-09 14:44:04] Production.INFO: CreateAllLog End
[2025-02-09 14:44:04] Production.ERROR: done
[2025-02-09 14:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:44:04] Production.INFO: Account Balance End.
[2025-02-09 14:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:44:04] Production.INFO: ==6407== Releasing lock...
[2025-02-09 14:44:04] Production.ERROR: done
[2025-02-09 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:44:05
[end_date_ymd] => 2025-02-09 14:44:05
[RateCDR] => 1
)
[2025-02-09 14:44: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` >= '2025-02-09 11:44:05' and `end` < '2025-02-09 14:44: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 ,'')
[2025-02-09 14:44:12] Production.ERROR: CronJobId end10
[2025-02-09 14:44:12] Production.INFO: ==6405== Releasing lock...
[2025-02-09 14:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:44:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:44:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:44:14] Production.INFO: call_cost start
[2025-02-09 14:44:14] Production.INFO: call_cost end
[2025-02-09 14:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:44:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:44:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:44:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:44:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:44:15] Production.INFO: ==6401== Releasing lock...
[2025-02-09 14:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:44:18] Production.INFO: count ==1506
[2025-02-09 14:44:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:44:05 - End Time 2025-02-09 14:44:05
[2025-02-09 14:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437751', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437751', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437751', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437751', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:44:19] Production.INFO: ProcessCDR(1,14437751,1,1,2)
[2025-02-09 14:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437751', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437751', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:44:23] Production.INFO: ==6409== Releasing lock...
[2025-02-09 14:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:44:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:45:01] Production.INFO: ==6472== Lock acquired, processing the job...
[2025-02-09 19:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:45:01] Production.INFO: neon service started
[2025-02-09 19:45:01] Production.INFO: neon service started
[2025-02-09 19:45:01] Production.INFO: ==6472== Releasing lock...
[2025-02-09 19:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:45:01] Production.INFO: ==6475== Lock acquired, processing the job...
[2025-02-09 14:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:45:02] Production.INFO: ==6475== Releasing lock...
[2025-02-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:45:02] Production.INFO: ==6478== Lock acquired, processing the job...
[2025-02-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:45:02] Production.INFO: ==6478== Releasing lock...
[2025-02-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:45:03] Production.INFO: ==6484== Lock acquired, processing the job...
[2025-02-09 14:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:45:03] Production.INFO: ==6480== Lock acquired, processing the job...
[2025-02-09 14:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:45:03] Production.INFO: ==6488== Lock acquired, processing the job...
[2025-02-09 14:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:45:03] Production.INFO: ==6482== Lock acquired, processing the job...
[2025-02-09 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:45:03] Production.INFO: ==6486== Lock acquired, processing the job...
[2025-02-09 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:45:03] Production.INFO: ==6490== Lock acquired, processing the job...
[2025-02-09 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:45:03] Production.INFO: ==6482== Releasing lock...
[2025-02-09 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:45:03] Production.INFO: Account Balance Start.
[2025-02-09 14:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:45:03] Production.INFO: 117
[2025-02-09 14:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:45:03] Production.INFO: count ==21
[2025-02-09 14:45:03] Production.ERROR: done
[2025-02-09 14:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:45:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:45:03] Production.INFO: count ==21
[2025-02-09 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437755') start
[2025-02-09 14:45:03] Production.INFO: Total Charge 0
[2025-02-09 14:45:03] Production.INFO: CreateAllLog End
[2025-02-09 14:45:03] Production.ERROR: done
[2025-02-09 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437755') end
[2025-02-09 14:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:45:03] Production.INFO: 1
[2025-02-09 14:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:45:04] Production.INFO: ==6490== Releasing lock...
[2025-02-09 14:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:45:04] Production.INFO: Account Balance End.
[2025-02-09 14:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:45:04] Production.INFO: ==6486== Releasing lock...
[2025-02-09 14:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:45:04
[end_date_ymd] => 2025-02-09 14:45:04
[RateCDR] => 1
)
[2025-02-09 14:45:04] 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-02-09 11:45:04' and `end` < '2025-02-09 14:45:04'
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-02-09 14:45:11] Production.ERROR: CronJobId end10
[2025-02-09 14:45:11] Production.INFO: ==6484== Releasing lock...
[2025-02-09 14:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:45:14] Production.INFO: call_cost start
[2025-02-09 14:45:14] Production.INFO: call_cost end
[2025-02-09 14:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:45:15] Production.INFO: ==6480== Releasing lock...
[2025-02-09 14:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:45:18] Production.INFO: count ==1503
[2025-02-09 14:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:45:04 - End Time 2025-02-09 14:45:04
[2025-02-09 14:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437756', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437756', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437756', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437756', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:45:18] Production.INFO: ProcessCDR(1,14437756,1,1,2)
[2025-02-09 14:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437756', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437756', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:45:21] Production.INFO: ==6488== Releasing lock...
[2025-02-09 14:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:45:21] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:46:01] Production.INFO: ==6551== Lock acquired, processing the job...
[2025-02-09 19:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:46:01] Production.INFO: neon service started
[2025-02-09 19:46:02] Production.INFO: neon service started
[2025-02-09 19:46:02] Production.INFO: ==6551== Releasing lock...
[2025-02-09 19:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:46:02] Production.INFO: ==6553== Lock acquired, processing the job...
[2025-02-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:46:02] Production.INFO: ==6555== Lock acquired, processing the job...
[2025-02-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:46:02] Production.INFO: ==6555== Releasing lock...
[2025-02-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:46:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:46:02] Production.INFO: ==6553== Releasing lock...
[2025-02-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:46:03] Production.INFO: ==6558== Lock acquired, processing the job...
[2025-02-09 14:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:46:03] Production.INFO: ==6560== Lock acquired, processing the job...
[2025-02-09 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:46:03] Production.INFO: ==6568== Lock acquired, processing the job...
[2025-02-09 14:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:46:03] Production.INFO: ==6562== Lock acquired, processing the job...
[2025-02-09 14:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:46:03] Production.INFO: ==6560== Releasing lock...
[2025-02-09 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:46:03] Production.INFO: count ==21
[2025-02-09 14:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:46:03] Production.INFO: count ==21
[2025-02-09 14:46:03] Production.INFO: ==6566== Lock acquired, processing the job...
[2025-02-09 14:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:46:04] Production.INFO: ==6564== Lock acquired, processing the job...
[2025-02-09 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437759') start
[2025-02-09 14:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437759') end
[2025-02-09 14:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:46:04] Production.INFO: 1
[2025-02-09 14:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:46:04] Production.INFO: Account Balance Start.
[2025-02-09 14:46:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:46:04] Production.INFO: 117
[2025-02-09 14:46:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:46:04] Production.INFO: ==6568== Releasing lock...
[2025-02-09 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:46:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:46:04] Production.INFO: Total Charge 0
[2025-02-09 14:46:04] Production.INFO: CreateAllLog End
[2025-02-09 14:46:04] Production.ERROR: done
[2025-02-09 14:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:46:04] Production.ERROR: done
[2025-02-09 14:46:04] Production.INFO: Account Balance End.
[2025-02-09 14:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:46:04] Production.INFO: ==6564== Releasing lock...
[2025-02-09 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:46:05
[end_date_ymd] => 2025-02-09 14:46:05
[RateCDR] => 1
)
[2025-02-09 14:46: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` >= '2025-02-09 11:46:05' and `end` < '2025-02-09 14:46: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 ,'')
[2025-02-09 14:46:12] Production.ERROR: CronJobId end10
[2025-02-09 14:46:12] Production.INFO: ==6562== Releasing lock...
[2025-02-09 14:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:46:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:46:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:46:14] Production.INFO: call_cost start
[2025-02-09 14:46:14] Production.INFO: call_cost end
[2025-02-09 14:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:46:15] Production.INFO: ==6558== Releasing lock...
[2025-02-09 14:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:46:19] Production.INFO: count ==1495
[2025-02-09 14:46:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:46:05 - End Time 2025-02-09 14:46:05
[2025-02-09 14:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437761', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437761', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437761', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437761', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:46:19] Production.INFO: ProcessCDR(1,14437761,1,1,2)
[2025-02-09 14:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437761', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437761', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:46:22] Production.INFO: ==6566== Releasing lock...
[2025-02-09 14:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:46:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:47:01] Production.INFO: ==6669== Lock acquired, processing the job...
[2025-02-09 19:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:47:01] Production.INFO: neon service started
[2025-02-09 19:47:01] Production.INFO: neon service started
[2025-02-09 19:47:01] Production.INFO: ==6669== Releasing lock...
[2025-02-09 19:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:47:02] Production.INFO: ==6673== Lock acquired, processing the job...
[2025-02-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:47:02] Production.INFO: ==6673== Releasing lock...
[2025-02-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:47:02] Production.INFO: ==6671== Lock acquired, processing the job...
[2025-02-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:47:02] Production.INFO: ==6671== Releasing lock...
[2025-02-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:47:03] Production.INFO: ==6680== Lock acquired, processing the job...
[2025-02-09 14:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:47:03] Production.INFO: ==6682== Lock acquired, processing the job...
[2025-02-09 14:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:47:03] Production.INFO: ==6676== Lock acquired, processing the job...
[2025-02-09 14:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:47:03] Production.INFO: Account Balance Start.
[2025-02-09 14:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:47:03] Production.INFO: 117
[2025-02-09 14:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:47:03] Production.INFO: ==6678== Lock acquired, processing the job...
[2025-02-09 14:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:47:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:47:03] Production.INFO: Total Charge 0
[2025-02-09 14:47:03] Production.INFO: ==6686== Lock acquired, processing the job...
[2025-02-09 14:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:47:03] Production.INFO: CreateAllLog End
[2025-02-09 14:47:03] Production.INFO: ==6684== Lock acquired, processing the job...
[2025-02-09 14:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:47:03] Production.INFO: count ==21
[2025-02-09 14:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:47:03] Production.INFO: ==6678== Releasing lock...
[2025-02-09 14:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:47:03] Production.INFO: count ==21
[2025-02-09 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437765') start
[2025-02-09 14:47:04] Production.INFO: Account Balance End.
[2025-02-09 14:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:47:04] Production.INFO: ==6682== Releasing lock...
[2025-02-09 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437765') end
[2025-02-09 14:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:47:04] Production.INFO: 1
[2025-02-09 14:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:47:04] Production.ERROR: done
[2025-02-09 14:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:47:04] Production.INFO: ==6686== Releasing lock...
[2025-02-09 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:47:04] Production.ERROR: done
[2025-02-09 14:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:47:05
[end_date_ymd] => 2025-02-09 14:47:05
[RateCDR] => 1
)
[2025-02-09 14:47: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` >= '2025-02-09 11:47:05' and `end` < '2025-02-09 14:47: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 ,'')
[2025-02-09 14:47:12] Production.ERROR: CronJobId end10
[2025-02-09 14:47:12] Production.INFO: ==6680== Releasing lock...
[2025-02-09 14:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:47:14] Production.INFO: call_cost start
[2025-02-09 14:47:14] Production.INFO: call_cost end
[2025-02-09 14:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:47:15] Production.INFO: ==6676== Releasing lock...
[2025-02-09 14:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:47:19] Production.INFO: count ==1494
[2025-02-09 14:47:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:47:05 - End Time 2025-02-09 14:47:05
[2025-02-09 14:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437766', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437766', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437766', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437766', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:47:19] Production.INFO: ProcessCDR(1,14437766,1,1,2)
[2025-02-09 14:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437766', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437766', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:47:24] Production.INFO: ==6684== Releasing lock...
[2025-02-09 14:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:47:24] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:48:01] Production.INFO: ==6747== Lock acquired, processing the job...
[2025-02-09 19:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:48:01] Production.INFO: neon service started
[2025-02-09 19:48:01] Production.INFO: neon service started
[2025-02-09 19:48:01] Production.INFO: ==6747== Releasing lock...
[2025-02-09 19:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:48:02] Production.INFO: ==6751== Lock acquired, processing the job...
[2025-02-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:48:02] Production.INFO: ==6753== Lock acquired, processing the job...
[2025-02-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:48:02] Production.INFO: ==6753== Releasing lock...
[2025-02-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:48:02] Production.INFO: ==6751== Releasing lock...
[2025-02-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:48:03] Production.INFO: ==6758== Lock acquired, processing the job...
[2025-02-09 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:48:03] Production.INFO: ==6764== Lock acquired, processing the job...
[2025-02-09 14:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:48:03] Production.INFO: ==6756== Lock acquired, processing the job...
[2025-02-09 14:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:48:03] Production.INFO: ==6758== Releasing lock...
[2025-02-09 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:48:03] Production.INFO: ==6762== Lock acquired, processing the job...
[2025-02-09 14:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:48:03] Production.INFO: ==6760== Lock acquired, processing the job...
[2025-02-09 14:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:48:04] Production.INFO: ==6766== Lock acquired, processing the job...
[2025-02-09 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:48:04] Production.INFO: Account Balance Start.
[2025-02-09 14:48:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:48:04] Production.INFO: 117
[2025-02-09 14:48:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:48:04] Production.ERROR: done
[2025-02-09 14:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:48:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:48:04] Production.INFO: count ==21
[2025-02-09 14:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:48:04] Production.INFO: count ==21
[2025-02-09 14:48:04] Production.ERROR: done
[2025-02-09 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437770') start
[2025-02-09 14:48:04] Production.INFO: Total Charge 0
[2025-02-09 14:48:04] Production.INFO: CreateAllLog End
[2025-02-09 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437770') end
[2025-02-09 14:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:48:04] Production.INFO: 1
[2025-02-09 14:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:48:04] Production.INFO: ==6766== Releasing lock...
[2025-02-09 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:48:04] Production.INFO: Account Balance End.
[2025-02-09 14:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:48:04] Production.INFO: ==6762== Releasing lock...
[2025-02-09 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:48:05
[end_date_ymd] => 2025-02-09 14:48:05
[RateCDR] => 1
)
[2025-02-09 14:48: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` >= '2025-02-09 11:48:05' and `end` < '2025-02-09 14:48: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 ,'')
[2025-02-09 14:48:12] Production.ERROR: CronJobId end10
[2025-02-09 14:48:12] Production.INFO: ==6760== Releasing lock...
[2025-02-09 14:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:48:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:48:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:48:15] Production.INFO: call_cost start
[2025-02-09 14:48:15] Production.INFO: call_cost end
[2025-02-09 14:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:48:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:48:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:48:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:48:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:48:16] Production.INFO: ==6756== Releasing lock...
[2025-02-09 14:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:48:18] Production.INFO: count ==1492
[2025-02-09 14:48:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:48:05 - End Time 2025-02-09 14:48:05
[2025-02-09 14:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437771', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437771', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437771', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437771', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:48:18] Production.INFO: ProcessCDR(1,14437771,1,1,2)
[2025-02-09 14:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437771', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437771', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:48:23] Production.INFO: ==6764== Releasing lock...
[2025-02-09 14:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:48:23] Production.INFO: 39 MB #Memory Used#
[2025-02-09 19:49:02] Production.INFO: ==6829== Lock acquired, processing the job...
[2025-02-09 19:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:49:02] Production.INFO: neon service started
[2025-02-09 19:49:02] Production.INFO: neon service started
[2025-02-09 19:49:02] Production.INFO: ==6829== Releasing lock...
[2025-02-09 19:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:49:03] Production.INFO: ==6832== Lock acquired, processing the job...
[2025-02-09 14:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:49:03] Production.INFO: ==6834== Lock acquired, processing the job...
[2025-02-09 19:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:49:03] Production.INFO: ==6834== Releasing lock...
[2025-02-09 19:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:49:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:49:03] Production.INFO: ==6832== Releasing lock...
[2025-02-09 14:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:49:04] Production.INFO: ==6842== Lock acquired, processing the job...
[2025-02-09 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:49:04] Production.INFO: ==6846== Lock acquired, processing the job...
[2025-02-09 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:49:04] Production.INFO: Account Balance Start.
[2025-02-09 14:49:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:49:04] Production.INFO: 117
[2025-02-09 14:49:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:49:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:49:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:49:04] Production.INFO: Total Charge 0
[2025-02-09 14:49:04] Production.INFO: ==6836== Lock acquired, processing the job...
[2025-02-09 14:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:49:04] Production.INFO: CreateAllLog End
[2025-02-09 14:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:49:04] Production.INFO: count ==21
[2025-02-09 14:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:49:04] Production.INFO: count ==21
[2025-02-09 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437773') start
[2025-02-09 14:49:04] Production.INFO: ==6838== Lock acquired, processing the job...
[2025-02-09 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:49:04] Production.INFO: ==6840== Lock acquired, processing the job...
[2025-02-09 14:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:49:04] Production.INFO: ==6844== Lock acquired, processing the job...
[2025-02-09 14:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:49:04] Production.INFO: Account Balance End.
[2025-02-09 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437773') end
[2025-02-09 14:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:49:04] Production.INFO: 1
[2025-02-09 14:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:49:04] Production.INFO: ==6846== Releasing lock...
[2025-02-09 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:49:04] Production.INFO: ==6842== Releasing lock...
[2025-02-09 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:49:05] Production.ERROR: done
[2025-02-09 14:49:05] Production.INFO: ==6838== Releasing lock...
[2025-02-09 14:49:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:49:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:49:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:49:05] Production.ERROR: done
[2025-02-09 14:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:49:06
[end_date_ymd] => 2025-02-09 14:49:06
[RateCDR] => 1
)
[2025-02-09 14:49: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-02-09 11:49:06' and `end` < '2025-02-09 14:49: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-02-09 14:49:13] Production.ERROR: CronJobId end10
[2025-02-09 14:49:13] Production.INFO: ==6840== Releasing lock...
[2025-02-09 14:49:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:49:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:49:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:49:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:49:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:49:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:49:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:49:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:49:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:49:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:49:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:49:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:49:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:49:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:49:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:49:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:49:15] Production.INFO: call_cost start
[2025-02-09 14:49:15] Production.INFO: call_cost end
[2025-02-09 14:49:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:49:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:49:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:49:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:49:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:49:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:49:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:49:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:49:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:49:16] Production.INFO: ==6836== Releasing lock...
[2025-02-09 14:49:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:49:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:49:20] Production.INFO: count ==1491
[2025-02-09 14:49:20] Production.ERROR: pbx CDR StartTime 2025-02-09 11:49:06 - End Time 2025-02-09 14:49:06
[2025-02-09 14:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437776', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437776', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437776', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437776', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:49:20] Production.INFO: ProcessCDR(1,14437776,1,1,2)
[2025-02-09 14:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437776', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437776', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:49:23] Production.INFO: ==6844== Releasing lock...
[2025-02-09 14:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:49:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 19:50:01] Production.INFO: ==6904== Lock acquired, processing the job...
[2025-02-09 19:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:50:01] Production.INFO: neon service started
[2025-02-09 19:50:01] Production.INFO: neon service started
[2025-02-09 19:50:01] Production.INFO: ==6904== Releasing lock...
[2025-02-09 19:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 19:50:02] Production.INFO: ==6908== Lock acquired, processing the job...
[2025-02-09 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:50:02] Production.INFO: ==6908== Releasing lock...
[2025-02-09 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:50:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:50:02] Production.INFO: ==6906== Lock acquired, processing the job...
[2025-02-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:50:02] Production.INFO: ==6906== Releasing lock...
[2025-02-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:50:03] Production.INFO: ==6911== Lock acquired, processing the job...
[2025-02-09 14:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 14:50:03] Production.INFO: ==6913== Lock acquired, processing the job...
[2025-02-09 14:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:50:03] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-02-09 14:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:50:03] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-02-09 14:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 14:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:50:03] Production.ERROR: CronJob PID - 6913
[2025-02-09 14:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 14:50:03] Production.ERROR: CronJob ID - 5
[2025-02-09 14:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 14:50:00
[2025-02-09 14:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 14:50:03] Production.ERROR: CronJob PID - 6917
[2025-02-09 14:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 14:50:03] Production.ERROR: CronJob ID - 10
[2025-02-09 14:50:03] Production.ERROR: CronJob Last Run Time 2025-02-09 14:50:00
[2025-02-09 14:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 14:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 14:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:50:04] Production.INFO: ==6921== Lock acquired, processing the job...
[2025-02-09 14:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 14:50:04] Production.INFO: ==6911== Releasing lock...
[2025-02-09 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 14:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 14:50:04] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-02-09 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:50:04] Production.INFO: ==6923== Lock acquired, processing the job...
[2025-02-09 14:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 14:50:04] Production.INFO: Account Balance Start.
[2025-02-09 14:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:50:04] Production.INFO: ==6925== Lock acquired, processing the job...
[2025-02-09 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:50:04] Production.INFO: 117
[2025-02-09 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:50:04] Production.INFO: ==6915== Releasing lock...
[2025-02-09 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:50:04] Production.INFO: Total Charge 0
[2025-02-09 14:50:04] Production.INFO: count ==21
[2025-02-09 14:50:04] Production.INFO: CreateAllLog End
[2025-02-09 14:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:50:04] Production.INFO: count ==21
[2025-02-09 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437780') start
[2025-02-09 14:50:04] Production.ERROR: done
[2025-02-09 14:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:50:04] Production.ERROR: done
[2025-02-09 14:50:04] Production.ERROR: done
[2025-02-09 14:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 14:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437781', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437780') end
[2025-02-09 14:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:50:04] Production.INFO: 1
[2025-02-09 14:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:50:05] Production.INFO: Account Balance End.
[2025-02-09 14:50:05] Production.INFO: ==6925== Releasing lock...
[2025-02-09 14:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:50:05] Production.ERROR: CronJobId end 12
[2025-02-09 14:50:05] Production.INFO: ==6919== Releasing lock...
[2025-02-09 14:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:50:06
[end_date_ymd] => 2025-02-09 14:50:06
[RateCDR] => 1
)
[2025-02-09 14:50: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-02-09 11:50:06' and `end` < '2025-02-09 14:50: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-02-09 14:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437781', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 14:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 14:50:09] Production.INFO: ProcessCDR(1,14437781,1,1,2)
[2025-02-09 14:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437781,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437781,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:50:09] Production.INFO: ==6923== Releasing lock...
[2025-02-09 14:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 14:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 14:50:14] Production.ERROR: CronJobId end10
[2025-02-09 14:50:14] Production.INFO: ==6917== Releasing lock...
[2025-02-09 14:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:50:16] Production.INFO: call_cost start
[2025-02-09 14:50:16] Production.INFO: call_cost end
[2025-02-09 14:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:50:17] Production.INFO: ==6913== Releasing lock...
[2025-02-09 14:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:50:19] Production.INFO: count ==1491
[2025-02-09 14:50:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:50:06 - End Time 2025-02-09 14:50:06
[2025-02-09 14:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437782', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437782', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437782', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437782', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:50:19] Production.INFO: ProcessCDR(1,14437782,1,1,2)
[2025-02-09 14:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437782', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437782', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:50:23] Production.INFO: ==6921== Releasing lock...
[2025-02-09 14:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:50:23] Production.INFO: 39 MB #Memory Used#
[2025-02-09 19:51:02] Production.INFO: ==6989== Lock acquired, processing the job...
[2025-02-09 19:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:51:02] Production.INFO: neon service started
[2025-02-09 19:51:02] Production.INFO: neon service started
[2025-02-09 19:51:02] Production.INFO: ==6989== Releasing lock...
[2025-02-09 19:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:51:02] Production.INFO: ==6992== Lock acquired, processing the job...
[2025-02-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:51:02] Production.INFO: ==6992== Releasing lock...
[2025-02-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:51:03] Production.INFO: ==6994== Lock acquired, processing the job...
[2025-02-09 19:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:51:03] Production.INFO: ==6994== Releasing lock...
[2025-02-09 19:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:51:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:51:04] Production.INFO: ==7002== Lock acquired, processing the job...
[2025-02-09 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:51:04] Production.INFO: ==7006== Lock acquired, processing the job...
[2025-02-09 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:51:04] Production.INFO: ==6998== Lock acquired, processing the job...
[2025-02-09 14:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:51:04] Production.INFO: Account Balance Start.
[2025-02-09 14:51:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:51:04] Production.INFO: 117
[2025-02-09 14:51:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:51:04] Production.INFO: ==6996== Lock acquired, processing the job...
[2025-02-09 14:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:51:04] Production.INFO: ==7000== Lock acquired, processing the job...
[2025-02-09 14:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:51:04] Production.INFO: count ==21
[2025-02-09 14:51:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:51:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:51:04] Production.INFO: count ==21
[2025-02-09 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437784') start
[2025-02-09 14:51:04] Production.INFO: ==7004== Lock acquired, processing the job...
[2025-02-09 14:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:51:04] Production.INFO: Total Charge 0
[2025-02-09 14:51:04] Production.INFO: CreateAllLog End
[2025-02-09 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437784') end
[2025-02-09 14:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:51:04] Production.INFO: 1
[2025-02-09 14:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:51:04] Production.INFO: ==7006== Releasing lock...
[2025-02-09 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:51:04] Production.INFO: ==6998== Releasing lock...
[2025-02-09 14:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:51:04] Production.INFO: Account Balance End.
[2025-02-09 14:51:04] Production.ERROR: done
[2025-02-09 14:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:51:04] Production.INFO: ==7002== Releasing lock...
[2025-02-09 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:51:04] Production.ERROR: done
[2025-02-09 14:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:51:05
[end_date_ymd] => 2025-02-09 14:51:05
[RateCDR] => 1
)
[2025-02-09 14:51: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` >= '2025-02-09 11:51:05' and `end` < '2025-02-09 14:51: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 ,'')
[2025-02-09 14:51:12] Production.ERROR: CronJobId end10
[2025-02-09 14:51:12] Production.INFO: ==7000== Releasing lock...
[2025-02-09 14:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:51:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:51:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:51:14] Production.INFO: call_cost start
[2025-02-09 14:51:14] Production.INFO: call_cost end
[2025-02-09 14:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:51:15] Production.INFO: ==6996== Releasing lock...
[2025-02-09 14:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:51:18] Production.INFO: count ==1523
[2025-02-09 14:51:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:51:05 - End Time 2025-02-09 14:51:05
[2025-02-09 14:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437787', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437787', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437787', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437787', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:51:19] Production.INFO: ProcessCDR(1,14437787,1,1,2)
[2025-02-09 14:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437787', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437787', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:51:23] Production.INFO: ==7004== Releasing lock...
[2025-02-09 14:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:51:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:52:01] Production.INFO: ==7069== Lock acquired, processing the job...
[2025-02-09 19:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:52:01] Production.INFO: neon service started
[2025-02-09 19:52:01] Production.INFO: neon service started
[2025-02-09 19:52:01] Production.INFO: ==7069== Releasing lock...
[2025-02-09 19:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:52:02] Production.INFO: ==7071== Lock acquired, processing the job...
[2025-02-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:52:02] Production.INFO: ==7073== Lock acquired, processing the job...
[2025-02-09 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:52:02] Production.INFO: ==7073== Releasing lock...
[2025-02-09 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:52:02] Production.INFO: ==7071== Releasing lock...
[2025-02-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:52:03] Production.INFO: ==7076== Lock acquired, processing the job...
[2025-02-09 14:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:52:03] Production.INFO: ==7078== Lock acquired, processing the job...
[2025-02-09 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:52:03] Production.INFO: ==7084== Lock acquired, processing the job...
[2025-02-09 14:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:52:03] Production.INFO: ==7080== Lock acquired, processing the job...
[2025-02-09 14:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:52:04] Production.INFO: ==7082== Lock acquired, processing the job...
[2025-02-09 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:52:04] Production.INFO: ==7086== Lock acquired, processing the job...
[2025-02-09 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:52:04] Production.INFO: ==7078== Releasing lock...
[2025-02-09 14:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:52:04] Production.ERROR: done
[2025-02-09 14:52:04] Production.INFO: Account Balance Start.
[2025-02-09 14:52:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:52:04] Production.INFO: 117
[2025-02-09 14:52:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:52:04] Production.INFO: count ==21
[2025-02-09 14:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:52:04] Production.INFO: count ==21
[2025-02-09 14:52:04] Production.INFO: Total Charge 0
[2025-02-09 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437791') start
[2025-02-09 14:52:04] Production.INFO: CreateAllLog End
[2025-02-09 14:52:04] Production.ERROR: done
[2025-02-09 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437791') end
[2025-02-09 14:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:52:04] Production.INFO: 1
[2025-02-09 14:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:52:04] Production.INFO: Account Balance End.
[2025-02-09 14:52:04] Production.INFO: ==7086== Releasing lock...
[2025-02-09 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:52:04] Production.INFO: ==7082== Releasing lock...
[2025-02-09 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:52:05
[end_date_ymd] => 2025-02-09 14:52:05
[RateCDR] => 1
)
[2025-02-09 14:52: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` >= '2025-02-09 11:52:05' and `end` < '2025-02-09 14:52: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 ,'')
[2025-02-09 14:52:12] Production.ERROR: CronJobId end10
[2025-02-09 14:52:12] Production.INFO: ==7080== Releasing lock...
[2025-02-09 14:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:52:14] Production.INFO: call_cost start
[2025-02-09 14:52:14] Production.INFO: call_cost end
[2025-02-09 14:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:52:15] Production.INFO: ==7076== Releasing lock...
[2025-02-09 14:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:52:18] Production.INFO: count ==1523
[2025-02-09 14:52:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:52:05 - End Time 2025-02-09 14:52:05
[2025-02-09 14:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437792', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437792', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437792', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437792', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:52:19] Production.INFO: ProcessCDR(1,14437792,1,1,2)
[2025-02-09 14:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437792', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437792', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:52:22] Production.INFO: ==7084== Releasing lock...
[2025-02-09 14:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:52:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:53:02] Production.INFO: ==7149== Lock acquired, processing the job...
[2025-02-09 19:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:53:02] Production.INFO: neon service started
[2025-02-09 19:53:02] Production.INFO: neon service started
[2025-02-09 19:53:02] Production.INFO: ==7149== Releasing lock...
[2025-02-09 19:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:53:02] Production.INFO: ==7151== Lock acquired, processing the job...
[2025-02-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:53:02] Production.INFO: ==7153== Lock acquired, processing the job...
[2025-02-09 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 14:53:02] Production.INFO: ==7151== Releasing lock...
[2025-02-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:53:02] Production.INFO: ==7153== Releasing lock...
[2025-02-09 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:53:03] Production.INFO: ==7156== Lock acquired, processing the job...
[2025-02-09 14:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:53:03] Production.INFO: ==7162== Lock acquired, processing the job...
[2025-02-09 14:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:53:03] Production.INFO: Account Balance Start.
[2025-02-09 14:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:53:03] Production.INFO: 117
[2025-02-09 14:53:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:53:03] Production.INFO: ==7158== Lock acquired, processing the job...
[2025-02-09 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:53:03] Production.INFO: ==7166== Lock acquired, processing the job...
[2025-02-09 14:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:53:03] Production.INFO: ==7160== Lock acquired, processing the job...
[2025-02-09 14:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:53:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:53:04] Production.INFO: Total Charge 0
[2025-02-09 14:53:04] Production.INFO: CreateAllLog End
[2025-02-09 14:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:53:04] Production.INFO: ==7164== Lock acquired, processing the job...
[2025-02-09 14:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:53:04] Production.INFO: Account Balance End.
[2025-02-09 14:53:04] Production.INFO: count ==21
[2025-02-09 14:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:53:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:53:04] Production.INFO: ==7162== Releasing lock...
[2025-02-09 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:53:04] Production.INFO: count ==21
[2025-02-09 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437795') start
[2025-02-09 14:53:04] Production.INFO: ==7158== Releasing lock...
[2025-02-09 14:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437795') end
[2025-02-09 14:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:53:04] Production.INFO: 1
[2025-02-09 14:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:53:04] Production.ERROR: done
[2025-02-09 14:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:53:04] Production.INFO: ==7166== Releasing lock...
[2025-02-09 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:53:04] Production.ERROR: done
[2025-02-09 14:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:53:05
[end_date_ymd] => 2025-02-09 14:53:05
[RateCDR] => 1
)
[2025-02-09 14:53: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` >= '2025-02-09 11:53:05' and `end` < '2025-02-09 14:53: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 ,'')
[2025-02-09 14:53:12] Production.ERROR: CronJobId end10
[2025-02-09 14:53:12] Production.INFO: ==7160== Releasing lock...
[2025-02-09 14:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:53:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:53:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:53:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:53:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:53:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:53:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:53:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:53:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:53:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:53:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:53:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:53:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:53:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:53:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:53:15] Production.INFO: call_cost start
[2025-02-09 14:53:15] Production.INFO: call_cost end
[2025-02-09 14:53:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:53:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:53:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:53:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:53:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:53:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:53:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:53:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:53:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:53:16] Production.INFO: ==7156== Releasing lock...
[2025-02-09 14:53:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:53:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:53:18] Production.INFO: count ==1523
[2025-02-09 14:53:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:53:05 - End Time 2025-02-09 14:53:05
[2025-02-09 14:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437797', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437797', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437797', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437797', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:53:19] Production.INFO: ProcessCDR(1,14437797,1,1,2)
[2025-02-09 14:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437797', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437797', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:53:24] Production.INFO: ==7164== Releasing lock...
[2025-02-09 14:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:53:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:54:01] Production.INFO: ==7225== Lock acquired, processing the job...
[2025-02-09 19:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:54:01] Production.INFO: neon service started
[2025-02-09 19:54:01] Production.INFO: neon service started
[2025-02-09 19:54:01] Production.INFO: ==7225== Releasing lock...
[2025-02-09 19:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:54:02] Production.INFO: ==7227== Lock acquired, processing the job...
[2025-02-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:54:02] Production.INFO: ==7229== Lock acquired, processing the job...
[2025-02-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:54:02] Production.INFO: ==7229== Releasing lock...
[2025-02-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:54:02] Production.INFO: ==7227== Releasing lock...
[2025-02-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:54:03] Production.INFO: ==7236== Lock acquired, processing the job...
[2025-02-09 14:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:54:03] Production.INFO: ==7240== Lock acquired, processing the job...
[2025-02-09 14:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:54:03] Production.INFO: ==7232== Lock acquired, processing the job...
[2025-02-09 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:54:03] Production.INFO: ==7234== Lock acquired, processing the job...
[2025-02-09 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:54:04] Production.INFO: ==7238== Lock acquired, processing the job...
[2025-02-09 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:54:04] Production.INFO: ==7242== Lock acquired, processing the job...
[2025-02-09 14:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:54:04] Production.ERROR: done
[2025-02-09 14:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:54:04] Production.INFO: Account Balance Start.
[2025-02-09 14:54:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:54:04] Production.INFO: 117
[2025-02-09 14:54:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:54:04] Production.INFO: count ==21
[2025-02-09 14:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:54:04] Production.INFO: count ==21
[2025-02-09 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437801') start
[2025-02-09 14:54:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:54:04] Production.INFO: ==7234== Releasing lock...
[2025-02-09 14:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:54:04] Production.ERROR: done
[2025-02-09 14:54:04] Production.INFO: Total Charge 0
[2025-02-09 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437801') end
[2025-02-09 14:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:54:04] Production.INFO: 1
[2025-02-09 14:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:54:04] Production.INFO: CreateAllLog End
[2025-02-09 14:54:04] Production.INFO: ==7242== Releasing lock...
[2025-02-09 14:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:54:04] Production.INFO: Account Balance End.
[2025-02-09 14:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:54:04] Production.INFO: ==7238== Releasing lock...
[2025-02-09 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:54:05
[end_date_ymd] => 2025-02-09 14:54:05
[RateCDR] => 1
)
[2025-02-09 14:54: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` >= '2025-02-09 11:54:05' and `end` < '2025-02-09 14:54: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 ,'')
[2025-02-09 14:54:13] Production.ERROR: CronJobId end10
[2025-02-09 14:54:13] Production.INFO: ==7236== Releasing lock...
[2025-02-09 14:54:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:54:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:54:15] Production.INFO: call_cost start
[2025-02-09 14:54:15] Production.INFO: call_cost end
[2025-02-09 14:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:54:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:54:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:54:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:54:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:54:16] Production.INFO: ==7232== Releasing lock...
[2025-02-09 14:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:54:18] Production.INFO: count ==1523
[2025-02-09 14:54:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:54:05 - End Time 2025-02-09 14:54:05
[2025-02-09 14:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437802', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437802', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437802', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437802', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:54:19] Production.INFO: ProcessCDR(1,14437802,1,1,2)
[2025-02-09 14:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437802', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437802', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:54:23] Production.INFO: ==7240== Releasing lock...
[2025-02-09 14:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:54:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:55:02] Production.INFO: ==7307== Lock acquired, processing the job...
[2025-02-09 19:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:55:02] Production.INFO: neon service started
[2025-02-09 19:55:02] Production.INFO: neon service started
[2025-02-09 19:55:02] Production.INFO: ==7307== Releasing lock...
[2025-02-09 19:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:55:02] Production.INFO: ==7309== Lock acquired, processing the job...
[2025-02-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:55:02] Production.INFO: ==7309== Releasing lock...
[2025-02-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:55:03] Production.INFO: ==7311== Lock acquired, processing the job...
[2025-02-09 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:55:03] Production.INFO: ==7311== Releasing lock...
[2025-02-09 19:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:55:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:55:03] Production.INFO: ==7323== Lock acquired, processing the job...
[2025-02-09 14:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:55:03] Production.INFO: ==7313== Lock acquired, processing the job...
[2025-02-09 14:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:55:03] Production.INFO: ==7315== Lock acquired, processing the job...
[2025-02-09 14:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:55:03] Production.INFO: ==7317== Lock acquired, processing the job...
[2025-02-09 14:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:55:03] Production.INFO: ==7319== Lock acquired, processing the job...
[2025-02-09 14:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:55:04] Production.INFO: ==7321== Lock acquired, processing the job...
[2025-02-09 14:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:55:04] Production.INFO: count ==21
[2025-02-09 14:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:55:04] Production.INFO: Account Balance Start.
[2025-02-09 14:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:55:04] Production.INFO: 117
[2025-02-09 14:55:04] Production.INFO: count ==21
[2025-02-09 14:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437803') start
[2025-02-09 14:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437803') end
[2025-02-09 14:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:55:04] Production.INFO: 1
[2025-02-09 14:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:55:04] Production.INFO: ==7323== Releasing lock...
[2025-02-09 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:55:04] Production.INFO: ==7315== Releasing lock...
[2025-02-09 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:55:04] Production.ERROR: done
[2025-02-09 14:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:55:04] Production.ERROR: done
[2025-02-09 14:55:04] Production.INFO: Total Charge 0
[2025-02-09 14:55:04] Production.INFO: CreateAllLog End
[2025-02-09 14:55:04] Production.INFO: Account Balance End.
[2025-02-09 14:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:55:04] Production.INFO: ==7319== Releasing lock...
[2025-02-09 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:55:05
[end_date_ymd] => 2025-02-09 14:55:05
[RateCDR] => 1
)
[2025-02-09 14:55: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` >= '2025-02-09 11:55:05' and `end` < '2025-02-09 14:55: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 ,'')
[2025-02-09 14:55:12] Production.ERROR: CronJobId end10
[2025-02-09 14:55:12] Production.INFO: ==7317== Releasing lock...
[2025-02-09 14:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:55:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:55:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:55:15] Production.INFO: call_cost start
[2025-02-09 14:55:15] Production.INFO: call_cost end
[2025-02-09 14:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:55:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:55:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:55:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:55:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:55:16] Production.INFO: ==7313== Releasing lock...
[2025-02-09 14:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:55:18] Production.INFO: count ==1535
[2025-02-09 14:55:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:55:05 - End Time 2025-02-09 14:55:05
[2025-02-09 14:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437807', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437807', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437807', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437807', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:55:19] Production.INFO: ProcessCDR(1,14437807,1,1,2)
[2025-02-09 14:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437807', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437807', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:55:24] Production.INFO: ==7321== Releasing lock...
[2025-02-09 14:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:55:24] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:56:01] Production.INFO: ==7382== Lock acquired, processing the job...
[2025-02-09 19:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:56:01] Production.INFO: neon service started
[2025-02-09 19:56:01] Production.INFO: neon service started
[2025-02-09 19:56:01] Production.INFO: ==7382== Releasing lock...
[2025-02-09 19:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:56:02] Production.INFO: ==7384== Lock acquired, processing the job...
[2025-02-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:56:02] Production.INFO: ==7386== Lock acquired, processing the job...
[2025-02-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:56:02] Production.INFO: ==7386== Releasing lock...
[2025-02-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:56:02] Production.INFO: ==7384== Releasing lock...
[2025-02-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:56:03] Production.INFO: ==7391== Lock acquired, processing the job...
[2025-02-09 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:56:03] Production.INFO: ==7389== Lock acquired, processing the job...
[2025-02-09 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:56:03] Production.INFO: ==7399== Lock acquired, processing the job...
[2025-02-09 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:56:03] Production.INFO: ==7393== Lock acquired, processing the job...
[2025-02-09 14:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:56:03] Production.INFO: ==7391== Releasing lock...
[2025-02-09 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:56:03] Production.INFO: ==7395== Lock acquired, processing the job...
[2025-02-09 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:56:03] Production.INFO: count ==21
[2025-02-09 14:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:56:03] Production.INFO: count ==21
[2025-02-09 14:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437809') start
[2025-02-09 14:56:03] Production.INFO: ==7397== Lock acquired, processing the job...
[2025-02-09 14:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437809') end
[2025-02-09 14:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:56:04] Production.INFO: 1
[2025-02-09 14:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:56:04] Production.INFO: ==7399== Releasing lock...
[2025-02-09 14:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:56:04] Production.INFO: Account Balance Start.
[2025-02-09 14:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:56:04] Production.INFO: 117
[2025-02-09 14:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:56:04] Production.INFO: Total Charge 0
[2025-02-09 14:56:04] Production.INFO: CreateAllLog End
[2025-02-09 14:56:04] Production.ERROR: done
[2025-02-09 14:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:56:04] Production.INFO: Account Balance End.
[2025-02-09 14:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:56:04] Production.INFO: ==7395== Releasing lock...
[2025-02-09 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:56:04] Production.ERROR: done
[2025-02-09 14:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:56:05
[end_date_ymd] => 2025-02-09 14:56:05
[RateCDR] => 1
)
[2025-02-09 14:56: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` >= '2025-02-09 11:56:05' and `end` < '2025-02-09 14:56: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 ,'')
[2025-02-09 14:56:11] Production.ERROR: CronJobId end10
[2025-02-09 14:56:11] Production.INFO: ==7393== Releasing lock...
[2025-02-09 14:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:56:14] Production.INFO: call_cost start
[2025-02-09 14:56:14] Production.INFO: call_cost end
[2025-02-09 14:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:56:15] Production.INFO: ==7389== Releasing lock...
[2025-02-09 14:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:56:18] Production.INFO: count ==1538
[2025-02-09 14:56:18] Production.ERROR: pbx CDR StartTime 2025-02-09 11:56:05 - End Time 2025-02-09 14:56:05
[2025-02-09 14:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437812', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437812', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437812', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437812', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:56:18] Production.INFO: ProcessCDR(1,14437812,1,1,2)
[2025-02-09 14:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437812', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437812', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:56:22] Production.INFO: ==7397== Releasing lock...
[2025-02-09 14:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:56:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:57:02] Production.INFO: ==7457== Lock acquired, processing the job...
[2025-02-09 19:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:57:02] Production.INFO: neon service started
[2025-02-09 19:57:02] Production.INFO: neon service started
[2025-02-09 19:57:02] Production.INFO: ==7457== Releasing lock...
[2025-02-09 19:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:57:02] Production.INFO: ==7459== Lock acquired, processing the job...
[2025-02-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 19:57:02] Production.INFO: ==7461== Lock acquired, processing the job...
[2025-02-09 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:57:02] Production.INFO: ==7461== Releasing lock...
[2025-02-09 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:57:03] Production.INFO: ==7459== Releasing lock...
[2025-02-09 14:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 14:57:04] Production.INFO: ==7464== Lock acquired, processing the job...
[2025-02-09 14:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:57:04] Production.INFO: ==7466== Lock acquired, processing the job...
[2025-02-09 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:57:04] Production.INFO: ==7468== Lock acquired, processing the job...
[2025-02-09 14:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:57:04] Production.INFO: ==7472== Lock acquired, processing the job...
[2025-02-09 14:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:57:04] Production.INFO: ==7470== Lock acquired, processing the job...
[2025-02-09 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:57:04] Production.INFO: ==7466== Releasing lock...
[2025-02-09 14:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:57:04] Production.INFO: ==7474== Lock acquired, processing the job...
[2025-02-09 14:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:57:04] Production.INFO: Account Balance Start.
[2025-02-09 14:57:04] Production.INFO: CreateAllLog Start
[2025-02-09 14:57:04] Production.INFO: 117
[2025-02-09 14:57:04] Production.INFO: Date 2025-02-08
[2025-02-09 14:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:57:04] Production.INFO: Date 2025-02-09
[2025-02-09 14:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:57:04] Production.INFO: Total Charge 0
[2025-02-09 14:57:04] Production.INFO: CreateAllLog End
[2025-02-09 14:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:57:04] Production.INFO: count ==21
[2025-02-09 14:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:57:04] Production.INFO: count ==21
[2025-02-09 14:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437816') start
[2025-02-09 14:57:04] Production.INFO: Account Balance End.
[2025-02-09 14:57:04] Production.ERROR: done
[2025-02-09 14:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:57:04] Production.INFO: ==7470== Releasing lock...
[2025-02-09 14:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:57:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437816') end
[2025-02-09 14:57:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:57:05] Production.INFO: 1
[2025-02-09 14:57:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:57:05] Production.ERROR: done
[2025-02-09 14:57:05] Production.INFO: ==7474== Releasing lock...
[2025-02-09 14:57:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:57:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:57:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:57:06
[end_date_ymd] => 2025-02-09 14:57:06
[RateCDR] => 1
)
[2025-02-09 14:57: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-02-09 11:57:06' and `end` < '2025-02-09 14:57: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-02-09 14:57:12] Production.ERROR: CronJobId end10
[2025-02-09 14:57:12] Production.INFO: ==7468== Releasing lock...
[2025-02-09 14:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:57:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:57:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:57:14] Production.INFO: call_cost start
[2025-02-09 14:57:14] Production.INFO: call_cost end
[2025-02-09 14:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:57:15] Production.INFO: ==7464== Releasing lock...
[2025-02-09 14:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:57:19] Production.INFO: count ==1534
[2025-02-09 14:57:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:57:06 - End Time 2025-02-09 14:57:06
[2025-02-09 14:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437817', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437817', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437817', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437817', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:57:19] Production.INFO: ProcessCDR(1,14437817,1,1,2)
[2025-02-09 14:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437817', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437817', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:57:24] Production.INFO: ==7472== Releasing lock...
[2025-02-09 14:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:57:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 19:58:01] Production.INFO: ==7532== Lock acquired, processing the job...
[2025-02-09 19:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:58:01] Production.INFO: neon service started
[2025-02-09 19:58:01] Production.INFO: neon service started
[2025-02-09 19:58:01] Production.INFO: ==7532== Releasing lock...
[2025-02-09 19:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:58:01] Production.INFO: ==7534== Lock acquired, processing the job...
[2025-02-09 14:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:58:02] Production.INFO: ==7534== Releasing lock...
[2025-02-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:58:02] Production.INFO: ==7536== Lock acquired, processing the job...
[2025-02-09 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:58:02] Production.INFO: ==7536== Releasing lock...
[2025-02-09 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:58:03] Production.INFO: ==7538== Lock acquired, processing the job...
[2025-02-09 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:58:03] Production.INFO: ==7540== Lock acquired, processing the job...
[2025-02-09 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:58:03] Production.INFO: ==7546== Lock acquired, processing the job...
[2025-02-09 14:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:58:03] Production.INFO: ==7542== Lock acquired, processing the job...
[2025-02-09 14:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:58:03] Production.INFO: ==7544== Lock acquired, processing the job...
[2025-02-09 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:58:03] Production.INFO: ==7549== Lock acquired, processing the job...
[2025-02-09 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:58:03] Production.INFO: Account Balance Start.
[2025-02-09 14:58:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:58:03] Production.INFO: 117
[2025-02-09 14:58:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:58:03] Production.ERROR: done
[2025-02-09 14:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:58:03] Production.INFO: ==7540== Releasing lock...
[2025-02-09 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:58:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:58:03] Production.INFO: Total Charge 0
[2025-02-09 14:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:58:03] Production.INFO: CreateAllLog End
[2025-02-09 14:58:03] Production.INFO: count ==21
[2025-02-09 14:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:58:03] Production.INFO: count ==21
[2025-02-09 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437821') start
[2025-02-09 14:58:03] Production.ERROR: done
[2025-02-09 14:58:04] Production.INFO: Account Balance End.
[2025-02-09 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437821') end
[2025-02-09 14:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:58:04] Production.INFO: 1
[2025-02-09 14:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:58:04] Production.INFO: ==7544== Releasing lock...
[2025-02-09 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:58:04] Production.INFO: ==7549== Releasing lock...
[2025-02-09 14:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:58:05
[end_date_ymd] => 2025-02-09 14:58:05
[RateCDR] => 1
)
[2025-02-09 14:58: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` >= '2025-02-09 11:58:05' and `end` < '2025-02-09 14:58: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 ,'')
[2025-02-09 14:58:12] Production.ERROR: CronJobId end10
[2025-02-09 14:58:12] Production.INFO: ==7542== Releasing lock...
[2025-02-09 14:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:58:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:58:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:58:14] Production.INFO: call_cost start
[2025-02-09 14:58:14] Production.INFO: call_cost end
[2025-02-09 14:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:58:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:58:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:58:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:58:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:58:14] Production.INFO: ==7538== Releasing lock...
[2025-02-09 14:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:58:18] Production.INFO: count ==1532
[2025-02-09 14:58:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:58:05 - End Time 2025-02-09 14:58:05
[2025-02-09 14:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437822', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437822', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437822', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437822', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:58:19] Production.INFO: ProcessCDR(1,14437822,1,1,2)
[2025-02-09 14:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437822', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437822', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:58:23] Production.INFO: ==7546== Releasing lock...
[2025-02-09 14:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:58:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 19:59:02] Production.INFO: ==7606== Lock acquired, processing the job...
[2025-02-09 19:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 19:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 19:59:02] Production.INFO: neon service started
[2025-02-09 19:59:02] Production.INFO: neon service started
[2025-02-09 19:59:02] Production.INFO: ==7606== Releasing lock...
[2025-02-09 19:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 19:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 14:59:02] Production.INFO: ==7609== Lock acquired, processing the job...
[2025-02-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 14:59:02] Production.INFO: ==7609== Releasing lock...
[2025-02-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 14:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 19:59:02] Production.INFO: ==7611== Lock acquired, processing the job...
[2025-02-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 19:59:02] Production.INFO: ==7611== Releasing lock...
[2025-02-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 19:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 14:59:03] Production.INFO: ==7619== Lock acquired, processing the job...
[2025-02-09 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 14:59:03] Production.INFO: ==7613== Lock acquired, processing the job...
[2025-02-09 14:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 14:59:03] Production.INFO: ==7615== Lock acquired, processing the job...
[2025-02-09 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 14:59:03] Production.INFO: ==7617== Lock acquired, processing the job...
[2025-02-09 14:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 14:59:03] Production.INFO: ==7623== Lock acquired, processing the job...
[2025-02-09 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 14:59:03] Production.INFO: Account Balance Start.
[2025-02-09 14:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 14:59:03] Production.INFO: 117
[2025-02-09 14:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 14:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 14:59:03] Production.INFO: ==7621== Lock acquired, processing the job...
[2025-02-09 14:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 14:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 14:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 14:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 14:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 14:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 14:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 14:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 14:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 14:59:04] Production.INFO: count ==21
[2025-02-09 14:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 14:59:04] Production.INFO: Total Charge 0
[2025-02-09 14:59:04] Production.INFO: count ==21
[2025-02-09 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437826') start
[2025-02-09 14:59:04] Production.INFO: CreateAllLog End
[2025-02-09 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437826') end
[2025-02-09 14:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 14:59:04] Production.INFO: 1
[2025-02-09 14:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 14:59:04] Production.INFO: ==7615== Releasing lock...
[2025-02-09 14:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 14:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 14:59:04] Production.INFO: ==7623== Releasing lock...
[2025-02-09 14:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 14:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 14:59:04] Production.ERROR: done
[2025-02-09 14:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 14:59:04] Production.INFO: Account Balance End.
[2025-02-09 14:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 14:59:04] Production.INFO: ==7619== Releasing lock...
[2025-02-09 14:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 14:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 14:59:04] Production.ERROR: done
[2025-02-09 14:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 11:59:05
[end_date_ymd] => 2025-02-09 14:59:05
[RateCDR] => 1
)
[2025-02-09 14:59: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` >= '2025-02-09 11:59:05' and `end` < '2025-02-09 14:59: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 ,'')
[2025-02-09 14:59:11] Production.ERROR: CronJobId end10
[2025-02-09 14:59:11] Production.INFO: ==7617== Releasing lock...
[2025-02-09 14:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 14:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 14:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 14:59:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 14:59:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 14:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 14:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 14:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 14:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 14:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 14:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 14:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 14:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 14:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 14:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 14:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 14:59:14] Production.INFO: call_cost start
[2025-02-09 14:59:14] Production.INFO: call_cost end
[2025-02-09 14:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 14:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 14:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 14:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 14:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 14:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 14:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 14:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 14:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 14:59:15] Production.INFO: ==7613== Releasing lock...
[2025-02-09 14:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 14:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 14:59:18] Production.INFO: count ==1531
[2025-02-09 14:59:19] Production.ERROR: pbx CDR StartTime 2025-02-09 11:59:05 - End Time 2025-02-09 14:59:05
[2025-02-09 14:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 14:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437827', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437827', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437827', 'tblTempVendorCDR_20' ) start
[2025-02-09 14:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437827', 'tblTempVendorCDR_20' ) end
[2025-02-09 14:59:19] Production.INFO: ProcessCDR(1,14437827,1,1,2)
[2025-02-09 14:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 14:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 14:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437827', 'tblTempUsageDetail_20' ) start
[2025-02-09 14:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437827', 'tblTempUsageDetail_20' ) end
[2025-02-09 14:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 14:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 14:59:23] Production.INFO: ==7621== Releasing lock...
[2025-02-09 14:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 14:59:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:00:01] Production.INFO: ==7686== Lock acquired, processing the job...
[2025-02-09 20:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:00:01] Production.INFO: neon service started
[2025-02-09 20:00:01] Production.INFO: neon service started
[2025-02-09 20:00:01] Production.INFO: ==7686== Releasing lock...
[2025-02-09 20:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:00:01] Production.INFO: ==7690== Lock acquired, processing the job...
[2025-02-09 20:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:00:01] Production.INFO: ==7690== Releasing lock...
[2025-02-09 20:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:00:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:00:02] Production.INFO: ==7688== Lock acquired, processing the job...
[2025-02-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:00:02] Production.INFO: ==7688== Releasing lock...
[2025-02-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:00:03] Production.INFO: ==7693== Lock acquired, processing the job...
[2025-02-09 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 15:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 15:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 15:00:03] Production.INFO: ==7693== Releasing lock...
[2025-02-09 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 15:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 15:00:03] Production.INFO: ==7697== Lock acquired, processing the job...
[2025-02-09 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:00:03] Production.INFO: ==7701== Lock acquired, processing the job...
[2025-02-09 15:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:00:03] Production.INFO: ==7705== Lock acquired, processing the job...
[2025-02-09 15:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 15:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:00:03] Production.INFO: Account Balance Start.
[2025-02-09 15:00:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:00:03] Production.INFO: 117
[2025-02-09 15:00:03] Production.INFO: ==7699== Lock acquired, processing the job...
[2025-02-09 15:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:00:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:00:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:00:03] Production.INFO: ==7695== Lock acquired, processing the job...
[2025-02-09 15:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:00:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:00:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:00:03] Production.INFO: ==7703== Lock acquired, processing the job...
[2025-02-09 15:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:00:03] Production.INFO: Total Charge 0
[2025-02-09 15:00:03] Production.INFO: CreateAllLog End
[2025-02-09 15:00:04] Production.ERROR: done
[2025-02-09 15:00:04] Production.INFO: ==7697== Releasing lock...
[2025-02-09 15:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:00:04] Production.INFO: ==7707== Lock acquired, processing the job...
[2025-02-09 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 15:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437830', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 15:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:00:04] Production.INFO: count ==21
[2025-02-09 15:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:00:04] Production.INFO: Account Balance End.
[2025-02-09 15:00:04] Production.INFO: count ==21
[2025-02-09 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437832') start
[2025-02-09 15:00:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:00:04] Production.INFO: ==7701== Releasing lock...
[2025-02-09 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:00:04] Production.ERROR: done
[2025-02-09 15:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:00:04] Production.ERROR: done
[2025-02-09 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437832') end
[2025-02-09 15:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:00:04] Production.INFO: 1
[2025-02-09 15:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:00:04] Production.INFO: ==7707== Releasing lock...
[2025-02-09 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:00:06
[end_date_ymd] => 2025-02-09 15:00:06
[RateCDR] => 1
)
[2025-02-09 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-02-09 12:00:06' and `end` < '2025-02-09 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-02-09 15:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437830', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 15:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 15:00:08] Production.INFO: ProcessCDR(1,14437830,1,1,2)
[2025-02-09 15:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437830,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437830,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:00:08] Production.INFO: ==7705== Releasing lock...
[2025-02-09 15:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 15:00:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 15:00:13] Production.ERROR: CronJobId end10
[2025-02-09 15:00:13] Production.INFO: ==7699== Releasing lock...
[2025-02-09 15:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:00:16] Production.INFO: call_cost start
[2025-02-09 15:00:16] Production.INFO: call_cost end
[2025-02-09 15:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:00:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:00:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:00:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:00:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:00:17] Production.INFO: ==7695== Releasing lock...
[2025-02-09 15:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:00:19] Production.INFO: count ==1545
[2025-02-09 15:00:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:00:06 - End Time 2025-02-09 15:00:06
[2025-02-09 15:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437833', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437833', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437833', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437833', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:00:19] Production.INFO: ProcessCDR(1,14437833,1,1,2)
[2025-02-09 15:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437833', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437833', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:00:24] Production.INFO: ==7703== Releasing lock...
[2025-02-09 15:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:00:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:01:02] Production.INFO: ==7771== Lock acquired, processing the job...
[2025-02-09 20:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:01:02] Production.INFO: neon service started
[2025-02-09 20:01:02] Production.INFO: neon service started
[2025-02-09 20:01:02] Production.INFO: ==7771== Releasing lock...
[2025-02-09 20:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:01:02] Production.INFO: ==7784== Lock acquired, processing the job...
[2025-02-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:01:02] Production.INFO: ==7784== Releasing lock...
[2025-02-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:01:03] Production.INFO: ==7786== Lock acquired, processing the job...
[2025-02-09 20:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:01:03] Production.INFO: ==7786== Releasing lock...
[2025-02-09 20:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:01:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:01:03] Production.INFO: ==7795== Lock acquired, processing the job...
[2025-02-09 15:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:01:03] Production.INFO: ==7799== Lock acquired, processing the job...
[2025-02-09 15:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:01:03] Production.INFO: ==7789== Lock acquired, processing the job...
[2025-02-09 15:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:01:03] Production.INFO: Account Balance Start.
[2025-02-09 15:01:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:01:03] Production.INFO: 117
[2025-02-09 15:01:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:01:04] Production.INFO: ==7791== Lock acquired, processing the job...
[2025-02-09 15:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:01:04] Production.INFO: ==7793== Lock acquired, processing the job...
[2025-02-09 15:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:01:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:01:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:01:04] Production.INFO: Total Charge 0
[2025-02-09 15:01:04] Production.INFO: CreateAllLog End
[2025-02-09 15:01:04] Production.INFO: ==7797== Lock acquired, processing the job...
[2025-02-09 15:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:01:04] Production.INFO: count ==21
[2025-02-09 15:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:01:04] Production.INFO: count ==21
[2025-02-09 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437835') start
[2025-02-09 15:01:04] Production.INFO: ==7791== Releasing lock...
[2025-02-09 15:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437835') end
[2025-02-09 15:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:01:04] Production.INFO: 1
[2025-02-09 15:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:01:04] Production.INFO: ==7799== Releasing lock...
[2025-02-09 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:01:04] Production.ERROR: done
[2025-02-09 15:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:01:04] Production.INFO: Account Balance End.
[2025-02-09 15:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:01:04] Production.INFO: ==7795== Releasing lock...
[2025-02-09 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:01:04] Production.ERROR: done
[2025-02-09 15:01:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:01:05
[end_date_ymd] => 2025-02-09 15:01:05
[RateCDR] => 1
)
[2025-02-09 15:01:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 12:01:05' and `end` < '2025-02-09 15:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 15:01:13] Production.ERROR: CronJobId end10
[2025-02-09 15:01:13] Production.INFO: ==7793== Releasing lock...
[2025-02-09 15:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:01:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:01:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:01:16] Production.INFO: call_cost start
[2025-02-09 15:01:16] Production.INFO: call_cost end
[2025-02-09 15:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:01:17] Production.INFO: ==7789== Releasing lock...
[2025-02-09 15:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:01:19] Production.INFO: count ==1536
[2025-02-09 15:01:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:01:05 - End Time 2025-02-09 15:01:05
[2025-02-09 15:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437838', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437838', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437838', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437838', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:01:20] Production.INFO: ProcessCDR(1,14437838,1,1,2)
[2025-02-09 15:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437838', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437838', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:01:24] Production.INFO: ==7797== Releasing lock...
[2025-02-09 15:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:01:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:02:01] Production.INFO: ==7974== Lock acquired, processing the job...
[2025-02-09 20:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:02:01] Production.INFO: neon service started
[2025-02-09 20:02:01] Production.INFO: neon service started
[2025-02-09 20:02:01] Production.INFO: ==7974== Releasing lock...
[2025-02-09 20:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:02:01] Production.INFO: ==7976== Lock acquired, processing the job...
[2025-02-09 15:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:02:02] Production.INFO: ==7976== Releasing lock...
[2025-02-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:02:02] Production.INFO: ==7978== Lock acquired, processing the job...
[2025-02-09 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:02:02] Production.INFO: ==7978== Releasing lock...
[2025-02-09 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:02:02] Production.INFO: ==7981== Lock acquired, processing the job...
[2025-02-09 15:02:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:02:03] Production.INFO: ==7987== Lock acquired, processing the job...
[2025-02-09 15:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:02:03] Production.INFO: ==7991== Lock acquired, processing the job...
[2025-02-09 15:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:02:03] Production.INFO: Account Balance Start.
[2025-02-09 15:02:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:02:03] Production.INFO: 117
[2025-02-09 15:02:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:02:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:02:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:02:03] Production.INFO: Total Charge 0
[2025-02-09 15:02:03] Production.INFO: CreateAllLog End
[2025-02-09 15:02:03] Production.INFO: ==7985== Lock acquired, processing the job...
[2025-02-09 15:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:02:03] Production.INFO: ==7983== Lock acquired, processing the job...
[2025-02-09 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:02:03] Production.INFO: count ==21
[2025-02-09 15:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:02:03] Production.INFO: count ==21
[2025-02-09 15:02:03] Production.INFO: ==7989== Lock acquired, processing the job...
[2025-02-09 15:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:02:03] Production.INFO: Account Balance End.
[2025-02-09 15:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437841') start
[2025-02-09 15:02:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:02:03] Production.INFO: ==7987== Releasing lock...
[2025-02-09 15:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437841') end
[2025-02-09 15:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:02:03] Production.INFO: 1
[2025-02-09 15:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:02:03] Production.INFO: ==7991== Releasing lock...
[2025-02-09 15:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:02:03] Production.ERROR: done
[2025-02-09 15:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:02:03] Production.INFO: ==7983== Releasing lock...
[2025-02-09 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:02:04] Production.ERROR: done
[2025-02-09 15:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:02:05
[end_date_ymd] => 2025-02-09 15:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 12:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 15:02:11] Production.ERROR: CronJobId end10
[2025-02-09 15:02:11] Production.INFO: ==7985== Releasing lock...
[2025-02-09 15:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:02:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:02:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:02:14] Production.INFO: call_cost start
[2025-02-09 15:02:14] Production.INFO: call_cost end
[2025-02-09 15:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:02:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:02:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:02:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:02:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:02:14] Production.INFO: ==7981== Releasing lock...
[2025-02-09 15:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:02:18] Production.INFO: count ==1529
[2025-02-09 15:02:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:02:05 - End Time 2025-02-09 15:02:05
[2025-02-09 15:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437843', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437843', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437843', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437843', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:02:19] Production.INFO: ProcessCDR(1,14437843,1,1,2)
[2025-02-09 15:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437843', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437843', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:02:22] Production.INFO: ==7989== Releasing lock...
[2025-02-09 15:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:02:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 20:03:02] Production.INFO: ==8053== Lock acquired, processing the job...
[2025-02-09 20:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:03:02] Production.INFO: neon service started
[2025-02-09 20:03:02] Production.INFO: neon service started
[2025-02-09 20:03:02] Production.INFO: ==8053== Releasing lock...
[2025-02-09 20:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:03:02] Production.INFO: ==8058== Lock acquired, processing the job...
[2025-02-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:03:02] Production.INFO: ==8058== Releasing lock...
[2025-02-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:03:02] Production.INFO: ==8056== Lock acquired, processing the job...
[2025-02-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:03:02] Production.INFO: ==8056== Releasing lock...
[2025-02-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:03:03] Production.INFO: ==8060== Lock acquired, processing the job...
[2025-02-09 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:03:03] Production.INFO: ==8066== Lock acquired, processing the job...
[2025-02-09 15:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:03:03] Production.INFO: ==8068== Lock acquired, processing the job...
[2025-02-09 15:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:03:03] Production.INFO: Account Balance Start.
[2025-02-09 15:03:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:03:03] Production.INFO: 117
[2025-02-09 15:03:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:03:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:03:03] Production.INFO: Total Charge 0
[2025-02-09 15:03:03] Production.INFO: CreateAllLog End
[2025-02-09 15:03:03] Production.INFO: ==8062== Lock acquired, processing the job...
[2025-02-09 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:03:03] Production.INFO: ==8064== Lock acquired, processing the job...
[2025-02-09 15:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:03:04] Production.INFO: ==8070== Lock acquired, processing the job...
[2025-02-09 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:03:04] Production.INFO: Account Balance End.
[2025-02-09 15:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:03:04] Production.INFO: ==8066== Releasing lock...
[2025-02-09 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:03:04] Production.ERROR: done
[2025-02-09 15:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:03:04] Production.INFO: count ==21
[2025-02-09 15:03:04] Production.ERROR: done
[2025-02-09 15:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:03:04] Production.INFO: count ==21
[2025-02-09 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437847') start
[2025-02-09 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437847') end
[2025-02-09 15:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:03:04] Production.INFO: 1
[2025-02-09 15:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:03:04] Production.INFO: ==8062== Releasing lock...
[2025-02-09 15:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:03:04] Production.INFO: ==8070== Releasing lock...
[2025-02-09 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:03:05
[end_date_ymd] => 2025-02-09 15:03:05
[RateCDR] => 1
)
[2025-02-09 15:03: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` >= '2025-02-09 12:03:05' and `end` < '2025-02-09 15:03: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 ,'')
[2025-02-09 15:03:12] Production.ERROR: CronJobId end10
[2025-02-09 15:03:12] Production.INFO: ==8064== Releasing lock...
[2025-02-09 15:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:03:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:03:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:03:14] Production.INFO: call_cost start
[2025-02-09 15:03:14] Production.INFO: call_cost end
[2025-02-09 15:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:03:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:03:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:03:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:03:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:03:15] Production.INFO: ==8060== Releasing lock...
[2025-02-09 15:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:03:19] Production.INFO: count ==1528
[2025-02-09 15:03:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:03:05 - End Time 2025-02-09 15:03:05
[2025-02-09 15:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437848', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437848', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437848', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437848', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:03:19] Production.INFO: ProcessCDR(1,14437848,1,1,2)
[2025-02-09 15:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437848', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437848', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:03:22] Production.INFO: ==8068== Releasing lock...
[2025-02-09 15:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:03:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:04:01] Production.INFO: ==8127== Lock acquired, processing the job...
[2025-02-09 20:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:04:01] Production.INFO: neon service started
[2025-02-09 20:04:01] Production.INFO: neon service started
[2025-02-09 20:04:01] Production.INFO: ==8127== Releasing lock...
[2025-02-09 20:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:04:01] Production.INFO: ==8129== Lock acquired, processing the job...
[2025-02-09 15:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:04:02] Production.INFO: ==8129== Releasing lock...
[2025-02-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:04:02] Production.INFO: ==8131== Lock acquired, processing the job...
[2025-02-09 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:04:02] Production.INFO: ==8131== Releasing lock...
[2025-02-09 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:04:03] Production.INFO: ==8140== Lock acquired, processing the job...
[2025-02-09 15:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:04:03] Production.INFO: ==8144== Lock acquired, processing the job...
[2025-02-09 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:04:03] Production.INFO: Account Balance Start.
[2025-02-09 15:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:04:03] Production.INFO: 117
[2025-02-09 15:04:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:04:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:04:03] Production.INFO: Total Charge 0
[2025-02-09 15:04:03] Production.INFO: count ==21
[2025-02-09 15:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:04:03] Production.INFO: CreateAllLog End
[2025-02-09 15:04:03] Production.INFO: count ==21
[2025-02-09 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437850') start
[2025-02-09 15:04:03] Production.INFO: ==8133== Lock acquired, processing the job...
[2025-02-09 15:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:04:03] Production.INFO: ==8135== Lock acquired, processing the job...
[2025-02-09 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437850') end
[2025-02-09 15:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:04:03] Production.INFO: 1
[2025-02-09 15:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:04:03] Production.INFO: ==8137== Lock acquired, processing the job...
[2025-02-09 15:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:04:03] Production.INFO: Account Balance End.
[2025-02-09 15:04:03] Production.INFO: ==8144== Releasing lock...
[2025-02-09 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:04:03] Production.INFO: ==8142== Lock acquired, processing the job...
[2025-02-09 15:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:04:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:04:03] Production.INFO: ==8140== Releasing lock...
[2025-02-09 15:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:04:03] Production.INFO: ==8135== Releasing lock...
[2025-02-09 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:04:03] Production.ERROR: done
[2025-02-09 15:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:04:04] Production.ERROR: done
[2025-02-09 15:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:04:04
[end_date_ymd] => 2025-02-09 15:04:04
[RateCDR] => 1
)
[2025-02-09 15:04:04] 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-02-09 12:04:04' and `end` < '2025-02-09 15:04:04'
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-02-09 15:04:12] Production.ERROR: CronJobId end10
[2025-02-09 15:04:12] Production.INFO: ==8137== Releasing lock...
[2025-02-09 15:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:04:14] Production.INFO: call_cost start
[2025-02-09 15:04:14] Production.INFO: call_cost end
[2025-02-09 15:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:04:15] Production.INFO: ==8133== Releasing lock...
[2025-02-09 15:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:04:17] Production.INFO: count ==1529
[2025-02-09 15:04:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:04:04 - End Time 2025-02-09 15:04:04
[2025-02-09 15:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437853', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437853', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437853', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437853', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:04:18] Production.INFO: ProcessCDR(1,14437853,1,1,2)
[2025-02-09 15:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437853', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437853', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:04:23] Production.INFO: ==8142== Releasing lock...
[2025-02-09 15:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:04:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:05:01] Production.INFO: ==8282== Lock acquired, processing the job...
[2025-02-09 20:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:05:01] Production.INFO: neon service started
[2025-02-09 20:05:01] Production.INFO: neon service started
[2025-02-09 20:05:01] Production.INFO: ==8282== Releasing lock...
[2025-02-09 20:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:05:02] Production.INFO: ==8284== Lock acquired, processing the job...
[2025-02-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:05:02] Production.INFO: ==8286== Lock acquired, processing the job...
[2025-02-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:05:02] Production.INFO: ==8286== Releasing lock...
[2025-02-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:05:02] Production.INFO: ==8284== Releasing lock...
[2025-02-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:05:03] Production.INFO: ==8291== Lock acquired, processing the job...
[2025-02-09 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:05:03] Production.INFO: ==8289== Lock acquired, processing the job...
[2025-02-09 15:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:05:03] Production.INFO: ==8297== Lock acquired, processing the job...
[2025-02-09 15:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:05:03] Production.INFO: ==8293== Lock acquired, processing the job...
[2025-02-09 15:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:05:04] Production.INFO: ==8295== Lock acquired, processing the job...
[2025-02-09 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:05:04] Production.INFO: ==8299== Lock acquired, processing the job...
[2025-02-09 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:05:04] Production.INFO: ==8291== Releasing lock...
[2025-02-09 15:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:05:04] Production.INFO: Account Balance Start.
[2025-02-09 15:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:05:04] Production.INFO: 117
[2025-02-09 15:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:05:04] Production.INFO: Total Charge 0
[2025-02-09 15:05:04] Production.INFO: CreateAllLog End
[2025-02-09 15:05:04] Production.ERROR: done
[2025-02-09 15:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:05:04] Production.ERROR: done
[2025-02-09 15:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:05:04] Production.INFO: Account Balance End.
[2025-02-09 15:05:04] Production.INFO: count ==21
[2025-02-09 15:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:05:04] Production.INFO: count ==21
[2025-02-09 15:05:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437857') start
[2025-02-09 15:05:04] Production.INFO: ==8295== Releasing lock...
[2025-02-09 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437857') end
[2025-02-09 15:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:05:04] Production.INFO: 1
[2025-02-09 15:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:05:04] Production.INFO: ==8299== Releasing lock...
[2025-02-09 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:05:05
[end_date_ymd] => 2025-02-09 15:05:05
[RateCDR] => 1
)
[2025-02-09 15:05: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` >= '2025-02-09 12:05:05' and `end` < '2025-02-09 15:05: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 ,'')
[2025-02-09 15:05:12] Production.ERROR: CronJobId end10
[2025-02-09 15:05:12] Production.INFO: ==8293== Releasing lock...
[2025-02-09 15:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:05:15] Production.INFO: call_cost start
[2025-02-09 15:05:15] Production.INFO: call_cost end
[2025-02-09 15:05:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:05:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:05:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:05:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:05:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:05:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:05:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:05:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:05:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:05:16] Production.INFO: ==8289== Releasing lock...
[2025-02-09 15:05:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:05:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:05:18] Production.INFO: count ==1519
[2025-02-09 15:05:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:05:05 - End Time 2025-02-09 15:05:05
[2025-02-09 15:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437858', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437858', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437858', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437858', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:05:19] Production.INFO: ProcessCDR(1,14437858,1,1,2)
[2025-02-09 15:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437858', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437858', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:05:23] Production.INFO: ==8297== Releasing lock...
[2025-02-09 15:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:05:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:06:01] Production.INFO: ==8359== Lock acquired, processing the job...
[2025-02-09 20:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:06:01] Production.INFO: neon service started
[2025-02-09 20:06:01] Production.INFO: neon service started
[2025-02-09 20:06:01] Production.INFO: ==8359== Releasing lock...
[2025-02-09 20:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:06:01] Production.INFO: ==8361== Lock acquired, processing the job...
[2025-02-09 15:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:06:02] Production.INFO: ==8361== Releasing lock...
[2025-02-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:06:02] Production.INFO: ==8363== Lock acquired, processing the job...
[2025-02-09 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:06:02] Production.INFO: ==8363== Releasing lock...
[2025-02-09 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:06:03] Production.INFO: ==8368== Lock acquired, processing the job...
[2025-02-09 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:06:03] Production.INFO: ==8366== Lock acquired, processing the job...
[2025-02-09 15:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:06:03] Production.INFO: ==8372== Lock acquired, processing the job...
[2025-02-09 15:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:06:03] Production.INFO: ==8370== Lock acquired, processing the job...
[2025-02-09 15:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:06:03] Production.INFO: Account Balance Start.
[2025-02-09 15:06:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:06:03] Production.INFO: 117
[2025-02-09 15:06:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:06:03] Production.INFO: ==8374== Lock acquired, processing the job...
[2025-02-09 15:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:06:03] Production.INFO: ==8368== Releasing lock...
[2025-02-09 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:06:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:06:03] Production.INFO: Total Charge 0
[2025-02-09 15:06:03] Production.INFO: CreateAllLog End
[2025-02-09 15:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:06:03] Production.INFO: ==8376== Lock acquired, processing the job...
[2025-02-09 15:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:06:03] Production.INFO: Account Balance End.
[2025-02-09 15:06:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:06:03] Production.INFO: ==8372== Releasing lock...
[2025-02-09 15:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:06:03] Production.INFO: count ==21
[2025-02-09 15:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:06:03] Production.INFO: count ==21
[2025-02-09 15:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437862') start
[2025-02-09 15:06:03] Production.ERROR: done
[2025-02-09 15:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437862') end
[2025-02-09 15:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:06:03] Production.INFO: 1
[2025-02-09 15:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:06:04] Production.INFO: ==8376== Releasing lock...
[2025-02-09 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:06:04] Production.ERROR: done
[2025-02-09 15:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:06:05
[end_date_ymd] => 2025-02-09 15:06:05
[RateCDR] => 1
)
[2025-02-09 15:06: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` >= '2025-02-09 12:06:05' and `end` < '2025-02-09 15:06: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 ,'')
[2025-02-09 15:06:12] Production.ERROR: CronJobId end10
[2025-02-09 15:06:12] Production.INFO: ==8370== Releasing lock...
[2025-02-09 15:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:06:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:06:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:06:14] Production.INFO: call_cost start
[2025-02-09 15:06:14] Production.INFO: call_cost end
[2025-02-09 15:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:06:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:06:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:06:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:06:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:06:15] Production.INFO: ==8366== Releasing lock...
[2025-02-09 15:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:06:19] Production.INFO: count ==1521
[2025-02-09 15:06:20] Production.ERROR: pbx CDR StartTime 2025-02-09 12:06:05 - End Time 2025-02-09 15:06:05
[2025-02-09 15:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437863', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437863', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437863', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437863', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:06:20] Production.INFO: ProcessCDR(1,14437863,1,1,2)
[2025-02-09 15:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437863', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437863', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:06:24] Production.INFO: ==8374== Releasing lock...
[2025-02-09 15:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:06:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:07:01] Production.INFO: ==8440== Lock acquired, processing the job...
[2025-02-09 20:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:07:01] Production.INFO: neon service started
[2025-02-09 20:07:01] Production.INFO: neon service started
[2025-02-09 20:07:01] Production.INFO: ==8440== Releasing lock...
[2025-02-09 20:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:07:02] Production.INFO: ==8442== Lock acquired, processing the job...
[2025-02-09 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:07:02] Production.INFO: ==8444== Lock acquired, processing the job...
[2025-02-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:07:02] Production.INFO: ==8444== Releasing lock...
[2025-02-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:07:02] Production.INFO: ==8442== Releasing lock...
[2025-02-09 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:07:03] Production.INFO: ==8451== Lock acquired, processing the job...
[2025-02-09 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:07:03] Production.INFO: ==8447== Lock acquired, processing the job...
[2025-02-09 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:07:03] Production.INFO: ==8455== Lock acquired, processing the job...
[2025-02-09 15:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:07:04] Production.INFO: ==8449== Lock acquired, processing the job...
[2025-02-09 15:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:07:04] Production.INFO: ==8457== Lock acquired, processing the job...
[2025-02-09 15:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:07:04] Production.INFO: ==8453== Lock acquired, processing the job...
[2025-02-09 15:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:07:04] Production.INFO: Account Balance Start.
[2025-02-09 15:07:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:07:04] Production.INFO: 117
[2025-02-09 15:07:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:07:04] Production.ERROR: done
[2025-02-09 15:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:07:04] Production.INFO: ==8449== Releasing lock...
[2025-02-09 15:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:07:04] Production.INFO: count ==21
[2025-02-09 15:07:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:07:04] Production.INFO: count ==21
[2025-02-09 15:07:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437867') start
[2025-02-09 15:07:04] Production.ERROR: done
[2025-02-09 15:07:04] Production.INFO: Total Charge 0
[2025-02-09 15:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437867') end
[2025-02-09 15:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:07:04] Production.INFO: 1
[2025-02-09 15:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:07:04] Production.INFO: CreateAllLog End
[2025-02-09 15:07:04] Production.INFO: ==8457== Releasing lock...
[2025-02-09 15:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:07:05] Production.INFO: Account Balance End.
[2025-02-09 15:07:05] Production.ERROR: CronJobId end 12
[2025-02-09 15:07:05] Production.INFO: ==8453== Releasing lock...
[2025-02-09 15:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:07:05
[end_date_ymd] => 2025-02-09 15:07:05
[RateCDR] => 1
)
[2025-02-09 15:07: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` >= '2025-02-09 12:07:05' and `end` < '2025-02-09 15:07: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 ,'')
[2025-02-09 15:07:12] Production.ERROR: CronJobId end10
[2025-02-09 15:07:12] Production.INFO: ==8451== Releasing lock...
[2025-02-09 15:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:07:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:07:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:07:14] Production.INFO: call_cost start
[2025-02-09 15:07:14] Production.INFO: call_cost end
[2025-02-09 15:07:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:07:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:07:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:07:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:07:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:07:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:07:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:07:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:07:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:07:16] Production.INFO: ==8447== Releasing lock...
[2025-02-09 15:07:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:07:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:07:19] Production.INFO: count ==1522
[2025-02-09 15:07:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:07:05 - End Time 2025-02-09 15:07:05
[2025-02-09 15:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437868', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437868', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437868', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437868', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:07:19] Production.INFO: ProcessCDR(1,14437868,1,1,2)
[2025-02-09 15:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:07:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:07:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437868', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437868', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:07:24] Production.INFO: ==8455== Releasing lock...
[2025-02-09 15:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:07:24] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:08:01] Production.INFO: ==8516== Lock acquired, processing the job...
[2025-02-09 20:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:08:01] Production.INFO: neon service started
[2025-02-09 20:08:01] Production.INFO: neon service started
[2025-02-09 20:08:01] Production.INFO: ==8516== Releasing lock...
[2025-02-09 20:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:08:01] Production.INFO: ==8529== Lock acquired, processing the job...
[2025-02-09 15:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:08:02] Production.INFO: ==8529== Releasing lock...
[2025-02-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:08:02] Production.INFO: ==8534== Lock acquired, processing the job...
[2025-02-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:08:02] Production.INFO: ==8534== Releasing lock...
[2025-02-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:08:02] Production.INFO: ==8566== Lock acquired, processing the job...
[2025-02-09 15:08:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:08:03] Production.INFO: ==8559== Lock acquired, processing the job...
[2025-02-09 15:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:08:03] Production.INFO: ==8572== Lock acquired, processing the job...
[2025-02-09 15:08:03] Production.INFO: ==8564== Lock acquired, processing the job...
[2025-02-09 15:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:08:03] Production.INFO: count ==21
[2025-02-09 15:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:08:03] Production.INFO: count ==21
[2025-02-09 15:08:03] Production.INFO: ==8568== Lock acquired, processing the job...
[2025-02-09 15:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:08:03] Production.INFO: ==8570== Lock acquired, processing the job...
[2025-02-09 15:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437869') start
[2025-02-09 15:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:08:03] Production.INFO: Account Balance Start.
[2025-02-09 15:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:08:03] Production.INFO: 117
[2025-02-09 15:08:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437869') end
[2025-02-09 15:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:08:03] Production.INFO: 1
[2025-02-09 15:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:08:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:08:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:08:03] Production.INFO: Total Charge 0
[2025-02-09 15:08:03] Production.INFO: CreateAllLog End
[2025-02-09 15:08:03] Production.INFO: ==8572== Releasing lock...
[2025-02-09 15:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:08:03] Production.INFO: ==8564== Releasing lock...
[2025-02-09 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:08:03] Production.ERROR: done
[2025-02-09 15:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:08:03] Production.INFO: Account Balance End.
[2025-02-09 15:08:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:08:03] Production.INFO: ==8568== Releasing lock...
[2025-02-09 15:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:08:04] Production.ERROR: done
[2025-02-09 15:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:08:04
[end_date_ymd] => 2025-02-09 15:08:04
[RateCDR] => 1
)
[2025-02-09 15:08:04] 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-02-09 12:08:04' and `end` < '2025-02-09 15:08:04'
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-02-09 15:08:11] Production.ERROR: CronJobId end10
[2025-02-09 15:08:11] Production.INFO: ==8566== Releasing lock...
[2025-02-09 15:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:08:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:08:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:08:13] Production.INFO: call_cost start
[2025-02-09 15:08:13] Production.INFO: call_cost end
[2025-02-09 15:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:08:13] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:08:13] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:08:13] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:08:13] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:08:13] Production.INFO: ==8559== Releasing lock...
[2025-02-09 15:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:08:18] Production.INFO: count ==1541
[2025-02-09 15:08:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:08:04 - End Time 2025-02-09 15:08:04
[2025-02-09 15:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437873', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437873', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437873', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437873', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:08:18] Production.INFO: ProcessCDR(1,14437873,1,1,2)
[2025-02-09 15:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437873', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437873', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:08:23] Production.INFO: ==8570== Releasing lock...
[2025-02-09 15:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:08:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:09:01] Production.INFO: ==8668== Lock acquired, processing the job...
[2025-02-09 20:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:09:01] Production.INFO: neon service started
[2025-02-09 20:09:01] Production.INFO: neon service started
[2025-02-09 20:09:01] Production.INFO: ==8668== Releasing lock...
[2025-02-09 20:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:09:02] Production.INFO: ==8670== Lock acquired, processing the job...
[2025-02-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:09:02] Production.INFO: ==8672== Lock acquired, processing the job...
[2025-02-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:09:02] Production.INFO: ==8672== Releasing lock...
[2025-02-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:09:02] Production.INFO: ==8670== Releasing lock...
[2025-02-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:09:03] Production.INFO: ==8681== Lock acquired, processing the job...
[2025-02-09 15:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:09:03] Production.INFO: ==8685== Lock acquired, processing the job...
[2025-02-09 15:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:09:03] Production.INFO: Account Balance Start.
[2025-02-09 15:09:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:09:03] Production.INFO: 117
[2025-02-09 15:09:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:09:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:09:03] Production.INFO: ==8675== Lock acquired, processing the job...
[2025-02-09 15:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:09:03] Production.INFO: Total Charge 0
[2025-02-09 15:09:03] Production.INFO: count ==21
[2025-02-09 15:09:03] Production.INFO: CreateAllLog End
[2025-02-09 15:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:09:03] Production.INFO: count ==21
[2025-02-09 15:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437875') start
[2025-02-09 15:09:03] Production.INFO: ==8677== Lock acquired, processing the job...
[2025-02-09 15:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:09:03] Production.INFO: ==8679== Lock acquired, processing the job...
[2025-02-09 15:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:09:04] Production.INFO: ==8683== Lock acquired, processing the job...
[2025-02-09 15:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437875') end
[2025-02-09 15:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:09:04] Production.INFO: 1
[2025-02-09 15:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:09:04] Production.INFO: Account Balance End.
[2025-02-09 15:09:04] Production.INFO: ==8685== Releasing lock...
[2025-02-09 15:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:09:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:09:04] Production.INFO: ==8681== Releasing lock...
[2025-02-09 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:09:04] Production.INFO: ==8677== Releasing lock...
[2025-02-09 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:09:04] Production.ERROR: done
[2025-02-09 15:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:09:04] Production.ERROR: done
[2025-02-09 15:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:09:05
[end_date_ymd] => 2025-02-09 15:09:05
[RateCDR] => 1
)
[2025-02-09 15:09: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` >= '2025-02-09 12:09:05' and `end` < '2025-02-09 15:09: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 ,'')
[2025-02-09 15:09:11] Production.ERROR: CronJobId end10
[2025-02-09 15:09:11] Production.INFO: ==8679== Releasing lock...
[2025-02-09 15:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:09:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:09:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:09:13] Production.INFO: call_cost start
[2025-02-09 15:09:13] Production.INFO: call_cost end
[2025-02-09 15:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:09:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:09:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:09:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:09:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:09:14] Production.INFO: ==8675== Releasing lock...
[2025-02-09 15:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:09:18] Production.INFO: count ==1551
[2025-02-09 15:09:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:09:05 - End Time 2025-02-09 15:09:05
[2025-02-09 15:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437878', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437878', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437878', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437878', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:09:19] Production.INFO: ProcessCDR(1,14437878,1,1,2)
[2025-02-09 15:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437878', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437878', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:09:23] Production.INFO: ==8683== Releasing lock...
[2025-02-09 15:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:09:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 20:10:02] Production.INFO: ==8746== Lock acquired, processing the job...
[2025-02-09 20:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:10:02] Production.INFO: neon service started
[2025-02-09 20:10:02] Production.INFO: neon service started
[2025-02-09 20:10:02] Production.INFO: ==8746== Releasing lock...
[2025-02-09 20:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:10:02] Production.INFO: ==8748== Lock acquired, processing the job...
[2025-02-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:10:03] Production.INFO: ==8748== Releasing lock...
[2025-02-09 15:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:10:03] Production.INFO: ==8750== Lock acquired, processing the job...
[2025-02-09 20:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:10:03] Production.INFO: ==8750== Releasing lock...
[2025-02-09 20:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:10:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:10:04] Production.INFO: ==8756== Lock acquired, processing the job...
[2025-02-09 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:10:04] Production.INFO: ==8758== Lock acquired, processing the job...
[2025-02-09 15:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:10:04] Production.INFO: ==8754== Lock acquired, processing the job...
[2025-02-09 15:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:10:04] Production.INFO: ==8767== Lock acquired, processing the job...
[2025-02-09 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:10:04] Production.INFO: ==8752== Lock acquired, processing the job...
[2025-02-09 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 15:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:10:04] Production.INFO: ==8756== Releasing lock...
[2025-02-09 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 15:10:04] Production.ERROR: CronJob PID - 8754
[2025-02-09 15:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 15:10:04] Production.ERROR: CronJob ID - 5
[2025-02-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 15:10:00
[2025-02-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 15:10:04] Production.ERROR: CronJob PID - 8758
[2025-02-09 15:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 15:10:04] Production.ERROR: CronJob ID - 10
[2025-02-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 15:10:00
[2025-02-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 15:10:04] Production.ERROR: CronJob PID - 8767
[2025-02-09 15:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-02-09 15:10:04] Production.ERROR: CronJob ID - 19
[2025-02-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-02-09 15:10:00
[2025-02-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 15:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 15:10:04] Production.INFO: ==8752== Releasing lock...
[2025-02-09 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 15:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 15:10:04] Production.INFO: count ==21
[2025-02-09 15:10:04] Production.INFO: ==8760== Lock acquired, processing the job...
[2025-02-09 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:10:04] Production.INFO: ==8762== Lock acquired, processing the job...
[2025-02-09 15:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:10:04] Production.INFO: count ==21
[2025-02-09 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437880') start
[2025-02-09 15:10:04] Production.INFO: ==8765== Lock acquired, processing the job...
[2025-02-09 15:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:10:04] Production.INFO: Account Balance Start.
[2025-02-09 15:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:10:04] Production.INFO: 117
[2025-02-09 15:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437880') end
[2025-02-09 15:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:10:04] Production.INFO: 1
[2025-02-09 15:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:10:05] Production.INFO: ==8767== Releasing lock...
[2025-02-09 15:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:10:05] Production.INFO: Date 2025-02-09
[2025-02-09 15:10:05] Production.ERROR: done
[2025-02-09 15:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:10:05] Production.INFO: Reseller ==> 0
[2025-02-09 15:10:05] Production.INFO: Total Charge 0
[2025-02-09 15:10:05] Production.INFO: CreateAllLog End
[2025-02-09 15:10:05] Production.ERROR: done
[2025-02-09 15:10:05] Production.ERROR: done
[2025-02-09 15:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 15:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437883', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 15:10:05] Production.INFO: Account Balance End.
[2025-02-09 15:10:05] Production.ERROR: CronJobId end 12
[2025-02-09 15:10:05] Production.INFO: ==8760== Releasing lock...
[2025-02-09 15:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:10:06
[end_date_ymd] => 2025-02-09 15:10:06
[RateCDR] => 1
)
[2025-02-09 15:10: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-02-09 12:10:06' and `end` < '2025-02-09 15:10: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-02-09 15:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437883', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 15:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 15:10:09] Production.INFO: ProcessCDR(1,14437883,1,1,2)
[2025-02-09 15:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437883,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437883,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:10:09] Production.INFO: ==8765== Releasing lock...
[2025-02-09 15:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 15:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 15:10:15] Production.ERROR: CronJobId end10
[2025-02-09 15:10:15] Production.INFO: ==8758== Releasing lock...
[2025-02-09 15:10:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:10:15] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:10:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:10:17] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:10:17] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:10:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:10:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:10:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:10:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:10:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:10:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:10:17] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:10:17] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:10:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:10:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:10:17] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:10:17] Production.INFO: call_cost start
[2025-02-09 15:10:17] Production.INFO: call_cost end
[2025-02-09 15:10:18] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:10:18] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:10:18] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:10:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:10:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:10:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:10:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:10:18] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:10:18] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:10:18] Production.INFO: ==8754== Releasing lock...
[2025-02-09 15:10:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:10:18] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:10:19] Production.INFO: count ==1555
[2025-02-09 15:10:20] Production.ERROR: pbx CDR StartTime 2025-02-09 12:10:06 - End Time 2025-02-09 15:10:06
[2025-02-09 15:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437884', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437884', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437884', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437884', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:10:20] Production.INFO: ProcessCDR(1,14437884,1,1,2)
[2025-02-09 15:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437884', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437884', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:10:23] Production.INFO: ==8762== Releasing lock...
[2025-02-09 15:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:10:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 20:11:01] Production.INFO: ==8833== Lock acquired, processing the job...
[2025-02-09 20:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:11:01] Production.INFO: neon service started
[2025-02-09 20:11:01] Production.INFO: neon service started
[2025-02-09 20:11:01] Production.INFO: ==8833== Releasing lock...
[2025-02-09 20:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:11:02] Production.INFO: ==8835== Lock acquired, processing the job...
[2025-02-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:11:02] Production.INFO: ==8837== Lock acquired, processing the job...
[2025-02-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:11:02] Production.INFO: ==8837== Releasing lock...
[2025-02-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:11:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:11:02] Production.INFO: ==8835== Releasing lock...
[2025-02-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:11:03] Production.INFO: ==8840== Lock acquired, processing the job...
[2025-02-09 15:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:11:03] Production.INFO: ==8844== Lock acquired, processing the job...
[2025-02-09 15:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:11:03] Production.INFO: ==8848== Lock acquired, processing the job...
[2025-02-09 15:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:11:03] Production.INFO: ==8842== Lock acquired, processing the job...
[2025-02-09 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:11:03] Production.INFO: ==8846== Lock acquired, processing the job...
[2025-02-09 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:11:03] Production.INFO: ==8850== Lock acquired, processing the job...
[2025-02-09 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:11:04] Production.INFO: Account Balance Start.
[2025-02-09 15:11:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:11:04] Production.INFO: 117
[2025-02-09 15:11:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:11:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:11:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:11:04] Production.INFO: Total Charge 0
[2025-02-09 15:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:11:04] Production.INFO: CreateAllLog End
[2025-02-09 15:11:04] Production.INFO: count ==21
[2025-02-09 15:11:04] Production.ERROR: done
[2025-02-09 15:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:11:04] Production.INFO: count ==21
[2025-02-09 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437887') start
[2025-02-09 15:11:04] Production.INFO: ==8842== Releasing lock...
[2025-02-09 15:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:11:04] Production.ERROR: done
[2025-02-09 15:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437887') end
[2025-02-09 15:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:11:04] Production.INFO: 1
[2025-02-09 15:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:11:04] Production.INFO: Account Balance End.
[2025-02-09 15:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:11:04] Production.INFO: ==8846== Releasing lock...
[2025-02-09 15:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:11:04] Production.INFO: ==8850== Releasing lock...
[2025-02-09 15:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:11:05
[end_date_ymd] => 2025-02-09 15:11:05
[RateCDR] => 1
)
[2025-02-09 15:11: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` >= '2025-02-09 12:11:05' and `end` < '2025-02-09 15:11: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 ,'')
[2025-02-09 15:11:12] Production.ERROR: CronJobId end10
[2025-02-09 15:11:12] Production.INFO: ==8844== Releasing lock...
[2025-02-09 15:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:11:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:11:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:11:14] Production.INFO: call_cost start
[2025-02-09 15:11:15] Production.INFO: call_cost end
[2025-02-09 15:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:11:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:11:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:11:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:11:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:11:15] Production.INFO: ==8840== Releasing lock...
[2025-02-09 15:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:11:19] Production.INFO: count ==1563
[2025-02-09 15:11:20] Production.ERROR: pbx CDR StartTime 2025-02-09 12:11:05 - End Time 2025-02-09 15:11:05
[2025-02-09 15:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437889', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437889', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437889', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437889', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:11:20] Production.INFO: ProcessCDR(1,14437889,1,1,2)
[2025-02-09 15:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437889', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437889', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:11:24] Production.INFO: ==8848== Releasing lock...
[2025-02-09 15:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:11:24] Production.INFO: 40 MB #Memory Used#
[2025-02-09 20:12:02] Production.INFO: ==8989== Lock acquired, processing the job...
[2025-02-09 20:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:12:02] Production.INFO: neon service started
[2025-02-09 20:12:02] Production.INFO: neon service started
[2025-02-09 20:12:02] Production.INFO: ==8989== Releasing lock...
[2025-02-09 20:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:12:02] Production.INFO: ==8991== Lock acquired, processing the job...
[2025-02-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:12:02] Production.INFO: ==8991== Releasing lock...
[2025-02-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:12:03] Production.INFO: ==8993== Lock acquired, processing the job...
[2025-02-09 20:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:12:03] Production.INFO: ==8993== Releasing lock...
[2025-02-09 20:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:12:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:12:03] Production.INFO: ==8995== Lock acquired, processing the job...
[2025-02-09 15:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:12:03] Production.INFO: ==8999== Lock acquired, processing the job...
[2025-02-09 15:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:12:03] Production.INFO: ==9005== Lock acquired, processing the job...
[2025-02-09 15:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:12:04] Production.INFO: ==8997== Lock acquired, processing the job...
[2025-02-09 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:12:04] Production.INFO: count ==21
[2025-02-09 15:12:04] Production.INFO: ==9001== Lock acquired, processing the job...
[2025-02-09 15:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:12:04] Production.INFO: count ==21
[2025-02-09 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437891') start
[2025-02-09 15:12:04] Production.INFO: ==9003== Lock acquired, processing the job...
[2025-02-09 15:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437891') end
[2025-02-09 15:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:12:04] Production.INFO: 1
[2025-02-09 15:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:12:04] Production.INFO: Account Balance Start.
[2025-02-09 15:12:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:12:04] Production.INFO: 117
[2025-02-09 15:12:04] Production.INFO: ==9005== Releasing lock...
[2025-02-09 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:12:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:12:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:12:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:12:04] Production.INFO: ==8997== Releasing lock...
[2025-02-09 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:12:04] Production.INFO: Total Charge 0
[2025-02-09 15:12:04] Production.INFO: CreateAllLog End
[2025-02-09 15:12:04] Production.ERROR: done
[2025-02-09 15:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:12:04] Production.ERROR: done
[2025-02-09 15:12:05] Production.INFO: Account Balance End.
[2025-02-09 15:12:05] Production.ERROR: CronJobId end 12
[2025-02-09 15:12:05] Production.INFO: ==9001== Releasing lock...
[2025-02-09 15:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:12:05
[end_date_ymd] => 2025-02-09 15:12:05
[RateCDR] => 1
)
[2025-02-09 15:12: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` >= '2025-02-09 12:12:05' and `end` < '2025-02-09 15:12: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 ,'')
[2025-02-09 15:12:12] Production.ERROR: CronJobId end10
[2025-02-09 15:12:12] Production.INFO: ==8999== Releasing lock...
[2025-02-09 15:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:12:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:12:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:12:14] Production.INFO: call_cost start
[2025-02-09 15:12:14] Production.INFO: call_cost end
[2025-02-09 15:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:12:15] Production.INFO: ==8995== Releasing lock...
[2025-02-09 15:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:12:18] Production.INFO: count ==1566
[2025-02-09 15:12:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:12:05 - End Time 2025-02-09 15:12:05
[2025-02-09 15:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437894', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437894', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437894', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437894', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:12:19] Production.INFO: ProcessCDR(1,14437894,1,1,2)
[2025-02-09 15:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437894', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437894', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:12:23] Production.INFO: ==9003== Releasing lock...
[2025-02-09 15:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:12:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 20:13:01] Production.INFO: ==9065== Lock acquired, processing the job...
[2025-02-09 20:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:13:01] Production.INFO: neon service started
[2025-02-09 20:13:01] Production.INFO: neon service started
[2025-02-09 20:13:01] Production.INFO: ==9065== Releasing lock...
[2025-02-09 20:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:13:02] Production.INFO: ==9069== Lock acquired, processing the job...
[2025-02-09 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:13:02] Production.INFO: ==9069== Releasing lock...
[2025-02-09 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:13:02] Production.INFO: ==9067== Lock acquired, processing the job...
[2025-02-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:13:02] Production.INFO: ==9067== Releasing lock...
[2025-02-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:13:03] Production.INFO: ==9072== Lock acquired, processing the job...
[2025-02-09 15:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:13:03] Production.INFO: ==9076== Lock acquired, processing the job...
[2025-02-09 15:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:13:03] Production.INFO: ==9074== Lock acquired, processing the job...
[2025-02-09 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:13:03] Production.INFO: ==9080== Lock acquired, processing the job...
[2025-02-09 15:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:13:03] Production.INFO: ==9078== Lock acquired, processing the job...
[2025-02-09 15:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:13:03] Production.INFO: ==9082== Lock acquired, processing the job...
[2025-02-09 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:13:03] Production.INFO: Account Balance Start.
[2025-02-09 15:13:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:13:03] Production.INFO: 117
[2025-02-09 15:13:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:13:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:13:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:13:03] Production.INFO: Total Charge 0
[2025-02-09 15:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:13:03] Production.INFO: CreateAllLog End
[2025-02-09 15:13:03] Production.INFO: ==9074== Releasing lock...
[2025-02-09 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:13:04] Production.INFO: count ==21
[2025-02-09 15:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:13:04] Production.INFO: count ==21
[2025-02-09 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437898') start
[2025-02-09 15:13:04] Production.ERROR: done
[2025-02-09 15:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437898') end
[2025-02-09 15:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:13:04] Production.INFO: 1
[2025-02-09 15:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:13:04] Production.INFO: ==9082== Releasing lock...
[2025-02-09 15:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:13:04] Production.ERROR: done
[2025-02-09 15:13:04] Production.INFO: Account Balance End.
[2025-02-09 15:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:13:04] Production.INFO: ==9078== Releasing lock...
[2025-02-09 15:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:13:05
[end_date_ymd] => 2025-02-09 15:13:05
[RateCDR] => 1
)
[2025-02-09 15:13: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` >= '2025-02-09 12:13:05' and `end` < '2025-02-09 15:13: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 ,'')
[2025-02-09 15:13:12] Production.ERROR: CronJobId end10
[2025-02-09 15:13:12] Production.INFO: ==9076== Releasing lock...
[2025-02-09 15:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:13:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:13:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:13:14] Production.INFO: call_cost start
[2025-02-09 15:13:14] Production.INFO: call_cost end
[2025-02-09 15:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:13:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:13:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:13:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:13:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:13:14] Production.INFO: ==9072== Releasing lock...
[2025-02-09 15:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:13:18] Production.INFO: count ==1565
[2025-02-09 15:13:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:13:05 - End Time 2025-02-09 15:13:05
[2025-02-09 15:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437899', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437899', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437899', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437899', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:13:19] Production.INFO: ProcessCDR(1,14437899,1,1,2)
[2025-02-09 15:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437899', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437899', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:13:24] Production.INFO: ==9080== Releasing lock...
[2025-02-09 15:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:13:24] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 20:14:02] Production.INFO: ==9140== Lock acquired, processing the job...
[2025-02-09 20:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:14:02] Production.INFO: neon service started
[2025-02-09 20:14:02] Production.INFO: neon service started
[2025-02-09 20:14:02] Production.INFO: ==9140== Releasing lock...
[2025-02-09 20:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:14:02] Production.INFO: ==9142== Lock acquired, processing the job...
[2025-02-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:14:03] Production.INFO: ==9142== Releasing lock...
[2025-02-09 15:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:14:03] Production.INFO: ==9144== Lock acquired, processing the job...
[2025-02-09 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:14:03] Production.INFO: ==9144== Releasing lock...
[2025-02-09 20:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:14:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:14:03] Production.INFO: ==9147== Lock acquired, processing the job...
[2025-02-09 15:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:14:03] Production.INFO: ==9149== Lock acquired, processing the job...
[2025-02-09 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:14:04] Production.INFO: ==9153== Lock acquired, processing the job...
[2025-02-09 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:14:04] Production.INFO: Account Balance Start.
[2025-02-09 15:14:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:14:04] Production.INFO: 117
[2025-02-09 15:14:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:14:04] Production.INFO: ==9151== Lock acquired, processing the job...
[2025-02-09 15:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:14:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:14:04] Production.INFO: ==9157== Lock acquired, processing the job...
[2025-02-09 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:14:04] Production.INFO: ==9155== Lock acquired, processing the job...
[2025-02-09 15:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:14:04] Production.INFO: Total Charge 0
[2025-02-09 15:14:04] Production.INFO: CreateAllLog End
[2025-02-09 15:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:14:04] Production.INFO: ==9149== Releasing lock...
[2025-02-09 15:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:14:04] Production.INFO: count ==21
[2025-02-09 15:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:14:04] Production.INFO: count ==21
[2025-02-09 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437903') start
[2025-02-09 15:14:04] Production.INFO: Account Balance End.
[2025-02-09 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437903') end
[2025-02-09 15:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:14:04] Production.INFO: 1
[2025-02-09 15:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:14:04] Production.INFO: ==9157== Releasing lock...
[2025-02-09 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:14:04] Production.INFO: ==9153== Releasing lock...
[2025-02-09 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:14:04] Production.ERROR: done
[2025-02-09 15:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:14:04] Production.ERROR: done
[2025-02-09 15:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:14:05
[end_date_ymd] => 2025-02-09 15:14:05
[RateCDR] => 1
)
[2025-02-09 15:14: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` >= '2025-02-09 12:14:05' and `end` < '2025-02-09 15:14: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 ,'')
[2025-02-09 15:14:12] Production.ERROR: CronJobId end10
[2025-02-09 15:14:12] Production.INFO: ==9151== Releasing lock...
[2025-02-09 15:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:14:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:14:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:14:14] Production.INFO: call_cost start
[2025-02-09 15:14:14] Production.INFO: call_cost end
[2025-02-09 15:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:14:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:14:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:14:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:14:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:14:15] Production.INFO: ==9147== Releasing lock...
[2025-02-09 15:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:14:20] Production.INFO: count ==1565
[2025-02-09 15:14:20] Production.ERROR: pbx CDR StartTime 2025-02-09 12:14:05 - End Time 2025-02-09 15:14:05
[2025-02-09 15:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437904', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437904', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437904', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437904', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:14:20] Production.INFO: ProcessCDR(1,14437904,1,1,2)
[2025-02-09 15:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:14:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437904', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:14:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437904', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:14:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:14:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:14:25] Production.INFO: ==9155== Releasing lock...
[2025-02-09 15:14:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:14:25] Production.INFO: 40 MB #Memory Used#
[2025-02-09 20:15:01] Production.INFO: ==9259== Lock acquired, processing the job...
[2025-02-09 20:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:15:01] Production.INFO: neon service started
[2025-02-09 20:15:01] Production.INFO: neon service started
[2025-02-09 20:15:01] Production.INFO: ==9259== Releasing lock...
[2025-02-09 20:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:15:02] Production.INFO: ==9261== Lock acquired, processing the job...
[2025-02-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:15:02] Production.INFO: ==9261== Releasing lock...
[2025-02-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:15:02] Production.INFO: ==9263== Lock acquired, processing the job...
[2025-02-09 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:15:02] Production.INFO: ==9263== Releasing lock...
[2025-02-09 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:15:03] Production.INFO: ==9276== Lock acquired, processing the job...
[2025-02-09 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:15:03] Production.INFO: ==9274== Lock acquired, processing the job...
[2025-02-09 15:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:15:03] Production.INFO: ==9266== Lock acquired, processing the job...
[2025-02-09 15:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:15:03] Production.INFO: ==9268== Lock acquired, processing the job...
[2025-02-09 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:15:03] Production.INFO: count ==21
[2025-02-09 15:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:15:03] Production.INFO: count ==21
[2025-02-09 15:15:03] Production.INFO: ==9270== Lock acquired, processing the job...
[2025-02-09 15:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:15:03] Production.INFO: ==9272== Lock acquired, processing the job...
[2025-02-09 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437905') start
[2025-02-09 15:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437905') end
[2025-02-09 15:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:15:03] Production.INFO: 1
[2025-02-09 15:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:15:03] Production.INFO: ==9276== Releasing lock...
[2025-02-09 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:15:03] Production.ERROR: done
[2025-02-09 15:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:15:03] Production.INFO: Account Balance Start.
[2025-02-09 15:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:15:03] Production.INFO: 117
[2025-02-09 15:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:15:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:15:03] Production.INFO: Total Charge 0
[2025-02-09 15:15:03] Production.INFO: CreateAllLog End
[2025-02-09 15:15:03] Production.INFO: ==9268== Releasing lock...
[2025-02-09 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:15:04] Production.ERROR: done
[2025-02-09 15:15:04] Production.INFO: Account Balance End.
[2025-02-09 15:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:15:04] Production.INFO: ==9272== Releasing lock...
[2025-02-09 15:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:15:05
[end_date_ymd] => 2025-02-09 15:15:05
[RateCDR] => 1
)
[2025-02-09 15:15: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` >= '2025-02-09 12:15:05' and `end` < '2025-02-09 15:15: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 ,'')
[2025-02-09 15:15:12] Production.ERROR: CronJobId end10
[2025-02-09 15:15:12] Production.INFO: ==9270== Releasing lock...
[2025-02-09 15:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:15:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:15:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:15:14] Production.INFO: call_cost start
[2025-02-09 15:15:14] Production.INFO: call_cost end
[2025-02-09 15:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:15:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:15:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:15:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:15:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:15:15] Production.INFO: ==9266== Releasing lock...
[2025-02-09 15:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:15:18] Production.INFO: count ==1558
[2025-02-09 15:15:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:15:05 - End Time 2025-02-09 15:15:05
[2025-02-09 15:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437909', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437909', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437909', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437909', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:15:18] Production.INFO: ProcessCDR(1,14437909,1,1,2)
[2025-02-09 15:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437909', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437909', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:15:23] Production.INFO: ==9274== Releasing lock...
[2025-02-09 15:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:15:23] Production.INFO: 40 MB #Memory Used#
[2025-02-09 20:16:02] Production.INFO: ==9377== Lock acquired, processing the job...
[2025-02-09 20:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:16:02] Production.INFO: neon service started
[2025-02-09 20:16:02] Production.INFO: neon service started
[2025-02-09 20:16:02] Production.INFO: ==9377== Releasing lock...
[2025-02-09 20:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:16:02] Production.INFO: ==9381== Lock acquired, processing the job...
[2025-02-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:16:02] Production.INFO: ==9379== Lock acquired, processing the job...
[2025-02-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:16:02] Production.INFO: ==9381== Releasing lock...
[2025-02-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:16:03] Production.INFO: ==9379== Releasing lock...
[2025-02-09 15:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:16:03] Production.INFO: ==9384== Lock acquired, processing the job...
[2025-02-09 15:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:16:03] Production.INFO: ==9386== Lock acquired, processing the job...
[2025-02-09 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:16:04] Production.INFO: ==9390== Lock acquired, processing the job...
[2025-02-09 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:16:04] Production.INFO: Account Balance Start.
[2025-02-09 15:16:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:16:04] Production.INFO: 117
[2025-02-09 15:16:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:16:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:16:04] Production.INFO: ==9392== Lock acquired, processing the job...
[2025-02-09 15:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:16:04] Production.INFO: ==9388== Lock acquired, processing the job...
[2025-02-09 15:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:16:04] Production.INFO: Total Charge 0
[2025-02-09 15:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:16:04] Production.INFO: CreateAllLog End
[2025-02-09 15:16:04] Production.INFO: ==9394== Lock acquired, processing the job...
[2025-02-09 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:16:04] Production.INFO: ==9386== Releasing lock...
[2025-02-09 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:16:04] Production.INFO: Account Balance End.
[2025-02-09 15:16:04] Production.INFO: count ==21
[2025-02-09 15:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:16:04] Production.INFO: count ==21
[2025-02-09 15:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:16:04] Production.INFO: ==9390== Releasing lock...
[2025-02-09 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437913') start
[2025-02-09 15:16:04] Production.ERROR: done
[2025-02-09 15:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437913') end
[2025-02-09 15:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:16:04] Production.INFO: 1
[2025-02-09 15:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:16:04] Production.INFO: ==9394== Releasing lock...
[2025-02-09 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:16:04] Production.ERROR: done
[2025-02-09 15:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:16:05
[end_date_ymd] => 2025-02-09 15:16:05
[RateCDR] => 1
)
[2025-02-09 15:16: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` >= '2025-02-09 12:16:05' and `end` < '2025-02-09 15:16: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 ,'')
[2025-02-09 15:16:11] Production.ERROR: CronJobId end10
[2025-02-09 15:16:11] Production.INFO: ==9388== Releasing lock...
[2025-02-09 15:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:16:14] Production.INFO: call_cost start
[2025-02-09 15:16:14] Production.INFO: call_cost end
[2025-02-09 15:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:16:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:16:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:16:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:16:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:16:14] Production.INFO: ==9384== Releasing lock...
[2025-02-09 15:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:16:19] Production.INFO: count ==1543
[2025-02-09 15:16:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:16:05 - End Time 2025-02-09 15:16:05
[2025-02-09 15:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437914', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437914', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437914', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437914', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:16:19] Production.INFO: ProcessCDR(1,14437914,1,1,2)
[2025-02-09 15:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437914', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437914', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:16:22] Production.INFO: ==9392== Releasing lock...
[2025-02-09 15:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:16:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:17:01] Production.INFO: ==9454== Lock acquired, processing the job...
[2025-02-09 20:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:17:01] Production.INFO: neon service started
[2025-02-09 20:17:01] Production.INFO: neon service started
[2025-02-09 20:17:01] Production.INFO: ==9454== Releasing lock...
[2025-02-09 20:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:17:02] Production.INFO: ==9458== Lock acquired, processing the job...
[2025-02-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:17:02] Production.INFO: ==9456== Lock acquired, processing the job...
[2025-02-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:17:02] Production.INFO: ==9458== Releasing lock...
[2025-02-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:17:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:17:02] Production.INFO: ==9456== Releasing lock...
[2025-02-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:17:03] Production.INFO: ==9463== Lock acquired, processing the job...
[2025-02-09 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:17:03] Production.INFO: ==9465== Lock acquired, processing the job...
[2025-02-09 15:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:17:03] Production.INFO: ==9467== Lock acquired, processing the job...
[2025-02-09 15:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:17:03] Production.INFO: ==9461== Lock acquired, processing the job...
[2025-02-09 15:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:17:03] Production.INFO: ==9463== Releasing lock...
[2025-02-09 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:17:03] Production.INFO: Account Balance Start.
[2025-02-09 15:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:17:03] Production.INFO: 117
[2025-02-09 15:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:17:03] Production.INFO: ==9469== Lock acquired, processing the job...
[2025-02-09 15:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:17:03] Production.INFO: ==9471== Lock acquired, processing the job...
[2025-02-09 15:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:17:03] Production.INFO: Total Charge 0
[2025-02-09 15:17:03] Production.INFO: CreateAllLog End
[2025-02-09 15:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:17:04] Production.INFO: count ==21
[2025-02-09 15:17:04] Production.ERROR: done
[2025-02-09 15:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:17:04] Production.INFO: count ==21
[2025-02-09 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437918') start
[2025-02-09 15:17:04] Production.INFO: Account Balance End.
[2025-02-09 15:17:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:17:04] Production.INFO: ==9467== Releasing lock...
[2025-02-09 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437918') end
[2025-02-09 15:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:17:04] Production.INFO: 1
[2025-02-09 15:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:17:04] Production.ERROR: done
[2025-02-09 15:17:04] Production.INFO: ==9471== Releasing lock...
[2025-02-09 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:17:05
[end_date_ymd] => 2025-02-09 15:17:05
[RateCDR] => 1
)
[2025-02-09 15:17: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` >= '2025-02-09 12:17:05' and `end` < '2025-02-09 15:17: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 ,'')
[2025-02-09 15:17:11] Production.ERROR: CronJobId end10
[2025-02-09 15:17:11] Production.INFO: ==9465== Releasing lock...
[2025-02-09 15:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:17:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:17:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:17:14] Production.INFO: call_cost start
[2025-02-09 15:17:14] Production.INFO: call_cost end
[2025-02-09 15:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:17:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:17:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:17:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:17:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:17:15] Production.INFO: ==9461== Releasing lock...
[2025-02-09 15:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:17:17] Production.INFO: count ==1536
[2025-02-09 15:17:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:17:05 - End Time 2025-02-09 15:17:05
[2025-02-09 15:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437919', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437919', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437919', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437919', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:17:18] Production.INFO: ProcessCDR(1,14437919,1,1,2)
[2025-02-09 15:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437919', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437919', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:17:23] Production.INFO: ==9469== Releasing lock...
[2025-02-09 15:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:17:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 20:18:02] Production.INFO: ==9567== Lock acquired, processing the job...
[2025-02-09 20:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:18:02] Production.INFO: neon service started
[2025-02-09 20:18:02] Production.INFO: neon service started
[2025-02-09 20:18:02] Production.INFO: ==9567== Releasing lock...
[2025-02-09 20:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:18:02] Production.INFO: ==9571== Lock acquired, processing the job...
[2025-02-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:18:02] Production.INFO: ==9571== Releasing lock...
[2025-02-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:18:02] Production.INFO: ==9569== Lock acquired, processing the job...
[2025-02-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:18:02] Production.INFO: ==9569== Releasing lock...
[2025-02-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:18:03] Production.INFO: ==9575== Lock acquired, processing the job...
[2025-02-09 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:18:03] Production.INFO: ==9577== Lock acquired, processing the job...
[2025-02-09 15:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:18:03] Production.INFO: ==9579== Lock acquired, processing the job...
[2025-02-09 15:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:18:03] Production.INFO: ==9573== Lock acquired, processing the job...
[2025-02-09 15:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:18:03] Production.INFO: Account Balance Start.
[2025-02-09 15:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:18:03] Production.INFO: 117
[2025-02-09 15:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:18:03] Production.INFO: ==9582== Lock acquired, processing the job...
[2025-02-09 15:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:18:04] Production.INFO: ==9575== Releasing lock...
[2025-02-09 15:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:18:04] Production.INFO: ==9584== Lock acquired, processing the job...
[2025-02-09 15:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:18:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:18:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:18:04] Production.INFO: Total Charge 0
[2025-02-09 15:18:04] Production.INFO: CreateAllLog End
[2025-02-09 15:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:18:04] Production.ERROR: done
[2025-02-09 15:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:18:04] Production.INFO: count ==21
[2025-02-09 15:18:04] Production.INFO: Account Balance End.
[2025-02-09 15:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:18:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:18:04] Production.INFO: ==9579== Releasing lock...
[2025-02-09 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:18:04] Production.INFO: count ==21
[2025-02-09 15:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437923') start
[2025-02-09 15:18:04] Production.ERROR: done
[2025-02-09 15:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437923') end
[2025-02-09 15:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:18:04] Production.INFO: 1
[2025-02-09 15:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:18:04] Production.INFO: ==9584== Releasing lock...
[2025-02-09 15:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:18:05
[end_date_ymd] => 2025-02-09 15:18:05
[RateCDR] => 1
)
[2025-02-09 15:18: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` >= '2025-02-09 12:18:05' and `end` < '2025-02-09 15:18: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 ,'')
[2025-02-09 15:18:12] Production.ERROR: CronJobId end10
[2025-02-09 15:18:12] Production.INFO: ==9577== Releasing lock...
[2025-02-09 15:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:18:13] Production.INFO: call_cost start
[2025-02-09 15:18:13] Production.INFO: call_cost end
[2025-02-09 15:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:18:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:18:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:18:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:18:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:18:14] Production.INFO: ==9573== Releasing lock...
[2025-02-09 15:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:18:18] Production.INFO: count ==1538
[2025-02-09 15:18:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:18:05 - End Time 2025-02-09 15:18:05
[2025-02-09 15:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437924', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437924', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437924', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437924', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:18:19] Production.INFO: ProcessCDR(1,14437924,1,1,2)
[2025-02-09 15:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437924', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437924', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:18:23] Production.INFO: ==9582== Releasing lock...
[2025-02-09 15:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:18:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 20:19:01] Production.INFO: ==9642== Lock acquired, processing the job...
[2025-02-09 20:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:19:01] Production.INFO: neon service started
[2025-02-09 20:19:01] Production.INFO: neon service started
[2025-02-09 20:19:01] Production.INFO: ==9642== Releasing lock...
[2025-02-09 20:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:19:02] Production.INFO: ==9646== Lock acquired, processing the job...
[2025-02-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:19:02] Production.INFO: ==9644== Lock acquired, processing the job...
[2025-02-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:19:02] Production.INFO: ==9646== Releasing lock...
[2025-02-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:19:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:19:02] Production.INFO: ==9644== Releasing lock...
[2025-02-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:19:03] Production.INFO: ==9653== Lock acquired, processing the job...
[2025-02-09 15:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:19:03] Production.INFO: ==9657== Lock acquired, processing the job...
[2025-02-09 15:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:19:03] Production.INFO: ==9649== Lock acquired, processing the job...
[2025-02-09 15:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:19:03] Production.INFO: ==9651== Lock acquired, processing the job...
[2025-02-09 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:19:03] Production.INFO: ==9655== Lock acquired, processing the job...
[2025-02-09 15:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:19:03] Production.INFO: ==9659== Lock acquired, processing the job...
[2025-02-09 15:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:19:03] Production.ERROR: done
[2025-02-09 15:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:19:03] Production.INFO: Account Balance Start.
[2025-02-09 15:19:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:19:03] Production.INFO: 117
[2025-02-09 15:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:19:03] Production.ERROR: done
[2025-02-09 15:19:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:19:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:19:03] Production.INFO: count ==21
[2025-02-09 15:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:19:04] Production.INFO: count ==21
[2025-02-09 15:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437928') start
[2025-02-09 15:19:04] Production.INFO: Total Charge 0
[2025-02-09 15:19:04] Production.INFO: ==9651== Releasing lock...
[2025-02-09 15:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:19:04] Production.INFO: CreateAllLog End
[2025-02-09 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437928') end
[2025-02-09 15:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:19:04] Production.INFO: 1
[2025-02-09 15:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:19:04] Production.INFO: Account Balance End.
[2025-02-09 15:19:04] Production.INFO: ==9659== Releasing lock...
[2025-02-09 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:19:04] Production.INFO: ==9655== Releasing lock...
[2025-02-09 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:19:05
[end_date_ymd] => 2025-02-09 15:19:05
[RateCDR] => 1
)
[2025-02-09 15:19: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` >= '2025-02-09 12:19:05' and `end` < '2025-02-09 15:19: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 ,'')
[2025-02-09 15:19:12] Production.ERROR: CronJobId end10
[2025-02-09 15:19:12] Production.INFO: ==9653== Releasing lock...
[2025-02-09 15:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:19:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:19:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:19:14] Production.INFO: call_cost start
[2025-02-09 15:19:14] Production.INFO: call_cost end
[2025-02-09 15:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:19:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:19:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:19:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:19:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:19:15] Production.INFO: ==9649== Releasing lock...
[2025-02-09 15:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:19:18] Production.INFO: count ==1543
[2025-02-09 15:19:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:19:05 - End Time 2025-02-09 15:19:05
[2025-02-09 15:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437929', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437929', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437929', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437929', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:19:18] Production.INFO: ProcessCDR(1,14437929,1,1,2)
[2025-02-09 15:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437929', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437929', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:19:23] Production.INFO: ==9657== Releasing lock...
[2025-02-09 15:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:19:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:20:01] Production.INFO: ==9717== Lock acquired, processing the job...
[2025-02-09 20:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:20:01] Production.INFO: neon service started
[2025-02-09 20:20:01] Production.INFO: neon service started
[2025-02-09 20:20:01] Production.INFO: ==9717== Releasing lock...
[2025-02-09 20:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:20:02] Production.INFO: ==9719== Lock acquired, processing the job...
[2025-02-09 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:20:02] Production.INFO: ==9719== Releasing lock...
[2025-02-09 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:20:02] Production.INFO: ==9721== Lock acquired, processing the job...
[2025-02-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:20:02] Production.INFO: ==9721== Releasing lock...
[2025-02-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:20:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:20:03] Production.INFO: ==9723== Lock acquired, processing the job...
[2025-02-09 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 15:20:03] Production.INFO: ==9725== Lock acquired, processing the job...
[2025-02-09 15:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 15:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 15:20:03] Production.INFO: ==9723== Releasing lock...
[2025-02-09 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 15:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 15:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:20:03] Production.INFO: ==9727== Lock acquired, processing the job...
[2025-02-09 15:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:20:03] Production.INFO: ==9729== Lock acquired, processing the job...
[2025-02-09 15:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:20:03] Production.INFO: ==9731== Lock acquired, processing the job...
[2025-02-09 15:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:20:04] Production.INFO: ==9733== Lock acquired, processing the job...
[2025-02-09 15:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:20:04] Production.INFO: Account Balance Start.
[2025-02-09 15:20:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:20:04] Production.INFO: ==9735== Lock acquired, processing the job...
[2025-02-09 15:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 15:20:04] Production.INFO: 117
[2025-02-09 15:20:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:20:04] Production.INFO: ==9737== Lock acquired, processing the job...
[2025-02-09 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:20:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:20:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:20:04] Production.INFO: Total Charge 0
[2025-02-09 15:20:04] Production.INFO: CreateAllLog End
[2025-02-09 15:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:20:04] Production.INFO: count ==21
[2025-02-09 15:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:20:04] Production.INFO: count ==21
[2025-02-09 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437933') start
[2025-02-09 15:20:04] Production.INFO: ==9727== Releasing lock...
[2025-02-09 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:20:04] Production.ERROR: done
[2025-02-09 15:20:04] Production.ERROR: done
[2025-02-09 15:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:20:04] Production.INFO: Account Balance End.
[2025-02-09 15:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 15:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437934', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 15:20:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:20:04] Production.INFO: ==9731== Releasing lock...
[2025-02-09 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437933') end
[2025-02-09 15:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:20:04] Production.INFO: 1
[2025-02-09 15:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:20:04] Production.ERROR: done
[2025-02-09 15:20:04] Production.INFO: ==9737== Releasing lock...
[2025-02-09 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:20:06
[end_date_ymd] => 2025-02-09 15:20:06
[RateCDR] => 1
)
[2025-02-09 15:20: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-02-09 12:20:06' and `end` < '2025-02-09 15:20: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-02-09 15:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437934', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 15:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 15:20:09] Production.INFO: ProcessCDR(1,14437934,1,1,2)
[2025-02-09 15:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437934,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437934,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:20:09] Production.INFO: ==9735== Releasing lock...
[2025-02-09 15:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 15:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 15:20:14] Production.ERROR: CronJobId end10
[2025-02-09 15:20:14] Production.INFO: ==9729== Releasing lock...
[2025-02-09 15:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:20:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:20:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:20:16] Production.INFO: call_cost start
[2025-02-09 15:20:16] Production.INFO: call_cost end
[2025-02-09 15:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:20:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:20:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:20:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:20:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:20:17] Production.INFO: ==9725== Releasing lock...
[2025-02-09 15:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:20:19] Production.INFO: count ==1545
[2025-02-09 15:20:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:20:06 - End Time 2025-02-09 15:20:06
[2025-02-09 15:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437935', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437935', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437935', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437935', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:20:19] Production.INFO: ProcessCDR(1,14437935,1,1,2)
[2025-02-09 15:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437935', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437935', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:20:23] Production.INFO: ==9733== Releasing lock...
[2025-02-09 15:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:20:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:21:02] Production.INFO: ==9808== Lock acquired, processing the job...
[2025-02-09 20:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:21:02] Production.INFO: neon service started
[2025-02-09 20:21:02] Production.INFO: neon service started
[2025-02-09 20:21:02] Production.INFO: ==9808== Releasing lock...
[2025-02-09 20:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:21:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 15:21:02] Production.INFO: ==9810== Lock acquired, processing the job...
[2025-02-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:21:03] Production.INFO: ==9810== Releasing lock...
[2025-02-09 15:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:21:03] Production.INFO: ==9812== Lock acquired, processing the job...
[2025-02-09 20:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:21:03] Production.INFO: ==9812== Releasing lock...
[2025-02-09 20:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:21:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:21:03] Production.INFO: ==9817== Lock acquired, processing the job...
[2025-02-09 15:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:21:04] Production.INFO: ==9817== Releasing lock...
[2025-02-09 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:21:04] Production.INFO: ==9815== Lock acquired, processing the job...
[2025-02-09 15:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:21:04] Production.INFO: ==9819== Lock acquired, processing the job...
[2025-02-09 15:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:21:04] Production.INFO: ==9821== Lock acquired, processing the job...
[2025-02-09 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:21:04] Production.INFO: ==9823== Lock acquired, processing the job...
[2025-02-09 15:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:21:04] Production.INFO: ==9825== Lock acquired, processing the job...
[2025-02-09 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:21:04] Production.INFO: Account Balance Start.
[2025-02-09 15:21:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:21:04] Production.INFO: 117
[2025-02-09 15:21:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:21:04] Production.INFO: count ==21
[2025-02-09 15:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:21:04] Production.INFO: count ==21
[2025-02-09 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437939') start
[2025-02-09 15:21:04] Production.INFO: Total Charge 0
[2025-02-09 15:21:04] Production.INFO: CreateAllLog End
[2025-02-09 15:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437939') end
[2025-02-09 15:21:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:21:05] Production.INFO: 1
[2025-02-09 15:21:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:21:05] Production.ERROR: done
[2025-02-09 15:21:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:21:05] Production.INFO: ==9825== Releasing lock...
[2025-02-09 15:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:21:05] Production.INFO: Account Balance End.
[2025-02-09 15:21:05] Production.ERROR: CronJobId end 12
[2025-02-09 15:21:05] Production.INFO: ==9821== Releasing lock...
[2025-02-09 15:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:21:05] Production.ERROR: done
[2025-02-09 15:21:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:21:06
[end_date_ymd] => 2025-02-09 15:21:06
[RateCDR] => 1
)
[2025-02-09 15:21: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-02-09 12:21:06' and `end` < '2025-02-09 15:21: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-02-09 15:21:12] Production.ERROR: CronJobId end10
[2025-02-09 15:21:12] Production.INFO: ==9819== Releasing lock...
[2025-02-09 15:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:21:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:21:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:21:15] Production.INFO: call_cost start
[2025-02-09 15:21:15] Production.INFO: call_cost end
[2025-02-09 15:21:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:21:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:21:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:21:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:21:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:21:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:21:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:21:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:21:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:21:16] Production.INFO: ==9815== Releasing lock...
[2025-02-09 15:21:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:21:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:21:19] Production.INFO: count ==1553
[2025-02-09 15:21:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:21:06 - End Time 2025-02-09 15:21:06
[2025-02-09 15:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437940', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437940', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437940', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437940', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:21:19] Production.INFO: ProcessCDR(1,14437940,1,1,2)
[2025-02-09 15:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437940', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437940', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:21:23] Production.INFO: ==9823== Releasing lock...
[2025-02-09 15:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:21:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 20:22:01] Production.INFO: ==9924== Lock acquired, processing the job...
[2025-02-09 20:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:22:01] Production.INFO: neon service started
[2025-02-09 20:22:01] Production.INFO: neon service started
[2025-02-09 20:22:01] Production.INFO: ==9924== Releasing lock...
[2025-02-09 20:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:22:02] Production.INFO: ==9927== Lock acquired, processing the job...
[2025-02-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:22:02] Production.INFO: ==9927== Releasing lock...
[2025-02-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:22:02] Production.INFO: ==9929== Lock acquired, processing the job...
[2025-02-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:22:02] Production.INFO: ==9929== Releasing lock...
[2025-02-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:22:03] Production.INFO: ==9933== Lock acquired, processing the job...
[2025-02-09 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:22:03] Production.INFO: ==9939== Lock acquired, processing the job...
[2025-02-09 15:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:22:03] Production.INFO: ==9931== Lock acquired, processing the job...
[2025-02-09 15:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:22:03] Production.INFO: ==9935== Lock acquired, processing the job...
[2025-02-09 15:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:22:03] Production.INFO: ==9937== Lock acquired, processing the job...
[2025-02-09 15:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:22:03] Production.INFO: ==9941== Lock acquired, processing the job...
[2025-02-09 15:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:22:03] Production.INFO: ==9933== Releasing lock...
[2025-02-09 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:22:03] Production.INFO: Account Balance Start.
[2025-02-09 15:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:22:03] Production.INFO: 117
[2025-02-09 15:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:22:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:22:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:22:04] Production.INFO: Total Charge 0
[2025-02-09 15:22:04] Production.INFO: CreateAllLog End
[2025-02-09 15:22:04] Production.ERROR: done
[2025-02-09 15:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:22:04] Production.INFO: count ==21
[2025-02-09 15:22:04] Production.ERROR: done
[2025-02-09 15:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:22:04] Production.INFO: count ==21
[2025-02-09 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437944') start
[2025-02-09 15:22:04] Production.INFO: Account Balance End.
[2025-02-09 15:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:22:04] Production.INFO: ==9937== Releasing lock...
[2025-02-09 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437944') end
[2025-02-09 15:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:22:04] Production.INFO: 1
[2025-02-09 15:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:22:04] Production.INFO: ==9941== Releasing lock...
[2025-02-09 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:22:05
[end_date_ymd] => 2025-02-09 15:22:05
[RateCDR] => 1
)
[2025-02-09 15:22: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` >= '2025-02-09 12:22:05' and `end` < '2025-02-09 15:22: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 ,'')
[2025-02-09 15:22:11] Production.ERROR: CronJobId end10
[2025-02-09 15:22:11] Production.INFO: ==9935== Releasing lock...
[2025-02-09 15:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:22:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:22:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:22:14] Production.INFO: call_cost start
[2025-02-09 15:22:14] Production.INFO: call_cost end
[2025-02-09 15:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:22:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:22:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:22:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:22:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:22:15] Production.INFO: ==9931== Releasing lock...
[2025-02-09 15:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:22:19] Production.INFO: count ==1548
[2025-02-09 15:22:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:22:05 - End Time 2025-02-09 15:22:05
[2025-02-09 15:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437945', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437945', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437945', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437945', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:22:19] Production.INFO: ProcessCDR(1,14437945,1,1,2)
[2025-02-09 15:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437945', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437945', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:22:22] Production.INFO: ==9939== Releasing lock...
[2025-02-09 15:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:22:22] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 20:23:01] Production.INFO: ==10036== Lock acquired, processing the job...
[2025-02-09 20:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:23:01] Production.INFO: neon service started
[2025-02-09 20:23:01] Production.INFO: neon service started
[2025-02-09 20:23:01] Production.INFO: ==10036== Releasing lock...
[2025-02-09 20:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:23:02] Production.INFO: ==10038== Lock acquired, processing the job...
[2025-02-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:23:02] Production.INFO: ==10040== Lock acquired, processing the job...
[2025-02-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:23:02] Production.INFO: ==10040== Releasing lock...
[2025-02-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:23:02] Production.INFO: ==10038== Releasing lock...
[2025-02-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:23:03] Production.INFO: ==10045== Lock acquired, processing the job...
[2025-02-09 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:23:03] Production.INFO: ==10047== Lock acquired, processing the job...
[2025-02-09 15:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:23:03] Production.INFO: ==10051== Lock acquired, processing the job...
[2025-02-09 15:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:23:03] Production.INFO: ==10049== Lock acquired, processing the job...
[2025-02-09 15:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:23:03] Production.INFO: ==10043== Lock acquired, processing the job...
[2025-02-09 15:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:23:03] Production.INFO: ==10045== Releasing lock...
[2025-02-09 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:23:03] Production.INFO: Account Balance Start.
[2025-02-09 15:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:23:03] Production.INFO: 117
[2025-02-09 15:23:03] Production.INFO: ==10053== Lock acquired, processing the job...
[2025-02-09 15:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:23:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:23:03] Production.ERROR: done
[2025-02-09 15:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:23:03] Production.INFO: Total Charge 0
[2025-02-09 15:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:23:03] Production.INFO: CreateAllLog End
[2025-02-09 15:23:03] Production.INFO: count ==21
[2025-02-09 15:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:23:03] Production.INFO: count ==21
[2025-02-09 15:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437949') start
[2025-02-09 15:23:03] Production.ERROR: done
[2025-02-09 15:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437949') end
[2025-02-09 15:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:23:04] Production.INFO: 1
[2025-02-09 15:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:23:04] Production.INFO: Account Balance End.
[2025-02-09 15:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:23:04] Production.INFO: ==10049== Releasing lock...
[2025-02-09 15:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:23:04] Production.INFO: ==10053== Releasing lock...
[2025-02-09 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:23:04
[end_date_ymd] => 2025-02-09 15:23:04
[RateCDR] => 1
)
[2025-02-09 15:23:04] 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-02-09 12:23:04' and `end` < '2025-02-09 15:23:04'
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-02-09 15:23:10] Production.ERROR: CronJobId end10
[2025-02-09 15:23:10] Production.INFO: ==10047== Releasing lock...
[2025-02-09 15:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:23:13] Production.INFO: call_cost start
[2025-02-09 15:23:13] Production.INFO: call_cost end
[2025-02-09 15:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:23:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:23:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:23:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:23:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:23:14] Production.INFO: ==10043== Releasing lock...
[2025-02-09 15:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:23:18] Production.INFO: count ==1546
[2025-02-09 15:23:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:23:04 - End Time 2025-02-09 15:23:04
[2025-02-09 15:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437950', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437950', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437950', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437950', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:23:18] Production.INFO: ProcessCDR(1,14437950,1,1,2)
[2025-02-09 15:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437950', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437950', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:23:22] Production.INFO: ==10051== Releasing lock...
[2025-02-09 15:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:23:22] Production.INFO: 40 MB #Memory Used#
[2025-02-09 20:24:01] Production.INFO: ==10108== Lock acquired, processing the job...
[2025-02-09 20:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:24:02] Production.INFO: neon service started
[2025-02-09 20:24:02] Production.INFO: neon service started
[2025-02-09 20:24:02] Production.INFO: ==10108== Releasing lock...
[2025-02-09 20:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:24:02] Production.INFO: ==10110== Lock acquired, processing the job...
[2025-02-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:24:02] Production.INFO: ==10110== Releasing lock...
[2025-02-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:24:02] Production.INFO: ==10112== Lock acquired, processing the job...
[2025-02-09 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:24:02] Production.INFO: ==10112== Releasing lock...
[2025-02-09 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:24:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:24:03] Production.INFO: ==10118== Lock acquired, processing the job...
[2025-02-09 15:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:24:03] Production.INFO: ==10122== Lock acquired, processing the job...
[2025-02-09 15:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:24:03] Production.INFO: ==10114== Lock acquired, processing the job...
[2025-02-09 15:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:24:03] Production.INFO: ==10120== Lock acquired, processing the job...
[2025-02-09 15:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:24:03] Production.INFO: ==10124== Lock acquired, processing the job...
[2025-02-09 15:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:24:03] Production.INFO: ==10116== Lock acquired, processing the job...
[2025-02-09 15:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:24:03] Production.INFO: Account Balance Start.
[2025-02-09 15:24:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:24:03] Production.INFO: 117
[2025-02-09 15:24:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:24:03] Production.ERROR: done
[2025-02-09 15:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:24:04] Production.INFO: count ==21
[2025-02-09 15:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:24:04] Production.INFO: count ==21
[2025-02-09 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437954') start
[2025-02-09 15:24:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:24:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:24:04] Production.ERROR: done
[2025-02-09 15:24:04] Production.INFO: ==10116== Releasing lock...
[2025-02-09 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:24:04] Production.INFO: Total Charge 0
[2025-02-09 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437954') end
[2025-02-09 15:24:04] Production.INFO: CreateAllLog End
[2025-02-09 15:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:24:04] Production.INFO: 1
[2025-02-09 15:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:24:04] Production.INFO: ==10124== Releasing lock...
[2025-02-09 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:24:04] Production.INFO: Account Balance End.
[2025-02-09 15:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:24:04] Production.INFO: ==10120== Releasing lock...
[2025-02-09 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:24:05
[end_date_ymd] => 2025-02-09 15:24:05
[RateCDR] => 1
)
[2025-02-09 15:24: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` >= '2025-02-09 12:24:05' and `end` < '2025-02-09 15:24: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 ,'')
[2025-02-09 15:24:12] Production.ERROR: CronJobId end10
[2025-02-09 15:24:12] Production.INFO: ==10118== Releasing lock...
[2025-02-09 15:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:24:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:24:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:24:14] Production.INFO: call_cost start
[2025-02-09 15:24:14] Production.INFO: call_cost end
[2025-02-09 15:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:24:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:24:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:24:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:24:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:24:15] Production.INFO: ==10114== Releasing lock...
[2025-02-09 15:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:24:18] Production.INFO: count ==1545
[2025-02-09 15:24:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:24:05 - End Time 2025-02-09 15:24:05
[2025-02-09 15:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437955', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437955', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437955', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437955', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:24:18] Production.INFO: ProcessCDR(1,14437955,1,1,2)
[2025-02-09 15:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437955', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437955', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:24:23] Production.INFO: ==10122== Releasing lock...
[2025-02-09 15:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:24:23] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 20:25:01] Production.INFO: ==10182== Lock acquired, processing the job...
[2025-02-09 20:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:25:01] Production.INFO: neon service started
[2025-02-09 20:25:01] Production.INFO: neon service started
[2025-02-09 20:25:01] Production.INFO: ==10182== Releasing lock...
[2025-02-09 20:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:25:02] Production.INFO: ==10184== Lock acquired, processing the job...
[2025-02-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:25:02] Production.INFO: ==10186== Lock acquired, processing the job...
[2025-02-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:25:02] Production.INFO: ==10186== Releasing lock...
[2025-02-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:25:02] Production.INFO: ==10184== Releasing lock...
[2025-02-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:25:03] Production.INFO: ==10193== Lock acquired, processing the job...
[2025-02-09 15:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:25:03] Production.INFO: ==10197== Lock acquired, processing the job...
[2025-02-09 15:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:25:03] Production.INFO: ==10191== Lock acquired, processing the job...
[2025-02-09 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:25:03] Production.INFO: ==10189== Lock acquired, processing the job...
[2025-02-09 15:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:25:03] Production.INFO: ==10195== Lock acquired, processing the job...
[2025-02-09 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:25:03] Production.INFO: ==10199== Lock acquired, processing the job...
[2025-02-09 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:25:03] Production.ERROR: done
[2025-02-09 15:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:25:03] Production.INFO: Account Balance Start.
[2025-02-09 15:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:25:03] Production.INFO: 117
[2025-02-09 15:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:25:03] Production.INFO: count ==21
[2025-02-09 15:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:25:04] Production.INFO: count ==21
[2025-02-09 15:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437958') start
[2025-02-09 15:25:04] Production.INFO: ==10191== Releasing lock...
[2025-02-09 15:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:25:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:25:04] Production.ERROR: done
[2025-02-09 15:25:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:25:04] Production.INFO: Total Charge 0
[2025-02-09 15:25:04] Production.INFO: CreateAllLog End
[2025-02-09 15:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437958') end
[2025-02-09 15:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:25:04] Production.INFO: 1
[2025-02-09 15:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:25:04] Production.INFO: ==10199== Releasing lock...
[2025-02-09 15:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:25:04] Production.INFO: Account Balance End.
[2025-02-09 15:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:25:04] Production.INFO: ==10195== Releasing lock...
[2025-02-09 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:25:04
[end_date_ymd] => 2025-02-09 15:25:04
[RateCDR] => 1
)
[2025-02-09 15:25:04] 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-02-09 12:25:04' and `end` < '2025-02-09 15:25:04'
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-02-09 15:25:11] Production.ERROR: CronJobId end10
[2025-02-09 15:25:11] Production.INFO: ==10193== Releasing lock...
[2025-02-09 15:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:25:13] Production.INFO: call_cost start
[2025-02-09 15:25:13] Production.INFO: call_cost end
[2025-02-09 15:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:25:14] Production.INFO: ==10189== Releasing lock...
[2025-02-09 15:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:25:17] Production.INFO: count ==1535
[2025-02-09 15:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:25:04 - End Time 2025-02-09 15:25:04
[2025-02-09 15:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437960', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437960', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437960', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437960', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:25:18] Production.INFO: ProcessCDR(1,14437960,1,1,2)
[2025-02-09 15:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437960', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437960', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:25:22] Production.INFO: ==10197== Releasing lock...
[2025-02-09 15:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:25:22] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:26:01] Production.INFO: ==10253== Lock acquired, processing the job...
[2025-02-09 20:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:26:01] Production.INFO: neon service started
[2025-02-09 20:26:01] Production.INFO: neon service started
[2025-02-09 20:26:01] Production.INFO: ==10253== Releasing lock...
[2025-02-09 20:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:26:02] Production.INFO: ==10255== Lock acquired, processing the job...
[2025-02-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:26:02] Production.INFO: ==10257== Lock acquired, processing the job...
[2025-02-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:26:02] Production.INFO: ==10257== Releasing lock...
[2025-02-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:26:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:26:02] Production.INFO: ==10255== Releasing lock...
[2025-02-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:26:03] Production.INFO: ==10260== Lock acquired, processing the job...
[2025-02-09 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:26:03] Production.INFO: ==10262== Lock acquired, processing the job...
[2025-02-09 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:26:03] Production.INFO: ==10264== Lock acquired, processing the job...
[2025-02-09 15:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:26:03] Production.INFO: ==10266== Lock acquired, processing the job...
[2025-02-09 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:26:03] Production.INFO: ==10268== Lock acquired, processing the job...
[2025-02-09 15:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:26:04] Production.INFO: ==10270== Lock acquired, processing the job...
[2025-02-09 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:26:04] Production.INFO: Account Balance Start.
[2025-02-09 15:26:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:26:04] Production.INFO: 117
[2025-02-09 15:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:26:04] Production.INFO: ==10262== Releasing lock...
[2025-02-09 15:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:26:04] Production.INFO: count ==21
[2025-02-09 15:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:26:04] Production.INFO: count ==21
[2025-02-09 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437964') start
[2025-02-09 15:26:04] Production.INFO: Total Charge 0
[2025-02-09 15:26:04] Production.ERROR: done
[2025-02-09 15:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:26:04] Production.INFO: CreateAllLog End
[2025-02-09 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437964') end
[2025-02-09 15:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:26:04] Production.INFO: 1
[2025-02-09 15:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:26:04] Production.INFO: ==10270== Releasing lock...
[2025-02-09 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:26:04] Production.ERROR: done
[2025-02-09 15:26:04] Production.INFO: Account Balance End.
[2025-02-09 15:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:26:04] Production.INFO: ==10266== Releasing lock...
[2025-02-09 15:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:26:05
[end_date_ymd] => 2025-02-09 15:26:05
[RateCDR] => 1
)
[2025-02-09 15:26: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` >= '2025-02-09 12:26:05' and `end` < '2025-02-09 15:26: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 ,'')
[2025-02-09 15:26:11] Production.ERROR: CronJobId end10
[2025-02-09 15:26:11] Production.INFO: ==10264== Releasing lock...
[2025-02-09 15:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:26:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:26:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:26:14] Production.INFO: call_cost start
[2025-02-09 15:26:14] Production.INFO: call_cost end
[2025-02-09 15:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:26:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:26:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:26:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:26:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:26:14] Production.INFO: ==10260== Releasing lock...
[2025-02-09 15:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:26:18] Production.INFO: count ==1524
[2025-02-09 15:26:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:26:05 - End Time 2025-02-09 15:26:05
[2025-02-09 15:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437965', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437965', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437965', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437965', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:26:18] Production.INFO: ProcessCDR(1,14437965,1,1,2)
[2025-02-09 15:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437965', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437965', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:26:21] Production.INFO: ==10268== Releasing lock...
[2025-02-09 15:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:26:21] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:27:02] Production.INFO: ==10327== Lock acquired, processing the job...
[2025-02-09 20:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:27:02] Production.INFO: neon service started
[2025-02-09 20:27:02] Production.INFO: neon service started
[2025-02-09 20:27:02] Production.INFO: ==10327== Releasing lock...
[2025-02-09 20:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:27:02] Production.INFO: ==10329== Lock acquired, processing the job...
[2025-02-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:27:02] Production.INFO: ==10329== Releasing lock...
[2025-02-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:27:03] Production.INFO: ==10331== Lock acquired, processing the job...
[2025-02-09 20:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:27:03] Production.INFO: ==10331== Releasing lock...
[2025-02-09 20:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:27:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:27:03] Production.INFO: ==10333== Lock acquired, processing the job...
[2025-02-09 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:27:03] Production.INFO: ==10337== Lock acquired, processing the job...
[2025-02-09 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:27:03] Production.INFO: ==10335== Lock acquired, processing the job...
[2025-02-09 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:27:03] Production.INFO: ==10339== Lock acquired, processing the job...
[2025-02-09 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:27:04] Production.INFO: ==10341== Lock acquired, processing the job...
[2025-02-09 15:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:27:04] Production.INFO: Account Balance Start.
[2025-02-09 15:27:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:27:04] Production.INFO: 117
[2025-02-09 15:27:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:27:04] Production.INFO: ==10343== Lock acquired, processing the job...
[2025-02-09 15:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:27:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:27:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:27:04] Production.INFO: count ==21
[2025-02-09 15:27:04] Production.INFO: Total Charge 0
[2025-02-09 15:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:27:04] Production.INFO: ==10335== Releasing lock...
[2025-02-09 15:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:27:04] Production.INFO: count ==21
[2025-02-09 15:27:04] Production.INFO: CreateAllLog End
[2025-02-09 15:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437969') start
[2025-02-09 15:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437969') end
[2025-02-09 15:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:27:04] Production.INFO: 1
[2025-02-09 15:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:27:04] Production.INFO: ==10343== Releasing lock...
[2025-02-09 15:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:27:04] Production.ERROR: done
[2025-02-09 15:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:27:04] Production.INFO: Account Balance End.
[2025-02-09 15:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:27:04] Production.INFO: ==10339== Releasing lock...
[2025-02-09 15:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:27:04] Production.ERROR: done
[2025-02-09 15:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:27:05
[end_date_ymd] => 2025-02-09 15:27:05
[RateCDR] => 1
)
[2025-02-09 15:27: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` >= '2025-02-09 12:27:05' and `end` < '2025-02-09 15:27: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 ,'')
[2025-02-09 15:27:12] Production.ERROR: CronJobId end10
[2025-02-09 15:27:12] Production.INFO: ==10337== Releasing lock...
[2025-02-09 15:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:27:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:27:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:27:14] Production.INFO: call_cost start
[2025-02-09 15:27:14] Production.INFO: call_cost end
[2025-02-09 15:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:27:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:27:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:27:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:27:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:27:15] Production.INFO: ==10333== Releasing lock...
[2025-02-09 15:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:27:19] Production.INFO: count ==1519
[2025-02-09 15:27:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:27:05 - End Time 2025-02-09 15:27:05
[2025-02-09 15:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437970', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437970', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437970', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437970', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:27:19] Production.INFO: ProcessCDR(1,14437970,1,1,2)
[2025-02-09 15:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437970', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437970', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:27:24] Production.INFO: ==10341== Releasing lock...
[2025-02-09 15:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:27:24] Production.INFO: 39.75 MB #Memory Used#
[2025-02-09 20:28:01] Production.INFO: ==10397== Lock acquired, processing the job...
[2025-02-09 20:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:28:01] Production.INFO: neon service started
[2025-02-09 20:28:01] Production.INFO: neon service started
[2025-02-09 20:28:01] Production.INFO: ==10397== Releasing lock...
[2025-02-09 20:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:28:02] Production.INFO: ==10399== Lock acquired, processing the job...
[2025-02-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:28:02] Production.INFO: ==10401== Lock acquired, processing the job...
[2025-02-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:28:02] Production.INFO: ==10401== Releasing lock...
[2025-02-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:28:02] Production.INFO: ==10399== Releasing lock...
[2025-02-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:28:03] Production.INFO: ==10406== Lock acquired, processing the job...
[2025-02-09 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:28:03] Production.INFO: ==10404== Lock acquired, processing the job...
[2025-02-09 15:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:28:03] Production.INFO: ==10408== Lock acquired, processing the job...
[2025-02-09 15:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:28:03] Production.INFO: ==10412== Lock acquired, processing the job...
[2025-02-09 15:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:28:03] Production.INFO: ==10406== Releasing lock...
[2025-02-09 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:28:03] Production.INFO: ==10410== Lock acquired, processing the job...
[2025-02-09 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:28:03] Production.INFO: ==10414== Lock acquired, processing the job...
[2025-02-09 15:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:28:03] Production.INFO: Account Balance Start.
[2025-02-09 15:28:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:28:03] Production.INFO: 117
[2025-02-09 15:28:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:28:04] Production.INFO: count ==21
[2025-02-09 15:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:28:04] Production.INFO: count ==21
[2025-02-09 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437974') start
[2025-02-09 15:28:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:28:04] Production.ERROR: done
[2025-02-09 15:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:28:04] Production.INFO: Total Charge 0
[2025-02-09 15:28:04] Production.INFO: CreateAllLog End
[2025-02-09 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437974') end
[2025-02-09 15:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:28:04] Production.INFO: 1
[2025-02-09 15:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:28:04] Production.ERROR: done
[2025-02-09 15:28:04] Production.INFO: ==10414== Releasing lock...
[2025-02-09 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:28:04] Production.INFO: Account Balance End.
[2025-02-09 15:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:28:04] Production.INFO: ==10410== Releasing lock...
[2025-02-09 15:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:28:05
[end_date_ymd] => 2025-02-09 15:28:05
[RateCDR] => 1
)
[2025-02-09 15:28: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` >= '2025-02-09 12:28:05' and `end` < '2025-02-09 15:28: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 ,'')
[2025-02-09 15:28:11] Production.ERROR: CronJobId end10
[2025-02-09 15:28:11] Production.INFO: ==10408== Releasing lock...
[2025-02-09 15:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:28:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:28:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:28:13] Production.INFO: call_cost start
[2025-02-09 15:28:13] Production.INFO: call_cost end
[2025-02-09 15:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:28:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:28:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:28:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:28:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:28:14] Production.INFO: ==10404== Releasing lock...
[2025-02-09 15:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:28:18] Production.INFO: count ==1511
[2025-02-09 15:28:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:28:05 - End Time 2025-02-09 15:28:05
[2025-02-09 15:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437975', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437975', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437975', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437975', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:28:19] Production.INFO: ProcessCDR(1,14437975,1,1,2)
[2025-02-09 15:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437975', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437975', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:28:23] Production.INFO: ==10412== Releasing lock...
[2025-02-09 15:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:28:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:29:02] Production.INFO: ==10471== Lock acquired, processing the job...
[2025-02-09 20:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:29:02] Production.INFO: neon service started
[2025-02-09 20:29:02] Production.INFO: neon service started
[2025-02-09 20:29:02] Production.INFO: ==10471== Releasing lock...
[2025-02-09 20:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:29:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 15:29:02] Production.INFO: ==10473== Lock acquired, processing the job...
[2025-02-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:29:02] Production.INFO: ==10475== Lock acquired, processing the job...
[2025-02-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:29:02] Production.INFO: ==10475== Releasing lock...
[2025-02-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:29:02] Production.INFO: ==10473== Releasing lock...
[2025-02-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:29:03] Production.INFO: ==10480== Lock acquired, processing the job...
[2025-02-09 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:29:03] Production.INFO: ==10484== Lock acquired, processing the job...
[2025-02-09 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:29:04] Production.INFO: ==10478== Lock acquired, processing the job...
[2025-02-09 15:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:29:04] Production.INFO: Account Balance Start.
[2025-02-09 15:29:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:29:04] Production.INFO: 117
[2025-02-09 15:29:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:29:04] Production.INFO: ==10482== Lock acquired, processing the job...
[2025-02-09 15:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:29:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:29:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:29:04] Production.INFO: ==10480== Releasing lock...
[2025-02-09 15:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:29:04] Production.INFO: Total Charge 0
[2025-02-09 15:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:29:04] Production.INFO: CreateAllLog End
[2025-02-09 15:29:04] Production.INFO: ==10486== Lock acquired, processing the job...
[2025-02-09 15:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:29:04] Production.INFO: ==10488== Lock acquired, processing the job...
[2025-02-09 15:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:29:04] Production.INFO: count ==21
[2025-02-09 15:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:29:04] Production.INFO: count ==21
[2025-02-09 15:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437979') start
[2025-02-09 15:29:04] Production.INFO: Account Balance End.
[2025-02-09 15:29:04] Production.ERROR: done
[2025-02-09 15:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:29:04] Production.INFO: ==10484== Releasing lock...
[2025-02-09 15:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14437979') end
[2025-02-09 15:29:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:29:05] Production.INFO: 1
[2025-02-09 15:29:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:29:05] Production.INFO: ==10488== Releasing lock...
[2025-02-09 15:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:29:05] Production.ERROR: done
[2025-02-09 15:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:29:06
[end_date_ymd] => 2025-02-09 15:29:06
[RateCDR] => 1
)
[2025-02-09 15:29: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-02-09 12:29:06' and `end` < '2025-02-09 15:29: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-02-09 15:29:12] Production.ERROR: CronJobId end10
[2025-02-09 15:29:12] Production.INFO: ==10482== Releasing lock...
[2025-02-09 15:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:29:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:29:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:29:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:29:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:29:15] Production.INFO: call_cost start
[2025-02-09 15:29:15] Production.INFO: call_cost end
[2025-02-09 15:29:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:29:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:29:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:29:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:29:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:29:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:29:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:29:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:29:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:29:16] Production.INFO: ==10478== Releasing lock...
[2025-02-09 15:29:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:29:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:29:19] Production.INFO: count ==1501
[2025-02-09 15:29:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:29:06 - End Time 2025-02-09 15:29:06
[2025-02-09 15:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437980', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437980', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437980', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437980', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:29:19] Production.INFO: ProcessCDR(1,14437980,1,1,2)
[2025-02-09 15:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437980', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437980', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:29:23] Production.INFO: ==10486== Releasing lock...
[2025-02-09 15:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:29:23] Production.INFO: 39.5 MB #Memory Used#
[2025-02-09 20:30:01] Production.INFO: ==10547== Lock acquired, processing the job...
[2025-02-09 20:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:30:01] Production.INFO: neon service started
[2025-02-09 20:30:01] Production.INFO: neon service started
[2025-02-09 20:30:01] Production.INFO: ==10547== Releasing lock...
[2025-02-09 20:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:30:02] Production.INFO: ==10549== Lock acquired, processing the job...
[2025-02-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:30:02] Production.INFO: ==10551== Lock acquired, processing the job...
[2025-02-09 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:30:02] Production.INFO: ==10551== Releasing lock...
[2025-02-09 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:30:02] Production.INFO: ==10549== Releasing lock...
[2025-02-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:30:03] Production.INFO: ==10554== Lock acquired, processing the job...
[2025-02-09 15:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 15:30:03] Production.INFO: ==10556== Lock acquired, processing the job...
[2025-02-09 15:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 15:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 15:30:03] Production.ERROR: CronJob PID - 10556
[2025-02-09 15:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 15:30:03] Production.ERROR: CronJob ID - 5
[2025-02-09 15:30:03] Production.ERROR: CronJob Last Run Time 2025-02-09 15:30:00
[2025-02-09 15:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 15:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 15:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 15:30:03] Production.INFO: ==10554== Releasing lock...
[2025-02-09 15:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 15:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 15:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:30:03] Production.INFO: ==10564== Lock acquired, processing the job...
[2025-02-09 15:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:30:03] Production.INFO: ==10558== Lock acquired, processing the job...
[2025-02-09 15:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:30:04] Production.INFO: ==10568== Lock acquired, processing the job...
[2025-02-09 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:30:04] Production.INFO: ==10560== Lock acquired, processing the job...
[2025-02-09 15:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:30:04] Production.INFO: ==10562== Lock acquired, processing the job...
[2025-02-09 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:30:04] Production.INFO: ==10566== Lock acquired, processing the job...
[2025-02-09 15:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:30:04] Production.INFO: count ==21
[2025-02-09 15:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:30:04] Production.ERROR: done
[2025-02-09 15:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:30:04] Production.INFO: count ==21
[2025-02-09 15:30:04] Production.INFO: Account Balance Start.
[2025-02-09 15:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:30:04] Production.INFO: 117
[2025-02-09 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437983') start
[2025-02-09 15:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437983') end
[2025-02-09 15:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:30:04] Production.INFO: 1
[2025-02-09 15:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:30:04] Production.ERROR: done
[2025-02-09 15:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:30:04] Production.INFO: ==10558== Releasing lock...
[2025-02-09 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:30:04] Production.INFO: ==10568== Releasing lock...
[2025-02-09 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:30:04] Production.ERROR: done
[2025-02-09 15:30:04] Production.INFO: Total Charge 0
[2025-02-09 15:30:04] Production.INFO: CreateAllLog End
[2025-02-09 15:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 15:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437985', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 15:30:04] Production.INFO: Account Balance End.
[2025-02-09 15:30:05] Production.ERROR: CronJobId end 12
[2025-02-09 15:30:05] Production.INFO: ==10562== Releasing lock...
[2025-02-09 15:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:30:05
[end_date_ymd] => 2025-02-09 15:30:05
[RateCDR] => 1
)
[2025-02-09 15:30: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` >= '2025-02-09 12:30:05' and `end` < '2025-02-09 15:30: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 ,'')
[2025-02-09 15:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14437985', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 15:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 15:30:09] Production.INFO: ProcessCDR(1,14437985,1,1,2)
[2025-02-09 15:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14437985,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14437985,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:30:09] Production.INFO: ==10566== Releasing lock...
[2025-02-09 15:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 15:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 15:30:14] Production.ERROR: CronJobId end10
[2025-02-09 15:30:14] Production.INFO: ==10560== Releasing lock...
[2025-02-09 15:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:30:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:30:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:30:16] Production.INFO: call_cost start
[2025-02-09 15:30:16] Production.INFO: call_cost end
[2025-02-09 15:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:30:17] Production.INFO: ==10556== Releasing lock...
[2025-02-09 15:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:30:18] Production.INFO: count ==1475
[2025-02-09 15:30:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:30:05 - End Time 2025-02-09 15:30:05
[2025-02-09 15:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437986', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437986', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437986', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437986', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:30:19] Production.INFO: ProcessCDR(1,14437986,1,1,2)
[2025-02-09 15:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437986', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437986', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:30:22] Production.INFO: ==10564== Releasing lock...
[2025-02-09 15:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:30:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 20:31:02] Production.INFO: ==10624== Lock acquired, processing the job...
[2025-02-09 20:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:31:02] Production.INFO: neon service started
[2025-02-09 20:31:02] Production.INFO: neon service started
[2025-02-09 20:31:02] Production.INFO: ==10624== Releasing lock...
[2025-02-09 20:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:31:02] Production.INFO: ==10626== Lock acquired, processing the job...
[2025-02-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:31:02] Production.INFO: ==10628== Lock acquired, processing the job...
[2025-02-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:31:02] Production.INFO: ==10628== Releasing lock...
[2025-02-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:31:03] Production.INFO: ==10626== Releasing lock...
[2025-02-09 15:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:31:03] Production.INFO: ==10635== Lock acquired, processing the job...
[2025-02-09 15:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:31:04] Production.INFO: ==10641== Lock acquired, processing the job...
[2025-02-09 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:31:04] Production.INFO: ==10631== Lock acquired, processing the job...
[2025-02-09 15:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:31:04] Production.INFO: ==10633== Lock acquired, processing the job...
[2025-02-09 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:31:04] Production.INFO: count ==21
[2025-02-09 15:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:31:04] Production.INFO: count ==21
[2025-02-09 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437987') start
[2025-02-09 15:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:31:04] Production.INFO: ==10637== Lock acquired, processing the job...
[2025-02-09 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:31:04] Production.INFO: ==10639== Lock acquired, processing the job...
[2025-02-09 15:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437987') end
[2025-02-09 15:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:31:04] Production.INFO: 1
[2025-02-09 15:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:31:04] Production.INFO: Account Balance Start.
[2025-02-09 15:31:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:31:04] Production.INFO: 117
[2025-02-09 15:31:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:31:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:31:04] Production.INFO: ==10641== Releasing lock...
[2025-02-09 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:31:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:31:04] Production.INFO: Total Charge 0
[2025-02-09 15:31:04] Production.ERROR: done
[2025-02-09 15:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:31:04] Production.INFO: CreateAllLog End
[2025-02-09 15:31:04] Production.INFO: ==10633== Releasing lock...
[2025-02-09 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:31:04] Production.ERROR: done
[2025-02-09 15:31:04] Production.INFO: Account Balance End.
[2025-02-09 15:31:05] Production.ERROR: CronJobId end 12
[2025-02-09 15:31:05] Production.INFO: ==10637== Releasing lock...
[2025-02-09 15:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:31:05
[end_date_ymd] => 2025-02-09 15:31:05
[RateCDR] => 1
)
[2025-02-09 15:31: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` >= '2025-02-09 12:31:05' and `end` < '2025-02-09 15:31: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 ,'')
[2025-02-09 15:31:11] Production.ERROR: CronJobId end10
[2025-02-09 15:31:11] Production.INFO: ==10635== Releasing lock...
[2025-02-09 15:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:31:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:31:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:31:14] Production.INFO: call_cost start
[2025-02-09 15:31:14] Production.INFO: call_cost end
[2025-02-09 15:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:31:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:31:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:31:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:31:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:31:15] Production.INFO: ==10631== Releasing lock...
[2025-02-09 15:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:31:18] Production.INFO: count ==1445
[2025-02-09 15:31:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:31:05 - End Time 2025-02-09 15:31:05
[2025-02-09 15:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437991', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437991', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437991', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437991', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:31:19] Production.INFO: ProcessCDR(1,14437991,1,1,2)
[2025-02-09 15:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437991', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437991', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:31:23] Production.INFO: ==10639== Releasing lock...
[2025-02-09 15:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:31:23] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 20:32:01] Production.INFO: ==10695== Lock acquired, processing the job...
[2025-02-09 20:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:32:01] Production.INFO: neon service started
[2025-02-09 20:32:01] Production.INFO: neon service started
[2025-02-09 20:32:01] Production.INFO: ==10695== Releasing lock...
[2025-02-09 20:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:32:02] Production.INFO: ==10699== Lock acquired, processing the job...
[2025-02-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:32:02] Production.INFO: ==10697== Lock acquired, processing the job...
[2025-02-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:32:02] Production.INFO: ==10699== Releasing lock...
[2025-02-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:32:02] Production.INFO: ==10697== Releasing lock...
[2025-02-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:32:03] Production.INFO: ==10704== Lock acquired, processing the job...
[2025-02-09 15:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:32:03] Production.INFO: ==10706== Lock acquired, processing the job...
[2025-02-09 15:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:32:03] Production.INFO: ==10712== Lock acquired, processing the job...
[2025-02-09 15:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:32:03] Production.INFO: ==10704== Releasing lock...
[2025-02-09 15:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:32:03] Production.INFO: count ==21
[2025-02-09 15:32:03] Production.INFO: ==10702== Lock acquired, processing the job...
[2025-02-09 15:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:32:03] Production.INFO: count ==21
[2025-02-09 15:32:03] Production.INFO: ==10708== Lock acquired, processing the job...
[2025-02-09 15:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437993') start
[2025-02-09 15:32:03] Production.INFO: ==10710== Lock acquired, processing the job...
[2025-02-09 15:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14437993') end
[2025-02-09 15:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:32:03] Production.INFO: 1
[2025-02-09 15:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:32:03] Production.INFO: Account Balance Start.
[2025-02-09 15:32:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:32:03] Production.INFO: ==10712== Releasing lock...
[2025-02-09 15:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:32:03] Production.INFO: 117
[2025-02-09 15:32:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:32:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:32:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:32:04] Production.INFO: Total Charge 0
[2025-02-09 15:32:04] Production.INFO: CreateAllLog End
[2025-02-09 15:32:04] Production.INFO: Account Balance End.
[2025-02-09 15:32:04] Production.ERROR: done
[2025-02-09 15:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:32:04] Production.INFO: ==10708== Releasing lock...
[2025-02-09 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:32:04] Production.ERROR: done
[2025-02-09 15:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:32:05
[end_date_ymd] => 2025-02-09 15:32:05
[RateCDR] => 1
)
[2025-02-09 15:32: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` >= '2025-02-09 12:32:05' and `end` < '2025-02-09 15:32: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 ,'')
[2025-02-09 15:32:11] Production.ERROR: CronJobId end10
[2025-02-09 15:32:11] Production.INFO: ==10706== Releasing lock...
[2025-02-09 15:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:32:15] Production.INFO: call_cost start
[2025-02-09 15:32:15] Production.INFO: call_cost end
[2025-02-09 15:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:32:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:32:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:32:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:32:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:32:16] Production.INFO: ==10702== Releasing lock...
[2025-02-09 15:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:32:19] Production.INFO: count ==1443
[2025-02-09 15:32:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:32:05 - End Time 2025-02-09 15:32:05
[2025-02-09 15:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437996', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14437996', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437996', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14437996', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:32:19] Production.INFO: ProcessCDR(1,14437996,1,1,2)
[2025-02-09 15:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14437996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14437996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14437996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14437996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437996', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14437996', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:32:22] Production.INFO: ==10710== Releasing lock...
[2025-02-09 15:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:32:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 20:33:02] Production.INFO: ==10808== Lock acquired, processing the job...
[2025-02-09 20:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:33:02] Production.INFO: neon service started
[2025-02-09 20:33:02] Production.INFO: neon service started
[2025-02-09 20:33:02] Production.INFO: ==10808== Releasing lock...
[2025-02-09 20:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:33:02] Production.INFO: ==10810== Lock acquired, processing the job...
[2025-02-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:33:02] Production.INFO: ==10812== Lock acquired, processing the job...
[2025-02-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:33:02] Production.INFO: ==10812== Releasing lock...
[2025-02-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:33:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:33:02] Production.INFO: ==10810== Releasing lock...
[2025-02-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:33:03] Production.INFO: ==10819== Lock acquired, processing the job...
[2025-02-09 15:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:33:03] Production.INFO: ==10821== Lock acquired, processing the job...
[2025-02-09 15:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:33:03] Production.INFO: ==10823== Lock acquired, processing the job...
[2025-02-09 15:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:33:03] Production.INFO: ==10815== Lock acquired, processing the job...
[2025-02-09 15:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:33:03] Production.INFO: ==10817== Lock acquired, processing the job...
[2025-02-09 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:33:03] Production.INFO: Account Balance Start.
[2025-02-09 15:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:33:03] Production.INFO: 117
[2025-02-09 15:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:33:03] Production.INFO: ==10825== Lock acquired, processing the job...
[2025-02-09 15:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:33:04] Production.INFO: Total Charge 0
[2025-02-09 15:33:04] Production.INFO: CreateAllLog End
[2025-02-09 15:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:33:04] Production.INFO: count ==21
[2025-02-09 15:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:33:04] Production.INFO: count ==21
[2025-02-09 15:33:04] Production.ERROR: done
[2025-02-09 15:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437999') start
[2025-02-09 15:33:04] Production.INFO: Account Balance End.
[2025-02-09 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14437999') end
[2025-02-09 15:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:33:04] Production.INFO: 1
[2025-02-09 15:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:33:04] Production.INFO: ==10821== Releasing lock...
[2025-02-09 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:33:04] Production.INFO: ==10817== Releasing lock...
[2025-02-09 15:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:33:04] Production.INFO: ==10825== Releasing lock...
[2025-02-09 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:33:04] Production.ERROR: done
[2025-02-09 15:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:33:05
[end_date_ymd] => 2025-02-09 15:33:05
[RateCDR] => 1
)
[2025-02-09 15:33: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` >= '2025-02-09 12:33:05' and `end` < '2025-02-09 15:33: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 ,'')
[2025-02-09 15:33:12] Production.ERROR: CronJobId end10
[2025-02-09 15:33:12] Production.INFO: ==10819== Releasing lock...
[2025-02-09 15:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:33:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:33:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:33:14] Production.INFO: call_cost start
[2025-02-09 15:33:14] Production.INFO: call_cost end
[2025-02-09 15:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:33:15] Production.INFO: ==10815== Releasing lock...
[2025-02-09 15:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:33:19] Production.INFO: count ==1444
[2025-02-09 15:33:20] Production.ERROR: pbx CDR StartTime 2025-02-09 12:33:05 - End Time 2025-02-09 15:33:05
[2025-02-09 15:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438001', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438001', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438001', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438001', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:33:20] Production.INFO: ProcessCDR(1,14438001,1,1,2)
[2025-02-09 15:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438001', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438001', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:33:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:33:24] Production.INFO: ==10823== Releasing lock...
[2025-02-09 15:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:33:24] Production.INFO: 39 MB #Memory Used#
[2025-02-09 20:34:01] Production.INFO: ==10880== Lock acquired, processing the job...
[2025-02-09 20:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:34:01] Production.INFO: neon service started
[2025-02-09 20:34:01] Production.INFO: neon service started
[2025-02-09 20:34:01] Production.INFO: ==10880== Releasing lock...
[2025-02-09 20:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:34:01] Production.INFO: ==10882== Lock acquired, processing the job...
[2025-02-09 15:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:34:02] Production.INFO: ==10882== Releasing lock...
[2025-02-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:34:02] Production.INFO: ==10884== Lock acquired, processing the job...
[2025-02-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:34:02] Production.INFO: ==10884== Releasing lock...
[2025-02-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:34:03] Production.INFO: ==10893== Lock acquired, processing the job...
[2025-02-09 15:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:34:03] Production.INFO: ==10897== Lock acquired, processing the job...
[2025-02-09 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:34:03] Production.INFO: Account Balance Start.
[2025-02-09 15:34:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:34:03] Production.INFO: 117
[2025-02-09 15:34:03] Production.INFO: ==10887== Lock acquired, processing the job...
[2025-02-09 15:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:34:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:34:03] Production.INFO: ==10889== Lock acquired, processing the job...
[2025-02-09 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:34:03] Production.INFO: ==10891== Lock acquired, processing the job...
[2025-02-09 15:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:34:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:34:03] Production.INFO: count ==21
[2025-02-09 15:34:03] Production.INFO: ==10895== Lock acquired, processing the job...
[2025-02-09 15:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:34:03] Production.INFO: count ==21
[2025-02-09 15:34:03] Production.INFO: Total Charge 0
[2025-02-09 15:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438003') start
[2025-02-09 15:34:03] Production.INFO: CreateAllLog End
[2025-02-09 15:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438003') end
[2025-02-09 15:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:34:03] Production.INFO: 1
[2025-02-09 15:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:34:03] Production.INFO: ==10897== Releasing lock...
[2025-02-09 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:34:03] Production.INFO: Account Balance End.
[2025-02-09 15:34:03] Production.INFO: ==10889== Releasing lock...
[2025-02-09 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:34:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:34:03] Production.INFO: ==10893== Releasing lock...
[2025-02-09 15:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:34:03] Production.ERROR: done
[2025-02-09 15:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:34:03] Production.ERROR: done
[2025-02-09 15:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:34:04
[end_date_ymd] => 2025-02-09 15:34:04
[RateCDR] => 1
)
[2025-02-09 15:34:04] 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-02-09 12:34:04' and `end` < '2025-02-09 15:34:04'
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-02-09 15:34:11] Production.ERROR: CronJobId end10
[2025-02-09 15:34:11] Production.INFO: ==10891== Releasing lock...
[2025-02-09 15:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:34:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:34:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:34:13] Production.INFO: call_cost start
[2025-02-09 15:34:13] Production.INFO: call_cost end
[2025-02-09 15:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:34:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:34:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:34:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:34:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:34:14] Production.INFO: ==10887== Releasing lock...
[2025-02-09 15:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:34:17] Production.INFO: count ==1445
[2025-02-09 15:34:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:34:04 - End Time 2025-02-09 15:34:04
[2025-02-09 15:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438006', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438006', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438006', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438006', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:34:18] Production.INFO: ProcessCDR(1,14438006,1,1,2)
[2025-02-09 15:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438006', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438006', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:34:22] Production.INFO: ==10895== Releasing lock...
[2025-02-09 15:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:34:22] Production.INFO: 39.25 MB #Memory Used#
[2025-02-09 20:35:01] Production.INFO: ==10956== Lock acquired, processing the job...
[2025-02-09 20:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:35:01] Production.INFO: neon service started
[2025-02-09 20:35:01] Production.INFO: neon service started
[2025-02-09 20:35:01] Production.INFO: ==10956== Releasing lock...
[2025-02-09 20:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:35:02] Production.INFO: ==10958== Lock acquired, processing the job...
[2025-02-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:35:02] Production.INFO: ==10958== Releasing lock...
[2025-02-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:35:02] Production.INFO: ==10960== Lock acquired, processing the job...
[2025-02-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:35:02] Production.INFO: ==10960== Releasing lock...
[2025-02-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:35:03] Production.INFO: ==10962== Lock acquired, processing the job...
[2025-02-09 15:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:35:03] Production.INFO: ==10966== Lock acquired, processing the job...
[2025-02-09 15:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:35:03] Production.INFO: ==10970== Lock acquired, processing the job...
[2025-02-09 15:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:35:03] Production.INFO: ==10964== Lock acquired, processing the job...
[2025-02-09 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:35:03] Production.INFO: ==10968== Lock acquired, processing the job...
[2025-02-09 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:35:03] Production.INFO: ==10972== Lock acquired, processing the job...
[2025-02-09 15:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:35:03] Production.ERROR: done
[2025-02-09 15:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:35:04] Production.INFO: Account Balance Start.
[2025-02-09 15:35:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:35:04] Production.INFO: 117
[2025-02-09 15:35:04] Production.ERROR: done
[2025-02-09 15:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:35:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:35:04] Production.INFO: count ==21
[2025-02-09 15:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:35:04] Production.INFO: count ==21
[2025-02-09 15:35:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:35:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438009') start
[2025-02-09 15:35:04] Production.INFO: ==10964== Releasing lock...
[2025-02-09 15:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:35:04] Production.INFO: Total Charge 0
[2025-02-09 15:35:04] Production.INFO: CreateAllLog End
[2025-02-09 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438009') end
[2025-02-09 15:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:35:04] Production.INFO: 1
[2025-02-09 15:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:35:04] Production.INFO: Account Balance End.
[2025-02-09 15:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:35:04] Production.INFO: ==10968== Releasing lock...
[2025-02-09 15:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:35:04] Production.INFO: ==10972== Releasing lock...
[2025-02-09 15:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:35:05
[end_date_ymd] => 2025-02-09 15:35:05
[RateCDR] => 1
)
[2025-02-09 15:35: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` >= '2025-02-09 12:35:05' and `end` < '2025-02-09 15:35: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 ,'')
[2025-02-09 15:35:11] Production.ERROR: CronJobId end10
[2025-02-09 15:35:11] Production.INFO: ==10966== Releasing lock...
[2025-02-09 15:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:35:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:35:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:35:14] Production.INFO: call_cost start
[2025-02-09 15:35:14] Production.INFO: call_cost end
[2025-02-09 15:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:35:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:35:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:35:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:35:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:35:15] Production.INFO: ==10962== Releasing lock...
[2025-02-09 15:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:35:18] Production.INFO: count ==1445
[2025-02-09 15:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:35:05 - End Time 2025-02-09 15:35:05
[2025-02-09 15:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438011', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438011', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438011', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438011', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:35:18] Production.INFO: ProcessCDR(1,14438011,1,1,2)
[2025-02-09 15:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438011', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438011', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:35:22] Production.INFO: ==10970== Releasing lock...
[2025-02-09 15:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:35:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 20:36:01] Production.INFO: ==11028== Lock acquired, processing the job...
[2025-02-09 20:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:36:01] Production.INFO: neon service started
[2025-02-09 20:36:01] Production.INFO: neon service started
[2025-02-09 20:36:01] Production.INFO: ==11028== Releasing lock...
[2025-02-09 20:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:36:01] Production.INFO: ==11030== Lock acquired, processing the job...
[2025-02-09 15:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:36:02] Production.INFO: ==11030== Releasing lock...
[2025-02-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:36:02] Production.INFO: ==11032== Lock acquired, processing the job...
[2025-02-09 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:36:02] Production.INFO: ==11032== Releasing lock...
[2025-02-09 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:36:02] Production.INFO: ==11036== Lock acquired, processing the job...
[2025-02-09 15:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:36:03] Production.INFO: ==11038== Lock acquired, processing the job...
[2025-02-09 15:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:36:03] Production.INFO: ==11040== Lock acquired, processing the job...
[2025-02-09 15:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:36:03] Production.INFO: ==11034== Lock acquired, processing the job...
[2025-02-09 15:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:36:03] Production.INFO: ==11042== Lock acquired, processing the job...
[2025-02-09 15:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:36:03] Production.INFO: ==11045== Lock acquired, processing the job...
[2025-02-09 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:36:03] Production.INFO: Account Balance Start.
[2025-02-09 15:36:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:36:03] Production.INFO: 117
[2025-02-09 15:36:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:36:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:36:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:36:03] Production.INFO: Total Charge 0
[2025-02-09 15:36:03] Production.INFO: CreateAllLog End
[2025-02-09 15:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:36:03] Production.INFO: count ==21
[2025-02-09 15:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:36:03] Production.INFO: ==11036== Releasing lock...
[2025-02-09 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:36:03] Production.INFO: count ==21
[2025-02-09 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438015') start
[2025-02-09 15:36:03] Production.INFO: Account Balance End.
[2025-02-09 15:36:03] Production.ERROR: done
[2025-02-09 15:36:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:36:03] Production.INFO: ==11040== Releasing lock...
[2025-02-09 15:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438015') end
[2025-02-09 15:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:36:03] Production.INFO: 1
[2025-02-09 15:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:36:03] Production.INFO: ==11045== Releasing lock...
[2025-02-09 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:36:03] Production.ERROR: done
[2025-02-09 15:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:36:04
[end_date_ymd] => 2025-02-09 15:36:04
[RateCDR] => 1
)
[2025-02-09 15:36:04] 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-02-09 12:36:04' and `end` < '2025-02-09 15:36:04'
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-02-09 15:36:10] Production.ERROR: CronJobId end10
[2025-02-09 15:36:10] Production.INFO: ==11038== Releasing lock...
[2025-02-09 15:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:36:13] Production.INFO: call_cost start
[2025-02-09 15:36:13] Production.INFO: call_cost end
[2025-02-09 15:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:36:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:36:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:36:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:36:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:36:14] Production.INFO: ==11034== Releasing lock...
[2025-02-09 15:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:36:19] Production.INFO: count ==1432
[2025-02-09 15:36:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:36:04 - End Time 2025-02-09 15:36:04
[2025-02-09 15:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438016', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438016', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438016', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438016', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:36:19] Production.INFO: ProcessCDR(1,14438016,1,1,2)
[2025-02-09 15:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438016', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438016', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:36:24] Production.INFO: ==11042== Releasing lock...
[2025-02-09 15:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:36:24] Production.INFO: 39 MB #Memory Used#
[2025-02-09 20:37:01] Production.INFO: ==11100== Lock acquired, processing the job...
[2025-02-09 20:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:37:01] Production.INFO: neon service started
[2025-02-09 20:37:01] Production.INFO: neon service started
[2025-02-09 20:37:01] Production.INFO: ==11100== Releasing lock...
[2025-02-09 20:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:37:02] Production.INFO: ==11103== Lock acquired, processing the job...
[2025-02-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:37:02] Production.INFO: ==11103== Releasing lock...
[2025-02-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:37:02] Production.INFO: ==11105== Lock acquired, processing the job...
[2025-02-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:37:02] Production.INFO: ==11105== Releasing lock...
[2025-02-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:37:03] Production.INFO: ==11107== Lock acquired, processing the job...
[2025-02-09 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:37:03] Production.INFO: ==11109== Lock acquired, processing the job...
[2025-02-09 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:37:03] Production.INFO: ==11111== Lock acquired, processing the job...
[2025-02-09 15:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:37:03] Production.INFO: ==11109== Releasing lock...
[2025-02-09 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:37:03] Production.INFO: ==11113== Lock acquired, processing the job...
[2025-02-09 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:37:03] Production.INFO: ==11115== Lock acquired, processing the job...
[2025-02-09 15:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:37:03] Production.INFO: ==11117== Lock acquired, processing the job...
[2025-02-09 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:37:03] Production.INFO: Account Balance Start.
[2025-02-09 15:37:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:37:03] Production.INFO: 117
[2025-02-09 15:37:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:37:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:37:04] Production.INFO: count ==21
[2025-02-09 15:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:37:04] Production.INFO: count ==21
[2025-02-09 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438020') start
[2025-02-09 15:37:04] Production.INFO: Total Charge 0
[2025-02-09 15:37:04] Production.ERROR: done
[2025-02-09 15:37:04] Production.INFO: CreateAllLog End
[2025-02-09 15:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438020') end
[2025-02-09 15:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:37:04] Production.INFO: 1
[2025-02-09 15:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:37:04] Production.INFO: ==11117== Releasing lock...
[2025-02-09 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:37:04] Production.INFO: Account Balance End.
[2025-02-09 15:37:04] Production.ERROR: done
[2025-02-09 15:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:37:04] Production.INFO: ==11113== Releasing lock...
[2025-02-09 15:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:37:05
[end_date_ymd] => 2025-02-09 15:37:05
[RateCDR] => 1
)
[2025-02-09 15:37: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` >= '2025-02-09 12:37:05' and `end` < '2025-02-09 15:37: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 ,'')
[2025-02-09 15:37:12] Production.ERROR: CronJobId end10
[2025-02-09 15:37:12] Production.INFO: ==11111== Releasing lock...
[2025-02-09 15:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:37:14] Production.INFO: call_cost start
[2025-02-09 15:37:14] Production.INFO: call_cost end
[2025-02-09 15:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:37:15] Production.INFO: ==11107== Releasing lock...
[2025-02-09 15:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:37:18] Production.INFO: count ==1420
[2025-02-09 15:37:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:37:05 - End Time 2025-02-09 15:37:05
[2025-02-09 15:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438021', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438021', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438021', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438021', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:37:18] Production.INFO: ProcessCDR(1,14438021,1,1,2)
[2025-02-09 15:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438021', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438021', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:37:23] Production.INFO: ==11115== Releasing lock...
[2025-02-09 15:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:37:23] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 20:38:02] Production.INFO: ==11172== Lock acquired, processing the job...
[2025-02-09 20:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:38:02] Production.INFO: neon service started
[2025-02-09 20:38:02] Production.INFO: neon service started
[2025-02-09 20:38:02] Production.INFO: ==11172== Releasing lock...
[2025-02-09 20:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:38:03] Production.INFO: ==11174== Lock acquired, processing the job...
[2025-02-09 15:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:38:03] Production.INFO: ==11176== Lock acquired, processing the job...
[2025-02-09 20:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:38:03] Production.INFO: ==11176== Releasing lock...
[2025-02-09 20:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:38:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:38:03] Production.INFO: ==11174== Releasing lock...
[2025-02-09 15:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:38:04] Production.INFO: ==11179== Lock acquired, processing the job...
[2025-02-09 15:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:38:04] Production.INFO: ==11183== Lock acquired, processing the job...
[2025-02-09 15:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:38:04] Production.INFO: ==11189== Lock acquired, processing the job...
[2025-02-09 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:38:04] Production.INFO: ==11181== Lock acquired, processing the job...
[2025-02-09 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:38:04] Production.INFO: ==11185== Lock acquired, processing the job...
[2025-02-09 15:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:38:04] Production.INFO: ==11187== Lock acquired, processing the job...
[2025-02-09 15:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:38:04] Production.INFO: count ==21
[2025-02-09 15:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:38:04] Production.INFO: Account Balance Start.
[2025-02-09 15:38:04] Production.INFO: count ==21
[2025-02-09 15:38:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:38:04] Production.INFO: 117
[2025-02-09 15:38:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438023') start
[2025-02-09 15:38:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:38:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:38:04] Production.INFO: ==11181== Releasing lock...
[2025-02-09 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:38:04] Production.INFO: Total Charge 0
[2025-02-09 15:38:04] Production.INFO: CreateAllLog End
[2025-02-09 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438023') end
[2025-02-09 15:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:38:04] Production.INFO: 1
[2025-02-09 15:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:38:04] Production.INFO: ==11189== Releasing lock...
[2025-02-09 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:38:05] Production.ERROR: done
[2025-02-09 15:38:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:38:05] Production.INFO: Account Balance End.
[2025-02-09 15:38:05] Production.ERROR: done
[2025-02-09 15:38:05] Production.ERROR: CronJobId end 12
[2025-02-09 15:38:05] Production.INFO: ==11185== Releasing lock...
[2025-02-09 15:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:38:06
[end_date_ymd] => 2025-02-09 15:38:06
[RateCDR] => 1
)
[2025-02-09 15:38: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-02-09 12:38:06' and `end` < '2025-02-09 15:38: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-02-09 15:38:12] Production.ERROR: CronJobId end10
[2025-02-09 15:38:12] Production.INFO: ==11183== Releasing lock...
[2025-02-09 15:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:38:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:38:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:38:14] Production.INFO: call_cost start
[2025-02-09 15:38:14] Production.INFO: call_cost end
[2025-02-09 15:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:38:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:38:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:38:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:38:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:38:14] Production.INFO: ==11179== Releasing lock...
[2025-02-09 15:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:38:19] Production.INFO: count ==1406
[2025-02-09 15:38:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:38:06 - End Time 2025-02-09 15:38:06
[2025-02-09 15:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438026', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438026', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438026', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438026', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:38:19] Production.INFO: ProcessCDR(1,14438026,1,1,2)
[2025-02-09 15:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438026', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438026', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:38:22] Production.INFO: ==11187== Releasing lock...
[2025-02-09 15:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:38:22] Production.INFO: 38.5 MB #Memory Used#
[2025-02-09 20:39:01] Production.INFO: ==11244== Lock acquired, processing the job...
[2025-02-09 20:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:39:01] Production.INFO: neon service started
[2025-02-09 20:39:01] Production.INFO: neon service started
[2025-02-09 20:39:01] Production.INFO: ==11244== Releasing lock...
[2025-02-09 20:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:39:02] Production.INFO: ==11246== Lock acquired, processing the job...
[2025-02-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:39:02] Production.INFO: ==11246== Releasing lock...
[2025-02-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:39:02] Production.INFO: ==11248== Lock acquired, processing the job...
[2025-02-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:39:02] Production.INFO: ==11248== Releasing lock...
[2025-02-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:39:03] Production.INFO: ==11255== Lock acquired, processing the job...
[2025-02-09 15:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:39:03] Production.INFO: ==11259== Lock acquired, processing the job...
[2025-02-09 15:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:39:03] Production.INFO: ==11251== Lock acquired, processing the job...
[2025-02-09 15:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:39:03] Production.INFO: ==11253== Lock acquired, processing the job...
[2025-02-09 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:39:03] Production.INFO: ==11257== Lock acquired, processing the job...
[2025-02-09 15:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:39:03] Production.INFO: ==11261== Lock acquired, processing the job...
[2025-02-09 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:39:03] Production.INFO: Account Balance Start.
[2025-02-09 15:39:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:39:03] Production.INFO: 117
[2025-02-09 15:39:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:39:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:39:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:39:03] Production.INFO: count ==21
[2025-02-09 15:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:39:03] Production.INFO: count ==21
[2025-02-09 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438029') start
[2025-02-09 15:39:04] Production.ERROR: done
[2025-02-09 15:39:04] Production.INFO: Total Charge 0
[2025-02-09 15:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:39:04] Production.INFO: CreateAllLog End
[2025-02-09 15:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438029') end
[2025-02-09 15:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:39:04] Production.INFO: 1
[2025-02-09 15:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:39:04] Production.ERROR: done
[2025-02-09 15:39:04] Production.INFO: ==11253== Releasing lock...
[2025-02-09 15:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:39:04] Production.INFO: ==11261== Releasing lock...
[2025-02-09 15:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:39:04] Production.INFO: Account Balance End.
[2025-02-09 15:39:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:39:04] Production.INFO: ==11257== Releasing lock...
[2025-02-09 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:39:05
[end_date_ymd] => 2025-02-09 15:39:05
[RateCDR] => 1
)
[2025-02-09 15:39: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` >= '2025-02-09 12:39:05' and `end` < '2025-02-09 15:39: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 ,'')
[2025-02-09 15:39:12] Production.ERROR: CronJobId end10
[2025-02-09 15:39:12] Production.INFO: ==11255== Releasing lock...
[2025-02-09 15:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:39:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:39:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:39:14] Production.INFO: call_cost start
[2025-02-09 15:39:14] Production.INFO: call_cost end
[2025-02-09 15:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:39:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:39:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:39:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:39:15] Production.INFO: ==11251== Releasing lock...
[2025-02-09 15:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:39:18] Production.INFO: count ==1407
[2025-02-09 15:39:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:39:05 - End Time 2025-02-09 15:39:05
[2025-02-09 15:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438031', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438031', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438031', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438031', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:39:18] Production.INFO: ProcessCDR(1,14438031,1,1,2)
[2025-02-09 15:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438031', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438031', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:39:23] Production.INFO: ==11259== Releasing lock...
[2025-02-09 15:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:39:23] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 20:40:02] Production.INFO: ==11315== Lock acquired, processing the job...
[2025-02-09 20:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:40:02] Production.INFO: neon service started
[2025-02-09 20:40:02] Production.INFO: neon service started
[2025-02-09 20:40:02] Production.INFO: ==11315== Releasing lock...
[2025-02-09 20:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:40:02] Production.INFO: ==11317== Lock acquired, processing the job...
[2025-02-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:40:03] Production.INFO: ==11319== Lock acquired, processing the job...
[2025-02-09 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:40:03] Production.INFO: ==11319== Releasing lock...
[2025-02-09 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:40:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:40:03] Production.INFO: ==11317== Releasing lock...
[2025-02-09 15:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:40:04] Production.INFO: ==11324== Lock acquired, processing the job...
[2025-02-09 15:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:40:04] Production.INFO: ==11326== Lock acquired, processing the job...
[2025-02-09 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:40:04] Production.INFO: ==11330== Lock acquired, processing the job...
[2025-02-09 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:40:04] Production.INFO: ==11322== Lock acquired, processing the job...
[2025-02-09 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 15:40:04] Production.INFO: ==11328== Lock acquired, processing the job...
[2025-02-09 15:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 15:40:04] Production.ERROR: CronJob PID - 11324
[2025-02-09 15:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 15:40:04] Production.ERROR: CronJob ID - 5
[2025-02-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 15:40:00
[2025-02-09 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 15:40:04] Production.ERROR: CronJob PID - 11326
[2025-02-09 15:40:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 15:40:04] Production.ERROR: CronJob ID - 7
[2025-02-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 15:40:00
[2025-02-09 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 15:40:04] Production.ERROR: CronJob PID - 11330
[2025-02-09 15:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 15:40:04] Production.ERROR: CronJob ID - 12
[2025-02-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 15:40:00
[2025-02-09 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 15:40:04] Production.INFO: ==11334== Lock acquired, processing the job...
[2025-02-09 15:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 15:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 15:40:04] Production.INFO: Account Balance Start.
[2025-02-09 15:40:04] Production.INFO: ==11322== Releasing lock...
[2025-02-09 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 15:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 15:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:40:04] Production.INFO: 117
[2025-02-09 15:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:40:04] Production.INFO: ==11332== Lock acquired, processing the job...
[2025-02-09 15:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:40:04] Production.INFO: ==11336== Lock acquired, processing the job...
[2025-02-09 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:40:04] Production.INFO: ==11326== Releasing lock...
[2025-02-09 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:40:04] Production.INFO: Total Charge 0
[2025-02-09 15:40:04] Production.INFO: CreateAllLog End
[2025-02-09 15:40:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:40:05] Production.INFO: count ==21
[2025-02-09 15:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:40:05] Production.INFO: count ==21
[2025-02-09 15:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14438035') start
[2025-02-09 15:40:05] Production.ERROR: done
[2025-02-09 15:40:05] Production.INFO: Account Balance End.
[2025-02-09 15:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 15:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438036', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 15:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 15:40:05] Production.INFO: ==11330== Releasing lock...
[2025-02-09 15:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14438035') end
[2025-02-09 15:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:40:05] Production.INFO: 1
[2025-02-09 15:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:40:05] Production.INFO: ==11336== Releasing lock...
[2025-02-09 15:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:40:05] Production.ERROR: done
[2025-02-09 15:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:40:05] Production.ERROR: done
[2025-02-09 15:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:40:06
[end_date_ymd] => 2025-02-09 15:40:06
[RateCDR] => 1
)
[2025-02-09 15:40: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-02-09 12:40:06' and `end` < '2025-02-09 15:40: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-02-09 15:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438036', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 15:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 15:40:09] Production.INFO: ProcessCDR(1,14438036,1,1,2)
[2025-02-09 15:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14438036,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14438036,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:40:09] Production.INFO: ==11334== Releasing lock...
[2025-02-09 15:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 15:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 15:40:14] Production.ERROR: CronJobId end10
[2025-02-09 15:40:14] Production.INFO: ==11328== Releasing lock...
[2025-02-09 15:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:40:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:40:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:40:16] Production.INFO: call_cost start
[2025-02-09 15:40:16] Production.INFO: call_cost end
[2025-02-09 15:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:40:17] Production.INFO: ==11324== Releasing lock...
[2025-02-09 15:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:40:19] Production.INFO: count ==1411
[2025-02-09 15:40:20] Production.ERROR: pbx CDR StartTime 2025-02-09 12:40:06 - End Time 2025-02-09 15:40:06
[2025-02-09 15:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438037', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438037', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438037', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438037', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:40:20] Production.INFO: ProcessCDR(1,14438037,1,1,2)
[2025-02-09 15:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438037', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438037', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:40:24] Production.INFO: ==11332== Releasing lock...
[2025-02-09 15:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:40:24] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 20:41:01] Production.INFO: ==11391== Lock acquired, processing the job...
[2025-02-09 20:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:41:01] Production.INFO: neon service started
[2025-02-09 20:41:01] Production.INFO: neon service started
[2025-02-09 20:41:01] Production.INFO: ==11391== Releasing lock...
[2025-02-09 20:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:41:02] Production.INFO: ==11393== Lock acquired, processing the job...
[2025-02-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:41:02] Production.INFO: ==11395== Lock acquired, processing the job...
[2025-02-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:41:02] Production.INFO: ==11393== Releasing lock...
[2025-02-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:41:02] Production.INFO: ==11395== Releasing lock...
[2025-02-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:41:03] Production.INFO: ==11398== Lock acquired, processing the job...
[2025-02-09 15:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:41:03] Production.INFO: ==11400== Lock acquired, processing the job...
[2025-02-09 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:41:03] Production.INFO: ==11402== Lock acquired, processing the job...
[2025-02-09 15:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:41:03] Production.INFO: ==11404== Lock acquired, processing the job...
[2025-02-09 15:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:41:03] Production.INFO: ==11406== Lock acquired, processing the job...
[2025-02-09 15:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:41:03] Production.INFO: ==11408== Lock acquired, processing the job...
[2025-02-09 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:41:03] Production.INFO: Account Balance Start.
[2025-02-09 15:41:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:41:03] Production.INFO: 117
[2025-02-09 15:41:03] Production.INFO: ==11400== Releasing lock...
[2025-02-09 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:41:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:41:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:41:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:41:03] Production.INFO: count ==21
[2025-02-09 15:41:03] Production.ERROR: done
[2025-02-09 15:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:41:03] Production.INFO: count ==21
[2025-02-09 15:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438041') start
[2025-02-09 15:41:03] Production.INFO: Total Charge 0
[2025-02-09 15:41:03] Production.INFO: CreateAllLog End
[2025-02-09 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438041') end
[2025-02-09 15:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:41:03] Production.INFO: 1
[2025-02-09 15:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:41:03] Production.ERROR: done
[2025-02-09 15:41:04] Production.INFO: ==11408== Releasing lock...
[2025-02-09 15:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:41:04] Production.INFO: Account Balance End.
[2025-02-09 15:41:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:41:04] Production.INFO: ==11404== Releasing lock...
[2025-02-09 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:41:05
[end_date_ymd] => 2025-02-09 15:41:05
[RateCDR] => 1
)
[2025-02-09 15:41: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` >= '2025-02-09 12:41:05' and `end` < '2025-02-09 15:41: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 ,'')
[2025-02-09 15:41:11] Production.ERROR: CronJobId end10
[2025-02-09 15:41:11] Production.INFO: ==11402== Releasing lock...
[2025-02-09 15:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:41:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:41:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:41:13] Production.INFO: call_cost start
[2025-02-09 15:41:13] Production.INFO: call_cost end
[2025-02-09 15:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:41:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:41:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:41:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:41:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:41:14] Production.INFO: ==11398== Releasing lock...
[2025-02-09 15:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:41:18] Production.INFO: count ==1391
[2025-02-09 15:41:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:41:05 - End Time 2025-02-09 15:41:05
[2025-02-09 15:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438042', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438042', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438042', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438042', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:41:18] Production.INFO: ProcessCDR(1,14438042,1,1,2)
[2025-02-09 15:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438042', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438042', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:41:21] Production.INFO: ==11406== Releasing lock...
[2025-02-09 15:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:41:21] Production.INFO: 38.5 MB #Memory Used#
[2025-02-09 20:42:02] Production.INFO: ==11463== Lock acquired, processing the job...
[2025-02-09 20:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:42:02] Production.INFO: neon service started
[2025-02-09 20:42:02] Production.INFO: neon service started
[2025-02-09 20:42:02] Production.INFO: ==11463== Releasing lock...
[2025-02-09 20:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:42:02] Production.INFO: ==11465== Lock acquired, processing the job...
[2025-02-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:42:02] Production.INFO: ==11465== Releasing lock...
[2025-02-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:42:03] Production.INFO: ==11468== Lock acquired, processing the job...
[2025-02-09 20:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:42:03] Production.INFO: ==11468== Releasing lock...
[2025-02-09 20:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:42:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:42:03] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-02-09 15:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:42:03] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-02-09 15:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:42:04] Production.INFO: ==11471== Lock acquired, processing the job...
[2025-02-09 15:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:42:04] Production.INFO: ==11473== Lock acquired, processing the job...
[2025-02-09 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:42:04] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-02-09 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:42:04] Production.INFO: ==11481== Lock acquired, processing the job...
[2025-02-09 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:42:04] Production.INFO: Account Balance Start.
[2025-02-09 15:42:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:42:04] Production.INFO: 117
[2025-02-09 15:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:42:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:42:04] Production.INFO: count ==21
[2025-02-09 15:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:42:04] Production.INFO: count ==21
[2025-02-09 15:42:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438046') start
[2025-02-09 15:42:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:42:04] Production.ERROR: done
[2025-02-09 15:42:04] Production.INFO: Total Charge 0
[2025-02-09 15:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438046') end
[2025-02-09 15:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:42:04] Production.INFO: 1
[2025-02-09 15:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:42:04] Production.INFO: CreateAllLog End
[2025-02-09 15:42:04] Production.INFO: ==11473== Releasing lock...
[2025-02-09 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:42:04] Production.INFO: ==11481== Releasing lock...
[2025-02-09 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:42:04] Production.ERROR: done
[2025-02-09 15:42:04] Production.INFO: Account Balance End.
[2025-02-09 15:42:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:42:04] Production.INFO: ==11477== Releasing lock...
[2025-02-09 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:42:05
[end_date_ymd] => 2025-02-09 15:42:05
[RateCDR] => 1
)
[2025-02-09 15:42: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` >= '2025-02-09 12:42:05' and `end` < '2025-02-09 15:42: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 ,'')
[2025-02-09 15:42:12] Production.ERROR: CronJobId end10
[2025-02-09 15:42:12] Production.INFO: ==11475== Releasing lock...
[2025-02-09 15:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:42:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:42:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:42:15] Production.INFO: call_cost start
[2025-02-09 15:42:15] Production.INFO: call_cost end
[2025-02-09 15:42:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:42:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:42:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:42:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:42:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:42:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:42:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:42:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:42:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:42:16] Production.INFO: ==11471== Releasing lock...
[2025-02-09 15:42:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:42:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:42:18] Production.INFO: count ==1384
[2025-02-09 15:42:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:42:05 - End Time 2025-02-09 15:42:05
[2025-02-09 15:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438047', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438047', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438047', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438047', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:42:19] Production.INFO: ProcessCDR(1,14438047,1,1,2)
[2025-02-09 15:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438047', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438047', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:42:22] Production.INFO: ==11479== Releasing lock...
[2025-02-09 15:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:42:22] Production.INFO: 38.5 MB #Memory Used#
[2025-02-09 20:43:01] Production.INFO: ==11540== Lock acquired, processing the job...
[2025-02-09 20:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:43:01] Production.INFO: neon service started
[2025-02-09 20:43:01] Production.INFO: neon service started
[2025-02-09 20:43:01] Production.INFO: ==11540== Releasing lock...
[2025-02-09 20:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:43:02] Production.INFO: ==11542== Lock acquired, processing the job...
[2025-02-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:43:02] Production.INFO: ==11542== Releasing lock...
[2025-02-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:43:02] Production.INFO: ==11544== Lock acquired, processing the job...
[2025-02-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:43:02] Production.INFO: ==11544== Releasing lock...
[2025-02-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:43:03] Production.INFO: ==11552== Lock acquired, processing the job...
[2025-02-09 15:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:43:03] Production.INFO: Account Balance Start.
[2025-02-09 15:43:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:43:03] Production.INFO: ==11554== Lock acquired, processing the job...
[2025-02-09 15:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:43:03] Production.INFO: 117
[2025-02-09 15:43:03] Production.INFO: ==11546== Lock acquired, processing the job...
[2025-02-09 15:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:43:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:43:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:43:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:43:03] Production.INFO: Total Charge 0
[2025-02-09 15:43:03] Production.INFO: ==11548== Lock acquired, processing the job...
[2025-02-09 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:43:03] Production.INFO: CreateAllLog End
[2025-02-09 15:43:03] Production.INFO: ==11556== Lock acquired, processing the job...
[2025-02-09 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:43:03] Production.INFO: ==11550== Lock acquired, processing the job...
[2025-02-09 15:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:43:03] Production.INFO: count ==21
[2025-02-09 15:43:03] Production.INFO: Account Balance End.
[2025-02-09 15:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:43:03] Production.INFO: count ==21
[2025-02-09 15:43:03] Production.ERROR: done
[2025-02-09 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438051') start
[2025-02-09 15:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:43:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:43:03] Production.INFO: ==11552== Releasing lock...
[2025-02-09 15:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:43:03] Production.INFO: ==11548== Releasing lock...
[2025-02-09 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438051') end
[2025-02-09 15:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:43:03] Production.INFO: 1
[2025-02-09 15:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:43:04] Production.ERROR: done
[2025-02-09 15:43:04] Production.INFO: ==11556== Releasing lock...
[2025-02-09 15:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:43:05
[end_date_ymd] => 2025-02-09 15:43:05
[RateCDR] => 1
)
[2025-02-09 15:43: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` >= '2025-02-09 12:43:05' and `end` < '2025-02-09 15:43: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 ,'')
[2025-02-09 15:43:12] Production.ERROR: CronJobId end10
[2025-02-09 15:43:12] Production.INFO: ==11550== Releasing lock...
[2025-02-09 15:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:43:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:43:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:43:14] Production.INFO: call_cost start
[2025-02-09 15:43:14] Production.INFO: call_cost end
[2025-02-09 15:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:43:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:43:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:43:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:43:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:43:14] Production.INFO: ==11546== Releasing lock...
[2025-02-09 15:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:43:18] Production.INFO: count ==1383
[2025-02-09 15:43:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:43:05 - End Time 2025-02-09 15:43:05
[2025-02-09 15:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438052', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438052', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438052', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438052', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:43:18] Production.INFO: ProcessCDR(1,14438052,1,1,2)
[2025-02-09 15:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438052', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438052', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:43:21] Production.INFO: ==11554== Releasing lock...
[2025-02-09 15:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:43:21] Production.INFO: 39 MB #Memory Used#
[2025-02-09 20:44:02] Production.INFO: ==11613== Lock acquired, processing the job...
[2025-02-09 20:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:44:02] Production.INFO: neon service started
[2025-02-09 20:44:02] Production.INFO: neon service started
[2025-02-09 20:44:02] Production.INFO: ==11613== Releasing lock...
[2025-02-09 20:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:44:02] Production.INFO: ==11617== Lock acquired, processing the job...
[2025-02-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:44:02] Production.INFO: ==11617== Releasing lock...
[2025-02-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:44:02] Production.INFO: ==11615== Lock acquired, processing the job...
[2025-02-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:44:03] Production.INFO: ==11615== Releasing lock...
[2025-02-09 15:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:44:03] Production.INFO: ==11623== Lock acquired, processing the job...
[2025-02-09 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:44:04] Production.INFO: ==11626== Lock acquired, processing the job...
[2025-02-09 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:44:04] Production.INFO: ==11619== Lock acquired, processing the job...
[2025-02-09 15:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:44:04] Production.INFO: ==11621== Lock acquired, processing the job...
[2025-02-09 15:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:44:04] Production.INFO: Account Balance Start.
[2025-02-09 15:44:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:44:04] Production.INFO: 117
[2025-02-09 15:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:44:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:44:04] Production.INFO: ==11628== Lock acquired, processing the job...
[2025-02-09 15:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:44:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:44:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:44:04] Production.INFO: ==11630== Lock acquired, processing the job...
[2025-02-09 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:44:04] Production.INFO: Total Charge 0
[2025-02-09 15:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:44:04] Production.INFO: CreateAllLog End
[2025-02-09 15:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:44:04] Production.INFO: count ==21
[2025-02-09 15:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:44:04] Production.INFO: ==11621== Releasing lock...
[2025-02-09 15:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:44:04] Production.INFO: count ==21
[2025-02-09 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438056') start
[2025-02-09 15:44:04] Production.INFO: Account Balance End.
[2025-02-09 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438056') end
[2025-02-09 15:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:44:04] Production.INFO: 1
[2025-02-09 15:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:44:04] Production.INFO: ==11626== Releasing lock...
[2025-02-09 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:44:04] Production.INFO: ==11630== Releasing lock...
[2025-02-09 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:44:04] Production.ERROR: done
[2025-02-09 15:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:44:05] Production.ERROR: done
[2025-02-09 15:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:44:05
[end_date_ymd] => 2025-02-09 15:44:05
[RateCDR] => 1
)
[2025-02-09 15:44: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` >= '2025-02-09 12:44:05' and `end` < '2025-02-09 15:44: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 ,'')
[2025-02-09 15:44:12] Production.ERROR: CronJobId end10
[2025-02-09 15:44:12] Production.INFO: ==11623== Releasing lock...
[2025-02-09 15:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:44:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:44:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:44:15] Production.INFO: call_cost start
[2025-02-09 15:44:15] Production.INFO: call_cost end
[2025-02-09 15:44:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:44:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:44:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:44:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:44:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:44:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:44:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:44:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:44:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:44:16] Production.INFO: ==11619== Releasing lock...
[2025-02-09 15:44:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:44:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:44:19] Production.INFO: count ==1383
[2025-02-09 15:44:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:44:05 - End Time 2025-02-09 15:44:05
[2025-02-09 15:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438057', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438057', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438057', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438057', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:44:19] Production.INFO: ProcessCDR(1,14438057,1,1,2)
[2025-02-09 15:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438057', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438057', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:44:22] Production.INFO: ==11628== Releasing lock...
[2025-02-09 15:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:44:22] Production.INFO: 39 MB #Memory Used#
[2025-02-09 20:45:01] Production.INFO: ==11683== Lock acquired, processing the job...
[2025-02-09 20:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:45:01] Production.INFO: neon service started
[2025-02-09 20:45:01] Production.INFO: neon service started
[2025-02-09 20:45:01] Production.INFO: ==11683== Releasing lock...
[2025-02-09 20:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:45:01] Production.INFO: ==11685== Lock acquired, processing the job...
[2025-02-09 15:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:45:02] Production.INFO: ==11685== Releasing lock...
[2025-02-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:45:02] Production.INFO: ==11687== Lock acquired, processing the job...
[2025-02-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:45:02] Production.INFO: ==11687== Releasing lock...
[2025-02-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:45:03] Production.INFO: ==11690== Lock acquired, processing the job...
[2025-02-09 15:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:45:03] Production.INFO: ==11696== Lock acquired, processing the job...
[2025-02-09 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:45:03] Production.INFO: ==11692== Lock acquired, processing the job...
[2025-02-09 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:45:03] Production.INFO: ==11698== Lock acquired, processing the job...
[2025-02-09 15:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:45:03] Production.INFO: Account Balance Start.
[2025-02-09 15:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:45:03] Production.INFO: 117
[2025-02-09 15:45:03] Production.INFO: ==11694== Lock acquired, processing the job...
[2025-02-09 15:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:45:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:45:03] Production.INFO: Total Charge 0
[2025-02-09 15:45:03] Production.INFO: CreateAllLog End
[2025-02-09 15:45:03] Production.INFO: ==11700== Lock acquired, processing the job...
[2025-02-09 15:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:45:03] Production.INFO: ==11692== Releasing lock...
[2025-02-09 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:45:03] Production.ERROR: done
[2025-02-09 15:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:45:03] Production.INFO: Account Balance End.
[2025-02-09 15:45:03] Production.INFO: count ==21
[2025-02-09 15:45:03] Production.ERROR: done
[2025-02-09 15:45:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:45:03] Production.INFO: ==11696== Releasing lock...
[2025-02-09 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:45:03] Production.INFO: count ==21
[2025-02-09 15:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438061') start
[2025-02-09 15:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438061') end
[2025-02-09 15:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:45:04] Production.INFO: 1
[2025-02-09 15:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:45:04] Production.INFO: ==11700== Releasing lock...
[2025-02-09 15:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:45:04
[end_date_ymd] => 2025-02-09 15:45:04
[RateCDR] => 1
)
[2025-02-09 15:45:04] 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-02-09 12:45:04' and `end` < '2025-02-09 15:45:04'
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-02-09 15:45:12] Production.ERROR: CronJobId end10
[2025-02-09 15:45:12] Production.INFO: ==11694== Releasing lock...
[2025-02-09 15:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:45:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:45:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:45:14] Production.INFO: call_cost start
[2025-02-09 15:45:14] Production.INFO: call_cost end
[2025-02-09 15:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:45:15] Production.INFO: ==11690== Releasing lock...
[2025-02-09 15:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:45:17] Production.INFO: count ==1379
[2025-02-09 15:45:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:45:04 - End Time 2025-02-09 15:45:04
[2025-02-09 15:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438062', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438062', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438062', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438062', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:45:18] Production.INFO: ProcessCDR(1,14438062,1,1,2)
[2025-02-09 15:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438062', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438062', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:45:22] Production.INFO: ==11698== Releasing lock...
[2025-02-09 15:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:45:22] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 20:46:02] Production.INFO: ==11755== Lock acquired, processing the job...
[2025-02-09 20:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:46:02] Production.INFO: neon service started
[2025-02-09 20:46:02] Production.INFO: neon service started
[2025-02-09 20:46:02] Production.INFO: ==11755== Releasing lock...
[2025-02-09 20:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:46:02] Production.INFO: ==11757== Lock acquired, processing the job...
[2025-02-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:46:02] Production.INFO: ==11757== Releasing lock...
[2025-02-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:46:02] Production.INFO: ==11759== Lock acquired, processing the job...
[2025-02-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:46:03] Production.INFO: ==11759== Releasing lock...
[2025-02-09 20:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:46:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:46:03] Production.INFO: ==11762== Lock acquired, processing the job...
[2025-02-09 15:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:46:03] Production.INFO: ==11764== Lock acquired, processing the job...
[2025-02-09 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:46:03] Production.INFO: ==11770== Lock acquired, processing the job...
[2025-02-09 15:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:46:04] Production.INFO: ==11766== Lock acquired, processing the job...
[2025-02-09 15:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:46:04] Production.INFO: ==11768== Lock acquired, processing the job...
[2025-02-09 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:46:04] Production.INFO: ==11764== Releasing lock...
[2025-02-09 15:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:46:04] Production.INFO: ==11772== Lock acquired, processing the job...
[2025-02-09 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:46:04] Production.INFO: Account Balance Start.
[2025-02-09 15:46:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:46:04] Production.INFO: 117
[2025-02-09 15:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:46:04] Production.ERROR: done
[2025-02-09 15:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:46:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:46:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:46:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:46:04] Production.INFO: Total Charge 0
[2025-02-09 15:46:04] Production.INFO: count ==21
[2025-02-09 15:46:04] Production.INFO: CreateAllLog End
[2025-02-09 15:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:46:04] Production.INFO: count ==21
[2025-02-09 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438066') start
[2025-02-09 15:46:04] Production.ERROR: done
[2025-02-09 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438066') end
[2025-02-09 15:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:46:04] Production.INFO: 1
[2025-02-09 15:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:46:04] Production.INFO: Account Balance End.
[2025-02-09 15:46:04] Production.INFO: ==11772== Releasing lock...
[2025-02-09 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:46:04] Production.INFO: ==11768== Releasing lock...
[2025-02-09 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:46:05
[end_date_ymd] => 2025-02-09 15:46:05
[RateCDR] => 1
)
[2025-02-09 15:46: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` >= '2025-02-09 12:46:05' and `end` < '2025-02-09 15:46: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 ,'')
[2025-02-09 15:46:11] Production.ERROR: CronJobId end10
[2025-02-09 15:46:11] Production.INFO: ==11766== Releasing lock...
[2025-02-09 15:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:46:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:46:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:46:14] Production.INFO: call_cost start
[2025-02-09 15:46:14] Production.INFO: call_cost end
[2025-02-09 15:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:46:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:46:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:46:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:46:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:46:15] Production.INFO: ==11762== Releasing lock...
[2025-02-09 15:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:46:18] Production.INFO: count ==1379
[2025-02-09 15:46:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:46:05 - End Time 2025-02-09 15:46:05
[2025-02-09 15:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438067', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438067', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438067', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438067', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:46:19] Production.INFO: ProcessCDR(1,14438067,1,1,2)
[2025-02-09 15:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438067', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438067', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:46:24] Production.INFO: ==11770== Releasing lock...
[2025-02-09 15:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:46:24] Production.INFO: 39 MB #Memory Used#
[2025-02-09 20:47:01] Production.INFO: ==11825== Lock acquired, processing the job...
[2025-02-09 20:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:47:01] Production.INFO: neon service started
[2025-02-09 20:47:01] Production.INFO: neon service started
[2025-02-09 20:47:01] Production.INFO: ==11825== Releasing lock...
[2025-02-09 20:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:47:02] Production.INFO: ==11827== Lock acquired, processing the job...
[2025-02-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:47:02] Production.INFO: ==11829== Lock acquired, processing the job...
[2025-02-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 15:47:02] Production.INFO: ==11827== Releasing lock...
[2025-02-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:47:02] Production.INFO: ==11829== Releasing lock...
[2025-02-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:47:03] Production.INFO: ==11837== Lock acquired, processing the job...
[2025-02-09 15:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:47:03] Production.INFO: Account Balance Start.
[2025-02-09 15:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:47:03] Production.INFO: 117
[2025-02-09 15:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:47:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:47:03] Production.INFO: ==11831== Lock acquired, processing the job...
[2025-02-09 15:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:47:03] Production.INFO: Total Charge 0
[2025-02-09 15:47:03] Production.INFO: CreateAllLog End
[2025-02-09 15:47:03] Production.INFO: ==11840== Lock acquired, processing the job...
[2025-02-09 15:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:47:03] Production.INFO: ==11833== Lock acquired, processing the job...
[2025-02-09 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:47:03] Production.INFO: ==11835== Lock acquired, processing the job...
[2025-02-09 15:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:47:03] Production.INFO: Account Balance End.
[2025-02-09 15:47:03] Production.INFO: ==11842== Lock acquired, processing the job...
[2025-02-09 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:47:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:47:03] Production.INFO: ==11837== Releasing lock...
[2025-02-09 15:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:47:03] Production.INFO: ==11833== Releasing lock...
[2025-02-09 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:47:03] Production.INFO: count ==21
[2025-02-09 15:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:47:03] Production.INFO: count ==21
[2025-02-09 15:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438071') start
[2025-02-09 15:47:03] Production.ERROR: done
[2025-02-09 15:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438071') end
[2025-02-09 15:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:47:04] Production.INFO: 1
[2025-02-09 15:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:47:04] Production.ERROR: done
[2025-02-09 15:47:04] Production.INFO: ==11842== Releasing lock...
[2025-02-09 15:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:47:05
[end_date_ymd] => 2025-02-09 15:47:05
[RateCDR] => 1
)
[2025-02-09 15:47: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` >= '2025-02-09 12:47:05' and `end` < '2025-02-09 15:47: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 ,'')
[2025-02-09 15:47:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-02-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-02-09 15:47:11] Production.ERROR: CronJobId end10
[2025-02-09 15:47:11] Production.INFO: ==11835== Releasing lock...
[2025-02-09 15:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:47:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:47:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:47:14] Production.INFO: call_cost start
[2025-02-09 15:47:14] Production.INFO: call_cost end
[2025-02-09 15:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:47:15] Production.INFO: ==11831== Releasing lock...
[2025-02-09 15:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:47:18] Production.INFO: count ==1359
[2025-02-09 15:47:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:47:05 - End Time 2025-02-09 15:47:05
[2025-02-09 15:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438072', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438072', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438072', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438072', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:47:18] Production.INFO: ProcessCDR(1,14438072,1,1,2)
[2025-02-09 15:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438072', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438072', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:47:21] Production.INFO: ==11840== Releasing lock...
[2025-02-09 15:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:47:21] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 20:48:02] Production.INFO: ==11902== Lock acquired, processing the job...
[2025-02-09 20:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:48:02] Production.INFO: neon service started
[2025-02-09 20:48:02] Production.INFO: neon service started
[2025-02-09 20:48:02] Production.INFO: ==11902== Releasing lock...
[2025-02-09 20:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:48:02] Production.INFO: ==11905== Lock acquired, processing the job...
[2025-02-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:48:02] Production.INFO: ==11905== Releasing lock...
[2025-02-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:48:02] Production.INFO: ==11907== Lock acquired, processing the job...
[2025-02-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:48:02] Production.INFO: ==11907== Releasing lock...
[2025-02-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:48:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:48:03] Production.INFO: ==11915== Lock acquired, processing the job...
[2025-02-09 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:48:03] Production.INFO: ==11909== Lock acquired, processing the job...
[2025-02-09 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:48:03] Production.INFO: ==11919== Lock acquired, processing the job...
[2025-02-09 15:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:48:03] Production.INFO: ==11911== Lock acquired, processing the job...
[2025-02-09 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:48:03] Production.INFO: Account Balance Start.
[2025-02-09 15:48:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:48:03] Production.INFO: 117
[2025-02-09 15:48:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:48:03] Production.INFO: ==11913== Lock acquired, processing the job...
[2025-02-09 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:48:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:48:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:48:03] Production.INFO: ==11917== Lock acquired, processing the job...
[2025-02-09 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:48:03] Production.INFO: Total Charge 0
[2025-02-09 15:48:03] Production.INFO: count ==21
[2025-02-09 15:48:03] Production.INFO: CreateAllLog End
[2025-02-09 15:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:48:03] Production.INFO: count ==21
[2025-02-09 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438076') start
[2025-02-09 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438076') end
[2025-02-09 15:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:48:04] Production.INFO: 1
[2025-02-09 15:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:48:04] Production.INFO: ==11919== Releasing lock...
[2025-02-09 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:48:04] Production.INFO: ==11911== Releasing lock...
[2025-02-09 15:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:48:04] Production.ERROR: done
[2025-02-09 15:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:48:04] Production.INFO: Account Balance End.
[2025-02-09 15:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:48:04] Production.INFO: ==11915== Releasing lock...
[2025-02-09 15:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:48:04] Production.ERROR: done
[2025-02-09 15:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:48:05
[end_date_ymd] => 2025-02-09 15:48:05
[RateCDR] => 1
)
[2025-02-09 15:48: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` >= '2025-02-09 12:48:05' and `end` < '2025-02-09 15:48: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 ,'')
[2025-02-09 15:48:11] Production.ERROR: CronJobId end10
[2025-02-09 15:48:11] Production.INFO: ==11913== Releasing lock...
[2025-02-09 15:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:48:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:48:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:48:13] Production.INFO: call_cost start
[2025-02-09 15:48:14] Production.INFO: call_cost end
[2025-02-09 15:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:48:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:48:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:48:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:48:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:48:14] Production.INFO: ==11909== Releasing lock...
[2025-02-09 15:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:48:18] Production.INFO: count ==1350
[2025-02-09 15:48:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:48:05 - End Time 2025-02-09 15:48:05
[2025-02-09 15:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438077', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438077', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438077', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438077', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:48:19] Production.INFO: ProcessCDR(1,14438077,1,1,2)
[2025-02-09 15:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438077', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438077', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:48:22] Production.INFO: ==11917== Releasing lock...
[2025-02-09 15:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:48:22] Production.INFO: 38.5 MB #Memory Used#
[2025-02-09 20:49:01] Production.INFO: ==12012== Lock acquired, processing the job...
[2025-02-09 20:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:49:01] Production.INFO: neon service started
[2025-02-09 20:49:01] Production.INFO: neon service started
[2025-02-09 20:49:01] Production.INFO: ==12012== Releasing lock...
[2025-02-09 20:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:49:01] Production.INFO: ==12014== Lock acquired, processing the job...
[2025-02-09 15:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:49:02] Production.INFO: ==12014== Releasing lock...
[2025-02-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:49:02] Production.INFO: ==12016== Lock acquired, processing the job...
[2025-02-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:49:02] Production.INFO: ==12016== Releasing lock...
[2025-02-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:49:02] Production.INFO: ==12021== Lock acquired, processing the job...
[2025-02-09 15:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:49:03] Production.INFO: ==12023== Lock acquired, processing the job...
[2025-02-09 15:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:49:03] Production.INFO: ==12025== Lock acquired, processing the job...
[2025-02-09 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:49:03] Production.INFO: ==12019== Lock acquired, processing the job...
[2025-02-09 15:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:49:03] Production.INFO: Account Balance Start.
[2025-02-09 15:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:49:03] Production.INFO: 117
[2025-02-09 15:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:49:03] Production.INFO: ==12021== Releasing lock...
[2025-02-09 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:49:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:49:03] Production.INFO: ==12027== Lock acquired, processing the job...
[2025-02-09 15:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:49:03] Production.INFO: ==12029== Lock acquired, processing the job...
[2025-02-09 15:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:49:03] Production.INFO: Total Charge 0
[2025-02-09 15:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:49:03] Production.INFO: CreateAllLog End
[2025-02-09 15:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:49:03] Production.INFO: count ==21
[2025-02-09 15:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:49:03] Production.INFO: count ==21
[2025-02-09 15:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438081') start
[2025-02-09 15:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438081') end
[2025-02-09 15:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:49:03] Production.INFO: 1
[2025-02-09 15:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:49:03] Production.INFO: Account Balance End.
[2025-02-09 15:49:03] Production.INFO: ==12029== Releasing lock...
[2025-02-09 15:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:49:03] Production.ERROR: done
[2025-02-09 15:49:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:49:03] Production.INFO: ==12025== Releasing lock...
[2025-02-09 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:49:04] Production.ERROR: done
[2025-02-09 15:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:49:05
[end_date_ymd] => 2025-02-09 15:49:05
[RateCDR] => 1
)
[2025-02-09 15:49: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` >= '2025-02-09 12:49:05' and `end` < '2025-02-09 15:49: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 ,'')
[2025-02-09 15:49:10] Production.ERROR: CronJobId end10
[2025-02-09 15:49:10] Production.INFO: ==12023== Releasing lock...
[2025-02-09 15:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:49:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:49:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:49:13] Production.INFO: call_cost start
[2025-02-09 15:49:13] Production.INFO: call_cost end
[2025-02-09 15:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:49:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:49:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:49:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:49:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:49:14] Production.INFO: ==12019== Releasing lock...
[2025-02-09 15:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:49:18] Production.INFO: count ==1341
[2025-02-09 15:49:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:49:05 - End Time 2025-02-09 15:49:05
[2025-02-09 15:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438082', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438082', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438082', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438082', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:49:18] Production.INFO: ProcessCDR(1,14438082,1,1,2)
[2025-02-09 15:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438082', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438082', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:49:21] Production.INFO: ==12027== Releasing lock...
[2025-02-09 15:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:49:21] Production.INFO: 38.5 MB #Memory Used#
[2025-02-09 20:50:02] Production.INFO: ==12091== Lock acquired, processing the job...
[2025-02-09 20:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:50:02] Production.INFO: neon service started
[2025-02-09 20:50:02] Production.INFO: neon service started
[2025-02-09 20:50:02] Production.INFO: ==12091== Releasing lock...
[2025-02-09 20:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:50:02] Production.INFO: ==12093== Lock acquired, processing the job...
[2025-02-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:50:02] Production.INFO: ==12093== Releasing lock...
[2025-02-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:50:03] Production.INFO: ==12095== Lock acquired, processing the job...
[2025-02-09 20:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:50:03] Production.INFO: ==12095== Releasing lock...
[2025-02-09 20:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:50:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:50:04] Production.INFO: ==12106== Lock acquired, processing the job...
[2025-02-09 15:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:50:04] Production.INFO: ==12098== Lock acquired, processing the job...
[2025-02-09 15:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 15:50:04] Production.INFO: ==12108== Lock acquired, processing the job...
[2025-02-09 15:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 15:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 15:50:04] Production.ERROR: CronJob PID - 12106
[2025-02-09 15:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 15:50:04] Production.ERROR: CronJob ID - 12
[2025-02-09 15:50:04] Production.ERROR: CronJob Last Run Time 2025-02-09 15:50:00
[2025-02-09 15:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 15:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 15:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 15:50:04] Production.ERROR: CronJob PID - 12108
[2025-02-09 15:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 15:50:04] Production.ERROR: CronJob ID - 16
[2025-02-09 15:50:04] Production.ERROR: CronJob Last Run Time 2025-02-09 15:50:00
[2025-02-09 15:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 15:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 15:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 15:50:04] Production.INFO: ==12098== Releasing lock...
[2025-02-09 15:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 15:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:50:04] Production.INFO: ==12112== Lock acquired, processing the job...
[2025-02-09 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:50:04] Production.INFO: Account Balance Start.
[2025-02-09 15:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:50:04] Production.INFO: ==12100== Lock acquired, processing the job...
[2025-02-09 15:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:50:04] Production.INFO: ==12102== Lock acquired, processing the job...
[2025-02-09 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:50:04] Production.INFO: 117
[2025-02-09 15:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:50:04] Production.INFO: ==12104== Lock acquired, processing the job...
[2025-02-09 15:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:50:04] Production.INFO: ==12110== Lock acquired, processing the job...
[2025-02-09 15:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 15:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:50:04] Production.INFO: count ==21
[2025-02-09 15:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:50:04] Production.INFO: count ==21
[2025-02-09 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438084') start
[2025-02-09 15:50:04] Production.INFO: Total Charge 0
[2025-02-09 15:50:04] Production.INFO: CreateAllLog End
[2025-02-09 15:50:04] Production.ERROR: done
[2025-02-09 15:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438084') end
[2025-02-09 15:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:50:04] Production.INFO: 1
[2025-02-09 15:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:50:04] Production.INFO: ==12102== Releasing lock...
[2025-02-09 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:50:04] Production.INFO: ==12112== Releasing lock...
[2025-02-09 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:50:04] Production.ERROR: done
[2025-02-09 15:50:05] Production.ERROR: done
[2025-02-09 15:50:05] Production.INFO: Account Balance End.
[2025-02-09 15:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 15:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438088', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 15:50:05] Production.ERROR: CronJobId end 12
[2025-02-09 15:50:05] Production.INFO: ==12106== Releasing lock...
[2025-02-09 15:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:50:06
[end_date_ymd] => 2025-02-09 15:50:06
[RateCDR] => 1
)
[2025-02-09 15:50: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-02-09 12:50:06' and `end` < '2025-02-09 15:50: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-02-09 15:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438088', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 15:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 15:50:09] Production.INFO: ProcessCDR(1,14438088,1,1,2)
[2025-02-09 15:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14438088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14438088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:50:09] Production.INFO: ==12110== Releasing lock...
[2025-02-09 15:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 15:50:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 15:50:14] Production.ERROR: CronJobId end10
[2025-02-09 15:50:14] Production.INFO: ==12104== Releasing lock...
[2025-02-09 15:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:50:16] Production.INFO: call_cost start
[2025-02-09 15:50:16] Production.INFO: call_cost end
[2025-02-09 15:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:50:17] Production.INFO: ==12100== Releasing lock...
[2025-02-09 15:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:50:19] Production.INFO: count ==1330
[2025-02-09 15:50:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:50:06 - End Time 2025-02-09 15:50:06
[2025-02-09 15:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438087', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438087', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438087', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438087', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:50:19] Production.INFO: ProcessCDR(1,14438087,1,1,2)
[2025-02-09 15:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438087', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438087', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:50:22] Production.INFO: ==12108== Releasing lock...
[2025-02-09 15:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:50:22] Production.INFO: 38 MB #Memory Used#
[2025-02-09 20:51:01] Production.INFO: ==12166== Lock acquired, processing the job...
[2025-02-09 20:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:51:01] Production.INFO: neon service started
[2025-02-09 20:51:01] Production.INFO: neon service started
[2025-02-09 20:51:01] Production.INFO: ==12166== Releasing lock...
[2025-02-09 20:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:51:02] Production.INFO: ==12168== Lock acquired, processing the job...
[2025-02-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 20:51:02] Production.INFO: ==12170== Lock acquired, processing the job...
[2025-02-09 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:51:02] Production.INFO: ==12170== Releasing lock...
[2025-02-09 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:51:02] Production.INFO: ==12168== Releasing lock...
[2025-02-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:51:03] Production.INFO: ==12173== Lock acquired, processing the job...
[2025-02-09 15:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:51:03] Production.INFO: ==12177== Lock acquired, processing the job...
[2025-02-09 15:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:51:03] Production.INFO: ==12175== Lock acquired, processing the job...
[2025-02-09 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:51:03] Production.INFO: ==12175== Releasing lock...
[2025-02-09 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:51:03] Production.INFO: ==12179== Lock acquired, processing the job...
[2025-02-09 15:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:51:03] Production.INFO: ==12181== Lock acquired, processing the job...
[2025-02-09 15:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:51:03] Production.INFO: Account Balance Start.
[2025-02-09 15:51:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:51:03] Production.INFO: 117
[2025-02-09 15:51:03] Production.INFO: ==12183== Lock acquired, processing the job...
[2025-02-09 15:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:51:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:51:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:51:04] Production.INFO: Total Charge 0
[2025-02-09 15:51:04] Production.INFO: count ==21
[2025-02-09 15:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:51:04] Production.INFO: count ==21
[2025-02-09 15:51:04] Production.INFO: CreateAllLog End
[2025-02-09 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438092') start
[2025-02-09 15:51:04] Production.ERROR: done
[2025-02-09 15:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438092') end
[2025-02-09 15:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:51:04] Production.INFO: 1
[2025-02-09 15:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:51:04] Production.INFO: ==12183== Releasing lock...
[2025-02-09 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:51:04] Production.ERROR: done
[2025-02-09 15:51:04] Production.INFO: Account Balance End.
[2025-02-09 15:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:51:04] Production.INFO: ==12179== Releasing lock...
[2025-02-09 15:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:51:05
[end_date_ymd] => 2025-02-09 15:51:05
[RateCDR] => 1
)
[2025-02-09 15:51: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` >= '2025-02-09 12:51:05' and `end` < '2025-02-09 15:51: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 ,'')
[2025-02-09 15:51:12] Production.ERROR: CronJobId end10
[2025-02-09 15:51:12] Production.INFO: ==12177== Releasing lock...
[2025-02-09 15:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:51:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:51:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:51:14] Production.INFO: call_cost start
[2025-02-09 15:51:14] Production.INFO: call_cost end
[2025-02-09 15:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:51:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:51:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:51:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:51:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:51:15] Production.INFO: ==12173== Releasing lock...
[2025-02-09 15:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:51:19] Production.INFO: count ==1342
[2025-02-09 15:51:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:51:05 - End Time 2025-02-09 15:51:05
[2025-02-09 15:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438093', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438093', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438093', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438093', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:51:19] Production.INFO: ProcessCDR(1,14438093,1,1,2)
[2025-02-09 15:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:51:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:51:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438093', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438093', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:51:24] Production.INFO: ==12181== Releasing lock...
[2025-02-09 15:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:51:24] Production.INFO: 38.5 MB #Memory Used#
[2025-02-09 20:52:01] Production.INFO: ==12239== Lock acquired, processing the job...
[2025-02-09 20:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:52:02] Production.INFO: neon service started
[2025-02-09 20:52:02] Production.INFO: neon service started
[2025-02-09 20:52:02] Production.INFO: ==12239== Releasing lock...
[2025-02-09 20:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:52:02] Production.INFO: ==12243== Lock acquired, processing the job...
[2025-02-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:52:02] Production.INFO: ==12243== Releasing lock...
[2025-02-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:52:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:52:02] Production.INFO: ==12241== Lock acquired, processing the job...
[2025-02-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:52:02] Production.INFO: ==12241== Releasing lock...
[2025-02-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:52:03] Production.INFO: ==12247== Lock acquired, processing the job...
[2025-02-09 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:52:03] Production.INFO: ==12256== Lock acquired, processing the job...
[2025-02-09 15:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:52:03] Production.INFO: ==12245== Lock acquired, processing the job...
[2025-02-09 15:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:52:03] Production.INFO: count ==21
[2025-02-09 15:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:52:03] Production.INFO: count ==21
[2025-02-09 15:52:03] Production.INFO: ==12251== Lock acquired, processing the job...
[2025-02-09 15:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438095') start
[2025-02-09 15:52:03] Production.INFO: ==12249== Lock acquired, processing the job...
[2025-02-09 15:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:52:03] Production.INFO: ==12253== Lock acquired, processing the job...
[2025-02-09 15:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:52:03] Production.INFO: ==12247== Releasing lock...
[2025-02-09 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438095') end
[2025-02-09 15:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:52:04] Production.INFO: 1
[2025-02-09 15:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:52:04] Production.INFO: Account Balance Start.
[2025-02-09 15:52:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:52:04] Production.INFO: 117
[2025-02-09 15:52:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:52:04] Production.INFO: Total Charge 0
[2025-02-09 15:52:04] Production.INFO: CreateAllLog End
[2025-02-09 15:52:04] Production.INFO: ==12256== Releasing lock...
[2025-02-09 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:52:04] Production.ERROR: done
[2025-02-09 15:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:52:04] Production.ERROR: done
[2025-02-09 15:52:04] Production.INFO: Account Balance End.
[2025-02-09 15:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:52:04] Production.INFO: ==12251== Releasing lock...
[2025-02-09 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:52:05
[end_date_ymd] => 2025-02-09 15:52:05
[RateCDR] => 1
)
[2025-02-09 15:52: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` >= '2025-02-09 12:52:05' and `end` < '2025-02-09 15:52: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 ,'')
[2025-02-09 15:52:12] Production.ERROR: CronJobId end10
[2025-02-09 15:52:12] Production.INFO: ==12249== Releasing lock...
[2025-02-09 15:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:52:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:52:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:52:13] Production.INFO: call_cost start
[2025-02-09 15:52:13] Production.INFO: call_cost end
[2025-02-09 15:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:52:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:52:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:52:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:52:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:52:14] Production.INFO: ==12245== Releasing lock...
[2025-02-09 15:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:52:18] Production.INFO: count ==1330
[2025-02-09 15:52:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:52:05 - End Time 2025-02-09 15:52:05
[2025-02-09 15:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438098', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438098', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438098', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438098', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:52:19] Production.INFO: ProcessCDR(1,14438098,1,1,2)
[2025-02-09 15:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438098', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438098', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:52:22] Production.INFO: ==12253== Releasing lock...
[2025-02-09 15:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:52:22] Production.INFO: 38.25 MB #Memory Used#
[2025-02-09 20:53:01] Production.INFO: ==12310== Lock acquired, processing the job...
[2025-02-09 20:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:53:01] Production.INFO: neon service started
[2025-02-09 20:53:01] Production.INFO: neon service started
[2025-02-09 20:53:01] Production.INFO: ==12310== Releasing lock...
[2025-02-09 20:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:53:01] Production.INFO: ==12314== Lock acquired, processing the job...
[2025-02-09 20:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:53:01] Production.INFO: ==12314== Releasing lock...
[2025-02-09 20:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:53:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:53:01] Production.INFO: ==12312== Lock acquired, processing the job...
[2025-02-09 15:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:53:02] Production.INFO: ==12312== Releasing lock...
[2025-02-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:53:03] Production.INFO: ==12317== Lock acquired, processing the job...
[2025-02-09 15:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:53:03] Production.INFO: ==12321== Lock acquired, processing the job...
[2025-02-09 15:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:53:03] Production.INFO: ==12319== Lock acquired, processing the job...
[2025-02-09 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:53:03] Production.INFO: ==12325== Lock acquired, processing the job...
[2025-02-09 15:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:53:03] Production.INFO: ==12323== Lock acquired, processing the job...
[2025-02-09 15:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:53:03] Production.INFO: ==12327== Lock acquired, processing the job...
[2025-02-09 15:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:53:03] Production.INFO: Account Balance Start.
[2025-02-09 15:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:53:03] Production.INFO: 117
[2025-02-09 15:53:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:53:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:53:03] Production.INFO: Total Charge 0
[2025-02-09 15:53:03] Production.INFO: CreateAllLog End
[2025-02-09 15:53:03] Production.ERROR: done
[2025-02-09 15:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:53:03] Production.INFO: ==12319== Releasing lock...
[2025-02-09 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:53:03] Production.INFO: count ==21
[2025-02-09 15:53:03] Production.ERROR: done
[2025-02-09 15:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:53:03] Production.INFO: count ==21
[2025-02-09 15:53:03] Production.INFO: Account Balance End.
[2025-02-09 15:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438102') start
[2025-02-09 15:53:03] Production.ERROR: CronJobId end 12
[2025-02-09 15:53:03] Production.INFO: ==12323== Releasing lock...
[2025-02-09 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438102') end
[2025-02-09 15:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:53:03] Production.INFO: 1
[2025-02-09 15:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:53:04] Production.INFO: ==12327== Releasing lock...
[2025-02-09 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:53:04
[end_date_ymd] => 2025-02-09 15:53:04
[RateCDR] => 1
)
[2025-02-09 15:53:04] 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-02-09 12:53:04' and `end` < '2025-02-09 15:53:04'
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-02-09 15:53:11] Production.ERROR: CronJobId end10
[2025-02-09 15:53:11] Production.INFO: ==12321== Releasing lock...
[2025-02-09 15:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:53:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:53:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:53:13] Production.INFO: call_cost start
[2025-02-09 15:53:13] Production.INFO: call_cost end
[2025-02-09 15:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:53:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:53:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:53:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:53:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:53:14] Production.INFO: ==12317== Releasing lock...
[2025-02-09 15:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:53:17] Production.INFO: count ==1306
[2025-02-09 15:53:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:53:04 - End Time 2025-02-09 15:53:04
[2025-02-09 15:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438103', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438103', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438103', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438103', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:53:18] Production.INFO: ProcessCDR(1,14438103,1,1,2)
[2025-02-09 15:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438103', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438103', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:53:21] Production.INFO: ==12325== Releasing lock...
[2025-02-09 15:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:53:21] Production.INFO: 38 MB #Memory Used#
[2025-02-09 20:54:01] Production.INFO: ==12384== Lock acquired, processing the job...
[2025-02-09 20:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:54:01] Production.INFO: neon service started
[2025-02-09 20:54:01] Production.INFO: neon service started
[2025-02-09 20:54:01] Production.INFO: ==12384== Releasing lock...
[2025-02-09 20:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:54:02] Production.INFO: ==12386== Lock acquired, processing the job...
[2025-02-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:54:02] Production.INFO: ==12386== Releasing lock...
[2025-02-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:54:02] Production.INFO: ==12388== Lock acquired, processing the job...
[2025-02-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:54:02] Production.INFO: ==12388== Releasing lock...
[2025-02-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:54:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:54:03] Production.INFO: ==12391== Lock acquired, processing the job...
[2025-02-09 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:54:03] Production.INFO: ==12397== Lock acquired, processing the job...
[2025-02-09 15:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:54:03] Production.INFO: ==12393== Lock acquired, processing the job...
[2025-02-09 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:54:03] Production.INFO: ==12395== Lock acquired, processing the job...
[2025-02-09 15:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:54:03] Production.INFO: ==12399== Lock acquired, processing the job...
[2025-02-09 15:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:54:03] Production.INFO: Account Balance Start.
[2025-02-09 15:54:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:54:03] Production.INFO: 117
[2025-02-09 15:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:54:03] Production.INFO: ==12401== Lock acquired, processing the job...
[2025-02-09 15:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:54:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:54:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:54:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:54:03] Production.INFO: Total Charge 0
[2025-02-09 15:54:03] Production.INFO: CreateAllLog End
[2025-02-09 15:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:54:03] Production.INFO: count ==21
[2025-02-09 15:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:54:03] Production.INFO: count ==21
[2025-02-09 15:54:03] Production.INFO: ==12393== Releasing lock...
[2025-02-09 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438107') start
[2025-02-09 15:54:04] Production.ERROR: done
[2025-02-09 15:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:54:04] Production.INFO: Account Balance End.
[2025-02-09 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438107') end
[2025-02-09 15:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:54:04] Production.INFO: 1
[2025-02-09 15:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:54:04] Production.INFO: ==12397== Releasing lock...
[2025-02-09 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:54:04] Production.ERROR: done
[2025-02-09 15:54:04] Production.INFO: ==12401== Releasing lock...
[2025-02-09 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:54:05
[end_date_ymd] => 2025-02-09 15:54:05
[RateCDR] => 1
)
[2025-02-09 15:54: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` >= '2025-02-09 12:54:05' and `end` < '2025-02-09 15:54: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 ,'')
[2025-02-09 15:54:11] Production.ERROR: CronJobId end10
[2025-02-09 15:54:11] Production.INFO: ==12395== Releasing lock...
[2025-02-09 15:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:54:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:54:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:54:13] Production.INFO: call_cost start
[2025-02-09 15:54:13] Production.INFO: call_cost end
[2025-02-09 15:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:54:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:54:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:54:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:54:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:54:14] Production.INFO: ==12391== Releasing lock...
[2025-02-09 15:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:54:18] Production.INFO: count ==1295
[2025-02-09 15:54:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:54:05 - End Time 2025-02-09 15:54:05
[2025-02-09 15:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438108', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438108', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438108', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438108', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:54:18] Production.INFO: ProcessCDR(1,14438108,1,1,2)
[2025-02-09 15:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438108', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438108', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:54:23] Production.INFO: ==12399== Releasing lock...
[2025-02-09 15:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:54:23] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 20:55:02] Production.INFO: ==12455== Lock acquired, processing the job...
[2025-02-09 20:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:55:02] Production.INFO: neon service started
[2025-02-09 20:55:02] Production.INFO: neon service started
[2025-02-09 20:55:02] Production.INFO: ==12455== Releasing lock...
[2025-02-09 20:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:55:02] Production.INFO: ==12459== Lock acquired, processing the job...
[2025-02-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:55:02] Production.INFO: ==12459== Releasing lock...
[2025-02-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:55:02] Production.INFO: ==12457== Lock acquired, processing the job...
[2025-02-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:55:03] Production.INFO: ==12457== Releasing lock...
[2025-02-09 15:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:55:03] Production.INFO: ==12463== Lock acquired, processing the job...
[2025-02-09 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:55:03] Production.INFO: ==12461== Lock acquired, processing the job...
[2025-02-09 15:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:55:04] Production.INFO: ==12472== Lock acquired, processing the job...
[2025-02-09 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:55:04] Production.INFO: ==12465== Lock acquired, processing the job...
[2025-02-09 15:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:55:04] Production.INFO: ==12467== Lock acquired, processing the job...
[2025-02-09 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:55:04] Production.INFO: ==12470== Lock acquired, processing the job...
[2025-02-09 15:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:55:04] Production.INFO: count ==21
[2025-02-09 15:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:55:04] Production.INFO: ==12463== Releasing lock...
[2025-02-09 15:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:55:04] Production.INFO: count ==21
[2025-02-09 15:55:04] Production.INFO: Account Balance Start.
[2025-02-09 15:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438111') start
[2025-02-09 15:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:55:04] Production.INFO: 117
[2025-02-09 15:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438111') end
[2025-02-09 15:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:55:04] Production.INFO: 1
[2025-02-09 15:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:55:04] Production.INFO: Total Charge 0
[2025-02-09 15:55:04] Production.INFO: CreateAllLog End
[2025-02-09 15:55:04] Production.INFO: ==12472== Releasing lock...
[2025-02-09 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:55:04] Production.INFO: Account Balance End.
[2025-02-09 15:55:04] Production.ERROR: done
[2025-02-09 15:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:55:04] Production.INFO: ==12467== Releasing lock...
[2025-02-09 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:55:04] Production.ERROR: done
[2025-02-09 15:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:55:05
[end_date_ymd] => 2025-02-09 15:55:05
[RateCDR] => 1
)
[2025-02-09 15:55: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` >= '2025-02-09 12:55:05' and `end` < '2025-02-09 15:55: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 ,'')
[2025-02-09 15:55:12] Production.ERROR: CronJobId end10
[2025-02-09 15:55:12] Production.INFO: ==12465== Releasing lock...
[2025-02-09 15:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:55:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:55:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:55:14] Production.INFO: call_cost start
[2025-02-09 15:55:14] Production.INFO: call_cost end
[2025-02-09 15:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:55:15] Production.INFO: ==12461== Releasing lock...
[2025-02-09 15:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:55:18] Production.INFO: count ==1284
[2025-02-09 15:55:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:55:05 - End Time 2025-02-09 15:55:05
[2025-02-09 15:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438113', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438113', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438113', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438113', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:55:19] Production.INFO: ProcessCDR(1,14438113,1,1,2)
[2025-02-09 15:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438113', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438113', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:55:22] Production.INFO: ==12470== Releasing lock...
[2025-02-09 15:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:55:22] Production.INFO: 38.25 MB #Memory Used#
[2025-02-09 20:56:01] Production.INFO: ==12529== Lock acquired, processing the job...
[2025-02-09 20:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:56:01] Production.INFO: neon service started
[2025-02-09 20:56:01] Production.INFO: neon service started
[2025-02-09 20:56:01] Production.INFO: ==12529== Releasing lock...
[2025-02-09 20:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:56:02] Production.INFO: ==12533== Lock acquired, processing the job...
[2025-02-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:56:02] Production.INFO: ==12533== Releasing lock...
[2025-02-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:56:02] Production.INFO: ==12531== Lock acquired, processing the job...
[2025-02-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:56:02] Production.INFO: ==12531== Releasing lock...
[2025-02-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:56:03] Production.INFO: ==12541== Lock acquired, processing the job...
[2025-02-09 15:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:56:03] Production.INFO: ==12544== Lock acquired, processing the job...
[2025-02-09 15:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:56:03] Production.INFO: ==12535== Lock acquired, processing the job...
[2025-02-09 15:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:56:03] Production.INFO: ==12537== Lock acquired, processing the job...
[2025-02-09 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:56:03] Production.INFO: Account Balance Start.
[2025-02-09 15:56:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:56:03] Production.INFO: 117
[2025-02-09 15:56:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:56:03] Production.INFO: ==12539== Lock acquired, processing the job...
[2025-02-09 15:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:56:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:56:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:56:03] Production.INFO: ==12546== Lock acquired, processing the job...
[2025-02-09 15:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:56:03] Production.INFO: Total Charge 0
[2025-02-09 15:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:56:03] Production.INFO: CreateAllLog End
[2025-02-09 15:56:04] Production.ERROR: done
[2025-02-09 15:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:56:04] Production.INFO: ==12537== Releasing lock...
[2025-02-09 15:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:56:04] Production.ERROR: done
[2025-02-09 15:56:04] Production.INFO: count ==21
[2025-02-09 15:56:04] Production.INFO: Account Balance End.
[2025-02-09 15:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:56:04] Production.INFO: count ==21
[2025-02-09 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438117') start
[2025-02-09 15:56:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:56:04] Production.INFO: ==12541== Releasing lock...
[2025-02-09 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438117') end
[2025-02-09 15:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:56:04] Production.INFO: 1
[2025-02-09 15:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:56:04] Production.INFO: ==12546== Releasing lock...
[2025-02-09 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:56:05
[end_date_ymd] => 2025-02-09 15:56:05
[RateCDR] => 1
)
[2025-02-09 15:56: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` >= '2025-02-09 12:56:05' and `end` < '2025-02-09 15:56: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 ,'')
[2025-02-09 15:56:12] Production.ERROR: CronJobId end10
[2025-02-09 15:56:12] Production.INFO: ==12539== Releasing lock...
[2025-02-09 15:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:56:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:56:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:56:15] Production.INFO: call_cost start
[2025-02-09 15:56:15] Production.INFO: call_cost end
[2025-02-09 15:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:56:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:56:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:56:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:56:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:56:15] Production.INFO: ==12535== Releasing lock...
[2025-02-09 15:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:56:18] Production.INFO: count ==1278
[2025-02-09 15:56:19] Production.ERROR: pbx CDR StartTime 2025-02-09 12:56:05 - End Time 2025-02-09 15:56:05
[2025-02-09 15:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438118', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438118', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438118', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438118', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:56:19] Production.INFO: ProcessCDR(1,14438118,1,1,2)
[2025-02-09 15:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438118', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438118', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:56:23] Production.INFO: ==12544== Releasing lock...
[2025-02-09 15:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:56:23] Production.INFO: 38 MB #Memory Used#
[2025-02-09 20:57:02] Production.INFO: ==12606== Lock acquired, processing the job...
[2025-02-09 20:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:57:02] Production.INFO: neon service started
[2025-02-09 20:57:02] Production.INFO: neon service started
[2025-02-09 20:57:02] Production.INFO: ==12606== Releasing lock...
[2025-02-09 20:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 15:57:02] Production.INFO: ==12609== Lock acquired, processing the job...
[2025-02-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:57:02] Production.INFO: ==12609== Releasing lock...
[2025-02-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 20:57:02] Production.INFO: ==12611== Lock acquired, processing the job...
[2025-02-09 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:57:03] Production.INFO: ==12611== Releasing lock...
[2025-02-09 20:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:57:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:57:03] Production.INFO: ==12613== Lock acquired, processing the job...
[2025-02-09 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:57:03] Production.INFO: ==12615== Lock acquired, processing the job...
[2025-02-09 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:57:03] Production.INFO: ==12621== Lock acquired, processing the job...
[2025-02-09 15:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:57:03] Production.INFO: ==12617== Lock acquired, processing the job...
[2025-02-09 15:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:57:03] Production.INFO: ==12619== Lock acquired, processing the job...
[2025-02-09 15:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:57:03] Production.INFO: ==12623== Lock acquired, processing the job...
[2025-02-09 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:57:04] Production.ERROR: done
[2025-02-09 15:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:57:04] Production.INFO: Account Balance Start.
[2025-02-09 15:57:04] Production.INFO: CreateAllLog Start
[2025-02-09 15:57:04] Production.INFO: ==12615== Releasing lock...
[2025-02-09 15:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:57:04] Production.INFO: 117
[2025-02-09 15:57:04] Production.INFO: Date 2025-02-08
[2025-02-09 15:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:57:04] Production.INFO: count ==21
[2025-02-09 15:57:04] Production.ERROR: done
[2025-02-09 15:57:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:57:04] Production.INFO: count ==21
[2025-02-09 15:57:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438122') start
[2025-02-09 15:57:04] Production.INFO: Total Charge 0
[2025-02-09 15:57:04] Production.INFO: CreateAllLog End
[2025-02-09 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438122') end
[2025-02-09 15:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:57:04] Production.INFO: 1
[2025-02-09 15:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:57:04] Production.INFO: Account Balance End.
[2025-02-09 15:57:04] Production.INFO: ==12623== Releasing lock...
[2025-02-09 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:57:04] Production.INFO: ==12619== Releasing lock...
[2025-02-09 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:57:05
[end_date_ymd] => 2025-02-09 15:57:05
[RateCDR] => 1
)
[2025-02-09 15:57: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` >= '2025-02-09 12:57:05' and `end` < '2025-02-09 15:57: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 ,'')
[2025-02-09 15:57:12] Production.ERROR: CronJobId end10
[2025-02-09 15:57:12] Production.INFO: ==12617== Releasing lock...
[2025-02-09 15:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:57:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:57:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:57:14] Production.INFO: call_cost start
[2025-02-09 15:57:14] Production.INFO: call_cost end
[2025-02-09 15:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:57:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:57:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:57:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:57:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:57:14] Production.INFO: ==12613== Releasing lock...
[2025-02-09 15:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:57:18] Production.INFO: count ==1268
[2025-02-09 15:57:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:57:05 - End Time 2025-02-09 15:57:05
[2025-02-09 15:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438123', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438123', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438123', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438123', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:57:18] Production.INFO: ProcessCDR(1,14438123,1,1,2)
[2025-02-09 15:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438123', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438123', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:57:23] Production.INFO: ==12621== Releasing lock...
[2025-02-09 15:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:57:23] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 20:58:01] Production.INFO: ==12678== Lock acquired, processing the job...
[2025-02-09 20:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:58:01] Production.INFO: neon service started
[2025-02-09 20:58:01] Production.INFO: neon service started
[2025-02-09 20:58:01] Production.INFO: ==12678== Releasing lock...
[2025-02-09 20:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:58:01] Production.INFO: ==12683== Lock acquired, processing the job...
[2025-02-09 20:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:58:01] Production.INFO: ==12683== Releasing lock...
[2025-02-09 20:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:58:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:58:02] Production.INFO: ==12681== Lock acquired, processing the job...
[2025-02-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:58:02] Production.INFO: ==12681== Releasing lock...
[2025-02-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:58:03] Production.INFO: ==12689== Lock acquired, processing the job...
[2025-02-09 15:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:58:03] Production.INFO: ==12691== Lock acquired, processing the job...
[2025-02-09 15:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:58:03] Production.INFO: ==12685== Lock acquired, processing the job...
[2025-02-09 15:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:58:03] Production.INFO: Account Balance Start.
[2025-02-09 15:58:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:58:03] Production.INFO: 117
[2025-02-09 15:58:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:58:03] Production.INFO: ==12687== Lock acquired, processing the job...
[2025-02-09 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:58:03] Production.INFO: Date 2025-02-09
[2025-02-09 15:58:03] Production.INFO: Reseller ==> 0
[2025-02-09 15:58:03] Production.INFO: Total Charge 0
[2025-02-09 15:58:03] Production.INFO: CreateAllLog End
[2025-02-09 15:58:03] Production.INFO: ==12693== Lock acquired, processing the job...
[2025-02-09 15:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:58:03] Production.INFO: ==12695== Lock acquired, processing the job...
[2025-02-09 15:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:58:03] Production.INFO: Account Balance End.
[2025-02-09 15:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:58:04] Production.INFO: ==12691== Releasing lock...
[2025-02-09 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:58:04] Production.INFO: count ==21
[2025-02-09 15:58:04] Production.ERROR: done
[2025-02-09 15:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:58:04] Production.INFO: count ==21
[2025-02-09 15:58:04] Production.INFO: ==12687== Releasing lock...
[2025-02-09 15:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438127') start
[2025-02-09 15:58:04] Production.ERROR: done
[2025-02-09 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438127') end
[2025-02-09 15:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:58:04] Production.INFO: 1
[2025-02-09 15:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:58:04] Production.INFO: ==12695== Releasing lock...
[2025-02-09 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:58:05
[end_date_ymd] => 2025-02-09 15:58:05
[RateCDR] => 1
)
[2025-02-09 15:58: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` >= '2025-02-09 12:58:05' and `end` < '2025-02-09 15:58: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 ,'')
[2025-02-09 15:58:10] Production.ERROR: CronJobId end10
[2025-02-09 15:58:10] Production.INFO: ==12689== Releasing lock...
[2025-02-09 15:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:58:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:58:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:58:14] Production.INFO: call_cost start
[2025-02-09 15:58:14] Production.INFO: call_cost end
[2025-02-09 15:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:58:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:58:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:58:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:58:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:58:14] Production.INFO: ==12685== Releasing lock...
[2025-02-09 15:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:58:18] Production.INFO: count ==1257
[2025-02-09 15:58:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:58:05 - End Time 2025-02-09 15:58:05
[2025-02-09 15:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438128', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438128', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438128', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438128', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:58:18] Production.INFO: ProcessCDR(1,14438128,1,1,2)
[2025-02-09 15:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438128', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438128', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:58:21] Production.INFO: ==12693== Releasing lock...
[2025-02-09 15:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:58:21] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 20:59:01] Production.INFO: ==12749== Lock acquired, processing the job...
[2025-02-09 20:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 20:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 20:59:02] Production.INFO: neon service started
[2025-02-09 20:59:02] Production.INFO: neon service started
[2025-02-09 20:59:02] Production.INFO: ==12749== Releasing lock...
[2025-02-09 20:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 20:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 20:59:02] Production.INFO: ==12753== Lock acquired, processing the job...
[2025-02-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 20:59:02] Production.INFO: ==12753== Releasing lock...
[2025-02-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 20:59:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 15:59:02] Production.INFO: ==12751== Lock acquired, processing the job...
[2025-02-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 15:59:02] Production.INFO: ==12751== Releasing lock...
[2025-02-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 15:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 15:59:03] Production.INFO: ==12756== Lock acquired, processing the job...
[2025-02-09 15:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 15:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 15:59:03] Production.INFO: ==12758== Lock acquired, processing the job...
[2025-02-09 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 15:59:03] Production.INFO: ==12760== Lock acquired, processing the job...
[2025-02-09 15:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 15:59:03] Production.INFO: ==12762== Lock acquired, processing the job...
[2025-02-09 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 15:59:03] Production.INFO: ==12764== Lock acquired, processing the job...
[2025-02-09 15:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 15:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 15:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 15:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 15:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 15:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 15:59:03] Production.INFO: ==12766== Lock acquired, processing the job...
[2025-02-09 15:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 15:59:03] Production.INFO: Account Balance Start.
[2025-02-09 15:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 15:59:03] Production.INFO: 117
[2025-02-09 15:59:03] Production.INFO: ==12758== Releasing lock...
[2025-02-09 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 15:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 15:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 15:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:59:04] Production.INFO: Date 2025-02-09
[2025-02-09 15:59:04] Production.INFO: Reseller ==> 0
[2025-02-09 15:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:59:04] Production.INFO: Total Charge 0
[2025-02-09 15:59:04] Production.INFO: CreateAllLog End
[2025-02-09 15:59:04] Production.INFO: count ==21
[2025-02-09 15:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 15:59:04] Production.ERROR: done
[2025-02-09 15:59:04] Production.INFO: count ==21
[2025-02-09 15:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438132') start
[2025-02-09 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438132') end
[2025-02-09 15:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 15:59:04] Production.INFO: 1
[2025-02-09 15:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 15:59:04] Production.ERROR: done
[2025-02-09 15:59:04] Production.INFO: ==12766== Releasing lock...
[2025-02-09 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 15:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 15:59:04] Production.INFO: Account Balance End.
[2025-02-09 15:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 15:59:04] Production.INFO: ==12762== Releasing lock...
[2025-02-09 15:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 15:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 15:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 12:59:05
[end_date_ymd] => 2025-02-09 15:59:05
[RateCDR] => 1
)
[2025-02-09 15:59: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` >= '2025-02-09 12:59:05' and `end` < '2025-02-09 15:59: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 ,'')
[2025-02-09 15:59:11] Production.ERROR: CronJobId end10
[2025-02-09 15:59:11] Production.INFO: ==12760== Releasing lock...
[2025-02-09 15:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 15:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 15:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 15:59:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 15:59:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 15:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 15:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 15:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 15:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 15:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 15:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 15:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 15:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 15:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 15:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 15:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 15:59:14] Production.INFO: call_cost start
[2025-02-09 15:59:14] Production.INFO: call_cost end
[2025-02-09 15:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 15:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 15:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 15:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 15:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 15:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 15:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 15:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 15:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 15:59:15] Production.INFO: ==12756== Releasing lock...
[2025-02-09 15:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 15:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 15:59:18] Production.INFO: count ==1254
[2025-02-09 15:59:18] Production.ERROR: pbx CDR StartTime 2025-02-09 12:59:05 - End Time 2025-02-09 15:59:05
[2025-02-09 15:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438133', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438133', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438133', 'tblTempVendorCDR_20' ) start
[2025-02-09 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438133', 'tblTempVendorCDR_20' ) end
[2025-02-09 15:59:18] Production.INFO: ProcessCDR(1,14438133,1,1,2)
[2025-02-09 15:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 15:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 15:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438133', 'tblTempUsageDetail_20' ) start
[2025-02-09 15:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438133', 'tblTempUsageDetail_20' ) end
[2025-02-09 15:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 15:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 15:59:21] Production.INFO: ==12764== Releasing lock...
[2025-02-09 15:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 15:59:21] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 21:00:01] Production.INFO: ==12827== Lock acquired, processing the job...
[2025-02-09 21:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:00:01] Production.INFO: neon service started
[2025-02-09 21:00:01] Production.INFO: neon service started
[2025-02-09 21:00:01] Production.INFO: ==12827== Releasing lock...
[2025-02-09 21:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:00:01] Production.INFO: ==12829== Lock acquired, processing the job...
[2025-02-09 16:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:00:02] Production.INFO: ==12829== Releasing lock...
[2025-02-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:00:02] Production.INFO: ==12831== Lock acquired, processing the job...
[2025-02-09 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:00:02] Production.INFO: ==12831== Releasing lock...
[2025-02-09 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:00:03] Production.INFO: ==12841== Lock acquired, processing the job...
[2025-02-09 16:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:00:03] Production.INFO: ==12833== Lock acquired, processing the job...
[2025-02-09 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 16:00:03] Production.INFO: ==12843== Lock acquired, processing the job...
[2025-02-09 16:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:00:03] Production.INFO: ==12835== Lock acquired, processing the job...
[2025-02-09 16:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:00:03] Production.INFO: ==12839== Lock acquired, processing the job...
[2025-02-09 16:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:00:03] Production.INFO: ==12847== Lock acquired, processing the job...
[2025-02-09 16:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:00:03] Production.INFO: ==12837== Lock acquired, processing the job...
[2025-02-09 16:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 16:00:03] Production.INFO: Account Balance Start.
[2025-02-09 16:00:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:00:03] Production.ERROR: CronJob PID - 12835
[2025-02-09 16:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 16:00:03] Production.ERROR: CronJob ID - 5
[2025-02-09 16:00:03] Production.ERROR: CronJob Last Run Time 2025-02-09 16:00:00
[2025-02-09 16:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:00:03] Production.ERROR: CronJob PID - 12841
[2025-02-09 16:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 16:00:03] Production.ERROR: CronJob ID - 12
[2025-02-09 16:00:03] Production.ERROR: CronJob Last Run Time 2025-02-09 16:00:00
[2025-02-09 16:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:00:03] Production.ERROR: CronJob PID - 12843
[2025-02-09 16:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 16:00:03] Production.ERROR: CronJob ID - 16
[2025-02-09 16:00:03] Production.ERROR: CronJob Last Run Time 2025-02-09 16:00:00
[2025-02-09 16:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:00:03] Production.INFO: 117
[2025-02-09 16:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:00:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:00:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:00:03] Production.INFO: ==12845== Lock acquired, processing the job...
[2025-02-09 16:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 16:00:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:00:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 16:00:03] Production.INFO: ==12833== Releasing lock...
[2025-02-09 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 16:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 16:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:00:03] Production.INFO: Total Charge 0
[2025-02-09 16:00:03] Production.INFO: CreateAllLog End
[2025-02-09 16:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:00:03] Production.INFO: count ==21
[2025-02-09 16:00:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:00:03] Production.INFO: count ==21
[2025-02-09 16:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:00:03] Production.ERROR: done
[2025-02-09 16:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438136') start
[2025-02-09 16:00:04] Production.ERROR: done
[2025-02-09 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438136') end
[2025-02-09 16:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:00:04] Production.INFO: 1
[2025-02-09 16:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:00:04] Production.ERROR: done
[2025-02-09 16:00:04] Production.INFO: ==12847== Releasing lock...
[2025-02-09 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:00:04] Production.INFO: ==12837== Releasing lock...
[2025-02-09 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 16:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438139', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 16:00:04] Production.INFO: Account Balance End.
[2025-02-09 16:00:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:00:04] Production.INFO: ==12841== Releasing lock...
[2025-02-09 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:00:05
[end_date_ymd] => 2025-02-09 16:00:05
[RateCDR] => 1
)
[2025-02-09 16:00: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` >= '2025-02-09 13:00:05' and `end` < '2025-02-09 16:00: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 ,'')
[2025-02-09 16:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438139', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 16:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 16:00:08] Production.INFO: ProcessCDR(1,14438139,1,1,2)
[2025-02-09 16:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14438139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14438139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:00:08] Production.INFO: ==12845== Releasing lock...
[2025-02-09 16:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 16:00:08] Production.INFO: 26 MB #Memory Used#
[2025-02-09 16:00:13] Production.ERROR: CronJobId end10
[2025-02-09 16:00:13] Production.INFO: ==12839== Releasing lock...
[2025-02-09 16:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:00:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:00:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:00:15] Production.INFO: call_cost start
[2025-02-09 16:00:15] Production.INFO: call_cost end
[2025-02-09 16:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:00:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:00:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:00:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:00:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:00:16] Production.INFO: ==12835== Releasing lock...
[2025-02-09 16:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:00:18] Production.INFO: count ==1243
[2025-02-09 16:00:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:00:05 - End Time 2025-02-09 16:00:05
[2025-02-09 16:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438138', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438138', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438138', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438138', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:00:18] Production.INFO: ProcessCDR(1,14438138,1,1,2)
[2025-02-09 16:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438138', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438138', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:00:22] Production.INFO: ==12843== Releasing lock...
[2025-02-09 16:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:00:22] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:01:01] Production.INFO: ==12911== Lock acquired, processing the job...
[2025-02-09 21:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:01:01] Production.INFO: neon service started
[2025-02-09 21:01:01] Production.INFO: neon service started
[2025-02-09 21:01:01] Production.INFO: ==12911== Releasing lock...
[2025-02-09 21:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:01:02] Production.INFO: ==12916== Lock acquired, processing the job...
[2025-02-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:01:02] Production.INFO: ==12916== Releasing lock...
[2025-02-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:01:02] Production.INFO: ==12918== Lock acquired, processing the job...
[2025-02-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:01:02] Production.INFO: ==12918== Releasing lock...
[2025-02-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:01:03] Production.INFO: ==12927== Lock acquired, processing the job...
[2025-02-09 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:01:03] Production.INFO: ==12921== Lock acquired, processing the job...
[2025-02-09 16:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:01:03] Production.INFO: ==12923== Lock acquired, processing the job...
[2025-02-09 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:01:03] Production.INFO: ==12931== Lock acquired, processing the job...
[2025-02-09 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:01:03] Production.INFO: Account Balance Start.
[2025-02-09 16:01:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:01:03] Production.INFO: 117
[2025-02-09 16:01:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:01:03] Production.INFO: ==12925== Lock acquired, processing the job...
[2025-02-09 16:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:01:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:01:03] Production.INFO: Total Charge 0
[2025-02-09 16:01:03] Production.INFO: count ==21
[2025-02-09 16:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:01:03] Production.INFO: CreateAllLog End
[2025-02-09 16:01:03] Production.INFO: count ==21
[2025-02-09 16:01:03] Production.INFO: ==12929== Lock acquired, processing the job...
[2025-02-09 16:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438143') start
[2025-02-09 16:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438143') end
[2025-02-09 16:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:01:03] Production.INFO: 1
[2025-02-09 16:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:01:04] Production.INFO: ==12923== Releasing lock...
[2025-02-09 16:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:01:04] Production.INFO: ==12931== Releasing lock...
[2025-02-09 16:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:01:04] Production.INFO: Account Balance End.
[2025-02-09 16:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:01:04] Production.INFO: ==12927== Releasing lock...
[2025-02-09 16:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:01:04] Production.ERROR: done
[2025-02-09 16:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:01:04] Production.ERROR: done
[2025-02-09 16:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:01:05
[end_date_ymd] => 2025-02-09 16:01:05
[RateCDR] => 1
)
[2025-02-09 16:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 13:01:05' and `end` < '2025-02-09 16:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 16:01:14] Production.ERROR: CronJobId end10
[2025-02-09 16:01:14] Production.INFO: ==12925== Releasing lock...
[2025-02-09 16:01:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:01:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:01:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:01:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:01:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:01:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:01:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:01:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:01:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:01:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:01:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:01:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:01:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:01:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:01:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:01:16] Production.INFO: call_cost start
[2025-02-09 16:01:16] Production.INFO: call_cost end
[2025-02-09 16:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:01:17] Production.INFO: ==12921== Releasing lock...
[2025-02-09 16:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:01:18] Production.INFO: count ==1245
[2025-02-09 16:01:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:01:05 - End Time 2025-02-09 16:01:05
[2025-02-09 16:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438144', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438144', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438144', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438144', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:01:18] Production.INFO: ProcessCDR(1,14438144,1,1,2)
[2025-02-09 16:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438144', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438144', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:01:21] Production.INFO: ==12929== Releasing lock...
[2025-02-09 16:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:01:21] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:02:02] Production.INFO: ==12991== Lock acquired, processing the job...
[2025-02-09 21:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:02:02] Production.INFO: neon service started
[2025-02-09 21:02:02] Production.INFO: neon service started
[2025-02-09 21:02:02] Production.INFO: ==12991== Releasing lock...
[2025-02-09 21:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:02:02] Production.INFO: ==12993== Lock acquired, processing the job...
[2025-02-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:02:03] Production.INFO: ==12993== Releasing lock...
[2025-02-09 16:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:02:03] Production.INFO: ==12995== Lock acquired, processing the job...
[2025-02-09 21:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:02:03] Production.INFO: ==12995== Releasing lock...
[2025-02-09 21:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:02:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:02:03] Production.INFO: ==13001== Lock acquired, processing the job...
[2025-02-09 16:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:02:03] Production.INFO: ==13005== Lock acquired, processing the job...
[2025-02-09 16:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:02:04] Production.INFO: ==12999== Lock acquired, processing the job...
[2025-02-09 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:02:04] Production.INFO: ==12997== Lock acquired, processing the job...
[2025-02-09 16:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:02:04] Production.INFO: ==13003== Lock acquired, processing the job...
[2025-02-09 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:02:04] Production.INFO: ==13008== Lock acquired, processing the job...
[2025-02-09 16:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:02:04] Production.ERROR: done
[2025-02-09 16:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:02:04] Production.INFO: Account Balance Start.
[2025-02-09 16:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:02:04] Production.INFO: 117
[2025-02-09 16:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:02:04] Production.ERROR: done
[2025-02-09 16:02:04] Production.INFO: ==12999== Releasing lock...
[2025-02-09 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:02:04] Production.INFO: count ==21
[2025-02-09 16:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:02:04] Production.INFO: count ==21
[2025-02-09 16:02:04] Production.INFO: Total Charge 0
[2025-02-09 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438148') start
[2025-02-09 16:02:04] Production.INFO: CreateAllLog End
[2025-02-09 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438148') end
[2025-02-09 16:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:02:04] Production.INFO: 1
[2025-02-09 16:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:02:05] Production.INFO: ==13008== Releasing lock...
[2025-02-09 16:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:02:05] Production.INFO: Account Balance End.
[2025-02-09 16:02:05] Production.ERROR: CronJobId end 12
[2025-02-09 16:02:05] Production.INFO: ==13003== Releasing lock...
[2025-02-09 16:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:02:05
[end_date_ymd] => 2025-02-09 16:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 13:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 16:02:11] Production.ERROR: CronJobId end10
[2025-02-09 16:02:11] Production.INFO: ==13001== Releasing lock...
[2025-02-09 16:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:02:14] Production.INFO: call_cost start
[2025-02-09 16:02:14] Production.INFO: call_cost end
[2025-02-09 16:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:02:15] Production.INFO: ==12997== Releasing lock...
[2025-02-09 16:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:02:19] Production.INFO: count ==1237
[2025-02-09 16:02:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:02:05 - End Time 2025-02-09 16:02:05
[2025-02-09 16:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438149', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438149', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438149', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438149', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:02:19] Production.INFO: ProcessCDR(1,14438149,1,1,2)
[2025-02-09 16:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438149', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438149', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:02:24] Production.INFO: ==13005== Releasing lock...
[2025-02-09 16:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:02:24] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:03:01] Production.INFO: ==13064== Lock acquired, processing the job...
[2025-02-09 21:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:03:01] Production.INFO: neon service started
[2025-02-09 21:03:01] Production.INFO: neon service started
[2025-02-09 21:03:01] Production.INFO: ==13064== Releasing lock...
[2025-02-09 21:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:03:02] Production.INFO: ==13066== Lock acquired, processing the job...
[2025-02-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:03:02] Production.INFO: ==13066== Releasing lock...
[2025-02-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:03:02] Production.INFO: ==13068== Lock acquired, processing the job...
[2025-02-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:03:02] Production.INFO: ==13068== Releasing lock...
[2025-02-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:03:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:03:03] Production.INFO: ==13070== Lock acquired, processing the job...
[2025-02-09 16:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:03:03] Production.INFO: ==13074== Lock acquired, processing the job...
[2025-02-09 16:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:03:03] Production.INFO: ==13072== Lock acquired, processing the job...
[2025-02-09 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:03:03] Production.INFO: ==13076== Lock acquired, processing the job...
[2025-02-09 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:03:03] Production.INFO: ==13080== Lock acquired, processing the job...
[2025-02-09 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:03:03] Production.INFO: ==13078== Lock acquired, processing the job...
[2025-02-09 16:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:03:03] Production.INFO: Account Balance Start.
[2025-02-09 16:03:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:03:03] Production.INFO: 117
[2025-02-09 16:03:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:03:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:03:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:03:03] Production.INFO: Total Charge 0
[2025-02-09 16:03:03] Production.INFO: CreateAllLog End
[2025-02-09 16:03:04] Production.INFO: ==13072== Releasing lock...
[2025-02-09 16:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:03:04] Production.INFO: count ==21
[2025-02-09 16:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:03:04] Production.INFO: count ==21
[2025-02-09 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438153') start
[2025-02-09 16:03:04] Production.ERROR: done
[2025-02-09 16:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438153') end
[2025-02-09 16:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:03:04] Production.INFO: 1
[2025-02-09 16:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:03:04] Production.INFO: ==13080== Releasing lock...
[2025-02-09 16:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:03:04] Production.INFO: Account Balance End.
[2025-02-09 16:03:04] Production.ERROR: done
[2025-02-09 16:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:03:04] Production.INFO: ==13076== Releasing lock...
[2025-02-09 16:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:03:05
[end_date_ymd] => 2025-02-09 16:03:05
[RateCDR] => 1
)
[2025-02-09 16:03: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` >= '2025-02-09 13:03:05' and `end` < '2025-02-09 16:03: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 ,'')
[2025-02-09 16:03:12] Production.ERROR: CronJobId end10
[2025-02-09 16:03:12] Production.INFO: ==13074== Releasing lock...
[2025-02-09 16:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:03:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:03:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:03:15] Production.INFO: call_cost start
[2025-02-09 16:03:15] Production.INFO: call_cost end
[2025-02-09 16:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:03:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:03:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:03:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:03:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:03:15] Production.INFO: ==13070== Releasing lock...
[2025-02-09 16:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:03:19] Production.INFO: count ==1232
[2025-02-09 16:03:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:03:05 - End Time 2025-02-09 16:03:05
[2025-02-09 16:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438154', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438154', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438154', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438154', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:03:19] Production.INFO: ProcessCDR(1,14438154,1,1,2)
[2025-02-09 16:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438154', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438154', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:03:24] Production.INFO: ==13078== Releasing lock...
[2025-02-09 16:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:03:24] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:04:02] Production.INFO: ==13180== Lock acquired, processing the job...
[2025-02-09 21:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:04:02] Production.INFO: neon service started
[2025-02-09 21:04:02] Production.INFO: neon service started
[2025-02-09 21:04:02] Production.INFO: ==13180== Releasing lock...
[2025-02-09 21:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:04:02] Production.INFO: ==13184== Lock acquired, processing the job...
[2025-02-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:04:02] Production.INFO: ==13184== Releasing lock...
[2025-02-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:04:02] Production.INFO: ==13182== Lock acquired, processing the job...
[2025-02-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:04:03] Production.INFO: ==13182== Releasing lock...
[2025-02-09 16:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:04:04] Production.INFO: ==13187== Lock acquired, processing the job...
[2025-02-09 16:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:04:04] Production.INFO: ==13193== Lock acquired, processing the job...
[2025-02-09 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:04:04] Production.INFO: ==13189== Lock acquired, processing the job...
[2025-02-09 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:04:04] Production.INFO: ==13197== Lock acquired, processing the job...
[2025-02-09 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:04:04] Production.INFO: ==13191== Lock acquired, processing the job...
[2025-02-09 16:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:04:04] Production.INFO: Account Balance Start.
[2025-02-09 16:04:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:04:04] Production.INFO: 117
[2025-02-09 16:04:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:04:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:04:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:04:04] Production.INFO: Total Charge 0
[2025-02-09 16:04:04] Production.INFO: ==13195== Lock acquired, processing the job...
[2025-02-09 16:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:04:04] Production.INFO: CreateAllLog End
[2025-02-09 16:04:04] Production.INFO: count ==21
[2025-02-09 16:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:04:04] Production.INFO: count ==21
[2025-02-09 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438158') start
[2025-02-09 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438158') end
[2025-02-09 16:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:04:04] Production.INFO: 1
[2025-02-09 16:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:04:04] Production.INFO: ==13189== Releasing lock...
[2025-02-09 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:04:04] Production.INFO: ==13197== Releasing lock...
[2025-02-09 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:04:04] Production.INFO: Account Balance End.
[2025-02-09 16:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:04:04] Production.INFO: ==13193== Releasing lock...
[2025-02-09 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:04:04] Production.ERROR: done
[2025-02-09 16:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:04:05] Production.ERROR: done
[2025-02-09 16:04:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:04:06
[end_date_ymd] => 2025-02-09 16:04:06
[RateCDR] => 1
)
[2025-02-09 16:04: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-02-09 13:04:06' and `end` < '2025-02-09 16:04: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-02-09 16:04:12] Production.ERROR: CronJobId end10
[2025-02-09 16:04:12] Production.INFO: ==13191== Releasing lock...
[2025-02-09 16:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:04:15] Production.INFO: call_cost start
[2025-02-09 16:04:15] Production.INFO: call_cost end
[2025-02-09 16:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:04:15] Production.INFO: ==13187== Releasing lock...
[2025-02-09 16:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:04:20] Production.INFO: count ==1215
[2025-02-09 16:04:20] Production.ERROR: pbx CDR StartTime 2025-02-09 13:04:06 - End Time 2025-02-09 16:04:06
[2025-02-09 16:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438159', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438159', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438159', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438159', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:04:20] Production.INFO: ProcessCDR(1,14438159,1,1,2)
[2025-02-09 16:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438159', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438159', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:04:24] Production.INFO: ==13195== Releasing lock...
[2025-02-09 16:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:04:24] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:05:01] Production.INFO: ==13255== Lock acquired, processing the job...
[2025-02-09 21:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:05:01] Production.INFO: neon service started
[2025-02-09 21:05:01] Production.INFO: neon service started
[2025-02-09 21:05:01] Production.INFO: ==13255== Releasing lock...
[2025-02-09 21:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:05:02] Production.INFO: ==13257== Lock acquired, processing the job...
[2025-02-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:05:02] Production.INFO: ==13259== Lock acquired, processing the job...
[2025-02-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:05:02] Production.INFO: ==13257== Releasing lock...
[2025-02-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:05:02] Production.INFO: ==13259== Releasing lock...
[2025-02-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:05:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:05:03] Production.INFO: ==13272== Lock acquired, processing the job...
[2025-02-09 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:05:03] Production.INFO: ==13261== Lock acquired, processing the job...
[2025-02-09 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:05:03] Production.INFO: ==13268== Lock acquired, processing the job...
[2025-02-09 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:05:03] Production.INFO: count ==21
[2025-02-09 16:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:05:03] Production.INFO: count ==21
[2025-02-09 16:05:03] Production.INFO: ==13264== Lock acquired, processing the job...
[2025-02-09 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:05:03] Production.INFO: Account Balance Start.
[2025-02-09 16:05:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:05:03] Production.INFO: 117
[2025-02-09 16:05:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438160') start
[2025-02-09 16:05:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:05:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:05:03] Production.INFO: Total Charge 0
[2025-02-09 16:05:03] Production.INFO: CreateAllLog End
[2025-02-09 16:05:03] Production.INFO: ==13266== Lock acquired, processing the job...
[2025-02-09 16:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438160') end
[2025-02-09 16:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:05:03] Production.INFO: 1
[2025-02-09 16:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:05:03] Production.INFO: ==13270== Lock acquired, processing the job...
[2025-02-09 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:05:03] Production.INFO: Account Balance End.
[2025-02-09 16:05:03] Production.INFO: ==13272== Releasing lock...
[2025-02-09 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:05:03] Production.ERROR: CronJobId end 12
[2025-02-09 16:05:03] Production.INFO: ==13268== Releasing lock...
[2025-02-09 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:05:03] Production.INFO: ==13264== Releasing lock...
[2025-02-09 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:05:04] Production.ERROR: done
[2025-02-09 16:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:05:04] Production.ERROR: done
[2025-02-09 16:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:05:05
[end_date_ymd] => 2025-02-09 16:05:05
[RateCDR] => 1
)
[2025-02-09 16:05: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` >= '2025-02-09 13:05:05' and `end` < '2025-02-09 16:05: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 ,'')
[2025-02-09 16:05:11] Production.ERROR: CronJobId end10
[2025-02-09 16:05:11] Production.INFO: ==13266== Releasing lock...
[2025-02-09 16:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:05:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:05:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:05:14] Production.INFO: call_cost start
[2025-02-09 16:05:14] Production.INFO: call_cost end
[2025-02-09 16:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:05:15] Production.INFO: ==13261== Releasing lock...
[2025-02-09 16:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:05:19] Production.INFO: count ==1209
[2025-02-09 16:05:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:05:05 - End Time 2025-02-09 16:05:05
[2025-02-09 16:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438164', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438164', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438164', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438164', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:05:19] Production.INFO: ProcessCDR(1,14438164,1,1,2)
[2025-02-09 16:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438164', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438164', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:05:22] Production.INFO: ==13270== Releasing lock...
[2025-02-09 16:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:05:22] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:06:02] Production.INFO: ==13330== Lock acquired, processing the job...
[2025-02-09 21:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:06:02] Production.INFO: neon service started
[2025-02-09 21:06:02] Production.INFO: neon service started
[2025-02-09 21:06:02] Production.INFO: ==13330== Releasing lock...
[2025-02-09 21:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:06:02] Production.INFO: ==13333== Lock acquired, processing the job...
[2025-02-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:06:02] Production.INFO: ==13335== Lock acquired, processing the job...
[2025-02-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:06:02] Production.INFO: ==13335== Releasing lock...
[2025-02-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:06:03] Production.INFO: ==13333== Releasing lock...
[2025-02-09 16:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:06:04] Production.INFO: ==13342== Lock acquired, processing the job...
[2025-02-09 16:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:06:04] Production.INFO: ==13346== Lock acquired, processing the job...
[2025-02-09 16:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:06:04] Production.INFO: ==13338== Lock acquired, processing the job...
[2025-02-09 16:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:06:04] Production.INFO: ==13340== Lock acquired, processing the job...
[2025-02-09 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:06:04] Production.INFO: ==13344== Lock acquired, processing the job...
[2025-02-09 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:06:04] Production.INFO: ==13348== Lock acquired, processing the job...
[2025-02-09 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:06:04] Production.ERROR: done
[2025-02-09 16:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:06:04] Production.INFO: Account Balance Start.
[2025-02-09 16:06:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:06:04] Production.INFO: count ==21
[2025-02-09 16:06:04] Production.INFO: 117
[2025-02-09 16:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:06:04] Production.INFO: count ==21
[2025-02-09 16:06:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438166') start
[2025-02-09 16:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:06:04] Production.ERROR: done
[2025-02-09 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438166') end
[2025-02-09 16:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:06:04] Production.INFO: 1
[2025-02-09 16:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:06:04] Production.INFO: ==13348== Releasing lock...
[2025-02-09 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:06:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:06:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:06:04] Production.INFO: Total Charge 0
[2025-02-09 16:06:04] Production.INFO: ==13340== Releasing lock...
[2025-02-09 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:06:05] Production.INFO: CreateAllLog End
[2025-02-09 16:06:05] Production.INFO: Account Balance End.
[2025-02-09 16:06:05] Production.ERROR: CronJobId end 12
[2025-02-09 16:06:05] Production.INFO: ==13344== Releasing lock...
[2025-02-09 16:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:06:05
[end_date_ymd] => 2025-02-09 16:06:05
[RateCDR] => 1
)
[2025-02-09 16:06: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` >= '2025-02-09 13:06:05' and `end` < '2025-02-09 16:06: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 ,'')
[2025-02-09 16:06:12] Production.ERROR: CronJobId end10
[2025-02-09 16:06:12] Production.INFO: ==13342== Releasing lock...
[2025-02-09 16:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:06:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:06:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:06:14] Production.INFO: call_cost start
[2025-02-09 16:06:14] Production.INFO: call_cost end
[2025-02-09 16:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:06:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:06:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:06:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:06:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:06:15] Production.INFO: ==13338== Releasing lock...
[2025-02-09 16:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:06:18] Production.INFO: count ==1208
[2025-02-09 16:06:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:06:05 - End Time 2025-02-09 16:06:05
[2025-02-09 16:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438169', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438169', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438169', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438169', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:06:19] Production.INFO: ProcessCDR(1,14438169,1,1,2)
[2025-02-09 16:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438169', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438169', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:06:22] Production.INFO: ==13346== Releasing lock...
[2025-02-09 16:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:06:22] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:07:01] Production.INFO: ==13402== Lock acquired, processing the job...
[2025-02-09 21:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:07:01] Production.INFO: neon service started
[2025-02-09 21:07:01] Production.INFO: neon service started
[2025-02-09 21:07:01] Production.INFO: ==13402== Releasing lock...
[2025-02-09 21:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:07:02] Production.INFO: ==13406== Lock acquired, processing the job...
[2025-02-09 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:07:02] Production.INFO: ==13406== Releasing lock...
[2025-02-09 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:07:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:07:02] Production.INFO: ==13404== Lock acquired, processing the job...
[2025-02-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:07:02] Production.INFO: ==13404== Releasing lock...
[2025-02-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:07:03] Production.INFO: ==13415== Lock acquired, processing the job...
[2025-02-09 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:07:03] Production.INFO: ==13417== Lock acquired, processing the job...
[2025-02-09 16:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:07:03] Production.INFO: Account Balance Start.
[2025-02-09 16:07:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:07:03] Production.INFO: 117
[2025-02-09 16:07:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:07:03] Production.INFO: ==13409== Lock acquired, processing the job...
[2025-02-09 16:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:07:03] Production.INFO: ==13411== Lock acquired, processing the job...
[2025-02-09 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:07:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:07:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:07:03] Production.INFO: ==13413== Lock acquired, processing the job...
[2025-02-09 16:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:07:03] Production.INFO: Total Charge 0
[2025-02-09 16:07:03] Production.INFO: CreateAllLog End
[2025-02-09 16:07:03] Production.INFO: ==13419== Lock acquired, processing the job...
[2025-02-09 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:07:03] Production.ERROR: done
[2025-02-09 16:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:07:03] Production.INFO: Account Balance End.
[2025-02-09 16:07:03] Production.INFO: count ==21
[2025-02-09 16:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:07:03] Production.INFO: count ==21
[2025-02-09 16:07:03] Production.ERROR: CronJobId end 12
[2025-02-09 16:07:03] Production.INFO: ==13415== Releasing lock...
[2025-02-09 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438173') start
[2025-02-09 16:07:04] Production.ERROR: done
[2025-02-09 16:07:04] Production.INFO: ==13411== Releasing lock...
[2025-02-09 16:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438173') end
[2025-02-09 16:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:07:04] Production.INFO: 1
[2025-02-09 16:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:07:04] Production.INFO: ==13419== Releasing lock...
[2025-02-09 16:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:07:05
[end_date_ymd] => 2025-02-09 16:07:05
[RateCDR] => 1
)
[2025-02-09 16:07: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` >= '2025-02-09 13:07:05' and `end` < '2025-02-09 16:07: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 ,'')
[2025-02-09 16:07:12] Production.ERROR: CronJobId end10
[2025-02-09 16:07:12] Production.INFO: ==13413== Releasing lock...
[2025-02-09 16:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:07:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:07:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:07:13] Production.INFO: call_cost start
[2025-02-09 16:07:13] Production.INFO: call_cost end
[2025-02-09 16:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:07:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:07:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:07:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:07:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:07:14] Production.INFO: ==13409== Releasing lock...
[2025-02-09 16:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:07:18] Production.INFO: count ==1201
[2025-02-09 16:07:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:07:05 - End Time 2025-02-09 16:07:05
[2025-02-09 16:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438174', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438174', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438174', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438174', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:07:18] Production.INFO: ProcessCDR(1,14438174,1,1,2)
[2025-02-09 16:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438174', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438174', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:07:21] Production.INFO: ==13417== Releasing lock...
[2025-02-09 16:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:07:21] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:08:02] Production.INFO: ==13479== Lock acquired, processing the job...
[2025-02-09 21:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:08:02] Production.INFO: neon service started
[2025-02-09 21:08:02] Production.INFO: neon service started
[2025-02-09 21:08:02] Production.INFO: ==13479== Releasing lock...
[2025-02-09 21:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:08:02] Production.INFO: ==13481== Lock acquired, processing the job...
[2025-02-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:08:02] Production.INFO: ==13483== Lock acquired, processing the job...
[2025-02-09 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:08:02] Production.INFO: ==13481== Releasing lock...
[2025-02-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:08:02] Production.INFO: ==13483== Releasing lock...
[2025-02-09 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:08:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:08:03] Production.INFO: ==13486== Lock acquired, processing the job...
[2025-02-09 16:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:08:03] Production.INFO: ==13494== Lock acquired, processing the job...
[2025-02-09 16:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:08:03] Production.INFO: ==13488== Lock acquired, processing the job...
[2025-02-09 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:08:03] Production.INFO: ==13490== Lock acquired, processing the job...
[2025-02-09 16:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:08:03] Production.INFO: ==13492== Lock acquired, processing the job...
[2025-02-09 16:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:08:03] Production.INFO: ==13496== Lock acquired, processing the job...
[2025-02-09 16:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:08:03] Production.INFO: Account Balance Start.
[2025-02-09 16:08:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:08:04] Production.INFO: 117
[2025-02-09 16:08:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:08:04] Production.ERROR: done
[2025-02-09 16:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:08:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:08:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:08:04] Production.INFO: Total Charge 0
[2025-02-09 16:08:04] Production.INFO: CreateAllLog End
[2025-02-09 16:08:04] Production.INFO: count ==21
[2025-02-09 16:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:08:04] Production.INFO: count ==21
[2025-02-09 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438178') start
[2025-02-09 16:08:04] Production.ERROR: done
[2025-02-09 16:08:04] Production.INFO: ==13488== Releasing lock...
[2025-02-09 16:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438178') end
[2025-02-09 16:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:08:04] Production.INFO: 1
[2025-02-09 16:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:08:04] Production.INFO: Account Balance End.
[2025-02-09 16:08:04] Production.INFO: ==13496== Releasing lock...
[2025-02-09 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:08:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:08:04] Production.INFO: ==13492== Releasing lock...
[2025-02-09 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:08:05
[end_date_ymd] => 2025-02-09 16:08:05
[RateCDR] => 1
)
[2025-02-09 16:08: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` >= '2025-02-09 13:08:05' and `end` < '2025-02-09 16:08: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 ,'')
[2025-02-09 16:08:11] Production.ERROR: CronJobId end10
[2025-02-09 16:08:11] Production.INFO: ==13490== Releasing lock...
[2025-02-09 16:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:08:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:08:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:08:14] Production.INFO: call_cost start
[2025-02-09 16:08:14] Production.INFO: call_cost end
[2025-02-09 16:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:08:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:08:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:08:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:08:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:08:15] Production.INFO: ==13486== Releasing lock...
[2025-02-09 16:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:08:18] Production.INFO: count ==1204
[2025-02-09 16:08:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:08:05 - End Time 2025-02-09 16:08:05
[2025-02-09 16:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438179', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438179', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438179', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438179', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:08:18] Production.INFO: ProcessCDR(1,14438179,1,1,2)
[2025-02-09 16:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438179', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438179', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:08:23] Production.INFO: ==13494== Releasing lock...
[2025-02-09 16:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:08:23] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 21:09:01] Production.INFO: ==13558== Lock acquired, processing the job...
[2025-02-09 21:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:09:01] Production.INFO: neon service started
[2025-02-09 21:09:01] Production.INFO: neon service started
[2025-02-09 21:09:01] Production.INFO: ==13558== Releasing lock...
[2025-02-09 21:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:09:01] Production.INFO: ==13560== Lock acquired, processing the job...
[2025-02-09 16:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:09:02] Production.INFO: ==13560== Releasing lock...
[2025-02-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:09:02] Production.INFO: ==13562== Lock acquired, processing the job...
[2025-02-09 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:09:02] Production.INFO: ==13562== Releasing lock...
[2025-02-09 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:09:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:09:02] Production.INFO: ==13567== Lock acquired, processing the job...
[2025-02-09 16:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:09:02] Production.INFO: ==13569== Lock acquired, processing the job...
[2025-02-09 16:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:09:02] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:09:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:09:02] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:09:02] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:09:03] Production.INFO: ==13567== Releasing lock...
[2025-02-09 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:09:03] Production.INFO: ==13565== Lock acquired, processing the job...
[2025-02-09 16:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:09:03] Production.INFO: ==13575== Lock acquired, processing the job...
[2025-02-09 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:09:03] Production.INFO: ==13571== Lock acquired, processing the job...
[2025-02-09 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:09:03] Production.INFO: ==13573== Lock acquired, processing the job...
[2025-02-09 16:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:09:03] Production.INFO: Account Balance Start.
[2025-02-09 16:09:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:09:03] Production.INFO: 117
[2025-02-09 16:09:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:09:03] Production.INFO: count ==21
[2025-02-09 16:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:09:03] Production.INFO: count ==21
[2025-02-09 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438182') start
[2025-02-09 16:09:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:09:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:09:03] Production.INFO: Total Charge 0
[2025-02-09 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438182') end
[2025-02-09 16:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:09:03] Production.INFO: 1
[2025-02-09 16:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:09:03] Production.INFO: CreateAllLog End
[2025-02-09 16:09:03] Production.INFO: ==13575== Releasing lock...
[2025-02-09 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:09:03] Production.ERROR: done
[2025-02-09 16:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:09:03] Production.INFO: Account Balance End.
[2025-02-09 16:09:03] Production.ERROR: CronJobId end 12
[2025-02-09 16:09:03] Production.INFO: ==13571== Releasing lock...
[2025-02-09 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:09:04] Production.ERROR: done
[2025-02-09 16:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:09:05
[end_date_ymd] => 2025-02-09 16:09:05
[RateCDR] => 1
)
[2025-02-09 16:09: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` >= '2025-02-09 13:09:05' and `end` < '2025-02-09 16:09: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 ,'')
[2025-02-09 16:09:12] Production.ERROR: CronJobId end10
[2025-02-09 16:09:12] Production.INFO: ==13569== Releasing lock...
[2025-02-09 16:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:09:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:09:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:09:14] Production.INFO: call_cost start
[2025-02-09 16:09:14] Production.INFO: call_cost end
[2025-02-09 16:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:09:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:09:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:09:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:09:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:09:15] Production.INFO: ==13565== Releasing lock...
[2025-02-09 16:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:09:19] Production.INFO: count ==1202
[2025-02-09 16:09:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:09:05 - End Time 2025-02-09 16:09:05
[2025-02-09 16:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438184', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438184', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438184', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438184', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:09:19] Production.INFO: ProcessCDR(1,14438184,1,1,2)
[2025-02-09 16:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438184', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438184', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:09:24] Production.INFO: ==13573== Releasing lock...
[2025-02-09 16:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:09:24] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:10:01] Production.INFO: ==13633== Lock acquired, processing the job...
[2025-02-09 21:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:10:02] Production.INFO: neon service started
[2025-02-09 21:10:02] Production.INFO: neon service started
[2025-02-09 21:10:02] Production.INFO: ==13633== Releasing lock...
[2025-02-09 21:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:10:02] Production.INFO: ==13635== Lock acquired, processing the job...
[2025-02-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:10:02] Production.INFO: ==13638== Lock acquired, processing the job...
[2025-02-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:10:02] Production.INFO: ==13635== Releasing lock...
[2025-02-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:10:02] Production.INFO: ==13638== Releasing lock...
[2025-02-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:10:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:10:03] Production.INFO: ==13640== Lock acquired, processing the job...
[2025-02-09 16:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 16:10:03] Production.INFO: ==13642== Lock acquired, processing the job...
[2025-02-09 16:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 16:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 16:10:03] Production.INFO: ==13640== Releasing lock...
[2025-02-09 16:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 16:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 16:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:10:03] Production.INFO: ==13646== Lock acquired, processing the job...
[2025-02-09 16:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:10:04] Production.INFO: ==13650== Lock acquired, processing the job...
[2025-02-09 16:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:10:04] Production.INFO: ==13644== Lock acquired, processing the job...
[2025-02-09 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:10:04] Production.INFO: ==13654== Lock acquired, processing the job...
[2025-02-09 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:10:04] Production.INFO: ==13648== Lock acquired, processing the job...
[2025-02-09 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:10:04] Production.INFO: ==13652== Lock acquired, processing the job...
[2025-02-09 16:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 16:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:10:04] Production.ERROR: done
[2025-02-09 16:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:10:04] Production.INFO: Account Balance Start.
[2025-02-09 16:10:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:10:04] Production.INFO: 117
[2025-02-09 16:10:04] Production.INFO: count ==21
[2025-02-09 16:10:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:10:04] Production.INFO: count ==21
[2025-02-09 16:10:04] Production.INFO: ==13644== Releasing lock...
[2025-02-09 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438187') start
[2025-02-09 16:10:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:10:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:10:04] Production.ERROR: done
[2025-02-09 16:10:04] Production.INFO: Total Charge 0
[2025-02-09 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438187') end
[2025-02-09 16:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:10:04] Production.INFO: 1
[2025-02-09 16:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:10:04] Production.INFO: CreateAllLog End
[2025-02-09 16:10:04] Production.INFO: ==13654== Releasing lock...
[2025-02-09 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:10:05] Production.ERROR: done
[2025-02-09 16:10:05] Production.INFO: Account Balance End.
[2025-02-09 16:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 16:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438190', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 16:10:05] Production.ERROR: CronJobId end 12
[2025-02-09 16:10:05] Production.INFO: ==13648== Releasing lock...
[2025-02-09 16:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:10:05
[end_date_ymd] => 2025-02-09 16:10:05
[RateCDR] => 1
)
[2025-02-09 16:10: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` >= '2025-02-09 13:10:05' and `end` < '2025-02-09 16:10: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 ,'')
[2025-02-09 16:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438190', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 16:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 16:10:09] Production.INFO: ProcessCDR(1,14438190,1,1,2)
[2025-02-09 16:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14438190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14438190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:10:09] Production.INFO: ==13652== Releasing lock...
[2025-02-09 16:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 16:10:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 16:10:13] Production.ERROR: CronJobId end10
[2025-02-09 16:10:13] Production.INFO: ==13646== Releasing lock...
[2025-02-09 16:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:10:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:10:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:10:16] Production.INFO: call_cost start
[2025-02-09 16:10:16] Production.INFO: call_cost end
[2025-02-09 16:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:10:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:10:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:10:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:10:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:10:17] Production.INFO: ==13642== Releasing lock...
[2025-02-09 16:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:10:19] Production.INFO: count ==1188
[2025-02-09 16:10:20] Production.ERROR: pbx CDR StartTime 2025-02-09 13:10:05 - End Time 2025-02-09 16:10:05
[2025-02-09 16:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438189', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438189', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438189', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438189', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:10:20] Production.INFO: ProcessCDR(1,14438189,1,1,2)
[2025-02-09 16:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438189', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438189', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:10:24] Production.INFO: ==13650== Releasing lock...
[2025-02-09 16:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:10:24] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 21:11:01] Production.INFO: ==13717== Lock acquired, processing the job...
[2025-02-09 21:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:11:01] Production.INFO: neon service started
[2025-02-09 21:11:01] Production.INFO: neon service started
[2025-02-09 21:11:01] Production.INFO: ==13717== Releasing lock...
[2025-02-09 21:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:11:01] Production.INFO: ==13721== Lock acquired, processing the job...
[2025-02-09 21:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:11:01] Production.INFO: ==13721== Releasing lock...
[2025-02-09 21:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:11:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:11:02] Production.INFO: ==13719== Lock acquired, processing the job...
[2025-02-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:11:02] Production.INFO: ==13719== Releasing lock...
[2025-02-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:11:03] Production.INFO: ==13724== Lock acquired, processing the job...
[2025-02-09 16:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:11:03] Production.INFO: ==13728== Lock acquired, processing the job...
[2025-02-09 16:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:11:03] Production.INFO: ==13732== Lock acquired, processing the job...
[2025-02-09 16:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:11:03] Production.INFO: ==13726== Lock acquired, processing the job...
[2025-02-09 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:11:03] Production.INFO: ==13730== Lock acquired, processing the job...
[2025-02-09 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:11:03] Production.INFO: Account Balance Start.
[2025-02-09 16:11:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:11:03] Production.INFO: 117
[2025-02-09 16:11:03] Production.INFO: ==13734== Lock acquired, processing the job...
[2025-02-09 16:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:11:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:11:03] Production.ERROR: done
[2025-02-09 16:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:11:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:11:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:11:03] Production.INFO: Total Charge 0
[2025-02-09 16:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:11:03] Production.INFO: CreateAllLog End
[2025-02-09 16:11:03] Production.INFO: ==13726== Releasing lock...
[2025-02-09 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:11:03] Production.INFO: count ==21
[2025-02-09 16:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:11:03] Production.ERROR: done
[2025-02-09 16:11:03] Production.INFO: count ==21
[2025-02-09 16:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438194') start
[2025-02-09 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438194') end
[2025-02-09 16:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:11:04] Production.INFO: 1
[2025-02-09 16:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:11:04] Production.INFO: Account Balance End.
[2025-02-09 16:11:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:11:04] Production.INFO: ==13730== Releasing lock...
[2025-02-09 16:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:11:04] Production.INFO: ==13734== Releasing lock...
[2025-02-09 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:11:04
[end_date_ymd] => 2025-02-09 16:11:04
[RateCDR] => 1
)
[2025-02-09 16:11:04] 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-02-09 13:11:04' and `end` < '2025-02-09 16:11:04'
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-02-09 16:11:11] Production.ERROR: CronJobId end10
[2025-02-09 16:11:11] Production.INFO: ==13728== Releasing lock...
[2025-02-09 16:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:11:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:11:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:11:14] Production.INFO: call_cost start
[2025-02-09 16:11:14] Production.INFO: call_cost end
[2025-02-09 16:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:11:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:11:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:11:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:11:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:11:15] Production.INFO: ==13724== Releasing lock...
[2025-02-09 16:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:11:17] Production.INFO: count ==1207
[2025-02-09 16:11:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:11:04 - End Time 2025-02-09 16:11:04
[2025-02-09 16:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438195', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438195', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438195', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438195', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:11:18] Production.INFO: ProcessCDR(1,14438195,1,1,2)
[2025-02-09 16:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438195', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438195', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:11:22] Production.INFO: ==13732== Releasing lock...
[2025-02-09 16:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:11:22] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:12:01] Production.INFO: ==13796== Lock acquired, processing the job...
[2025-02-09 21:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:12:01] Production.INFO: neon service started
[2025-02-09 21:12:01] Production.INFO: neon service started
[2025-02-09 21:12:01] Production.INFO: ==13796== Releasing lock...
[2025-02-09 21:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:12:02] Production.INFO: ==13801== Lock acquired, processing the job...
[2025-02-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:12:02] Production.INFO: ==13801== Releasing lock...
[2025-02-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:12:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:12:02] Production.INFO: ==13799== Lock acquired, processing the job...
[2025-02-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:12:02] Production.INFO: ==13799== Releasing lock...
[2025-02-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:12:03] Production.INFO: ==13803== Lock acquired, processing the job...
[2025-02-09 16:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:12:03] Production.INFO: ==13805== Lock acquired, processing the job...
[2025-02-09 16:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:12:03] Production.INFO: ==13809== Lock acquired, processing the job...
[2025-02-09 16:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:12:03] Production.INFO: ==13805== Releasing lock...
[2025-02-09 16:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:12:03] Production.INFO: Account Balance Start.
[2025-02-09 16:12:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:12:03] Production.INFO: 117
[2025-02-09 16:12:03] Production.INFO: ==13807== Lock acquired, processing the job...
[2025-02-09 16:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:12:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:12:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:12:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:12:03] Production.INFO: Total Charge 0
[2025-02-09 16:12:03] Production.INFO: CreateAllLog End
[2025-02-09 16:12:04] Production.INFO: ==13811== Lock acquired, processing the job...
[2025-02-09 16:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:12:04] Production.INFO: ==13813== Lock acquired, processing the job...
[2025-02-09 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:12:04] Production.INFO: Account Balance End.
[2025-02-09 16:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:12:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:12:04] Production.INFO: ==13809== Releasing lock...
[2025-02-09 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:12:04] Production.INFO: count ==21
[2025-02-09 16:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:12:04] Production.INFO: count ==21
[2025-02-09 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438199') start
[2025-02-09 16:12:04] Production.ERROR: done
[2025-02-09 16:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438199') end
[2025-02-09 16:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:12:04] Production.INFO: 1
[2025-02-09 16:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:12:04] Production.INFO: ==13813== Releasing lock...
[2025-02-09 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:12:04] Production.ERROR: done
[2025-02-09 16:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:12:05
[end_date_ymd] => 2025-02-09 16:12:05
[RateCDR] => 1
)
[2025-02-09 16:12: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` >= '2025-02-09 13:12:05' and `end` < '2025-02-09 16:12: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 ,'')
[2025-02-09 16:12:12] Production.ERROR: CronJobId end10
[2025-02-09 16:12:12] Production.INFO: ==13807== Releasing lock...
[2025-02-09 16:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:12:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:12:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:12:14] Production.INFO: call_cost start
[2025-02-09 16:12:14] Production.INFO: call_cost end
[2025-02-09 16:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:12:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:12:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:12:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:12:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:12:15] Production.INFO: ==13803== Releasing lock...
[2025-02-09 16:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:12:19] Production.INFO: count ==1212
[2025-02-09 16:12:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:12:05 - End Time 2025-02-09 16:12:05
[2025-02-09 16:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438200', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438200', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438200', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438200', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:12:19] Production.INFO: ProcessCDR(1,14438200,1,1,2)
[2025-02-09 16:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438200', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438200', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:12:24] Production.INFO: ==13811== Releasing lock...
[2025-02-09 16:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:12:24] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:13:02] Production.INFO: ==13870== Lock acquired, processing the job...
[2025-02-09 21:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:13:02] Production.INFO: neon service started
[2025-02-09 21:13:02] Production.INFO: neon service started
[2025-02-09 21:13:02] Production.INFO: ==13870== Releasing lock...
[2025-02-09 21:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:13:02] Production.INFO: ==13875== Lock acquired, processing the job...
[2025-02-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:13:02] Production.INFO: ==13875== Releasing lock...
[2025-02-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:13:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:13:03] Production.INFO: ==13873== Lock acquired, processing the job...
[2025-02-09 16:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:13:03] Production.INFO: ==13873== Releasing lock...
[2025-02-09 16:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:13:04] Production.INFO: ==13883== Lock acquired, processing the job...
[2025-02-09 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:13:04] Production.INFO: ==13885== Lock acquired, processing the job...
[2025-02-09 16:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:13:04] Production.INFO: Account Balance Start.
[2025-02-09 16:13:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:13:04] Production.INFO: 117
[2025-02-09 16:13:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:13:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:13:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:13:04] Production.INFO: Total Charge 0
[2025-02-09 16:13:04] Production.INFO: CreateAllLog End
[2025-02-09 16:13:04] Production.INFO: ==13877== Lock acquired, processing the job...
[2025-02-09 16:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:13:04] Production.INFO: ==13879== Lock acquired, processing the job...
[2025-02-09 16:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:13:04] Production.INFO: ==13881== Lock acquired, processing the job...
[2025-02-09 16:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:13:04] Production.INFO: ==13887== Lock acquired, processing the job...
[2025-02-09 16:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:13:04] Production.INFO: Account Balance End.
[2025-02-09 16:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:13:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:13:04] Production.INFO: ==13883== Releasing lock...
[2025-02-09 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:13:04] Production.ERROR: done
[2025-02-09 16:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:13:04] Production.INFO: count ==21
[2025-02-09 16:13:04] Production.ERROR: done
[2025-02-09 16:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:13:05] Production.INFO: count ==21
[2025-02-09 16:13:05] Production.ERROR: PBX CALL prc_importPBXExtension('14438204') start
[2025-02-09 16:13:05] Production.ERROR: PBX CALL prc_importPBXExtension('14438204') end
[2025-02-09 16:13:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:13:05] Production.INFO: 1
[2025-02-09 16:13:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:13:05] Production.INFO: ==13887== Releasing lock...
[2025-02-09 16:13:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:13:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:13:05] Production.INFO: ==13879== Releasing lock...
[2025-02-09 16:13:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:13:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:13:06
[end_date_ymd] => 2025-02-09 16:13:06
[RateCDR] => 1
)
[2025-02-09 16:13: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-02-09 13:13:06' and `end` < '2025-02-09 16:13: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-02-09 16:13:11] Production.ERROR: CronJobId end10
[2025-02-09 16:13:11] Production.INFO: ==13881== Releasing lock...
[2025-02-09 16:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:13:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:13:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:13:15] Production.INFO: call_cost start
[2025-02-09 16:13:15] Production.INFO: call_cost end
[2025-02-09 16:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:13:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:13:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:13:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:13:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:13:15] Production.INFO: ==13877== Releasing lock...
[2025-02-09 16:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:13:19] Production.INFO: count ==1206
[2025-02-09 16:13:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:13:06 - End Time 2025-02-09 16:13:06
[2025-02-09 16:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438205', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438205', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438205', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438205', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:13:19] Production.INFO: ProcessCDR(1,14438205,1,1,2)
[2025-02-09 16:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438205', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438205', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:13:23] Production.INFO: ==13885== Releasing lock...
[2025-02-09 16:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:13:23] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 21:14:02] Production.INFO: ==13943== Lock acquired, processing the job...
[2025-02-09 21:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:14:02] Production.INFO: neon service started
[2025-02-09 21:14:02] Production.INFO: neon service started
[2025-02-09 21:14:02] Production.INFO: ==13943== Releasing lock...
[2025-02-09 21:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:14:02] Production.INFO: ==13948== Lock acquired, processing the job...
[2025-02-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:14:02] Production.INFO: ==13950== Lock acquired, processing the job...
[2025-02-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:14:02] Production.INFO: ==13948== Releasing lock...
[2025-02-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:14:02] Production.INFO: ==13950== Releasing lock...
[2025-02-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:14:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:14:03] Production.INFO: ==13956== Lock acquired, processing the job...
[2025-02-09 16:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:14:03] Production.INFO: ==13960== Lock acquired, processing the job...
[2025-02-09 16:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:14:04] Production.INFO: ==13954== Lock acquired, processing the job...
[2025-02-09 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:14:04] Production.ERROR: done
[2025-02-09 16:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:14:04] Production.INFO: ==13952== Lock acquired, processing the job...
[2025-02-09 16:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:14:04] Production.INFO: ==13958== Lock acquired, processing the job...
[2025-02-09 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:14:04] Production.INFO: ==13962== Lock acquired, processing the job...
[2025-02-09 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:14:04] Production.ERROR: done
[2025-02-09 16:14:04] Production.INFO: Account Balance Start.
[2025-02-09 16:14:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:14:04] Production.INFO: 117
[2025-02-09 16:14:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:14:04] Production.INFO: count ==21
[2025-02-09 16:14:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:14:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:14:04] Production.INFO: count ==21
[2025-02-09 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438207') start
[2025-02-09 16:14:04] Production.INFO: Total Charge 0
[2025-02-09 16:14:04] Production.INFO: CreateAllLog End
[2025-02-09 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438207') end
[2025-02-09 16:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:14:04] Production.INFO: 1
[2025-02-09 16:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:14:04] Production.INFO: ==13954== Releasing lock...
[2025-02-09 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:14:04] Production.INFO: ==13962== Releasing lock...
[2025-02-09 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:14:04] Production.INFO: Account Balance End.
[2025-02-09 16:14:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:14:04] Production.INFO: ==13958== Releasing lock...
[2025-02-09 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:14:05
[end_date_ymd] => 2025-02-09 16:14:05
[RateCDR] => 1
)
[2025-02-09 16:14: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` >= '2025-02-09 13:14:05' and `end` < '2025-02-09 16:14: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 ,'')
[2025-02-09 16:14:11] Production.ERROR: CronJobId end10
[2025-02-09 16:14:11] Production.INFO: ==13956== Releasing lock...
[2025-02-09 16:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:14:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:14:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:14:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:14:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:14:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:14:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:14:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:14:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:14:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:14:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:14:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:14:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:14:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:14:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:14:14] Production.INFO: call_cost start
[2025-02-09 16:14:14] Production.INFO: call_cost end
[2025-02-09 16:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:14:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:14:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:14:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:14:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:14:15] Production.INFO: ==13952== Releasing lock...
[2025-02-09 16:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:14:19] Production.INFO: count ==1203
[2025-02-09 16:14:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:14:05 - End Time 2025-02-09 16:14:05
[2025-02-09 16:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438208', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438208', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438208', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438208', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:14:19] Production.INFO: ProcessCDR(1,14438208,1,1,2)
[2025-02-09 16:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438208,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438208,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438208', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438208', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:14:24] Production.INFO: ==13960== Releasing lock...
[2025-02-09 16:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:14:24] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:15:01] Production.INFO: ==14019== Lock acquired, processing the job...
[2025-02-09 21:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:15:01] Production.INFO: neon service started
[2025-02-09 21:15:01] Production.INFO: neon service started
[2025-02-09 21:15:01] Production.INFO: ==14019== Releasing lock...
[2025-02-09 21:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:15:01] Production.INFO: ==14021== Lock acquired, processing the job...
[2025-02-09 16:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:15:02] Production.INFO: ==14023== Lock acquired, processing the job...
[2025-02-09 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:15:02] Production.INFO: ==14021== Releasing lock...
[2025-02-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:15:02] Production.INFO: ==14023== Releasing lock...
[2025-02-09 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:15:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:15:02] Production.INFO: ==14025== Lock acquired, processing the job...
[2025-02-09 16:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:15:03] Production.INFO: ==14027== Lock acquired, processing the job...
[2025-02-09 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:15:03] Production.INFO: ==14029== Lock acquired, processing the job...
[2025-02-09 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:15:03] Production.INFO: ==14027== Releasing lock...
[2025-02-09 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:15:03] Production.INFO: ==14033== Lock acquired, processing the job...
[2025-02-09 16:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:15:03] Production.INFO: ==14031== Lock acquired, processing the job...
[2025-02-09 16:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:15:03] Production.INFO: Account Balance Start.
[2025-02-09 16:15:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:15:03] Production.INFO: 117
[2025-02-09 16:15:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:15:03] Production.INFO: ==14036== Lock acquired, processing the job...
[2025-02-09 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:15:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:15:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:15:03] Production.INFO: Total Charge 0
[2025-02-09 16:15:03] Production.INFO: count ==21
[2025-02-09 16:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:15:03] Production.ERROR: done
[2025-02-09 16:15:03] Production.INFO: count ==21
[2025-02-09 16:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:15:03] Production.INFO: CreateAllLog End
[2025-02-09 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438214') start
[2025-02-09 16:15:04] Production.ERROR: done
[2025-02-09 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438214') end
[2025-02-09 16:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:15:04] Production.INFO: 1
[2025-02-09 16:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:15:04] Production.INFO: Account Balance End.
[2025-02-09 16:15:04] Production.INFO: ==14036== Releasing lock...
[2025-02-09 16:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:15:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:15:04] Production.INFO: ==14031== Releasing lock...
[2025-02-09 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:15:05
[end_date_ymd] => 2025-02-09 16:15:05
[RateCDR] => 1
)
[2025-02-09 16:15: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` >= '2025-02-09 13:15:05' and `end` < '2025-02-09 16:15: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 ,'')
[2025-02-09 16:15:11] Production.ERROR: CronJobId end10
[2025-02-09 16:15:11] Production.INFO: ==14029== Releasing lock...
[2025-02-09 16:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:15:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:15:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:15:13] Production.INFO: call_cost start
[2025-02-09 16:15:13] Production.INFO: call_cost end
[2025-02-09 16:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:15:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:15:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:15:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:15:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:15:14] Production.INFO: ==14025== Releasing lock...
[2025-02-09 16:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:15:18] Production.INFO: count ==1198
[2025-02-09 16:15:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:15:05 - End Time 2025-02-09 16:15:05
[2025-02-09 16:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438215', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438215', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438215', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438215', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:15:18] Production.INFO: ProcessCDR(1,14438215,1,1,2)
[2025-02-09 16:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438215', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438215', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:15:23] Production.INFO: ==14033== Releasing lock...
[2025-02-09 16:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:15:23] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:16:02] Production.INFO: ==14097== Lock acquired, processing the job...
[2025-02-09 21:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:16:02] Production.INFO: neon service started
[2025-02-09 21:16:02] Production.INFO: neon service started
[2025-02-09 21:16:02] Production.INFO: ==14097== Releasing lock...
[2025-02-09 21:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:16:02] Production.INFO: ==14099== Lock acquired, processing the job...
[2025-02-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:16:02] Production.INFO: ==14099== Releasing lock...
[2025-02-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:16:02] Production.INFO: ==14101== Lock acquired, processing the job...
[2025-02-09 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:16:02] Production.INFO: ==14101== Releasing lock...
[2025-02-09 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:16:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:16:03] Production.INFO: ==14111== Lock acquired, processing the job...
[2025-02-09 16:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:16:03] Production.INFO: ==14113== Lock acquired, processing the job...
[2025-02-09 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:16:03] Production.INFO: count ==21
[2025-02-09 16:16:03] Production.INFO: ==14103== Lock acquired, processing the job...
[2025-02-09 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:16:03] Production.INFO: count ==21
[2025-02-09 16:16:03] Production.INFO: ==14105== Lock acquired, processing the job...
[2025-02-09 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438216') start
[2025-02-09 16:16:03] Production.INFO: ==14107== Lock acquired, processing the job...
[2025-02-09 16:16:03] Production.INFO: ==14109== Lock acquired, processing the job...
[2025-02-09 16:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:16:04] Production.INFO: Account Balance Start.
[2025-02-09 16:16:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:16:04] Production.INFO: 117
[2025-02-09 16:16:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438216') end
[2025-02-09 16:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:16:04] Production.INFO: 1
[2025-02-09 16:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:16:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:16:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:16:04] Production.INFO: Total Charge 0
[2025-02-09 16:16:04] Production.INFO: CreateAllLog End
[2025-02-09 16:16:04] Production.INFO: ==14113== Releasing lock...
[2025-02-09 16:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:16:04] Production.ERROR: done
[2025-02-09 16:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:16:04] Production.INFO: ==14105== Releasing lock...
[2025-02-09 16:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:16:04] Production.ERROR: done
[2025-02-09 16:16:04] Production.INFO: Account Balance End.
[2025-02-09 16:16:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:16:04] Production.INFO: ==14109== Releasing lock...
[2025-02-09 16:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:16:05
[end_date_ymd] => 2025-02-09 16:16:05
[RateCDR] => 1
)
[2025-02-09 16:16: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` >= '2025-02-09 13:16:05' and `end` < '2025-02-09 16:16: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 ,'')
[2025-02-09 16:16:12] Production.ERROR: CronJobId end10
[2025-02-09 16:16:12] Production.INFO: ==14107== Releasing lock...
[2025-02-09 16:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:16:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:16:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:16:14] Production.INFO: call_cost start
[2025-02-09 16:16:14] Production.INFO: call_cost end
[2025-02-09 16:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:16:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:16:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:16:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:16:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:16:15] Production.INFO: ==14103== Releasing lock...
[2025-02-09 16:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:16:18] Production.INFO: count ==1193
[2025-02-09 16:16:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:16:05 - End Time 2025-02-09 16:16:05
[2025-02-09 16:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438220', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438220', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438220', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438220', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:16:18] Production.INFO: ProcessCDR(1,14438220,1,1,2)
[2025-02-09 16:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438220', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438220', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:16:23] Production.INFO: ==14111== Releasing lock...
[2025-02-09 16:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:16:23] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:17:01] Production.INFO: ==14169== Lock acquired, processing the job...
[2025-02-09 21:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:17:01] Production.INFO: neon service started
[2025-02-09 21:17:01] Production.INFO: neon service started
[2025-02-09 21:17:01] Production.INFO: ==14169== Releasing lock...
[2025-02-09 21:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:17:01] Production.INFO: ==14173== Lock acquired, processing the job...
[2025-02-09 21:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:17:01] Production.INFO: ==14173== Releasing lock...
[2025-02-09 21:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:17:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:17:01] Production.INFO: ==14171== Lock acquired, processing the job...
[2025-02-09 16:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:17:02] Production.INFO: ==14171== Releasing lock...
[2025-02-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:17:02] Production.INFO: ==14176== Lock acquired, processing the job...
[2025-02-09 16:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:17:03] Production.INFO: ==14178== Lock acquired, processing the job...
[2025-02-09 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:17:03] Production.INFO: ==14184== Lock acquired, processing the job...
[2025-02-09 16:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:17:03] Production.INFO: ==14180== Lock acquired, processing the job...
[2025-02-09 16:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:17:03] Production.INFO: ==14182== Lock acquired, processing the job...
[2025-02-09 16:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:17:03] Production.INFO: ==14186== Lock acquired, processing the job...
[2025-02-09 16:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:17:03] Production.INFO: ==14178== Releasing lock...
[2025-02-09 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:17:03] Production.INFO: Account Balance Start.
[2025-02-09 16:17:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:17:03] Production.INFO: 117
[2025-02-09 16:17:03] Production.ERROR: done
[2025-02-09 16:17:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:17:03] Production.INFO: count ==21
[2025-02-09 16:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:17:03] Production.INFO: count ==21
[2025-02-09 16:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438224') start
[2025-02-09 16:17:03] Production.ERROR: done
[2025-02-09 16:17:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:17:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:17:03] Production.INFO: Total Charge 0
[2025-02-09 16:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438224') end
[2025-02-09 16:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:17:03] Production.INFO: 1
[2025-02-09 16:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:17:03] Production.INFO: CreateAllLog End
[2025-02-09 16:17:03] Production.INFO: ==14186== Releasing lock...
[2025-02-09 16:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:17:03] Production.INFO: Account Balance End.
[2025-02-09 16:17:03] Production.ERROR: CronJobId end 12
[2025-02-09 16:17:03] Production.INFO: ==14182== Releasing lock...
[2025-02-09 16:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:17:04
[end_date_ymd] => 2025-02-09 16:17:04
[RateCDR] => 1
)
[2025-02-09 16:17:04] 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-02-09 13:17:04' and `end` < '2025-02-09 16:17:04'
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-02-09 16:17:11] Production.ERROR: CronJobId end10
[2025-02-09 16:17:11] Production.INFO: ==14180== Releasing lock...
[2025-02-09 16:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:17:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:17:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:17:13] Production.INFO: call_cost start
[2025-02-09 16:17:13] Production.INFO: call_cost end
[2025-02-09 16:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:17:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:17:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:17:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:17:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:17:14] Production.INFO: ==14176== Releasing lock...
[2025-02-09 16:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:17:18] Production.INFO: count ==1192
[2025-02-09 16:17:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:17:04 - End Time 2025-02-09 16:17:04
[2025-02-09 16:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438225', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438225', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438225', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438225', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:17:18] Production.INFO: ProcessCDR(1,14438225,1,1,2)
[2025-02-09 16:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438225', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438225', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:17:23] Production.INFO: ==14184== Releasing lock...
[2025-02-09 16:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:17:23] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:18:01] Production.INFO: ==14258== Lock acquired, processing the job...
[2025-02-09 21:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:18:01] Production.INFO: neon service started
[2025-02-09 21:18:01] Production.INFO: neon service started
[2025-02-09 21:18:01] Production.INFO: ==14258== Releasing lock...
[2025-02-09 21:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:18:02] Production.INFO: ==14260== Lock acquired, processing the job...
[2025-02-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:18:02] Production.INFO: ==14260== Releasing lock...
[2025-02-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:18:02] Production.INFO: ==14262== Lock acquired, processing the job...
[2025-02-09 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:18:02] Production.INFO: ==14262== Releasing lock...
[2025-02-09 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:18:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:18:03] Production.INFO: ==14270== Lock acquired, processing the job...
[2025-02-09 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:18:03] Production.INFO: ==14266== Lock acquired, processing the job...
[2025-02-09 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:18:03] Production.INFO: ==14268== Lock acquired, processing the job...
[2025-02-09 16:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:18:03] Production.INFO: ==14272== Lock acquired, processing the job...
[2025-02-09 16:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:18:03] Production.INFO: Account Balance Start.
[2025-02-09 16:18:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:18:03] Production.INFO: 117
[2025-02-09 16:18:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:18:03] Production.INFO: ==14264== Lock acquired, processing the job...
[2025-02-09 16:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:18:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:18:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:18:03] Production.INFO: Total Charge 0
[2025-02-09 16:18:03] Production.INFO: CreateAllLog End
[2025-02-09 16:18:03] Production.INFO: ==14274== Lock acquired, processing the job...
[2025-02-09 16:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:18:03] Production.INFO: ==14266== Releasing lock...
[2025-02-09 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:18:03] Production.INFO: count ==21
[2025-02-09 16:18:03] Production.INFO: Account Balance End.
[2025-02-09 16:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:18:03] Production.INFO: count ==21
[2025-02-09 16:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438229') start
[2025-02-09 16:18:03] Production.ERROR: CronJobId end 12
[2025-02-09 16:18:03] Production.INFO: ==14270== Releasing lock...
[2025-02-09 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:18:04] Production.ERROR: done
[2025-02-09 16:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438229') end
[2025-02-09 16:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:18:04] Production.INFO: 1
[2025-02-09 16:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:18:04] Production.INFO: ==14274== Releasing lock...
[2025-02-09 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:18:04] Production.ERROR: done
[2025-02-09 16:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:18:05
[end_date_ymd] => 2025-02-09 16:18:05
[RateCDR] => 1
)
[2025-02-09 16:18: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` >= '2025-02-09 13:18:05' and `end` < '2025-02-09 16:18: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 ,'')
[2025-02-09 16:18:12] Production.ERROR: CronJobId end10
[2025-02-09 16:18:12] Production.INFO: ==14268== Releasing lock...
[2025-02-09 16:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:18:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:18:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:18:13] Production.INFO: call_cost start
[2025-02-09 16:18:13] Production.INFO: call_cost end
[2025-02-09 16:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:18:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:18:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:18:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:18:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:18:14] Production.INFO: ==14264== Releasing lock...
[2025-02-09 16:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:18:19] Production.INFO: count ==1194
[2025-02-09 16:18:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:18:05 - End Time 2025-02-09 16:18:05
[2025-02-09 16:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438230', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438230', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438230', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438230', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:18:19] Production.INFO: ProcessCDR(1,14438230,1,1,2)
[2025-02-09 16:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438230', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438230', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:18:23] Production.INFO: ==14272== Releasing lock...
[2025-02-09 16:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:18:24] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:19:02] Production.INFO: ==14333== Lock acquired, processing the job...
[2025-02-09 21:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:19:02] Production.INFO: neon service started
[2025-02-09 21:19:02] Production.INFO: neon service started
[2025-02-09 21:19:02] Production.INFO: ==14333== Releasing lock...
[2025-02-09 21:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:19:02] Production.INFO: ==14335== Lock acquired, processing the job...
[2025-02-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:19:02] Production.INFO: ==14335== Releasing lock...
[2025-02-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:19:02] Production.INFO: ==14337== Lock acquired, processing the job...
[2025-02-09 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:19:03] Production.INFO: ==14337== Releasing lock...
[2025-02-09 21:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:19:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:19:03] Production.INFO: ==14339== Lock acquired, processing the job...
[2025-02-09 16:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:19:03] Production.INFO: ==14341== Lock acquired, processing the job...
[2025-02-09 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:19:03] Production.INFO: ==14343== Lock acquired, processing the job...
[2025-02-09 16:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:19:04] Production.INFO: ==14345== Lock acquired, processing the job...
[2025-02-09 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:19:04] Production.INFO: ==14347== Lock acquired, processing the job...
[2025-02-09 16:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:19:04] Production.INFO: ==14349== Lock acquired, processing the job...
[2025-02-09 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:19:04] Production.INFO: Account Balance Start.
[2025-02-09 16:19:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:19:04] Production.INFO: 117
[2025-02-09 16:19:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:19:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:19:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:19:04] Production.INFO: ==14341== Releasing lock...
[2025-02-09 16:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:19:04] Production.INFO: Total Charge 0
[2025-02-09 16:19:04] Production.INFO: CreateAllLog End
[2025-02-09 16:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:19:04] Production.INFO: count ==21
[2025-02-09 16:19:04] Production.ERROR: done
[2025-02-09 16:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:19:04] Production.INFO: Account Balance End.
[2025-02-09 16:19:04] Production.INFO: count ==21
[2025-02-09 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438234') start
[2025-02-09 16:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:19:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:19:04] Production.INFO: ==14345== Releasing lock...
[2025-02-09 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438234') end
[2025-02-09 16:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:19:04] Production.INFO: 1
[2025-02-09 16:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:19:04] Production.ERROR: done
[2025-02-09 16:19:04] Production.INFO: ==14349== Releasing lock...
[2025-02-09 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:19:05
[end_date_ymd] => 2025-02-09 16:19:05
[RateCDR] => 1
)
[2025-02-09 16:19: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` >= '2025-02-09 13:19:05' and `end` < '2025-02-09 16:19: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 ,'')
[2025-02-09 16:19:12] Production.ERROR: CronJobId end10
[2025-02-09 16:19:12] Production.INFO: ==14343== Releasing lock...
[2025-02-09 16:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:19:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:19:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:19:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:19:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:19:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:19:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:19:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:19:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:19:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:19:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:19:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:19:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:19:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:19:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:19:15] Production.INFO: call_cost start
[2025-02-09 16:19:15] Production.INFO: call_cost end
[2025-02-09 16:19:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:19:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:19:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:19:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:19:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:19:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:19:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:19:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:19:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:19:16] Production.INFO: ==14339== Releasing lock...
[2025-02-09 16:19:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:19:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:19:19] Production.INFO: count ==1191
[2025-02-09 16:19:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:19:05 - End Time 2025-02-09 16:19:05
[2025-02-09 16:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438235', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438235', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438235', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438235', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:19:19] Production.INFO: ProcessCDR(1,14438235,1,1,2)
[2025-02-09 16:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438235', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438235', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:19:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:19:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:19:24] Production.INFO: ==14347== Releasing lock...
[2025-02-09 16:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:19:24] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:20:01] Production.INFO: ==14449== Lock acquired, processing the job...
[2025-02-09 21:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:20:01] Production.INFO: neon service started
[2025-02-09 21:20:01] Production.INFO: neon service started
[2025-02-09 21:20:01] Production.INFO: ==14449== Releasing lock...
[2025-02-09 21:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:20:02] Production.INFO: ==14451== Lock acquired, processing the job...
[2025-02-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:20:02] Production.INFO: ==14451== Releasing lock...
[2025-02-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:20:02] Production.INFO: ==14453== Lock acquired, processing the job...
[2025-02-09 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:20:02] Production.INFO: ==14453== Releasing lock...
[2025-02-09 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:20:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:20:03] Production.INFO: ==14464== Lock acquired, processing the job...
[2025-02-09 16:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:20:03] Production.INFO: Account Balance Start.
[2025-02-09 16:20:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:20:03] Production.INFO: 117
[2025-02-09 16:20:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:20:03] Production.INFO: ==14468== Lock acquired, processing the job...
[2025-02-09 16:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 16:20:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:20:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:20:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:20:03] Production.INFO: Total Charge 0
[2025-02-09 16:20:03] Production.INFO: CreateAllLog End
[2025-02-09 16:20:03] Production.INFO: ==14455== Lock acquired, processing the job...
[2025-02-09 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 16:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 16:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:20:03] Production.ERROR: CronJob PID - 14464
[2025-02-09 16:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 16:20:03] Production.ERROR: CronJob ID - 12
[2025-02-09 16:20:03] Production.ERROR: CronJob Last Run Time 2025-02-09 16:20:00
[2025-02-09 16:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:20:03] Production.ERROR: CronJob PID - 14468
[2025-02-09 16:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-09 16:20:03] Production.ERROR: CronJob ID - 17
[2025-02-09 16:20:03] Production.ERROR: CronJob Last Run Time 2025-02-09 16:20:00
[2025-02-09 16:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:20:03] Production.INFO: ==14470== Lock acquired, processing the job...
[2025-02-09 16:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:20:04] Production.INFO: ==14460== Lock acquired, processing the job...
[2025-02-09 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:20:04] Production.INFO: ==14457== Lock acquired, processing the job...
[2025-02-09 16:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 16:20:04] Production.INFO: ==14455== Releasing lock...
[2025-02-09 16:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 16:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 16:20:04] Production.ERROR: done
[2025-02-09 16:20:04] Production.INFO: ==14462== Lock acquired, processing the job...
[2025-02-09 16:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 16:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438237', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 16:20:04] Production.INFO: ==14466== Lock acquired, processing the job...
[2025-02-09 16:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:20:04] Production.INFO: Account Balance End.
[2025-02-09 16:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:20:04] Production.INFO: count ==21
[2025-02-09 16:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:20:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:20:04] Production.INFO: ==14464== Releasing lock...
[2025-02-09 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:20:04] Production.INFO: count ==21
[2025-02-09 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438238') start
[2025-02-09 16:20:04] Production.INFO: ==14460== Releasing lock...
[2025-02-09 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438238') end
[2025-02-09 16:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:20:04] Production.INFO: 1
[2025-02-09 16:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:20:04] Production.INFO: ==14470== Releasing lock...
[2025-02-09 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:20:04] Production.ERROR: done
[2025-02-09 16:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:20:05] Production.ERROR: done
[2025-02-09 16:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:20:05
[end_date_ymd] => 2025-02-09 16:20:05
[RateCDR] => 1
)
[2025-02-09 16:20: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` >= '2025-02-09 13:20:05' and `end` < '2025-02-09 16:20: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 ,'')
[2025-02-09 16:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438237', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 16:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 16:20:08] Production.INFO: ProcessCDR(1,14438237,1,1,2)
[2025-02-09 16:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14438237,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14438237,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:20:09] Production.INFO: ==14468== Releasing lock...
[2025-02-09 16:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 16:20:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 16:20:13] Production.ERROR: CronJobId end10
[2025-02-09 16:20:13] Production.INFO: ==14462== Releasing lock...
[2025-02-09 16:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:20:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:20:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:20:16] Production.INFO: call_cost start
[2025-02-09 16:20:16] Production.INFO: call_cost end
[2025-02-09 16:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:20:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:20:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:20:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:20:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:20:16] Production.INFO: ==14457== Releasing lock...
[2025-02-09 16:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:20:19] Production.INFO: count ==1177
[2025-02-09 16:20:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:20:05 - End Time 2025-02-09 16:20:05
[2025-02-09 16:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438241', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438241', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438241', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438241', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:20:19] Production.INFO: ProcessCDR(1,14438241,1,1,2)
[2025-02-09 16:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438241', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438241', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:20:23] Production.INFO: ==14466== Releasing lock...
[2025-02-09 16:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:20:23] Production.INFO: 36.5 MB #Memory Used#
[2025-02-09 21:21:02] Production.INFO: ==14525== Lock acquired, processing the job...
[2025-02-09 21:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:21:02] Production.INFO: neon service started
[2025-02-09 21:21:02] Production.INFO: neon service started
[2025-02-09 21:21:02] Production.INFO: ==14525== Releasing lock...
[2025-02-09 21:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:21:02] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 21:21:02] Production.INFO: ==14529== Lock acquired, processing the job...
[2025-02-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:21:02] Production.INFO: ==14529== Releasing lock...
[2025-02-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:21:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:21:02] Production.INFO: ==14527== Lock acquired, processing the job...
[2025-02-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:21:02] Production.INFO: ==14527== Releasing lock...
[2025-02-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:21:03] Production.INFO: ==14532== Lock acquired, processing the job...
[2025-02-09 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:21:03] Production.INFO: ==14536== Lock acquired, processing the job...
[2025-02-09 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:21:03] Production.INFO: ==14540== Lock acquired, processing the job...
[2025-02-09 16:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:21:03] Production.INFO: ==14534== Lock acquired, processing the job...
[2025-02-09 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:21:04] Production.INFO: ==14538== Lock acquired, processing the job...
[2025-02-09 16:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:21:04] Production.INFO: ==14542== Lock acquired, processing the job...
[2025-02-09 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:21:04] Production.ERROR: done
[2025-02-09 16:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:21:04] Production.INFO: Account Balance Start.
[2025-02-09 16:21:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:21:04] Production.INFO: 117
[2025-02-09 16:21:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:21:04] Production.INFO: count ==21
[2025-02-09 16:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:21:04] Production.INFO: count ==21
[2025-02-09 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438244') start
[2025-02-09 16:21:04] Production.ERROR: done
[2025-02-09 16:21:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:21:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:21:04] Production.INFO: Total Charge 0
[2025-02-09 16:21:04] Production.INFO: CreateAllLog End
[2025-02-09 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438244') end
[2025-02-09 16:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:21:04] Production.INFO: 1
[2025-02-09 16:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:21:04] Production.INFO: ==14534== Releasing lock...
[2025-02-09 16:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:21:04] Production.INFO: Account Balance End.
[2025-02-09 16:21:04] Production.INFO: ==14542== Releasing lock...
[2025-02-09 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:21:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:21:04] Production.INFO: ==14538== Releasing lock...
[2025-02-09 16:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:21:05
[end_date_ymd] => 2025-02-09 16:21:05
[RateCDR] => 1
)
[2025-02-09 16:21: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` >= '2025-02-09 13:21:05' and `end` < '2025-02-09 16:21: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 ,'')
[2025-02-09 16:21:12] Production.ERROR: CronJobId end10
[2025-02-09 16:21:12] Production.INFO: ==14536== Releasing lock...
[2025-02-09 16:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:21:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:21:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:21:14] Production.INFO: call_cost start
[2025-02-09 16:21:14] Production.INFO: call_cost end
[2025-02-09 16:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:21:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:21:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:21:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:21:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:21:15] Production.INFO: ==14532== Releasing lock...
[2025-02-09 16:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:21:19] Production.INFO: count ==1184
[2025-02-09 16:21:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:21:05 - End Time 2025-02-09 16:21:05
[2025-02-09 16:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438246', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438246', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438246', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438246', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:21:19] Production.INFO: ProcessCDR(1,14438246,1,1,2)
[2025-02-09 16:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438246', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438246', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:21:24] Production.INFO: ==14540== Releasing lock...
[2025-02-09 16:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:21:24] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:22:01] Production.INFO: ==14600== Lock acquired, processing the job...
[2025-02-09 21:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:22:01] Production.INFO: neon service started
[2025-02-09 21:22:01] Production.INFO: neon service started
[2025-02-09 21:22:01] Production.INFO: ==14600== Releasing lock...
[2025-02-09 21:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:22:02] Production.INFO: ==14602== Lock acquired, processing the job...
[2025-02-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:22:02] Production.INFO: ==14604== Lock acquired, processing the job...
[2025-02-09 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:22:02] Production.INFO: ==14604== Releasing lock...
[2025-02-09 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:22:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:22:02] Production.INFO: ==14602== Releasing lock...
[2025-02-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:22:03] Production.INFO: ==14607== Lock acquired, processing the job...
[2025-02-09 16:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:22:03] Production.INFO: ==14609== Lock acquired, processing the job...
[2025-02-09 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:22:03] Production.INFO: ==14613== Lock acquired, processing the job...
[2025-02-09 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:22:03] Production.INFO: Account Balance Start.
[2025-02-09 16:22:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:22:03] Production.INFO: 117
[2025-02-09 16:22:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:22:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:22:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:22:03] Production.INFO: ==14611== Lock acquired, processing the job...
[2025-02-09 16:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:22:03] Production.INFO: Total Charge 0
[2025-02-09 16:22:03] Production.INFO: CreateAllLog End
[2025-02-09 16:22:03] Production.INFO: ==14615== Lock acquired, processing the job...
[2025-02-09 16:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:22:03] Production.INFO: ==14609== Releasing lock...
[2025-02-09 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:22:03] Production.INFO: ==14617== Lock acquired, processing the job...
[2025-02-09 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:22:03] Production.INFO: Account Balance End.
[2025-02-09 16:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:22:04] Production.INFO: count ==21
[2025-02-09 16:22:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:22:04] Production.INFO: ==14613== Releasing lock...
[2025-02-09 16:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:22:04] Production.INFO: count ==21
[2025-02-09 16:22:04] Production.ERROR: done
[2025-02-09 16:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438250') start
[2025-02-09 16:22:04] Production.ERROR: done
[2025-02-09 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438250') end
[2025-02-09 16:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:22:04] Production.INFO: 1
[2025-02-09 16:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:22:04] Production.INFO: ==14617== Releasing lock...
[2025-02-09 16:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:22:05
[end_date_ymd] => 2025-02-09 16:22:05
[RateCDR] => 1
)
[2025-02-09 16:22: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` >= '2025-02-09 13:22:05' and `end` < '2025-02-09 16:22: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 ,'')
[2025-02-09 16:22:11] Production.ERROR: CronJobId end10
[2025-02-09 16:22:11] Production.INFO: ==14611== Releasing lock...
[2025-02-09 16:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:22:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:22:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:22:13] Production.INFO: call_cost start
[2025-02-09 16:22:13] Production.INFO: call_cost end
[2025-02-09 16:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:22:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:22:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:22:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:22:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:22:14] Production.INFO: ==14607== Releasing lock...
[2025-02-09 16:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:22:18] Production.INFO: count ==1177
[2025-02-09 16:22:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:22:05 - End Time 2025-02-09 16:22:05
[2025-02-09 16:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438251', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438251', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438251', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438251', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:22:18] Production.INFO: ProcessCDR(1,14438251,1,1,2)
[2025-02-09 16:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438251', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438251', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:22:23] Production.INFO: ==14615== Releasing lock...
[2025-02-09 16:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:22:23] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:23:02] Production.INFO: ==14675== Lock acquired, processing the job...
[2025-02-09 21:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:23:02] Production.INFO: neon service started
[2025-02-09 21:23:02] Production.INFO: neon service started
[2025-02-09 21:23:02] Production.INFO: ==14675== Releasing lock...
[2025-02-09 21:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:23:02] Production.INFO: ==14677== Lock acquired, processing the job...
[2025-02-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:23:02] Production.INFO: ==14677== Releasing lock...
[2025-02-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:23:02] Production.INFO: ==14679== Lock acquired, processing the job...
[2025-02-09 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:23:02] Production.INFO: ==14679== Releasing lock...
[2025-02-09 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:23:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:23:03] Production.INFO: ==14688== Lock acquired, processing the job...
[2025-02-09 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:23:03] Production.INFO: ==14681== Lock acquired, processing the job...
[2025-02-09 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:23:03] Production.INFO: ==14692== Lock acquired, processing the job...
[2025-02-09 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:23:03] Production.INFO: ==14686== Lock acquired, processing the job...
[2025-02-09 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:23:03] Production.INFO: ==14683== Lock acquired, processing the job...
[2025-02-09 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:23:03] Production.INFO: Account Balance Start.
[2025-02-09 16:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:23:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:23:03] Production.INFO: 117
[2025-02-09 16:23:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:23:03] Production.INFO: count ==21
[2025-02-09 16:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:23:03] Production.INFO: count ==21
[2025-02-09 16:23:03] Production.INFO: ==14690== Lock acquired, processing the job...
[2025-02-09 16:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438253') start
[2025-02-09 16:23:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:23:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:23:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438253') end
[2025-02-09 16:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:23:04] Production.INFO: 1
[2025-02-09 16:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:23:04] Production.INFO: ==14692== Releasing lock...
[2025-02-09 16:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:23:04] Production.INFO: Total Charge 0
[2025-02-09 16:23:04] Production.INFO: CreateAllLog End
[2025-02-09 16:23:04] Production.INFO: ==14683== Releasing lock...
[2025-02-09 16:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:23:04] Production.ERROR: done
[2025-02-09 16:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:23:04] Production.INFO: Account Balance End.
[2025-02-09 16:23:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:23:04] Production.INFO: ==14688== Releasing lock...
[2025-02-09 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:23:04] Production.ERROR: done
[2025-02-09 16:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:23:05
[end_date_ymd] => 2025-02-09 16:23:05
[RateCDR] => 1
)
[2025-02-09 16:23: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` >= '2025-02-09 13:23:05' and `end` < '2025-02-09 16:23: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 ,'')
[2025-02-09 16:23:12] Production.ERROR: CronJobId end10
[2025-02-09 16:23:12] Production.INFO: ==14686== Releasing lock...
[2025-02-09 16:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:23:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:23:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:23:14] Production.INFO: call_cost start
[2025-02-09 16:23:14] Production.INFO: call_cost end
[2025-02-09 16:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:23:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:23:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:23:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:23:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:23:15] Production.INFO: ==14681== Releasing lock...
[2025-02-09 16:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:23:19] Production.INFO: count ==1179
[2025-02-09 16:23:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:23:05 - End Time 2025-02-09 16:23:05
[2025-02-09 16:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438256', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438256', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438256', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438256', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:23:19] Production.INFO: ProcessCDR(1,14438256,1,1,2)
[2025-02-09 16:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438256', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438256', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:23:24] Production.INFO: ==14690== Releasing lock...
[2025-02-09 16:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:23:24] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:24:01] Production.INFO: ==14753== Lock acquired, processing the job...
[2025-02-09 21:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:24:01] Production.INFO: neon service started
[2025-02-09 21:24:01] Production.INFO: neon service started
[2025-02-09 21:24:01] Production.INFO: ==14753== Releasing lock...
[2025-02-09 21:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:24:01] Production.INFO: ==14757== Lock acquired, processing the job...
[2025-02-09 21:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:24:01] Production.INFO: ==14757== Releasing lock...
[2025-02-09 21:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:24:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:24:02] Production.INFO: ==14755== Lock acquired, processing the job...
[2025-02-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:24:02] Production.INFO: ==14755== Releasing lock...
[2025-02-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:24:03] Production.INFO: ==14760== Lock acquired, processing the job...
[2025-02-09 16:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:24:03] Production.INFO: ==14768== Lock acquired, processing the job...
[2025-02-09 16:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:24:03] Production.INFO: ==14770== Lock acquired, processing the job...
[2025-02-09 16:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:24:03] Production.INFO: ==14762== Lock acquired, processing the job...
[2025-02-09 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:24:03] Production.INFO: ==14764== Lock acquired, processing the job...
[2025-02-09 16:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:24:03] Production.INFO: ==14766== Lock acquired, processing the job...
[2025-02-09 16:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:24:03] Production.INFO: Account Balance Start.
[2025-02-09 16:24:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:24:03] Production.INFO: 117
[2025-02-09 16:24:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:24:03] Production.INFO: count ==21
[2025-02-09 16:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:24:03] Production.INFO: count ==21
[2025-02-09 16:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438258') start
[2025-02-09 16:24:03] Production.ERROR: done
[2025-02-09 16:24:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:24:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:24:03] Production.INFO: Total Charge 0
[2025-02-09 16:24:03] Production.INFO: CreateAllLog End
[2025-02-09 16:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438258') end
[2025-02-09 16:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:24:03] Production.INFO: 1
[2025-02-09 16:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:24:03] Production.INFO: ==14770== Releasing lock...
[2025-02-09 16:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:24:03] Production.INFO: ==14762== Releasing lock...
[2025-02-09 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:24:04] Production.ERROR: done
[2025-02-09 16:24:04] Production.INFO: Account Balance End.
[2025-02-09 16:24:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:24:04] Production.INFO: ==14766== Releasing lock...
[2025-02-09 16:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:24:04
[end_date_ymd] => 2025-02-09 16:24:04
[RateCDR] => 1
)
[2025-02-09 16:24:04] 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-02-09 13:24:04' and `end` < '2025-02-09 16:24:04'
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-02-09 16:24:11] Production.ERROR: CronJobId end10
[2025-02-09 16:24:11] Production.INFO: ==14764== Releasing lock...
[2025-02-09 16:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:24:12] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:24:12] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:24:13] Production.INFO: call_cost start
[2025-02-09 16:24:13] Production.INFO: call_cost end
[2025-02-09 16:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:24:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:24:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:24:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:24:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:24:14] Production.INFO: ==14760== Releasing lock...
[2025-02-09 16:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:24:17] Production.INFO: count ==1179
[2025-02-09 16:24:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:24:04 - End Time 2025-02-09 16:24:04
[2025-02-09 16:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438261', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438261', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438261', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438261', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:24:18] Production.INFO: ProcessCDR(1,14438261,1,1,2)
[2025-02-09 16:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438261', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438261', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:24:22] Production.INFO: ==14768== Releasing lock...
[2025-02-09 16:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:24:22] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:25:01] Production.INFO: ==14829== Lock acquired, processing the job...
[2025-02-09 21:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:25:01] Production.INFO: neon service started
[2025-02-09 21:25:01] Production.INFO: neon service started
[2025-02-09 21:25:01] Production.INFO: ==14829== Releasing lock...
[2025-02-09 21:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:25:02] Production.INFO: ==14833== Lock acquired, processing the job...
[2025-02-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:25:02] Production.INFO: ==14833== Releasing lock...
[2025-02-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:25:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:25:02] Production.INFO: ==14831== Lock acquired, processing the job...
[2025-02-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:25:02] Production.INFO: ==14831== Releasing lock...
[2025-02-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:25:03] Production.INFO: ==14840== Lock acquired, processing the job...
[2025-02-09 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:25:03] Production.INFO: ==14836== Lock acquired, processing the job...
[2025-02-09 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:25:03] Production.INFO: ==14838== Lock acquired, processing the job...
[2025-02-09 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:25:03] Production.INFO: ==14842== Lock acquired, processing the job...
[2025-02-09 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:25:03] Production.INFO: ==14846== Lock acquired, processing the job...
[2025-02-09 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:25:03] Production.INFO: Account Balance Start.
[2025-02-09 16:25:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:25:03] Production.INFO: 117
[2025-02-09 16:25:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:25:03] Production.INFO: ==14844== Lock acquired, processing the job...
[2025-02-09 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:25:03] Production.INFO: count ==21
[2025-02-09 16:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:25:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:25:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:25:03] Production.INFO: count ==21
[2025-02-09 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438265') start
[2025-02-09 16:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:25:04] Production.INFO: ==14838== Releasing lock...
[2025-02-09 16:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:25:04] Production.INFO: Total Charge 0
[2025-02-09 16:25:04] Production.INFO: CreateAllLog End
[2025-02-09 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438265') end
[2025-02-09 16:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:25:04] Production.INFO: 1
[2025-02-09 16:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:25:04] Production.INFO: ==14846== Releasing lock...
[2025-02-09 16:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:25:04] Production.ERROR: done
[2025-02-09 16:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:25:04] Production.ERROR: done
[2025-02-09 16:25:04] Production.INFO: Account Balance End.
[2025-02-09 16:25:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:25:04] Production.INFO: ==14842== Releasing lock...
[2025-02-09 16:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:25:05
[end_date_ymd] => 2025-02-09 16:25:05
[RateCDR] => 1
)
[2025-02-09 16:25: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` >= '2025-02-09 13:25:05' and `end` < '2025-02-09 16:25: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 ,'')
[2025-02-09 16:25:11] Production.ERROR: CronJobId end10
[2025-02-09 16:25:11] Production.INFO: ==14840== Releasing lock...
[2025-02-09 16:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:25:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:25:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:25:13] Production.INFO: call_cost start
[2025-02-09 16:25:13] Production.INFO: call_cost end
[2025-02-09 16:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:25:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:25:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:25:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:25:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:25:14] Production.INFO: ==14836== Releasing lock...
[2025-02-09 16:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:25:18] Production.INFO: count ==1170
[2025-02-09 16:25:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:25:05 - End Time 2025-02-09 16:25:05
[2025-02-09 16:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438266', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438266', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438266', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438266', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:25:18] Production.INFO: ProcessCDR(1,14438266,1,1,2)
[2025-02-09 16:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438266', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438266', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:25:23] Production.INFO: ==14844== Releasing lock...
[2025-02-09 16:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:25:23] Production.INFO: 36.5 MB #Memory Used#
[2025-02-09 21:26:02] Production.INFO: ==14907== Lock acquired, processing the job...
[2025-02-09 21:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:26:02] Production.INFO: neon service started
[2025-02-09 21:26:02] Production.INFO: neon service started
[2025-02-09 21:26:02] Production.INFO: ==14907== Releasing lock...
[2025-02-09 21:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:26:02] Production.INFO: ==14909== Lock acquired, processing the job...
[2025-02-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:26:02] Production.INFO: ==14909== Releasing lock...
[2025-02-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:26:03] Production.INFO: ==14911== Lock acquired, processing the job...
[2025-02-09 21:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:26:03] Production.INFO: ==14911== Releasing lock...
[2025-02-09 21:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:26:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:26:04] Production.INFO: ==14924== Lock acquired, processing the job...
[2025-02-09 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:26:04] Production.INFO: ==14921== Lock acquired, processing the job...
[2025-02-09 16:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:26:04] Production.INFO: count ==21
[2025-02-09 16:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:26:04] Production.INFO: count ==21
[2025-02-09 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438267') start
[2025-02-09 16:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:26:04] Production.INFO: ==14915== Lock acquired, processing the job...
[2025-02-09 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:26:04] Production.INFO: ==14913== Lock acquired, processing the job...
[2025-02-09 16:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:26:04] Production.INFO: ==14917== Lock acquired, processing the job...
[2025-02-09 16:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:26:04] Production.INFO: ==14919== Lock acquired, processing the job...
[2025-02-09 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438267') end
[2025-02-09 16:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:26:04] Production.INFO: 1
[2025-02-09 16:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:26:04] Production.INFO: ==14924== Releasing lock...
[2025-02-09 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:26:04] Production.INFO: Account Balance Start.
[2025-02-09 16:26:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:26:04] Production.INFO: 117
[2025-02-09 16:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:26:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:26:04] Production.ERROR: done
[2025-02-09 16:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:26:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:26:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:26:04] Production.INFO: Total Charge 0
[2025-02-09 16:26:04] Production.INFO: CreateAllLog End
[2025-02-09 16:26:04] Production.INFO: ==14915== Releasing lock...
[2025-02-09 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:26:04] Production.ERROR: done
[2025-02-09 16:26:04] Production.INFO: Account Balance End.
[2025-02-09 16:26:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:26:04] Production.INFO: ==14919== Releasing lock...
[2025-02-09 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:26:05
[end_date_ymd] => 2025-02-09 16:26:05
[RateCDR] => 1
)
[2025-02-09 16:26: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` >= '2025-02-09 13:26:05' and `end` < '2025-02-09 16:26: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 ,'')
[2025-02-09 16:26:12] Production.ERROR: CronJobId end10
[2025-02-09 16:26:12] Production.INFO: ==14917== Releasing lock...
[2025-02-09 16:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:26:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:26:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:26:14] Production.INFO: call_cost start
[2025-02-09 16:26:14] Production.INFO: call_cost end
[2025-02-09 16:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:26:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:26:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:26:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:26:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:26:15] Production.INFO: ==14913== Releasing lock...
[2025-02-09 16:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:26:18] Production.INFO: count ==1173
[2025-02-09 16:26:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:26:05 - End Time 2025-02-09 16:26:05
[2025-02-09 16:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438271', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438271', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438271', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438271', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:26:19] Production.INFO: ProcessCDR(1,14438271,1,1,2)
[2025-02-09 16:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438271', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438271', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:26:23] Production.INFO: ==14921== Releasing lock...
[2025-02-09 16:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:26:23] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 21:27:01] Production.INFO: ==14979== Lock acquired, processing the job...
[2025-02-09 21:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:27:01] Production.INFO: neon service started
[2025-02-09 21:27:01] Production.INFO: neon service started
[2025-02-09 21:27:01] Production.INFO: ==14979== Releasing lock...
[2025-02-09 21:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:27:02] Production.INFO: ==14981== Lock acquired, processing the job...
[2025-02-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:27:02] Production.INFO: ==14981== Releasing lock...
[2025-02-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:27:02] Production.INFO: ==14983== Lock acquired, processing the job...
[2025-02-09 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:27:02] Production.INFO: ==14983== Releasing lock...
[2025-02-09 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:27:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:27:03] Production.INFO: ==14987== Lock acquired, processing the job...
[2025-02-09 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:27:03] Production.INFO: ==14985== Lock acquired, processing the job...
[2025-02-09 16:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:27:03] Production.INFO: ==14989== Lock acquired, processing the job...
[2025-02-09 16:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:27:03] Production.INFO: ==14995== Lock acquired, processing the job...
[2025-02-09 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:27:03] Production.INFO: ==14991== Lock acquired, processing the job...
[2025-02-09 16:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:27:03] Production.INFO: ==14993== Lock acquired, processing the job...
[2025-02-09 16:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:27:03] Production.INFO: Account Balance Start.
[2025-02-09 16:27:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:27:03] Production.INFO: 117
[2025-02-09 16:27:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:27:03] Production.INFO: count ==21
[2025-02-09 16:27:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:27:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:27:03] Production.INFO: ==14987== Releasing lock...
[2025-02-09 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:27:03] Production.INFO: Total Charge 0
[2025-02-09 16:27:03] Production.INFO: count ==21
[2025-02-09 16:27:03] Production.INFO: CreateAllLog End
[2025-02-09 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438274') start
[2025-02-09 16:27:03] Production.ERROR: done
[2025-02-09 16:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438274') end
[2025-02-09 16:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:27:03] Production.INFO: 1
[2025-02-09 16:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:27:03] Production.INFO: Account Balance End.
[2025-02-09 16:27:04] Production.INFO: ==14995== Releasing lock...
[2025-02-09 16:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:27:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:27:04] Production.INFO: ==14991== Releasing lock...
[2025-02-09 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:27:04] Production.ERROR: done
[2025-02-09 16:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:27:05
[end_date_ymd] => 2025-02-09 16:27:05
[RateCDR] => 1
)
[2025-02-09 16:27: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` >= '2025-02-09 13:27:05' and `end` < '2025-02-09 16:27: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 ,'')
[2025-02-09 16:27:12] Production.ERROR: CronJobId end10
[2025-02-09 16:27:12] Production.INFO: ==14989== Releasing lock...
[2025-02-09 16:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:27:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:27:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:27:14] Production.INFO: call_cost start
[2025-02-09 16:27:14] Production.INFO: call_cost end
[2025-02-09 16:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:27:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:27:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:27:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:27:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:27:15] Production.INFO: ==14985== Releasing lock...
[2025-02-09 16:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:27:18] Production.INFO: count ==1180
[2025-02-09 16:27:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:27:05 - End Time 2025-02-09 16:27:05
[2025-02-09 16:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438276', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438276', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438276', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438276', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:27:18] Production.INFO: ProcessCDR(1,14438276,1,1,2)
[2025-02-09 16:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438276', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438276', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:27:22] Production.INFO: ==14993== Releasing lock...
[2025-02-09 16:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:27:22] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:28:02] Production.INFO: ==15060== Lock acquired, processing the job...
[2025-02-09 21:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:28:02] Production.INFO: neon service started
[2025-02-09 21:28:02] Production.INFO: neon service started
[2025-02-09 21:28:02] Production.INFO: ==15060== Releasing lock...
[2025-02-09 21:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:28:02] Production.INFO: ==15062== Lock acquired, processing the job...
[2025-02-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:28:02] Production.INFO: ==15064== Lock acquired, processing the job...
[2025-02-09 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:28:02] Production.INFO: ==15062== Releasing lock...
[2025-02-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:28:02] Production.INFO: ==15064== Releasing lock...
[2025-02-09 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:28:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:28:03] Production.INFO: ==15066== Lock acquired, processing the job...
[2025-02-09 16:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:28:03] Production.INFO: ==15068== Lock acquired, processing the job...
[2025-02-09 16:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:28:03] Production.INFO: ==15076== Lock acquired, processing the job...
[2025-02-09 16:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:28:03] Production.INFO: ==15070== Lock acquired, processing the job...
[2025-02-09 16:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:28:03] Production.INFO: ==15072== Lock acquired, processing the job...
[2025-02-09 16:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:28:03] Production.INFO: ==15074== Lock acquired, processing the job...
[2025-02-09 16:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:28:04] Production.INFO: Account Balance Start.
[2025-02-09 16:28:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:28:04] Production.INFO: 117
[2025-02-09 16:28:04] Production.INFO: count ==21
[2025-02-09 16:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:28:04] Production.INFO: count ==21
[2025-02-09 16:28:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:28:04] Production.INFO: ==15068== Releasing lock...
[2025-02-09 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438279') start
[2025-02-09 16:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:28:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:28:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:28:04] Production.INFO: Total Charge 0
[2025-02-09 16:28:04] Production.INFO: CreateAllLog End
[2025-02-09 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438279') end
[2025-02-09 16:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:28:04] Production.INFO: 1
[2025-02-09 16:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:28:04] Production.INFO: ==15076== Releasing lock...
[2025-02-09 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:28:04] Production.ERROR: done
[2025-02-09 16:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:28:04] Production.INFO: Account Balance End.
[2025-02-09 16:28:04] Production.ERROR: done
[2025-02-09 16:28:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:28:04] Production.INFO: ==15072== Releasing lock...
[2025-02-09 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:28:05
[end_date_ymd] => 2025-02-09 16:28:05
[RateCDR] => 1
)
[2025-02-09 16:28: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` >= '2025-02-09 13:28:05' and `end` < '2025-02-09 16:28: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 ,'')
[2025-02-09 16:28:11] Production.ERROR: CronJobId end10
[2025-02-09 16:28:11] Production.INFO: ==15070== Releasing lock...
[2025-02-09 16:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:28:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:28:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:28:14] Production.INFO: call_cost start
[2025-02-09 16:28:14] Production.INFO: call_cost end
[2025-02-09 16:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:28:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:28:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:28:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:28:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:28:15] Production.INFO: ==15066== Releasing lock...
[2025-02-09 16:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:28:18] Production.INFO: count ==1182
[2025-02-09 16:28:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:28:05 - End Time 2025-02-09 16:28:05
[2025-02-09 16:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438281', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438281', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438281', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438281', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:28:19] Production.INFO: ProcessCDR(1,14438281,1,1,2)
[2025-02-09 16:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438281', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438281', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:28:23] Production.INFO: ==15074== Releasing lock...
[2025-02-09 16:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:28:23] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 21:29:01] Production.INFO: ==15132== Lock acquired, processing the job...
[2025-02-09 21:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:29:01] Production.INFO: neon service started
[2025-02-09 21:29:01] Production.INFO: neon service started
[2025-02-09 21:29:01] Production.INFO: ==15132== Releasing lock...
[2025-02-09 21:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:29:02] Production.INFO: ==15136== Lock acquired, processing the job...
[2025-02-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:29:02] Production.INFO: ==15136== Releasing lock...
[2025-02-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:29:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:29:02] Production.INFO: ==15134== Lock acquired, processing the job...
[2025-02-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:29:02] Production.INFO: ==15134== Releasing lock...
[2025-02-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:29:02] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:29:03] Production.INFO: ==15141== Lock acquired, processing the job...
[2025-02-09 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:29:03] Production.INFO: ==15145== Lock acquired, processing the job...
[2025-02-09 16:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:29:03] Production.INFO: ==15141== Releasing lock...
[2025-02-09 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:29:03] Production.INFO: ==15149== Lock acquired, processing the job...
[2025-02-09 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:29:03] Production.INFO: ==15139== Lock acquired, processing the job...
[2025-02-09 16:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:29:03] Production.INFO: Account Balance Start.
[2025-02-09 16:29:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:29:03] Production.INFO: 117
[2025-02-09 16:29:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:29:03] Production.INFO: ==15143== Lock acquired, processing the job...
[2025-02-09 16:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:29:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:29:03] Production.INFO: count ==21
[2025-02-09 16:29:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:29:03] Production.INFO: count ==21
[2025-02-09 16:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438284') start
[2025-02-09 16:29:03] Production.INFO: Total Charge 0
[2025-02-09 16:29:03] Production.INFO: ==15147== Lock acquired, processing the job...
[2025-02-09 16:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:29:03] Production.INFO: CreateAllLog End
[2025-02-09 16:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438284') end
[2025-02-09 16:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:29:03] Production.INFO: 1
[2025-02-09 16:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:29:03] Production.INFO: ==15149== Releasing lock...
[2025-02-09 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:29:04] Production.INFO: Account Balance End.
[2025-02-09 16:29:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:29:04] Production.INFO: ==15145== Releasing lock...
[2025-02-09 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:29:04] Production.ERROR: done
[2025-02-09 16:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:29:04] Production.ERROR: done
[2025-02-09 16:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:29:05
[end_date_ymd] => 2025-02-09 16:29:05
[RateCDR] => 1
)
[2025-02-09 16:29: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` >= '2025-02-09 13:29:05' and `end` < '2025-02-09 16:29: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 ,'')
[2025-02-09 16:29:11] Production.ERROR: CronJobId end10
[2025-02-09 16:29:11] Production.INFO: ==15143== Releasing lock...
[2025-02-09 16:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:29:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:29:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:29:14] Production.INFO: call_cost start
[2025-02-09 16:29:14] Production.INFO: call_cost end
[2025-02-09 16:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:29:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:29:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:29:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:29:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:29:15] Production.INFO: ==15139== Releasing lock...
[2025-02-09 16:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:29:19] Production.INFO: count ==1183
[2025-02-09 16:29:20] Production.ERROR: pbx CDR StartTime 2025-02-09 13:29:05 - End Time 2025-02-09 16:29:05
[2025-02-09 16:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438286', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438286', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438286', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438286', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:29:20] Production.INFO: ProcessCDR(1,14438286,1,1,2)
[2025-02-09 16:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438286', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438286', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:29:24] Production.INFO: ==15147== Releasing lock...
[2025-02-09 16:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:29:24] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 21:30:02] Production.INFO: ==15211== Lock acquired, processing the job...
[2025-02-09 21:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:30:02] Production.INFO: neon service started
[2025-02-09 21:30:02] Production.INFO: neon service started
[2025-02-09 21:30:02] Production.INFO: ==15211== Releasing lock...
[2025-02-09 21:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:30:02] Production.INFO: ==15213== Lock acquired, processing the job...
[2025-02-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:30:02] Production.INFO: ==15215== Lock acquired, processing the job...
[2025-02-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:30:02] Production.INFO: ==15215== Releasing lock...
[2025-02-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:30:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:30:03] Production.INFO: ==15213== Releasing lock...
[2025-02-09 16:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:30:04] Production.INFO: ==15224== Lock acquired, processing the job...
[2025-02-09 16:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:30:04] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-02-09 16:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:30:04] Production.INFO: ==15218== Lock acquired, processing the job...
[2025-02-09 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:30:04] Production.ERROR: CronJob PID - 15224
[2025-02-09 16:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-02-09 16:30:04] Production.ERROR: CronJob ID - 10
[2025-02-09 16:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 16:30:00
[2025-02-09 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:30:04] Production.ERROR: CronJob PID - 15228
[2025-02-09 16:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-02-09 16:30:04] Production.ERROR: CronJob ID - 16
[2025-02-09 16:30:04] Production.ERROR: CronJob Last Run Time 2025-02-09 16:30:00
[2025-02-09 16:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:30:04] Production.INFO: ==15222== Lock acquired, processing the job...
[2025-02-09 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:30:04] Production.INFO: ==15220== Lock acquired, processing the job...
[2025-02-09 16:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:30:04] Production.INFO: ==15232== Lock acquired, processing the job...
[2025-02-09 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 16:30:04] Production.INFO: ==15218== Releasing lock...
[2025-02-09 16:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 16:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 16:30:04] Production.INFO: ==15226== Lock acquired, processing the job...
[2025-02-09 16:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:30:04] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-02-09 16:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:30:04] Production.INFO: Account Balance Start.
[2025-02-09 16:30:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:30:04] Production.INFO: 117
[2025-02-09 16:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:30:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:30:04] Production.INFO: count ==21
[2025-02-09 16:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:30:04] Production.INFO: count ==21
[2025-02-09 16:30:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:30:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438288') start
[2025-02-09 16:30:04] Production.ERROR: done
[2025-02-09 16:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:30:05] Production.ERROR: done
[2025-02-09 16:30:05] Production.INFO: Total Charge 0
[2025-02-09 16:30:05] Production.ERROR: done
[2025-02-09 16:30:05] Production.INFO: CreateAllLog End
[2025-02-09 16:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 16:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438291', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 16:30:05] Production.INFO: ==15222== Releasing lock...
[2025-02-09 16:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14438288') end
[2025-02-09 16:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:30:05] Production.INFO: 1
[2025-02-09 16:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:30:05] Production.INFO: ==15232== Releasing lock...
[2025-02-09 16:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:30:05] Production.INFO: Account Balance End.
[2025-02-09 16:30:05] Production.ERROR: CronJobId end 12
[2025-02-09 16:30:05] Production.INFO: ==15226== Releasing lock...
[2025-02-09 16:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:30:06
[end_date_ymd] => 2025-02-09 16:30:06
[RateCDR] => 1
)
[2025-02-09 16:30: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-02-09 13:30:06' and `end` < '2025-02-09 16:30: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-02-09 16:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438291', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 16:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 16:30:09] Production.INFO: ProcessCDR(1,14438291,1,1,2)
[2025-02-09 16:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14438291,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14438291,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:30:09] Production.INFO: ==15230== Releasing lock...
[2025-02-09 16:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 16:30:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 16:30:14] Production.ERROR: CronJobId end10
[2025-02-09 16:30:14] Production.INFO: ==15224== Releasing lock...
[2025-02-09 16:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:30:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:30:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:30:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:30:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:30:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:30:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:30:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:30:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:30:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:30:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:30:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:30:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:30:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:30:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:30:16] Production.INFO: call_cost start
[2025-02-09 16:30:16] Production.INFO: call_cost end
[2025-02-09 16:30:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:30:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:30:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:30:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:30:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:30:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:30:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:30:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:30:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:30:17] Production.INFO: ==15220== Releasing lock...
[2025-02-09 16:30:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:30:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:30:19] Production.INFO: count ==1182
[2025-02-09 16:30:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:30:06 - End Time 2025-02-09 16:30:06
[2025-02-09 16:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438292', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438292', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438292', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438292', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:30:19] Production.INFO: ProcessCDR(1,14438292,1,1,2)
[2025-02-09 16:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438292', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438292', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:30:24] Production.INFO: ==15228== Releasing lock...
[2025-02-09 16:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:30:24] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 21:31:01] Production.INFO: ==15288== Lock acquired, processing the job...
[2025-02-09 21:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:31:01] Production.INFO: neon service started
[2025-02-09 21:31:01] Production.INFO: neon service started
[2025-02-09 21:31:01] Production.INFO: ==15288== Releasing lock...
[2025-02-09 21:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:31:01] Production.INFO: ==15290== Lock acquired, processing the job...
[2025-02-09 16:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:31:02] Production.INFO: ==15290== Releasing lock...
[2025-02-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:31:02] Production.INFO: ==15292== Lock acquired, processing the job...
[2025-02-09 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:31:02] Production.INFO: ==15292== Releasing lock...
[2025-02-09 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:31:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:31:03] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-02-09 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:31:03] Production.INFO: ==15305== Lock acquired, processing the job...
[2025-02-09 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:31:03] Production.INFO: Account Balance Start.
[2025-02-09 16:31:03] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-02-09 16:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:31:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:31:03] Production.INFO: 117
[2025-02-09 16:31:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:31:03] Production.INFO: ==15297== Lock acquired, processing the job...
[2025-02-09 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:31:03] Production.INFO: count ==21
[2025-02-09 16:31:03] Production.INFO: ==15299== Lock acquired, processing the job...
[2025-02-09 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:31:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:31:03] Production.INFO: count ==21
[2025-02-09 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438294') start
[2025-02-09 16:31:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:31:03] Production.INFO: Total Charge 0
[2025-02-09 16:31:03] Production.INFO: ==15303== Lock acquired, processing the job...
[2025-02-09 16:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:31:03] Production.INFO: CreateAllLog End
[2025-02-09 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438294') end
[2025-02-09 16:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:31:03] Production.INFO: 1
[2025-02-09 16:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:31:03] Production.INFO: ==15305== Releasing lock...
[2025-02-09 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:31:03] Production.INFO: ==15297== Releasing lock...
[2025-02-09 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:31:03] Production.INFO: Account Balance End.
[2025-02-09 16:31:03] Production.ERROR: CronJobId end 12
[2025-02-09 16:31:03] Production.INFO: ==15301== Releasing lock...
[2025-02-09 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:31:03] Production.ERROR: done
[2025-02-09 16:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:31:04] Production.ERROR: done
[2025-02-09 16:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:31:05
[end_date_ymd] => 2025-02-09 16:31:05
[RateCDR] => 1
)
[2025-02-09 16:31: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` >= '2025-02-09 13:31:05' and `end` < '2025-02-09 16:31: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 ,'')
[2025-02-09 16:31:11] Production.ERROR: CronJobId end10
[2025-02-09 16:31:11] Production.INFO: ==15299== Releasing lock...
[2025-02-09 16:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:31:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:31:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:31:14] Production.INFO: call_cost start
[2025-02-09 16:31:14] Production.INFO: call_cost end
[2025-02-09 16:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:31:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:31:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:31:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:31:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:31:14] Production.INFO: ==15295== Releasing lock...
[2025-02-09 16:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:31:18] Production.INFO: count ==1222
[2025-02-09 16:31:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:31:05 - End Time 2025-02-09 16:31:05
[2025-02-09 16:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438297', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438297', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438297', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438297', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:31:18] Production.INFO: ProcessCDR(1,14438297,1,1,2)
[2025-02-09 16:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438297', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438297', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:31:23] Production.INFO: ==15303== Releasing lock...
[2025-02-09 16:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:31:23] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:32:01] Production.INFO: ==15363== Lock acquired, processing the job...
[2025-02-09 21:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:32:02] Production.INFO: neon service started
[2025-02-09 21:32:02] Production.INFO: neon service started
[2025-02-09 21:32:02] Production.INFO: ==15363== Releasing lock...
[2025-02-09 21:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:32:02] Production.INFO: ==15365== Lock acquired, processing the job...
[2025-02-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:32:02] Production.INFO: ==15367== Lock acquired, processing the job...
[2025-02-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:32:02] Production.INFO: ==15367== Releasing lock...
[2025-02-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:32:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:32:03] Production.INFO: ==15365== Releasing lock...
[2025-02-09 16:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:32:03] Production.INFO: ==15374== Lock acquired, processing the job...
[2025-02-09 16:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:32:04] Production.INFO: ==15378== Lock acquired, processing the job...
[2025-02-09 16:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:32:04] Production.INFO: ==15370== Lock acquired, processing the job...
[2025-02-09 16:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:32:04] Production.INFO: ==15372== Lock acquired, processing the job...
[2025-02-09 16:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:32:04] Production.INFO: ==15376== Lock acquired, processing the job...
[2025-02-09 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:32:04] Production.INFO: ==15380== Lock acquired, processing the job...
[2025-02-09 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:32:04] Production.INFO: Account Balance Start.
[2025-02-09 16:32:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:32:04] Production.INFO: 117
[2025-02-09 16:32:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:32:04] Production.INFO: count ==21
[2025-02-09 16:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:32:04] Production.INFO: count ==21
[2025-02-09 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438299') start
[2025-02-09 16:32:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:32:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:32:04] Production.ERROR: done
[2025-02-09 16:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438299') end
[2025-02-09 16:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:32:04] Production.INFO: 1
[2025-02-09 16:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:32:04] Production.INFO: Total Charge 0
[2025-02-09 16:32:04] Production.INFO: CreateAllLog End
[2025-02-09 16:32:04] Production.INFO: ==15380== Releasing lock...
[2025-02-09 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:32:04] Production.ERROR: done
[2025-02-09 16:32:04] Production.INFO: ==15372== Releasing lock...
[2025-02-09 16:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:32:04] Production.INFO: Account Balance End.
[2025-02-09 16:32:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:32:04] Production.INFO: ==15376== Releasing lock...
[2025-02-09 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:32:05
[end_date_ymd] => 2025-02-09 16:32:05
[RateCDR] => 1
)
[2025-02-09 16:32: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` >= '2025-02-09 13:32:05' and `end` < '2025-02-09 16:32: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 ,'')
[2025-02-09 16:32:11] Production.ERROR: CronJobId end10
[2025-02-09 16:32:11] Production.INFO: ==15374== Releasing lock...
[2025-02-09 16:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:32:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:32:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:32:15] Production.INFO: call_cost start
[2025-02-09 16:32:15] Production.INFO: call_cost end
[2025-02-09 16:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:32:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:32:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:32:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:32:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:32:15] Production.INFO: ==15370== Releasing lock...
[2025-02-09 16:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:32:19] Production.INFO: count ==1209
[2025-02-09 16:32:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:32:05 - End Time 2025-02-09 16:32:05
[2025-02-09 16:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438302', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438302', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438302', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438302', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:32:19] Production.INFO: ProcessCDR(1,14438302,1,1,2)
[2025-02-09 16:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438302', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438302', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:32:24] Production.INFO: ==15378== Releasing lock...
[2025-02-09 16:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:32:24] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:33:01] Production.INFO: ==15437== Lock acquired, processing the job...
[2025-02-09 21:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:33:01] Production.INFO: neon service started
[2025-02-09 21:33:01] Production.INFO: neon service started
[2025-02-09 21:33:01] Production.INFO: ==15437== Releasing lock...
[2025-02-09 21:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:33:01] Production.INFO: ==15441== Lock acquired, processing the job...
[2025-02-09 21:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:33:01] Production.INFO: ==15441== Releasing lock...
[2025-02-09 21:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:33:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:33:01] Production.INFO: ==15439== Lock acquired, processing the job...
[2025-02-09 16:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:33:02] Production.INFO: ==15439== Releasing lock...
[2025-02-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:33:03] Production.INFO: ==15444== Lock acquired, processing the job...
[2025-02-09 16:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:33:03] Production.INFO: ==15446== Lock acquired, processing the job...
[2025-02-09 16:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:33:03] Production.INFO: ==15452== Lock acquired, processing the job...
[2025-02-09 16:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:33:03] Production.INFO: ==15448== Lock acquired, processing the job...
[2025-02-09 16:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:33:03] Production.INFO: ==15450== Lock acquired, processing the job...
[2025-02-09 16:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:33:03] Production.INFO: ==15454== Lock acquired, processing the job...
[2025-02-09 16:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:33:03] Production.INFO: ==15446== Releasing lock...
[2025-02-09 16:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:33:03] Production.INFO: Account Balance Start.
[2025-02-09 16:33:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:33:03] Production.INFO: 117
[2025-02-09 16:33:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:33:03] Production.ERROR: done
[2025-02-09 16:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:33:03] Production.INFO: count ==21
[2025-02-09 16:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:33:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:33:03] Production.INFO: count ==21
[2025-02-09 16:33:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438306') start
[2025-02-09 16:33:03] Production.INFO: Total Charge 0
[2025-02-09 16:33:04] Production.INFO: CreateAllLog End
[2025-02-09 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438306') end
[2025-02-09 16:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:33:04] Production.INFO: 1
[2025-02-09 16:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:33:04] Production.ERROR: done
[2025-02-09 16:33:04] Production.INFO: ==15454== Releasing lock...
[2025-02-09 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:33:04] Production.INFO: Account Balance End.
[2025-02-09 16:33:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:33:04] Production.INFO: ==15450== Releasing lock...
[2025-02-09 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:33:05
[end_date_ymd] => 2025-02-09 16:33:05
[RateCDR] => 1
)
[2025-02-09 16:33: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` >= '2025-02-09 13:33:05' and `end` < '2025-02-09 16:33: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 ,'')
[2025-02-09 16:33:12] Production.ERROR: CronJobId end10
[2025-02-09 16:33:12] Production.INFO: ==15448== Releasing lock...
[2025-02-09 16:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:33:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:33:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:33:14] Production.INFO: call_cost start
[2025-02-09 16:33:14] Production.INFO: call_cost end
[2025-02-09 16:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:33:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:33:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:33:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:33:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:33:15] Production.INFO: ==15444== Releasing lock...
[2025-02-09 16:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:33:18] Production.INFO: count ==1208
[2025-02-09 16:33:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:33:05 - End Time 2025-02-09 16:33:05
[2025-02-09 16:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438307', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438307', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438307', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438307', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:33:18] Production.INFO: ProcessCDR(1,14438307,1,1,2)
[2025-02-09 16:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438307', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438307', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:33:23] Production.INFO: ==15452== Releasing lock...
[2025-02-09 16:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:33:23] Production.INFO: 36.75 MB #Memory Used#
[2025-02-09 21:34:01] Production.INFO: ==15516== Lock acquired, processing the job...
[2025-02-09 21:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:34:01] Production.INFO: neon service started
[2025-02-09 21:34:01] Production.INFO: neon service started
[2025-02-09 21:34:01] Production.INFO: ==15516== Releasing lock...
[2025-02-09 21:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:34:02] Production.INFO: ==15518== Lock acquired, processing the job...
[2025-02-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:34:02] Production.INFO: ==15518== Releasing lock...
[2025-02-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:34:02] Production.INFO: ==15520== Lock acquired, processing the job...
[2025-02-09 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:34:02] Production.INFO: ==15520== Releasing lock...
[2025-02-09 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:34:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:34:03] Production.INFO: ==15522== Lock acquired, processing the job...
[2025-02-09 16:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:34:03] Production.INFO: ==15531== Lock acquired, processing the job...
[2025-02-09 16:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:34:03] Production.INFO: ==15528== Lock acquired, processing the job...
[2025-02-09 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:34:03] Production.INFO: ==15524== Lock acquired, processing the job...
[2025-02-09 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:34:03] Production.INFO: ==15526== Lock acquired, processing the job...
[2025-02-09 16:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:34:03] Production.INFO: ==15533== Lock acquired, processing the job...
[2025-02-09 16:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:34:03] Production.INFO: Account Balance Start.
[2025-02-09 16:34:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:34:03] Production.INFO: 117
[2025-02-09 16:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:34:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:34:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:34:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:34:04] Production.INFO: count ==21
[2025-02-09 16:34:04] Production.INFO: Total Charge 0
[2025-02-09 16:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:34:04] Production.INFO: count ==21
[2025-02-09 16:34:04] Production.INFO: CreateAllLog End
[2025-02-09 16:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438310') start
[2025-02-09 16:34:04] Production.ERROR: done
[2025-02-09 16:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:34:04] Production.INFO: ==15524== Releasing lock...
[2025-02-09 16:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:34:04] Production.ERROR: done
[2025-02-09 16:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438310') end
[2025-02-09 16:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:34:04] Production.INFO: 1
[2025-02-09 16:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:34:04] Production.INFO: Account Balance End.
[2025-02-09 16:34:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:34:04] Production.INFO: ==15528== Releasing lock...
[2025-02-09 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:34:04] Production.INFO: ==15533== Releasing lock...
[2025-02-09 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:34:05
[end_date_ymd] => 2025-02-09 16:34:05
[RateCDR] => 1
)
[2025-02-09 16:34: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` >= '2025-02-09 13:34:05' and `end` < '2025-02-09 16:34: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 ,'')
[2025-02-09 16:34:12] Production.ERROR: CronJobId end10
[2025-02-09 16:34:12] Production.INFO: ==15526== Releasing lock...
[2025-02-09 16:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:34:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:34:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:34:15] Production.INFO: call_cost start
[2025-02-09 16:34:15] Production.INFO: call_cost end
[2025-02-09 16:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:34:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:34:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:34:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:34:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:34:16] Production.INFO: ==15522== Releasing lock...
[2025-02-09 16:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:34:19] Production.INFO: count ==1207
[2025-02-09 16:34:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:34:05 - End Time 2025-02-09 16:34:05
[2025-02-09 16:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438312', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438312', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438312', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438312', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:34:19] Production.INFO: ProcessCDR(1,14438312,1,1,2)
[2025-02-09 16:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438312', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438312', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:34:24] Production.INFO: ==15531== Releasing lock...
[2025-02-09 16:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:34:24] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:35:01] Production.INFO: ==15628== Lock acquired, processing the job...
[2025-02-09 21:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:35:01] Production.INFO: neon service started
[2025-02-09 21:35:01] Production.INFO: neon service started
[2025-02-09 21:35:01] Production.INFO: ==15628== Releasing lock...
[2025-02-09 21:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:35:02] Production.INFO: ==15630== Lock acquired, processing the job...
[2025-02-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:35:02] Production.INFO: ==15632== Lock acquired, processing the job...
[2025-02-09 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:35:02] Production.INFO: ==15632== Releasing lock...
[2025-02-09 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:35:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:35:02] Production.INFO: ==15630== Releasing lock...
[2025-02-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:35:03] Production.INFO: ==15639== Lock acquired, processing the job...
[2025-02-09 16:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:35:03] Production.INFO: ==15645== Lock acquired, processing the job...
[2025-02-09 16:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:35:03] Production.INFO: count ==21
[2025-02-09 16:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:35:03] Production.INFO: count ==21
[2025-02-09 16:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438313') start
[2025-02-09 16:35:03] Production.INFO: ==15635== Lock acquired, processing the job...
[2025-02-09 16:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438313') end
[2025-02-09 16:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:35:03] Production.INFO: 1
[2025-02-09 16:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:35:03] Production.INFO: ==15637== Lock acquired, processing the job...
[2025-02-09 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:35:03] Production.INFO: ==15645== Releasing lock...
[2025-02-09 16:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:35:03] Production.INFO: ==15641== Lock acquired, processing the job...
[2025-02-09 16:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:35:03] Production.INFO: ==15643== Lock acquired, processing the job...
[2025-02-09 16:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:35:03] Production.INFO: Account Balance Start.
[2025-02-09 16:35:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:35:03] Production.INFO: 117
[2025-02-09 16:35:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:35:03] Production.INFO: ==15637== Releasing lock...
[2025-02-09 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:35:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:35:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:35:03] Production.INFO: Total Charge 0
[2025-02-09 16:35:04] Production.INFO: CreateAllLog End
[2025-02-09 16:35:04] Production.ERROR: done
[2025-02-09 16:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:35:04] Production.ERROR: done
[2025-02-09 16:35:04] Production.INFO: Account Balance End.
[2025-02-09 16:35:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:35:04] Production.INFO: ==15641== Releasing lock...
[2025-02-09 16:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:35:05
[end_date_ymd] => 2025-02-09 16:35:05
[RateCDR] => 1
)
[2025-02-09 16:35: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` >= '2025-02-09 13:35:05' and `end` < '2025-02-09 16:35: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 ,'')
[2025-02-09 16:35:11] Production.ERROR: CronJobId end10
[2025-02-09 16:35:11] Production.INFO: ==15639== Releasing lock...
[2025-02-09 16:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:35:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:35:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:35:13] Production.INFO: call_cost start
[2025-02-09 16:35:13] Production.INFO: call_cost end
[2025-02-09 16:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:35:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:35:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:35:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:35:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:35:14] Production.INFO: ==15635== Releasing lock...
[2025-02-09 16:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:35:18] Production.INFO: count ==1213
[2025-02-09 16:35:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:35:05 - End Time 2025-02-09 16:35:05
[2025-02-09 16:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438317', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438317', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438317', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438317', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:35:18] Production.INFO: ProcessCDR(1,14438317,1,1,2)
[2025-02-09 16:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438317', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438317', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:35:23] Production.INFO: ==15643== Releasing lock...
[2025-02-09 16:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:35:23] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:36:01] Production.INFO: ==15706== Lock acquired, processing the job...
[2025-02-09 21:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:36:01] Production.INFO: neon service started
[2025-02-09 21:36:01] Production.INFO: neon service started
[2025-02-09 21:36:01] Production.INFO: ==15706== Releasing lock...
[2025-02-09 21:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:36:02] Production.INFO: ==15709== Lock acquired, processing the job...
[2025-02-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:36:02] Production.INFO: ==15709== Releasing lock...
[2025-02-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:36:02] Production.INFO: ==15711== Lock acquired, processing the job...
[2025-02-09 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:36:02] Production.INFO: ==15711== Releasing lock...
[2025-02-09 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:36:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:36:03] Production.INFO: ==15713== Lock acquired, processing the job...
[2025-02-09 16:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:36:03] Production.INFO: ==15717== Lock acquired, processing the job...
[2025-02-09 16:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:36:03] Production.INFO: ==15721== Lock acquired, processing the job...
[2025-02-09 16:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:36:03] Production.INFO: ==15715== Lock acquired, processing the job...
[2025-02-09 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:36:03] Production.INFO: ==15723== Lock acquired, processing the job...
[2025-02-09 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:36:03] Production.INFO: ==15719== Lock acquired, processing the job...
[2025-02-09 16:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:36:04] Production.INFO: count ==21
[2025-02-09 16:36:04] Production.INFO: Account Balance Start.
[2025-02-09 16:36:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:36:04] Production.INFO: 117
[2025-02-09 16:36:04] Production.INFO: count ==21
[2025-02-09 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438319') start
[2025-02-09 16:36:04] Production.ERROR: done
[2025-02-09 16:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:36:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:36:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:36:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438319') end
[2025-02-09 16:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:36:04] Production.INFO: 1
[2025-02-09 16:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:36:04] Production.INFO: ==15723== Releasing lock...
[2025-02-09 16:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:36:04] Production.ERROR: done
[2025-02-09 16:36:04] Production.INFO: Total Charge 0
[2025-02-09 16:36:04] Production.INFO: CreateAllLog End
[2025-02-09 16:36:04] Production.INFO: ==15715== Releasing lock...
[2025-02-09 16:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:36:04] Production.INFO: Account Balance End.
[2025-02-09 16:36:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:36:04] Production.INFO: ==15719== Releasing lock...
[2025-02-09 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:36:05
[end_date_ymd] => 2025-02-09 16:36:05
[RateCDR] => 1
)
[2025-02-09 16:36: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` >= '2025-02-09 13:36:05' and `end` < '2025-02-09 16:36: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 ,'')
[2025-02-09 16:36:13] Production.ERROR: CronJobId end10
[2025-02-09 16:36:13] Production.INFO: ==15717== Releasing lock...
[2025-02-09 16:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:36:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:36:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:36:14] Production.INFO: call_cost start
[2025-02-09 16:36:14] Production.INFO: call_cost end
[2025-02-09 16:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:36:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:36:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:36:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:36:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:36:15] Production.INFO: ==15713== Releasing lock...
[2025-02-09 16:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:36:18] Production.INFO: count ==1217
[2025-02-09 16:36:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:36:05 - End Time 2025-02-09 16:36:05
[2025-02-09 16:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438322', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438322', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438322', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438322', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:36:18] Production.INFO: ProcessCDR(1,14438322,1,1,2)
[2025-02-09 16:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438322', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438322', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:36:23] Production.INFO: ==15721== Releasing lock...
[2025-02-09 16:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:36:23] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:37:02] Production.INFO: ==15789== Lock acquired, processing the job...
[2025-02-09 21:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:37:02] Production.INFO: neon service started
[2025-02-09 21:37:02] Production.INFO: neon service started
[2025-02-09 21:37:02] Production.INFO: ==15789== Releasing lock...
[2025-02-09 21:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:37:02] Production.INFO: ==15793== Lock acquired, processing the job...
[2025-02-09 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:37:02] Production.INFO: ==15793== Releasing lock...
[2025-02-09 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:37:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:37:02] Production.INFO: ==15791== Lock acquired, processing the job...
[2025-02-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:37:03] Production.INFO: ==15791== Releasing lock...
[2025-02-09 16:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:37:03] Production.INFO: ==15796== Lock acquired, processing the job...
[2025-02-09 16:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:37:03] Production.INFO: ==15798== Lock acquired, processing the job...
[2025-02-09 16:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:37:03] Production.INFO: ==15802== Lock acquired, processing the job...
[2025-02-09 16:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:37:04] Production.INFO: Account Balance Start.
[2025-02-09 16:37:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:37:04] Production.INFO: 117
[2025-02-09 16:37:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:37:04] Production.INFO: ==15800== Lock acquired, processing the job...
[2025-02-09 16:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:37:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:37:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:37:04] Production.INFO: Total Charge 0
[2025-02-09 16:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:37:04] Production.INFO: CreateAllLog End
[2025-02-09 16:37:04] Production.INFO: ==15804== Lock acquired, processing the job...
[2025-02-09 16:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:37:04] Production.INFO: ==15798== Releasing lock...
[2025-02-09 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:37:04] Production.INFO: Account Balance End.
[2025-02-09 16:37:04] Production.INFO: ==15806== Lock acquired, processing the job...
[2025-02-09 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:37:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:37:04] Production.INFO: ==15802== Releasing lock...
[2025-02-09 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:37:04] Production.INFO: count ==21
[2025-02-09 16:37:04] Production.ERROR: done
[2025-02-09 16:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:37:04] Production.INFO: count ==21
[2025-02-09 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438326') start
[2025-02-09 16:37:04] Production.ERROR: done
[2025-02-09 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438326') end
[2025-02-09 16:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:37:04] Production.INFO: 1
[2025-02-09 16:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:37:05] Production.INFO: ==15806== Releasing lock...
[2025-02-09 16:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:37:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:37:05
[end_date_ymd] => 2025-02-09 16:37:05
[RateCDR] => 1
)
[2025-02-09 16:37: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` >= '2025-02-09 13:37:05' and `end` < '2025-02-09 16:37: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 ,'')
[2025-02-09 16:37:12] Production.ERROR: CronJobId end10
[2025-02-09 16:37:12] Production.INFO: ==15800== Releasing lock...
[2025-02-09 16:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:37:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:37:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:37:14] Production.INFO: call_cost start
[2025-02-09 16:37:14] Production.INFO: call_cost end
[2025-02-09 16:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:37:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:37:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:37:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:37:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:37:15] Production.INFO: ==15796== Releasing lock...
[2025-02-09 16:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:37:19] Production.INFO: count ==1217
[2025-02-09 16:37:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:37:05 - End Time 2025-02-09 16:37:05
[2025-02-09 16:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438327', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438327', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438327', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438327', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:37:19] Production.INFO: ProcessCDR(1,14438327,1,1,2)
[2025-02-09 16:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438327', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438327', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:37:23] Production.INFO: ==15804== Releasing lock...
[2025-02-09 16:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:37:23] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:38:01] Production.INFO: ==15868== Lock acquired, processing the job...
[2025-02-09 21:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:38:01] Production.INFO: neon service started
[2025-02-09 21:38:01] Production.INFO: neon service started
[2025-02-09 21:38:01] Production.INFO: ==15868== Releasing lock...
[2025-02-09 21:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:38:02] Production.INFO: ==15873== Lock acquired, processing the job...
[2025-02-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:38:02] Production.INFO: ==15873== Releasing lock...
[2025-02-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:38:02] Production.INFO: ==15875== Lock acquired, processing the job...
[2025-02-09 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:38:02] Production.INFO: ==15875== Releasing lock...
[2025-02-09 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:38:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:38:03] Production.INFO: ==15883== Lock acquired, processing the job...
[2025-02-09 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:38:03] Production.INFO: Account Balance Start.
[2025-02-09 16:38:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:38:03] Production.INFO: 117
[2025-02-09 16:38:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:38:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:38:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:38:03] Production.INFO: Total Charge 0
[2025-02-09 16:38:03] Production.INFO: CreateAllLog End
[2025-02-09 16:38:03] Production.INFO: ==15877== Lock acquired, processing the job...
[2025-02-09 16:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:38:03] Production.INFO: Account Balance End.
[2025-02-09 16:38:03] Production.INFO: ==15881== Lock acquired, processing the job...
[2025-02-09 16:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:38:03] Production.INFO: ==15879== Lock acquired, processing the job...
[2025-02-09 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:38:03] Production.INFO: ==15885== Lock acquired, processing the job...
[2025-02-09 16:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:38:03] Production.ERROR: CronJobId end 12
[2025-02-09 16:38:03] Production.INFO: ==15883== Releasing lock...
[2025-02-09 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:38:03] Production.INFO: ==15887== Lock acquired, processing the job...
[2025-02-09 16:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:38:04] Production.INFO: count ==21
[2025-02-09 16:38:04] Production.ERROR: done
[2025-02-09 16:38:04] Production.INFO: ==15879== Releasing lock...
[2025-02-09 16:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:38:04] Production.INFO: count ==21
[2025-02-09 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438331') start
[2025-02-09 16:38:04] Production.ERROR: done
[2025-02-09 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438331') end
[2025-02-09 16:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:38:04] Production.INFO: 1
[2025-02-09 16:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:38:04] Production.INFO: ==15887== Releasing lock...
[2025-02-09 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:38:05
[end_date_ymd] => 2025-02-09 16:38:05
[RateCDR] => 1
)
[2025-02-09 16:38: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` >= '2025-02-09 13:38:05' and `end` < '2025-02-09 16:38: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 ,'')
[2025-02-09 16:38:11] Production.ERROR: CronJobId end10
[2025-02-09 16:38:11] Production.INFO: ==15881== Releasing lock...
[2025-02-09 16:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:38:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:38:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:38:14] Production.INFO: call_cost start
[2025-02-09 16:38:14] Production.INFO: call_cost end
[2025-02-09 16:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:38:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:38:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:38:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:38:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:38:15] Production.INFO: ==15877== Releasing lock...
[2025-02-09 16:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:38:21] Production.INFO: count ==1221
[2025-02-09 16:38:21] Production.ERROR: pbx CDR StartTime 2025-02-09 13:38:05 - End Time 2025-02-09 16:38:05
[2025-02-09 16:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438332', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438332', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438332', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438332', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:38:21] Production.INFO: ProcessCDR(1,14438332,1,1,2)
[2025-02-09 16:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438332', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438332', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:38:26] Production.INFO: ==15885== Releasing lock...
[2025-02-09 16:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:38:26] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:39:02] Production.INFO: ==15952== Lock acquired, processing the job...
[2025-02-09 21:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:39:02] Production.INFO: neon service started
[2025-02-09 21:39:02] Production.INFO: neon service started
[2025-02-09 21:39:02] Production.INFO: ==15952== Releasing lock...
[2025-02-09 21:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:39:02] Production.INFO: ==15954== Lock acquired, processing the job...
[2025-02-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:39:02] Production.INFO: ==15956== Lock acquired, processing the job...
[2025-02-09 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:39:02] Production.INFO: ==15956== Releasing lock...
[2025-02-09 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:39:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:39:03] Production.INFO: ==15954== Releasing lock...
[2025-02-09 16:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:39:04] Production.INFO: ==15959== Lock acquired, processing the job...
[2025-02-09 16:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:39:04] Production.INFO: ==15965== Lock acquired, processing the job...
[2025-02-09 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:39:04] Production.INFO: ==15967== Lock acquired, processing the job...
[2025-02-09 16:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:39:04] Production.INFO: ==15961== Lock acquired, processing the job...
[2025-02-09 16:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:39:04] Production.INFO: Account Balance Start.
[2025-02-09 16:39:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:39:04] Production.INFO: 117
[2025-02-09 16:39:04] Production.INFO: ==15963== Lock acquired, processing the job...
[2025-02-09 16:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:39:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:39:04] Production.INFO: ==15969== Lock acquired, processing the job...
[2025-02-09 16:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:39:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:39:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:39:04] Production.ERROR: done
[2025-02-09 16:39:04] Production.INFO: Total Charge 0
[2025-02-09 16:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:39:04] Production.INFO: CreateAllLog End
[2025-02-09 16:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:39:04] Production.INFO: count ==21
[2025-02-09 16:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:39:04] Production.ERROR: done
[2025-02-09 16:39:04] Production.INFO: count ==21
[2025-02-09 16:39:04] Production.INFO: ==15961== Releasing lock...
[2025-02-09 16:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438336') start
[2025-02-09 16:39:04] Production.INFO: Account Balance End.
[2025-02-09 16:39:05] Production.ERROR: CronJobId end 12
[2025-02-09 16:39:05] Production.INFO: ==15965== Releasing lock...
[2025-02-09 16:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:39:05] Production.ERROR: PBX CALL prc_importPBXExtension('14438336') end
[2025-02-09 16:39:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:39:05] Production.INFO: 1
[2025-02-09 16:39:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:39:05] Production.INFO: ==15969== Releasing lock...
[2025-02-09 16:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:39:06
[end_date_ymd] => 2025-02-09 16:39:06
[RateCDR] => 1
)
[2025-02-09 16:39: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-02-09 13:39:06' and `end` < '2025-02-09 16:39: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-02-09 16:39:13] Production.ERROR: CronJobId end10
[2025-02-09 16:39:13] Production.INFO: ==15963== Releasing lock...
[2025-02-09 16:39:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:39:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:39:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:39:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:39:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:39:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:39:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:39:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:39:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:39:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:39:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:39:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:39:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:39:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:39:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:39:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:39:14] Production.INFO: call_cost start
[2025-02-09 16:39:14] Production.INFO: call_cost end
[2025-02-09 16:39:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:39:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:39:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:39:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:39:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:39:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:39:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:39:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:39:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:39:15] Production.INFO: ==15959== Releasing lock...
[2025-02-09 16:39:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:39:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:39:19] Production.INFO: count ==1216
[2025-02-09 16:39:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:39:06 - End Time 2025-02-09 16:39:06
[2025-02-09 16:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438337', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438337', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438337', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438337', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:39:20] Production.INFO: ProcessCDR(1,14438337,1,1,2)
[2025-02-09 16:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438337', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438337', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:39:24] Production.INFO: ==15967== Releasing lock...
[2025-02-09 16:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:39:24] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:40:01] Production.INFO: ==16025== Lock acquired, processing the job...
[2025-02-09 21:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:40:01] Production.INFO: neon service started
[2025-02-09 21:40:01] Production.INFO: neon service started
[2025-02-09 21:40:01] Production.INFO: ==16025== Releasing lock...
[2025-02-09 21:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:40:02] Production.INFO: ==16027== Lock acquired, processing the job...
[2025-02-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:40:02] Production.INFO: ==16029== Lock acquired, processing the job...
[2025-02-09 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:40:02] Production.INFO: ==16029== Releasing lock...
[2025-02-09 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:40:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:40:02] Production.INFO: ==16027== Releasing lock...
[2025-02-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:40:03] Production.INFO: ==16036== Lock acquired, processing the job...
[2025-02-09 16:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:40:03] Production.INFO: ==16032== Lock acquired, processing the job...
[2025-02-09 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 16:40:03] Production.INFO: ==16040== Lock acquired, processing the job...
[2025-02-09 16:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:40:03] Production.INFO: ==16034== Lock acquired, processing the job...
[2025-02-09 16:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:40:04] Production.INFO: ==16046== Lock acquired, processing the job...
[2025-02-09 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:40:04] Production.ERROR: CronJob PID - 16034
[2025-02-09 16:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 16:40:04] Production.ERROR: CronJob ID - 5
[2025-02-09 16:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 16:40:00
[2025-02-09 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:40:04] Production.ERROR: CronJob PID - 16036
[2025-02-09 16:40:04] Production.ERROR: CronJob Title - Account Block
[2025-02-09 16:40:04] Production.ERROR: CronJob ID - 7
[2025-02-09 16:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 16:40:00
[2025-02-09 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 16:40:04] Production.ERROR: CronJob PID - 16040
[2025-02-09 16:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 16:40:04] Production.ERROR: CronJob ID - 12
[2025-02-09 16:40:04] Production.ERROR: CronJob Last Run Time 2025-02-09 16:40:00
[2025-02-09 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 16:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 16:40:04] Production.INFO: ==16032== Releasing lock...
[2025-02-09 16:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 16:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 16:40:04] Production.INFO: Account Balance Start.
[2025-02-09 16:40:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:40:04] Production.INFO: 117
[2025-02-09 16:40:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:40:04] Production.INFO: ==16038== Lock acquired, processing the job...
[2025-02-09 16:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:40:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:40:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:40:04] Production.INFO: count ==21
[2025-02-09 16:40:04] Production.INFO: ==16036== Releasing lock...
[2025-02-09 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:40:04] Production.INFO: count ==21
[2025-02-09 16:40:04] Production.INFO: ==16044== Lock acquired, processing the job...
[2025-02-09 16:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438341') start
[2025-02-09 16:40:04] Production.INFO: ==16042== Lock acquired, processing the job...
[2025-02-09 16:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:40:04] Production.INFO: Total Charge 0
[2025-02-09 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:40:04] Production.INFO: CreateAllLog End
[2025-02-09 16:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438341') end
[2025-02-09 16:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:40:04] Production.INFO: 1
[2025-02-09 16:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:40:04] Production.INFO: ==16046== Releasing lock...
[2025-02-09 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:40:04] Production.ERROR: done
[2025-02-09 16:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:40:05] Production.ERROR: done
[2025-02-09 16:40:05] Production.INFO: Account Balance End.
[2025-02-09 16:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 16:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438342', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 16:40:05] Production.ERROR: CronJobId end 12
[2025-02-09 16:40:05] Production.INFO: ==16040== Releasing lock...
[2025-02-09 16:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:40:05] Production.ERROR: done
[2025-02-09 16:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:40:06
[end_date_ymd] => 2025-02-09 16:40:06
[RateCDR] => 1
)
[2025-02-09 16:40: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-02-09 13:40:06' and `end` < '2025-02-09 16:40: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-02-09 16:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438342', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 16:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 16:40:09] Production.INFO: ProcessCDR(1,14438342,1,1,2)
[2025-02-09 16:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14438342,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14438342,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:40:09] Production.INFO: ==16044== Releasing lock...
[2025-02-09 16:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 16:40:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 16:40:13] Production.ERROR: CronJobId end10
[2025-02-09 16:40:13] Production.INFO: ==16038== Releasing lock...
[2025-02-09 16:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:40:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:40:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:40:16] Production.INFO: call_cost start
[2025-02-09 16:40:16] Production.INFO: call_cost end
[2025-02-09 16:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:40:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:40:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:40:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:40:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:40:17] Production.INFO: ==16034== Releasing lock...
[2025-02-09 16:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:40:20] Production.INFO: count ==1217
[2025-02-09 16:40:20] Production.ERROR: pbx CDR StartTime 2025-02-09 13:40:06 - End Time 2025-02-09 16:40:06
[2025-02-09 16:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438343', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438343', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438343', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438343', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:40:20] Production.INFO: ProcessCDR(1,14438343,1,1,2)
[2025-02-09 16:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:40:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:40:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:40:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438343', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:40:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438343', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:40:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:40:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:40:25] Production.INFO: ==16042== Releasing lock...
[2025-02-09 16:40:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:40:25] Production.INFO: 37 MB #Memory Used#
[2025-02-09 21:41:02] Production.INFO: ==16107== Lock acquired, processing the job...
[2025-02-09 21:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:41:02] Production.INFO: neon service started
[2025-02-09 21:41:02] Production.INFO: neon service started
[2025-02-09 21:41:02] Production.INFO: ==16107== Releasing lock...
[2025-02-09 21:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:41:02] Production.INFO: ==16109== Lock acquired, processing the job...
[2025-02-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:41:02] Production.INFO: ==16111== Lock acquired, processing the job...
[2025-02-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:41:02] Production.INFO: ==16111== Releasing lock...
[2025-02-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:41:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:41:03] Production.INFO: ==16109== Releasing lock...
[2025-02-09 16:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:41:03] Production.INFO: ==16114== Lock acquired, processing the job...
[2025-02-09 16:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:41:03] Production.INFO: ==16116== Lock acquired, processing the job...
[2025-02-09 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:41:04] Production.INFO: ==16122== Lock acquired, processing the job...
[2025-02-09 16:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:41:04] Production.INFO: ==16118== Lock acquired, processing the job...
[2025-02-09 16:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:41:04] Production.INFO: ==16116== Releasing lock...
[2025-02-09 16:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:41:04] Production.INFO: ==16120== Lock acquired, processing the job...
[2025-02-09 16:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:41:04] Production.INFO: ==16124== Lock acquired, processing the job...
[2025-02-09 16:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:41:04] Production.ERROR: done
[2025-02-09 16:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:41:04] Production.INFO: Account Balance Start.
[2025-02-09 16:41:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:41:04] Production.ERROR: done
[2025-02-09 16:41:04] Production.INFO: 117
[2025-02-09 16:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:41:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:41:04] Production.INFO: count ==21
[2025-02-09 16:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:41:04] Production.INFO: count ==21
[2025-02-09 16:41:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438347') start
[2025-02-09 16:41:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:41:04] Production.INFO: Total Charge 0
[2025-02-09 16:41:04] Production.INFO: CreateAllLog End
[2025-02-09 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438347') end
[2025-02-09 16:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:41:04] Production.INFO: 1
[2025-02-09 16:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:41:04] Production.INFO: Account Balance End.
[2025-02-09 16:41:04] Production.INFO: ==16124== Releasing lock...
[2025-02-09 16:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:41:05] Production.ERROR: CronJobId end 12
[2025-02-09 16:41:05] Production.INFO: ==16120== Releasing lock...
[2025-02-09 16:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:41:05
[end_date_ymd] => 2025-02-09 16:41:05
[RateCDR] => 1
)
[2025-02-09 16:41: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` >= '2025-02-09 13:41:05' and `end` < '2025-02-09 16:41: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 ,'')
[2025-02-09 16:41:12] Production.ERROR: CronJobId end10
[2025-02-09 16:41:12] Production.INFO: ==16118== Releasing lock...
[2025-02-09 16:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:41:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:41:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:41:15] Production.INFO: call_cost start
[2025-02-09 16:41:15] Production.INFO: call_cost end
[2025-02-09 16:41:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:41:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:41:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:41:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:41:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:41:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:41:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:41:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:41:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:41:16] Production.INFO: ==16114== Releasing lock...
[2025-02-09 16:41:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:41:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:41:18] Production.INFO: count ==1251
[2025-02-09 16:41:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:41:05 - End Time 2025-02-09 16:41:05
[2025-02-09 16:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438348', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438348', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438348', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438348', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:41:19] Production.INFO: ProcessCDR(1,14438348,1,1,2)
[2025-02-09 16:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438348', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438348', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:41:23] Production.INFO: ==16122== Releasing lock...
[2025-02-09 16:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:41:23] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:42:01] Production.INFO: ==16179== Lock acquired, processing the job...
[2025-02-09 21:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:42:01] Production.INFO: neon service started
[2025-02-09 21:42:01] Production.INFO: neon service started
[2025-02-09 21:42:01] Production.INFO: ==16179== Releasing lock...
[2025-02-09 21:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:42:02] Production.INFO: ==16181== Lock acquired, processing the job...
[2025-02-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:42:02] Production.INFO: ==16183== Lock acquired, processing the job...
[2025-02-09 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:42:02] Production.INFO: ==16181== Releasing lock...
[2025-02-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:42:02] Production.INFO: ==16183== Releasing lock...
[2025-02-09 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:42:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:42:03] Production.INFO: ==16186== Lock acquired, processing the job...
[2025-02-09 16:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:42:03] Production.INFO: ==16192== Lock acquired, processing the job...
[2025-02-09 16:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:42:03] Production.INFO: ==16196== Lock acquired, processing the job...
[2025-02-09 16:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:42:03] Production.INFO: Account Balance Start.
[2025-02-09 16:42:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:42:03] Production.INFO: 117
[2025-02-09 16:42:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:42:03] Production.INFO: ==16190== Lock acquired, processing the job...
[2025-02-09 16:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:42:03] Production.INFO: ==16188== Lock acquired, processing the job...
[2025-02-09 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:42:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:42:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:42:03] Production.INFO: Total Charge 0
[2025-02-09 16:42:03] Production.INFO: count ==21
[2025-02-09 16:42:03] Production.INFO: CreateAllLog End
[2025-02-09 16:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:42:03] Production.INFO: count ==21
[2025-02-09 16:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438350') start
[2025-02-09 16:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:42:03] Production.INFO: ==16194== Lock acquired, processing the job...
[2025-02-09 16:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438350') end
[2025-02-09 16:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:42:03] Production.INFO: 1
[2025-02-09 16:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:42:03] Production.INFO: Account Balance End.
[2025-02-09 16:42:03] Production.INFO: ==16196== Releasing lock...
[2025-02-09 16:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:42:03] Production.ERROR: CronJobId end 12
[2025-02-09 16:42:03] Production.INFO: ==16192== Releasing lock...
[2025-02-09 16:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:42:04] Production.INFO: ==16188== Releasing lock...
[2025-02-09 16:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:42:04] Production.ERROR: done
[2025-02-09 16:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:42:04] Production.ERROR: done
[2025-02-09 16:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:42:05
[end_date_ymd] => 2025-02-09 16:42:05
[RateCDR] => 1
)
[2025-02-09 16:42: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` >= '2025-02-09 13:42:05' and `end` < '2025-02-09 16:42: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 ,'')
[2025-02-09 16:42:12] Production.ERROR: CronJobId end10
[2025-02-09 16:42:12] Production.INFO: ==16190== Releasing lock...
[2025-02-09 16:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:42:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:42:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:42:14] Production.INFO: call_cost start
[2025-02-09 16:42:14] Production.INFO: call_cost end
[2025-02-09 16:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:42:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:42:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:42:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:42:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:42:15] Production.INFO: ==16186== Releasing lock...
[2025-02-09 16:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:42:18] Production.INFO: count ==1257
[2025-02-09 16:42:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:42:05 - End Time 2025-02-09 16:42:05
[2025-02-09 16:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438353', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438353', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438353', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438353', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:42:18] Production.INFO: ProcessCDR(1,14438353,1,1,2)
[2025-02-09 16:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438353', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438353', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:42:23] Production.INFO: ==16194== Releasing lock...
[2025-02-09 16:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:42:23] Production.INFO: 37.5 MB #Memory Used#
[2025-02-09 21:43:02] Production.INFO: ==16252== Lock acquired, processing the job...
[2025-02-09 21:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:43:02] Production.INFO: neon service started
[2025-02-09 21:43:02] Production.INFO: neon service started
[2025-02-09 21:43:02] Production.INFO: ==16252== Releasing lock...
[2025-02-09 21:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:43:02] Production.INFO: ==16254== Lock acquired, processing the job...
[2025-02-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:43:02] Production.INFO: ==16254== Releasing lock...
[2025-02-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:43:02] Production.INFO: ==16256== Lock acquired, processing the job...
[2025-02-09 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:43:02] Production.INFO: ==16256== Releasing lock...
[2025-02-09 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:43:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:43:03] Production.INFO: ==16266== Lock acquired, processing the job...
[2025-02-09 16:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:43:03] Production.INFO: ==16268== Lock acquired, processing the job...
[2025-02-09 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:43:03] Production.INFO: ==16258== Lock acquired, processing the job...
[2025-02-09 16:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:43:03] Production.INFO: ==16260== Lock acquired, processing the job...
[2025-02-09 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:43:04] Production.INFO: count ==21
[2025-02-09 16:43:04] Production.INFO: ==16262== Lock acquired, processing the job...
[2025-02-09 16:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:43:04] Production.INFO: count ==21
[2025-02-09 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438354') start
[2025-02-09 16:43:04] Production.INFO: ==16264== Lock acquired, processing the job...
[2025-02-09 16:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:43:04] Production.INFO: Account Balance Start.
[2025-02-09 16:43:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:43:04] Production.INFO: 117
[2025-02-09 16:43:04] Production.ERROR: done
[2025-02-09 16:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438354') end
[2025-02-09 16:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:43:04] Production.INFO: 1
[2025-02-09 16:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:43:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:43:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:43:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:43:04] Production.INFO: Total Charge 0
[2025-02-09 16:43:04] Production.INFO: CreateAllLog End
[2025-02-09 16:43:04] Production.INFO: ==16268== Releasing lock...
[2025-02-09 16:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:43:04] Production.ERROR: done
[2025-02-09 16:43:04] Production.INFO: ==16260== Releasing lock...
[2025-02-09 16:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:43:04] Production.INFO: Account Balance End.
[2025-02-09 16:43:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:43:04] Production.INFO: ==16264== Releasing lock...
[2025-02-09 16:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:43:05
[end_date_ymd] => 2025-02-09 16:43:05
[RateCDR] => 1
)
[2025-02-09 16:43: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` >= '2025-02-09 13:43:05' and `end` < '2025-02-09 16:43: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 ,'')
[2025-02-09 16:43:12] Production.ERROR: CronJobId end10
[2025-02-09 16:43:12] Production.INFO: ==16262== Releasing lock...
[2025-02-09 16:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:43:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:43:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:43:15] Production.INFO: call_cost start
[2025-02-09 16:43:15] Production.INFO: call_cost end
[2025-02-09 16:43:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:43:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:43:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:43:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:43:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:43:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:43:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:43:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:43:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:43:16] Production.INFO: ==16258== Releasing lock...
[2025-02-09 16:43:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:43:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:43:19] Production.INFO: count ==1258
[2025-02-09 16:43:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:43:05 - End Time 2025-02-09 16:43:05
[2025-02-09 16:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438358', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438358', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438358', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438358', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:43:19] Production.INFO: ProcessCDR(1,14438358,1,1,2)
[2025-02-09 16:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438358', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438358', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:43:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:43:24] Production.INFO: ==16266== Releasing lock...
[2025-02-09 16:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:43:24] Production.INFO: 37.5 MB #Memory Used#
[2025-02-09 21:44:01] Production.INFO: ==16328== Lock acquired, processing the job...
[2025-02-09 21:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:44:01] Production.INFO: neon service started
[2025-02-09 21:44:01] Production.INFO: neon service started
[2025-02-09 21:44:01] Production.INFO: ==16328== Releasing lock...
[2025-02-09 21:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:44:01] Production.INFO: ==16330== Lock acquired, processing the job...
[2025-02-09 16:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:44:02] Production.INFO: ==16330== Releasing lock...
[2025-02-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:44:02] Production.INFO: ==16332== Lock acquired, processing the job...
[2025-02-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:44:02] Production.INFO: ==16332== Releasing lock...
[2025-02-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:44:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:44:03] Production.INFO: ==16335== Lock acquired, processing the job...
[2025-02-09 16:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:44:03] Production.INFO: ==16337== Lock acquired, processing the job...
[2025-02-09 16:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:44:03] Production.INFO: ==16339== Lock acquired, processing the job...
[2025-02-09 16:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:44:03] Production.INFO: ==16345== Lock acquired, processing the job...
[2025-02-09 16:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:44:03] Production.INFO: ==16341== Lock acquired, processing the job...
[2025-02-09 16:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:44:03] Production.INFO: count ==21
[2025-02-09 16:44:03] Production.INFO: ==16343== Lock acquired, processing the job...
[2025-02-09 16:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:44:03] Production.INFO: count ==21
[2025-02-09 16:44:03] Production.INFO: ==16337== Releasing lock...
[2025-02-09 16:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438361') start
[2025-02-09 16:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:44:03] Production.INFO: Account Balance Start.
[2025-02-09 16:44:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:44:03] Production.INFO: 117
[2025-02-09 16:44:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438361') end
[2025-02-09 16:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:44:03] Production.INFO: 1
[2025-02-09 16:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:44:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:44:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:44:03] Production.INFO: Total Charge 0
[2025-02-09 16:44:03] Production.INFO: CreateAllLog End
[2025-02-09 16:44:03] Production.INFO: ==16345== Releasing lock...
[2025-02-09 16:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:44:04] Production.ERROR: done
[2025-02-09 16:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:44:04] Production.INFO: Account Balance End.
[2025-02-09 16:44:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:44:04] Production.INFO: ==16341== Releasing lock...
[2025-02-09 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:44:04] Production.ERROR: done
[2025-02-09 16:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:44:05
[end_date_ymd] => 2025-02-09 16:44:05
[RateCDR] => 1
)
[2025-02-09 16:44: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` >= '2025-02-09 13:44:05' and `end` < '2025-02-09 16:44: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 ,'')
[2025-02-09 16:44:11] Production.ERROR: CronJobId end10
[2025-02-09 16:44:11] Production.INFO: ==16339== Releasing lock...
[2025-02-09 16:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:44:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:44:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:44:13] Production.INFO: call_cost start
[2025-02-09 16:44:13] Production.INFO: call_cost end
[2025-02-09 16:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:44:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:44:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:44:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:44:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:44:14] Production.INFO: ==16335== Releasing lock...
[2025-02-09 16:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:44:21] Production.INFO: count ==1262
[2025-02-09 16:44:21] Production.ERROR: pbx CDR StartTime 2025-02-09 13:44:05 - End Time 2025-02-09 16:44:05
[2025-02-09 16:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438363', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438363', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438363', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438363', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:44:21] Production.INFO: ProcessCDR(1,14438363,1,1,2)
[2025-02-09 16:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:44:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:44:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438363', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438363', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:44:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:44:26] Production.INFO: ==16343== Releasing lock...
[2025-02-09 16:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:44:26] Production.INFO: 37.25 MB #Memory Used#
[2025-02-09 21:45:02] Production.INFO: ==16401== Lock acquired, processing the job...
[2025-02-09 21:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:45:02] Production.INFO: neon service started
[2025-02-09 21:45:02] Production.INFO: neon service started
[2025-02-09 21:45:02] Production.INFO: ==16401== Releasing lock...
[2025-02-09 21:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:45:02] Production.INFO: ==16404== Lock acquired, processing the job...
[2025-02-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:45:02] Production.INFO: ==16404== Releasing lock...
[2025-02-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:45:02] Production.INFO: ==16406== Lock acquired, processing the job...
[2025-02-09 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:45:02] Production.INFO: ==16406== Releasing lock...
[2025-02-09 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:45:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:45:03] Production.INFO: ==16408== Lock acquired, processing the job...
[2025-02-09 16:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:45:03] Production.INFO: ==16410== Lock acquired, processing the job...
[2025-02-09 16:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:45:03] Production.INFO: ==16412== Lock acquired, processing the job...
[2025-02-09 16:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:45:03] Production.INFO: ==16418== Lock acquired, processing the job...
[2025-02-09 16:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:45:03] Production.INFO: ==16414== Lock acquired, processing the job...
[2025-02-09 16:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:45:03] Production.INFO: ==16416== Lock acquired, processing the job...
[2025-02-09 16:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:45:03] Production.INFO: Account Balance Start.
[2025-02-09 16:45:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:45:03] Production.INFO: 117
[2025-02-09 16:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:45:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:45:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:45:04] Production.INFO: count ==21
[2025-02-09 16:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:45:04] Production.INFO: ==16410== Releasing lock...
[2025-02-09 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:45:04] Production.INFO: count ==21
[2025-02-09 16:45:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:45:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438367') start
[2025-02-09 16:45:04] Production.INFO: Total Charge 0
[2025-02-09 16:45:04] Production.INFO: CreateAllLog End
[2025-02-09 16:45:04] Production.ERROR: done
[2025-02-09 16:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438367') end
[2025-02-09 16:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:45:04] Production.INFO: 1
[2025-02-09 16:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:45:04] Production.INFO: Account Balance End.
[2025-02-09 16:45:04] Production.INFO: ==16418== Releasing lock...
[2025-02-09 16:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:45:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:45:04] Production.INFO: ==16414== Releasing lock...
[2025-02-09 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:45:04] Production.ERROR: done
[2025-02-09 16:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:45:05
[end_date_ymd] => 2025-02-09 16:45:05
[RateCDR] => 1
)
[2025-02-09 16:45: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` >= '2025-02-09 13:45:05' and `end` < '2025-02-09 16:45: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 ,'')
[2025-02-09 16:45:12] Production.ERROR: CronJobId end10
[2025-02-09 16:45:12] Production.INFO: ==16412== Releasing lock...
[2025-02-09 16:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:45:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:45:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:45:14] Production.INFO: call_cost start
[2025-02-09 16:45:14] Production.INFO: call_cost end
[2025-02-09 16:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:45:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:45:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:45:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:45:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:45:15] Production.INFO: ==16408== Releasing lock...
[2025-02-09 16:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:45:23] Production.INFO: count ==1269
[2025-02-09 16:45:23] Production.ERROR: pbx CDR StartTime 2025-02-09 13:45:05 - End Time 2025-02-09 16:45:05
[2025-02-09 16:45:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:45:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438368', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:45:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438368', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:45:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438368', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:45:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438368', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:45:23] Production.INFO: ProcessCDR(1,14438368,1,1,2)
[2025-02-09 16:45:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:45:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:45:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:45:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:45:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438368', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:45:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438368', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:45:28] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:45:28] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:45:28] Production.INFO: ==16416== Releasing lock...
[2025-02-09 16:45:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:45:28] Production.INFO: 37.5 MB #Memory Used#
[2025-02-09 21:46:01] Production.INFO: ==16474== Lock acquired, processing the job...
[2025-02-09 21:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:46:01] Production.INFO: neon service started
[2025-02-09 21:46:01] Production.INFO: neon service started
[2025-02-09 21:46:01] Production.INFO: ==16474== Releasing lock...
[2025-02-09 21:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:46:01] Production.INFO: ==16478== Lock acquired, processing the job...
[2025-02-09 21:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:46:01] Production.INFO: ==16478== Releasing lock...
[2025-02-09 21:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:46:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:46:02] Production.INFO: ==16476== Lock acquired, processing the job...
[2025-02-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:46:02] Production.INFO: ==16476== Releasing lock...
[2025-02-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:46:03] Production.INFO: ==16484== Lock acquired, processing the job...
[2025-02-09 16:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:46:03] Production.INFO: ==16482== Lock acquired, processing the job...
[2025-02-09 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:46:03] Production.INFO: ==16488== Lock acquired, processing the job...
[2025-02-09 16:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:46:03] Production.INFO: ==16480== Lock acquired, processing the job...
[2025-02-09 16:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:46:03] Production.INFO: ==16490== Lock acquired, processing the job...
[2025-02-09 16:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:46:03] Production.INFO: ==16486== Lock acquired, processing the job...
[2025-02-09 16:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:46:03] Production.INFO: ==16482== Releasing lock...
[2025-02-09 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:46:03] Production.ERROR: done
[2025-02-09 16:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:46:03] Production.INFO: Account Balance Start.
[2025-02-09 16:46:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:46:03] Production.INFO: 117
[2025-02-09 16:46:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:46:03] Production.INFO: count ==21
[2025-02-09 16:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:46:03] Production.INFO: count ==21
[2025-02-09 16:46:03] Production.ERROR: done
[2025-02-09 16:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438371') start
[2025-02-09 16:46:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:46:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:46:03] Production.INFO: Total Charge 0
[2025-02-09 16:46:03] Production.INFO: CreateAllLog End
[2025-02-09 16:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438371') end
[2025-02-09 16:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:46:04] Production.INFO: 1
[2025-02-09 16:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:46:04] Production.INFO: ==16490== Releasing lock...
[2025-02-09 16:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:46:04] Production.INFO: Account Balance End.
[2025-02-09 16:46:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:46:04] Production.INFO: ==16486== Releasing lock...
[2025-02-09 16:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:46:04
[end_date_ymd] => 2025-02-09 16:46:04
[RateCDR] => 1
)
[2025-02-09 16:46:04] 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-02-09 13:46:04' and `end` < '2025-02-09 16:46:04'
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-02-09 16:46:11] Production.ERROR: CronJobId end10
[2025-02-09 16:46:11] Production.INFO: ==16484== Releasing lock...
[2025-02-09 16:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:46:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:46:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:46:13] Production.INFO: call_cost start
[2025-02-09 16:46:13] Production.INFO: call_cost end
[2025-02-09 16:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:46:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:46:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:46:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:46:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:46:14] Production.INFO: ==16480== Releasing lock...
[2025-02-09 16:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:46:18] Production.INFO: count ==1276
[2025-02-09 16:46:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:46:04 - End Time 2025-02-09 16:46:04
[2025-02-09 16:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438373', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438373', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438373', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438373', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:46:19] Production.INFO: ProcessCDR(1,14438373,1,1,2)
[2025-02-09 16:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438373', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438373', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:46:23] Production.INFO: ==16488== Releasing lock...
[2025-02-09 16:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:46:23] Production.INFO: 37.5 MB #Memory Used#
[2025-02-09 21:47:01] Production.INFO: ==16549== Lock acquired, processing the job...
[2025-02-09 21:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:47:01] Production.INFO: neon service started
[2025-02-09 21:47:01] Production.INFO: neon service started
[2025-02-09 21:47:01] Production.INFO: ==16549== Releasing lock...
[2025-02-09 21:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:47:02] Production.INFO: ==16551== Lock acquired, processing the job...
[2025-02-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:47:02] Production.INFO: ==16553== Lock acquired, processing the job...
[2025-02-09 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:47:02] Production.INFO: ==16551== Releasing lock...
[2025-02-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:47:02] Production.INFO: ==16553== Releasing lock...
[2025-02-09 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:47:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:47:03] Production.INFO: ==16557== Lock acquired, processing the job...
[2025-02-09 16:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:47:03] Production.INFO: ==16559== Lock acquired, processing the job...
[2025-02-09 16:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:47:03] Production.INFO: ==16561== Lock acquired, processing the job...
[2025-02-09 16:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:47:03] Production.INFO: ==16559== Releasing lock...
[2025-02-09 16:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:47:03] Production.INFO: ==16563== Lock acquired, processing the job...
[2025-02-09 16:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:47:03] Production.INFO: ==16565== Lock acquired, processing the job...
[2025-02-09 16:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:47:03] Production.INFO: ==16567== Lock acquired, processing the job...
[2025-02-09 16:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:47:03] Production.INFO: Account Balance Start.
[2025-02-09 16:47:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:47:03] Production.INFO: 117
[2025-02-09 16:47:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:47:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:47:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:47:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:47:04] Production.INFO: Total Charge 0
[2025-02-09 16:47:04] Production.INFO: CreateAllLog End
[2025-02-09 16:47:04] Production.ERROR: done
[2025-02-09 16:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:47:04] Production.INFO: count ==21
[2025-02-09 16:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:47:04] Production.INFO: count ==21
[2025-02-09 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438377') start
[2025-02-09 16:47:04] Production.ERROR: done
[2025-02-09 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438377') end
[2025-02-09 16:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:47:04] Production.INFO: 1
[2025-02-09 16:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:47:04] Production.INFO: Account Balance End.
[2025-02-09 16:47:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:47:04] Production.INFO: ==16563== Releasing lock...
[2025-02-09 16:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:47:04] Production.INFO: ==16567== Releasing lock...
[2025-02-09 16:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:47:05
[end_date_ymd] => 2025-02-09 16:47:05
[RateCDR] => 1
)
[2025-02-09 16:47: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` >= '2025-02-09 13:47:05' and `end` < '2025-02-09 16:47: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 ,'')
[2025-02-09 16:47:12] Production.ERROR: CronJobId end10
[2025-02-09 16:47:12] Production.INFO: ==16561== Releasing lock...
[2025-02-09 16:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:47:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:47:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:47:14] Production.INFO: call_cost start
[2025-02-09 16:47:14] Production.INFO: call_cost end
[2025-02-09 16:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:47:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:47:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:47:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:47:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:47:15] Production.INFO: ==16557== Releasing lock...
[2025-02-09 16:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:47:18] Production.INFO: count ==1276
[2025-02-09 16:47:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:47:05 - End Time 2025-02-09 16:47:05
[2025-02-09 16:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438378', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438378', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438378', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438378', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:47:19] Production.INFO: ProcessCDR(1,14438378,1,1,2)
[2025-02-09 16:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438378', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438378', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:47:23] Production.INFO: ==16565== Releasing lock...
[2025-02-09 16:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:47:23] Production.INFO: 37.5 MB #Memory Used#
[2025-02-09 21:48:02] Production.INFO: ==16629== Lock acquired, processing the job...
[2025-02-09 21:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:48:02] Production.INFO: neon service started
[2025-02-09 21:48:02] Production.INFO: neon service started
[2025-02-09 21:48:02] Production.INFO: ==16629== Releasing lock...
[2025-02-09 21:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:48:02] Production.INFO: ==16631== Lock acquired, processing the job...
[2025-02-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:48:03] Production.INFO: ==16633== Lock acquired, processing the job...
[2025-02-09 21:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 16:48:03] Production.INFO: ==16631== Releasing lock...
[2025-02-09 16:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:48:03] Production.INFO: ==16633== Releasing lock...
[2025-02-09 21:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:48:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:48:03] Production.INFO: ==16636== Lock acquired, processing the job...
[2025-02-09 16:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:48:03] Production.INFO: ==16642== Lock acquired, processing the job...
[2025-02-09 16:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:48:04] Production.INFO: ==16638== Lock acquired, processing the job...
[2025-02-09 16:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:48:04] Production.INFO: Account Balance Start.
[2025-02-09 16:48:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:48:04] Production.INFO: 117
[2025-02-09 16:48:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:48:04] Production.INFO: ==16646== Lock acquired, processing the job...
[2025-02-09 16:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:48:04] Production.INFO: ==16640== Lock acquired, processing the job...
[2025-02-09 16:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:48:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:48:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:48:04] Production.INFO: Total Charge 0
[2025-02-09 16:48:04] Production.INFO: CreateAllLog End
[2025-02-09 16:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:48:04] Production.INFO: count ==21
[2025-02-09 16:48:04] Production.INFO: ==16644== Lock acquired, processing the job...
[2025-02-09 16:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:48:04] Production.INFO: count ==21
[2025-02-09 16:48:04] Production.INFO: Account Balance End.
[2025-02-09 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438382') start
[2025-02-09 16:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:48:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:48:04] Production.INFO: ==16642== Releasing lock...
[2025-02-09 16:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:48:04] Production.INFO: ==16638== Releasing lock...
[2025-02-09 16:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438382') end
[2025-02-09 16:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:48:04] Production.INFO: 1
[2025-02-09 16:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:48:04] Production.INFO: ==16646== Releasing lock...
[2025-02-09 16:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:48:04] Production.ERROR: done
[2025-02-09 16:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:48:05] Production.ERROR: done
[2025-02-09 16:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:48:05
[end_date_ymd] => 2025-02-09 16:48:05
[RateCDR] => 1
)
[2025-02-09 16:48: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` >= '2025-02-09 13:48:05' and `end` < '2025-02-09 16:48: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 ,'')
[2025-02-09 16:48:13] Production.ERROR: CronJobId end10
[2025-02-09 16:48:13] Production.INFO: ==16640== Releasing lock...
[2025-02-09 16:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:48:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:48:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:48:15] Production.INFO: call_cost start
[2025-02-09 16:48:15] Production.INFO: call_cost end
[2025-02-09 16:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:48:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:48:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:48:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:48:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:48:16] Production.INFO: ==16636== Releasing lock...
[2025-02-09 16:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:48:18] Production.INFO: count ==1286
[2025-02-09 16:48:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:48:05 - End Time 2025-02-09 16:48:05
[2025-02-09 16:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438383', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438383', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438383', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438383', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:48:19] Production.INFO: ProcessCDR(1,14438383,1,1,2)
[2025-02-09 16:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438383', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438383', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:48:24] Production.INFO: ==16644== Releasing lock...
[2025-02-09 16:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:48:24] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 21:49:01] Production.INFO: ==16702== Lock acquired, processing the job...
[2025-02-09 21:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:49:01] Production.INFO: neon service started
[2025-02-09 21:49:01] Production.INFO: neon service started
[2025-02-09 21:49:01] Production.INFO: ==16702== Releasing lock...
[2025-02-09 21:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:49:02] Production.INFO: ==16704== Lock acquired, processing the job...
[2025-02-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:49:02] Production.INFO: ==16704== Releasing lock...
[2025-02-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:49:02] Production.INFO: ==16706== Lock acquired, processing the job...
[2025-02-09 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:49:02] Production.INFO: ==16706== Releasing lock...
[2025-02-09 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:49:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:49:03] Production.INFO: ==16710== Lock acquired, processing the job...
[2025-02-09 16:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:49:03] Production.INFO: ==16708== Lock acquired, processing the job...
[2025-02-09 16:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:49:03] Production.INFO: ==16712== Lock acquired, processing the job...
[2025-02-09 16:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:49:03] Production.INFO: ==16714== Lock acquired, processing the job...
[2025-02-09 16:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:49:03] Production.INFO: ==16716== Lock acquired, processing the job...
[2025-02-09 16:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:49:03] Production.INFO: ==16718== Lock acquired, processing the job...
[2025-02-09 16:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:49:03] Production.INFO: Account Balance Start.
[2025-02-09 16:49:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:49:03] Production.INFO: 117
[2025-02-09 16:49:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:49:03] Production.INFO: ==16710== Releasing lock...
[2025-02-09 16:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:49:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:49:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:49:03] Production.INFO: count ==21
[2025-02-09 16:49:03] Production.INFO: Total Charge 0
[2025-02-09 16:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:49:03] Production.INFO: count ==21
[2025-02-09 16:49:03] Production.INFO: CreateAllLog End
[2025-02-09 16:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438387') start
[2025-02-09 16:49:03] Production.ERROR: done
[2025-02-09 16:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438387') end
[2025-02-09 16:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:49:03] Production.INFO: 1
[2025-02-09 16:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:49:03] Production.ERROR: done
[2025-02-09 16:49:03] Production.INFO: ==16718== Releasing lock...
[2025-02-09 16:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:49:04] Production.INFO: Account Balance End.
[2025-02-09 16:49:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:49:04] Production.INFO: ==16714== Releasing lock...
[2025-02-09 16:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:49:04
[end_date_ymd] => 2025-02-09 16:49:04
[RateCDR] => 1
)
[2025-02-09 16:49:04] 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-02-09 13:49:04' and `end` < '2025-02-09 16:49:04'
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-02-09 16:49:11] Production.ERROR: CronJobId end10
[2025-02-09 16:49:11] Production.INFO: ==16712== Releasing lock...
[2025-02-09 16:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:49:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:49:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:49:13] Production.INFO: call_cost start
[2025-02-09 16:49:13] Production.INFO: call_cost end
[2025-02-09 16:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:49:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:49:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:49:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:49:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:49:14] Production.INFO: ==16708== Releasing lock...
[2025-02-09 16:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:49:18] Production.INFO: count ==1287
[2025-02-09 16:49:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:49:04 - End Time 2025-02-09 16:49:04
[2025-02-09 16:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438388', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438388', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438388', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438388', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:49:18] Production.INFO: ProcessCDR(1,14438388,1,1,2)
[2025-02-09 16:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438388', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438388', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:49:23] Production.INFO: ==16716== Releasing lock...
[2025-02-09 16:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:49:23] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 21:50:02] Production.INFO: ==16814== Lock acquired, processing the job...
[2025-02-09 21:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:50:02] Production.INFO: neon service started
[2025-02-09 21:50:02] Production.INFO: neon service started
[2025-02-09 21:50:02] Production.INFO: ==16814== Releasing lock...
[2025-02-09 21:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:50:02] Production.INFO: ==16816== Lock acquired, processing the job...
[2025-02-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:50:03] Production.INFO: ==16816== Releasing lock...
[2025-02-09 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:50:03] Production.INFO: ==16818== Lock acquired, processing the job...
[2025-02-09 21:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:50:03] Production.INFO: ==16818== Releasing lock...
[2025-02-09 21:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:50:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:50:03] Production.INFO: ==16820== Lock acquired, processing the job...
[2025-02-09 16:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 16:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 16:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 16:50:04] Production.INFO: ==16820== Releasing lock...
[2025-02-09 16:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 16:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 16:50:04] Production.INFO: ==16824== Lock acquired, processing the job...
[2025-02-09 16:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:50:04] Production.INFO: ==16828== Lock acquired, processing the job...
[2025-02-09 16:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:50:04] Production.INFO: ==16830== Lock acquired, processing the job...
[2025-02-09 16:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:50:04] Production.INFO: Account Balance Start.
[2025-02-09 16:50:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:50:04] Production.INFO: 117
[2025-02-09 16:50:04] Production.INFO: ==16822== Lock acquired, processing the job...
[2025-02-09 16:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:50:04] Production.INFO: ==16826== Lock acquired, processing the job...
[2025-02-09 16:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:50:04] Production.INFO: ==16835== Lock acquired, processing the job...
[2025-02-09 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:50:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:50:04] Production.INFO: ==16832== Lock acquired, processing the job...
[2025-02-09 16:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 16:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:50:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:50:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:50:04] Production.INFO: Total Charge 0
[2025-02-09 16:50:04] Production.INFO: CreateAllLog End
[2025-02-09 16:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:50:04] Production.ERROR: done
[2025-02-09 16:50:04] Production.INFO: count ==21
[2025-02-09 16:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:50:04] Production.INFO: count ==21
[2025-02-09 16:50:04] Production.INFO: ==16824== Releasing lock...
[2025-02-09 16:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438392') start
[2025-02-09 16:50:05] Production.ERROR: done
[2025-02-09 16:50:05] Production.INFO: Account Balance End.
[2025-02-09 16:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14438392') end
[2025-02-09 16:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:50:05] Production.INFO: 1
[2025-02-09 16:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:50:05] Production.ERROR: CronJobId end 12
[2025-02-09 16:50:05] Production.INFO: ==16828== Releasing lock...
[2025-02-09 16:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:50:05] Production.INFO: ==16835== Releasing lock...
[2025-02-09 16:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:50:05] Production.ERROR: done
[2025-02-09 16:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 16:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438394', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 16:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:50:06
[end_date_ymd] => 2025-02-09 16:50:06
[RateCDR] => 1
)
[2025-02-09 16:50: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-02-09 13:50:06' and `end` < '2025-02-09 16:50: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-02-09 16:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438394', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 16:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 16:50:09] Production.INFO: ProcessCDR(1,14438394,1,1,2)
[2025-02-09 16:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14438394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:50:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14438394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:50:10] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:50:10] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:50:10] Production.INFO: ==16832== Releasing lock...
[2025-02-09 16:50:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 16:50:10] Production.INFO: 26 MB #Memory Used#
[2025-02-09 16:50:14] Production.ERROR: CronJobId end10
[2025-02-09 16:50:14] Production.INFO: ==16826== Releasing lock...
[2025-02-09 16:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:50:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:50:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:50:16] Production.INFO: call_cost start
[2025-02-09 16:50:16] Production.INFO: call_cost end
[2025-02-09 16:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:50:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:50:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:50:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:50:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:50:17] Production.INFO: ==16822== Releasing lock...
[2025-02-09 16:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:50:20] Production.INFO: count ==1289
[2025-02-09 16:50:21] Production.ERROR: pbx CDR StartTime 2025-02-09 13:50:06 - End Time 2025-02-09 16:50:06
[2025-02-09 16:50:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438393', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438393', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438393', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438393', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:50:21] Production.INFO: ProcessCDR(1,14438393,1,1,2)
[2025-02-09 16:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438393', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438393', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:50:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:50:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:50:25] Production.INFO: ==16830== Releasing lock...
[2025-02-09 16:50:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:50:25] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 21:51:01] Production.INFO: ==16892== Lock acquired, processing the job...
[2025-02-09 21:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:51:01] Production.INFO: neon service started
[2025-02-09 21:51:01] Production.INFO: neon service started
[2025-02-09 21:51:01] Production.INFO: ==16892== Releasing lock...
[2025-02-09 21:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:51:02] Production.INFO: ==16894== Lock acquired, processing the job...
[2025-02-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:51:02] Production.INFO: ==16894== Releasing lock...
[2025-02-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:51:02] Production.INFO: ==16896== Lock acquired, processing the job...
[2025-02-09 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:51:02] Production.INFO: ==16896== Releasing lock...
[2025-02-09 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:51:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:51:03] Production.INFO: ==16907== Lock acquired, processing the job...
[2025-02-09 16:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:51:03] Production.INFO: ==16909== Lock acquired, processing the job...
[2025-02-09 16:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:51:03] Production.INFO: ==16901== Lock acquired, processing the job...
[2025-02-09 16:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:51:03] Production.INFO: ==16899== Lock acquired, processing the job...
[2025-02-09 16:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:51:03] Production.INFO: ==16903== Lock acquired, processing the job...
[2025-02-09 16:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:51:03] Production.INFO: count ==21
[2025-02-09 16:51:03] Production.ERROR: done
[2025-02-09 16:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:51:03] Production.INFO: count ==21
[2025-02-09 16:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438395') start
[2025-02-09 16:51:03] Production.INFO: ==16905== Lock acquired, processing the job...
[2025-02-09 16:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:51:03] Production.INFO: Account Balance Start.
[2025-02-09 16:51:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438395') end
[2025-02-09 16:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:51:03] Production.INFO: 1
[2025-02-09 16:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:51:03] Production.INFO: 117
[2025-02-09 16:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:51:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:51:03] Production.INFO: ==16909== Releasing lock...
[2025-02-09 16:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:51:03] Production.ERROR: done
[2025-02-09 16:51:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:51:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:51:03] Production.INFO: Total Charge 0
[2025-02-09 16:51:03] Production.INFO: CreateAllLog End
[2025-02-09 16:51:04] Production.INFO: ==16901== Releasing lock...
[2025-02-09 16:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:51:04] Production.INFO: Account Balance End.
[2025-02-09 16:51:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:51:04] Production.INFO: ==16905== Releasing lock...
[2025-02-09 16:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:51:04
[end_date_ymd] => 2025-02-09 16:51:04
[RateCDR] => 1
)
[2025-02-09 16:51:04] 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-02-09 13:51:04' and `end` < '2025-02-09 16:51:04'
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-02-09 16:51:11] Production.ERROR: CronJobId end10
[2025-02-09 16:51:11] Production.INFO: ==16903== Releasing lock...
[2025-02-09 16:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:51:13] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:51:13] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:51:13] Production.INFO: call_cost start
[2025-02-09 16:51:13] Production.INFO: call_cost end
[2025-02-09 16:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:51:14] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:51:14] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:51:14] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:51:14] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:51:14] Production.INFO: ==16899== Releasing lock...
[2025-02-09 16:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:51:18] Production.INFO: count ==1335
[2025-02-09 16:51:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:51:04 - End Time 2025-02-09 16:51:04
[2025-02-09 16:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438399', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438399', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438399', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438399', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:51:19] Production.INFO: ProcessCDR(1,14438399,1,1,2)
[2025-02-09 16:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438399', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438399', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:51:23] Production.INFO: ==16907== Releasing lock...
[2025-02-09 16:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:51:23] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 21:52:02] Production.INFO: ==16967== Lock acquired, processing the job...
[2025-02-09 21:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:52:02] Production.INFO: neon service started
[2025-02-09 21:52:02] Production.INFO: neon service started
[2025-02-09 21:52:02] Production.INFO: ==16967== Releasing lock...
[2025-02-09 21:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:52:02] Production.INFO: ==16969== Lock acquired, processing the job...
[2025-02-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:52:02] Production.INFO: ==16971== Lock acquired, processing the job...
[2025-02-09 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:52:03] Production.INFO: ==16971== Releasing lock...
[2025-02-09 21:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:52:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:52:03] Production.INFO: ==16969== Releasing lock...
[2025-02-09 16:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:52:04] Production.INFO: ==16980== Lock acquired, processing the job...
[2025-02-09 16:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:52:04] Production.INFO: ==16984== Lock acquired, processing the job...
[2025-02-09 16:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:52:04] Production.INFO: Account Balance Start.
[2025-02-09 16:52:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:52:04] Production.INFO: 117
[2025-02-09 16:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:52:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:52:04] Production.INFO: ==16974== Lock acquired, processing the job...
[2025-02-09 16:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:52:04] Production.INFO: count ==21
[2025-02-09 16:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:52:04] Production.INFO: count ==21
[2025-02-09 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438401') start
[2025-02-09 16:52:04] Production.INFO: ==16976== Lock acquired, processing the job...
[2025-02-09 16:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:52:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:52:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:52:04] Production.INFO: Total Charge 0
[2025-02-09 16:52:04] Production.INFO: ==16978== Lock acquired, processing the job...
[2025-02-09 16:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:52:04] Production.INFO: CreateAllLog End
[2025-02-09 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438401') end
[2025-02-09 16:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:52:04] Production.INFO: 1
[2025-02-09 16:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:52:04] Production.INFO: ==16982== Lock acquired, processing the job...
[2025-02-09 16:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:52:04] Production.INFO: ==16984== Releasing lock...
[2025-02-09 16:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:52:04] Production.INFO: Account Balance End.
[2025-02-09 16:52:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:52:04] Production.INFO: ==16980== Releasing lock...
[2025-02-09 16:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:52:04] Production.INFO: ==16976== Releasing lock...
[2025-02-09 16:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:52:05] Production.ERROR: done
[2025-02-09 16:52:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:52:05] Production.ERROR: done
[2025-02-09 16:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:52:05
[end_date_ymd] => 2025-02-09 16:52:05
[RateCDR] => 1
)
[2025-02-09 16:52: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` >= '2025-02-09 13:52:05' and `end` < '2025-02-09 16:52: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 ,'')
[2025-02-09 16:52:12] Production.ERROR: CronJobId end10
[2025-02-09 16:52:12] Production.INFO: ==16978== Releasing lock...
[2025-02-09 16:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:52:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:52:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:52:14] Production.INFO: call_cost start
[2025-02-09 16:52:14] Production.INFO: call_cost end
[2025-02-09 16:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:52:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:52:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:52:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:52:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:52:15] Production.INFO: ==16974== Releasing lock...
[2025-02-09 16:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:52:19] Production.INFO: count ==1339
[2025-02-09 16:52:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:52:05 - End Time 2025-02-09 16:52:05
[2025-02-09 16:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438404', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438404', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438404', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438404', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:52:19] Production.INFO: ProcessCDR(1,14438404,1,1,2)
[2025-02-09 16:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438404', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438404', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:52:24] Production.INFO: ==16982== Releasing lock...
[2025-02-09 16:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:52:24] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 21:53:01] Production.INFO: ==17045== Lock acquired, processing the job...
[2025-02-09 21:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:53:01] Production.INFO: neon service started
[2025-02-09 21:53:01] Production.INFO: neon service started
[2025-02-09 21:53:01] Production.INFO: ==17045== Releasing lock...
[2025-02-09 21:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:53:01] Production.INFO: ==17047== Lock acquired, processing the job...
[2025-02-09 16:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:53:02] Production.INFO: ==17049== Lock acquired, processing the job...
[2025-02-09 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:53:02] Production.INFO: ==17049== Releasing lock...
[2025-02-09 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:53:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:53:02] Production.INFO: ==17047== Releasing lock...
[2025-02-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:53:03] Production.INFO: ==17053== Lock acquired, processing the job...
[2025-02-09 16:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:53:03] Production.INFO: ==17058== Lock acquired, processing the job...
[2025-02-09 16:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:53:03] Production.INFO: ==17062== Lock acquired, processing the job...
[2025-02-09 16:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:53:03] Production.INFO: ==17051== Lock acquired, processing the job...
[2025-02-09 16:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:53:03] Production.INFO: Account Balance Start.
[2025-02-09 16:53:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:53:03] Production.INFO: 117
[2025-02-09 16:53:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:53:03] Production.INFO: ==17055== Lock acquired, processing the job...
[2025-02-09 16:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:53:03] Production.INFO: count ==21
[2025-02-09 16:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:53:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:53:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:53:03] Production.INFO: count ==21
[2025-02-09 16:53:03] Production.INFO: ==17053== Releasing lock...
[2025-02-09 16:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438407') start
[2025-02-09 16:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:53:03] Production.INFO: Total Charge 0
[2025-02-09 16:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:53:03] Production.INFO: CreateAllLog End
[2025-02-09 16:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:53:03] Production.INFO: ==17060== Lock acquired, processing the job...
[2025-02-09 16:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438407') end
[2025-02-09 16:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:53:03] Production.INFO: 1
[2025-02-09 16:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:53:03] Production.INFO: ==17062== Releasing lock...
[2025-02-09 16:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:53:03] Production.INFO: Account Balance End.
[2025-02-09 16:53:03] Production.ERROR: CronJobId end 12
[2025-02-09 16:53:03] Production.INFO: ==17058== Releasing lock...
[2025-02-09 16:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:53:04] Production.ERROR: done
[2025-02-09 16:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:53:04] Production.ERROR: done
[2025-02-09 16:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:53:05
[end_date_ymd] => 2025-02-09 16:53:05
[RateCDR] => 1
)
[2025-02-09 16:53: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` >= '2025-02-09 13:53:05' and `end` < '2025-02-09 16:53: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 ,'')
[2025-02-09 16:53:12] Production.ERROR: CronJobId end10
[2025-02-09 16:53:12] Production.INFO: ==17055== Releasing lock...
[2025-02-09 16:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:53:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:53:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:53:14] Production.INFO: call_cost start
[2025-02-09 16:53:14] Production.INFO: call_cost end
[2025-02-09 16:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:53:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:53:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:53:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:53:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:53:15] Production.INFO: ==17051== Releasing lock...
[2025-02-09 16:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:53:19] Production.INFO: count ==1333
[2025-02-09 16:53:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:53:05 - End Time 2025-02-09 16:53:05
[2025-02-09 16:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438409', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438409', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438409', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438409', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:53:19] Production.INFO: ProcessCDR(1,14438409,1,1,2)
[2025-02-09 16:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438409', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438409', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:53:24] Production.INFO: ==17060== Releasing lock...
[2025-02-09 16:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:53:24] Production.INFO: 38 MB #Memory Used#
[2025-02-09 21:54:02] Production.INFO: ==17116== Lock acquired, processing the job...
[2025-02-09 21:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:54:02] Production.INFO: neon service started
[2025-02-09 21:54:02] Production.INFO: neon service started
[2025-02-09 21:54:02] Production.INFO: ==17116== Releasing lock...
[2025-02-09 21:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:54:02] Production.INFO: ==17118== Lock acquired, processing the job...
[2025-02-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:54:02] Production.INFO: ==17118== Releasing lock...
[2025-02-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:54:02] Production.INFO: ==17120== Lock acquired, processing the job...
[2025-02-09 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:54:03] Production.INFO: ==17120== Releasing lock...
[2025-02-09 21:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:54:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:54:03] Production.INFO: ==17127== Lock acquired, processing the job...
[2025-02-09 16:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:54:03] Production.INFO: ==17123== Lock acquired, processing the job...
[2025-02-09 16:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:54:03] Production.INFO: ==17133== Lock acquired, processing the job...
[2025-02-09 16:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:54:03] Production.INFO: ==17125== Lock acquired, processing the job...
[2025-02-09 16:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:54:03] Production.INFO: ==17129== Lock acquired, processing the job...
[2025-02-09 16:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:54:04] Production.INFO: ==17131== Lock acquired, processing the job...
[2025-02-09 16:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:54:04] Production.INFO: count ==21
[2025-02-09 16:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:54:04] Production.INFO: count ==21
[2025-02-09 16:54:04] Production.INFO: Account Balance Start.
[2025-02-09 16:54:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:54:04] Production.INFO: 117
[2025-02-09 16:54:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438411') start
[2025-02-09 16:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:54:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:54:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:54:04] Production.INFO: Total Charge 0
[2025-02-09 16:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438411') end
[2025-02-09 16:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:54:04] Production.INFO: 1
[2025-02-09 16:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:54:04] Production.INFO: CreateAllLog End
[2025-02-09 16:54:04] Production.INFO: ==17133== Releasing lock...
[2025-02-09 16:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:54:04] Production.ERROR: done
[2025-02-09 16:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:54:04] Production.INFO: ==17125== Releasing lock...
[2025-02-09 16:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:54:04] Production.INFO: Account Balance End.
[2025-02-09 16:54:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:54:04] Production.INFO: ==17129== Releasing lock...
[2025-02-09 16:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:54:04] Production.ERROR: done
[2025-02-09 16:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:54:05
[end_date_ymd] => 2025-02-09 16:54:05
[RateCDR] => 1
)
[2025-02-09 16:54: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` >= '2025-02-09 13:54:05' and `end` < '2025-02-09 16:54: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 ,'')
[2025-02-09 16:54:11] Production.ERROR: CronJobId end10
[2025-02-09 16:54:11] Production.INFO: ==17127== Releasing lock...
[2025-02-09 16:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:54:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:54:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:54:14] Production.INFO: call_cost start
[2025-02-09 16:54:14] Production.INFO: call_cost end
[2025-02-09 16:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:54:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:54:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:54:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:54:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:54:15] Production.INFO: ==17123== Releasing lock...
[2025-02-09 16:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:54:20] Production.INFO: count ==1337
[2025-02-09 16:54:20] Production.ERROR: pbx CDR StartTime 2025-02-09 13:54:05 - End Time 2025-02-09 16:54:05
[2025-02-09 16:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438414', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438414', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438414', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438414', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:54:20] Production.INFO: ProcessCDR(1,14438414,1,1,2)
[2025-02-09 16:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438414', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438414', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:54:25] Production.INFO: ==17131== Releasing lock...
[2025-02-09 16:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:54:25] Production.INFO: 38 MB #Memory Used#
[2025-02-09 21:55:01] Production.INFO: ==17193== Lock acquired, processing the job...
[2025-02-09 21:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:55:01] Production.INFO: neon service started
[2025-02-09 21:55:01] Production.INFO: neon service started
[2025-02-09 21:55:01] Production.INFO: ==17193== Releasing lock...
[2025-02-09 21:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:55:02] Production.INFO: ==17195== Lock acquired, processing the job...
[2025-02-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:55:02] Production.INFO: ==17197== Lock acquired, processing the job...
[2025-02-09 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:55:02] Production.INFO: ==17197== Releasing lock...
[2025-02-09 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:55:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:55:02] Production.INFO: ==17195== Releasing lock...
[2025-02-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:55:03] Production.INFO: ==17204== Lock acquired, processing the job...
[2025-02-09 16:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:55:03] Production.INFO: ==17208== Lock acquired, processing the job...
[2025-02-09 16:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:55:03] Production.INFO: ==17200== Lock acquired, processing the job...
[2025-02-09 16:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:55:03] Production.INFO: ==17202== Lock acquired, processing the job...
[2025-02-09 16:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:55:03] Production.INFO: ==17206== Lock acquired, processing the job...
[2025-02-09 16:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:55:04] Production.INFO: ==17210== Lock acquired, processing the job...
[2025-02-09 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:55:04] Production.INFO: Account Balance Start.
[2025-02-09 16:55:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:55:04] Production.INFO: 117
[2025-02-09 16:55:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:55:04] Production.ERROR: done
[2025-02-09 16:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:55:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:55:04] Production.INFO: count ==21
[2025-02-09 16:55:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:55:04] Production.ERROR: done
[2025-02-09 16:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:55:04] Production.INFO: count ==21
[2025-02-09 16:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438416') start
[2025-02-09 16:55:04] Production.INFO: Total Charge 0
[2025-02-09 16:55:04] Production.INFO: CreateAllLog End
[2025-02-09 16:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438416') end
[2025-02-09 16:55:04] Production.INFO: ==17202== Releasing lock...
[2025-02-09 16:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:55:04] Production.INFO: 1
[2025-02-09 16:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:55:04] Production.INFO: Account Balance End.
[2025-02-09 16:55:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:55:04] Production.INFO: ==17206== Releasing lock...
[2025-02-09 16:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:55:04] Production.INFO: ==17210== Releasing lock...
[2025-02-09 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:55:05
[end_date_ymd] => 2025-02-09 16:55:05
[RateCDR] => 1
)
[2025-02-09 16:55: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` >= '2025-02-09 13:55:05' and `end` < '2025-02-09 16:55: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 ,'')
[2025-02-09 16:55:12] Production.ERROR: CronJobId end10
[2025-02-09 16:55:12] Production.INFO: ==17204== Releasing lock...
[2025-02-09 16:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:55:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:55:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:55:14] Production.INFO: call_cost start
[2025-02-09 16:55:14] Production.INFO: call_cost end
[2025-02-09 16:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:55:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:55:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:55:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:55:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:55:15] Production.INFO: ==17200== Releasing lock...
[2025-02-09 16:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:55:19] Production.INFO: count ==1338
[2025-02-09 16:55:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:55:05 - End Time 2025-02-09 16:55:05
[2025-02-09 16:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438419', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438419', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438419', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438419', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:55:19] Production.INFO: ProcessCDR(1,14438419,1,1,2)
[2025-02-09 16:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438419', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438419', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:55:24] Production.INFO: ==17208== Releasing lock...
[2025-02-09 16:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:55:24] Production.INFO: 38 MB #Memory Used#
[2025-02-09 21:56:02] Production.INFO: ==17266== Lock acquired, processing the job...
[2025-02-09 21:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:56:02] Production.INFO: neon service started
[2025-02-09 21:56:02] Production.INFO: neon service started
[2025-02-09 21:56:02] Production.INFO: ==17266== Releasing lock...
[2025-02-09 21:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:56:02] Production.INFO: ==17269== Lock acquired, processing the job...
[2025-02-09 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 21:56:02] Production.INFO: ==17271== Lock acquired, processing the job...
[2025-02-09 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:56:02] Production.INFO: ==17271== Releasing lock...
[2025-02-09 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:56:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:56:03] Production.INFO: ==17269== Releasing lock...
[2025-02-09 16:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:56:04] Production.INFO: ==17281== Lock acquired, processing the job...
[2025-02-09 16:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:56:04] Production.INFO: ==17283== Lock acquired, processing the job...
[2025-02-09 16:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:56:04] Production.INFO: ==17273== Lock acquired, processing the job...
[2025-02-09 16:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:56:04] Production.INFO: ==17275== Lock acquired, processing the job...
[2025-02-09 16:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:56:04] Production.INFO: count ==21
[2025-02-09 16:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:56:04] Production.INFO: count ==21
[2025-02-09 16:56:04] Production.INFO: ==17277== Lock acquired, processing the job...
[2025-02-09 16:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438420') start
[2025-02-09 16:56:04] Production.INFO: ==17279== Lock acquired, processing the job...
[2025-02-09 16:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438420') end
[2025-02-09 16:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:56:04] Production.INFO: 1
[2025-02-09 16:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:56:04] Production.INFO: Account Balance Start.
[2025-02-09 16:56:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:56:04] Production.INFO: 117
[2025-02-09 16:56:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:56:04] Production.ERROR: done
[2025-02-09 16:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:56:04] Production.INFO: ==17283== Releasing lock...
[2025-02-09 16:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:56:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:56:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:56:04] Production.ERROR: done
[2025-02-09 16:56:04] Production.INFO: Total Charge 0
[2025-02-09 16:56:04] Production.INFO: ==17275== Releasing lock...
[2025-02-09 16:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:56:04] Production.INFO: CreateAllLog End
[2025-02-09 16:56:05] Production.INFO: Account Balance End.
[2025-02-09 16:56:05] Production.ERROR: CronJobId end 12
[2025-02-09 16:56:05] Production.INFO: ==17279== Releasing lock...
[2025-02-09 16:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:56:05
[end_date_ymd] => 2025-02-09 16:56:05
[RateCDR] => 1
)
[2025-02-09 16:56: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` >= '2025-02-09 13:56:05' and `end` < '2025-02-09 16:56: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 ,'')
[2025-02-09 16:56:12] Production.ERROR: CronJobId end10
[2025-02-09 16:56:12] Production.INFO: ==17277== Releasing lock...
[2025-02-09 16:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:56:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:56:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:56:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:56:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:56:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:56:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:56:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:56:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:56:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:56:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:56:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:56:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:56:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:56:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:56:16] Production.INFO: call_cost start
[2025-02-09 16:56:16] Production.INFO: call_cost end
[2025-02-09 16:56:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:56:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:56:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:56:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:56:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:56:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:56:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:56:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:56:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:56:16] Production.INFO: ==17273== Releasing lock...
[2025-02-09 16:56:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:56:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:56:19] Production.INFO: count ==1339
[2025-02-09 16:56:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:56:05 - End Time 2025-02-09 16:56:05
[2025-02-09 16:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438424', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438424', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438424', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438424', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:56:19] Production.INFO: ProcessCDR(1,14438424,1,1,2)
[2025-02-09 16:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438424', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438424', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:56:24] Production.INFO: ==17281== Releasing lock...
[2025-02-09 16:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:56:24] Production.INFO: 37.75 MB #Memory Used#
[2025-02-09 21:57:01] Production.INFO: ==17339== Lock acquired, processing the job...
[2025-02-09 21:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:57:01] Production.INFO: neon service started
[2025-02-09 21:57:01] Production.INFO: neon service started
[2025-02-09 21:57:01] Production.INFO: ==17339== Releasing lock...
[2025-02-09 21:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:57:01] Production.INFO: ==17341== Lock acquired, processing the job...
[2025-02-09 16:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:57:02] Production.INFO: ==17341== Releasing lock...
[2025-02-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:57:02] Production.INFO: ==17344== Lock acquired, processing the job...
[2025-02-09 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:57:02] Production.INFO: ==17344== Releasing lock...
[2025-02-09 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:57:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:57:03] Production.INFO: ==17350== Lock acquired, processing the job...
[2025-02-09 16:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:57:03] Production.INFO: ==17354== Lock acquired, processing the job...
[2025-02-09 16:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:57:03] Production.INFO: ==17346== Lock acquired, processing the job...
[2025-02-09 16:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:57:03] Production.INFO: ==17348== Lock acquired, processing the job...
[2025-02-09 16:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:57:03] Production.INFO: ==17352== Lock acquired, processing the job...
[2025-02-09 16:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:57:03] Production.INFO: ==17356== Lock acquired, processing the job...
[2025-02-09 16:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:57:03] Production.ERROR: done
[2025-02-09 16:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:57:03] Production.INFO: Account Balance Start.
[2025-02-09 16:57:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:57:03] Production.INFO: 117
[2025-02-09 16:57:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:57:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:57:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:57:03] Production.INFO: count ==21
[2025-02-09 16:57:03] Production.INFO: Total Charge 0
[2025-02-09 16:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:57:03] Production.INFO: count ==21
[2025-02-09 16:57:03] Production.INFO: CreateAllLog End
[2025-02-09 16:57:03] Production.ERROR: done
[2025-02-09 16:57:03] Production.INFO: ==17348== Releasing lock...
[2025-02-09 16:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438428') start
[2025-02-09 16:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438428') end
[2025-02-09 16:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:57:04] Production.INFO: 1
[2025-02-09 16:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:57:04] Production.INFO: Account Balance End.
[2025-02-09 16:57:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:57:04] Production.INFO: ==17352== Releasing lock...
[2025-02-09 16:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:57:04] Production.INFO: ==17356== Releasing lock...
[2025-02-09 16:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:57:04
[end_date_ymd] => 2025-02-09 16:57:04
[RateCDR] => 1
)
[2025-02-09 16:57:04] 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-02-09 13:57:04' and `end` < '2025-02-09 16:57:04'
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-02-09 16:57:11] Production.ERROR: CronJobId end10
[2025-02-09 16:57:11] Production.INFO: ==17350== Releasing lock...
[2025-02-09 16:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:57:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:57:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:57:14] Production.INFO: call_cost start
[2025-02-09 16:57:14] Production.INFO: call_cost end
[2025-02-09 16:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:57:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:57:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:57:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:57:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:57:15] Production.INFO: ==17346== Releasing lock...
[2025-02-09 16:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:57:18] Production.INFO: count ==1342
[2025-02-09 16:57:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:57:04 - End Time 2025-02-09 16:57:04
[2025-02-09 16:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438429', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438429', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438429', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438429', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:57:19] Production.INFO: ProcessCDR(1,14438429,1,1,2)
[2025-02-09 16:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438429', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438429', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:57:24] Production.INFO: ==17354== Releasing lock...
[2025-02-09 16:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:57:24] Production.INFO: 38 MB #Memory Used#
[2025-02-09 21:58:01] Production.INFO: ==17413== Lock acquired, processing the job...
[2025-02-09 21:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:58:01] Production.INFO: neon service started
[2025-02-09 21:58:02] Production.INFO: neon service started
[2025-02-09 21:58:02] Production.INFO: ==17413== Releasing lock...
[2025-02-09 21:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 16:58:02] Production.INFO: ==17415== Lock acquired, processing the job...
[2025-02-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:58:02] Production.INFO: ==17415== Releasing lock...
[2025-02-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 21:58:02] Production.INFO: ==17417== Lock acquired, processing the job...
[2025-02-09 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:58:02] Production.INFO: ==17417== Releasing lock...
[2025-02-09 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:58:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:58:03] Production.INFO: ==17430== Lock acquired, processing the job...
[2025-02-09 16:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:58:03] Production.INFO: count ==21
[2025-02-09 16:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:58:03] Production.INFO: count ==21
[2025-02-09 16:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438430') start
[2025-02-09 16:58:03] Production.INFO: ==17419== Lock acquired, processing the job...
[2025-02-09 16:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:58:03] Production.INFO: ==17424== Lock acquired, processing the job...
[2025-02-09 16:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438430') end
[2025-02-09 16:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:58:03] Production.INFO: 1
[2025-02-09 16:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:58:03] Production.INFO: ==17421== Lock acquired, processing the job...
[2025-02-09 16:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:58:04] Production.INFO: ==17430== Releasing lock...
[2025-02-09 16:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:58:04] Production.INFO: ==17426== Lock acquired, processing the job...
[2025-02-09 16:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:58:04] Production.INFO: ==17428== Lock acquired, processing the job...
[2025-02-09 16:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:58:04] Production.INFO: Account Balance Start.
[2025-02-09 16:58:04] Production.INFO: CreateAllLog Start
[2025-02-09 16:58:04] Production.INFO: 117
[2025-02-09 16:58:04] Production.INFO: Date 2025-02-08
[2025-02-09 16:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:58:04] Production.INFO: Date 2025-02-09
[2025-02-09 16:58:04] Production.INFO: Reseller ==> 0
[2025-02-09 16:58:04] Production.INFO: Total Charge 0
[2025-02-09 16:58:04] Production.INFO: CreateAllLog End
[2025-02-09 16:58:04] Production.INFO: ==17421== Releasing lock...
[2025-02-09 16:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:58:04] Production.ERROR: done
[2025-02-09 16:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:58:04] Production.INFO: Account Balance End.
[2025-02-09 16:58:04] Production.ERROR: done
[2025-02-09 16:58:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:58:04] Production.INFO: ==17426== Releasing lock...
[2025-02-09 16:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:58:05
[end_date_ymd] => 2025-02-09 16:58:05
[RateCDR] => 1
)
[2025-02-09 16:58: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` >= '2025-02-09 13:58:05' and `end` < '2025-02-09 16:58: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 ,'')
[2025-02-09 16:58:12] Production.ERROR: CronJobId end10
[2025-02-09 16:58:12] Production.INFO: ==17424== Releasing lock...
[2025-02-09 16:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:58:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:58:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:58:14] Production.INFO: call_cost start
[2025-02-09 16:58:14] Production.INFO: call_cost end
[2025-02-09 16:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:58:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:58:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:58:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:58:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:58:15] Production.INFO: ==17419== Releasing lock...
[2025-02-09 16:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:58:18] Production.INFO: count ==1341
[2025-02-09 16:58:19] Production.ERROR: pbx CDR StartTime 2025-02-09 13:58:05 - End Time 2025-02-09 16:58:05
[2025-02-09 16:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438434', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438434', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438434', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438434', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:58:19] Production.INFO: ProcessCDR(1,14438434,1,1,2)
[2025-02-09 16:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438434', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438434', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:58:22] Production.INFO: ==17428== Releasing lock...
[2025-02-09 16:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:58:22] Production.INFO: 38 MB #Memory Used#
[2025-02-09 21:59:01] Production.INFO: ==17487== Lock acquired, processing the job...
[2025-02-09 21:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 21:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 21:59:01] Production.INFO: neon service started
[2025-02-09 21:59:01] Production.INFO: neon service started
[2025-02-09 21:59:01] Production.INFO: ==17487== Releasing lock...
[2025-02-09 21:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 21:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 21:59:01] Production.INFO: ==17491== Lock acquired, processing the job...
[2025-02-09 21:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 21:59:01] Production.INFO: ==17491== Releasing lock...
[2025-02-09 21:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 21:59:01] Production.INFO: 25 MB #Memory Used#
[2025-02-09 16:59:01] Production.INFO: ==17489== Lock acquired, processing the job...
[2025-02-09 16:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 16:59:02] Production.INFO: ==17489== Releasing lock...
[2025-02-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 16:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 16:59:03] Production.INFO: ==17497== Lock acquired, processing the job...
[2025-02-09 16:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 16:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 16:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 16:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 16:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 16:59:03] Production.INFO: ==17503== Lock acquired, processing the job...
[2025-02-09 16:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 16:59:03] Production.INFO: ==17493== Lock acquired, processing the job...
[2025-02-09 16:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 16:59:03] Production.INFO: ==17495== Lock acquired, processing the job...
[2025-02-09 16:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 16:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 16:59:03] Production.INFO: count ==21
[2025-02-09 16:59:03] Production.INFO: ==17499== Lock acquired, processing the job...
[2025-02-09 16:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 16:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 16:59:03] Production.INFO: count ==21
[2025-02-09 16:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438435') start
[2025-02-09 16:59:03] Production.INFO: ==17501== Lock acquired, processing the job...
[2025-02-09 16:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 16:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438435') end
[2025-02-09 16:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 16:59:03] Production.INFO: 1
[2025-02-09 16:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 16:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 16:59:03] Production.INFO: Account Balance Start.
[2025-02-09 16:59:03] Production.INFO: CreateAllLog Start
[2025-02-09 16:59:03] Production.INFO: 117
[2025-02-09 16:59:03] Production.INFO: Date 2025-02-08
[2025-02-09 16:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:59:03] Production.INFO: ==17503== Releasing lock...
[2025-02-09 16:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 16:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 16:59:03] Production.INFO: Date 2025-02-09
[2025-02-09 16:59:03] Production.INFO: Reseller ==> 0
[2025-02-09 16:59:03] Production.INFO: Total Charge 0
[2025-02-09 16:59:03] Production.ERROR: done
[2025-02-09 16:59:03] Production.INFO: CreateAllLog End
[2025-02-09 16:59:03] Production.INFO: ==17495== Releasing lock...
[2025-02-09 16:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 16:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 16:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 16:59:04] Production.ERROR: done
[2025-02-09 16:59:04] Production.INFO: Account Balance End.
[2025-02-09 16:59:04] Production.ERROR: CronJobId end 12
[2025-02-09 16:59:04] Production.INFO: ==17499== Releasing lock...
[2025-02-09 16:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 16:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 16:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 13:59:05
[end_date_ymd] => 2025-02-09 16:59:05
[RateCDR] => 1
)
[2025-02-09 16:59: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` >= '2025-02-09 13:59:05' and `end` < '2025-02-09 16:59: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 ,'')
[2025-02-09 16:59:11] Production.ERROR: CronJobId end10
[2025-02-09 16:59:11] Production.INFO: ==17497== Releasing lock...
[2025-02-09 16:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 16:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 16:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 16:59:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 16:59:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 16:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 16:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 16:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 16:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 16:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 16:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 16:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 16:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 16:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 16:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 16:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 16:59:15] Production.INFO: call_cost start
[2025-02-09 16:59:15] Production.INFO: call_cost end
[2025-02-09 16:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 16:59:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 16:59:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 16:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 16:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 16:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 16:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 16:59:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 16:59:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 16:59:15] Production.INFO: ==17493== Releasing lock...
[2025-02-09 16:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 16:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 16:59:18] Production.INFO: count ==1341
[2025-02-09 16:59:18] Production.ERROR: pbx CDR StartTime 2025-02-09 13:59:05 - End Time 2025-02-09 16:59:05
[2025-02-09 16:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 16:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438439', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438439', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438439', 'tblTempVendorCDR_20' ) start
[2025-02-09 16:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438439', 'tblTempVendorCDR_20' ) end
[2025-02-09 16:59:18] Production.INFO: ProcessCDR(1,14438439,1,1,2)
[2025-02-09 16:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 16:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 16:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438439', 'tblTempUsageDetail_20' ) start
[2025-02-09 16:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438439', 'tblTempUsageDetail_20' ) end
[2025-02-09 16:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 16:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 16:59:23] Production.INFO: ==17501== Releasing lock...
[2025-02-09 16:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 16:59:23] Production.INFO: 38 MB #Memory Used#
[2025-02-09 22:00:01] Production.INFO: ==17562== Lock acquired, processing the job...
[2025-02-09 22:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 22:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 22:00:01] Production.INFO: neon service started
[2025-02-09 22:00:01] Production.INFO: neon service started
[2025-02-09 22:00:01] Production.INFO: ==17562== Releasing lock...
[2025-02-09 22:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 22:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 22:00:02] Production.INFO: ==17566== Lock acquired, processing the job...
[2025-02-09 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 22:00:02] Production.INFO: ==17566== Releasing lock...
[2025-02-09 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 22:00:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 17:00:02] Production.INFO: ==17564== Lock acquired, processing the job...
[2025-02-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:00:02] Production.INFO: ==17564== Releasing lock...
[2025-02-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 17:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:00:04] Production.INFO: ==17571== Lock acquired, processing the job...
[2025-02-09 17:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 17:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 17:00:04] Production.INFO: ==17569== Lock acquired, processing the job...
[2025-02-09 17:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-02-09 17:00:04] Production.INFO: ==17577== Lock acquired, processing the job...
[2025-02-09 17:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 17:00:04] Production.INFO: ==17581== Lock acquired, processing the job...
[2025-02-09 17:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-02-09 17:00:04] Production.INFO: ==17575== Lock acquired, processing the job...
[2025-02-09 17:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 17:00:04] Production.INFO: ==17573== Lock acquired, processing the job...
[2025-02-09 17:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 17:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 17:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-02-09 17:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 17:00:04] Production.ERROR: CronJob PID - 17571
[2025-02-09 17:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-02-09 17:00:04] Production.ERROR: CronJob ID - 5
[2025-02-09 17:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 17:00:00
[2025-02-09 17:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 17:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 17:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 17:00:04] Production.ERROR: CronJob PID - 17577
[2025-02-09 17:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-02-09 17:00:04] Production.ERROR: CronJob ID - 12
[2025-02-09 17:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 17:00:00
[2025-02-09 17:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 17:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 17:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-02-09 17:00:04] Production.ERROR: CronJob PID - 17581
[2025-02-09 17:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-02-09 17:00:04] Production.ERROR: CronJob ID - 17
[2025-02-09 17:00:04] Production.ERROR: CronJob Last Run Time 2025-02-09 17:00:00
[2025-02-09 17:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-02-09 17:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-02-09 17:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-02-09 17:00:04] Production.INFO: ==17569== Releasing lock...
[2025-02-09 17:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-02-09 17:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-02-09 17:00:04] Production.INFO: Account Balance Start.
[2025-02-09 17:00:04] Production.INFO: CreateAllLog Start
[2025-02-09 17:00:04] Production.INFO: 117
[2025-02-09 17:00:04] Production.INFO: Date 2025-02-08
[2025-02-09 17:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 17:00:04] Production.INFO: ==17579== Lock acquired, processing the job...
[2025-02-09 17:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 17:00:04] Production.INFO: Date 2025-02-09
[2025-02-09 17:00:04] Production.INFO: Reseller ==> 0
[2025-02-09 17:00:04] Production.INFO: ==17583== Lock acquired, processing the job...
[2025-02-09 17:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 17:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 17:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 17:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 17:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 17:00:04] Production.INFO: Total Charge 0
[2025-02-09 17:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 17:00:04] Production.INFO: CreateAllLog End
[2025-02-09 17:00:04] Production.ERROR: done
[2025-02-09 17:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-02-09 17:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438444', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) start
[2025-02-09 17:00:04] Production.INFO: count ==21
[2025-02-09 17:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:00:05] Production.INFO: count ==21
[2025-02-09 17:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14438443') start
[2025-02-09 17:00:05] Production.INFO: ==17573== Releasing lock...
[2025-02-09 17:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 17:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 17:00:05] Production.ERROR: done
[2025-02-09 17:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 17:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14438443') end
[2025-02-09 17:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 17:00:05] Production.INFO: 1
[2025-02-09 17:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 17:00:05] Production.INFO: Account Balance End.
[2025-02-09 17:00:05] Production.ERROR: done
[2025-02-09 17:00:05] Production.INFO: ==17583== Releasing lock...
[2025-02-09 17:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 17:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 17:00:05] Production.ERROR: CronJobId end 12
[2025-02-09 17:00:05] Production.INFO: ==17577== Releasing lock...
[2025-02-09 17:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 17:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 17:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 14:00:06
[end_date_ymd] => 2025-02-09 17:00:06
[RateCDR] => 1
)
[2025-02-09 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-02-09 14:00:06' and `end` < '2025-02-09 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-02-09 17:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14438444', 'tblTempUsageDetail_20reseller','2025-02-09','2025-02-09','1' ) end
[2025-02-09 17:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-02-09 17:00:09] Production.INFO: ProcessCDR(1,14438444,1,1,2)
[2025-02-09 17:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14438444,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14438444,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 17:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 17:00:09] Production.INFO: ==17581== Releasing lock...
[2025-02-09 17:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-02-09 17:00:09] Production.INFO: 26 MB #Memory Used#
[2025-02-09 17:00:14] Production.ERROR: CronJobId end10
[2025-02-09 17:00:14] Production.INFO: ==17575== Releasing lock...
[2025-02-09 17:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 17:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 17:00:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 17:00:16] Production.INFO: ============== Balance Warning START===========
[2025-02-09 17:00:16] Production.INFO: ============== Balance Warning END===========
[2025-02-09 17:00:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 17:00:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 17:00:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 17:00:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 17:00:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 17:00:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 17:00:16] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 17:00:16] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 17:00:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 17:00:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 17:00:16] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 17:00:16] Production.INFO: call_cost start
[2025-02-09 17:00:16] Production.INFO: call_cost end
[2025-02-09 17:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 17:00:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 17:00:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 17:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 17:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 17:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 17:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 17:00:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 17:00:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 17:00:17] Production.INFO: ==17571== Releasing lock...
[2025-02-09 17:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 17:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 17:00:20] Production.INFO: count ==1339
[2025-02-09 17:00:20] Production.ERROR: pbx CDR StartTime 2025-02-09 14:00:06 - End Time 2025-02-09 17:00:06
[2025-02-09 17:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 17:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438445', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438445', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438445', 'tblTempVendorCDR_20' ) start
[2025-02-09 17:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438445', 'tblTempVendorCDR_20' ) end
[2025-02-09 17:00:20] Production.INFO: ProcessCDR(1,14438445,1,1,2)
[2025-02-09 17:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438445', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438445', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 17:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 17:00:25] Production.INFO: ==17579== Releasing lock...
[2025-02-09 17:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 17:00:25] Production.INFO: 38 MB #Memory Used#
[2025-02-09 22:01:01] Production.INFO: ==17639== Lock acquired, processing the job...
[2025-02-09 22:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 22:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 22:01:01] Production.INFO: neon service started
[2025-02-09 22:01:01] Production.INFO: neon service started
[2025-02-09 22:01:01] Production.INFO: ==17639== Releasing lock...
[2025-02-09 22:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 22:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:01:01] Production.INFO: ==17652== Lock acquired, processing the job...
[2025-02-09 17:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 22:01:02] Production.INFO: ==17654== Lock acquired, processing the job...
[2025-02-09 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 22:01:02] Production.INFO: ==17654== Releasing lock...
[2025-02-09 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 22:01:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 17:01:02] Production.INFO: ==17652== Releasing lock...
[2025-02-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 17:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:01:03] Production.INFO: ==17659== Lock acquired, processing the job...
[2025-02-09 17:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 17:01:03] Production.INFO: ==17657== Lock acquired, processing the job...
[2025-02-09 17:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 17:01:03] Production.INFO: ==17663== Lock acquired, processing the job...
[2025-02-09 17:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 17:01:03] Production.INFO: ==17661== Lock acquired, processing the job...
[2025-02-09 17:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 17:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 17:01:03] Production.INFO: ==17665== Lock acquired, processing the job...
[2025-02-09 17:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 17:01:03] Production.INFO: Account Balance Start.
[2025-02-09 17:01:03] Production.INFO: CreateAllLog Start
[2025-02-09 17:01:03] Production.INFO: 117
[2025-02-09 17:01:03] Production.INFO: Date 2025-02-08
[2025-02-09 17:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 17:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 17:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 17:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 17:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 17:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 17:01:03] Production.INFO: ==17659== Releasing lock...
[2025-02-09 17:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 17:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 17:01:03] Production.INFO: Date 2025-02-09
[2025-02-09 17:01:03] Production.INFO: Reseller ==> 0
[2025-02-09 17:01:03] Production.INFO: ==17667== Lock acquired, processing the job...
[2025-02-09 17:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 17:01:03] Production.INFO: Total Charge 0
[2025-02-09 17:01:03] Production.INFO: CreateAllLog End
[2025-02-09 17:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:01:03] Production.INFO: count ==21
[2025-02-09 17:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:01:04] Production.INFO: count ==21
[2025-02-09 17:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438449') start
[2025-02-09 17:01:04] Production.ERROR: done
[2025-02-09 17:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 17:01:04] Production.INFO: Account Balance End.
[2025-02-09 17:01:04] Production.ERROR: CronJobId end 12
[2025-02-09 17:01:04] Production.INFO: ==17663== Releasing lock...
[2025-02-09 17:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 17:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 17:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438449') end
[2025-02-09 17:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 17:01:04] Production.INFO: 1
[2025-02-09 17:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 17:01:04] Production.INFO: ==17667== Releasing lock...
[2025-02-09 17:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 17:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 17:01:04] Production.ERROR: done
[2025-02-09 17:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 14:01:05
[end_date_ymd] => 2025-02-09 17:01:05
[RateCDR] => 1
)
[2025-02-09 17:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-02-09 14:01:05' and `end` < '2025-02-09 17:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-02-09 17:01:13] Production.ERROR: CronJobId end10
[2025-02-09 17:01:13] Production.INFO: ==17661== Releasing lock...
[2025-02-09 17:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 17:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 17:01:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 17:01:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 17:01:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 17:01:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 17:01:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 17:01:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 17:01:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 17:01:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 17:01:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 17:01:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 17:01:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 17:01:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 17:01:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 17:01:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 17:01:16] Production.INFO: call_cost start
[2025-02-09 17:01:16] Production.INFO: call_cost end
[2025-02-09 17:01:17] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 17:01:17] Production.INFO: ============== Report Schedule START===========
[2025-02-09 17:01:17] Production.INFO: ============== Report Schedule END===========
[2025-02-09 17:01:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 17:01:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 17:01:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 17:01:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 17:01:17] Production.INFO: ============== Deal alert START===========
[2025-02-09 17:01:17] Production.INFO: ============== Deal alert END===========
[2025-02-09 17:01:17] Production.INFO: ==17657== Releasing lock...
[2025-02-09 17:01:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 17:01:17] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 17:01:20] Production.INFO: count ==1390
[2025-02-09 17:01:20] Production.ERROR: pbx CDR StartTime 2025-02-09 14:01:05 - End Time 2025-02-09 17:01:05
[2025-02-09 17:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 17:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438450', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438450', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438450', 'tblTempVendorCDR_20' ) start
[2025-02-09 17:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438450', 'tblTempVendorCDR_20' ) end
[2025-02-09 17:01:20] Production.INFO: ProcessCDR(1,14438450,1,1,2)
[2025-02-09 17:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438450', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438450', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 17:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 17:01:25] Production.INFO: ==17665== Releasing lock...
[2025-02-09 17:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 17:01:25] Production.INFO: 38.5 MB #Memory Used#
[2025-02-09 22:02:01] Production.INFO: ==17724== Lock acquired, processing the job...
[2025-02-09 22:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 22:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 22:02:01] Production.INFO: neon service started
[2025-02-09 22:02:01] Production.INFO: neon service started
[2025-02-09 22:02:01] Production.INFO: ==17724== Releasing lock...
[2025-02-09 22:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 22:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:02:02] Production.INFO: ==17726== Lock acquired, processing the job...
[2025-02-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 22:02:02] Production.INFO: ==17728== Lock acquired, processing the job...
[2025-02-09 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 22:02:02] Production.INFO: ==17728== Releasing lock...
[2025-02-09 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 22:02:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 17:02:03] Production.INFO: ==17726== Releasing lock...
[2025-02-09 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 17:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:02:03] Production.INFO: ==17731== Lock acquired, processing the job...
[2025-02-09 17:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 17:02:03] Production.INFO: ==17733== Lock acquired, processing the job...
[2025-02-09 17:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 17:02:03] Production.INFO: ==17735== Lock acquired, processing the job...
[2025-02-09 17:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 17:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 17:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 17:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 17:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 17:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 17:02:04] Production.INFO: ==17737== Lock acquired, processing the job...
[2025-02-09 17:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 17:02:04] Production.INFO: ==17741== Lock acquired, processing the job...
[2025-02-09 17:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 17:02:04] Production.INFO: ==17733== Releasing lock...
[2025-02-09 17:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 17:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 17:02:04] Production.INFO: Account Balance Start.
[2025-02-09 17:02:04] Production.INFO: CreateAllLog Start
[2025-02-09 17:02:04] Production.INFO: ==17739== Lock acquired, processing the job...
[2025-02-09 17:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 17:02:04] Production.INFO: 117
[2025-02-09 17:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:02:04] Production.INFO: count ==21
[2025-02-09 17:02:04] Production.INFO: Date 2025-02-08
[2025-02-09 17:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 17:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 17:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:02:04] Production.INFO: count ==21
[2025-02-09 17:02:04] Production.INFO: Date 2025-02-09
[2025-02-09 17:02:04] Production.INFO: Reseller ==> 0
[2025-02-09 17:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438454') start
[2025-02-09 17:02:04] Production.INFO: Total Charge 0
[2025-02-09 17:02:04] Production.ERROR: done
[2025-02-09 17:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 17:02:04] Production.INFO: CreateAllLog End
[2025-02-09 17:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438454') end
[2025-02-09 17:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 17:02:04] Production.INFO: 1
[2025-02-09 17:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 17:02:04] Production.INFO: ==17741== Releasing lock...
[2025-02-09 17:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 17:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 17:02:04] Production.ERROR: done
[2025-02-09 17:02:05] Production.INFO: Account Balance End.
[2025-02-09 17:02:05] Production.ERROR: CronJobId end 12
[2025-02-09 17:02:05] Production.INFO: ==17737== Releasing lock...
[2025-02-09 17:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 17:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 17:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 14:02:05
[end_date_ymd] => 2025-02-09 17:02:05
[RateCDR] => 1
)
[2025-02-09 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` >= '2025-02-09 14:02:05' and `end` < '2025-02-09 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 ,'')
[2025-02-09 17:02:12] Production.ERROR: CronJobId end10
[2025-02-09 17:02:12] Production.INFO: ==17735== Releasing lock...
[2025-02-09 17:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 17:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 17:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 17:02:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 17:02:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 17:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 17:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 17:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 17:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 17:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 17:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 17:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 17:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 17:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 17:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 17:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 17:02:14] Production.INFO: call_cost start
[2025-02-09 17:02:14] Production.INFO: call_cost end
[2025-02-09 17:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 17:02:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 17:02:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 17:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 17:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 17:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 17:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 17:02:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 17:02:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 17:02:15] Production.INFO: ==17731== Releasing lock...
[2025-02-09 17:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 17:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 17:02:21] Production.INFO: count ==1378
[2025-02-09 17:02:22] Production.ERROR: pbx CDR StartTime 2025-02-09 14:02:05 - End Time 2025-02-09 17:02:05
[2025-02-09 17:02:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438455', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438455', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438455', 'tblTempVendorCDR_20' ) start
[2025-02-09 17:02:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438455', 'tblTempVendorCDR_20' ) end
[2025-02-09 17:02:22] Production.INFO: ProcessCDR(1,14438455,1,1,2)
[2025-02-09 17:02:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:02:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:02:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:02:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438455', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:02:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438455', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:02:26] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 17:02:26] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 17:02:27] Production.INFO: ==17739== Releasing lock...
[2025-02-09 17:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 17:02:27] Production.INFO: 38.25 MB #Memory Used#
[2025-02-09 22:03:02] Production.INFO: ==17796== Lock acquired, processing the job...
[2025-02-09 22:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 22:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 22:03:02] Production.INFO: neon service started
[2025-02-09 22:03:02] Production.INFO: neon service started
[2025-02-09 22:03:02] Production.INFO: ==17796== Releasing lock...
[2025-02-09 22:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 22:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:03:03] Production.INFO: ==17798== Lock acquired, processing the job...
[2025-02-09 17:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 22:03:03] Production.INFO: ==17800== Lock acquired, processing the job...
[2025-02-09 22:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 22:03:03] Production.INFO: ==17800== Releasing lock...
[2025-02-09 22:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 22:03:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 17:03:03] Production.INFO: ==17798== Releasing lock...
[2025-02-09 17:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 17:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:03:04] Production.INFO: ==17805== Lock acquired, processing the job...
[2025-02-09 17:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 17:03:04] Production.INFO: ==17809== Lock acquired, processing the job...
[2025-02-09 17:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 17:03:04] Production.INFO: ==17811== Lock acquired, processing the job...
[2025-02-09 17:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 17:03:04] Production.INFO: Account Balance Start.
[2025-02-09 17:03:04] Production.INFO: CreateAllLog Start
[2025-02-09 17:03:04] Production.INFO: 117
[2025-02-09 17:03:04] Production.INFO: Date 2025-02-08
[2025-02-09 17:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 17:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 17:03:04] Production.INFO: ==17805== Releasing lock...
[2025-02-09 17:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 17:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 17:03:04] Production.INFO: Date 2025-02-09
[2025-02-09 17:03:04] Production.INFO: Reseller ==> 0
[2025-02-09 17:03:04] Production.INFO: Total Charge 0
[2025-02-09 17:03:04] Production.INFO: CreateAllLog End
[2025-02-09 17:03:04] Production.INFO: ==17803== Lock acquired, processing the job...
[2025-02-09 17:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 17:03:04] Production.INFO: ==17813== Lock acquired, processing the job...
[2025-02-09 17:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 17:03:04] Production.INFO: ==17807== Lock acquired, processing the job...
[2025-02-09 17:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 17:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 17:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:03:04] Production.INFO: count ==21
[2025-02-09 17:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:03:04] Production.INFO: Account Balance End.
[2025-02-09 17:03:04] Production.INFO: count ==21
[2025-02-09 17:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438459') start
[2025-02-09 17:03:04] Production.ERROR: done
[2025-02-09 17:03:04] Production.ERROR: CronJobId end 12
[2025-02-09 17:03:04] Production.INFO: ==17809== Releasing lock...
[2025-02-09 17:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 17:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 17:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 17:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438459') end
[2025-02-09 17:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 17:03:04] Production.INFO: 1
[2025-02-09 17:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 17:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 17:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 17:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 17:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 17:03:04] Production.INFO: ==17813== Releasing lock...
[2025-02-09 17:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 17:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 17:03:04] Production.ERROR: done
[2025-02-09 17:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 14:03:05
[end_date_ymd] => 2025-02-09 17:03:05
[RateCDR] => 1
)
[2025-02-09 17:03: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` >= '2025-02-09 14:03:05' and `end` < '2025-02-09 17:03: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 ,'')
[2025-02-09 17:03:13] Production.ERROR: CronJobId end10
[2025-02-09 17:03:13] Production.INFO: ==17807== Releasing lock...
[2025-02-09 17:03:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 17:03:13] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 17:03:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 17:03:15] Production.INFO: ============== Balance Warning START===========
[2025-02-09 17:03:15] Production.INFO: ============== Balance Warning END===========
[2025-02-09 17:03:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 17:03:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 17:03:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 17:03:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 17:03:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 17:03:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 17:03:15] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 17:03:15] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 17:03:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 17:03:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 17:03:15] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 17:03:15] Production.INFO: call_cost start
[2025-02-09 17:03:15] Production.INFO: call_cost end
[2025-02-09 17:03:16] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 17:03:16] Production.INFO: ============== Report Schedule START===========
[2025-02-09 17:03:16] Production.INFO: ============== Report Schedule END===========
[2025-02-09 17:03:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 17:03:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 17:03:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 17:03:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 17:03:16] Production.INFO: ============== Deal alert START===========
[2025-02-09 17:03:16] Production.INFO: ============== Deal alert END===========
[2025-02-09 17:03:16] Production.INFO: ==17803== Releasing lock...
[2025-02-09 17:03:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 17:03:16] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 17:03:19] Production.INFO: count ==1375
[2025-02-09 17:03:20] Production.ERROR: pbx CDR StartTime 2025-02-09 14:03:05 - End Time 2025-02-09 17:03:05
[2025-02-09 17:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 17:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438460', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438460', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438460', 'tblTempVendorCDR_20' ) start
[2025-02-09 17:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438460', 'tblTempVendorCDR_20' ) end
[2025-02-09 17:03:20] Production.INFO: ProcessCDR(1,14438460,1,1,2)
[2025-02-09 17:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438460', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438460', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 17:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 17:03:25] Production.INFO: ==17811== Releasing lock...
[2025-02-09 17:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 17:03:25] Production.INFO: 38 MB #Memory Used#
[2025-02-09 22:04:01] Production.INFO: ==17869== Lock acquired, processing the job...
[2025-02-09 22:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 22:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 22:04:01] Production.INFO: neon service started
[2025-02-09 22:04:01] Production.INFO: neon service started
[2025-02-09 22:04:01] Production.INFO: ==17869== Releasing lock...
[2025-02-09 22:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 22:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 22:04:02] Production.INFO: ==17873== Lock acquired, processing the job...
[2025-02-09 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 22:04:02] Production.INFO: ==17873== Releasing lock...
[2025-02-09 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 22:04:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 17:04:02] Production.INFO: ==17871== Lock acquired, processing the job...
[2025-02-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:04:02] Production.INFO: ==17871== Releasing lock...
[2025-02-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 17:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:04:03] Production.INFO: ==17876== Lock acquired, processing the job...
[2025-02-09 17:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 17:04:03] Production.INFO: ==17878== Lock acquired, processing the job...
[2025-02-09 17:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 17:04:03] Production.INFO: ==17884== Lock acquired, processing the job...
[2025-02-09 17:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 17:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 17:04:03] Production.INFO: ==17882== Lock acquired, processing the job...
[2025-02-09 17:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 17:04:03] Production.INFO: ==17880== Lock acquired, processing the job...
[2025-02-09 17:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 17:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 17:04:03] Production.INFO: ==17886== Lock acquired, processing the job...
[2025-02-09 17:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 17:04:03] Production.INFO: Account Balance Start.
[2025-02-09 17:04:03] Production.INFO: CreateAllLog Start
[2025-02-09 17:04:03] Production.INFO: 117
[2025-02-09 17:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 17:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 17:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 17:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 17:04:03] Production.INFO: Date 2025-02-08
[2025-02-09 17:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 17:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:04:03] Production.INFO: Date 2025-02-09
[2025-02-09 17:04:03] Production.INFO: Reseller ==> 0
[2025-02-09 17:04:03] Production.INFO: count ==21
[2025-02-09 17:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:04:03] Production.INFO: Total Charge 0
[2025-02-09 17:04:03] Production.INFO: count ==21
[2025-02-09 17:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14438464') start
[2025-02-09 17:04:03] Production.INFO: CreateAllLog End
[2025-02-09 17:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438464') end
[2025-02-09 17:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 17:04:04] Production.INFO: 1
[2025-02-09 17:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 17:04:04] Production.ERROR: done
[2025-02-09 17:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 17:04:04] Production.INFO: ==17878== Releasing lock...
[2025-02-09 17:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 17:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 17:04:04] Production.INFO: ==17886== Releasing lock...
[2025-02-09 17:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 17:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 17:04:04] Production.INFO: Account Balance End.
[2025-02-09 17:04:04] Production.ERROR: done
[2025-02-09 17:04:04] Production.ERROR: CronJobId end 12
[2025-02-09 17:04:04] Production.INFO: ==17882== Releasing lock...
[2025-02-09 17:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 17:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 17:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 14:04:05
[end_date_ymd] => 2025-02-09 17:04:05
[RateCDR] => 1
)
[2025-02-09 17:04: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` >= '2025-02-09 14:04:05' and `end` < '2025-02-09 17:04: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 ,'')
[2025-02-09 17:04:12] Production.ERROR: CronJobId end10
[2025-02-09 17:04:12] Production.INFO: ==17880== Releasing lock...
[2025-02-09 17:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 17:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 17:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 17:04:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 17:04:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 17:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 17:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 17:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 17:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 17:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 17:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 17:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 17:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 17:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 17:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 17:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 17:04:15] Production.INFO: call_cost start
[2025-02-09 17:04:15] Production.INFO: call_cost end
[2025-02-09 17:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 17:04:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 17:04:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 17:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 17:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 17:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 17:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 17:04:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 17:04:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 17:04:15] Production.INFO: ==17876== Releasing lock...
[2025-02-09 17:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 17:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 17:04:18] Production.INFO: count ==1375
[2025-02-09 17:04:18] Production.ERROR: pbx CDR StartTime 2025-02-09 14:04:05 - End Time 2025-02-09 17:04:05
[2025-02-09 17:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 17:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438465', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438465', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438465', 'tblTempVendorCDR_20' ) start
[2025-02-09 17:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438465', 'tblTempVendorCDR_20' ) end
[2025-02-09 17:04:18] Production.INFO: ProcessCDR(1,14438465,1,1,2)
[2025-02-09 17:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438465', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438465', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 17:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 17:04:22] Production.INFO: ==17884== Releasing lock...
[2025-02-09 17:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 17:04:22] Production.INFO: 38 MB #Memory Used#
[2025-02-09 22:05:02] Production.INFO: ==17944== Lock acquired, processing the job...
[2025-02-09 22:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 22:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 22:05:02] Production.INFO: neon service started
[2025-02-09 22:05:02] Production.INFO: neon service started
[2025-02-09 22:05:02] Production.INFO: ==17944== Releasing lock...
[2025-02-09 22:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 22:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 17:05:02] Production.INFO: ==17946== Lock acquired, processing the job...
[2025-02-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 22:05:02] Production.INFO: ==17948== Lock acquired, processing the job...
[2025-02-09 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 22:05:03] Production.INFO: ==17948== Releasing lock...
[2025-02-09 22:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 22:05:03] Production.INFO: 25 MB #Memory Used#
[2025-02-09 17:05:03] Production.INFO: ==17946== Releasing lock...
[2025-02-09 17:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 17:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:05:03] Production.INFO: ==17954== Lock acquired, processing the job...
[2025-02-09 17:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-02-09 17:05:03] Production.INFO: ==17952== Lock acquired, processing the job...
[2025-02-09 17:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 17:05:03] Production.INFO: ==17950== Lock acquired, processing the job...
[2025-02-09 17:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 17:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250209Live done
[2025-02-09 17:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250209Live done
[2025-02-09 17:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250209Live)
[2025-02-09 17:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-02-09','2025-02-09','120250209Live')
[2025-02-09 17:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-02-09 17:05:04] Production.INFO: ==17958== Lock acquired, processing the job...
[2025-02-09 17:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-02-09 17:05:04] Production.INFO: ==17956== Lock acquired, processing the job...
[2025-02-09 17:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 17:05:04] Production.INFO: ==17952== Releasing lock...
[2025-02-09 17:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-02-09 17:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-02-09 17:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-02-09 17:05:04] Production.INFO: ==17961== Lock acquired, processing the job...
[2025-02-09 17:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 17:05:04] Production.INFO: Account Balance Start.
[2025-02-09 17:05:04] Production.INFO: CreateAllLog Start
[2025-02-09 17:05:04] Production.INFO: 117
[2025-02-09 17:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:05:04] Production.INFO: Date 2025-02-08
[2025-02-09 17:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 17:05:04] Production.INFO: count ==21
[2025-02-09 17:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:05:04] Production.INFO: count ==21
[2025-02-09 17:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438468') start
[2025-02-09 17:05:04] Production.ERROR: done
[2025-02-09 17:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-02-09 17:05:04] Production.INFO: Date 2025-02-09
[2025-02-09 17:05:04] Production.INFO: Reseller ==> 0
[2025-02-09 17:05:04] Production.INFO: Total Charge 0
[2025-02-09 17:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14438468') end
[2025-02-09 17:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-02-09 17:05:04] Production.INFO: 1
[2025-02-09 17:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-02-09 17:05:04] Production.INFO: CreateAllLog End
[2025-02-09 17:05:04] Production.ERROR: done
[2025-02-09 17:05:04] Production.INFO: ==17961== Releasing lock...
[2025-02-09 17:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-02-09 17:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-02-09 17:05:04] Production.INFO: Account Balance End.
[2025-02-09 17:05:05] Production.ERROR: CronJobId end 12
[2025-02-09 17:05:05] Production.INFO: ==17956== Releasing lock...
[2025-02-09 17:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-02-09 17:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-02-09 17:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-02-09 14:05:05
[end_date_ymd] => 2025-02-09 17:05:05
[RateCDR] => 1
)
[2025-02-09 17:05: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` >= '2025-02-09 14:05:05' and `end` < '2025-02-09 17:05: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 ,'')
[2025-02-09 17:05:12] Production.ERROR: CronJobId end10
[2025-02-09 17:05:12] Production.INFO: ==17954== Releasing lock...
[2025-02-09 17:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-02-09 17:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-02-09 17:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-02-09 17:05:14] Production.INFO: ============== Balance Warning START===========
[2025-02-09 17:05:14] Production.INFO: ============== Balance Warning END===========
[2025-02-09 17:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-02-09 17:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-02-09 17:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-02-09 17:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-02-09 17:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-02-09 17:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-02-09 17:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-02-09 17:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-02-09 17:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-02-09 17:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-02-09 17:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-02-09 17:05:14] Production.INFO: call_cost start
[2025-02-09 17:05:14] Production.INFO: call_cost end
[2025-02-09 17:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-02-09 17:05:15] Production.INFO: ============== Report Schedule START===========
[2025-02-09 17:05:15] Production.INFO: ============== Report Schedule END===========
[2025-02-09 17:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-02-09 17:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-02-09 17:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-02-09 17:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-02-09 17:05:15] Production.INFO: ============== Deal alert START===========
[2025-02-09 17:05:15] Production.INFO: ============== Deal alert END===========
[2025-02-09 17:05:15] Production.INFO: ==17950== Releasing lock...
[2025-02-09 17:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-02-09 17:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-02-09 17:05:18] Production.INFO: count ==1376
[2025-02-09 17:05:19] Production.ERROR: pbx CDR StartTime 2025-02-09 14:05:05 - End Time 2025-02-09 17:05:05
[2025-02-09 17:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-02-09 17:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438470', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14438470', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438470', 'tblTempVendorCDR_20' ) start
[2025-02-09 17:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14438470', 'tblTempVendorCDR_20' ) end
[2025-02-09 17:05:19] Production.INFO: ProcessCDR(1,14438470,1,1,2)
[2025-02-09 17:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14438470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14438470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-02-09 17:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14438470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14438470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-02-09 17:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438470', 'tblTempUsageDetail_20' ) start
[2025-02-09 17:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14438470', 'tblTempUsageDetail_20' ) end
[2025-02-09 17:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-02-09 17:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-02-09 17:05:23] Production.INFO: ==17958== Releasing lock...
[2025-02-09 17:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-02-09 17:05:23] Production.INFO: 38.75 MB #Memory Used#
[2025-02-09 22:06:01] Production.INFO: ==18058== Lock acquired, processing the job...
[2025-02-09 22:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-02-09 22:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-02-09 22:06:01] Production.INFO: neon service started
[2025-02-09 22:06:01] Production.INFO: neon service started
[2025-02-09 22:06:01] Production.INFO: ==18058== Releasing lock...
[2025-02-09 22:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-02-09 22:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-02-09 22:06:02] Production.INFO: ==18062== Lock acquired, processing the job...
[2025-02-09 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-02-09 22:06:02] Production.INFO: ==18062== Releasing lock...
[2025-02-09 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-02-09 22:06:02] Production.INFO: 25 MB #Memory Used#
[2025-02-09 17:06:02] Production.INFO: ==18060== Lock acquired, processing the job...
[2025-02-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-02-09 17:06:02] Production.INFO: ==18060== Releasing lock...
[2025-02-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-02-09 17:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-02-09 17:06:03] Production.INFO: ==18071== Lock acquired, processing the job...
[2025-02-09 17:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-02-09 17:06:03] Production.INFO: ==18075== Lock acquired, processing the job...
[2025-02-09 17:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-02-09 17:06:03] Production.INFO: Account Balance Start.
[2025-02-09 17:06:03] Production.INFO: CreateAllLog Start
[2025-02-09 17:06:03] Production.INFO: ==18064== Lock acquired, processing the job...
[2025-02-09 17:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-02-09 17:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-02-09 17:06:03] Production.INFO: 117
[2025-02-09 17:06:03] Production.INFO: Date 2025-02-08
[2025-02-09 17:06:03] Production.INFO: ==18067== Lock acquired, processing the job...
[2025-02-09 17:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-02-09 17:06:03] Production.INFO: Reseller ==> 0
[2025-02-09 17:06:03] Production.INFO: count ==21
[2025-02-09 17:06:03] Production.INFO: ============== LowBalanceReminder START===